 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.0111 -3.359646)', '2026-08-10 19:38:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011124 -3.359624)'), GeomFromEWKT('SRID=4674;POINT (-39.0111 -3.359646)'))) / (select extract(epoch from '2026-08-10 19:38:38'::timestamp) - extract(epoch from '2026-08-10 19:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011124 -3.359624)'), GeomFromEWKT('SRID=4674;POINT (-39.0111 -3.359646)'))) / (select extract(epoch from '2026-08-10 19:38:38'::timestamp) - extract(epoch from '2026-08-10 19:38: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'), 48138, 'SRID=4674;POINT (-39.011074 -3.359647)', '2026-08-10 19:38:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0111 -3.359646)'), GeomFromEWKT('SRID=4674;POINT (-39.011074 -3.359647)'))) / (select extract(epoch from '2026-08-10 19:38:45'::timestamp) - extract(epoch from '2026-08-10 19:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0111 -3.359646)'), GeomFromEWKT('SRID=4674;POINT (-39.011074 -3.359647)'))) / (select extract(epoch from '2026-08-10 19:38:45'::timestamp) - extract(epoch from '2026-08-10 19:38: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'), 48138, 'SRID=4674;POINT (-39.011032 -3.359664)', '2026-08-10 19:38:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011074 -3.359647)'), GeomFromEWKT('SRID=4674;POINT (-39.011032 -3.359664)'))) / (select extract(epoch from '2026-08-10 19:38:54'::timestamp) - extract(epoch from '2026-08-10 19:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011074 -3.359647)'), GeomFromEWKT('SRID=4674;POINT (-39.011032 -3.359664)'))) / (select extract(epoch from '2026-08-10 19:38:54'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.010991 -3.359681)', '2026-08-10 19:39:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011032 -3.359664)'), GeomFromEWKT('SRID=4674;POINT (-39.010991 -3.359681)'))) / (select extract(epoch from '2026-08-10 19:39:05'::timestamp) - extract(epoch from '2026-08-10 19:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011032 -3.359664)'), GeomFromEWKT('SRID=4674;POINT (-39.010991 -3.359681)'))) / (select extract(epoch from '2026-08-10 19:39:05'::timestamp) - extract(epoch from '2026-08-10 19:38: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'), 48138, 'SRID=4674;POINT (-39.01096 -3.359686)', '2026-08-10 19:39:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010991 -3.359681)'), GeomFromEWKT('SRID=4674;POINT (-39.01096 -3.359686)'))) / (select extract(epoch from '2026-08-10 19:39:10'::timestamp) - extract(epoch from '2026-08-10 19:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010991 -3.359681)'), GeomFromEWKT('SRID=4674;POINT (-39.01096 -3.359686)'))) / (select extract(epoch from '2026-08-10 19:39:10'::timestamp) - extract(epoch from '2026-08-10 19:39: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'), 48138, 'SRID=4674;POINT (-39.010925 -3.359689)', '2026-08-10 19:39:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01096 -3.359686)'), GeomFromEWKT('SRID=4674;POINT (-39.010925 -3.359689)'))) / (select extract(epoch from '2026-08-10 19:39:18'::timestamp) - extract(epoch from '2026-08-10 19:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01096 -3.359686)'), GeomFromEWKT('SRID=4674;POINT (-39.010925 -3.359689)'))) / (select extract(epoch from '2026-08-10 19:39:18'::timestamp) - extract(epoch from '2026-08-10 19:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010889 -3.35969)', '2026-08-10 19:39:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010925 -3.359689)'), GeomFromEWKT('SRID=4674;POINT (-39.010889 -3.35969)'))) / (select extract(epoch from '2026-08-10 19:39:25'::timestamp) - extract(epoch from '2026-08-10 19:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010925 -3.359689)'), GeomFromEWKT('SRID=4674;POINT (-39.010889 -3.35969)'))) / (select extract(epoch from '2026-08-10 19:39:25'::timestamp) - extract(epoch from '2026-08-10 19:39: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'), 48138, 'SRID=4674;POINT (-39.010834 -3.359712)', '2026-08-10 19:39:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010889 -3.35969)'), GeomFromEWKT('SRID=4674;POINT (-39.010834 -3.359712)'))) / (select extract(epoch from '2026-08-10 19:39:34'::timestamp) - extract(epoch from '2026-08-10 19:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010889 -3.35969)'), GeomFromEWKT('SRID=4674;POINT (-39.010834 -3.359712)'))) / (select extract(epoch from '2026-08-10 19:39:34'::timestamp) - extract(epoch from '2026-08-10 19:39:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010815 -3.359722)', '2026-08-10 19:39:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010834 -3.359712)'), GeomFromEWKT('SRID=4674;POINT (-39.010815 -3.359722)'))) / (select extract(epoch from '2026-08-10 19:39:40'::timestamp) - extract(epoch from '2026-08-10 19:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010834 -3.359712)'), GeomFromEWKT('SRID=4674;POINT (-39.010815 -3.359722)'))) / (select extract(epoch from '2026-08-10 19:39:40'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.010776 -3.359742)', '2026-08-10 19:39:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010815 -3.359722)'), GeomFromEWKT('SRID=4674;POINT (-39.010776 -3.359742)'))) / (select extract(epoch from '2026-08-10 19:39:49'::timestamp) - extract(epoch from '2026-08-10 19:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010815 -3.359722)'), GeomFromEWKT('SRID=4674;POINT (-39.010776 -3.359742)'))) / (select extract(epoch from '2026-08-10 19:39:49'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.010739 -3.359764)', '2026-08-10 19:40:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010776 -3.359742)'), GeomFromEWKT('SRID=4674;POINT (-39.010739 -3.359764)'))) / (select extract(epoch from '2026-08-10 19:40:00'::timestamp) - extract(epoch from '2026-08-10 19:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010776 -3.359742)'), GeomFromEWKT('SRID=4674;POINT (-39.010739 -3.359764)'))) / (select extract(epoch from '2026-08-10 19:40:00'::timestamp) - extract(epoch from '2026-08-10 19:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010702 -3.35979)', '2026-08-10 19:40:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010739 -3.359764)'), GeomFromEWKT('SRID=4674;POINT (-39.010702 -3.35979)'))) / (select extract(epoch from '2026-08-10 19:40:10'::timestamp) - extract(epoch from '2026-08-10 19:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010739 -3.359764)'), GeomFromEWKT('SRID=4674;POINT (-39.010702 -3.35979)'))) / (select extract(epoch from '2026-08-10 19:40:10'::timestamp) - extract(epoch from '2026-08-10 19:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01066 -3.359812)', '2026-08-10 19:40:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010702 -3.35979)'), GeomFromEWKT('SRID=4674;POINT (-39.01066 -3.359812)'))) / (select extract(epoch from '2026-08-10 19:40:19'::timestamp) - extract(epoch from '2026-08-10 19:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010702 -3.35979)'), GeomFromEWKT('SRID=4674;POINT (-39.01066 -3.359812)'))) / (select extract(epoch from '2026-08-10 19:40:19'::timestamp) - extract(epoch from '2026-08-10 19:40: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'), 48138, 'SRID=4674;POINT (-39.010642 -3.359835)', '2026-08-10 19:40:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01066 -3.359812)'), GeomFromEWKT('SRID=4674;POINT (-39.010642 -3.359835)'))) / (select extract(epoch from '2026-08-10 19:40:28'::timestamp) - extract(epoch from '2026-08-10 19:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01066 -3.359812)'), GeomFromEWKT('SRID=4674;POINT (-39.010642 -3.359835)'))) / (select extract(epoch from '2026-08-10 19:40:28'::timestamp) - extract(epoch from '2026-08-10 19:40: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'), 48138, 'SRID=4674;POINT (-39.01059 -3.359853)', '2026-08-10 19:40:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010642 -3.359835)'), GeomFromEWKT('SRID=4674;POINT (-39.01059 -3.359853)'))) / (select extract(epoch from '2026-08-10 19:40:39'::timestamp) - extract(epoch from '2026-08-10 19:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010642 -3.359835)'), GeomFromEWKT('SRID=4674;POINT (-39.01059 -3.359853)'))) / (select extract(epoch from '2026-08-10 19:40:39'::timestamp) - extract(epoch from '2026-08-10 19:40: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'), 48138, 'SRID=4674;POINT (-39.010548 -3.359866)', '2026-08-10 19:40:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01059 -3.359853)'), GeomFromEWKT('SRID=4674;POINT (-39.010548 -3.359866)'))) / (select extract(epoch from '2026-08-10 19:40:48'::timestamp) - extract(epoch from '2026-08-10 19:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01059 -3.359853)'), GeomFromEWKT('SRID=4674;POINT (-39.010548 -3.359866)'))) / (select extract(epoch from '2026-08-10 19:40:48'::timestamp) - extract(epoch from '2026-08-10 19:40: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'), 48138, 'SRID=4674;POINT (-39.010516 -3.359879)', '2026-08-10 19:40:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010548 -3.359866)'), GeomFromEWKT('SRID=4674;POINT (-39.010516 -3.359879)'))) / (select extract(epoch from '2026-08-10 19:40:55'::timestamp) - extract(epoch from '2026-08-10 19:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010548 -3.359866)'), GeomFromEWKT('SRID=4674;POINT (-39.010516 -3.359879)'))) / (select extract(epoch from '2026-08-10 19:40:55'::timestamp) - extract(epoch from '2026-08-10 19:40: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'), 48138, 'SRID=4674;POINT (-39.010484 -3.359894)', '2026-08-10 19:41:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010516 -3.359879)'), GeomFromEWKT('SRID=4674;POINT (-39.010484 -3.359894)'))) / (select extract(epoch from '2026-08-10 19:41:03'::timestamp) - extract(epoch from '2026-08-10 19:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010516 -3.359879)'), GeomFromEWKT('SRID=4674;POINT (-39.010484 -3.359894)'))) / (select extract(epoch from '2026-08-10 19:41:03'::timestamp) - extract(epoch from '2026-08-10 19:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010452 -3.359924)', '2026-08-10 19:41:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010484 -3.359894)'), GeomFromEWKT('SRID=4674;POINT (-39.010452 -3.359924)'))) / (select extract(epoch from '2026-08-10 19:41:13'::timestamp) - extract(epoch from '2026-08-10 19:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010484 -3.359894)'), GeomFromEWKT('SRID=4674;POINT (-39.010452 -3.359924)'))) / (select extract(epoch from '2026-08-10 19:41:13'::timestamp) - extract(epoch from '2026-08-10 19:41: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'), 48138, 'SRID=4674;POINT (-39.010435 -3.359928)', '2026-08-10 19:41:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010452 -3.359924)'), GeomFromEWKT('SRID=4674;POINT (-39.010435 -3.359928)'))) / (select extract(epoch from '2026-08-10 19:41:19'::timestamp) - extract(epoch from '2026-08-10 19:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010452 -3.359924)'), GeomFromEWKT('SRID=4674;POINT (-39.010435 -3.359928)'))) / (select extract(epoch from '2026-08-10 19:41:19'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.01039 -3.359938)', '2026-08-10 19:41:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010435 -3.359928)'), GeomFromEWKT('SRID=4674;POINT (-39.01039 -3.359938)'))) / (select extract(epoch from '2026-08-10 19:41:30'::timestamp) - extract(epoch from '2026-08-10 19:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010435 -3.359928)'), GeomFromEWKT('SRID=4674;POINT (-39.01039 -3.359938)'))) / (select extract(epoch from '2026-08-10 19:41:30'::timestamp) - extract(epoch from '2026-08-10 19:41: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'), 48138, 'SRID=4674;POINT (-39.010345 -3.359971)', '2026-08-10 19:41:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01039 -3.359938)'), GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.359971)'))) / (select extract(epoch from '2026-08-10 19:41:39'::timestamp) - extract(epoch from '2026-08-10 19:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01039 -3.359938)'), GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.359971)'))) / (select extract(epoch from '2026-08-10 19:41:39'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.0103 -3.359993)', '2026-08-10 19:41:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.359971)'), GeomFromEWKT('SRID=4674;POINT (-39.0103 -3.359993)'))) / (select extract(epoch from '2026-08-10 19:41:46'::timestamp) - extract(epoch from '2026-08-10 19:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.359971)'), GeomFromEWKT('SRID=4674;POINT (-39.0103 -3.359993)'))) / (select extract(epoch from '2026-08-10 19:41:46'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.010276 -3.360001)', '2026-08-10 19:41:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0103 -3.359993)'), GeomFromEWKT('SRID=4674;POINT (-39.010276 -3.360001)'))) / (select extract(epoch from '2026-08-10 19:41:52'::timestamp) - extract(epoch from '2026-08-10 19:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0103 -3.359993)'), GeomFromEWKT('SRID=4674;POINT (-39.010276 -3.360001)'))) / (select extract(epoch from '2026-08-10 19:41:52'::timestamp) - extract(epoch from '2026-08-10 19:41: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'), 48138, 'SRID=4674;POINT (-39.010239 -3.360014)', '2026-08-10 19:42:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010276 -3.360001)'), GeomFromEWKT('SRID=4674;POINT (-39.010239 -3.360014)'))) / (select extract(epoch from '2026-08-10 19:42:02'::timestamp) - extract(epoch from '2026-08-10 19:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010276 -3.360001)'), GeomFromEWKT('SRID=4674;POINT (-39.010239 -3.360014)'))) / (select extract(epoch from '2026-08-10 19:42:02'::timestamp) - extract(epoch from '2026-08-10 19:41: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'), 48138, 'SRID=4674;POINT (-39.01021 -3.360035)', '2026-08-10 19:42:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010239 -3.360014)'), GeomFromEWKT('SRID=4674;POINT (-39.01021 -3.360035)'))) / (select extract(epoch from '2026-08-10 19:42:09'::timestamp) - extract(epoch from '2026-08-10 19:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010239 -3.360014)'), GeomFromEWKT('SRID=4674;POINT (-39.01021 -3.360035)'))) / (select extract(epoch from '2026-08-10 19:42:09'::timestamp) - extract(epoch from '2026-08-10 19:42: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'), 48138, 'SRID=4674;POINT (-39.010161 -3.360057)', '2026-08-10 19:42:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01021 -3.360035)'), GeomFromEWKT('SRID=4674;POINT (-39.010161 -3.360057)'))) / (select extract(epoch from '2026-08-10 19:42:19'::timestamp) - extract(epoch from '2026-08-10 19:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01021 -3.360035)'), GeomFromEWKT('SRID=4674;POINT (-39.010161 -3.360057)'))) / (select extract(epoch from '2026-08-10 19:42:19'::timestamp) - extract(epoch from '2026-08-10 19:42: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'), 48138, 'SRID=4674;POINT (-39.010153 -3.360059)', '2026-08-10 19:42:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010161 -3.360057)'), GeomFromEWKT('SRID=4674;POINT (-39.010153 -3.360059)'))) / (select extract(epoch from '2026-08-10 19:42:20'::timestamp) - extract(epoch from '2026-08-10 19:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010161 -3.360057)'), GeomFromEWKT('SRID=4674;POINT (-39.010153 -3.360059)'))) / (select extract(epoch from '2026-08-10 19:42:20'::timestamp) - extract(epoch from '2026-08-10 19:42: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'), 48138, 'SRID=4674;POINT (-39.010126 -3.360078)', '2026-08-10 19:42:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010153 -3.360059)'), GeomFromEWKT('SRID=4674;POINT (-39.010126 -3.360078)'))) / (select extract(epoch from '2026-08-10 19:42:28'::timestamp) - extract(epoch from '2026-08-10 19:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010153 -3.360059)'), GeomFromEWKT('SRID=4674;POINT (-39.010126 -3.360078)'))) / (select extract(epoch from '2026-08-10 19:42:28'::timestamp) - extract(epoch from '2026-08-10 19:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01008 -3.360099)', '2026-08-10 19:42:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010126 -3.360078)'), GeomFromEWKT('SRID=4674;POINT (-39.01008 -3.360099)'))) / (select extract(epoch from '2026-08-10 19:42:36'::timestamp) - extract(epoch from '2026-08-10 19:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010126 -3.360078)'), GeomFromEWKT('SRID=4674;POINT (-39.01008 -3.360099)'))) / (select extract(epoch from '2026-08-10 19:42:36'::timestamp) - extract(epoch from '2026-08-10 19:42: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'), 48138, 'SRID=4674;POINT (-39.010035 -3.360115)', '2026-08-10 19:42:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01008 -3.360099)'), GeomFromEWKT('SRID=4674;POINT (-39.010035 -3.360115)'))) / (select extract(epoch from '2026-08-10 19:42:45'::timestamp) - extract(epoch from '2026-08-10 19:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01008 -3.360099)'), GeomFromEWKT('SRID=4674;POINT (-39.010035 -3.360115)'))) / (select extract(epoch from '2026-08-10 19:42:45'::timestamp) - extract(epoch from '2026-08-10 19:42:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010002 -3.360132)', '2026-08-10 19:42:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010035 -3.360115)'), GeomFromEWKT('SRID=4674;POINT (-39.010002 -3.360132)'))) / (select extract(epoch from '2026-08-10 19:42:53'::timestamp) - extract(epoch from '2026-08-10 19:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010035 -3.360115)'), GeomFromEWKT('SRID=4674;POINT (-39.010002 -3.360132)'))) / (select extract(epoch from '2026-08-10 19:42:53'::timestamp) - extract(epoch from '2026-08-10 19:42:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009982 -3.360144)', '2026-08-10 19:43:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010002 -3.360132)'), GeomFromEWKT('SRID=4674;POINT (-39.009982 -3.360144)'))) / (select extract(epoch from '2026-08-10 19:43:00'::timestamp) - extract(epoch from '2026-08-10 19:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010002 -3.360132)'), GeomFromEWKT('SRID=4674;POINT (-39.009982 -3.360144)'))) / (select extract(epoch from '2026-08-10 19:43:00'::timestamp) - extract(epoch from '2026-08-10 19:42: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'), 48138, 'SRID=4674;POINT (-39.00996 -3.36015)', '2026-08-10 19:43:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009982 -3.360144)'), GeomFromEWKT('SRID=4674;POINT (-39.00996 -3.36015)'))) / (select extract(epoch from '2026-08-10 19:43:07'::timestamp) - extract(epoch from '2026-08-10 19:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009982 -3.360144)'), GeomFromEWKT('SRID=4674;POINT (-39.00996 -3.36015)'))) / (select extract(epoch from '2026-08-10 19:43:07'::timestamp) - extract(epoch from '2026-08-10 19:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009927 -3.36017)', '2026-08-10 19:43:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00996 -3.36015)'), GeomFromEWKT('SRID=4674;POINT (-39.009927 -3.36017)'))) / (select extract(epoch from '2026-08-10 19:43:14'::timestamp) - extract(epoch from '2026-08-10 19:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00996 -3.36015)'), GeomFromEWKT('SRID=4674;POINT (-39.009927 -3.36017)'))) / (select extract(epoch from '2026-08-10 19:43:14'::timestamp) - extract(epoch from '2026-08-10 19:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009909 -3.360193)', '2026-08-10 19:43:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009927 -3.36017)'), GeomFromEWKT('SRID=4674;POINT (-39.009909 -3.360193)'))) / (select extract(epoch from '2026-08-10 19:43:21'::timestamp) - extract(epoch from '2026-08-10 19:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009927 -3.36017)'), GeomFromEWKT('SRID=4674;POINT (-39.009909 -3.360193)'))) / (select extract(epoch from '2026-08-10 19:43:21'::timestamp) - extract(epoch from '2026-08-10 19:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009875 -3.360219)', '2026-08-10 19:43:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009909 -3.360193)'), GeomFromEWKT('SRID=4674;POINT (-39.009875 -3.360219)'))) / (select extract(epoch from '2026-08-10 19:43:29'::timestamp) - extract(epoch from '2026-08-10 19:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009909 -3.360193)'), GeomFromEWKT('SRID=4674;POINT (-39.009875 -3.360219)'))) / (select extract(epoch from '2026-08-10 19:43:29'::timestamp) - extract(epoch from '2026-08-10 19:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009829 -3.360235)', '2026-08-10 19:43:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009875 -3.360219)'), GeomFromEWKT('SRID=4674;POINT (-39.009829 -3.360235)'))) / (select extract(epoch from '2026-08-10 19:43:38'::timestamp) - extract(epoch from '2026-08-10 19:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009875 -3.360219)'), GeomFromEWKT('SRID=4674;POINT (-39.009829 -3.360235)'))) / (select extract(epoch from '2026-08-10 19:43:38'::timestamp) - extract(epoch from '2026-08-10 19:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009788 -3.360233)', '2026-08-10 19:43:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009829 -3.360235)'), GeomFromEWKT('SRID=4674;POINT (-39.009788 -3.360233)'))) / (select extract(epoch from '2026-08-10 19:43:48'::timestamp) - extract(epoch from '2026-08-10 19:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009829 -3.360235)'), GeomFromEWKT('SRID=4674;POINT (-39.009788 -3.360233)'))) / (select extract(epoch from '2026-08-10 19:43:48'::timestamp) - extract(epoch from '2026-08-10 19:43: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'), 48138, 'SRID=4674;POINT (-39.009753 -3.360259)', '2026-08-10 19:43:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009788 -3.360233)'), GeomFromEWKT('SRID=4674;POINT (-39.009753 -3.360259)'))) / (select extract(epoch from '2026-08-10 19:43:57'::timestamp) - extract(epoch from '2026-08-10 19:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009788 -3.360233)'), GeomFromEWKT('SRID=4674;POINT (-39.009753 -3.360259)'))) / (select extract(epoch from '2026-08-10 19:43:57'::timestamp) - extract(epoch from '2026-08-10 19:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009711 -3.360264)', '2026-08-10 19:44:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009753 -3.360259)'), GeomFromEWKT('SRID=4674;POINT (-39.009711 -3.360264)'))) / (select extract(epoch from '2026-08-10 19:44:05'::timestamp) - extract(epoch from '2026-08-10 19:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009753 -3.360259)'), GeomFromEWKT('SRID=4674;POINT (-39.009711 -3.360264)'))) / (select extract(epoch from '2026-08-10 19:44:05'::timestamp) - extract(epoch from '2026-08-10 19:43:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009703 -3.360264)', '2026-08-10 19:44:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009711 -3.360264)'), GeomFromEWKT('SRID=4674;POINT (-39.009703 -3.360264)'))) / (select extract(epoch from '2026-08-10 19:44:11'::timestamp) - extract(epoch from '2026-08-10 19:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009711 -3.360264)'), GeomFromEWKT('SRID=4674;POINT (-39.009703 -3.360264)'))) / (select extract(epoch from '2026-08-10 19:44:11'::timestamp) - extract(epoch from '2026-08-10 19:44: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'), 48138, 'SRID=4674;POINT (-39.009644 -3.360289)', '2026-08-10 19:44:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009703 -3.360264)'), GeomFromEWKT('SRID=4674;POINT (-39.009644 -3.360289)'))) / (select extract(epoch from '2026-08-10 19:44:22'::timestamp) - extract(epoch from '2026-08-10 19:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009703 -3.360264)'), GeomFromEWKT('SRID=4674;POINT (-39.009644 -3.360289)'))) / (select extract(epoch from '2026-08-10 19:44:22'::timestamp) - extract(epoch from '2026-08-10 19:44: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'), 48138, 'SRID=4674;POINT (-39.009627 -3.360306)', '2026-08-10 19:44:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009644 -3.360289)'), GeomFromEWKT('SRID=4674;POINT (-39.009627 -3.360306)'))) / (select extract(epoch from '2026-08-10 19:44:28'::timestamp) - extract(epoch from '2026-08-10 19:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009644 -3.360289)'), GeomFromEWKT('SRID=4674;POINT (-39.009627 -3.360306)'))) / (select extract(epoch from '2026-08-10 19:44:28'::timestamp) - extract(epoch from '2026-08-10 19:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009612 -3.36031)', '2026-08-10 19:44:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009627 -3.360306)'), GeomFromEWKT('SRID=4674;POINT (-39.009612 -3.36031)'))) / (select extract(epoch from '2026-08-10 19:44:39'::timestamp) - extract(epoch from '2026-08-10 19:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009627 -3.360306)'), GeomFromEWKT('SRID=4674;POINT (-39.009612 -3.36031)'))) / (select extract(epoch from '2026-08-10 19:44:39'::timestamp) - extract(epoch from '2026-08-10 19:44: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'), 48138, 'SRID=4674;POINT (-39.009577 -3.360334)', '2026-08-10 19:44:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009612 -3.36031)'), GeomFromEWKT('SRID=4674;POINT (-39.009577 -3.360334)'))) / (select extract(epoch from '2026-08-10 19:44:47'::timestamp) - extract(epoch from '2026-08-10 19:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009612 -3.36031)'), GeomFromEWKT('SRID=4674;POINT (-39.009577 -3.360334)'))) / (select extract(epoch from '2026-08-10 19:44:47'::timestamp) - extract(epoch from '2026-08-10 19:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00954 -3.360363)', '2026-08-10 19:44:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009577 -3.360334)'), GeomFromEWKT('SRID=4674;POINT (-39.00954 -3.360363)'))) / (select extract(epoch from '2026-08-10 19:44:57'::timestamp) - extract(epoch from '2026-08-10 19:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009577 -3.360334)'), GeomFromEWKT('SRID=4674;POINT (-39.00954 -3.360363)'))) / (select extract(epoch from '2026-08-10 19:44:57'::timestamp) - extract(epoch from '2026-08-10 19:44: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'), 48138, 'SRID=4674;POINT (-39.009526 -3.360375)', '2026-08-10 19:45:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00954 -3.360363)'), GeomFromEWKT('SRID=4674;POINT (-39.009526 -3.360375)'))) / (select extract(epoch from '2026-08-10 19:45:03'::timestamp) - extract(epoch from '2026-08-10 19:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00954 -3.360363)'), GeomFromEWKT('SRID=4674;POINT (-39.009526 -3.360375)'))) / (select extract(epoch from '2026-08-10 19:45:03'::timestamp) - extract(epoch from '2026-08-10 19:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009512 -3.360386)', '2026-08-10 19:45:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009526 -3.360375)'), GeomFromEWKT('SRID=4674;POINT (-39.009512 -3.360386)'))) / (select extract(epoch from '2026-08-10 19:45:09'::timestamp) - extract(epoch from '2026-08-10 19:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009526 -3.360375)'), GeomFromEWKT('SRID=4674;POINT (-39.009512 -3.360386)'))) / (select extract(epoch from '2026-08-10 19:45:09'::timestamp) - extract(epoch from '2026-08-10 19:45: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'), 48138, 'SRID=4674;POINT (-39.009493 -3.360398)', '2026-08-10 19:45:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009512 -3.360386)'), GeomFromEWKT('SRID=4674;POINT (-39.009493 -3.360398)'))) / (select extract(epoch from '2026-08-10 19:45:17'::timestamp) - extract(epoch from '2026-08-10 19:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009512 -3.360386)'), GeomFromEWKT('SRID=4674;POINT (-39.009493 -3.360398)'))) / (select extract(epoch from '2026-08-10 19:45:17'::timestamp) - extract(epoch from '2026-08-10 19:45: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'), 48138, 'SRID=4674;POINT (-39.009484 -3.360401)', '2026-08-10 19:45:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009493 -3.360398)'), GeomFromEWKT('SRID=4674;POINT (-39.009484 -3.360401)'))) / (select extract(epoch from '2026-08-10 19:45:18'::timestamp) - extract(epoch from '2026-08-10 19:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009493 -3.360398)'), GeomFromEWKT('SRID=4674;POINT (-39.009484 -3.360401)'))) / (select extract(epoch from '2026-08-10 19:45:18'::timestamp) - extract(epoch from '2026-08-10 19:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009467 -3.36041)', '2026-08-10 19:45:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009484 -3.360401)'), GeomFromEWKT('SRID=4674;POINT (-39.009467 -3.36041)'))) / (select extract(epoch from '2026-08-10 19:45:22'::timestamp) - extract(epoch from '2026-08-10 19:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009484 -3.360401)'), GeomFromEWKT('SRID=4674;POINT (-39.009467 -3.36041)'))) / (select extract(epoch from '2026-08-10 19:45:22'::timestamp) - extract(epoch from '2026-08-10 19:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009448 -3.360411)', '2026-08-10 19:45:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009467 -3.36041)'), GeomFromEWKT('SRID=4674;POINT (-39.009448 -3.360411)'))) / (select extract(epoch from '2026-08-10 19:45:24'::timestamp) - extract(epoch from '2026-08-10 19:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009467 -3.36041)'), GeomFromEWKT('SRID=4674;POINT (-39.009448 -3.360411)'))) / (select extract(epoch from '2026-08-10 19:45:24'::timestamp) - extract(epoch from '2026-08-10 19:45: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'), 48138, 'SRID=4674;POINT (-39.009389 -3.360419)', '2026-08-10 19:45:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009448 -3.360411)'), GeomFromEWKT('SRID=4674;POINT (-39.009389 -3.360419)'))) / (select extract(epoch from '2026-08-10 19:45:35'::timestamp) - extract(epoch from '2026-08-10 19:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009448 -3.360411)'), GeomFromEWKT('SRID=4674;POINT (-39.009389 -3.360419)'))) / (select extract(epoch from '2026-08-10 19:45:35'::timestamp) - extract(epoch from '2026-08-10 19:45: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'), 48138, 'SRID=4674;POINT (-39.009374 -3.36044)', '2026-08-10 19:45:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009389 -3.360419)'), GeomFromEWKT('SRID=4674;POINT (-39.009374 -3.36044)'))) / (select extract(epoch from '2026-08-10 19:45:42'::timestamp) - extract(epoch from '2026-08-10 19:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009389 -3.360419)'), GeomFromEWKT('SRID=4674;POINT (-39.009374 -3.36044)'))) / (select extract(epoch from '2026-08-10 19:45:42'::timestamp) - extract(epoch from '2026-08-10 19:45:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009339 -3.360459)', '2026-08-10 19:45:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009374 -3.36044)'), GeomFromEWKT('SRID=4674;POINT (-39.009339 -3.360459)'))) / (select extract(epoch from '2026-08-10 19:45:50'::timestamp) - extract(epoch from '2026-08-10 19:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009374 -3.36044)'), GeomFromEWKT('SRID=4674;POINT (-39.009339 -3.360459)'))) / (select extract(epoch from '2026-08-10 19:45:50'::timestamp) - extract(epoch from '2026-08-10 19:45: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'), 48138, 'SRID=4674;POINT (-39.00931 -3.360456)', '2026-08-10 19:45:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009339 -3.360459)'), GeomFromEWKT('SRID=4674;POINT (-39.00931 -3.360456)'))) / (select extract(epoch from '2026-08-10 19:45:57'::timestamp) - extract(epoch from '2026-08-10 19:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009339 -3.360459)'), GeomFromEWKT('SRID=4674;POINT (-39.00931 -3.360456)'))) / (select extract(epoch from '2026-08-10 19:45:57'::timestamp) - extract(epoch from '2026-08-10 19:45: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'), 48138, 'SRID=4674;POINT (-39.009302 -3.360466)', '2026-08-10 19:46:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00931 -3.360456)'), GeomFromEWKT('SRID=4674;POINT (-39.009302 -3.360466)'))) / (select extract(epoch from '2026-08-10 19:46:04'::timestamp) - extract(epoch from '2026-08-10 19:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00931 -3.360456)'), GeomFromEWKT('SRID=4674;POINT (-39.009302 -3.360466)'))) / (select extract(epoch from '2026-08-10 19:46:04'::timestamp) - extract(epoch from '2026-08-10 19:45: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'), 48138, 'SRID=4674;POINT (-39.009294 -3.360465)', '2026-08-10 19:46:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009302 -3.360466)'), GeomFromEWKT('SRID=4674;POINT (-39.009294 -3.360465)'))) / (select extract(epoch from '2026-08-10 19:46:05'::timestamp) - extract(epoch from '2026-08-10 19:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009302 -3.360466)'), GeomFromEWKT('SRID=4674;POINT (-39.009294 -3.360465)'))) / (select extract(epoch from '2026-08-10 19:46:05'::timestamp) - extract(epoch from '2026-08-10 19:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009282 -3.360479)', '2026-08-10 19:46:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009294 -3.360465)'), GeomFromEWKT('SRID=4674;POINT (-39.009282 -3.360479)'))) / (select extract(epoch from '2026-08-10 19:46:09'::timestamp) - extract(epoch from '2026-08-10 19:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009294 -3.360465)'), GeomFromEWKT('SRID=4674;POINT (-39.009282 -3.360479)'))) / (select extract(epoch from '2026-08-10 19:46:09'::timestamp) - extract(epoch from '2026-08-10 19:46:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009253 -3.360502)', '2026-08-10 19:46:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009282 -3.360479)'), GeomFromEWKT('SRID=4674;POINT (-39.009253 -3.360502)'))) / (select extract(epoch from '2026-08-10 19:46:18'::timestamp) - extract(epoch from '2026-08-10 19:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009282 -3.360479)'), GeomFromEWKT('SRID=4674;POINT (-39.009253 -3.360502)'))) / (select extract(epoch from '2026-08-10 19:46:18'::timestamp) - extract(epoch from '2026-08-10 19:46: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'), 48138, 'SRID=4674;POINT (-39.009226 -3.360515)', '2026-08-10 19:46:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009253 -3.360502)'), GeomFromEWKT('SRID=4674;POINT (-39.009226 -3.360515)'))) / (select extract(epoch from '2026-08-10 19:46:26'::timestamp) - extract(epoch from '2026-08-10 19:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009253 -3.360502)'), GeomFromEWKT('SRID=4674;POINT (-39.009226 -3.360515)'))) / (select extract(epoch from '2026-08-10 19:46:26'::timestamp) - extract(epoch from '2026-08-10 19:46: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'), 48138, 'SRID=4674;POINT (-39.009189 -3.360533)', '2026-08-10 19:46:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009226 -3.360515)'), GeomFromEWKT('SRID=4674;POINT (-39.009189 -3.360533)'))) / (select extract(epoch from '2026-08-10 19:46:34'::timestamp) - extract(epoch from '2026-08-10 19:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009226 -3.360515)'), GeomFromEWKT('SRID=4674;POINT (-39.009189 -3.360533)'))) / (select extract(epoch from '2026-08-10 19:46:34'::timestamp) - extract(epoch from '2026-08-10 19:46:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009148 -3.360557)', '2026-08-10 19:46:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009189 -3.360533)'), GeomFromEWKT('SRID=4674;POINT (-39.009148 -3.360557)'))) / (select extract(epoch from '2026-08-10 19:46:47'::timestamp) - extract(epoch from '2026-08-10 19:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009189 -3.360533)'), GeomFromEWKT('SRID=4674;POINT (-39.009148 -3.360557)'))) / (select extract(epoch from '2026-08-10 19:46:47'::timestamp) - extract(epoch from '2026-08-10 19:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009116 -3.360576)', '2026-08-10 19:46:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009148 -3.360557)'), GeomFromEWKT('SRID=4674;POINT (-39.009116 -3.360576)'))) / (select extract(epoch from '2026-08-10 19:46:56'::timestamp) - extract(epoch from '2026-08-10 19:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009148 -3.360557)'), GeomFromEWKT('SRID=4674;POINT (-39.009116 -3.360576)'))) / (select extract(epoch from '2026-08-10 19:46:56'::timestamp) - extract(epoch from '2026-08-10 19:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009084 -3.360589)', '2026-08-10 19:47:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009116 -3.360576)'), GeomFromEWKT('SRID=4674;POINT (-39.009084 -3.360589)'))) / (select extract(epoch from '2026-08-10 19:47:05'::timestamp) - extract(epoch from '2026-08-10 19:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009116 -3.360576)'), GeomFromEWKT('SRID=4674;POINT (-39.009084 -3.360589)'))) / (select extract(epoch from '2026-08-10 19:47:05'::timestamp) - extract(epoch from '2026-08-10 19:46:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00904 -3.360614)', '2026-08-10 19:47:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009084 -3.360589)'), GeomFromEWKT('SRID=4674;POINT (-39.00904 -3.360614)'))) / (select extract(epoch from '2026-08-10 19:47:14'::timestamp) - extract(epoch from '2026-08-10 19:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009084 -3.360589)'), GeomFromEWKT('SRID=4674;POINT (-39.00904 -3.360614)'))) / (select extract(epoch from '2026-08-10 19:47:14'::timestamp) - extract(epoch from '2026-08-10 19:47:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009011 -3.36062)', '2026-08-10 19:47:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00904 -3.360614)'), GeomFromEWKT('SRID=4674;POINT (-39.009011 -3.36062)'))) / (select extract(epoch from '2026-08-10 19:47:21'::timestamp) - extract(epoch from '2026-08-10 19:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00904 -3.360614)'), GeomFromEWKT('SRID=4674;POINT (-39.009011 -3.36062)'))) / (select extract(epoch from '2026-08-10 19:47:21'::timestamp) - extract(epoch from '2026-08-10 19:47:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008982 -3.360629)', '2026-08-10 19:47:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009011 -3.36062)'), GeomFromEWKT('SRID=4674;POINT (-39.008982 -3.360629)'))) / (select extract(epoch from '2026-08-10 19:47:28'::timestamp) - extract(epoch from '2026-08-10 19:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009011 -3.36062)'), GeomFromEWKT('SRID=4674;POINT (-39.008982 -3.360629)'))) / (select extract(epoch from '2026-08-10 19:47:28'::timestamp) - extract(epoch from '2026-08-10 19:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008947 -3.36065)', '2026-08-10 19:47:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008982 -3.360629)'), GeomFromEWKT('SRID=4674;POINT (-39.008947 -3.36065)'))) / (select extract(epoch from '2026-08-10 19:47:36'::timestamp) - extract(epoch from '2026-08-10 19:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008982 -3.360629)'), GeomFromEWKT('SRID=4674;POINT (-39.008947 -3.36065)'))) / (select extract(epoch from '2026-08-10 19:47:36'::timestamp) - extract(epoch from '2026-08-10 19:47: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'), 48138, 'SRID=4674;POINT (-39.008931 -3.360663)', '2026-08-10 19:47:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008947 -3.36065)'), GeomFromEWKT('SRID=4674;POINT (-39.008931 -3.360663)'))) / (select extract(epoch from '2026-08-10 19:47:42'::timestamp) - extract(epoch from '2026-08-10 19:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008947 -3.36065)'), GeomFromEWKT('SRID=4674;POINT (-39.008931 -3.360663)'))) / (select extract(epoch from '2026-08-10 19:47:42'::timestamp) - extract(epoch from '2026-08-10 19:47: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'), 48138, 'SRID=4674;POINT (-39.008904 -3.360687)', '2026-08-10 19:47:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008931 -3.360663)'), GeomFromEWKT('SRID=4674;POINT (-39.008904 -3.360687)'))) / (select extract(epoch from '2026-08-10 19:47:49'::timestamp) - extract(epoch from '2026-08-10 19:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008931 -3.360663)'), GeomFromEWKT('SRID=4674;POINT (-39.008904 -3.360687)'))) / (select extract(epoch from '2026-08-10 19:47:49'::timestamp) - extract(epoch from '2026-08-10 19:47: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'), 48138, 'SRID=4674;POINT (-39.008875 -3.360695)', '2026-08-10 19:47:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008904 -3.360687)'), GeomFromEWKT('SRID=4674;POINT (-39.008875 -3.360695)'))) / (select extract(epoch from '2026-08-10 19:47:56'::timestamp) - extract(epoch from '2026-08-10 19:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008904 -3.360687)'), GeomFromEWKT('SRID=4674;POINT (-39.008875 -3.360695)'))) / (select extract(epoch from '2026-08-10 19:47:56'::timestamp) - extract(epoch from '2026-08-10 19:47: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'), 48138, 'SRID=4674;POINT (-39.008838 -3.360705)', '2026-08-10 19:48:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008875 -3.360695)'), GeomFromEWKT('SRID=4674;POINT (-39.008838 -3.360705)'))) / (select extract(epoch from '2026-08-10 19:48:05'::timestamp) - extract(epoch from '2026-08-10 19:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008875 -3.360695)'), GeomFromEWKT('SRID=4674;POINT (-39.008838 -3.360705)'))) / (select extract(epoch from '2026-08-10 19:48:05'::timestamp) - extract(epoch from '2026-08-10 19:47:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008823 -3.360729)', '2026-08-10 19:48:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008838 -3.360705)'), GeomFromEWKT('SRID=4674;POINT (-39.008823 -3.360729)'))) / (select extract(epoch from '2026-08-10 19:48:14'::timestamp) - extract(epoch from '2026-08-10 19:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008838 -3.360705)'), GeomFromEWKT('SRID=4674;POINT (-39.008823 -3.360729)'))) / (select extract(epoch from '2026-08-10 19:48:14'::timestamp) - extract(epoch from '2026-08-10 19:48:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008779 -3.360739)', '2026-08-10 19:48:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008823 -3.360729)'), GeomFromEWKT('SRID=4674;POINT (-39.008779 -3.360739)'))) / (select extract(epoch from '2026-08-10 19:48:23'::timestamp) - extract(epoch from '2026-08-10 19:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008823 -3.360729)'), GeomFromEWKT('SRID=4674;POINT (-39.008779 -3.360739)'))) / (select extract(epoch from '2026-08-10 19:48:23'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.008763 -3.360743)', '2026-08-10 19:48:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008779 -3.360739)'), GeomFromEWKT('SRID=4674;POINT (-39.008763 -3.360743)'))) / (select extract(epoch from '2026-08-10 19:48:30'::timestamp) - extract(epoch from '2026-08-10 19:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008779 -3.360739)'), GeomFromEWKT('SRID=4674;POINT (-39.008763 -3.360743)'))) / (select extract(epoch from '2026-08-10 19:48:30'::timestamp) - extract(epoch from '2026-08-10 19:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008729 -3.360751)', '2026-08-10 19:48:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008763 -3.360743)'), GeomFromEWKT('SRID=4674;POINT (-39.008729 -3.360751)'))) / (select extract(epoch from '2026-08-10 19:48:38'::timestamp) - extract(epoch from '2026-08-10 19:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008763 -3.360743)'), GeomFromEWKT('SRID=4674;POINT (-39.008729 -3.360751)'))) / (select extract(epoch from '2026-08-10 19:48:38'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.008693 -3.360778)', '2026-08-10 19:48:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008729 -3.360751)'), GeomFromEWKT('SRID=4674;POINT (-39.008693 -3.360778)'))) / (select extract(epoch from '2026-08-10 19:48:47'::timestamp) - extract(epoch from '2026-08-10 19:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008729 -3.360751)'), GeomFromEWKT('SRID=4674;POINT (-39.008693 -3.360778)'))) / (select extract(epoch from '2026-08-10 19:48:47'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.008664 -3.360796)', '2026-08-10 19:48:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008693 -3.360778)'), GeomFromEWKT('SRID=4674;POINT (-39.008664 -3.360796)'))) / (select extract(epoch from '2026-08-10 19:48:57'::timestamp) - extract(epoch from '2026-08-10 19:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008693 -3.360778)'), GeomFromEWKT('SRID=4674;POINT (-39.008664 -3.360796)'))) / (select extract(epoch from '2026-08-10 19:48:57'::timestamp) - extract(epoch from '2026-08-10 19:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008643 -3.360802)', '2026-08-10 19:49:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008664 -3.360796)'), GeomFromEWKT('SRID=4674;POINT (-39.008643 -3.360802)'))) / (select extract(epoch from '2026-08-10 19:49:04'::timestamp) - extract(epoch from '2026-08-10 19:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008664 -3.360796)'), GeomFromEWKT('SRID=4674;POINT (-39.008643 -3.360802)'))) / (select extract(epoch from '2026-08-10 19:49:04'::timestamp) - extract(epoch from '2026-08-10 19:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.0086 -3.360814)', '2026-08-10 19:49:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008643 -3.360802)'), GeomFromEWKT('SRID=4674;POINT (-39.0086 -3.360814)'))) / (select extract(epoch from '2026-08-10 19:49:14'::timestamp) - extract(epoch from '2026-08-10 19:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008643 -3.360802)'), GeomFromEWKT('SRID=4674;POINT (-39.0086 -3.360814)'))) / (select extract(epoch from '2026-08-10 19:49:14'::timestamp) - extract(epoch from '2026-08-10 19:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008572 -3.360829)', '2026-08-10 19:49:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0086 -3.360814)'), GeomFromEWKT('SRID=4674;POINT (-39.008572 -3.360829)'))) / (select extract(epoch from '2026-08-10 19:49:23'::timestamp) - extract(epoch from '2026-08-10 19:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0086 -3.360814)'), GeomFromEWKT('SRID=4674;POINT (-39.008572 -3.360829)'))) / (select extract(epoch from '2026-08-10 19:49:23'::timestamp) - extract(epoch from '2026-08-10 19:49: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'), 48138, 'SRID=4674;POINT (-39.008531 -3.360841)', '2026-08-10 19:49:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008572 -3.360829)'), GeomFromEWKT('SRID=4674;POINT (-39.008531 -3.360841)'))) / (select extract(epoch from '2026-08-10 19:49:32'::timestamp) - extract(epoch from '2026-08-10 19:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008572 -3.360829)'), GeomFromEWKT('SRID=4674;POINT (-39.008531 -3.360841)'))) / (select extract(epoch from '2026-08-10 19:49:32'::timestamp) - extract(epoch from '2026-08-10 19:49: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'), 48138, 'SRID=4674;POINT (-39.008496 -3.360861)', '2026-08-10 19:49:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008531 -3.360841)'), GeomFromEWKT('SRID=4674;POINT (-39.008496 -3.360861)'))) / (select extract(epoch from '2026-08-10 19:49:41'::timestamp) - extract(epoch from '2026-08-10 19:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008531 -3.360841)'), GeomFromEWKT('SRID=4674;POINT (-39.008496 -3.360861)'))) / (select extract(epoch from '2026-08-10 19:49:41'::timestamp) - extract(epoch from '2026-08-10 19:49: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'), 48138, 'SRID=4674;POINT (-39.00847 -3.360875)', '2026-08-10 19:49:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008496 -3.360861)'), GeomFromEWKT('SRID=4674;POINT (-39.00847 -3.360875)'))) / (select extract(epoch from '2026-08-10 19:49:49'::timestamp) - extract(epoch from '2026-08-10 19:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008496 -3.360861)'), GeomFromEWKT('SRID=4674;POINT (-39.00847 -3.360875)'))) / (select extract(epoch from '2026-08-10 19:49:49'::timestamp) - extract(epoch from '2026-08-10 19:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008442 -3.360887)', '2026-08-10 19:49:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00847 -3.360875)'), GeomFromEWKT('SRID=4674;POINT (-39.008442 -3.360887)'))) / (select extract(epoch from '2026-08-10 19:49:56'::timestamp) - extract(epoch from '2026-08-10 19:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00847 -3.360875)'), GeomFromEWKT('SRID=4674;POINT (-39.008442 -3.360887)'))) / (select extract(epoch from '2026-08-10 19:49:56'::timestamp) - extract(epoch from '2026-08-10 19:49:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008404 -3.360911)', '2026-08-10 19:50:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008442 -3.360887)'), GeomFromEWKT('SRID=4674;POINT (-39.008404 -3.360911)'))) / (select extract(epoch from '2026-08-10 19:50:04'::timestamp) - extract(epoch from '2026-08-10 19:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008442 -3.360887)'), GeomFromEWKT('SRID=4674;POINT (-39.008404 -3.360911)'))) / (select extract(epoch from '2026-08-10 19:50:04'::timestamp) - extract(epoch from '2026-08-10 19:49:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008394 -3.360928)', '2026-08-10 19:50:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008404 -3.360911)'), GeomFromEWKT('SRID=4674;POINT (-39.008394 -3.360928)'))) / (select extract(epoch from '2026-08-10 19:50:14'::timestamp) - extract(epoch from '2026-08-10 19:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008404 -3.360911)'), GeomFromEWKT('SRID=4674;POINT (-39.008394 -3.360928)'))) / (select extract(epoch from '2026-08-10 19:50:14'::timestamp) - extract(epoch from '2026-08-10 19:50: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'), 48138, 'SRID=4674;POINT (-39.00838 -3.360937)', '2026-08-10 19:50:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008394 -3.360928)'), GeomFromEWKT('SRID=4674;POINT (-39.00838 -3.360937)'))) / (select extract(epoch from '2026-08-10 19:50:18'::timestamp) - extract(epoch from '2026-08-10 19:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008394 -3.360928)'), GeomFromEWKT('SRID=4674;POINT (-39.00838 -3.360937)'))) / (select extract(epoch from '2026-08-10 19:50:18'::timestamp) - extract(epoch from '2026-08-10 19:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008368 -3.360942)', '2026-08-10 19:50:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00838 -3.360937)'), GeomFromEWKT('SRID=4674;POINT (-39.008368 -3.360942)'))) / (select extract(epoch from '2026-08-10 19:50:26'::timestamp) - extract(epoch from '2026-08-10 19:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00838 -3.360937)'), GeomFromEWKT('SRID=4674;POINT (-39.008368 -3.360942)'))) / (select extract(epoch from '2026-08-10 19:50:26'::timestamp) - extract(epoch from '2026-08-10 19:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008328 -3.360955)', '2026-08-10 19:50:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008368 -3.360942)'), GeomFromEWKT('SRID=4674;POINT (-39.008328 -3.360955)'))) / (select extract(epoch from '2026-08-10 19:50:34'::timestamp) - extract(epoch from '2026-08-10 19:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008368 -3.360942)'), GeomFromEWKT('SRID=4674;POINT (-39.008328 -3.360955)'))) / (select extract(epoch from '2026-08-10 19:50:34'::timestamp) - extract(epoch from '2026-08-10 19:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008279 -3.360965)', '2026-08-10 19:50:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008328 -3.360955)'), GeomFromEWKT('SRID=4674;POINT (-39.008279 -3.360965)'))) / (select extract(epoch from '2026-08-10 19:50:42'::timestamp) - extract(epoch from '2026-08-10 19:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008328 -3.360955)'), GeomFromEWKT('SRID=4674;POINT (-39.008279 -3.360965)'))) / (select extract(epoch from '2026-08-10 19:50:42'::timestamp) - extract(epoch from '2026-08-10 19:50: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'), 48138, 'SRID=4674;POINT (-39.008249 -3.360983)', '2026-08-10 19:50:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008279 -3.360965)'), GeomFromEWKT('SRID=4674;POINT (-39.008249 -3.360983)'))) / (select extract(epoch from '2026-08-10 19:50:49'::timestamp) - extract(epoch from '2026-08-10 19:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008279 -3.360965)'), GeomFromEWKT('SRID=4674;POINT (-39.008249 -3.360983)'))) / (select extract(epoch from '2026-08-10 19:50:49'::timestamp) - extract(epoch from '2026-08-10 19:50: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'), 48138, 'SRID=4674;POINT (-39.008215 -3.360999)', '2026-08-10 19:50:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008249 -3.360983)'), GeomFromEWKT('SRID=4674;POINT (-39.008215 -3.360999)'))) / (select extract(epoch from '2026-08-10 19:50:56'::timestamp) - extract(epoch from '2026-08-10 19:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008249 -3.360983)'), GeomFromEWKT('SRID=4674;POINT (-39.008215 -3.360999)'))) / (select extract(epoch from '2026-08-10 19:50:56'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.008191 -3.361028)', '2026-08-10 19:51:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008215 -3.360999)'), GeomFromEWKT('SRID=4674;POINT (-39.008191 -3.361028)'))) / (select extract(epoch from '2026-08-10 19:51:05'::timestamp) - extract(epoch from '2026-08-10 19:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008215 -3.360999)'), GeomFromEWKT('SRID=4674;POINT (-39.008191 -3.361028)'))) / (select extract(epoch from '2026-08-10 19:51:05'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.008193 -3.361034)', '2026-08-10 19:51:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008191 -3.361028)'), GeomFromEWKT('SRID=4674;POINT (-39.008193 -3.361034)'))) / (select extract(epoch from '2026-08-10 19:51:08'::timestamp) - extract(epoch from '2026-08-10 19:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008191 -3.361028)'), GeomFromEWKT('SRID=4674;POINT (-39.008193 -3.361034)'))) / (select extract(epoch from '2026-08-10 19:51:08'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.008182 -3.361036)', '2026-08-10 19:51:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008193 -3.361034)'), GeomFromEWKT('SRID=4674;POINT (-39.008182 -3.361036)'))) / (select extract(epoch from '2026-08-10 19:51:10'::timestamp) - extract(epoch from '2026-08-10 19:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008193 -3.361034)'), GeomFromEWKT('SRID=4674;POINT (-39.008182 -3.361036)'))) / (select extract(epoch from '2026-08-10 19:51:10'::timestamp) - extract(epoch from '2026-08-10 19:51: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'), 48138, 'SRID=4674;POINT (-39.008162 -3.361041)', '2026-08-10 19:51:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008182 -3.361036)'), GeomFromEWKT('SRID=4674;POINT (-39.008162 -3.361041)'))) / (select extract(epoch from '2026-08-10 19:51:18'::timestamp) - extract(epoch from '2026-08-10 19:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008182 -3.361036)'), GeomFromEWKT('SRID=4674;POINT (-39.008162 -3.361041)'))) / (select extract(epoch from '2026-08-10 19:51:18'::timestamp) - extract(epoch from '2026-08-10 19:51: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'), 48138, 'SRID=4674;POINT (-39.008136 -3.361045)', '2026-08-10 19:51:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008162 -3.361041)'), GeomFromEWKT('SRID=4674;POINT (-39.008136 -3.361045)'))) / (select extract(epoch from '2026-08-10 19:51:25'::timestamp) - extract(epoch from '2026-08-10 19:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008162 -3.361041)'), GeomFromEWKT('SRID=4674;POINT (-39.008136 -3.361045)'))) / (select extract(epoch from '2026-08-10 19:51:25'::timestamp) - extract(epoch from '2026-08-10 19:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008109 -3.361049)', '2026-08-10 19:51:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008136 -3.361045)'), GeomFromEWKT('SRID=4674;POINT (-39.008109 -3.361049)'))) / (select extract(epoch from '2026-08-10 19:51:30'::timestamp) - extract(epoch from '2026-08-10 19:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008136 -3.361045)'), GeomFromEWKT('SRID=4674;POINT (-39.008109 -3.361049)'))) / (select extract(epoch from '2026-08-10 19:51:30'::timestamp) - extract(epoch from '2026-08-10 19:51: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'), 48138, 'SRID=4674;POINT (-39.008101 -3.361057)', '2026-08-10 19:51:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008109 -3.361049)'), GeomFromEWKT('SRID=4674;POINT (-39.008101 -3.361057)'))) / (select extract(epoch from '2026-08-10 19:51:32'::timestamp) - extract(epoch from '2026-08-10 19:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008109 -3.361049)'), GeomFromEWKT('SRID=4674;POINT (-39.008101 -3.361057)'))) / (select extract(epoch from '2026-08-10 19:51:32'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.008081 -3.361064)', '2026-08-10 19:51:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008101 -3.361057)'), GeomFromEWKT('SRID=4674;POINT (-39.008081 -3.361064)'))) / (select extract(epoch from '2026-08-10 19:51:36'::timestamp) - extract(epoch from '2026-08-10 19:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008101 -3.361057)'), GeomFromEWKT('SRID=4674;POINT (-39.008081 -3.361064)'))) / (select extract(epoch from '2026-08-10 19:51:36'::timestamp) - extract(epoch from '2026-08-10 19:51: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'), 48138, 'SRID=4674;POINT (-39.008059 -3.361077)', '2026-08-10 19:51:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008081 -3.361064)'), GeomFromEWKT('SRID=4674;POINT (-39.008059 -3.361077)'))) / (select extract(epoch from '2026-08-10 19:51:45'::timestamp) - extract(epoch from '2026-08-10 19:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008081 -3.361064)'), GeomFromEWKT('SRID=4674;POINT (-39.008059 -3.361077)'))) / (select extract(epoch from '2026-08-10 19:51:45'::timestamp) - extract(epoch from '2026-08-10 19:51: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'), 48138, 'SRID=4674;POINT (-39.008003 -3.361081)', '2026-08-10 19:51:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008059 -3.361077)'), GeomFromEWKT('SRID=4674;POINT (-39.008003 -3.361081)'))) / (select extract(epoch from '2026-08-10 19:51:55'::timestamp) - extract(epoch from '2026-08-10 19:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008059 -3.361077)'), GeomFromEWKT('SRID=4674;POINT (-39.008003 -3.361081)'))) / (select extract(epoch from '2026-08-10 19:51:55'::timestamp) - extract(epoch from '2026-08-10 19:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007977 -3.361092)', '2026-08-10 19:52:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008003 -3.361081)'), GeomFromEWKT('SRID=4674;POINT (-39.007977 -3.361092)'))) / (select extract(epoch from '2026-08-10 19:52:00'::timestamp) - extract(epoch from '2026-08-10 19:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008003 -3.361081)'), GeomFromEWKT('SRID=4674;POINT (-39.007977 -3.361092)'))) / (select extract(epoch from '2026-08-10 19:52:00'::timestamp) - extract(epoch from '2026-08-10 19:51: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'), 48138, 'SRID=4674;POINT (-39.007969 -3.361094)', '2026-08-10 19:52:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007977 -3.361092)'), GeomFromEWKT('SRID=4674;POINT (-39.007969 -3.361094)'))) / (select extract(epoch from '2026-08-10 19:52:02'::timestamp) - extract(epoch from '2026-08-10 19:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007977 -3.361092)'), GeomFromEWKT('SRID=4674;POINT (-39.007969 -3.361094)'))) / (select extract(epoch from '2026-08-10 19:52:02'::timestamp) - extract(epoch from '2026-08-10 19:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007972 -3.361105)', '2026-08-10 19:52:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007969 -3.361094)'), GeomFromEWKT('SRID=4674;POINT (-39.007972 -3.361105)'))) / (select extract(epoch from '2026-08-10 19:52:04'::timestamp) - extract(epoch from '2026-08-10 19:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007969 -3.361094)'), GeomFromEWKT('SRID=4674;POINT (-39.007972 -3.361105)'))) / (select extract(epoch from '2026-08-10 19:52:04'::timestamp) - extract(epoch from '2026-08-10 19:52:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007961 -3.361116)', '2026-08-10 19:52:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007972 -3.361105)'), GeomFromEWKT('SRID=4674;POINT (-39.007961 -3.361116)'))) / (select extract(epoch from '2026-08-10 19:52:07'::timestamp) - extract(epoch from '2026-08-10 19:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007972 -3.361105)'), GeomFromEWKT('SRID=4674;POINT (-39.007961 -3.361116)'))) / (select extract(epoch from '2026-08-10 19:52:07'::timestamp) - extract(epoch from '2026-08-10 19:52: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'), 48138, 'SRID=4674;POINT (-39.007951 -3.361125)', '2026-08-10 19:52:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007961 -3.361116)'), GeomFromEWKT('SRID=4674;POINT (-39.007951 -3.361125)'))) / (select extract(epoch from '2026-08-10 19:52:10'::timestamp) - extract(epoch from '2026-08-10 19:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007961 -3.361116)'), GeomFromEWKT('SRID=4674;POINT (-39.007951 -3.361125)'))) / (select extract(epoch from '2026-08-10 19:52:10'::timestamp) - extract(epoch from '2026-08-10 19:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007934 -3.361131)', '2026-08-10 19:52:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007951 -3.361125)'), GeomFromEWKT('SRID=4674;POINT (-39.007934 -3.361131)'))) / (select extract(epoch from '2026-08-10 19:52:13'::timestamp) - extract(epoch from '2026-08-10 19:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007951 -3.361125)'), GeomFromEWKT('SRID=4674;POINT (-39.007934 -3.361131)'))) / (select extract(epoch from '2026-08-10 19:52:13'::timestamp) - extract(epoch from '2026-08-10 19:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007899 -3.361138)', '2026-08-10 19:52:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007934 -3.361131)'), GeomFromEWKT('SRID=4674;POINT (-39.007899 -3.361138)'))) / (select extract(epoch from '2026-08-10 19:52:22'::timestamp) - extract(epoch from '2026-08-10 19:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007934 -3.361131)'), GeomFromEWKT('SRID=4674;POINT (-39.007899 -3.361138)'))) / (select extract(epoch from '2026-08-10 19:52:22'::timestamp) - extract(epoch from '2026-08-10 19:52: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'), 48138, 'SRID=4674;POINT (-39.007854 -3.361161)', '2026-08-10 19:52:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007899 -3.361138)'), GeomFromEWKT('SRID=4674;POINT (-39.007854 -3.361161)'))) / (select extract(epoch from '2026-08-10 19:52:32'::timestamp) - extract(epoch from '2026-08-10 19:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007899 -3.361138)'), GeomFromEWKT('SRID=4674;POINT (-39.007854 -3.361161)'))) / (select extract(epoch from '2026-08-10 19:52:32'::timestamp) - extract(epoch from '2026-08-10 19:52: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'), 48138, 'SRID=4674;POINT (-39.007821 -3.361176)', '2026-08-10 19:52:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007854 -3.361161)'), GeomFromEWKT('SRID=4674;POINT (-39.007821 -3.361176)'))) / (select extract(epoch from '2026-08-10 19:52:41'::timestamp) - extract(epoch from '2026-08-10 19:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007854 -3.361161)'), GeomFromEWKT('SRID=4674;POINT (-39.007821 -3.361176)'))) / (select extract(epoch from '2026-08-10 19:52:41'::timestamp) - extract(epoch from '2026-08-10 19:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00779 -3.361187)', '2026-08-10 19:52:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007821 -3.361176)'), GeomFromEWKT('SRID=4674;POINT (-39.00779 -3.361187)'))) / (select extract(epoch from '2026-08-10 19:52:48'::timestamp) - extract(epoch from '2026-08-10 19:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007821 -3.361176)'), GeomFromEWKT('SRID=4674;POINT (-39.00779 -3.361187)'))) / (select extract(epoch from '2026-08-10 19:52:48'::timestamp) - extract(epoch from '2026-08-10 19:52:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007802 -3.361191)', '2026-08-10 19:52:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00779 -3.361187)'), GeomFromEWKT('SRID=4674;POINT (-39.007802 -3.361191)'))) / (select extract(epoch from '2026-08-10 19:52:50'::timestamp) - extract(epoch from '2026-08-10 19:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00779 -3.361187)'), GeomFromEWKT('SRID=4674;POINT (-39.007802 -3.361191)'))) / (select extract(epoch from '2026-08-10 19:52:50'::timestamp) - extract(epoch from '2026-08-10 19:52: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'), 48138, 'SRID=4674;POINT (-39.007803 -3.361188)', '2026-08-10 19:52:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007802 -3.361191)'), GeomFromEWKT('SRID=4674;POINT (-39.007803 -3.361188)'))) / (select extract(epoch from '2026-08-10 19:52:52'::timestamp) - extract(epoch from '2026-08-10 19:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007802 -3.361191)'), GeomFromEWKT('SRID=4674;POINT (-39.007803 -3.361188)'))) / (select extract(epoch from '2026-08-10 19:52:52'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.007771 -3.361193)', '2026-08-10 19:52:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007803 -3.361188)'), GeomFromEWKT('SRID=4674;POINT (-39.007771 -3.361193)'))) / (select extract(epoch from '2026-08-10 19:52:58'::timestamp) - extract(epoch from '2026-08-10 19:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007803 -3.361188)'), GeomFromEWKT('SRID=4674;POINT (-39.007771 -3.361193)'))) / (select extract(epoch from '2026-08-10 19:52:58'::timestamp) - extract(epoch from '2026-08-10 19:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007741 -3.361212)', '2026-08-10 19:53:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007771 -3.361193)'), GeomFromEWKT('SRID=4674;POINT (-39.007741 -3.361212)'))) / (select extract(epoch from '2026-08-10 19:53:06'::timestamp) - extract(epoch from '2026-08-10 19:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007771 -3.361193)'), GeomFromEWKT('SRID=4674;POINT (-39.007741 -3.361212)'))) / (select extract(epoch from '2026-08-10 19:53:06'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.007713 -3.361237)', '2026-08-10 19:53:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007741 -3.361212)'), GeomFromEWKT('SRID=4674;POINT (-39.007713 -3.361237)'))) / (select extract(epoch from '2026-08-10 19:53:14'::timestamp) - extract(epoch from '2026-08-10 19:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007741 -3.361212)'), GeomFromEWKT('SRID=4674;POINT (-39.007713 -3.361237)'))) / (select extract(epoch from '2026-08-10 19:53:14'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.00768 -3.361251)', '2026-08-10 19:53:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007713 -3.361237)'), GeomFromEWKT('SRID=4674;POINT (-39.00768 -3.361251)'))) / (select extract(epoch from '2026-08-10 19:53:25'::timestamp) - extract(epoch from '2026-08-10 19:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007713 -3.361237)'), GeomFromEWKT('SRID=4674;POINT (-39.00768 -3.361251)'))) / (select extract(epoch from '2026-08-10 19:53:25'::timestamp) - extract(epoch from '2026-08-10 19:53: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'), 48138, 'SRID=4674;POINT (-39.007671 -3.361257)', '2026-08-10 19:53:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00768 -3.361251)'), GeomFromEWKT('SRID=4674;POINT (-39.007671 -3.361257)'))) / (select extract(epoch from '2026-08-10 19:53:31'::timestamp) - extract(epoch from '2026-08-10 19:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00768 -3.361251)'), GeomFromEWKT('SRID=4674;POINT (-39.007671 -3.361257)'))) / (select extract(epoch from '2026-08-10 19:53:31'::timestamp) - extract(epoch from '2026-08-10 19:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00764 -3.36127)', '2026-08-10 19:53:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007671 -3.361257)'), GeomFromEWKT('SRID=4674;POINT (-39.00764 -3.36127)'))) / (select extract(epoch from '2026-08-10 19:53:40'::timestamp) - extract(epoch from '2026-08-10 19:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007671 -3.361257)'), GeomFromEWKT('SRID=4674;POINT (-39.00764 -3.36127)'))) / (select extract(epoch from '2026-08-10 19:53:40'::timestamp) - extract(epoch from '2026-08-10 19:53:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007611 -3.361301)', '2026-08-10 19:53:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00764 -3.36127)'), GeomFromEWKT('SRID=4674;POINT (-39.007611 -3.361301)'))) / (select extract(epoch from '2026-08-10 19:53:49'::timestamp) - extract(epoch from '2026-08-10 19:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00764 -3.36127)'), GeomFromEWKT('SRID=4674;POINT (-39.007611 -3.361301)'))) / (select extract(epoch from '2026-08-10 19:53:49'::timestamp) - extract(epoch from '2026-08-10 19:53:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007604 -3.361313)', '2026-08-10 19:53:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007611 -3.361301)'), GeomFromEWKT('SRID=4674;POINT (-39.007604 -3.361313)'))) / (select extract(epoch from '2026-08-10 19:53:57'::timestamp) - extract(epoch from '2026-08-10 19:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007611 -3.361301)'), GeomFromEWKT('SRID=4674;POINT (-39.007604 -3.361313)'))) / (select extract(epoch from '2026-08-10 19:53:57'::timestamp) - extract(epoch from '2026-08-10 19:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007568 -3.361314)', '2026-08-10 19:54:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007604 -3.361313)'), GeomFromEWKT('SRID=4674;POINT (-39.007568 -3.361314)'))) / (select extract(epoch from '2026-08-10 19:54:07'::timestamp) - extract(epoch from '2026-08-10 19:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007604 -3.361313)'), GeomFromEWKT('SRID=4674;POINT (-39.007568 -3.361314)'))) / (select extract(epoch from '2026-08-10 19:54:07'::timestamp) - extract(epoch from '2026-08-10 19:53: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'), 48138, 'SRID=4674;POINT (-39.007542 -3.361333)', '2026-08-10 19:54:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007568 -3.361314)'), GeomFromEWKT('SRID=4674;POINT (-39.007542 -3.361333)'))) / (select extract(epoch from '2026-08-10 19:54:14'::timestamp) - extract(epoch from '2026-08-10 19:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007568 -3.361314)'), GeomFromEWKT('SRID=4674;POINT (-39.007542 -3.361333)'))) / (select extract(epoch from '2026-08-10 19:54:14'::timestamp) - extract(epoch from '2026-08-10 19:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007507 -3.36134)', '2026-08-10 19:54:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007542 -3.361333)'), GeomFromEWKT('SRID=4674;POINT (-39.007507 -3.36134)'))) / (select extract(epoch from '2026-08-10 19:54:22'::timestamp) - extract(epoch from '2026-08-10 19:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007542 -3.361333)'), GeomFromEWKT('SRID=4674;POINT (-39.007507 -3.36134)'))) / (select extract(epoch from '2026-08-10 19:54:22'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.007482 -3.361341)', '2026-08-10 19:54:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007507 -3.36134)'), GeomFromEWKT('SRID=4674;POINT (-39.007482 -3.361341)'))) / (select extract(epoch from '2026-08-10 19:54:31'::timestamp) - extract(epoch from '2026-08-10 19:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007507 -3.36134)'), GeomFromEWKT('SRID=4674;POINT (-39.007482 -3.361341)'))) / (select extract(epoch from '2026-08-10 19:54:31'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.007465 -3.361356)', '2026-08-10 19:54:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007482 -3.361341)'), GeomFromEWKT('SRID=4674;POINT (-39.007465 -3.361356)'))) / (select extract(epoch from '2026-08-10 19:54:37'::timestamp) - extract(epoch from '2026-08-10 19:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007482 -3.361341)'), GeomFromEWKT('SRID=4674;POINT (-39.007465 -3.361356)'))) / (select extract(epoch from '2026-08-10 19:54:37'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.00742 -3.361382)', '2026-08-10 19:54:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007465 -3.361356)'), GeomFromEWKT('SRID=4674;POINT (-39.00742 -3.361382)'))) / (select extract(epoch from '2026-08-10 19:54:46'::timestamp) - extract(epoch from '2026-08-10 19:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007465 -3.361356)'), GeomFromEWKT('SRID=4674;POINT (-39.00742 -3.361382)'))) / (select extract(epoch from '2026-08-10 19:54:46'::timestamp) - extract(epoch from '2026-08-10 19:54: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'), 48138, 'SRID=4674;POINT (-39.007395 -3.361387)', '2026-08-10 19:54:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00742 -3.361382)'), GeomFromEWKT('SRID=4674;POINT (-39.007395 -3.361387)'))) / (select extract(epoch from '2026-08-10 19:54:53'::timestamp) - extract(epoch from '2026-08-10 19:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00742 -3.361382)'), GeomFromEWKT('SRID=4674;POINT (-39.007395 -3.361387)'))) / (select extract(epoch from '2026-08-10 19:54:53'::timestamp) - extract(epoch from '2026-08-10 19:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007381 -3.361397)', '2026-08-10 19:54:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007395 -3.361387)'), GeomFromEWKT('SRID=4674;POINT (-39.007381 -3.361397)'))) / (select extract(epoch from '2026-08-10 19:54:59'::timestamp) - extract(epoch from '2026-08-10 19:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007395 -3.361387)'), GeomFromEWKT('SRID=4674;POINT (-39.007381 -3.361397)'))) / (select extract(epoch from '2026-08-10 19:54:59'::timestamp) - extract(epoch from '2026-08-10 19:54: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'), 48138, 'SRID=4674;POINT (-39.007365 -3.361425)', '2026-08-10 19:55:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007381 -3.361397)'), GeomFromEWKT('SRID=4674;POINT (-39.007365 -3.361425)'))) / (select extract(epoch from '2026-08-10 19:55:09'::timestamp) - extract(epoch from '2026-08-10 19:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007381 -3.361397)'), GeomFromEWKT('SRID=4674;POINT (-39.007365 -3.361425)'))) / (select extract(epoch from '2026-08-10 19:55:09'::timestamp) - extract(epoch from '2026-08-10 19:54: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'), 48138, 'SRID=4674;POINT (-39.007348 -3.36144)', '2026-08-10 19:55:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007365 -3.361425)'), GeomFromEWKT('SRID=4674;POINT (-39.007348 -3.36144)'))) / (select extract(epoch from '2026-08-10 19:55:18'::timestamp) - extract(epoch from '2026-08-10 19:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007365 -3.361425)'), GeomFromEWKT('SRID=4674;POINT (-39.007348 -3.36144)'))) / (select extract(epoch from '2026-08-10 19:55:18'::timestamp) - extract(epoch from '2026-08-10 19:55: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'), 48138, 'SRID=4674;POINT (-39.007338 -3.361447)', '2026-08-10 19:55:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007348 -3.36144)'), GeomFromEWKT('SRID=4674;POINT (-39.007338 -3.361447)'))) / (select extract(epoch from '2026-08-10 19:55:25'::timestamp) - extract(epoch from '2026-08-10 19:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007348 -3.36144)'), GeomFromEWKT('SRID=4674;POINT (-39.007338 -3.361447)'))) / (select extract(epoch from '2026-08-10 19:55:25'::timestamp) - extract(epoch from '2026-08-10 19:55:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007333 -3.361444)', '2026-08-10 19:55:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007338 -3.361447)'), GeomFromEWKT('SRID=4674;POINT (-39.007333 -3.361444)'))) / (select extract(epoch from '2026-08-10 19:55:37'::timestamp) - extract(epoch from '2026-08-10 19:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007338 -3.361447)'), GeomFromEWKT('SRID=4674;POINT (-39.007333 -3.361444)'))) / (select extract(epoch from '2026-08-10 19:55:37'::timestamp) - extract(epoch from '2026-08-10 19:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007341 -3.361436)', '2026-08-10 19:55:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007333 -3.361444)'), GeomFromEWKT('SRID=4674;POINT (-39.007341 -3.361436)'))) / (select extract(epoch from '2026-08-10 19:55:43'::timestamp) - extract(epoch from '2026-08-10 19:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007333 -3.361444)'), GeomFromEWKT('SRID=4674;POINT (-39.007341 -3.361436)'))) / (select extract(epoch from '2026-08-10 19:55:43'::timestamp) - extract(epoch from '2026-08-10 19:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007336 -3.361427)', '2026-08-10 19:55:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007341 -3.361436)'), GeomFromEWKT('SRID=4674;POINT (-39.007336 -3.361427)'))) / (select extract(epoch from '2026-08-10 19:55:50'::timestamp) - extract(epoch from '2026-08-10 19:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007341 -3.361436)'), GeomFromEWKT('SRID=4674;POINT (-39.007336 -3.361427)'))) / (select extract(epoch from '2026-08-10 19:55:50'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.007322 -3.361424)', '2026-08-10 19:56:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007336 -3.361427)'), GeomFromEWKT('SRID=4674;POINT (-39.007322 -3.361424)'))) / (select extract(epoch from '2026-08-10 19:56:02'::timestamp) - extract(epoch from '2026-08-10 19:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007336 -3.361427)'), GeomFromEWKT('SRID=4674;POINT (-39.007322 -3.361424)'))) / (select extract(epoch from '2026-08-10 19:56:02'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.007323 -3.361419)', '2026-08-10 19:56:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007322 -3.361424)'), GeomFromEWKT('SRID=4674;POINT (-39.007323 -3.361419)'))) / (select extract(epoch from '2026-08-10 19:56:08'::timestamp) - extract(epoch from '2026-08-10 19:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007322 -3.361424)'), GeomFromEWKT('SRID=4674;POINT (-39.007323 -3.361419)'))) / (select extract(epoch from '2026-08-10 19:56:08'::timestamp) - extract(epoch from '2026-08-10 19:56: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'), 48138, 'SRID=4674;POINT (-39.007308 -3.361426)', '2026-08-10 19:56:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007323 -3.361419)'), GeomFromEWKT('SRID=4674;POINT (-39.007308 -3.361426)'))) / (select extract(epoch from '2026-08-10 19:56:10'::timestamp) - extract(epoch from '2026-08-10 19:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007323 -3.361419)'), GeomFromEWKT('SRID=4674;POINT (-39.007308 -3.361426)'))) / (select extract(epoch from '2026-08-10 19:56:10'::timestamp) - extract(epoch from '2026-08-10 19:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007305 -3.361438)', '2026-08-10 19:56:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007308 -3.361426)'), GeomFromEWKT('SRID=4674;POINT (-39.007305 -3.361438)'))) / (select extract(epoch from '2026-08-10 19:56:16'::timestamp) - extract(epoch from '2026-08-10 19:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007308 -3.361426)'), GeomFromEWKT('SRID=4674;POINT (-39.007305 -3.361438)'))) / (select extract(epoch from '2026-08-10 19:56:16'::timestamp) - extract(epoch from '2026-08-10 19:56: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'), 48138, 'SRID=4674;POINT (-39.007285 -3.361459)', '2026-08-10 19:56:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007305 -3.361438)'), GeomFromEWKT('SRID=4674;POINT (-39.007285 -3.361459)'))) / (select extract(epoch from '2026-08-10 19:56:24'::timestamp) - extract(epoch from '2026-08-10 19:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007305 -3.361438)'), GeomFromEWKT('SRID=4674;POINT (-39.007285 -3.361459)'))) / (select extract(epoch from '2026-08-10 19:56:24'::timestamp) - extract(epoch from '2026-08-10 19:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007265 -3.361465)', '2026-08-10 19:56:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007285 -3.361459)'), GeomFromEWKT('SRID=4674;POINT (-39.007265 -3.361465)'))) / (select extract(epoch from '2026-08-10 19:56:32'::timestamp) - extract(epoch from '2026-08-10 19:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007285 -3.361459)'), GeomFromEWKT('SRID=4674;POINT (-39.007265 -3.361465)'))) / (select extract(epoch from '2026-08-10 19:56:32'::timestamp) - extract(epoch from '2026-08-10 19:56: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'), 48138, 'SRID=4674;POINT (-39.007224 -3.36147)', '2026-08-10 19:56:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007265 -3.361465)'), GeomFromEWKT('SRID=4674;POINT (-39.007224 -3.36147)'))) / (select extract(epoch from '2026-08-10 19:56:40'::timestamp) - extract(epoch from '2026-08-10 19:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007265 -3.361465)'), GeomFromEWKT('SRID=4674;POINT (-39.007224 -3.36147)'))) / (select extract(epoch from '2026-08-10 19:56:40'::timestamp) - extract(epoch from '2026-08-10 19:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007172 -3.36151)', '2026-08-10 19:56:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007224 -3.36147)'), GeomFromEWKT('SRID=4674;POINT (-39.007172 -3.36151)'))) / (select extract(epoch from '2026-08-10 19:56:49'::timestamp) - extract(epoch from '2026-08-10 19:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007224 -3.36147)'), GeomFromEWKT('SRID=4674;POINT (-39.007172 -3.36151)'))) / (select extract(epoch from '2026-08-10 19:56:49'::timestamp) - extract(epoch from '2026-08-10 19:56:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007154 -3.361543)', '2026-08-10 19:56:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007172 -3.36151)'), GeomFromEWKT('SRID=4674;POINT (-39.007154 -3.361543)'))) / (select extract(epoch from '2026-08-10 19:56:56'::timestamp) - extract(epoch from '2026-08-10 19:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007172 -3.36151)'), GeomFromEWKT('SRID=4674;POINT (-39.007154 -3.361543)'))) / (select extract(epoch from '2026-08-10 19:56:56'::timestamp) - extract(epoch from '2026-08-10 19:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007138 -3.361553)', '2026-08-10 19:57:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007154 -3.361543)'), GeomFromEWKT('SRID=4674;POINT (-39.007138 -3.361553)'))) / (select extract(epoch from '2026-08-10 19:57:02'::timestamp) - extract(epoch from '2026-08-10 19:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007154 -3.361543)'), GeomFromEWKT('SRID=4674;POINT (-39.007138 -3.361553)'))) / (select extract(epoch from '2026-08-10 19:57:02'::timestamp) - extract(epoch from '2026-08-10 19:56: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'), 48138, 'SRID=4674;POINT (-39.007091 -3.361534)', '2026-08-10 19:57:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007138 -3.361553)'), GeomFromEWKT('SRID=4674;POINT (-39.007091 -3.361534)'))) / (select extract(epoch from '2026-08-10 19:57:14'::timestamp) - extract(epoch from '2026-08-10 19:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007138 -3.361553)'), GeomFromEWKT('SRID=4674;POINT (-39.007091 -3.361534)'))) / (select extract(epoch from '2026-08-10 19:57:14'::timestamp) - extract(epoch from '2026-08-10 19:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007072 -3.361528)', '2026-08-10 19:57:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007091 -3.361534)'), GeomFromEWKT('SRID=4674;POINT (-39.007072 -3.361528)'))) / (select extract(epoch from '2026-08-10 19:57:22'::timestamp) - extract(epoch from '2026-08-10 19:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007091 -3.361534)'), GeomFromEWKT('SRID=4674;POINT (-39.007072 -3.361528)'))) / (select extract(epoch from '2026-08-10 19:57:22'::timestamp) - extract(epoch from '2026-08-10 19:57: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'), 48138, 'SRID=4674;POINT (-39.007073 -3.361516)', '2026-08-10 19:57:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007072 -3.361528)'), GeomFromEWKT('SRID=4674;POINT (-39.007073 -3.361516)'))) / (select extract(epoch from '2026-08-10 19:57:30'::timestamp) - extract(epoch from '2026-08-10 19:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007072 -3.361528)'), GeomFromEWKT('SRID=4674;POINT (-39.007073 -3.361516)'))) / (select extract(epoch from '2026-08-10 19:57:30'::timestamp) - extract(epoch from '2026-08-10 19:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007066 -3.361514)', '2026-08-10 19:57:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007073 -3.361516)'), GeomFromEWKT('SRID=4674;POINT (-39.007066 -3.361514)'))) / (select extract(epoch from '2026-08-10 19:57:38'::timestamp) - extract(epoch from '2026-08-10 19:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007073 -3.361516)'), GeomFromEWKT('SRID=4674;POINT (-39.007066 -3.361514)'))) / (select extract(epoch from '2026-08-10 19:57:38'::timestamp) - extract(epoch from '2026-08-10 19:57: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'), 48138, 'SRID=4674;POINT (-39.007069 -3.361501)', '2026-08-10 19:57:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007066 -3.361514)'), GeomFromEWKT('SRID=4674;POINT (-39.007069 -3.361501)'))) / (select extract(epoch from '2026-08-10 19:57:48'::timestamp) - extract(epoch from '2026-08-10 19:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007066 -3.361514)'), GeomFromEWKT('SRID=4674;POINT (-39.007069 -3.361501)'))) / (select extract(epoch from '2026-08-10 19:57:48'::timestamp) - extract(epoch from '2026-08-10 19:57: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'), 48138, 'SRID=4674;POINT (-39.00708 -3.361488)', '2026-08-10 19:57:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007069 -3.361501)'), GeomFromEWKT('SRID=4674;POINT (-39.00708 -3.361488)'))) / (select extract(epoch from '2026-08-10 19:57:57'::timestamp) - extract(epoch from '2026-08-10 19:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007069 -3.361501)'), GeomFromEWKT('SRID=4674;POINT (-39.00708 -3.361488)'))) / (select extract(epoch from '2026-08-10 19:57:57'::timestamp) - extract(epoch from '2026-08-10 19:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00708 -3.361463)', '2026-08-10 19:58:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00708 -3.361488)'), GeomFromEWKT('SRID=4674;POINT (-39.00708 -3.361463)'))) / (select extract(epoch from '2026-08-10 19:58:06'::timestamp) - extract(epoch from '2026-08-10 19:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00708 -3.361488)'), GeomFromEWKT('SRID=4674;POINT (-39.00708 -3.361463)'))) / (select extract(epoch from '2026-08-10 19:58:06'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.00709 -3.361461)', '2026-08-10 19:58:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00708 -3.361463)'), GeomFromEWKT('SRID=4674;POINT (-39.00709 -3.361461)'))) / (select extract(epoch from '2026-08-10 19:58:08'::timestamp) - extract(epoch from '2026-08-10 19:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00708 -3.361463)'), GeomFromEWKT('SRID=4674;POINT (-39.00709 -3.361461)'))) / (select extract(epoch from '2026-08-10 19:58:08'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.007097 -3.361451)', '2026-08-10 19:58:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00709 -3.361461)'), GeomFromEWKT('SRID=4674;POINT (-39.007097 -3.361451)'))) / (select extract(epoch from '2026-08-10 19:58:10'::timestamp) - extract(epoch from '2026-08-10 19:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00709 -3.361461)'), GeomFromEWKT('SRID=4674;POINT (-39.007097 -3.361451)'))) / (select extract(epoch from '2026-08-10 19:58:10'::timestamp) - extract(epoch from '2026-08-10 19:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007099 -3.361433)', '2026-08-10 19:58:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007097 -3.361451)'), GeomFromEWKT('SRID=4674;POINT (-39.007099 -3.361433)'))) / (select extract(epoch from '2026-08-10 19:58:15'::timestamp) - extract(epoch from '2026-08-10 19:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007097 -3.361451)'), GeomFromEWKT('SRID=4674;POINT (-39.007099 -3.361433)'))) / (select extract(epoch from '2026-08-10 19:58:15'::timestamp) - extract(epoch from '2026-08-10 19:58: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'), 48138, 'SRID=4674;POINT (-39.007102 -3.361403)', '2026-08-10 19:58:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007099 -3.361433)'), GeomFromEWKT('SRID=4674;POINT (-39.007102 -3.361403)'))) / (select extract(epoch from '2026-08-10 19:58:23'::timestamp) - extract(epoch from '2026-08-10 19:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007099 -3.361433)'), GeomFromEWKT('SRID=4674;POINT (-39.007102 -3.361403)'))) / (select extract(epoch from '2026-08-10 19:58:23'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.007103 -3.361368)', '2026-08-10 19:58:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007102 -3.361403)'), GeomFromEWKT('SRID=4674;POINT (-39.007103 -3.361368)'))) / (select extract(epoch from '2026-08-10 19:58:32'::timestamp) - extract(epoch from '2026-08-10 19:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007102 -3.361403)'), GeomFromEWKT('SRID=4674;POINT (-39.007103 -3.361368)'))) / (select extract(epoch from '2026-08-10 19:58:32'::timestamp) - extract(epoch from '2026-08-10 19:58:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007089 -3.361342)', '2026-08-10 19:58:39', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007103 -3.361368)'), GeomFromEWKT('SRID=4674;POINT (-39.007089 -3.361342)'))) / (select extract(epoch from '2026-08-10 19:58:39'::timestamp) - extract(epoch from '2026-08-10 19:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007103 -3.361368)'), GeomFromEWKT('SRID=4674;POINT (-39.007089 -3.361342)'))) / (select extract(epoch from '2026-08-10 19:58:39'::timestamp) - extract(epoch from '2026-08-10 19:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007058 -3.361316)', '2026-08-10 19:58:46', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007089 -3.361342)'), GeomFromEWKT('SRID=4674;POINT (-39.007058 -3.361316)'))) / (select extract(epoch from '2026-08-10 19:58:46'::timestamp) - extract(epoch from '2026-08-10 19:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007089 -3.361342)'), GeomFromEWKT('SRID=4674;POINT (-39.007058 -3.361316)'))) / (select extract(epoch from '2026-08-10 19:58:46'::timestamp) - extract(epoch from '2026-08-10 19:58:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007037 -3.361275)', '2026-08-10 19:58:56', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007058 -3.361316)'), GeomFromEWKT('SRID=4674;POINT (-39.007037 -3.361275)'))) / (select extract(epoch from '2026-08-10 19:58:56'::timestamp) - extract(epoch from '2026-08-10 19:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007058 -3.361316)'), GeomFromEWKT('SRID=4674;POINT (-39.007037 -3.361275)'))) / (select extract(epoch from '2026-08-10 19:58:56'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.00702 -3.361244)', '2026-08-10 19:59:03', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007037 -3.361275)'), GeomFromEWKT('SRID=4674;POINT (-39.00702 -3.361244)'))) / (select extract(epoch from '2026-08-10 19:59:03'::timestamp) - extract(epoch from '2026-08-10 19:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007037 -3.361275)'), GeomFromEWKT('SRID=4674;POINT (-39.00702 -3.361244)'))) / (select extract(epoch from '2026-08-10 19:59:03'::timestamp) - extract(epoch from '2026-08-10 19:58:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007003 -3.361239)', '2026-08-10 19:59:06', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00702 -3.361244)'), GeomFromEWKT('SRID=4674;POINT (-39.007003 -3.361239)'))) / (select extract(epoch from '2026-08-10 19:59:06'::timestamp) - extract(epoch from '2026-08-10 19:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00702 -3.361244)'), GeomFromEWKT('SRID=4674;POINT (-39.007003 -3.361239)'))) / (select extract(epoch from '2026-08-10 19:59:06'::timestamp) - extract(epoch from '2026-08-10 19:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006986 -3.361235)', '2026-08-10 19:59:10', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007003 -3.361239)'), GeomFromEWKT('SRID=4674;POINT (-39.006986 -3.361235)'))) / (select extract(epoch from '2026-08-10 19:59:10'::timestamp) - extract(epoch from '2026-08-10 19:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007003 -3.361239)'), GeomFromEWKT('SRID=4674;POINT (-39.006986 -3.361235)'))) / (select extract(epoch from '2026-08-10 19:59:10'::timestamp) - extract(epoch from '2026-08-10 19:59:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006971 -3.361256)', '2026-08-10 19:59:15', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006986 -3.361235)'), GeomFromEWKT('SRID=4674;POINT (-39.006971 -3.361256)'))) / (select extract(epoch from '2026-08-10 19:59:15'::timestamp) - extract(epoch from '2026-08-10 19:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006986 -3.361235)'), GeomFromEWKT('SRID=4674;POINT (-39.006971 -3.361256)'))) / (select extract(epoch from '2026-08-10 19:59:15'::timestamp) - extract(epoch from '2026-08-10 19:59:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006963 -3.361274)', '2026-08-10 19:59:17', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006971 -3.361256)'), GeomFromEWKT('SRID=4674;POINT (-39.006963 -3.361274)'))) / (select extract(epoch from '2026-08-10 19:59:17'::timestamp) - extract(epoch from '2026-08-10 19:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006971 -3.361256)'), GeomFromEWKT('SRID=4674;POINT (-39.006963 -3.361274)'))) / (select extract(epoch from '2026-08-10 19:59:17'::timestamp) - extract(epoch from '2026-08-10 19:59: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'), 48138, 'SRID=4674;POINT (-39.006966 -3.361292)', '2026-08-10 19:59:19', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006963 -3.361274)'), GeomFromEWKT('SRID=4674;POINT (-39.006966 -3.361292)'))) / (select extract(epoch from '2026-08-10 19:59:19'::timestamp) - extract(epoch from '2026-08-10 19:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006963 -3.361274)'), GeomFromEWKT('SRID=4674;POINT (-39.006966 -3.361292)'))) / (select extract(epoch from '2026-08-10 19:59:19'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.006966 -3.361307)', '2026-08-10 19:59:21', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006966 -3.361292)'), GeomFromEWKT('SRID=4674;POINT (-39.006966 -3.361307)'))) / (select extract(epoch from '2026-08-10 19:59:21'::timestamp) - extract(epoch from '2026-08-10 19:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006966 -3.361292)'), GeomFromEWKT('SRID=4674;POINT (-39.006966 -3.361307)'))) / (select extract(epoch from '2026-08-10 19:59:21'::timestamp) - extract(epoch from '2026-08-10 19:59: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'), 48138, 'SRID=4674;POINT (-39.006967 -3.361321)', '2026-08-10 19:59:22', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006966 -3.361307)'), GeomFromEWKT('SRID=4674;POINT (-39.006967 -3.361321)'))) / (select extract(epoch from '2026-08-10 19:59:22'::timestamp) - extract(epoch from '2026-08-10 19:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006966 -3.361307)'), GeomFromEWKT('SRID=4674;POINT (-39.006967 -3.361321)'))) / (select extract(epoch from '2026-08-10 19:59:22'::timestamp) - extract(epoch from '2026-08-10 19:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006987 -3.361364)', '2026-08-10 19:59:25', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006967 -3.361321)'), GeomFromEWKT('SRID=4674;POINT (-39.006987 -3.361364)'))) / (select extract(epoch from '2026-08-10 19:59:25'::timestamp) - extract(epoch from '2026-08-10 19:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006967 -3.361321)'), GeomFromEWKT('SRID=4674;POINT (-39.006987 -3.361364)'))) / (select extract(epoch from '2026-08-10 19:59:25'::timestamp) - extract(epoch from '2026-08-10 19:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007023 -3.361447)', '2026-08-10 19:59:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006987 -3.361364)'), GeomFromEWKT('SRID=4674;POINT (-39.007023 -3.361447)'))) / (select extract(epoch from '2026-08-10 19:59:30'::timestamp) - extract(epoch from '2026-08-10 19:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006987 -3.361364)'), GeomFromEWKT('SRID=4674;POINT (-39.007023 -3.361447)'))) / (select extract(epoch from '2026-08-10 19:59:30'::timestamp) - extract(epoch from '2026-08-10 19:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007035 -3.361469)', '2026-08-10 19:59:32', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007023 -3.361447)'), GeomFromEWKT('SRID=4674;POINT (-39.007035 -3.361469)'))) / (select extract(epoch from '2026-08-10 19:59:32'::timestamp) - extract(epoch from '2026-08-10 19:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007023 -3.361447)'), GeomFromEWKT('SRID=4674;POINT (-39.007035 -3.361469)'))) / (select extract(epoch from '2026-08-10 19:59:32'::timestamp) - extract(epoch from '2026-08-10 19:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007062 -3.361502)', '2026-08-10 19:59:34', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007035 -3.361469)'), GeomFromEWKT('SRID=4674;POINT (-39.007062 -3.361502)'))) / (select extract(epoch from '2026-08-10 19:59:34'::timestamp) - extract(epoch from '2026-08-10 19:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007035 -3.361469)'), GeomFromEWKT('SRID=4674;POINT (-39.007062 -3.361502)'))) / (select extract(epoch from '2026-08-10 19:59:34'::timestamp) - extract(epoch from '2026-08-10 19:59: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'), 48138, 'SRID=4674;POINT (-39.007115 -3.361591)', '2026-08-10 19:59:40', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007062 -3.361502)'), GeomFromEWKT('SRID=4674;POINT (-39.007115 -3.361591)'))) / (select extract(epoch from '2026-08-10 19:59:40'::timestamp) - extract(epoch from '2026-08-10 19:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007062 -3.361502)'), GeomFromEWKT('SRID=4674;POINT (-39.007115 -3.361591)'))) / (select extract(epoch from '2026-08-10 19:59:40'::timestamp) - extract(epoch from '2026-08-10 19:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007182 -3.361685)', '2026-08-10 19:59:46', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007115 -3.361591)'), GeomFromEWKT('SRID=4674;POINT (-39.007182 -3.361685)'))) / (select extract(epoch from '2026-08-10 19:59:46'::timestamp) - extract(epoch from '2026-08-10 19:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007115 -3.361591)'), GeomFromEWKT('SRID=4674;POINT (-39.007182 -3.361685)'))) / (select extract(epoch from '2026-08-10 19:59:46'::timestamp) - extract(epoch from '2026-08-10 19:59: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'), 48138, 'SRID=4674;POINT (-39.007247 -3.361771)', '2026-08-10 19:59:52', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007182 -3.361685)'), GeomFromEWKT('SRID=4674;POINT (-39.007247 -3.361771)'))) / (select extract(epoch from '2026-08-10 19:59:52'::timestamp) - extract(epoch from '2026-08-10 19:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007182 -3.361685)'), GeomFromEWKT('SRID=4674;POINT (-39.007247 -3.361771)'))) / (select extract(epoch from '2026-08-10 19:59:52'::timestamp) - extract(epoch from '2026-08-10 19:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007287 -3.361873)', '2026-08-10 19:59:58', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007247 -3.361771)'), GeomFromEWKT('SRID=4674;POINT (-39.007287 -3.361873)'))) / (select extract(epoch from '2026-08-10 19:59:58'::timestamp) - extract(epoch from '2026-08-10 19:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007247 -3.361771)'), GeomFromEWKT('SRID=4674;POINT (-39.007287 -3.361873)'))) / (select extract(epoch from '2026-08-10 19:59:58'::timestamp) - extract(epoch from '2026-08-10 19:59: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'), 48138, 'SRID=4674;POINT (-39.007318 -3.361967)', '2026-08-10 20:00:04', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007287 -3.361873)'), GeomFromEWKT('SRID=4674;POINT (-39.007318 -3.361967)'))) / (select extract(epoch from '2026-08-10 20:00:04'::timestamp) - extract(epoch from '2026-08-10 19:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007287 -3.361873)'), GeomFromEWKT('SRID=4674;POINT (-39.007318 -3.361967)'))) / (select extract(epoch from '2026-08-10 20:00:04'::timestamp) - extract(epoch from '2026-08-10 19:59: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'), 48138, 'SRID=4674;POINT (-39.007355 -3.362087)', '2026-08-10 20:00:10', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007318 -3.361967)'), GeomFromEWKT('SRID=4674;POINT (-39.007355 -3.362087)'))) / (select extract(epoch from '2026-08-10 20:00:10'::timestamp) - extract(epoch from '2026-08-10 20:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007318 -3.361967)'), GeomFromEWKT('SRID=4674;POINT (-39.007355 -3.362087)'))) / (select extract(epoch from '2026-08-10 20:00:10'::timestamp) - extract(epoch from '2026-08-10 20:00: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'), 48138, 'SRID=4674;POINT (-39.007367 -3.362187)', '2026-08-10 20:00:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007355 -3.362087)'), GeomFromEWKT('SRID=4674;POINT (-39.007367 -3.362187)'))) / (select extract(epoch from '2026-08-10 20:00:15'::timestamp) - extract(epoch from '2026-08-10 20:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007355 -3.362087)'), GeomFromEWKT('SRID=4674;POINT (-39.007367 -3.362187)'))) / (select extract(epoch from '2026-08-10 20:00:15'::timestamp) - extract(epoch from '2026-08-10 20:00: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'), 48138, 'SRID=4674;POINT (-39.007387 -3.362301)', '2026-08-10 20:00:21', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007367 -3.362187)'), GeomFromEWKT('SRID=4674;POINT (-39.007387 -3.362301)'))) / (select extract(epoch from '2026-08-10 20:00:21'::timestamp) - extract(epoch from '2026-08-10 20:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007367 -3.362187)'), GeomFromEWKT('SRID=4674;POINT (-39.007387 -3.362301)'))) / (select extract(epoch from '2026-08-10 20:00:21'::timestamp) - extract(epoch from '2026-08-10 20:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007436 -3.362417)', '2026-08-10 20:00:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007387 -3.362301)'), GeomFromEWKT('SRID=4674;POINT (-39.007436 -3.362417)'))) / (select extract(epoch from '2026-08-10 20:00:27'::timestamp) - extract(epoch from '2026-08-10 20:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007387 -3.362301)'), GeomFromEWKT('SRID=4674;POINT (-39.007436 -3.362417)'))) / (select extract(epoch from '2026-08-10 20:00:27'::timestamp) - extract(epoch from '2026-08-10 20:00: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'), 48138, 'SRID=4674;POINT (-39.00748 -3.362514)', '2026-08-10 20:00:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007436 -3.362417)'), GeomFromEWKT('SRID=4674;POINT (-39.00748 -3.362514)'))) / (select extract(epoch from '2026-08-10 20:00:32'::timestamp) - extract(epoch from '2026-08-10 20:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007436 -3.362417)'), GeomFromEWKT('SRID=4674;POINT (-39.00748 -3.362514)'))) / (select extract(epoch from '2026-08-10 20:00:32'::timestamp) - extract(epoch from '2026-08-10 20:00: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'), 48138, 'SRID=4674;POINT (-39.007546 -3.362629)', '2026-08-10 20:00:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00748 -3.362514)'), GeomFromEWKT('SRID=4674;POINT (-39.007546 -3.362629)'))) / (select extract(epoch from '2026-08-10 20:00:38'::timestamp) - extract(epoch from '2026-08-10 20:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00748 -3.362514)'), GeomFromEWKT('SRID=4674;POINT (-39.007546 -3.362629)'))) / (select extract(epoch from '2026-08-10 20:00:38'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.007616 -3.362742)', '2026-08-10 20:00:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007546 -3.362629)'), GeomFromEWKT('SRID=4674;POINT (-39.007616 -3.362742)'))) / (select extract(epoch from '2026-08-10 20:00:44'::timestamp) - extract(epoch from '2026-08-10 20:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007546 -3.362629)'), GeomFromEWKT('SRID=4674;POINT (-39.007616 -3.362742)'))) / (select extract(epoch from '2026-08-10 20:00:44'::timestamp) - extract(epoch from '2026-08-10 20:00: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'), 48138, 'SRID=4674;POINT (-39.007684 -3.362842)', '2026-08-10 20:00:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007616 -3.362742)'), GeomFromEWKT('SRID=4674;POINT (-39.007684 -3.362842)'))) / (select extract(epoch from '2026-08-10 20:00:49'::timestamp) - extract(epoch from '2026-08-10 20:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007616 -3.362742)'), GeomFromEWKT('SRID=4674;POINT (-39.007684 -3.362842)'))) / (select extract(epoch from '2026-08-10 20:00:49'::timestamp) - extract(epoch from '2026-08-10 20:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007741 -3.362937)', '2026-08-10 20:00:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007684 -3.362842)'), GeomFromEWKT('SRID=4674;POINT (-39.007741 -3.362937)'))) / (select extract(epoch from '2026-08-10 20:00:54'::timestamp) - extract(epoch from '2026-08-10 20:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007684 -3.362842)'), GeomFromEWKT('SRID=4674;POINT (-39.007741 -3.362937)'))) / (select extract(epoch from '2026-08-10 20:00:54'::timestamp) - extract(epoch from '2026-08-10 20:00: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'), 48138, 'SRID=4674;POINT (-39.007789 -3.36308)', '2026-08-10 20:01:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007741 -3.362937)'), GeomFromEWKT('SRID=4674;POINT (-39.007789 -3.36308)'))) / (select extract(epoch from '2026-08-10 20:01:01'::timestamp) - extract(epoch from '2026-08-10 20:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007741 -3.362937)'), GeomFromEWKT('SRID=4674;POINT (-39.007789 -3.36308)'))) / (select extract(epoch from '2026-08-10 20:01:01'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.007816 -3.363204)', '2026-08-10 20:01:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007789 -3.36308)'), GeomFromEWKT('SRID=4674;POINT (-39.007816 -3.363204)'))) / (select extract(epoch from '2026-08-10 20:01:07'::timestamp) - extract(epoch from '2026-08-10 20:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007789 -3.36308)'), GeomFromEWKT('SRID=4674;POINT (-39.007816 -3.363204)'))) / (select extract(epoch from '2026-08-10 20:01:07'::timestamp) - extract(epoch from '2026-08-10 20:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007822 -3.363222)', '2026-08-10 20:01:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007816 -3.363204)'), GeomFromEWKT('SRID=4674;POINT (-39.007822 -3.363222)'))) / (select extract(epoch from '2026-08-10 20:01:08'::timestamp) - extract(epoch from '2026-08-10 20:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007816 -3.363204)'), GeomFromEWKT('SRID=4674;POINT (-39.007822 -3.363222)'))) / (select extract(epoch from '2026-08-10 20:01:08'::timestamp) - extract(epoch from '2026-08-10 20:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007858 -3.363279)', '2026-08-10 20:01:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007822 -3.363222)'), GeomFromEWKT('SRID=4674;POINT (-39.007858 -3.363279)'))) / (select extract(epoch from '2026-08-10 20:01:11'::timestamp) - extract(epoch from '2026-08-10 20:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007822 -3.363222)'), GeomFromEWKT('SRID=4674;POINT (-39.007858 -3.363279)'))) / (select extract(epoch from '2026-08-10 20:01:11'::timestamp) - extract(epoch from '2026-08-10 20:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007927 -3.363403)', '2026-08-10 20:01:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007858 -3.363279)'), GeomFromEWKT('SRID=4674;POINT (-39.007927 -3.363403)'))) / (select extract(epoch from '2026-08-10 20:01:17'::timestamp) - extract(epoch from '2026-08-10 20:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007858 -3.363279)'), GeomFromEWKT('SRID=4674;POINT (-39.007927 -3.363403)'))) / (select extract(epoch from '2026-08-10 20:01:17'::timestamp) - extract(epoch from '2026-08-10 20:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007967 -3.363478)', '2026-08-10 20:01:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007927 -3.363403)'), GeomFromEWKT('SRID=4674;POINT (-39.007967 -3.363478)'))) / (select extract(epoch from '2026-08-10 20:01:21'::timestamp) - extract(epoch from '2026-08-10 20:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007927 -3.363403)'), GeomFromEWKT('SRID=4674;POINT (-39.007967 -3.363478)'))) / (select extract(epoch from '2026-08-10 20:01:21'::timestamp) - extract(epoch from '2026-08-10 20:01:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008031 -3.363558)', '2026-08-10 20:01:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007967 -3.363478)'), GeomFromEWKT('SRID=4674;POINT (-39.008031 -3.363558)'))) / (select extract(epoch from '2026-08-10 20:01:26'::timestamp) - extract(epoch from '2026-08-10 20:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007967 -3.363478)'), GeomFromEWKT('SRID=4674;POINT (-39.008031 -3.363558)'))) / (select extract(epoch from '2026-08-10 20:01:26'::timestamp) - extract(epoch from '2026-08-10 20:01: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'), 48138, 'SRID=4674;POINT (-39.00811 -3.363651)', '2026-08-10 20:01:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008031 -3.363558)'), GeomFromEWKT('SRID=4674;POINT (-39.00811 -3.363651)'))) / (select extract(epoch from '2026-08-10 20:01:31'::timestamp) - extract(epoch from '2026-08-10 20:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008031 -3.363558)'), GeomFromEWKT('SRID=4674;POINT (-39.00811 -3.363651)'))) / (select extract(epoch from '2026-08-10 20:01:31'::timestamp) - extract(epoch from '2026-08-10 20:01: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'), 48138, 'SRID=4674;POINT (-39.008202 -3.363777)', '2026-08-10 20:01:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00811 -3.363651)'), GeomFromEWKT('SRID=4674;POINT (-39.008202 -3.363777)'))) / (select extract(epoch from '2026-08-10 20:01:38'::timestamp) - extract(epoch from '2026-08-10 20:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00811 -3.363651)'), GeomFromEWKT('SRID=4674;POINT (-39.008202 -3.363777)'))) / (select extract(epoch from '2026-08-10 20:01:38'::timestamp) - extract(epoch from '2026-08-10 20:01: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'), 48138, 'SRID=4674;POINT (-39.008278 -3.363892)', '2026-08-10 20:01:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008202 -3.363777)'), GeomFromEWKT('SRID=4674;POINT (-39.008278 -3.363892)'))) / (select extract(epoch from '2026-08-10 20:01:44'::timestamp) - extract(epoch from '2026-08-10 20:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008202 -3.363777)'), GeomFromEWKT('SRID=4674;POINT (-39.008278 -3.363892)'))) / (select extract(epoch from '2026-08-10 20:01:44'::timestamp) - extract(epoch from '2026-08-10 20:01: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'), 48138, 'SRID=4674;POINT (-39.008359 -3.364001)', '2026-08-10 20:01:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008278 -3.363892)'), GeomFromEWKT('SRID=4674;POINT (-39.008359 -3.364001)'))) / (select extract(epoch from '2026-08-10 20:01:50'::timestamp) - extract(epoch from '2026-08-10 20:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008278 -3.363892)'), GeomFromEWKT('SRID=4674;POINT (-39.008359 -3.364001)'))) / (select extract(epoch from '2026-08-10 20:01:50'::timestamp) - extract(epoch from '2026-08-10 20:01: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'), 48138, 'SRID=4674;POINT (-39.008433 -3.364114)', '2026-08-10 20:01:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008359 -3.364001)'), GeomFromEWKT('SRID=4674;POINT (-39.008433 -3.364114)'))) / (select extract(epoch from '2026-08-10 20:01:56'::timestamp) - extract(epoch from '2026-08-10 20:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008359 -3.364001)'), GeomFromEWKT('SRID=4674;POINT (-39.008433 -3.364114)'))) / (select extract(epoch from '2026-08-10 20:01:56'::timestamp) - extract(epoch from '2026-08-10 20:01: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'), 48138, 'SRID=4674;POINT (-39.008496 -3.364205)', '2026-08-10 20:02:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008433 -3.364114)'), GeomFromEWKT('SRID=4674;POINT (-39.008496 -3.364205)'))) / (select extract(epoch from '2026-08-10 20:02:01'::timestamp) - extract(epoch from '2026-08-10 20:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008433 -3.364114)'), GeomFromEWKT('SRID=4674;POINT (-39.008496 -3.364205)'))) / (select extract(epoch from '2026-08-10 20:02:01'::timestamp) - extract(epoch from '2026-08-10 20:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008563 -3.364284)', '2026-08-10 20:02:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008496 -3.364205)'), GeomFromEWKT('SRID=4674;POINT (-39.008563 -3.364284)'))) / (select extract(epoch from '2026-08-10 20:02:06'::timestamp) - extract(epoch from '2026-08-10 20:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008496 -3.364205)'), GeomFromEWKT('SRID=4674;POINT (-39.008563 -3.364284)'))) / (select extract(epoch from '2026-08-10 20:02:06'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.008654 -3.364407)', '2026-08-10 20:02:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008563 -3.364284)'), GeomFromEWKT('SRID=4674;POINT (-39.008654 -3.364407)'))) / (select extract(epoch from '2026-08-10 20:02:13'::timestamp) - extract(epoch from '2026-08-10 20:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008563 -3.364284)'), GeomFromEWKT('SRID=4674;POINT (-39.008654 -3.364407)'))) / (select extract(epoch from '2026-08-10 20:02:13'::timestamp) - extract(epoch from '2026-08-10 20:02: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'), 48138, 'SRID=4674;POINT (-39.008703 -3.364489)', '2026-08-10 20:02:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008654 -3.364407)'), GeomFromEWKT('SRID=4674;POINT (-39.008703 -3.364489)'))) / (select extract(epoch from '2026-08-10 20:02:17'::timestamp) - extract(epoch from '2026-08-10 20:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008654 -3.364407)'), GeomFromEWKT('SRID=4674;POINT (-39.008703 -3.364489)'))) / (select extract(epoch from '2026-08-10 20:02:17'::timestamp) - extract(epoch from '2026-08-10 20:02: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'), 48138, 'SRID=4674;POINT (-39.00877 -3.36458)', '2026-08-10 20:02:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008703 -3.364489)'), GeomFromEWKT('SRID=4674;POINT (-39.00877 -3.36458)'))) / (select extract(epoch from '2026-08-10 20:02:22'::timestamp) - extract(epoch from '2026-08-10 20:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008703 -3.364489)'), GeomFromEWKT('SRID=4674;POINT (-39.00877 -3.36458)'))) / (select extract(epoch from '2026-08-10 20:02:22'::timestamp) - extract(epoch from '2026-08-10 20:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008841 -3.364689)', '2026-08-10 20:02:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00877 -3.36458)'), GeomFromEWKT('SRID=4674;POINT (-39.008841 -3.364689)'))) / (select extract(epoch from '2026-08-10 20:02:28'::timestamp) - extract(epoch from '2026-08-10 20:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00877 -3.36458)'), GeomFromEWKT('SRID=4674;POINT (-39.008841 -3.364689)'))) / (select extract(epoch from '2026-08-10 20:02:28'::timestamp) - extract(epoch from '2026-08-10 20:02:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008899 -3.364793)', '2026-08-10 20:02:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008841 -3.364689)'), GeomFromEWKT('SRID=4674;POINT (-39.008899 -3.364793)'))) / (select extract(epoch from '2026-08-10 20:02:34'::timestamp) - extract(epoch from '2026-08-10 20:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008841 -3.364689)'), GeomFromEWKT('SRID=4674;POINT (-39.008899 -3.364793)'))) / (select extract(epoch from '2026-08-10 20:02:34'::timestamp) - extract(epoch from '2026-08-10 20:02: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'), 48138, 'SRID=4674;POINT (-39.008977 -3.364917)', '2026-08-10 20:02:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008899 -3.364793)'), GeomFromEWKT('SRID=4674;POINT (-39.008977 -3.364917)'))) / (select extract(epoch from '2026-08-10 20:02:40'::timestamp) - extract(epoch from '2026-08-10 20:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008899 -3.364793)'), GeomFromEWKT('SRID=4674;POINT (-39.008977 -3.364917)'))) / (select extract(epoch from '2026-08-10 20:02:40'::timestamp) - extract(epoch from '2026-08-10 20:02: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'), 48138, 'SRID=4674;POINT (-39.009036 -3.36501)', '2026-08-10 20:02:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008977 -3.364917)'), GeomFromEWKT('SRID=4674;POINT (-39.009036 -3.36501)'))) / (select extract(epoch from '2026-08-10 20:02:45'::timestamp) - extract(epoch from '2026-08-10 20:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008977 -3.364917)'), GeomFromEWKT('SRID=4674;POINT (-39.009036 -3.36501)'))) / (select extract(epoch from '2026-08-10 20:02:45'::timestamp) - extract(epoch from '2026-08-10 20:02: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'), 48138, 'SRID=4674;POINT (-39.009091 -3.365102)', '2026-08-10 20:02:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009036 -3.36501)'), GeomFromEWKT('SRID=4674;POINT (-39.009091 -3.365102)'))) / (select extract(epoch from '2026-08-10 20:02:50'::timestamp) - extract(epoch from '2026-08-10 20:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009036 -3.36501)'), GeomFromEWKT('SRID=4674;POINT (-39.009091 -3.365102)'))) / (select extract(epoch from '2026-08-10 20:02:50'::timestamp) - extract(epoch from '2026-08-10 20:02: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'), 48138, 'SRID=4674;POINT (-39.009159 -3.365204)', '2026-08-10 20:02:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009091 -3.365102)'), GeomFromEWKT('SRID=4674;POINT (-39.009159 -3.365204)'))) / (select extract(epoch from '2026-08-10 20:02:55'::timestamp) - extract(epoch from '2026-08-10 20:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009091 -3.365102)'), GeomFromEWKT('SRID=4674;POINT (-39.009159 -3.365204)'))) / (select extract(epoch from '2026-08-10 20:02:55'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.00923 -3.365314)', '2026-08-10 20:03:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009159 -3.365204)'), GeomFromEWKT('SRID=4674;POINT (-39.00923 -3.365314)'))) / (select extract(epoch from '2026-08-10 20:03:01'::timestamp) - extract(epoch from '2026-08-10 20:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009159 -3.365204)'), GeomFromEWKT('SRID=4674;POINT (-39.00923 -3.365314)'))) / (select extract(epoch from '2026-08-10 20:03:01'::timestamp) - extract(epoch from '2026-08-10 20:02: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'), 48138, 'SRID=4674;POINT (-39.009288 -3.365414)', '2026-08-10 20:03:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00923 -3.365314)'), GeomFromEWKT('SRID=4674;POINT (-39.009288 -3.365414)'))) / (select extract(epoch from '2026-08-10 20:03:06'::timestamp) - extract(epoch from '2026-08-10 20:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00923 -3.365314)'), GeomFromEWKT('SRID=4674;POINT (-39.009288 -3.365414)'))) / (select extract(epoch from '2026-08-10 20:03:06'::timestamp) - extract(epoch from '2026-08-10 20:03: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'), 48138, 'SRID=4674;POINT (-39.009361 -3.365542)', '2026-08-10 20:03:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009288 -3.365414)'), GeomFromEWKT('SRID=4674;POINT (-39.009361 -3.365542)'))) / (select extract(epoch from '2026-08-10 20:03:13'::timestamp) - extract(epoch from '2026-08-10 20:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009288 -3.365414)'), GeomFromEWKT('SRID=4674;POINT (-39.009361 -3.365542)'))) / (select extract(epoch from '2026-08-10 20:03:13'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.009405 -3.365645)', '2026-08-10 20:03:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009361 -3.365542)'), GeomFromEWKT('SRID=4674;POINT (-39.009405 -3.365645)'))) / (select extract(epoch from '2026-08-10 20:03:18'::timestamp) - extract(epoch from '2026-08-10 20:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009361 -3.365542)'), GeomFromEWKT('SRID=4674;POINT (-39.009405 -3.365645)'))) / (select extract(epoch from '2026-08-10 20:03:18'::timestamp) - extract(epoch from '2026-08-10 20:03: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'), 48138, 'SRID=4674;POINT (-39.009462 -3.365765)', '2026-08-10 20:03:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009405 -3.365645)'), GeomFromEWKT('SRID=4674;POINT (-39.009462 -3.365765)'))) / (select extract(epoch from '2026-08-10 20:03:24'::timestamp) - extract(epoch from '2026-08-10 20:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009405 -3.365645)'), GeomFromEWKT('SRID=4674;POINT (-39.009462 -3.365765)'))) / (select extract(epoch from '2026-08-10 20:03:24'::timestamp) - extract(epoch from '2026-08-10 20:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009537 -3.365889)', '2026-08-10 20:03:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009462 -3.365765)'), GeomFromEWKT('SRID=4674;POINT (-39.009537 -3.365889)'))) / (select extract(epoch from '2026-08-10 20:03:30'::timestamp) - extract(epoch from '2026-08-10 20:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009462 -3.365765)'), GeomFromEWKT('SRID=4674;POINT (-39.009537 -3.365889)'))) / (select extract(epoch from '2026-08-10 20:03:30'::timestamp) - extract(epoch from '2026-08-10 20:03: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'), 48138, 'SRID=4674;POINT (-39.00961 -3.366002)', '2026-08-10 20:03:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009537 -3.365889)'), GeomFromEWKT('SRID=4674;POINT (-39.00961 -3.366002)'))) / (select extract(epoch from '2026-08-10 20:03:36'::timestamp) - extract(epoch from '2026-08-10 20:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009537 -3.365889)'), GeomFromEWKT('SRID=4674;POINT (-39.00961 -3.366002)'))) / (select extract(epoch from '2026-08-10 20:03:36'::timestamp) - extract(epoch from '2026-08-10 20:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009671 -3.366104)', '2026-08-10 20:03:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00961 -3.366002)'), GeomFromEWKT('SRID=4674;POINT (-39.009671 -3.366104)'))) / (select extract(epoch from '2026-08-10 20:03:42'::timestamp) - extract(epoch from '2026-08-10 20:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00961 -3.366002)'), GeomFromEWKT('SRID=4674;POINT (-39.009671 -3.366104)'))) / (select extract(epoch from '2026-08-10 20:03:42'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.009746 -3.366217)', '2026-08-10 20:03:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009671 -3.366104)'), GeomFromEWKT('SRID=4674;POINT (-39.009746 -3.366217)'))) / (select extract(epoch from '2026-08-10 20:03:48'::timestamp) - extract(epoch from '2026-08-10 20:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009671 -3.366104)'), GeomFromEWKT('SRID=4674;POINT (-39.009746 -3.366217)'))) / (select extract(epoch from '2026-08-10 20:03:48'::timestamp) - extract(epoch from '2026-08-10 20:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009843 -3.366345)', '2026-08-10 20:03:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009746 -3.366217)'), GeomFromEWKT('SRID=4674;POINT (-39.009843 -3.366345)'))) / (select extract(epoch from '2026-08-10 20:03:55'::timestamp) - extract(epoch from '2026-08-10 20:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009746 -3.366217)'), GeomFromEWKT('SRID=4674;POINT (-39.009843 -3.366345)'))) / (select extract(epoch from '2026-08-10 20:03:55'::timestamp) - extract(epoch from '2026-08-10 20:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009918 -3.366456)', '2026-08-10 20:04:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009843 -3.366345)'), GeomFromEWKT('SRID=4674;POINT (-39.009918 -3.366456)'))) / (select extract(epoch from '2026-08-10 20:04:01'::timestamp) - extract(epoch from '2026-08-10 20:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009843 -3.366345)'), GeomFromEWKT('SRID=4674;POINT (-39.009918 -3.366456)'))) / (select extract(epoch from '2026-08-10 20:04:01'::timestamp) - extract(epoch from '2026-08-10 20:03: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'), 48138, 'SRID=4674;POINT (-39.009997 -3.366568)', '2026-08-10 20:04:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009918 -3.366456)'), GeomFromEWKT('SRID=4674;POINT (-39.009997 -3.366568)'))) / (select extract(epoch from '2026-08-10 20:04:07'::timestamp) - extract(epoch from '2026-08-10 20:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009918 -3.366456)'), GeomFromEWKT('SRID=4674;POINT (-39.009997 -3.366568)'))) / (select extract(epoch from '2026-08-10 20:04:07'::timestamp) - extract(epoch from '2026-08-10 20:04: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'), 48138, 'SRID=4674;POINT (-39.010058 -3.366678)', '2026-08-10 20:04:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009997 -3.366568)'), GeomFromEWKT('SRID=4674;POINT (-39.010058 -3.366678)'))) / (select extract(epoch from '2026-08-10 20:04:13'::timestamp) - extract(epoch from '2026-08-10 20:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009997 -3.366568)'), GeomFromEWKT('SRID=4674;POINT (-39.010058 -3.366678)'))) / (select extract(epoch from '2026-08-10 20:04:13'::timestamp) - extract(epoch from '2026-08-10 20:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010121 -3.366772)', '2026-08-10 20:04:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010058 -3.366678)'), GeomFromEWKT('SRID=4674;POINT (-39.010121 -3.366772)'))) / (select extract(epoch from '2026-08-10 20:04:18'::timestamp) - extract(epoch from '2026-08-10 20:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010058 -3.366678)'), GeomFromEWKT('SRID=4674;POINT (-39.010121 -3.366772)'))) / (select extract(epoch from '2026-08-10 20:04:18'::timestamp) - extract(epoch from '2026-08-10 20:04: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'), 48138, 'SRID=4674;POINT (-39.010183 -3.366866)', '2026-08-10 20:04:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010121 -3.366772)'), GeomFromEWKT('SRID=4674;POINT (-39.010183 -3.366866)'))) / (select extract(epoch from '2026-08-10 20:04:23'::timestamp) - extract(epoch from '2026-08-10 20:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010121 -3.366772)'), GeomFromEWKT('SRID=4674;POINT (-39.010183 -3.366866)'))) / (select extract(epoch from '2026-08-10 20:04:23'::timestamp) - extract(epoch from '2026-08-10 20:04:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010231 -3.366958)', '2026-08-10 20:04:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010183 -3.366866)'), GeomFromEWKT('SRID=4674;POINT (-39.010231 -3.366958)'))) / (select extract(epoch from '2026-08-10 20:04:28'::timestamp) - extract(epoch from '2026-08-10 20:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010183 -3.366866)'), GeomFromEWKT('SRID=4674;POINT (-39.010231 -3.366958)'))) / (select extract(epoch from '2026-08-10 20:04:28'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.010286 -3.367063)', '2026-08-10 20:04:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010231 -3.366958)'), GeomFromEWKT('SRID=4674;POINT (-39.010286 -3.367063)'))) / (select extract(epoch from '2026-08-10 20:04:34'::timestamp) - extract(epoch from '2026-08-10 20:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010231 -3.366958)'), GeomFromEWKT('SRID=4674;POINT (-39.010286 -3.367063)'))) / (select extract(epoch from '2026-08-10 20:04:34'::timestamp) - extract(epoch from '2026-08-10 20:04: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'), 48138, 'SRID=4674;POINT (-39.010359 -3.367167)', '2026-08-10 20:04:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010286 -3.367063)'), GeomFromEWKT('SRID=4674;POINT (-39.010359 -3.367167)'))) / (select extract(epoch from '2026-08-10 20:04:39'::timestamp) - extract(epoch from '2026-08-10 20:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010286 -3.367063)'), GeomFromEWKT('SRID=4674;POINT (-39.010359 -3.367167)'))) / (select extract(epoch from '2026-08-10 20:04:39'::timestamp) - extract(epoch from '2026-08-10 20:04: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'), 48138, 'SRID=4674;POINT (-39.010375 -3.367206)', '2026-08-10 20:04:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010359 -3.367167)'), GeomFromEWKT('SRID=4674;POINT (-39.010375 -3.367206)'))) / (select extract(epoch from '2026-08-10 20:04:41'::timestamp) - extract(epoch from '2026-08-10 20:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010359 -3.367167)'), GeomFromEWKT('SRID=4674;POINT (-39.010375 -3.367206)'))) / (select extract(epoch from '2026-08-10 20:04:41'::timestamp) - extract(epoch from '2026-08-10 20:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010407 -3.367243)', '2026-08-10 20:04:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010375 -3.367206)'), GeomFromEWKT('SRID=4674;POINT (-39.010407 -3.367243)'))) / (select extract(epoch from '2026-08-10 20:04:43'::timestamp) - extract(epoch from '2026-08-10 20:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010375 -3.367206)'), GeomFromEWKT('SRID=4674;POINT (-39.010407 -3.367243)'))) / (select extract(epoch from '2026-08-10 20:04:43'::timestamp) - extract(epoch from '2026-08-10 20:04: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'), 48138, 'SRID=4674;POINT (-39.010467 -3.367357)', '2026-08-10 20:04:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010407 -3.367243)'), GeomFromEWKT('SRID=4674;POINT (-39.010467 -3.367357)'))) / (select extract(epoch from '2026-08-10 20:04:49'::timestamp) - extract(epoch from '2026-08-10 20:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010407 -3.367243)'), GeomFromEWKT('SRID=4674;POINT (-39.010467 -3.367357)'))) / (select extract(epoch from '2026-08-10 20:04:49'::timestamp) - extract(epoch from '2026-08-10 20:04: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'), 48138, 'SRID=4674;POINT (-39.010508 -3.367455)', '2026-08-10 20:04:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010467 -3.367357)'), GeomFromEWKT('SRID=4674;POINT (-39.010508 -3.367455)'))) / (select extract(epoch from '2026-08-10 20:04:54'::timestamp) - extract(epoch from '2026-08-10 20:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010467 -3.367357)'), GeomFromEWKT('SRID=4674;POINT (-39.010508 -3.367455)'))) / (select extract(epoch from '2026-08-10 20:04:54'::timestamp) - extract(epoch from '2026-08-10 20:04: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'), 48138, 'SRID=4674;POINT (-39.010566 -3.367571)', '2026-08-10 20:05:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010508 -3.367455)'), GeomFromEWKT('SRID=4674;POINT (-39.010566 -3.367571)'))) / (select extract(epoch from '2026-08-10 20:05:00'::timestamp) - extract(epoch from '2026-08-10 20:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010508 -3.367455)'), GeomFromEWKT('SRID=4674;POINT (-39.010566 -3.367571)'))) / (select extract(epoch from '2026-08-10 20:05:00'::timestamp) - extract(epoch from '2026-08-10 20:04: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'), 48138, 'SRID=4674;POINT (-39.010642 -3.367718)', '2026-08-10 20:05:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010566 -3.367571)'), GeomFromEWKT('SRID=4674;POINT (-39.010642 -3.367718)'))) / (select extract(epoch from '2026-08-10 20:05:07'::timestamp) - extract(epoch from '2026-08-10 20:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010566 -3.367571)'), GeomFromEWKT('SRID=4674;POINT (-39.010642 -3.367718)'))) / (select extract(epoch from '2026-08-10 20:05:07'::timestamp) - extract(epoch from '2026-08-10 20:05: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'), 48138, 'SRID=4674;POINT (-39.010687 -3.367806)', '2026-08-10 20:05:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010642 -3.367718)'), GeomFromEWKT('SRID=4674;POINT (-39.010687 -3.367806)'))) / (select extract(epoch from '2026-08-10 20:05:12'::timestamp) - extract(epoch from '2026-08-10 20:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010642 -3.367718)'), GeomFromEWKT('SRID=4674;POINT (-39.010687 -3.367806)'))) / (select extract(epoch from '2026-08-10 20:05:12'::timestamp) - extract(epoch from '2026-08-10 20:05: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'), 48138, 'SRID=4674;POINT (-39.010753 -3.367913)', '2026-08-10 20:05:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010687 -3.367806)'), GeomFromEWKT('SRID=4674;POINT (-39.010753 -3.367913)'))) / (select extract(epoch from '2026-08-10 20:05:18'::timestamp) - extract(epoch from '2026-08-10 20:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010687 -3.367806)'), GeomFromEWKT('SRID=4674;POINT (-39.010753 -3.367913)'))) / (select extract(epoch from '2026-08-10 20:05:18'::timestamp) - extract(epoch from '2026-08-10 20:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010806 -3.368016)', '2026-08-10 20:05:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010753 -3.367913)'), GeomFromEWKT('SRID=4674;POINT (-39.010806 -3.368016)'))) / (select extract(epoch from '2026-08-10 20:05:23'::timestamp) - extract(epoch from '2026-08-10 20:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010753 -3.367913)'), GeomFromEWKT('SRID=4674;POINT (-39.010806 -3.368016)'))) / (select extract(epoch from '2026-08-10 20:05:23'::timestamp) - extract(epoch from '2026-08-10 20:05: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'), 48138, 'SRID=4674;POINT (-39.010865 -3.368111)', '2026-08-10 20:05:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010806 -3.368016)'), GeomFromEWKT('SRID=4674;POINT (-39.010865 -3.368111)'))) / (select extract(epoch from '2026-08-10 20:05:28'::timestamp) - extract(epoch from '2026-08-10 20:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010806 -3.368016)'), GeomFromEWKT('SRID=4674;POINT (-39.010865 -3.368111)'))) / (select extract(epoch from '2026-08-10 20:05:28'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.010921 -3.368181)', '2026-08-10 20:05:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010865 -3.368111)'), GeomFromEWKT('SRID=4674;POINT (-39.010921 -3.368181)'))) / (select extract(epoch from '2026-08-10 20:05:32'::timestamp) - extract(epoch from '2026-08-10 20:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010865 -3.368111)'), GeomFromEWKT('SRID=4674;POINT (-39.010921 -3.368181)'))) / (select extract(epoch from '2026-08-10 20:05:32'::timestamp) - extract(epoch from '2026-08-10 20:05: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'), 48138, 'SRID=4674;POINT (-39.010926 -3.368198)', '2026-08-10 20:05:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010921 -3.368181)'), GeomFromEWKT('SRID=4674;POINT (-39.010926 -3.368198)'))) / (select extract(epoch from '2026-08-10 20:05:33'::timestamp) - extract(epoch from '2026-08-10 20:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010921 -3.368181)'), GeomFromEWKT('SRID=4674;POINT (-39.010926 -3.368198)'))) / (select extract(epoch from '2026-08-10 20:05:33'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.010984 -3.368296)', '2026-08-10 20:05:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010926 -3.368198)'), GeomFromEWKT('SRID=4674;POINT (-39.010984 -3.368296)'))) / (select extract(epoch from '2026-08-10 20:05:38'::timestamp) - extract(epoch from '2026-08-10 20:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010926 -3.368198)'), GeomFromEWKT('SRID=4674;POINT (-39.010984 -3.368296)'))) / (select extract(epoch from '2026-08-10 20:05:38'::timestamp) - extract(epoch from '2026-08-10 20:05: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'), 48138, 'SRID=4674;POINT (-39.01102 -3.368406)', '2026-08-10 20:05:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010984 -3.368296)'), GeomFromEWKT('SRID=4674;POINT (-39.01102 -3.368406)'))) / (select extract(epoch from '2026-08-10 20:05:43'::timestamp) - extract(epoch from '2026-08-10 20:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010984 -3.368296)'), GeomFromEWKT('SRID=4674;POINT (-39.01102 -3.368406)'))) / (select extract(epoch from '2026-08-10 20:05:43'::timestamp) - extract(epoch from '2026-08-10 20:05:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011038 -3.368482)', '2026-08-10 20:05:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01102 -3.368406)'), GeomFromEWKT('SRID=4674;POINT (-39.011038 -3.368482)'))) / (select extract(epoch from '2026-08-10 20:05:47'::timestamp) - extract(epoch from '2026-08-10 20:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01102 -3.368406)'), GeomFromEWKT('SRID=4674;POINT (-39.011038 -3.368482)'))) / (select extract(epoch from '2026-08-10 20:05:47'::timestamp) - extract(epoch from '2026-08-10 20:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.0111 -3.368594)', '2026-08-10 20:05:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011038 -3.368482)'), GeomFromEWKT('SRID=4674;POINT (-39.0111 -3.368594)'))) / (select extract(epoch from '2026-08-10 20:05:52'::timestamp) - extract(epoch from '2026-08-10 20:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011038 -3.368482)'), GeomFromEWKT('SRID=4674;POINT (-39.0111 -3.368594)'))) / (select extract(epoch from '2026-08-10 20:05:52'::timestamp) - extract(epoch from '2026-08-10 20:05:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011171 -3.368701)', '2026-08-10 20:05:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0111 -3.368594)'), GeomFromEWKT('SRID=4674;POINT (-39.011171 -3.368701)'))) / (select extract(epoch from '2026-08-10 20:05:58'::timestamp) - extract(epoch from '2026-08-10 20:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0111 -3.368594)'), GeomFromEWKT('SRID=4674;POINT (-39.011171 -3.368701)'))) / (select extract(epoch from '2026-08-10 20:05:58'::timestamp) - extract(epoch from '2026-08-10 20:05:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011223 -3.368794)', '2026-08-10 20:06:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011171 -3.368701)'), GeomFromEWKT('SRID=4674;POINT (-39.011223 -3.368794)'))) / (select extract(epoch from '2026-08-10 20:06:03'::timestamp) - extract(epoch from '2026-08-10 20:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011171 -3.368701)'), GeomFromEWKT('SRID=4674;POINT (-39.011223 -3.368794)'))) / (select extract(epoch from '2026-08-10 20:06:03'::timestamp) - extract(epoch from '2026-08-10 20:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011238 -3.368837)', '2026-08-10 20:06:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011223 -3.368794)'), GeomFromEWKT('SRID=4674;POINT (-39.011238 -3.368837)'))) / (select extract(epoch from '2026-08-10 20:06:05'::timestamp) - extract(epoch from '2026-08-10 20:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011223 -3.368794)'), GeomFromEWKT('SRID=4674;POINT (-39.011238 -3.368837)'))) / (select extract(epoch from '2026-08-10 20:06:05'::timestamp) - extract(epoch from '2026-08-10 20:06: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'), 48138, 'SRID=4674;POINT (-39.011277 -3.368881)', '2026-08-10 20:06:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011238 -3.368837)'), GeomFromEWKT('SRID=4674;POINT (-39.011277 -3.368881)'))) / (select extract(epoch from '2026-08-10 20:06:07'::timestamp) - extract(epoch from '2026-08-10 20:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011238 -3.368837)'), GeomFromEWKT('SRID=4674;POINT (-39.011277 -3.368881)'))) / (select extract(epoch from '2026-08-10 20:06:07'::timestamp) - extract(epoch from '2026-08-10 20:06: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'), 48138, 'SRID=4674;POINT (-39.01131 -3.368949)', '2026-08-10 20:06:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011277 -3.368881)'), GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.368949)'))) / (select extract(epoch from '2026-08-10 20:06:11'::timestamp) - extract(epoch from '2026-08-10 20:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011277 -3.368881)'), GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.368949)'))) / (select extract(epoch from '2026-08-10 20:06:11'::timestamp) - extract(epoch from '2026-08-10 20:06:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011347 -3.369021)', '2026-08-10 20:06:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.368949)'), GeomFromEWKT('SRID=4674;POINT (-39.011347 -3.369021)'))) / (select extract(epoch from '2026-08-10 20:06:15'::timestamp) - extract(epoch from '2026-08-10 20:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.368949)'), GeomFromEWKT('SRID=4674;POINT (-39.011347 -3.369021)'))) / (select extract(epoch from '2026-08-10 20:06:15'::timestamp) - extract(epoch from '2026-08-10 20:06: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'), 48138, 'SRID=4674;POINT (-39.011351 -3.369037)', '2026-08-10 20:06:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011347 -3.369021)'), GeomFromEWKT('SRID=4674;POINT (-39.011351 -3.369037)'))) / (select extract(epoch from '2026-08-10 20:06:16'::timestamp) - extract(epoch from '2026-08-10 20:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011347 -3.369021)'), GeomFromEWKT('SRID=4674;POINT (-39.011351 -3.369037)'))) / (select extract(epoch from '2026-08-10 20:06:16'::timestamp) - extract(epoch from '2026-08-10 20:06: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'), 48138, 'SRID=4674;POINT (-39.011375 -3.369099)', '2026-08-10 20:06:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011351 -3.369037)'), GeomFromEWKT('SRID=4674;POINT (-39.011375 -3.369099)'))) / (select extract(epoch from '2026-08-10 20:06:19'::timestamp) - extract(epoch from '2026-08-10 20:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011351 -3.369037)'), GeomFromEWKT('SRID=4674;POINT (-39.011375 -3.369099)'))) / (select extract(epoch from '2026-08-10 20:06:19'::timestamp) - extract(epoch from '2026-08-10 20:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011411 -3.369212)', '2026-08-10 20:06:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011375 -3.369099)'), GeomFromEWKT('SRID=4674;POINT (-39.011411 -3.369212)'))) / (select extract(epoch from '2026-08-10 20:06:25'::timestamp) - extract(epoch from '2026-08-10 20:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011375 -3.369099)'), GeomFromEWKT('SRID=4674;POINT (-39.011411 -3.369212)'))) / (select extract(epoch from '2026-08-10 20:06:25'::timestamp) - extract(epoch from '2026-08-10 20:06: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'), 48138, 'SRID=4674;POINT (-39.011455 -3.369332)', '2026-08-10 20:06:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011411 -3.369212)'), GeomFromEWKT('SRID=4674;POINT (-39.011455 -3.369332)'))) / (select extract(epoch from '2026-08-10 20:06:31'::timestamp) - extract(epoch from '2026-08-10 20:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011411 -3.369212)'), GeomFromEWKT('SRID=4674;POINT (-39.011455 -3.369332)'))) / (select extract(epoch from '2026-08-10 20:06:31'::timestamp) - extract(epoch from '2026-08-10 20:06: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'), 48138, 'SRID=4674;POINT (-39.011503 -3.369429)', '2026-08-10 20:06:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011455 -3.369332)'), GeomFromEWKT('SRID=4674;POINT (-39.011503 -3.369429)'))) / (select extract(epoch from '2026-08-10 20:06:36'::timestamp) - extract(epoch from '2026-08-10 20:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011455 -3.369332)'), GeomFromEWKT('SRID=4674;POINT (-39.011503 -3.369429)'))) / (select extract(epoch from '2026-08-10 20:06:36'::timestamp) - extract(epoch from '2026-08-10 20:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011516 -3.369473)', '2026-08-10 20:06:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011503 -3.369429)'), GeomFromEWKT('SRID=4674;POINT (-39.011516 -3.369473)'))) / (select extract(epoch from '2026-08-10 20:06:38'::timestamp) - extract(epoch from '2026-08-10 20:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011503 -3.369429)'), GeomFromEWKT('SRID=4674;POINT (-39.011516 -3.369473)'))) / (select extract(epoch from '2026-08-10 20:06:38'::timestamp) - extract(epoch from '2026-08-10 20:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011531 -3.369512)', '2026-08-10 20:06:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011516 -3.369473)'), GeomFromEWKT('SRID=4674;POINT (-39.011531 -3.369512)'))) / (select extract(epoch from '2026-08-10 20:06:40'::timestamp) - extract(epoch from '2026-08-10 20:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011516 -3.369473)'), GeomFromEWKT('SRID=4674;POINT (-39.011531 -3.369512)'))) / (select extract(epoch from '2026-08-10 20:06:40'::timestamp) - extract(epoch from '2026-08-10 20:06: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'), 48138, 'SRID=4674;POINT (-39.011587 -3.369612)', '2026-08-10 20:06:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011531 -3.369512)'), GeomFromEWKT('SRID=4674;POINT (-39.011587 -3.369612)'))) / (select extract(epoch from '2026-08-10 20:06:45'::timestamp) - extract(epoch from '2026-08-10 20:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011531 -3.369512)'), GeomFromEWKT('SRID=4674;POINT (-39.011587 -3.369612)'))) / (select extract(epoch from '2026-08-10 20:06:45'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.01166 -3.369722)', '2026-08-10 20:06:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011587 -3.369612)'), GeomFromEWKT('SRID=4674;POINT (-39.01166 -3.369722)'))) / (select extract(epoch from '2026-08-10 20:06:51'::timestamp) - extract(epoch from '2026-08-10 20:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011587 -3.369612)'), GeomFromEWKT('SRID=4674;POINT (-39.01166 -3.369722)'))) / (select extract(epoch from '2026-08-10 20:06:51'::timestamp) - extract(epoch from '2026-08-10 20:06: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'), 48138, 'SRID=4674;POINT (-39.011716 -3.369838)', '2026-08-10 20:06:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01166 -3.369722)'), GeomFromEWKT('SRID=4674;POINT (-39.011716 -3.369838)'))) / (select extract(epoch from '2026-08-10 20:06:56'::timestamp) - extract(epoch from '2026-08-10 20:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01166 -3.369722)'), GeomFromEWKT('SRID=4674;POINT (-39.011716 -3.369838)'))) / (select extract(epoch from '2026-08-10 20:06:56'::timestamp) - extract(epoch from '2026-08-10 20:06: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'), 48138, 'SRID=4674;POINT (-39.011783 -3.369925)', '2026-08-10 20:07:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011716 -3.369838)'), GeomFromEWKT('SRID=4674;POINT (-39.011783 -3.369925)'))) / (select extract(epoch from '2026-08-10 20:07:01'::timestamp) - extract(epoch from '2026-08-10 20:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011716 -3.369838)'), GeomFromEWKT('SRID=4674;POINT (-39.011783 -3.369925)'))) / (select extract(epoch from '2026-08-10 20:07:01'::timestamp) - extract(epoch from '2026-08-10 20:06: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'), 48138, 'SRID=4674;POINT (-39.011797 -3.369959)', '2026-08-10 20:07:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011783 -3.369925)'), GeomFromEWKT('SRID=4674;POINT (-39.011797 -3.369959)'))) / (select extract(epoch from '2026-08-10 20:07:03'::timestamp) - extract(epoch from '2026-08-10 20:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011783 -3.369925)'), GeomFromEWKT('SRID=4674;POINT (-39.011797 -3.369959)'))) / (select extract(epoch from '2026-08-10 20:07:03'::timestamp) - extract(epoch from '2026-08-10 20:07: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'), 48138, 'SRID=4674;POINT (-39.011828 -3.370013)', '2026-08-10 20:07:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011797 -3.369959)'), GeomFromEWKT('SRID=4674;POINT (-39.011828 -3.370013)'))) / (select extract(epoch from '2026-08-10 20:07:06'::timestamp) - extract(epoch from '2026-08-10 20:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011797 -3.369959)'), GeomFromEWKT('SRID=4674;POINT (-39.011828 -3.370013)'))) / (select extract(epoch from '2026-08-10 20:07:06'::timestamp) - extract(epoch from '2026-08-10 20:07:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011871 -3.370138)', '2026-08-10 20:07:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011828 -3.370013)'), GeomFromEWKT('SRID=4674;POINT (-39.011871 -3.370138)'))) / (select extract(epoch from '2026-08-10 20:07:12'::timestamp) - extract(epoch from '2026-08-10 20:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011828 -3.370013)'), GeomFromEWKT('SRID=4674;POINT (-39.011871 -3.370138)'))) / (select extract(epoch from '2026-08-10 20:07:12'::timestamp) - extract(epoch from '2026-08-10 20:07: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'), 48138, 'SRID=4674;POINT (-39.011899 -3.370194)', '2026-08-10 20:07:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011871 -3.370138)'), GeomFromEWKT('SRID=4674;POINT (-39.011899 -3.370194)'))) / (select extract(epoch from '2026-08-10 20:07:15'::timestamp) - extract(epoch from '2026-08-10 20:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011871 -3.370138)'), GeomFromEWKT('SRID=4674;POINT (-39.011899 -3.370194)'))) / (select extract(epoch from '2026-08-10 20:07:15'::timestamp) - extract(epoch from '2026-08-10 20:07:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011923 -3.370249)', '2026-08-10 20:07:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011899 -3.370194)'), GeomFromEWKT('SRID=4674;POINT (-39.011923 -3.370249)'))) / (select extract(epoch from '2026-08-10 20:07:18'::timestamp) - extract(epoch from '2026-08-10 20:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011899 -3.370194)'), GeomFromEWKT('SRID=4674;POINT (-39.011923 -3.370249)'))) / (select extract(epoch from '2026-08-10 20:07:18'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.011974 -3.370368)', '2026-08-10 20:07:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011923 -3.370249)'), GeomFromEWKT('SRID=4674;POINT (-39.011974 -3.370368)'))) / (select extract(epoch from '2026-08-10 20:07:24'::timestamp) - extract(epoch from '2026-08-10 20:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011923 -3.370249)'), GeomFromEWKT('SRID=4674;POINT (-39.011974 -3.370368)'))) / (select extract(epoch from '2026-08-10 20:07:24'::timestamp) - extract(epoch from '2026-08-10 20:07: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'), 48138, 'SRID=4674;POINT (-39.012026 -3.370477)', '2026-08-10 20:07:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011974 -3.370368)'), GeomFromEWKT('SRID=4674;POINT (-39.012026 -3.370477)'))) / (select extract(epoch from '2026-08-10 20:07:29'::timestamp) - extract(epoch from '2026-08-10 20:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011974 -3.370368)'), GeomFromEWKT('SRID=4674;POINT (-39.012026 -3.370477)'))) / (select extract(epoch from '2026-08-10 20:07:29'::timestamp) - extract(epoch from '2026-08-10 20:07: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'), 48138, 'SRID=4674;POINT (-39.012079 -3.370574)', '2026-08-10 20:07:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012026 -3.370477)'), GeomFromEWKT('SRID=4674;POINT (-39.012079 -3.370574)'))) / (select extract(epoch from '2026-08-10 20:07:34'::timestamp) - extract(epoch from '2026-08-10 20:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012026 -3.370477)'), GeomFromEWKT('SRID=4674;POINT (-39.012079 -3.370574)'))) / (select extract(epoch from '2026-08-10 20:07:34'::timestamp) - extract(epoch from '2026-08-10 20:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012122 -3.370661)', '2026-08-10 20:07:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012079 -3.370574)'), GeomFromEWKT('SRID=4674;POINT (-39.012122 -3.370661)'))) / (select extract(epoch from '2026-08-10 20:07:38'::timestamp) - extract(epoch from '2026-08-10 20:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012079 -3.370574)'), GeomFromEWKT('SRID=4674;POINT (-39.012122 -3.370661)'))) / (select extract(epoch from '2026-08-10 20:07:38'::timestamp) - extract(epoch from '2026-08-10 20:07: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'), 48138, 'SRID=4674;POINT (-39.01212 -3.370677)', '2026-08-10 20:07:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012122 -3.370661)'), GeomFromEWKT('SRID=4674;POINT (-39.01212 -3.370677)'))) / (select extract(epoch from '2026-08-10 20:07:39'::timestamp) - extract(epoch from '2026-08-10 20:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012122 -3.370661)'), GeomFromEWKT('SRID=4674;POINT (-39.01212 -3.370677)'))) / (select extract(epoch from '2026-08-10 20:07:39'::timestamp) - extract(epoch from '2026-08-10 20:07: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'), 48138, 'SRID=4674;POINT (-39.012129 -3.370697)', '2026-08-10 20:07:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01212 -3.370677)'), GeomFromEWKT('SRID=4674;POINT (-39.012129 -3.370697)'))) / (select extract(epoch from '2026-08-10 20:07:40'::timestamp) - extract(epoch from '2026-08-10 20:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01212 -3.370677)'), GeomFromEWKT('SRID=4674;POINT (-39.012129 -3.370697)'))) / (select extract(epoch from '2026-08-10 20:07:40'::timestamp) - extract(epoch from '2026-08-10 20:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012171 -3.370759)', '2026-08-10 20:07:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012129 -3.370697)'), GeomFromEWKT('SRID=4674;POINT (-39.012171 -3.370759)'))) / (select extract(epoch from '2026-08-10 20:07:43'::timestamp) - extract(epoch from '2026-08-10 20:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012129 -3.370697)'), GeomFromEWKT('SRID=4674;POINT (-39.012171 -3.370759)'))) / (select extract(epoch from '2026-08-10 20:07:43'::timestamp) - extract(epoch from '2026-08-10 20:07: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'), 48138, 'SRID=4674;POINT (-39.012213 -3.370861)', '2026-08-10 20:07:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012171 -3.370759)'), GeomFromEWKT('SRID=4674;POINT (-39.012213 -3.370861)'))) / (select extract(epoch from '2026-08-10 20:07:49'::timestamp) - extract(epoch from '2026-08-10 20:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012171 -3.370759)'), GeomFromEWKT('SRID=4674;POINT (-39.012213 -3.370861)'))) / (select extract(epoch from '2026-08-10 20:07:49'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.012231 -3.370924)', '2026-08-10 20:07:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012213 -3.370861)'), GeomFromEWKT('SRID=4674;POINT (-39.012231 -3.370924)'))) / (select extract(epoch from '2026-08-10 20:07:52'::timestamp) - extract(epoch from '2026-08-10 20:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012213 -3.370861)'), GeomFromEWKT('SRID=4674;POINT (-39.012231 -3.370924)'))) / (select extract(epoch from '2026-08-10 20:07:52'::timestamp) - extract(epoch from '2026-08-10 20:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012258 -3.370962)', '2026-08-10 20:07:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012231 -3.370924)'), GeomFromEWKT('SRID=4674;POINT (-39.012258 -3.370962)'))) / (select extract(epoch from '2026-08-10 20:07:54'::timestamp) - extract(epoch from '2026-08-10 20:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012231 -3.370924)'), GeomFromEWKT('SRID=4674;POINT (-39.012258 -3.370962)'))) / (select extract(epoch from '2026-08-10 20:07:54'::timestamp) - extract(epoch from '2026-08-10 20:07:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012299 -3.371063)', '2026-08-10 20:07:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012258 -3.370962)'), GeomFromEWKT('SRID=4674;POINT (-39.012299 -3.371063)'))) / (select extract(epoch from '2026-08-10 20:07:59'::timestamp) - extract(epoch from '2026-08-10 20:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012258 -3.370962)'), GeomFromEWKT('SRID=4674;POINT (-39.012299 -3.371063)'))) / (select extract(epoch from '2026-08-10 20:07:59'::timestamp) - extract(epoch from '2026-08-10 20:07:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012342 -3.371169)', '2026-08-10 20:08:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012299 -3.371063)'), GeomFromEWKT('SRID=4674;POINT (-39.012342 -3.371169)'))) / (select extract(epoch from '2026-08-10 20:08:04'::timestamp) - extract(epoch from '2026-08-10 20:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012299 -3.371063)'), GeomFromEWKT('SRID=4674;POINT (-39.012342 -3.371169)'))) / (select extract(epoch from '2026-08-10 20:08:04'::timestamp) - extract(epoch from '2026-08-10 20:07: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'), 48138, 'SRID=4674;POINT (-39.01241 -3.371291)', '2026-08-10 20:08:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012342 -3.371169)'), GeomFromEWKT('SRID=4674;POINT (-39.01241 -3.371291)'))) / (select extract(epoch from '2026-08-10 20:08:10'::timestamp) - extract(epoch from '2026-08-10 20:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012342 -3.371169)'), GeomFromEWKT('SRID=4674;POINT (-39.01241 -3.371291)'))) / (select extract(epoch from '2026-08-10 20:08:10'::timestamp) - extract(epoch from '2026-08-10 20:08: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'), 48138, 'SRID=4674;POINT (-39.012464 -3.371416)', '2026-08-10 20:08:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01241 -3.371291)'), GeomFromEWKT('SRID=4674;POINT (-39.012464 -3.371416)'))) / (select extract(epoch from '2026-08-10 20:08:16'::timestamp) - extract(epoch from '2026-08-10 20:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01241 -3.371291)'), GeomFromEWKT('SRID=4674;POINT (-39.012464 -3.371416)'))) / (select extract(epoch from '2026-08-10 20:08:16'::timestamp) - extract(epoch from '2026-08-10 20:08: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'), 48138, 'SRID=4674;POINT (-39.012511 -3.371516)', '2026-08-10 20:08:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012464 -3.371416)'), GeomFromEWKT('SRID=4674;POINT (-39.012511 -3.371516)'))) / (select extract(epoch from '2026-08-10 20:08:21'::timestamp) - extract(epoch from '2026-08-10 20:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012464 -3.371416)'), GeomFromEWKT('SRID=4674;POINT (-39.012511 -3.371516)'))) / (select extract(epoch from '2026-08-10 20:08:21'::timestamp) - extract(epoch from '2026-08-10 20:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012546 -3.37162)', '2026-08-10 20:08:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012511 -3.371516)'), GeomFromEWKT('SRID=4674;POINT (-39.012546 -3.37162)'))) / (select extract(epoch from '2026-08-10 20:08:26'::timestamp) - extract(epoch from '2026-08-10 20:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012511 -3.371516)'), GeomFromEWKT('SRID=4674;POINT (-39.012546 -3.37162)'))) / (select extract(epoch from '2026-08-10 20:08:26'::timestamp) - extract(epoch from '2026-08-10 20:08: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'), 48138, 'SRID=4674;POINT (-39.012579 -3.371747)', '2026-08-10 20:08:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012546 -3.37162)'), GeomFromEWKT('SRID=4674;POINT (-39.012579 -3.371747)'))) / (select extract(epoch from '2026-08-10 20:08:32'::timestamp) - extract(epoch from '2026-08-10 20:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012546 -3.37162)'), GeomFromEWKT('SRID=4674;POINT (-39.012579 -3.371747)'))) / (select extract(epoch from '2026-08-10 20:08:32'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.012614 -3.371845)', '2026-08-10 20:08:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012579 -3.371747)'), GeomFromEWKT('SRID=4674;POINT (-39.012614 -3.371845)'))) / (select extract(epoch from '2026-08-10 20:08:37'::timestamp) - extract(epoch from '2026-08-10 20:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012579 -3.371747)'), GeomFromEWKT('SRID=4674;POINT (-39.012614 -3.371845)'))) / (select extract(epoch from '2026-08-10 20:08:37'::timestamp) - extract(epoch from '2026-08-10 20:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012662 -3.371978)', '2026-08-10 20:08:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012614 -3.371845)'), GeomFromEWKT('SRID=4674;POINT (-39.012662 -3.371978)'))) / (select extract(epoch from '2026-08-10 20:08:44'::timestamp) - extract(epoch from '2026-08-10 20:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012614 -3.371845)'), GeomFromEWKT('SRID=4674;POINT (-39.012662 -3.371978)'))) / (select extract(epoch from '2026-08-10 20:08:44'::timestamp) - extract(epoch from '2026-08-10 20:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012714 -3.372113)', '2026-08-10 20:08:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012662 -3.371978)'), GeomFromEWKT('SRID=4674;POINT (-39.012714 -3.372113)'))) / (select extract(epoch from '2026-08-10 20:08:51'::timestamp) - extract(epoch from '2026-08-10 20:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012662 -3.371978)'), GeomFromEWKT('SRID=4674;POINT (-39.012714 -3.372113)'))) / (select extract(epoch from '2026-08-10 20:08:51'::timestamp) - extract(epoch from '2026-08-10 20:08:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012746 -3.37221)', '2026-08-10 20:08:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012714 -3.372113)'), GeomFromEWKT('SRID=4674;POINT (-39.012746 -3.37221)'))) / (select extract(epoch from '2026-08-10 20:08:56'::timestamp) - extract(epoch from '2026-08-10 20:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012714 -3.372113)'), GeomFromEWKT('SRID=4674;POINT (-39.012746 -3.37221)'))) / (select extract(epoch from '2026-08-10 20:08:56'::timestamp) - extract(epoch from '2026-08-10 20:08: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'), 48138, 'SRID=4674;POINT (-39.012782 -3.372294)', '2026-08-10 20:09:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012746 -3.37221)'), GeomFromEWKT('SRID=4674;POINT (-39.012782 -3.372294)'))) / (select extract(epoch from '2026-08-10 20:09:00'::timestamp) - extract(epoch from '2026-08-10 20:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012746 -3.37221)'), GeomFromEWKT('SRID=4674;POINT (-39.012782 -3.372294)'))) / (select extract(epoch from '2026-08-10 20:09:00'::timestamp) - extract(epoch from '2026-08-10 20:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012822 -3.37239)', '2026-08-10 20:09:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012782 -3.372294)'), GeomFromEWKT('SRID=4674;POINT (-39.012822 -3.37239)'))) / (select extract(epoch from '2026-08-10 20:09:05'::timestamp) - extract(epoch from '2026-08-10 20:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012782 -3.372294)'), GeomFromEWKT('SRID=4674;POINT (-39.012822 -3.37239)'))) / (select extract(epoch from '2026-08-10 20:09:05'::timestamp) - extract(epoch from '2026-08-10 20:09: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'), 48138, 'SRID=4674;POINT (-39.01287 -3.372498)', '2026-08-10 20:09:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012822 -3.37239)'), GeomFromEWKT('SRID=4674;POINT (-39.01287 -3.372498)'))) / (select extract(epoch from '2026-08-10 20:09:10'::timestamp) - extract(epoch from '2026-08-10 20:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012822 -3.37239)'), GeomFromEWKT('SRID=4674;POINT (-39.01287 -3.372498)'))) / (select extract(epoch from '2026-08-10 20:09:10'::timestamp) - extract(epoch from '2026-08-10 20:09:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012916 -3.372608)', '2026-08-10 20:09:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01287 -3.372498)'), GeomFromEWKT('SRID=4674;POINT (-39.012916 -3.372608)'))) / (select extract(epoch from '2026-08-10 20:09:16'::timestamp) - extract(epoch from '2026-08-10 20:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01287 -3.372498)'), GeomFromEWKT('SRID=4674;POINT (-39.012916 -3.372608)'))) / (select extract(epoch from '2026-08-10 20:09:16'::timestamp) - extract(epoch from '2026-08-10 20:09: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'), 48138, 'SRID=4674;POINT (-39.01297 -3.372721)', '2026-08-10 20:09:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012916 -3.372608)'), GeomFromEWKT('SRID=4674;POINT (-39.01297 -3.372721)'))) / (select extract(epoch from '2026-08-10 20:09:22'::timestamp) - extract(epoch from '2026-08-10 20:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012916 -3.372608)'), GeomFromEWKT('SRID=4674;POINT (-39.01297 -3.372721)'))) / (select extract(epoch from '2026-08-10 20:09:22'::timestamp) - extract(epoch from '2026-08-10 20:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013024 -3.372838)', '2026-08-10 20:09:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01297 -3.372721)'), GeomFromEWKT('SRID=4674;POINT (-39.013024 -3.372838)'))) / (select extract(epoch from '2026-08-10 20:09:28'::timestamp) - extract(epoch from '2026-08-10 20:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01297 -3.372721)'), GeomFromEWKT('SRID=4674;POINT (-39.013024 -3.372838)'))) / (select extract(epoch from '2026-08-10 20:09:28'::timestamp) - extract(epoch from '2026-08-10 20:09: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'), 48138, 'SRID=4674;POINT (-39.013079 -3.372958)', '2026-08-10 20:09:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013024 -3.372838)'), GeomFromEWKT('SRID=4674;POINT (-39.013079 -3.372958)'))) / (select extract(epoch from '2026-08-10 20:09:34'::timestamp) - extract(epoch from '2026-08-10 20:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013024 -3.372838)'), GeomFromEWKT('SRID=4674;POINT (-39.013079 -3.372958)'))) / (select extract(epoch from '2026-08-10 20:09:34'::timestamp) - extract(epoch from '2026-08-10 20:09: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'), 48138, 'SRID=4674;POINT (-39.01313 -3.37306)', '2026-08-10 20:09:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013079 -3.372958)'), GeomFromEWKT('SRID=4674;POINT (-39.01313 -3.37306)'))) / (select extract(epoch from '2026-08-10 20:09:39'::timestamp) - extract(epoch from '2026-08-10 20:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013079 -3.372958)'), GeomFromEWKT('SRID=4674;POINT (-39.01313 -3.37306)'))) / (select extract(epoch from '2026-08-10 20:09:39'::timestamp) - extract(epoch from '2026-08-10 20:09: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'), 48138, 'SRID=4674;POINT (-39.013161 -3.373128)', '2026-08-10 20:09:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01313 -3.37306)'), GeomFromEWKT('SRID=4674;POINT (-39.013161 -3.373128)'))) / (select extract(epoch from '2026-08-10 20:09:42'::timestamp) - extract(epoch from '2026-08-10 20:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01313 -3.37306)'), GeomFromEWKT('SRID=4674;POINT (-39.013161 -3.373128)'))) / (select extract(epoch from '2026-08-10 20:09:42'::timestamp) - extract(epoch from '2026-08-10 20:09: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'), 48138, 'SRID=4674;POINT (-39.013185 -3.373161)', '2026-08-10 20:09:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013161 -3.373128)'), GeomFromEWKT('SRID=4674;POINT (-39.013185 -3.373161)'))) / (select extract(epoch from '2026-08-10 20:09:44'::timestamp) - extract(epoch from '2026-08-10 20:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013161 -3.373128)'), GeomFromEWKT('SRID=4674;POINT (-39.013185 -3.373161)'))) / (select extract(epoch from '2026-08-10 20:09:44'::timestamp) - extract(epoch from '2026-08-10 20:09: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'), 48138, 'SRID=4674;POINT (-39.013234 -3.373266)', '2026-08-10 20:09:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013185 -3.373161)'), GeomFromEWKT('SRID=4674;POINT (-39.013234 -3.373266)'))) / (select extract(epoch from '2026-08-10 20:09:49'::timestamp) - extract(epoch from '2026-08-10 20:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013185 -3.373161)'), GeomFromEWKT('SRID=4674;POINT (-39.013234 -3.373266)'))) / (select extract(epoch from '2026-08-10 20:09:49'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.013317 -3.373401)', '2026-08-10 20:09:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013234 -3.373266)'), GeomFromEWKT('SRID=4674;POINT (-39.013317 -3.373401)'))) / (select extract(epoch from '2026-08-10 20:09:56'::timestamp) - extract(epoch from '2026-08-10 20:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013234 -3.373266)'), GeomFromEWKT('SRID=4674;POINT (-39.013317 -3.373401)'))) / (select extract(epoch from '2026-08-10 20:09:56'::timestamp) - extract(epoch from '2026-08-10 20:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013378 -3.373499)', '2026-08-10 20:10:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013317 -3.373401)'), GeomFromEWKT('SRID=4674;POINT (-39.013378 -3.373499)'))) / (select extract(epoch from '2026-08-10 20:10:01'::timestamp) - extract(epoch from '2026-08-10 20:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013317 -3.373401)'), GeomFromEWKT('SRID=4674;POINT (-39.013378 -3.373499)'))) / (select extract(epoch from '2026-08-10 20:10:01'::timestamp) - extract(epoch from '2026-08-10 20:09: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'), 48138, 'SRID=4674;POINT (-39.013463 -3.373627)', '2026-08-10 20:10:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013378 -3.373499)'), GeomFromEWKT('SRID=4674;POINT (-39.013463 -3.373627)'))) / (select extract(epoch from '2026-08-10 20:10:08'::timestamp) - extract(epoch from '2026-08-10 20:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013378 -3.373499)'), GeomFromEWKT('SRID=4674;POINT (-39.013463 -3.373627)'))) / (select extract(epoch from '2026-08-10 20:10:08'::timestamp) - extract(epoch from '2026-08-10 20:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01352 -3.373722)', '2026-08-10 20:10:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013463 -3.373627)'), GeomFromEWKT('SRID=4674;POINT (-39.01352 -3.373722)'))) / (select extract(epoch from '2026-08-10 20:10:13'::timestamp) - extract(epoch from '2026-08-10 20:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013463 -3.373627)'), GeomFromEWKT('SRID=4674;POINT (-39.01352 -3.373722)'))) / (select extract(epoch from '2026-08-10 20:10:13'::timestamp) - extract(epoch from '2026-08-10 20:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013588 -3.37383)', '2026-08-10 20:10:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01352 -3.373722)'), GeomFromEWKT('SRID=4674;POINT (-39.013588 -3.37383)'))) / (select extract(epoch from '2026-08-10 20:10:19'::timestamp) - extract(epoch from '2026-08-10 20:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01352 -3.373722)'), GeomFromEWKT('SRID=4674;POINT (-39.013588 -3.37383)'))) / (select extract(epoch from '2026-08-10 20:10:19'::timestamp) - extract(epoch from '2026-08-10 20:10: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'), 48138, 'SRID=4674;POINT (-39.01364 -3.373926)', '2026-08-10 20:10:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013588 -3.37383)'), GeomFromEWKT('SRID=4674;POINT (-39.01364 -3.373926)'))) / (select extract(epoch from '2026-08-10 20:10:24'::timestamp) - extract(epoch from '2026-08-10 20:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013588 -3.37383)'), GeomFromEWKT('SRID=4674;POINT (-39.01364 -3.373926)'))) / (select extract(epoch from '2026-08-10 20:10:24'::timestamp) - extract(epoch from '2026-08-10 20:10: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'), 48138, 'SRID=4674;POINT (-39.013687 -3.374031)', '2026-08-10 20:10:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01364 -3.373926)'), GeomFromEWKT('SRID=4674;POINT (-39.013687 -3.374031)'))) / (select extract(epoch from '2026-08-10 20:10:29'::timestamp) - extract(epoch from '2026-08-10 20:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01364 -3.373926)'), GeomFromEWKT('SRID=4674;POINT (-39.013687 -3.374031)'))) / (select extract(epoch from '2026-08-10 20:10:29'::timestamp) - extract(epoch from '2026-08-10 20:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013735 -3.374124)', '2026-08-10 20:10:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013687 -3.374031)'), GeomFromEWKT('SRID=4674;POINT (-39.013735 -3.374124)'))) / (select extract(epoch from '2026-08-10 20:10:34'::timestamp) - extract(epoch from '2026-08-10 20:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013687 -3.374031)'), GeomFromEWKT('SRID=4674;POINT (-39.013735 -3.374124)'))) / (select extract(epoch from '2026-08-10 20:10:34'::timestamp) - extract(epoch from '2026-08-10 20:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013809 -3.37427)', '2026-08-10 20:10:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013735 -3.374124)'), GeomFromEWKT('SRID=4674;POINT (-39.013809 -3.37427)'))) / (select extract(epoch from '2026-08-10 20:10:41'::timestamp) - extract(epoch from '2026-08-10 20:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013735 -3.374124)'), GeomFromEWKT('SRID=4674;POINT (-39.013809 -3.37427)'))) / (select extract(epoch from '2026-08-10 20:10:41'::timestamp) - extract(epoch from '2026-08-10 20:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013851 -3.374368)', '2026-08-10 20:10:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013809 -3.37427)'), GeomFromEWKT('SRID=4674;POINT (-39.013851 -3.374368)'))) / (select extract(epoch from '2026-08-10 20:10:46'::timestamp) - extract(epoch from '2026-08-10 20:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013809 -3.37427)'), GeomFromEWKT('SRID=4674;POINT (-39.013851 -3.374368)'))) / (select extract(epoch from '2026-08-10 20:10:46'::timestamp) - extract(epoch from '2026-08-10 20:10: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'), 48138, 'SRID=4674;POINT (-39.013903 -3.374506)', '2026-08-10 20:10:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013851 -3.374368)'), GeomFromEWKT('SRID=4674;POINT (-39.013903 -3.374506)'))) / (select extract(epoch from '2026-08-10 20:10:53'::timestamp) - extract(epoch from '2026-08-10 20:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013851 -3.374368)'), GeomFromEWKT('SRID=4674;POINT (-39.013903 -3.374506)'))) / (select extract(epoch from '2026-08-10 20:10:53'::timestamp) - extract(epoch from '2026-08-10 20:10: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'), 48138, 'SRID=4674;POINT (-39.013948 -3.374627)', '2026-08-10 20:10:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013903 -3.374506)'), GeomFromEWKT('SRID=4674;POINT (-39.013948 -3.374627)'))) / (select extract(epoch from '2026-08-10 20:10:59'::timestamp) - extract(epoch from '2026-08-10 20:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013903 -3.374506)'), GeomFromEWKT('SRID=4674;POINT (-39.013948 -3.374627)'))) / (select extract(epoch from '2026-08-10 20:10:59'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.014 -3.374745)', '2026-08-10 20:11:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013948 -3.374627)'), GeomFromEWKT('SRID=4674;POINT (-39.014 -3.374745)'))) / (select extract(epoch from '2026-08-10 20:11:05'::timestamp) - extract(epoch from '2026-08-10 20:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013948 -3.374627)'), GeomFromEWKT('SRID=4674;POINT (-39.014 -3.374745)'))) / (select extract(epoch from '2026-08-10 20:11:05'::timestamp) - extract(epoch from '2026-08-10 20:10: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'), 48138, 'SRID=4674;POINT (-39.014036 -3.374844)', '2026-08-10 20:11:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014 -3.374745)'), GeomFromEWKT('SRID=4674;POINT (-39.014036 -3.374844)'))) / (select extract(epoch from '2026-08-10 20:11:10'::timestamp) - extract(epoch from '2026-08-10 20:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014 -3.374745)'), GeomFromEWKT('SRID=4674;POINT (-39.014036 -3.374844)'))) / (select extract(epoch from '2026-08-10 20:11:10'::timestamp) - extract(epoch from '2026-08-10 20:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014089 -3.374961)', '2026-08-10 20:11:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014036 -3.374844)'), GeomFromEWKT('SRID=4674;POINT (-39.014089 -3.374961)'))) / (select extract(epoch from '2026-08-10 20:11:16'::timestamp) - extract(epoch from '2026-08-10 20:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014036 -3.374844)'), GeomFromEWKT('SRID=4674;POINT (-39.014089 -3.374961)'))) / (select extract(epoch from '2026-08-10 20:11:16'::timestamp) - extract(epoch from '2026-08-10 20:11: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'), 48138, 'SRID=4674;POINT (-39.014144 -3.375065)', '2026-08-10 20:11:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014089 -3.374961)'), GeomFromEWKT('SRID=4674;POINT (-39.014144 -3.375065)'))) / (select extract(epoch from '2026-08-10 20:11:21'::timestamp) - extract(epoch from '2026-08-10 20:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014089 -3.374961)'), GeomFromEWKT('SRID=4674;POINT (-39.014144 -3.375065)'))) / (select extract(epoch from '2026-08-10 20:11:21'::timestamp) - extract(epoch from '2026-08-10 20:11:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014198 -3.375185)', '2026-08-10 20:11:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014144 -3.375065)'), GeomFromEWKT('SRID=4674;POINT (-39.014198 -3.375185)'))) / (select extract(epoch from '2026-08-10 20:11:27'::timestamp) - extract(epoch from '2026-08-10 20:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014144 -3.375065)'), GeomFromEWKT('SRID=4674;POINT (-39.014198 -3.375185)'))) / (select extract(epoch from '2026-08-10 20:11:27'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.014236 -3.375281)', '2026-08-10 20:11:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014198 -3.375185)'), GeomFromEWKT('SRID=4674;POINT (-39.014236 -3.375281)'))) / (select extract(epoch from '2026-08-10 20:11:32'::timestamp) - extract(epoch from '2026-08-10 20:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014198 -3.375185)'), GeomFromEWKT('SRID=4674;POINT (-39.014236 -3.375281)'))) / (select extract(epoch from '2026-08-10 20:11:32'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.014281 -3.375377)', '2026-08-10 20:11:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014236 -3.375281)'), GeomFromEWKT('SRID=4674;POINT (-39.014281 -3.375377)'))) / (select extract(epoch from '2026-08-10 20:11:37'::timestamp) - extract(epoch from '2026-08-10 20:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014236 -3.375281)'), GeomFromEWKT('SRID=4674;POINT (-39.014281 -3.375377)'))) / (select extract(epoch from '2026-08-10 20:11:37'::timestamp) - extract(epoch from '2026-08-10 20:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014358 -3.375508)', '2026-08-10 20:11:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014281 -3.375377)'), GeomFromEWKT('SRID=4674;POINT (-39.014358 -3.375508)'))) / (select extract(epoch from '2026-08-10 20:11:44'::timestamp) - extract(epoch from '2026-08-10 20:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014281 -3.375377)'), GeomFromEWKT('SRID=4674;POINT (-39.014358 -3.375508)'))) / (select extract(epoch from '2026-08-10 20:11:44'::timestamp) - extract(epoch from '2026-08-10 20:11: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'), 48138, 'SRID=4674;POINT (-39.014436 -3.375625)', '2026-08-10 20:11:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014358 -3.375508)'), GeomFromEWKT('SRID=4674;POINT (-39.014436 -3.375625)'))) / (select extract(epoch from '2026-08-10 20:11:50'::timestamp) - extract(epoch from '2026-08-10 20:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014358 -3.375508)'), GeomFromEWKT('SRID=4674;POINT (-39.014436 -3.375625)'))) / (select extract(epoch from '2026-08-10 20:11:50'::timestamp) - extract(epoch from '2026-08-10 20:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014502 -3.375735)', '2026-08-10 20:11:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014436 -3.375625)'), GeomFromEWKT('SRID=4674;POINT (-39.014502 -3.375735)'))) / (select extract(epoch from '2026-08-10 20:11:56'::timestamp) - extract(epoch from '2026-08-10 20:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014436 -3.375625)'), GeomFromEWKT('SRID=4674;POINT (-39.014502 -3.375735)'))) / (select extract(epoch from '2026-08-10 20:11:56'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.014554 -3.375835)', '2026-08-10 20:12:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014502 -3.375735)'), GeomFromEWKT('SRID=4674;POINT (-39.014554 -3.375835)'))) / (select extract(epoch from '2026-08-10 20:12:01'::timestamp) - extract(epoch from '2026-08-10 20:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014502 -3.375735)'), GeomFromEWKT('SRID=4674;POINT (-39.014554 -3.375835)'))) / (select extract(epoch from '2026-08-10 20:12:01'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.014571 -3.375869)', '2026-08-10 20:12:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014554 -3.375835)'), GeomFromEWKT('SRID=4674;POINT (-39.014571 -3.375869)'))) / (select extract(epoch from '2026-08-10 20:12:03'::timestamp) - extract(epoch from '2026-08-10 20:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014554 -3.375835)'), GeomFromEWKT('SRID=4674;POINT (-39.014571 -3.375869)'))) / (select extract(epoch from '2026-08-10 20:12:03'::timestamp) - extract(epoch from '2026-08-10 20:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.0146 -3.375922)', '2026-08-10 20:12:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014571 -3.375869)'), GeomFromEWKT('SRID=4674;POINT (-39.0146 -3.375922)'))) / (select extract(epoch from '2026-08-10 20:12:05'::timestamp) - extract(epoch from '2026-08-10 20:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014571 -3.375869)'), GeomFromEWKT('SRID=4674;POINT (-39.0146 -3.375922)'))) / (select extract(epoch from '2026-08-10 20:12:05'::timestamp) - extract(epoch from '2026-08-10 20:12: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'), 48138, 'SRID=4674;POINT (-39.014639 -3.376023)', '2026-08-10 20:12:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0146 -3.375922)'), GeomFromEWKT('SRID=4674;POINT (-39.014639 -3.376023)'))) / (select extract(epoch from '2026-08-10 20:12:10'::timestamp) - extract(epoch from '2026-08-10 20:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0146 -3.375922)'), GeomFromEWKT('SRID=4674;POINT (-39.014639 -3.376023)'))) / (select extract(epoch from '2026-08-10 20:12:10'::timestamp) - extract(epoch from '2026-08-10 20:12: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'), 48138, 'SRID=4674;POINT (-39.014724 -3.376164)', '2026-08-10 20:12:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014639 -3.376023)'), GeomFromEWKT('SRID=4674;POINT (-39.014724 -3.376164)'))) / (select extract(epoch from '2026-08-10 20:12:17'::timestamp) - extract(epoch from '2026-08-10 20:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014639 -3.376023)'), GeomFromEWKT('SRID=4674;POINT (-39.014724 -3.376164)'))) / (select extract(epoch from '2026-08-10 20:12:17'::timestamp) - extract(epoch from '2026-08-10 20:12: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'), 48138, 'SRID=4674;POINT (-39.014799 -3.376286)', '2026-08-10 20:12:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014724 -3.376164)'), GeomFromEWKT('SRID=4674;POINT (-39.014799 -3.376286)'))) / (select extract(epoch from '2026-08-10 20:12:23'::timestamp) - extract(epoch from '2026-08-10 20:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014724 -3.376164)'), GeomFromEWKT('SRID=4674;POINT (-39.014799 -3.376286)'))) / (select extract(epoch from '2026-08-10 20:12:23'::timestamp) - extract(epoch from '2026-08-10 20:12: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'), 48138, 'SRID=4674;POINT (-39.01485 -3.376379)', '2026-08-10 20:12:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014799 -3.376286)'), GeomFromEWKT('SRID=4674;POINT (-39.01485 -3.376379)'))) / (select extract(epoch from '2026-08-10 20:12:28'::timestamp) - extract(epoch from '2026-08-10 20:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014799 -3.376286)'), GeomFromEWKT('SRID=4674;POINT (-39.01485 -3.376379)'))) / (select extract(epoch from '2026-08-10 20:12:28'::timestamp) - extract(epoch from '2026-08-10 20:12:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01494 -3.376537)', '2026-08-10 20:12:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01485 -3.376379)'), GeomFromEWKT('SRID=4674;POINT (-39.01494 -3.376537)'))) / (select extract(epoch from '2026-08-10 20:12:36'::timestamp) - extract(epoch from '2026-08-10 20:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01485 -3.376379)'), GeomFromEWKT('SRID=4674;POINT (-39.01494 -3.376537)'))) / (select extract(epoch from '2026-08-10 20:12:36'::timestamp) - extract(epoch from '2026-08-10 20:12:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015008 -3.376663)', '2026-08-10 20:12:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01494 -3.376537)'), GeomFromEWKT('SRID=4674;POINT (-39.015008 -3.376663)'))) / (select extract(epoch from '2026-08-10 20:12:42'::timestamp) - extract(epoch from '2026-08-10 20:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01494 -3.376537)'), GeomFromEWKT('SRID=4674;POINT (-39.015008 -3.376663)'))) / (select extract(epoch from '2026-08-10 20:12:42'::timestamp) - extract(epoch from '2026-08-10 20:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015063 -3.376765)', '2026-08-10 20:12:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015008 -3.376663)'), GeomFromEWKT('SRID=4674;POINT (-39.015063 -3.376765)'))) / (select extract(epoch from '2026-08-10 20:12:47'::timestamp) - extract(epoch from '2026-08-10 20:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015008 -3.376663)'), GeomFromEWKT('SRID=4674;POINT (-39.015063 -3.376765)'))) / (select extract(epoch from '2026-08-10 20:12:47'::timestamp) - extract(epoch from '2026-08-10 20:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015117 -3.376885)', '2026-08-10 20:12:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015063 -3.376765)'), GeomFromEWKT('SRID=4674;POINT (-39.015117 -3.376885)'))) / (select extract(epoch from '2026-08-10 20:12:53'::timestamp) - extract(epoch from '2026-08-10 20:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015063 -3.376765)'), GeomFromEWKT('SRID=4674;POINT (-39.015117 -3.376885)'))) / (select extract(epoch from '2026-08-10 20:12:53'::timestamp) - extract(epoch from '2026-08-10 20:12: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'), 48138, 'SRID=4674;POINT (-39.015158 -3.376979)', '2026-08-10 20:12:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015117 -3.376885)'), GeomFromEWKT('SRID=4674;POINT (-39.015158 -3.376979)'))) / (select extract(epoch from '2026-08-10 20:12:58'::timestamp) - extract(epoch from '2026-08-10 20:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015117 -3.376885)'), GeomFromEWKT('SRID=4674;POINT (-39.015158 -3.376979)'))) / (select extract(epoch from '2026-08-10 20:12:58'::timestamp) - extract(epoch from '2026-08-10 20:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015217 -3.37711)', '2026-08-10 20:13:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015158 -3.376979)'), GeomFromEWKT('SRID=4674;POINT (-39.015217 -3.37711)'))) / (select extract(epoch from '2026-08-10 20:13:05'::timestamp) - extract(epoch from '2026-08-10 20:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015158 -3.376979)'), GeomFromEWKT('SRID=4674;POINT (-39.015217 -3.37711)'))) / (select extract(epoch from '2026-08-10 20:13:05'::timestamp) - extract(epoch from '2026-08-10 20:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015284 -3.377228)', '2026-08-10 20:13:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015217 -3.37711)'), GeomFromEWKT('SRID=4674;POINT (-39.015284 -3.377228)'))) / (select extract(epoch from '2026-08-10 20:13:11'::timestamp) - extract(epoch from '2026-08-10 20:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015217 -3.37711)'), GeomFromEWKT('SRID=4674;POINT (-39.015284 -3.377228)'))) / (select extract(epoch from '2026-08-10 20:13:11'::timestamp) - extract(epoch from '2026-08-10 20:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015365 -3.377372)', '2026-08-10 20:13:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015284 -3.377228)'), GeomFromEWKT('SRID=4674;POINT (-39.015365 -3.377372)'))) / (select extract(epoch from '2026-08-10 20:13:19'::timestamp) - extract(epoch from '2026-08-10 20:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015284 -3.377228)'), GeomFromEWKT('SRID=4674;POINT (-39.015365 -3.377372)'))) / (select extract(epoch from '2026-08-10 20:13:19'::timestamp) - extract(epoch from '2026-08-10 20:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015437 -3.377473)', '2026-08-10 20:13:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015365 -3.377372)'), GeomFromEWKT('SRID=4674;POINT (-39.015437 -3.377473)'))) / (select extract(epoch from '2026-08-10 20:13:24'::timestamp) - extract(epoch from '2026-08-10 20:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015365 -3.377372)'), GeomFromEWKT('SRID=4674;POINT (-39.015437 -3.377473)'))) / (select extract(epoch from '2026-08-10 20:13:24'::timestamp) - extract(epoch from '2026-08-10 20:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015501 -3.377573)', '2026-08-10 20:13:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015437 -3.377473)'), GeomFromEWKT('SRID=4674;POINT (-39.015501 -3.377573)'))) / (select extract(epoch from '2026-08-10 20:13:29'::timestamp) - extract(epoch from '2026-08-10 20:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015437 -3.377473)'), GeomFromEWKT('SRID=4674;POINT (-39.015501 -3.377573)'))) / (select extract(epoch from '2026-08-10 20:13:29'::timestamp) - extract(epoch from '2026-08-10 20:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015593 -3.377713)', '2026-08-10 20:13:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015501 -3.377573)'), GeomFromEWKT('SRID=4674;POINT (-39.015593 -3.377713)'))) / (select extract(epoch from '2026-08-10 20:13:36'::timestamp) - extract(epoch from '2026-08-10 20:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015501 -3.377573)'), GeomFromEWKT('SRID=4674;POINT (-39.015593 -3.377713)'))) / (select extract(epoch from '2026-08-10 20:13:36'::timestamp) - extract(epoch from '2026-08-10 20:13: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'), 48138, 'SRID=4674;POINT (-39.015617 -3.377763)', '2026-08-10 20:13:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015593 -3.377713)'), GeomFromEWKT('SRID=4674;POINT (-39.015617 -3.377763)'))) / (select extract(epoch from '2026-08-10 20:13:39'::timestamp) - extract(epoch from '2026-08-10 20:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015593 -3.377713)'), GeomFromEWKT('SRID=4674;POINT (-39.015617 -3.377763)'))) / (select extract(epoch from '2026-08-10 20:13:39'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.015636 -3.377784)', '2026-08-10 20:13:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015617 -3.377763)'), GeomFromEWKT('SRID=4674;POINT (-39.015636 -3.377784)'))) / (select extract(epoch from '2026-08-10 20:13:40'::timestamp) - extract(epoch from '2026-08-10 20:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015617 -3.377763)'), GeomFromEWKT('SRID=4674;POINT (-39.015636 -3.377784)'))) / (select extract(epoch from '2026-08-10 20:13:40'::timestamp) - extract(epoch from '2026-08-10 20:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015692 -3.377885)', '2026-08-10 20:13:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015636 -3.377784)'), GeomFromEWKT('SRID=4674;POINT (-39.015692 -3.377885)'))) / (select extract(epoch from '2026-08-10 20:13:45'::timestamp) - extract(epoch from '2026-08-10 20:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015636 -3.377784)'), GeomFromEWKT('SRID=4674;POINT (-39.015692 -3.377885)'))) / (select extract(epoch from '2026-08-10 20:13:45'::timestamp) - extract(epoch from '2026-08-10 20:13: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'), 48138, 'SRID=4674;POINT (-39.015749 -3.377977)', '2026-08-10 20:13:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015692 -3.377885)'), GeomFromEWKT('SRID=4674;POINT (-39.015749 -3.377977)'))) / (select extract(epoch from '2026-08-10 20:13:50'::timestamp) - extract(epoch from '2026-08-10 20:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015692 -3.377885)'), GeomFromEWKT('SRID=4674;POINT (-39.015749 -3.377977)'))) / (select extract(epoch from '2026-08-10 20:13:50'::timestamp) - extract(epoch from '2026-08-10 20:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015812 -3.378087)', '2026-08-10 20:13:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015749 -3.377977)'), GeomFromEWKT('SRID=4674;POINT (-39.015812 -3.378087)'))) / (select extract(epoch from '2026-08-10 20:13:56'::timestamp) - extract(epoch from '2026-08-10 20:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015749 -3.377977)'), GeomFromEWKT('SRID=4674;POINT (-39.015812 -3.378087)'))) / (select extract(epoch from '2026-08-10 20:13:56'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.015861 -3.378197)', '2026-08-10 20:14:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015812 -3.378087)'), GeomFromEWKT('SRID=4674;POINT (-39.015861 -3.378197)'))) / (select extract(epoch from '2026-08-10 20:14:02'::timestamp) - extract(epoch from '2026-08-10 20:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015812 -3.378087)'), GeomFromEWKT('SRID=4674;POINT (-39.015861 -3.378197)'))) / (select extract(epoch from '2026-08-10 20:14:02'::timestamp) - extract(epoch from '2026-08-10 20:13: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'), 48138, 'SRID=4674;POINT (-39.015919 -3.378308)', '2026-08-10 20:14:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015861 -3.378197)'), GeomFromEWKT('SRID=4674;POINT (-39.015919 -3.378308)'))) / (select extract(epoch from '2026-08-10 20:14:07'::timestamp) - extract(epoch from '2026-08-10 20:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015861 -3.378197)'), GeomFromEWKT('SRID=4674;POINT (-39.015919 -3.378308)'))) / (select extract(epoch from '2026-08-10 20:14:07'::timestamp) - extract(epoch from '2026-08-10 20:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015992 -3.378424)', '2026-08-10 20:14:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015919 -3.378308)'), GeomFromEWKT('SRID=4674;POINT (-39.015992 -3.378424)'))) / (select extract(epoch from '2026-08-10 20:14:13'::timestamp) - extract(epoch from '2026-08-10 20:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015919 -3.378308)'), GeomFromEWKT('SRID=4674;POINT (-39.015992 -3.378424)'))) / (select extract(epoch from '2026-08-10 20:14:13'::timestamp) - extract(epoch from '2026-08-10 20:14: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'), 48138, 'SRID=4674;POINT (-39.01604 -3.378521)', '2026-08-10 20:14:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015992 -3.378424)'), GeomFromEWKT('SRID=4674;POINT (-39.01604 -3.378521)'))) / (select extract(epoch from '2026-08-10 20:14:18'::timestamp) - extract(epoch from '2026-08-10 20:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015992 -3.378424)'), GeomFromEWKT('SRID=4674;POINT (-39.01604 -3.378521)'))) / (select extract(epoch from '2026-08-10 20:14:18'::timestamp) - extract(epoch from '2026-08-10 20:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016117 -3.378642)', '2026-08-10 20:14:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01604 -3.378521)'), GeomFromEWKT('SRID=4674;POINT (-39.016117 -3.378642)'))) / (select extract(epoch from '2026-08-10 20:14:24'::timestamp) - extract(epoch from '2026-08-10 20:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01604 -3.378521)'), GeomFromEWKT('SRID=4674;POINT (-39.016117 -3.378642)'))) / (select extract(epoch from '2026-08-10 20:14:24'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.016174 -3.378739)', '2026-08-10 20:14:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016117 -3.378642)'), GeomFromEWKT('SRID=4674;POINT (-39.016174 -3.378739)'))) / (select extract(epoch from '2026-08-10 20:14:29'::timestamp) - extract(epoch from '2026-08-10 20:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016117 -3.378642)'), GeomFromEWKT('SRID=4674;POINT (-39.016174 -3.378739)'))) / (select extract(epoch from '2026-08-10 20:14:29'::timestamp) - extract(epoch from '2026-08-10 20:14: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'), 48138, 'SRID=4674;POINT (-39.016254 -3.378884)', '2026-08-10 20:14:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016174 -3.378739)'), GeomFromEWKT('SRID=4674;POINT (-39.016254 -3.378884)'))) / (select extract(epoch from '2026-08-10 20:14:36'::timestamp) - extract(epoch from '2026-08-10 20:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016174 -3.378739)'), GeomFromEWKT('SRID=4674;POINT (-39.016254 -3.378884)'))) / (select extract(epoch from '2026-08-10 20:14:36'::timestamp) - extract(epoch from '2026-08-10 20:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016319 -3.379025)', '2026-08-10 20:14:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016254 -3.378884)'), GeomFromEWKT('SRID=4674;POINT (-39.016319 -3.379025)'))) / (select extract(epoch from '2026-08-10 20:14:43'::timestamp) - extract(epoch from '2026-08-10 20:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016254 -3.378884)'), GeomFromEWKT('SRID=4674;POINT (-39.016319 -3.379025)'))) / (select extract(epoch from '2026-08-10 20:14:43'::timestamp) - extract(epoch from '2026-08-10 20:14: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'), 48138, 'SRID=4674;POINT (-39.016366 -3.379125)', '2026-08-10 20:14:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016319 -3.379025)'), GeomFromEWKT('SRID=4674;POINT (-39.016366 -3.379125)'))) / (select extract(epoch from '2026-08-10 20:14:48'::timestamp) - extract(epoch from '2026-08-10 20:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016319 -3.379025)'), GeomFromEWKT('SRID=4674;POINT (-39.016366 -3.379125)'))) / (select extract(epoch from '2026-08-10 20:14:48'::timestamp) - extract(epoch from '2026-08-10 20:14: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'), 48138, 'SRID=4674;POINT (-39.016424 -3.379271)', '2026-08-10 20:14:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016366 -3.379125)'), GeomFromEWKT('SRID=4674;POINT (-39.016424 -3.379271)'))) / (select extract(epoch from '2026-08-10 20:14:55'::timestamp) - extract(epoch from '2026-08-10 20:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016366 -3.379125)'), GeomFromEWKT('SRID=4674;POINT (-39.016424 -3.379271)'))) / (select extract(epoch from '2026-08-10 20:14:55'::timestamp) - extract(epoch from '2026-08-10 20:14: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'), 48138, 'SRID=4674;POINT (-39.016481 -3.379391)', '2026-08-10 20:15:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016424 -3.379271)'), GeomFromEWKT('SRID=4674;POINT (-39.016481 -3.379391)'))) / (select extract(epoch from '2026-08-10 20:15:01'::timestamp) - extract(epoch from '2026-08-10 20:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016424 -3.379271)'), GeomFromEWKT('SRID=4674;POINT (-39.016481 -3.379391)'))) / (select extract(epoch from '2026-08-10 20:15:01'::timestamp) - extract(epoch from '2026-08-10 20:14: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'), 48138, 'SRID=4674;POINT (-39.016531 -3.379509)', '2026-08-10 20:15:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016481 -3.379391)'), GeomFromEWKT('SRID=4674;POINT (-39.016531 -3.379509)'))) / (select extract(epoch from '2026-08-10 20:15:07'::timestamp) - extract(epoch from '2026-08-10 20:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016481 -3.379391)'), GeomFromEWKT('SRID=4674;POINT (-39.016531 -3.379509)'))) / (select extract(epoch from '2026-08-10 20:15:07'::timestamp) - extract(epoch from '2026-08-10 20:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016563 -3.379571)', '2026-08-10 20:15:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016531 -3.379509)'), GeomFromEWKT('SRID=4674;POINT (-39.016563 -3.379571)'))) / (select extract(epoch from '2026-08-10 20:15:10'::timestamp) - extract(epoch from '2026-08-10 20:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016531 -3.379509)'), GeomFromEWKT('SRID=4674;POINT (-39.016563 -3.379571)'))) / (select extract(epoch from '2026-08-10 20:15:10'::timestamp) - extract(epoch from '2026-08-10 20:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016576 -3.37961)', '2026-08-10 20:15:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016563 -3.379571)'), GeomFromEWKT('SRID=4674;POINT (-39.016576 -3.37961)'))) / (select extract(epoch from '2026-08-10 20:15:12'::timestamp) - extract(epoch from '2026-08-10 20:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016563 -3.379571)'), GeomFromEWKT('SRID=4674;POINT (-39.016576 -3.37961)'))) / (select extract(epoch from '2026-08-10 20:15:12'::timestamp) - extract(epoch from '2026-08-10 20:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016661 -3.379754)', '2026-08-10 20:15:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016576 -3.37961)'), GeomFromEWKT('SRID=4674;POINT (-39.016661 -3.379754)'))) / (select extract(epoch from '2026-08-10 20:15:19'::timestamp) - extract(epoch from '2026-08-10 20:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016576 -3.37961)'), GeomFromEWKT('SRID=4674;POINT (-39.016661 -3.379754)'))) / (select extract(epoch from '2026-08-10 20:15:19'::timestamp) - extract(epoch from '2026-08-10 20:15: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'), 48138, 'SRID=4674;POINT (-39.016733 -3.379884)', '2026-08-10 20:15:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016661 -3.379754)'), GeomFromEWKT('SRID=4674;POINT (-39.016733 -3.379884)'))) / (select extract(epoch from '2026-08-10 20:15:26'::timestamp) - extract(epoch from '2026-08-10 20:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016661 -3.379754)'), GeomFromEWKT('SRID=4674;POINT (-39.016733 -3.379884)'))) / (select extract(epoch from '2026-08-10 20:15:26'::timestamp) - extract(epoch from '2026-08-10 20:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016804 -3.380039)', '2026-08-10 20:15:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016733 -3.379884)'), GeomFromEWKT('SRID=4674;POINT (-39.016804 -3.380039)'))) / (select extract(epoch from '2026-08-10 20:15:34'::timestamp) - extract(epoch from '2026-08-10 20:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016733 -3.379884)'), GeomFromEWKT('SRID=4674;POINT (-39.016804 -3.380039)'))) / (select extract(epoch from '2026-08-10 20:15:34'::timestamp) - extract(epoch from '2026-08-10 20:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016868 -3.380155)', '2026-08-10 20:15:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016804 -3.380039)'), GeomFromEWKT('SRID=4674;POINT (-39.016868 -3.380155)'))) / (select extract(epoch from '2026-08-10 20:15:40'::timestamp) - extract(epoch from '2026-08-10 20:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016804 -3.380039)'), GeomFromEWKT('SRID=4674;POINT (-39.016868 -3.380155)'))) / (select extract(epoch from '2026-08-10 20:15:40'::timestamp) - extract(epoch from '2026-08-10 20:15: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'), 48138, 'SRID=4674;POINT (-39.016918 -3.380248)', '2026-08-10 20:15:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016868 -3.380155)'), GeomFromEWKT('SRID=4674;POINT (-39.016918 -3.380248)'))) / (select extract(epoch from '2026-08-10 20:15:45'::timestamp) - extract(epoch from '2026-08-10 20:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016868 -3.380155)'), GeomFromEWKT('SRID=4674;POINT (-39.016918 -3.380248)'))) / (select extract(epoch from '2026-08-10 20:15:45'::timestamp) - extract(epoch from '2026-08-10 20:15: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'), 48138, 'SRID=4674;POINT (-39.016965 -3.380334)', '2026-08-10 20:15:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016918 -3.380248)'), GeomFromEWKT('SRID=4674;POINT (-39.016965 -3.380334)'))) / (select extract(epoch from '2026-08-10 20:15:49'::timestamp) - extract(epoch from '2026-08-10 20:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016918 -3.380248)'), GeomFromEWKT('SRID=4674;POINT (-39.016965 -3.380334)'))) / (select extract(epoch from '2026-08-10 20:15:49'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.017017 -3.380429)', '2026-08-10 20:15:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016965 -3.380334)'), GeomFromEWKT('SRID=4674;POINT (-39.017017 -3.380429)'))) / (select extract(epoch from '2026-08-10 20:15:54'::timestamp) - extract(epoch from '2026-08-10 20:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016965 -3.380334)'), GeomFromEWKT('SRID=4674;POINT (-39.017017 -3.380429)'))) / (select extract(epoch from '2026-08-10 20:15:54'::timestamp) - extract(epoch from '2026-08-10 20:15:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017078 -3.380524)', '2026-08-10 20:15:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017017 -3.380429)'), GeomFromEWKT('SRID=4674;POINT (-39.017078 -3.380524)'))) / (select extract(epoch from '2026-08-10 20:15:59'::timestamp) - extract(epoch from '2026-08-10 20:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017017 -3.380429)'), GeomFromEWKT('SRID=4674;POINT (-39.017078 -3.380524)'))) / (select extract(epoch from '2026-08-10 20:15:59'::timestamp) - extract(epoch from '2026-08-10 20:15: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'), 48138, 'SRID=4674;POINT (-39.017133 -3.380617)', '2026-08-10 20:16:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017078 -3.380524)'), GeomFromEWKT('SRID=4674;POINT (-39.017133 -3.380617)'))) / (select extract(epoch from '2026-08-10 20:16:04'::timestamp) - extract(epoch from '2026-08-10 20:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017078 -3.380524)'), GeomFromEWKT('SRID=4674;POINT (-39.017133 -3.380617)'))) / (select extract(epoch from '2026-08-10 20:16:04'::timestamp) - extract(epoch from '2026-08-10 20:15: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'), 48138, 'SRID=4674;POINT (-39.017187 -3.38074)', '2026-08-10 20:16:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017133 -3.380617)'), GeomFromEWKT('SRID=4674;POINT (-39.017187 -3.38074)'))) / (select extract(epoch from '2026-08-10 20:16:10'::timestamp) - extract(epoch from '2026-08-10 20:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017133 -3.380617)'), GeomFromEWKT('SRID=4674;POINT (-39.017187 -3.38074)'))) / (select extract(epoch from '2026-08-10 20:16:10'::timestamp) - extract(epoch from '2026-08-10 20:16: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'), 48138, 'SRID=4674;POINT (-39.017254 -3.38086)', '2026-08-10 20:16:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017187 -3.38074)'), GeomFromEWKT('SRID=4674;POINT (-39.017254 -3.38086)'))) / (select extract(epoch from '2026-08-10 20:16:16'::timestamp) - extract(epoch from '2026-08-10 20:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017187 -3.38074)'), GeomFromEWKT('SRID=4674;POINT (-39.017254 -3.38086)'))) / (select extract(epoch from '2026-08-10 20:16:16'::timestamp) - extract(epoch from '2026-08-10 20:16: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'), 48138, 'SRID=4674;POINT (-39.017319 -3.380975)', '2026-08-10 20:16:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017254 -3.38086)'), GeomFromEWKT('SRID=4674;POINT (-39.017319 -3.380975)'))) / (select extract(epoch from '2026-08-10 20:16:22'::timestamp) - extract(epoch from '2026-08-10 20:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017254 -3.38086)'), GeomFromEWKT('SRID=4674;POINT (-39.017319 -3.380975)'))) / (select extract(epoch from '2026-08-10 20:16:22'::timestamp) - extract(epoch from '2026-08-10 20:16: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'), 48138, 'SRID=4674;POINT (-39.017378 -3.38107)', '2026-08-10 20:16:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017319 -3.380975)'), GeomFromEWKT('SRID=4674;POINT (-39.017378 -3.38107)'))) / (select extract(epoch from '2026-08-10 20:16:27'::timestamp) - extract(epoch from '2026-08-10 20:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017319 -3.380975)'), GeomFromEWKT('SRID=4674;POINT (-39.017378 -3.38107)'))) / (select extract(epoch from '2026-08-10 20:16:27'::timestamp) - extract(epoch from '2026-08-10 20:16: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'), 48138, 'SRID=4674;POINT (-39.017433 -3.381169)', '2026-08-10 20:16:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017378 -3.38107)'), GeomFromEWKT('SRID=4674;POINT (-39.017433 -3.381169)'))) / (select extract(epoch from '2026-08-10 20:16:32'::timestamp) - extract(epoch from '2026-08-10 20:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017378 -3.38107)'), GeomFromEWKT('SRID=4674;POINT (-39.017433 -3.381169)'))) / (select extract(epoch from '2026-08-10 20:16:32'::timestamp) - extract(epoch from '2026-08-10 20:16: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'), 48138, 'SRID=4674;POINT (-39.017494 -3.381304)', '2026-08-10 20:16:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017433 -3.381169)'), GeomFromEWKT('SRID=4674;POINT (-39.017494 -3.381304)'))) / (select extract(epoch from '2026-08-10 20:16:39'::timestamp) - extract(epoch from '2026-08-10 20:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017433 -3.381169)'), GeomFromEWKT('SRID=4674;POINT (-39.017494 -3.381304)'))) / (select extract(epoch from '2026-08-10 20:16:39'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.017543 -3.381408)', '2026-08-10 20:16:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017494 -3.381304)'), GeomFromEWKT('SRID=4674;POINT (-39.017543 -3.381408)'))) / (select extract(epoch from '2026-08-10 20:16:44'::timestamp) - extract(epoch from '2026-08-10 20:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017494 -3.381304)'), GeomFromEWKT('SRID=4674;POINT (-39.017543 -3.381408)'))) / (select extract(epoch from '2026-08-10 20:16:44'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.017603 -3.38151)', '2026-08-10 20:16:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017543 -3.381408)'), GeomFromEWKT('SRID=4674;POINT (-39.017603 -3.38151)'))) / (select extract(epoch from '2026-08-10 20:16:49'::timestamp) - extract(epoch from '2026-08-10 20:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017543 -3.381408)'), GeomFromEWKT('SRID=4674;POINT (-39.017603 -3.38151)'))) / (select extract(epoch from '2026-08-10 20:16:49'::timestamp) - extract(epoch from '2026-08-10 20:16: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'), 48138, 'SRID=4674;POINT (-39.017663 -3.381639)', '2026-08-10 20:16:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017603 -3.38151)'), GeomFromEWKT('SRID=4674;POINT (-39.017663 -3.381639)'))) / (select extract(epoch from '2026-08-10 20:16:55'::timestamp) - extract(epoch from '2026-08-10 20:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017603 -3.38151)'), GeomFromEWKT('SRID=4674;POINT (-39.017663 -3.381639)'))) / (select extract(epoch from '2026-08-10 20:16:55'::timestamp) - extract(epoch from '2026-08-10 20:16: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'), 48138, 'SRID=4674;POINT (-39.017709 -3.381761)', '2026-08-10 20:17:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017663 -3.381639)'), GeomFromEWKT('SRID=4674;POINT (-39.017709 -3.381761)'))) / (select extract(epoch from '2026-08-10 20:17:01'::timestamp) - extract(epoch from '2026-08-10 20:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017663 -3.381639)'), GeomFromEWKT('SRID=4674;POINT (-39.017709 -3.381761)'))) / (select extract(epoch from '2026-08-10 20:17:01'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.017768 -3.381867)', '2026-08-10 20:17:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017709 -3.381761)'), GeomFromEWKT('SRID=4674;POINT (-39.017768 -3.381867)'))) / (select extract(epoch from '2026-08-10 20:17:07'::timestamp) - extract(epoch from '2026-08-10 20:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017709 -3.381761)'), GeomFromEWKT('SRID=4674;POINT (-39.017768 -3.381867)'))) / (select extract(epoch from '2026-08-10 20:17:07'::timestamp) - extract(epoch from '2026-08-10 20:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017833 -3.382011)', '2026-08-10 20:17:14', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017768 -3.381867)'), GeomFromEWKT('SRID=4674;POINT (-39.017833 -3.382011)'))) / (select extract(epoch from '2026-08-10 20:17:14'::timestamp) - extract(epoch from '2026-08-10 20:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017768 -3.381867)'), GeomFromEWKT('SRID=4674;POINT (-39.017833 -3.382011)'))) / (select extract(epoch from '2026-08-10 20:17:14'::timestamp) - extract(epoch from '2026-08-10 20:17: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'), 48138, 'SRID=4674;POINT (-39.017892 -3.382137)', '2026-08-10 20:17:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017833 -3.382011)'), GeomFromEWKT('SRID=4674;POINT (-39.017892 -3.382137)'))) / (select extract(epoch from '2026-08-10 20:17:20'::timestamp) - extract(epoch from '2026-08-10 20:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017833 -3.382011)'), GeomFromEWKT('SRID=4674;POINT (-39.017892 -3.382137)'))) / (select extract(epoch from '2026-08-10 20:17:20'::timestamp) - extract(epoch from '2026-08-10 20:17: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'), 48138, 'SRID=4674;POINT (-39.017942 -3.382262)', '2026-08-10 20:17:26', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017892 -3.382137)'), GeomFromEWKT('SRID=4674;POINT (-39.017942 -3.382262)'))) / (select extract(epoch from '2026-08-10 20:17:26'::timestamp) - extract(epoch from '2026-08-10 20:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017892 -3.382137)'), GeomFromEWKT('SRID=4674;POINT (-39.017942 -3.382262)'))) / (select extract(epoch from '2026-08-10 20:17:26'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.017996 -3.38238)', '2026-08-10 20:17:32', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017942 -3.382262)'), GeomFromEWKT('SRID=4674;POINT (-39.017996 -3.38238)'))) / (select extract(epoch from '2026-08-10 20:17:32'::timestamp) - extract(epoch from '2026-08-10 20:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017942 -3.382262)'), GeomFromEWKT('SRID=4674;POINT (-39.017996 -3.38238)'))) / (select extract(epoch from '2026-08-10 20:17:32'::timestamp) - extract(epoch from '2026-08-10 20:17: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'), 48138, 'SRID=4674;POINT (-39.018051 -3.382499)', '2026-08-10 20:17:38', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017996 -3.38238)'), GeomFromEWKT('SRID=4674;POINT (-39.018051 -3.382499)'))) / (select extract(epoch from '2026-08-10 20:17:38'::timestamp) - extract(epoch from '2026-08-10 20:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017996 -3.38238)'), GeomFromEWKT('SRID=4674;POINT (-39.018051 -3.382499)'))) / (select extract(epoch from '2026-08-10 20:17:38'::timestamp) - extract(epoch from '2026-08-10 20:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018123 -3.382655)', '2026-08-10 20:17:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018051 -3.382499)'), GeomFromEWKT('SRID=4674;POINT (-39.018123 -3.382655)'))) / (select extract(epoch from '2026-08-10 20:17:46'::timestamp) - extract(epoch from '2026-08-10 20:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018051 -3.382499)'), GeomFromEWKT('SRID=4674;POINT (-39.018123 -3.382655)'))) / (select extract(epoch from '2026-08-10 20:17:46'::timestamp) - extract(epoch from '2026-08-10 20:17: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'), 48138, 'SRID=4674;POINT (-39.018191 -3.382776)', '2026-08-10 20:17:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018123 -3.382655)'), GeomFromEWKT('SRID=4674;POINT (-39.018191 -3.382776)'))) / (select extract(epoch from '2026-08-10 20:17:52'::timestamp) - extract(epoch from '2026-08-10 20:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018123 -3.382655)'), GeomFromEWKT('SRID=4674;POINT (-39.018191 -3.382776)'))) / (select extract(epoch from '2026-08-10 20:17:52'::timestamp) - extract(epoch from '2026-08-10 20:17: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'), 48138, 'SRID=4674;POINT (-39.018263 -3.382891)', '2026-08-10 20:17:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018191 -3.382776)'), GeomFromEWKT('SRID=4674;POINT (-39.018263 -3.382891)'))) / (select extract(epoch from '2026-08-10 20:17:58'::timestamp) - extract(epoch from '2026-08-10 20:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018191 -3.382776)'), GeomFromEWKT('SRID=4674;POINT (-39.018263 -3.382891)'))) / (select extract(epoch from '2026-08-10 20:17:58'::timestamp) - extract(epoch from '2026-08-10 20:17: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'), 48138, 'SRID=4674;POINT (-39.018297 -3.382988)', '2026-08-10 20:18:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018263 -3.382891)'), GeomFromEWKT('SRID=4674;POINT (-39.018297 -3.382988)'))) / (select extract(epoch from '2026-08-10 20:18:03'::timestamp) - extract(epoch from '2026-08-10 20:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018263 -3.382891)'), GeomFromEWKT('SRID=4674;POINT (-39.018297 -3.382988)'))) / (select extract(epoch from '2026-08-10 20:18:03'::timestamp) - extract(epoch from '2026-08-10 20:17: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'), 48138, 'SRID=4674;POINT (-39.018358 -3.383134)', '2026-08-10 20:18:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018297 -3.382988)'), GeomFromEWKT('SRID=4674;POINT (-39.018358 -3.383134)'))) / (select extract(epoch from '2026-08-10 20:18:10'::timestamp) - extract(epoch from '2026-08-10 20:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018297 -3.382988)'), GeomFromEWKT('SRID=4674;POINT (-39.018358 -3.383134)'))) / (select extract(epoch from '2026-08-10 20:18:10'::timestamp) - extract(epoch from '2026-08-10 20:18: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'), 48138, 'SRID=4674;POINT (-39.018427 -3.383237)', '2026-08-10 20:18:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018358 -3.383134)'), GeomFromEWKT('SRID=4674;POINT (-39.018427 -3.383237)'))) / (select extract(epoch from '2026-08-10 20:18:15'::timestamp) - extract(epoch from '2026-08-10 20:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018358 -3.383134)'), GeomFromEWKT('SRID=4674;POINT (-39.018427 -3.383237)'))) / (select extract(epoch from '2026-08-10 20:18:15'::timestamp) - extract(epoch from '2026-08-10 20:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018509 -3.38337)', '2026-08-10 20:18:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018427 -3.383237)'), GeomFromEWKT('SRID=4674;POINT (-39.018509 -3.38337)'))) / (select extract(epoch from '2026-08-10 20:18:22'::timestamp) - extract(epoch from '2026-08-10 20:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018427 -3.383237)'), GeomFromEWKT('SRID=4674;POINT (-39.018509 -3.38337)'))) / (select extract(epoch from '2026-08-10 20:18:22'::timestamp) - extract(epoch from '2026-08-10 20:18: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'), 48138, 'SRID=4674;POINT (-39.018569 -3.383485)', '2026-08-10 20:18:28', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018509 -3.38337)'), GeomFromEWKT('SRID=4674;POINT (-39.018569 -3.383485)'))) / (select extract(epoch from '2026-08-10 20:18:28'::timestamp) - extract(epoch from '2026-08-10 20:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018509 -3.38337)'), GeomFromEWKT('SRID=4674;POINT (-39.018569 -3.383485)'))) / (select extract(epoch from '2026-08-10 20:18:28'::timestamp) - extract(epoch from '2026-08-10 20:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018635 -3.383643)', '2026-08-10 20:18:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018569 -3.383485)'), GeomFromEWKT('SRID=4674;POINT (-39.018635 -3.383643)'))) / (select extract(epoch from '2026-08-10 20:18:36'::timestamp) - extract(epoch from '2026-08-10 20:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018569 -3.383485)'), GeomFromEWKT('SRID=4674;POINT (-39.018635 -3.383643)'))) / (select extract(epoch from '2026-08-10 20:18:36'::timestamp) - extract(epoch from '2026-08-10 20:18: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'), 48138, 'SRID=4674;POINT (-39.018717 -3.383786)', '2026-08-10 20:18:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018635 -3.383643)'), GeomFromEWKT('SRID=4674;POINT (-39.018717 -3.383786)'))) / (select extract(epoch from '2026-08-10 20:18:43'::timestamp) - extract(epoch from '2026-08-10 20:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018635 -3.383643)'), GeomFromEWKT('SRID=4674;POINT (-39.018717 -3.383786)'))) / (select extract(epoch from '2026-08-10 20:18:43'::timestamp) - extract(epoch from '2026-08-10 20:18:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018756 -3.383865)', '2026-08-10 20:18:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018717 -3.383786)'), GeomFromEWKT('SRID=4674;POINT (-39.018756 -3.383865)'))) / (select extract(epoch from '2026-08-10 20:18:47'::timestamp) - extract(epoch from '2026-08-10 20:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018717 -3.383786)'), GeomFromEWKT('SRID=4674;POINT (-39.018756 -3.383865)'))) / (select extract(epoch from '2026-08-10 20:18:47'::timestamp) - extract(epoch from '2026-08-10 20:18: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'), 48138, 'SRID=4674;POINT (-39.018837 -3.383952)', '2026-08-10 20:18:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018756 -3.383865)'), GeomFromEWKT('SRID=4674;POINT (-39.018837 -3.383952)'))) / (select extract(epoch from '2026-08-10 20:18:51'::timestamp) - extract(epoch from '2026-08-10 20:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018756 -3.383865)'), GeomFromEWKT('SRID=4674;POINT (-39.018837 -3.383952)'))) / (select extract(epoch from '2026-08-10 20:18:51'::timestamp) - extract(epoch from '2026-08-10 20:18: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'), 48138, 'SRID=4674;POINT (-39.018892 -3.38404)', '2026-08-10 20:18:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018837 -3.383952)'), GeomFromEWKT('SRID=4674;POINT (-39.018892 -3.38404)'))) / (select extract(epoch from '2026-08-10 20:18:56'::timestamp) - extract(epoch from '2026-08-10 20:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018837 -3.383952)'), GeomFromEWKT('SRID=4674;POINT (-39.018892 -3.38404)'))) / (select extract(epoch from '2026-08-10 20:18:56'::timestamp) - extract(epoch from '2026-08-10 20:18: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'), 48138, 'SRID=4674;POINT (-39.018948 -3.384179)', '2026-08-10 20:19:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018892 -3.38404)'), GeomFromEWKT('SRID=4674;POINT (-39.018948 -3.384179)'))) / (select extract(epoch from '2026-08-10 20:19:03'::timestamp) - extract(epoch from '2026-08-10 20:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018892 -3.38404)'), GeomFromEWKT('SRID=4674;POINT (-39.018948 -3.384179)'))) / (select extract(epoch from '2026-08-10 20:19:03'::timestamp) - extract(epoch from '2026-08-10 20:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01902 -3.384342)', '2026-08-10 20:19:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018948 -3.384179)'), GeomFromEWKT('SRID=4674;POINT (-39.01902 -3.384342)'))) / (select extract(epoch from '2026-08-10 20:19:11'::timestamp) - extract(epoch from '2026-08-10 20:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018948 -3.384179)'), GeomFromEWKT('SRID=4674;POINT (-39.01902 -3.384342)'))) / (select extract(epoch from '2026-08-10 20:19:11'::timestamp) - extract(epoch from '2026-08-10 20:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019069 -3.384442)', '2026-08-10 20:19:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01902 -3.384342)'), GeomFromEWKT('SRID=4674;POINT (-39.019069 -3.384442)'))) / (select extract(epoch from '2026-08-10 20:19:16'::timestamp) - extract(epoch from '2026-08-10 20:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01902 -3.384342)'), GeomFromEWKT('SRID=4674;POINT (-39.019069 -3.384442)'))) / (select extract(epoch from '2026-08-10 20:19:16'::timestamp) - extract(epoch from '2026-08-10 20:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019132 -3.38456)', '2026-08-10 20:19:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019069 -3.384442)'), GeomFromEWKT('SRID=4674;POINT (-39.019132 -3.38456)'))) / (select extract(epoch from '2026-08-10 20:19:22'::timestamp) - extract(epoch from '2026-08-10 20:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019069 -3.384442)'), GeomFromEWKT('SRID=4674;POINT (-39.019132 -3.38456)'))) / (select extract(epoch from '2026-08-10 20:19:22'::timestamp) - extract(epoch from '2026-08-10 20:19: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'), 48138, 'SRID=4674;POINT (-39.019208 -3.384669)', '2026-08-10 20:19:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019132 -3.38456)'), GeomFromEWKT('SRID=4674;POINT (-39.019208 -3.384669)'))) / (select extract(epoch from '2026-08-10 20:19:27'::timestamp) - extract(epoch from '2026-08-10 20:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019132 -3.38456)'), GeomFromEWKT('SRID=4674;POINT (-39.019208 -3.384669)'))) / (select extract(epoch from '2026-08-10 20:19:27'::timestamp) - extract(epoch from '2026-08-10 20:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019273 -3.384745)', '2026-08-10 20:19:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019208 -3.384669)'), GeomFromEWKT('SRID=4674;POINT (-39.019273 -3.384745)'))) / (select extract(epoch from '2026-08-10 20:19:32'::timestamp) - extract(epoch from '2026-08-10 20:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019208 -3.384669)'), GeomFromEWKT('SRID=4674;POINT (-39.019273 -3.384745)'))) / (select extract(epoch from '2026-08-10 20:19:32'::timestamp) - extract(epoch from '2026-08-10 20:19: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'), 48138, 'SRID=4674;POINT (-39.019353 -3.384879)', '2026-08-10 20:19:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019273 -3.384745)'), GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.384879)'))) / (select extract(epoch from '2026-08-10 20:19:39'::timestamp) - extract(epoch from '2026-08-10 20:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019273 -3.384745)'), GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.384879)'))) / (select extract(epoch from '2026-08-10 20:19:39'::timestamp) - extract(epoch from '2026-08-10 20:19: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'), 48138, 'SRID=4674;POINT (-39.019418 -3.384979)', '2026-08-10 20:19:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.384879)'), GeomFromEWKT('SRID=4674;POINT (-39.019418 -3.384979)'))) / (select extract(epoch from '2026-08-10 20:19:44'::timestamp) - extract(epoch from '2026-08-10 20:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.384879)'), GeomFromEWKT('SRID=4674;POINT (-39.019418 -3.384979)'))) / (select extract(epoch from '2026-08-10 20:19:44'::timestamp) - extract(epoch from '2026-08-10 20:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019492 -3.385132)', '2026-08-10 20:19:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019418 -3.384979)'), GeomFromEWKT('SRID=4674;POINT (-39.019492 -3.385132)'))) / (select extract(epoch from '2026-08-10 20:19:51'::timestamp) - extract(epoch from '2026-08-10 20:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019418 -3.384979)'), GeomFromEWKT('SRID=4674;POINT (-39.019492 -3.385132)'))) / (select extract(epoch from '2026-08-10 20:19:51'::timestamp) - extract(epoch from '2026-08-10 20:19: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'), 48138, 'SRID=4674;POINT (-39.019558 -3.385262)', '2026-08-10 20:19:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019492 -3.385132)'), GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.385262)'))) / (select extract(epoch from '2026-08-10 20:19:57'::timestamp) - extract(epoch from '2026-08-10 20:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019492 -3.385132)'), GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.385262)'))) / (select extract(epoch from '2026-08-10 20:19:57'::timestamp) - extract(epoch from '2026-08-10 20:19: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'), 48138, 'SRID=4674;POINT (-39.019632 -3.385414)', '2026-08-10 20:20:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.385262)'), GeomFromEWKT('SRID=4674;POINT (-39.019632 -3.385414)'))) / (select extract(epoch from '2026-08-10 20:20:04'::timestamp) - extract(epoch from '2026-08-10 20:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.385262)'), GeomFromEWKT('SRID=4674;POINT (-39.019632 -3.385414)'))) / (select extract(epoch from '2026-08-10 20:20:04'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.019704 -3.385539)', '2026-08-10 20:20:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019632 -3.385414)'), GeomFromEWKT('SRID=4674;POINT (-39.019704 -3.385539)'))) / (select extract(epoch from '2026-08-10 20:20:10'::timestamp) - extract(epoch from '2026-08-10 20:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019632 -3.385414)'), GeomFromEWKT('SRID=4674;POINT (-39.019704 -3.385539)'))) / (select extract(epoch from '2026-08-10 20:20:10'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.019754 -3.385637)', '2026-08-10 20:20:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019704 -3.385539)'), GeomFromEWKT('SRID=4674;POINT (-39.019754 -3.385637)'))) / (select extract(epoch from '2026-08-10 20:20:15'::timestamp) - extract(epoch from '2026-08-10 20:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019704 -3.385539)'), GeomFromEWKT('SRID=4674;POINT (-39.019754 -3.385637)'))) / (select extract(epoch from '2026-08-10 20:20:15'::timestamp) - extract(epoch from '2026-08-10 20:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019828 -3.385776)', '2026-08-10 20:20:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019754 -3.385637)'), GeomFromEWKT('SRID=4674;POINT (-39.019828 -3.385776)'))) / (select extract(epoch from '2026-08-10 20:20:22'::timestamp) - extract(epoch from '2026-08-10 20:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019754 -3.385637)'), GeomFromEWKT('SRID=4674;POINT (-39.019828 -3.385776)'))) / (select extract(epoch from '2026-08-10 20:20:22'::timestamp) - extract(epoch from '2026-08-10 20:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019905 -3.385893)', '2026-08-10 20:20:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019828 -3.385776)'), GeomFromEWKT('SRID=4674;POINT (-39.019905 -3.385893)'))) / (select extract(epoch from '2026-08-10 20:20:28'::timestamp) - extract(epoch from '2026-08-10 20:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019828 -3.385776)'), GeomFromEWKT('SRID=4674;POINT (-39.019905 -3.385893)'))) / (select extract(epoch from '2026-08-10 20:20:28'::timestamp) - extract(epoch from '2026-08-10 20:20: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'), 48138, 'SRID=4674;POINT (-39.020008 -3.386049)', '2026-08-10 20:20:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019905 -3.385893)'), GeomFromEWKT('SRID=4674;POINT (-39.020008 -3.386049)'))) / (select extract(epoch from '2026-08-10 20:20:36'::timestamp) - extract(epoch from '2026-08-10 20:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019905 -3.385893)'), GeomFromEWKT('SRID=4674;POINT (-39.020008 -3.386049)'))) / (select extract(epoch from '2026-08-10 20:20:36'::timestamp) - extract(epoch from '2026-08-10 20:20: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'), 48138, 'SRID=4674;POINT (-39.020074 -3.38616)', '2026-08-10 20:20:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020008 -3.386049)'), GeomFromEWKT('SRID=4674;POINT (-39.020074 -3.38616)'))) / (select extract(epoch from '2026-08-10 20:20:42'::timestamp) - extract(epoch from '2026-08-10 20:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020008 -3.386049)'), GeomFromEWKT('SRID=4674;POINT (-39.020074 -3.38616)'))) / (select extract(epoch from '2026-08-10 20:20:42'::timestamp) - extract(epoch from '2026-08-10 20:20: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'), 48138, 'SRID=4674;POINT (-39.020127 -3.386249)', '2026-08-10 20:20:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020074 -3.38616)'), GeomFromEWKT('SRID=4674;POINT (-39.020127 -3.386249)'))) / (select extract(epoch from '2026-08-10 20:20:47'::timestamp) - extract(epoch from '2026-08-10 20:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020074 -3.38616)'), GeomFromEWKT('SRID=4674;POINT (-39.020127 -3.386249)'))) / (select extract(epoch from '2026-08-10 20:20:47'::timestamp) - extract(epoch from '2026-08-10 20:20: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'), 48138, 'SRID=4674;POINT (-39.02019 -3.386377)', '2026-08-10 20:20:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020127 -3.386249)'), GeomFromEWKT('SRID=4674;POINT (-39.02019 -3.386377)'))) / (select extract(epoch from '2026-08-10 20:20:53'::timestamp) - extract(epoch from '2026-08-10 20:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020127 -3.386249)'), GeomFromEWKT('SRID=4674;POINT (-39.02019 -3.386377)'))) / (select extract(epoch from '2026-08-10 20:20:53'::timestamp) - extract(epoch from '2026-08-10 20:20: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'), 48138, 'SRID=4674;POINT (-39.020251 -3.386493)', '2026-08-10 20:20:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02019 -3.386377)'), GeomFromEWKT('SRID=4674;POINT (-39.020251 -3.386493)'))) / (select extract(epoch from '2026-08-10 20:20:59'::timestamp) - extract(epoch from '2026-08-10 20:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02019 -3.386377)'), GeomFromEWKT('SRID=4674;POINT (-39.020251 -3.386493)'))) / (select extract(epoch from '2026-08-10 20:20:59'::timestamp) - extract(epoch from '2026-08-10 20:20: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'), 48138, 'SRID=4674;POINT (-39.020311 -3.386573)', '2026-08-10 20:21:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020251 -3.386493)'), GeomFromEWKT('SRID=4674;POINT (-39.020311 -3.386573)'))) / (select extract(epoch from '2026-08-10 20:21:03'::timestamp) - extract(epoch from '2026-08-10 20:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020251 -3.386493)'), GeomFromEWKT('SRID=4674;POINT (-39.020311 -3.386573)'))) / (select extract(epoch from '2026-08-10 20:21:03'::timestamp) - extract(epoch from '2026-08-10 20:20: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'), 48138, 'SRID=4674;POINT (-39.020356 -3.386668)', '2026-08-10 20:21:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020311 -3.386573)'), GeomFromEWKT('SRID=4674;POINT (-39.020356 -3.386668)'))) / (select extract(epoch from '2026-08-10 20:21:08'::timestamp) - extract(epoch from '2026-08-10 20:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020311 -3.386573)'), GeomFromEWKT('SRID=4674;POINT (-39.020356 -3.386668)'))) / (select extract(epoch from '2026-08-10 20:21:08'::timestamp) - extract(epoch from '2026-08-10 20:21: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'), 48138, 'SRID=4674;POINT (-39.020422 -3.386788)', '2026-08-10 20:21:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020356 -3.386668)'), GeomFromEWKT('SRID=4674;POINT (-39.020422 -3.386788)'))) / (select extract(epoch from '2026-08-10 20:21:14'::timestamp) - extract(epoch from '2026-08-10 20:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020356 -3.386668)'), GeomFromEWKT('SRID=4674;POINT (-39.020422 -3.386788)'))) / (select extract(epoch from '2026-08-10 20:21:14'::timestamp) - extract(epoch from '2026-08-10 20:21:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020472 -3.386885)', '2026-08-10 20:21:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020422 -3.386788)'), GeomFromEWKT('SRID=4674;POINT (-39.020472 -3.386885)'))) / (select extract(epoch from '2026-08-10 20:21:19'::timestamp) - extract(epoch from '2026-08-10 20:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020422 -3.386788)'), GeomFromEWKT('SRID=4674;POINT (-39.020472 -3.386885)'))) / (select extract(epoch from '2026-08-10 20:21:19'::timestamp) - extract(epoch from '2026-08-10 20:21: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'), 48138, 'SRID=4674;POINT (-39.02054 -3.38697)', '2026-08-10 20:21:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020472 -3.386885)'), GeomFromEWKT('SRID=4674;POINT (-39.02054 -3.38697)'))) / (select extract(epoch from '2026-08-10 20:21:24'::timestamp) - extract(epoch from '2026-08-10 20:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020472 -3.386885)'), GeomFromEWKT('SRID=4674;POINT (-39.02054 -3.38697)'))) / (select extract(epoch from '2026-08-10 20:21:24'::timestamp) - extract(epoch from '2026-08-10 20:21: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'), 48138, 'SRID=4674;POINT (-39.02061 -3.387079)', '2026-08-10 20:21:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02054 -3.38697)'), GeomFromEWKT('SRID=4674;POINT (-39.02061 -3.387079)'))) / (select extract(epoch from '2026-08-10 20:21:30'::timestamp) - extract(epoch from '2026-08-10 20:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02054 -3.38697)'), GeomFromEWKT('SRID=4674;POINT (-39.02061 -3.387079)'))) / (select extract(epoch from '2026-08-10 20:21:30'::timestamp) - extract(epoch from '2026-08-10 20:21: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'), 48138, 'SRID=4674;POINT (-39.020672 -3.387171)', '2026-08-10 20:21:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02061 -3.387079)'), GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.387171)'))) / (select extract(epoch from '2026-08-10 20:21:34'::timestamp) - extract(epoch from '2026-08-10 20:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02061 -3.387079)'), GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.387171)'))) / (select extract(epoch from '2026-08-10 20:21:34'::timestamp) - extract(epoch from '2026-08-10 20:21: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'), 48138, 'SRID=4674;POINT (-39.020732 -3.387244)', '2026-08-10 20:21:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.387171)'), GeomFromEWKT('SRID=4674;POINT (-39.020732 -3.387244)'))) / (select extract(epoch from '2026-08-10 20:21:38'::timestamp) - extract(epoch from '2026-08-10 20:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.387171)'), GeomFromEWKT('SRID=4674;POINT (-39.020732 -3.387244)'))) / (select extract(epoch from '2026-08-10 20:21:38'::timestamp) - extract(epoch from '2026-08-10 20:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020784 -3.387307)', '2026-08-10 20:21:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020732 -3.387244)'), GeomFromEWKT('SRID=4674;POINT (-39.020784 -3.387307)'))) / (select extract(epoch from '2026-08-10 20:21:42'::timestamp) - extract(epoch from '2026-08-10 20:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020732 -3.387244)'), GeomFromEWKT('SRID=4674;POINT (-39.020784 -3.387307)'))) / (select extract(epoch from '2026-08-10 20:21:42'::timestamp) - extract(epoch from '2026-08-10 20:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020851 -3.387435)', '2026-08-10 20:21:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020784 -3.387307)'), GeomFromEWKT('SRID=4674;POINT (-39.020851 -3.387435)'))) / (select extract(epoch from '2026-08-10 20:21:49'::timestamp) - extract(epoch from '2026-08-10 20:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020784 -3.387307)'), GeomFromEWKT('SRID=4674;POINT (-39.020851 -3.387435)'))) / (select extract(epoch from '2026-08-10 20:21:49'::timestamp) - extract(epoch from '2026-08-10 20:21: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'), 48138, 'SRID=4674;POINT (-39.02091 -3.387526)', '2026-08-10 20:21:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020851 -3.387435)'), GeomFromEWKT('SRID=4674;POINT (-39.02091 -3.387526)'))) / (select extract(epoch from '2026-08-10 20:21:54'::timestamp) - extract(epoch from '2026-08-10 20:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020851 -3.387435)'), GeomFromEWKT('SRID=4674;POINT (-39.02091 -3.387526)'))) / (select extract(epoch from '2026-08-10 20:21:54'::timestamp) - extract(epoch from '2026-08-10 20:21: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'), 48138, 'SRID=4674;POINT (-39.020992 -3.387639)', '2026-08-10 20:22:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02091 -3.387526)'), GeomFromEWKT('SRID=4674;POINT (-39.020992 -3.387639)'))) / (select extract(epoch from '2026-08-10 20:22:00'::timestamp) - extract(epoch from '2026-08-10 20:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02091 -3.387526)'), GeomFromEWKT('SRID=4674;POINT (-39.020992 -3.387639)'))) / (select extract(epoch from '2026-08-10 20:22:00'::timestamp) - extract(epoch from '2026-08-10 20:21: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'), 48138, 'SRID=4674;POINT (-39.02106 -3.387717)', '2026-08-10 20:22:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020992 -3.387639)'), GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.387717)'))) / (select extract(epoch from '2026-08-10 20:22:05'::timestamp) - extract(epoch from '2026-08-10 20:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020992 -3.387639)'), GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.387717)'))) / (select extract(epoch from '2026-08-10 20:22:05'::timestamp) - extract(epoch from '2026-08-10 20:22: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'), 48138, 'SRID=4674;POINT (-39.02113 -3.387824)', '2026-08-10 20:22:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.387717)'), GeomFromEWKT('SRID=4674;POINT (-39.02113 -3.387824)'))) / (select extract(epoch from '2026-08-10 20:22:10'::timestamp) - extract(epoch from '2026-08-10 20:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.387717)'), GeomFromEWKT('SRID=4674;POINT (-39.02113 -3.387824)'))) / (select extract(epoch from '2026-08-10 20:22:10'::timestamp) - extract(epoch from '2026-08-10 20:22: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'), 48138, 'SRID=4674;POINT (-39.021208 -3.387943)', '2026-08-10 20:22:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02113 -3.387824)'), GeomFromEWKT('SRID=4674;POINT (-39.021208 -3.387943)'))) / (select extract(epoch from '2026-08-10 20:22:16'::timestamp) - extract(epoch from '2026-08-10 20:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02113 -3.387824)'), GeomFromEWKT('SRID=4674;POINT (-39.021208 -3.387943)'))) / (select extract(epoch from '2026-08-10 20:22:16'::timestamp) - extract(epoch from '2026-08-10 20:22: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'), 48138, 'SRID=4674;POINT (-39.021262 -3.388037)', '2026-08-10 20:22:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021208 -3.387943)'), GeomFromEWKT('SRID=4674;POINT (-39.021262 -3.388037)'))) / (select extract(epoch from '2026-08-10 20:22:21'::timestamp) - extract(epoch from '2026-08-10 20:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021208 -3.387943)'), GeomFromEWKT('SRID=4674;POINT (-39.021262 -3.388037)'))) / (select extract(epoch from '2026-08-10 20:22:21'::timestamp) - extract(epoch from '2026-08-10 20:22: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'), 48138, 'SRID=4674;POINT (-39.021325 -3.388135)', '2026-08-10 20:22:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021262 -3.388037)'), GeomFromEWKT('SRID=4674;POINT (-39.021325 -3.388135)'))) / (select extract(epoch from '2026-08-10 20:22:26'::timestamp) - extract(epoch from '2026-08-10 20:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021262 -3.388037)'), GeomFromEWKT('SRID=4674;POINT (-39.021325 -3.388135)'))) / (select extract(epoch from '2026-08-10 20:22:26'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.021391 -3.38825)', '2026-08-10 20:22:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021325 -3.388135)'), GeomFromEWKT('SRID=4674;POINT (-39.021391 -3.38825)'))) / (select extract(epoch from '2026-08-10 20:22:32'::timestamp) - extract(epoch from '2026-08-10 20:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021325 -3.388135)'), GeomFromEWKT('SRID=4674;POINT (-39.021391 -3.38825)'))) / (select extract(epoch from '2026-08-10 20:22:32'::timestamp) - extract(epoch from '2026-08-10 20:22: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'), 48138, 'SRID=4674;POINT (-39.021447 -3.388357)', '2026-08-10 20:22:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021391 -3.38825)'), GeomFromEWKT('SRID=4674;POINT (-39.021447 -3.388357)'))) / (select extract(epoch from '2026-08-10 20:22:38'::timestamp) - extract(epoch from '2026-08-10 20:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021391 -3.38825)'), GeomFromEWKT('SRID=4674;POINT (-39.021447 -3.388357)'))) / (select extract(epoch from '2026-08-10 20:22:38'::timestamp) - extract(epoch from '2026-08-10 20:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021538 -3.38849)', '2026-08-10 20:22:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021447 -3.388357)'), GeomFromEWKT('SRID=4674;POINT (-39.021538 -3.38849)'))) / (select extract(epoch from '2026-08-10 20:22:45'::timestamp) - extract(epoch from '2026-08-10 20:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021447 -3.388357)'), GeomFromEWKT('SRID=4674;POINT (-39.021538 -3.38849)'))) / (select extract(epoch from '2026-08-10 20:22:45'::timestamp) - extract(epoch from '2026-08-10 20:22: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'), 48138, 'SRID=4674;POINT (-39.021629 -3.38863)', '2026-08-10 20:22:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021538 -3.38849)'), GeomFromEWKT('SRID=4674;POINT (-39.021629 -3.38863)'))) / (select extract(epoch from '2026-08-10 20:22:52'::timestamp) - extract(epoch from '2026-08-10 20:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021538 -3.38849)'), GeomFromEWKT('SRID=4674;POINT (-39.021629 -3.38863)'))) / (select extract(epoch from '2026-08-10 20:22:52'::timestamp) - extract(epoch from '2026-08-10 20:22: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'), 48138, 'SRID=4674;POINT (-39.021701 -3.38875)', '2026-08-10 20:22:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021629 -3.38863)'), GeomFromEWKT('SRID=4674;POINT (-39.021701 -3.38875)'))) / (select extract(epoch from '2026-08-10 20:22:58'::timestamp) - extract(epoch from '2026-08-10 20:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021629 -3.38863)'), GeomFromEWKT('SRID=4674;POINT (-39.021701 -3.38875)'))) / (select extract(epoch from '2026-08-10 20:22:58'::timestamp) - extract(epoch from '2026-08-10 20:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021767 -3.388855)', '2026-08-10 20:23:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021701 -3.38875)'), GeomFromEWKT('SRID=4674;POINT (-39.021767 -3.388855)'))) / (select extract(epoch from '2026-08-10 20:23:04'::timestamp) - extract(epoch from '2026-08-10 20:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021701 -3.38875)'), GeomFromEWKT('SRID=4674;POINT (-39.021767 -3.388855)'))) / (select extract(epoch from '2026-08-10 20:23:04'::timestamp) - extract(epoch from '2026-08-10 20:22:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021826 -3.38897)', '2026-08-10 20:23:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021767 -3.388855)'), GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.38897)'))) / (select extract(epoch from '2026-08-10 20:23:09'::timestamp) - extract(epoch from '2026-08-10 20:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021767 -3.388855)'), GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.38897)'))) / (select extract(epoch from '2026-08-10 20:23:09'::timestamp) - extract(epoch from '2026-08-10 20:23: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'), 48138, 'SRID=4674;POINT (-39.021894 -3.38909)', '2026-08-10 20:23:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.38897)'), GeomFromEWKT('SRID=4674;POINT (-39.021894 -3.38909)'))) / (select extract(epoch from '2026-08-10 20:23:15'::timestamp) - extract(epoch from '2026-08-10 20:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.38897)'), GeomFromEWKT('SRID=4674;POINT (-39.021894 -3.38909)'))) / (select extract(epoch from '2026-08-10 20:23:15'::timestamp) - extract(epoch from '2026-08-10 20:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021946 -3.389194)', '2026-08-10 20:23:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021894 -3.38909)'), GeomFromEWKT('SRID=4674;POINT (-39.021946 -3.389194)'))) / (select extract(epoch from '2026-08-10 20:23:20'::timestamp) - extract(epoch from '2026-08-10 20:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021894 -3.38909)'), GeomFromEWKT('SRID=4674;POINT (-39.021946 -3.389194)'))) / (select extract(epoch from '2026-08-10 20:23:20'::timestamp) - extract(epoch from '2026-08-10 20:23: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'), 48138, 'SRID=4674;POINT (-39.022004 -3.389312)', '2026-08-10 20:23:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021946 -3.389194)'), GeomFromEWKT('SRID=4674;POINT (-39.022004 -3.389312)'))) / (select extract(epoch from '2026-08-10 20:23:26'::timestamp) - extract(epoch from '2026-08-10 20:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021946 -3.389194)'), GeomFromEWKT('SRID=4674;POINT (-39.022004 -3.389312)'))) / (select extract(epoch from '2026-08-10 20:23:26'::timestamp) - extract(epoch from '2026-08-10 20:23: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'), 48138, 'SRID=4674;POINT (-39.022053 -3.389438)', '2026-08-10 20:23:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022004 -3.389312)'), GeomFromEWKT('SRID=4674;POINT (-39.022053 -3.389438)'))) / (select extract(epoch from '2026-08-10 20:23:32'::timestamp) - extract(epoch from '2026-08-10 20:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022004 -3.389312)'), GeomFromEWKT('SRID=4674;POINT (-39.022053 -3.389438)'))) / (select extract(epoch from '2026-08-10 20:23:32'::timestamp) - extract(epoch from '2026-08-10 20:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022113 -3.389553)', '2026-08-10 20:23:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022053 -3.389438)'), GeomFromEWKT('SRID=4674;POINT (-39.022113 -3.389553)'))) / (select extract(epoch from '2026-08-10 20:23:37'::timestamp) - extract(epoch from '2026-08-10 20:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022053 -3.389438)'), GeomFromEWKT('SRID=4674;POINT (-39.022113 -3.389553)'))) / (select extract(epoch from '2026-08-10 20:23:37'::timestamp) - extract(epoch from '2026-08-10 20:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022145 -3.389622)', '2026-08-10 20:23:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022113 -3.389553)'), GeomFromEWKT('SRID=4674;POINT (-39.022145 -3.389622)'))) / (select extract(epoch from '2026-08-10 20:23:41'::timestamp) - extract(epoch from '2026-08-10 20:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022113 -3.389553)'), GeomFromEWKT('SRID=4674;POINT (-39.022145 -3.389622)'))) / (select extract(epoch from '2026-08-10 20:23:41'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.022215 -3.389746)', '2026-08-10 20:23:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022145 -3.389622)'), GeomFromEWKT('SRID=4674;POINT (-39.022215 -3.389746)'))) / (select extract(epoch from '2026-08-10 20:23:47'::timestamp) - extract(epoch from '2026-08-10 20:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022145 -3.389622)'), GeomFromEWKT('SRID=4674;POINT (-39.022215 -3.389746)'))) / (select extract(epoch from '2026-08-10 20:23:47'::timestamp) - extract(epoch from '2026-08-10 20:23: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'), 48138, 'SRID=4674;POINT (-39.022259 -3.389842)', '2026-08-10 20:23:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022215 -3.389746)'), GeomFromEWKT('SRID=4674;POINT (-39.022259 -3.389842)'))) / (select extract(epoch from '2026-08-10 20:23:52'::timestamp) - extract(epoch from '2026-08-10 20:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022215 -3.389746)'), GeomFromEWKT('SRID=4674;POINT (-39.022259 -3.389842)'))) / (select extract(epoch from '2026-08-10 20:23:52'::timestamp) - extract(epoch from '2026-08-10 20:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022319 -3.389986)', '2026-08-10 20:23:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022259 -3.389842)'), GeomFromEWKT('SRID=4674;POINT (-39.022319 -3.389986)'))) / (select extract(epoch from '2026-08-10 20:23:59'::timestamp) - extract(epoch from '2026-08-10 20:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022259 -3.389842)'), GeomFromEWKT('SRID=4674;POINT (-39.022319 -3.389986)'))) / (select extract(epoch from '2026-08-10 20:23:59'::timestamp) - extract(epoch from '2026-08-10 20:23: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'), 48138, 'SRID=4674;POINT (-39.022385 -3.390117)', '2026-08-10 20:24:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022319 -3.389986)'), GeomFromEWKT('SRID=4674;POINT (-39.022385 -3.390117)'))) / (select extract(epoch from '2026-08-10 20:24:05'::timestamp) - extract(epoch from '2026-08-10 20:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022319 -3.389986)'), GeomFromEWKT('SRID=4674;POINT (-39.022385 -3.390117)'))) / (select extract(epoch from '2026-08-10 20:24:05'::timestamp) - extract(epoch from '2026-08-10 20:23: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'), 48138, 'SRID=4674;POINT (-39.022431 -3.390217)', '2026-08-10 20:24:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022385 -3.390117)'), GeomFromEWKT('SRID=4674;POINT (-39.022431 -3.390217)'))) / (select extract(epoch from '2026-08-10 20:24:10'::timestamp) - extract(epoch from '2026-08-10 20:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022385 -3.390117)'), GeomFromEWKT('SRID=4674;POINT (-39.022431 -3.390217)'))) / (select extract(epoch from '2026-08-10 20:24:10'::timestamp) - extract(epoch from '2026-08-10 20:24: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'), 48138, 'SRID=4674;POINT (-39.022479 -3.390341)', '2026-08-10 20:24:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022431 -3.390217)'), GeomFromEWKT('SRID=4674;POINT (-39.022479 -3.390341)'))) / (select extract(epoch from '2026-08-10 20:24:16'::timestamp) - extract(epoch from '2026-08-10 20:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022431 -3.390217)'), GeomFromEWKT('SRID=4674;POINT (-39.022479 -3.390341)'))) / (select extract(epoch from '2026-08-10 20:24:16'::timestamp) - extract(epoch from '2026-08-10 20:24: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'), 48138, 'SRID=4674;POINT (-39.022538 -3.390462)', '2026-08-10 20:24:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022479 -3.390341)'), GeomFromEWKT('SRID=4674;POINT (-39.022538 -3.390462)'))) / (select extract(epoch from '2026-08-10 20:24:22'::timestamp) - extract(epoch from '2026-08-10 20:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022479 -3.390341)'), GeomFromEWKT('SRID=4674;POINT (-39.022538 -3.390462)'))) / (select extract(epoch from '2026-08-10 20:24:22'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.022609 -3.390624)', '2026-08-10 20:24:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022538 -3.390462)'), GeomFromEWKT('SRID=4674;POINT (-39.022609 -3.390624)'))) / (select extract(epoch from '2026-08-10 20:24:30'::timestamp) - extract(epoch from '2026-08-10 20:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022538 -3.390462)'), GeomFromEWKT('SRID=4674;POINT (-39.022609 -3.390624)'))) / (select extract(epoch from '2026-08-10 20:24:30'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.022657 -3.39073)', '2026-08-10 20:24:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022609 -3.390624)'), GeomFromEWKT('SRID=4674;POINT (-39.022657 -3.39073)'))) / (select extract(epoch from '2026-08-10 20:24:35'::timestamp) - extract(epoch from '2026-08-10 20:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022609 -3.390624)'), GeomFromEWKT('SRID=4674;POINT (-39.022657 -3.39073)'))) / (select extract(epoch from '2026-08-10 20:24:35'::timestamp) - extract(epoch from '2026-08-10 20:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022732 -3.390895)', '2026-08-10 20:24:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022657 -3.39073)'), GeomFromEWKT('SRID=4674;POINT (-39.022732 -3.390895)'))) / (select extract(epoch from '2026-08-10 20:24:43'::timestamp) - extract(epoch from '2026-08-10 20:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022657 -3.39073)'), GeomFromEWKT('SRID=4674;POINT (-39.022732 -3.390895)'))) / (select extract(epoch from '2026-08-10 20:24:43'::timestamp) - extract(epoch from '2026-08-10 20:24: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'), 48138, 'SRID=4674;POINT (-39.022786 -3.390993)', '2026-08-10 20:24:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022732 -3.390895)'), GeomFromEWKT('SRID=4674;POINT (-39.022786 -3.390993)'))) / (select extract(epoch from '2026-08-10 20:24:48'::timestamp) - extract(epoch from '2026-08-10 20:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022732 -3.390895)'), GeomFromEWKT('SRID=4674;POINT (-39.022786 -3.390993)'))) / (select extract(epoch from '2026-08-10 20:24:48'::timestamp) - extract(epoch from '2026-08-10 20:24: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'), 48138, 'SRID=4674;POINT (-39.022851 -3.391127)', '2026-08-10 20:24:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022786 -3.390993)'), GeomFromEWKT('SRID=4674;POINT (-39.022851 -3.391127)'))) / (select extract(epoch from '2026-08-10 20:24:54'::timestamp) - extract(epoch from '2026-08-10 20:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022786 -3.390993)'), GeomFromEWKT('SRID=4674;POINT (-39.022851 -3.391127)'))) / (select extract(epoch from '2026-08-10 20:24:54'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.022903 -3.39122)', '2026-08-10 20:24:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022851 -3.391127)'), GeomFromEWKT('SRID=4674;POINT (-39.022903 -3.39122)'))) / (select extract(epoch from '2026-08-10 20:24:59'::timestamp) - extract(epoch from '2026-08-10 20:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022851 -3.391127)'), GeomFromEWKT('SRID=4674;POINT (-39.022903 -3.39122)'))) / (select extract(epoch from '2026-08-10 20:24:59'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.022963 -3.391308)', '2026-08-10 20:25:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022903 -3.39122)'), GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.391308)'))) / (select extract(epoch from '2026-08-10 20:25:03'::timestamp) - extract(epoch from '2026-08-10 20:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022903 -3.39122)'), GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.391308)'))) / (select extract(epoch from '2026-08-10 20:25:03'::timestamp) - extract(epoch from '2026-08-10 20:24: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'), 48138, 'SRID=4674;POINT (-39.023023 -3.39142)', '2026-08-10 20:25:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.391308)'), GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.39142)'))) / (select extract(epoch from '2026-08-10 20:25:09'::timestamp) - extract(epoch from '2026-08-10 20:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.391308)'), GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.39142)'))) / (select extract(epoch from '2026-08-10 20:25:09'::timestamp) - extract(epoch from '2026-08-10 20:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023079 -3.391547)', '2026-08-10 20:25:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.39142)'), GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.391547)'))) / (select extract(epoch from '2026-08-10 20:25:15'::timestamp) - extract(epoch from '2026-08-10 20:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.39142)'), GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.391547)'))) / (select extract(epoch from '2026-08-10 20:25:15'::timestamp) - extract(epoch from '2026-08-10 20:25: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'), 48138, 'SRID=4674;POINT (-39.023149 -3.39164)', '2026-08-10 20:25:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.391547)'), GeomFromEWKT('SRID=4674;POINT (-39.023149 -3.39164)'))) / (select extract(epoch from '2026-08-10 20:25:20'::timestamp) - extract(epoch from '2026-08-10 20:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.391547)'), GeomFromEWKT('SRID=4674;POINT (-39.023149 -3.39164)'))) / (select extract(epoch from '2026-08-10 20:25:20'::timestamp) - extract(epoch from '2026-08-10 20:25: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'), 48138, 'SRID=4674;POINT (-39.023225 -3.391718)', '2026-08-10 20:25:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023149 -3.39164)'), GeomFromEWKT('SRID=4674;POINT (-39.023225 -3.391718)'))) / (select extract(epoch from '2026-08-10 20:25:25'::timestamp) - extract(epoch from '2026-08-10 20:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023149 -3.39164)'), GeomFromEWKT('SRID=4674;POINT (-39.023225 -3.391718)'))) / (select extract(epoch from '2026-08-10 20:25:25'::timestamp) - extract(epoch from '2026-08-10 20:25: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'), 48138, 'SRID=4674;POINT (-39.023315 -3.391807)', '2026-08-10 20:25:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023225 -3.391718)'), GeomFromEWKT('SRID=4674;POINT (-39.023315 -3.391807)'))) / (select extract(epoch from '2026-08-10 20:25:29'::timestamp) - extract(epoch from '2026-08-10 20:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023225 -3.391718)'), GeomFromEWKT('SRID=4674;POINT (-39.023315 -3.391807)'))) / (select extract(epoch from '2026-08-10 20:25:29'::timestamp) - extract(epoch from '2026-08-10 20:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023369 -3.391859)', '2026-08-10 20:25:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023315 -3.391807)'), GeomFromEWKT('SRID=4674;POINT (-39.023369 -3.391859)'))) / (select extract(epoch from '2026-08-10 20:25:33'::timestamp) - extract(epoch from '2026-08-10 20:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023315 -3.391807)'), GeomFromEWKT('SRID=4674;POINT (-39.023369 -3.391859)'))) / (select extract(epoch from '2026-08-10 20:25:33'::timestamp) - extract(epoch from '2026-08-10 20:25: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'), 48138, 'SRID=4674;POINT (-39.023441 -3.391969)', '2026-08-10 20:25:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023369 -3.391859)'), GeomFromEWKT('SRID=4674;POINT (-39.023441 -3.391969)'))) / (select extract(epoch from '2026-08-10 20:25:39'::timestamp) - extract(epoch from '2026-08-10 20:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023369 -3.391859)'), GeomFromEWKT('SRID=4674;POINT (-39.023441 -3.391969)'))) / (select extract(epoch from '2026-08-10 20:25:39'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.023538 -3.392124)', '2026-08-10 20:25:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023441 -3.391969)'), GeomFromEWKT('SRID=4674;POINT (-39.023538 -3.392124)'))) / (select extract(epoch from '2026-08-10 20:25:47'::timestamp) - extract(epoch from '2026-08-10 20:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023441 -3.391969)'), GeomFromEWKT('SRID=4674;POINT (-39.023538 -3.392124)'))) / (select extract(epoch from '2026-08-10 20:25:47'::timestamp) - extract(epoch from '2026-08-10 20:25: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'), 48138, 'SRID=4674;POINT (-39.023629 -3.392264)', '2026-08-10 20:25:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023538 -3.392124)'), GeomFromEWKT('SRID=4674;POINT (-39.023629 -3.392264)'))) / (select extract(epoch from '2026-08-10 20:25:54'::timestamp) - extract(epoch from '2026-08-10 20:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023538 -3.392124)'), GeomFromEWKT('SRID=4674;POINT (-39.023629 -3.392264)'))) / (select extract(epoch from '2026-08-10 20:25:54'::timestamp) - extract(epoch from '2026-08-10 20:25: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'), 48138, 'SRID=4674;POINT (-39.023737 -3.39243)', '2026-08-10 20:26:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023629 -3.392264)'), GeomFromEWKT('SRID=4674;POINT (-39.023737 -3.39243)'))) / (select extract(epoch from '2026-08-10 20:26:02'::timestamp) - extract(epoch from '2026-08-10 20:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023629 -3.392264)'), GeomFromEWKT('SRID=4674;POINT (-39.023737 -3.39243)'))) / (select extract(epoch from '2026-08-10 20:26:02'::timestamp) - extract(epoch from '2026-08-10 20:25: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'), 48138, 'SRID=4674;POINT (-39.023831 -3.392606)', '2026-08-10 20:26:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023737 -3.39243)'), GeomFromEWKT('SRID=4674;POINT (-39.023831 -3.392606)'))) / (select extract(epoch from '2026-08-10 20:26:11'::timestamp) - extract(epoch from '2026-08-10 20:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023737 -3.39243)'), GeomFromEWKT('SRID=4674;POINT (-39.023831 -3.392606)'))) / (select extract(epoch from '2026-08-10 20:26:11'::timestamp) - extract(epoch from '2026-08-10 20:26: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'), 48138, 'SRID=4674;POINT (-39.023892 -3.392723)', '2026-08-10 20:26:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023831 -3.392606)'), GeomFromEWKT('SRID=4674;POINT (-39.023892 -3.392723)'))) / (select extract(epoch from '2026-08-10 20:26:17'::timestamp) - extract(epoch from '2026-08-10 20:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023831 -3.392606)'), GeomFromEWKT('SRID=4674;POINT (-39.023892 -3.392723)'))) / (select extract(epoch from '2026-08-10 20:26:17'::timestamp) - extract(epoch from '2026-08-10 20:26: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'), 48138, 'SRID=4674;POINT (-39.023967 -3.392863)', '2026-08-10 20:26:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023892 -3.392723)'), GeomFromEWKT('SRID=4674;POINT (-39.023967 -3.392863)'))) / (select extract(epoch from '2026-08-10 20:26:24'::timestamp) - extract(epoch from '2026-08-10 20:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023892 -3.392723)'), GeomFromEWKT('SRID=4674;POINT (-39.023967 -3.392863)'))) / (select extract(epoch from '2026-08-10 20:26:24'::timestamp) - extract(epoch from '2026-08-10 20:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024024 -3.392961)', '2026-08-10 20:26:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023967 -3.392863)'), GeomFromEWKT('SRID=4674;POINT (-39.024024 -3.392961)'))) / (select extract(epoch from '2026-08-10 20:26:29'::timestamp) - extract(epoch from '2026-08-10 20:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023967 -3.392863)'), GeomFromEWKT('SRID=4674;POINT (-39.024024 -3.392961)'))) / (select extract(epoch from '2026-08-10 20:26:29'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.024101 -3.393106)', '2026-08-10 20:26:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024024 -3.392961)'), GeomFromEWKT('SRID=4674;POINT (-39.024101 -3.393106)'))) / (select extract(epoch from '2026-08-10 20:26:36'::timestamp) - extract(epoch from '2026-08-10 20:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024024 -3.392961)'), GeomFromEWKT('SRID=4674;POINT (-39.024101 -3.393106)'))) / (select extract(epoch from '2026-08-10 20:26:36'::timestamp) - extract(epoch from '2026-08-10 20:26: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'), 48138, 'SRID=4674;POINT (-39.02418 -3.393225)', '2026-08-10 20:26:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024101 -3.393106)'), GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.393225)'))) / (select extract(epoch from '2026-08-10 20:26:42'::timestamp) - extract(epoch from '2026-08-10 20:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024101 -3.393106)'), GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.393225)'))) / (select extract(epoch from '2026-08-10 20:26:42'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.02426 -3.393367)', '2026-08-10 20:26:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.393225)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.393367)'))) / (select extract(epoch from '2026-08-10 20:26:49'::timestamp) - extract(epoch from '2026-08-10 20:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.393225)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.393367)'))) / (select extract(epoch from '2026-08-10 20:26:49'::timestamp) - extract(epoch from '2026-08-10 20:26: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'), 48138, 'SRID=4674;POINT (-39.024318 -3.393489)', '2026-08-10 20:26:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.393367)'), GeomFromEWKT('SRID=4674;POINT (-39.024318 -3.393489)'))) / (select extract(epoch from '2026-08-10 20:26:55'::timestamp) - extract(epoch from '2026-08-10 20:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.393367)'), GeomFromEWKT('SRID=4674;POINT (-39.024318 -3.393489)'))) / (select extract(epoch from '2026-08-10 20:26:55'::timestamp) - extract(epoch from '2026-08-10 20:26:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024356 -3.393569)', '2026-08-10 20:26:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024318 -3.393489)'), GeomFromEWKT('SRID=4674;POINT (-39.024356 -3.393569)'))) / (select extract(epoch from '2026-08-10 20:26:59'::timestamp) - extract(epoch from '2026-08-10 20:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024318 -3.393489)'), GeomFromEWKT('SRID=4674;POINT (-39.024356 -3.393569)'))) / (select extract(epoch from '2026-08-10 20:26:59'::timestamp) - extract(epoch from '2026-08-10 20:26: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'), 48138, 'SRID=4674;POINT (-39.024408 -3.393692)', '2026-08-10 20:27:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024356 -3.393569)'), GeomFromEWKT('SRID=4674;POINT (-39.024408 -3.393692)'))) / (select extract(epoch from '2026-08-10 20:27:05'::timestamp) - extract(epoch from '2026-08-10 20:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024356 -3.393569)'), GeomFromEWKT('SRID=4674;POINT (-39.024408 -3.393692)'))) / (select extract(epoch from '2026-08-10 20:27:05'::timestamp) - extract(epoch from '2026-08-10 20:26: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'), 48138, 'SRID=4674;POINT (-39.024482 -3.393814)', '2026-08-10 20:27:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024408 -3.393692)'), GeomFromEWKT('SRID=4674;POINT (-39.024482 -3.393814)'))) / (select extract(epoch from '2026-08-10 20:27:11'::timestamp) - extract(epoch from '2026-08-10 20:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024408 -3.393692)'), GeomFromEWKT('SRID=4674;POINT (-39.024482 -3.393814)'))) / (select extract(epoch from '2026-08-10 20:27:11'::timestamp) - extract(epoch from '2026-08-10 20:27: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'), 48138, 'SRID=4674;POINT (-39.02454 -3.393909)', '2026-08-10 20:27:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024482 -3.393814)'), GeomFromEWKT('SRID=4674;POINT (-39.02454 -3.393909)'))) / (select extract(epoch from '2026-08-10 20:27:16'::timestamp) - extract(epoch from '2026-08-10 20:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024482 -3.393814)'), GeomFromEWKT('SRID=4674;POINT (-39.02454 -3.393909)'))) / (select extract(epoch from '2026-08-10 20:27:16'::timestamp) - extract(epoch from '2026-08-10 20:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02464 -3.394067)', '2026-08-10 20:27:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02454 -3.393909)'), GeomFromEWKT('SRID=4674;POINT (-39.02464 -3.394067)'))) / (select extract(epoch from '2026-08-10 20:27:24'::timestamp) - extract(epoch from '2026-08-10 20:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02454 -3.393909)'), GeomFromEWKT('SRID=4674;POINT (-39.02464 -3.394067)'))) / (select extract(epoch from '2026-08-10 20:27:24'::timestamp) - extract(epoch from '2026-08-10 20:27: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'), 48138, 'SRID=4674;POINT (-39.024716 -3.394186)', '2026-08-10 20:27:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02464 -3.394067)'), GeomFromEWKT('SRID=4674;POINT (-39.024716 -3.394186)'))) / (select extract(epoch from '2026-08-10 20:27:30'::timestamp) - extract(epoch from '2026-08-10 20:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02464 -3.394067)'), GeomFromEWKT('SRID=4674;POINT (-39.024716 -3.394186)'))) / (select extract(epoch from '2026-08-10 20:27:30'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.024786 -3.394286)', '2026-08-10 20:27:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024716 -3.394186)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.394286)'))) / (select extract(epoch from '2026-08-10 20:27:35'::timestamp) - extract(epoch from '2026-08-10 20:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024716 -3.394186)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.394286)'))) / (select extract(epoch from '2026-08-10 20:27:35'::timestamp) - extract(epoch from '2026-08-10 20:27: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'), 48138, 'SRID=4674;POINT (-39.024853 -3.394403)', '2026-08-10 20:27:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.394286)'), GeomFromEWKT('SRID=4674;POINT (-39.024853 -3.394403)'))) / (select extract(epoch from '2026-08-10 20:27:41'::timestamp) - extract(epoch from '2026-08-10 20:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.394286)'), GeomFromEWKT('SRID=4674;POINT (-39.024853 -3.394403)'))) / (select extract(epoch from '2026-08-10 20:27:41'::timestamp) - extract(epoch from '2026-08-10 20:27: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'), 48138, 'SRID=4674;POINT (-39.024926 -3.394524)', '2026-08-10 20:27:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024853 -3.394403)'), GeomFromEWKT('SRID=4674;POINT (-39.024926 -3.394524)'))) / (select extract(epoch from '2026-08-10 20:27:47'::timestamp) - extract(epoch from '2026-08-10 20:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024853 -3.394403)'), GeomFromEWKT('SRID=4674;POINT (-39.024926 -3.394524)'))) / (select extract(epoch from '2026-08-10 20:27:47'::timestamp) - extract(epoch from '2026-08-10 20:27: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'), 48138, 'SRID=4674;POINT (-39.024995 -3.394635)', '2026-08-10 20:27:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024926 -3.394524)'), GeomFromEWKT('SRID=4674;POINT (-39.024995 -3.394635)'))) / (select extract(epoch from '2026-08-10 20:27:53'::timestamp) - extract(epoch from '2026-08-10 20:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024926 -3.394524)'), GeomFromEWKT('SRID=4674;POINT (-39.024995 -3.394635)'))) / (select extract(epoch from '2026-08-10 20:27:53'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.025076 -3.394777)', '2026-08-10 20:28:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024995 -3.394635)'), GeomFromEWKT('SRID=4674;POINT (-39.025076 -3.394777)'))) / (select extract(epoch from '2026-08-10 20:28:00'::timestamp) - extract(epoch from '2026-08-10 20:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024995 -3.394635)'), GeomFromEWKT('SRID=4674;POINT (-39.025076 -3.394777)'))) / (select extract(epoch from '2026-08-10 20:28:00'::timestamp) - extract(epoch from '2026-08-10 20:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.025131 -3.394874)', '2026-08-10 20:28:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025076 -3.394777)'), GeomFromEWKT('SRID=4674;POINT (-39.025131 -3.394874)'))) / (select extract(epoch from '2026-08-10 20:28:05'::timestamp) - extract(epoch from '2026-08-10 20:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025076 -3.394777)'), GeomFromEWKT('SRID=4674;POINT (-39.025131 -3.394874)'))) / (select extract(epoch from '2026-08-10 20:28:05'::timestamp) - extract(epoch from '2026-08-10 20:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.025189 -3.39497)', '2026-08-10 20:28:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025131 -3.394874)'), GeomFromEWKT('SRID=4674;POINT (-39.025189 -3.39497)'))) / (select extract(epoch from '2026-08-10 20:28:10'::timestamp) - extract(epoch from '2026-08-10 20:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025131 -3.394874)'), GeomFromEWKT('SRID=4674;POINT (-39.025189 -3.39497)'))) / (select extract(epoch from '2026-08-10 20:28:10'::timestamp) - extract(epoch from '2026-08-10 20:28: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'), 48138, 'SRID=4674;POINT (-39.025268 -3.395106)', '2026-08-10 20:28:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025189 -3.39497)'), GeomFromEWKT('SRID=4674;POINT (-39.025268 -3.395106)'))) / (select extract(epoch from '2026-08-10 20:28:17'::timestamp) - extract(epoch from '2026-08-10 20:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025189 -3.39497)'), GeomFromEWKT('SRID=4674;POINT (-39.025268 -3.395106)'))) / (select extract(epoch from '2026-08-10 20:28:17'::timestamp) - extract(epoch from '2026-08-10 20:28: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'), 48138, 'SRID=4674;POINT (-39.025333 -3.395217)', '2026-08-10 20:28:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025268 -3.395106)'), GeomFromEWKT('SRID=4674;POINT (-39.025333 -3.395217)'))) / (select extract(epoch from '2026-08-10 20:28:23'::timestamp) - extract(epoch from '2026-08-10 20:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025268 -3.395106)'), GeomFromEWKT('SRID=4674;POINT (-39.025333 -3.395217)'))) / (select extract(epoch from '2026-08-10 20:28:23'::timestamp) - extract(epoch from '2026-08-10 20:28: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'), 48138, 'SRID=4674;POINT (-39.025412 -3.39533)', '2026-08-10 20:28:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025333 -3.395217)'), GeomFromEWKT('SRID=4674;POINT (-39.025412 -3.39533)'))) / (select extract(epoch from '2026-08-10 20:28:29'::timestamp) - extract(epoch from '2026-08-10 20:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025333 -3.395217)'), GeomFromEWKT('SRID=4674;POINT (-39.025412 -3.39533)'))) / (select extract(epoch from '2026-08-10 20:28:29'::timestamp) - extract(epoch from '2026-08-10 20:28: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'), 48138, 'SRID=4674;POINT (-39.025507 -3.395483)', '2026-08-10 20:28:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025412 -3.39533)'), GeomFromEWKT('SRID=4674;POINT (-39.025507 -3.395483)'))) / (select extract(epoch from '2026-08-10 20:28:37'::timestamp) - extract(epoch from '2026-08-10 20:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025412 -3.39533)'), GeomFromEWKT('SRID=4674;POINT (-39.025507 -3.395483)'))) / (select extract(epoch from '2026-08-10 20:28:37'::timestamp) - extract(epoch from '2026-08-10 20:28: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'), 48138, 'SRID=4674;POINT (-39.025588 -3.3956)', '2026-08-10 20:28:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025507 -3.395483)'), GeomFromEWKT('SRID=4674;POINT (-39.025588 -3.3956)'))) / (select extract(epoch from '2026-08-10 20:28:43'::timestamp) - extract(epoch from '2026-08-10 20:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025507 -3.395483)'), GeomFromEWKT('SRID=4674;POINT (-39.025588 -3.3956)'))) / (select extract(epoch from '2026-08-10 20:28:43'::timestamp) - extract(epoch from '2026-08-10 20:28: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'), 48138, 'SRID=4674;POINT (-39.025665 -3.395723)', '2026-08-10 20:28:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025588 -3.3956)'), GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.395723)'))) / (select extract(epoch from '2026-08-10 20:28:49'::timestamp) - extract(epoch from '2026-08-10 20:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025588 -3.3956)'), GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.395723)'))) / (select extract(epoch from '2026-08-10 20:28:49'::timestamp) - extract(epoch from '2026-08-10 20:28: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'), 48138, 'SRID=4674;POINT (-39.025766 -3.395873)', '2026-08-10 20:28:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.395723)'), GeomFromEWKT('SRID=4674;POINT (-39.025766 -3.395873)'))) / (select extract(epoch from '2026-08-10 20:28:57'::timestamp) - extract(epoch from '2026-08-10 20:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.395723)'), GeomFromEWKT('SRID=4674;POINT (-39.025766 -3.395873)'))) / (select extract(epoch from '2026-08-10 20:28:57'::timestamp) - extract(epoch from '2026-08-10 20:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.025874 -3.396007)', '2026-08-10 20:29:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025766 -3.395873)'), GeomFromEWKT('SRID=4674;POINT (-39.025874 -3.396007)'))) / (select extract(epoch from '2026-08-10 20:29:04'::timestamp) - extract(epoch from '2026-08-10 20:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025766 -3.395873)'), GeomFromEWKT('SRID=4674;POINT (-39.025874 -3.396007)'))) / (select extract(epoch from '2026-08-10 20:29:04'::timestamp) - extract(epoch from '2026-08-10 20:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.025943 -3.396097)', '2026-08-10 20:29:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025874 -3.396007)'), GeomFromEWKT('SRID=4674;POINT (-39.025943 -3.396097)'))) / (select extract(epoch from '2026-08-10 20:29:09'::timestamp) - extract(epoch from '2026-08-10 20:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025874 -3.396007)'), GeomFromEWKT('SRID=4674;POINT (-39.025943 -3.396097)'))) / (select extract(epoch from '2026-08-10 20:29:09'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.026044 -3.396225)', '2026-08-10 20:29:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025943 -3.396097)'), GeomFromEWKT('SRID=4674;POINT (-39.026044 -3.396225)'))) / (select extract(epoch from '2026-08-10 20:29:16'::timestamp) - extract(epoch from '2026-08-10 20:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025943 -3.396097)'), GeomFromEWKT('SRID=4674;POINT (-39.026044 -3.396225)'))) / (select extract(epoch from '2026-08-10 20:29:16'::timestamp) - extract(epoch from '2026-08-10 20:29: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'), 48138, 'SRID=4674;POINT (-39.026124 -3.396363)', '2026-08-10 20:29:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026044 -3.396225)'), GeomFromEWKT('SRID=4674;POINT (-39.026124 -3.396363)'))) / (select extract(epoch from '2026-08-10 20:29:23'::timestamp) - extract(epoch from '2026-08-10 20:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026044 -3.396225)'), GeomFromEWKT('SRID=4674;POINT (-39.026124 -3.396363)'))) / (select extract(epoch from '2026-08-10 20:29:23'::timestamp) - extract(epoch from '2026-08-10 20:29: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'), 48138, 'SRID=4674;POINT (-39.026214 -3.396506)', '2026-08-10 20:29:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026124 -3.396363)'), GeomFromEWKT('SRID=4674;POINT (-39.026214 -3.396506)'))) / (select extract(epoch from '2026-08-10 20:29:30'::timestamp) - extract(epoch from '2026-08-10 20:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026124 -3.396363)'), GeomFromEWKT('SRID=4674;POINT (-39.026214 -3.396506)'))) / (select extract(epoch from '2026-08-10 20:29:30'::timestamp) - extract(epoch from '2026-08-10 20:29: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'), 48138, 'SRID=4674;POINT (-39.026267 -3.39661)', '2026-08-10 20:29:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026214 -3.396506)'), GeomFromEWKT('SRID=4674;POINT (-39.026267 -3.39661)'))) / (select extract(epoch from '2026-08-10 20:29:35'::timestamp) - extract(epoch from '2026-08-10 20:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026214 -3.396506)'), GeomFromEWKT('SRID=4674;POINT (-39.026267 -3.39661)'))) / (select extract(epoch from '2026-08-10 20:29:35'::timestamp) - extract(epoch from '2026-08-10 20:29:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.026354 -3.396776)', '2026-08-10 20:29:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026267 -3.39661)'), GeomFromEWKT('SRID=4674;POINT (-39.026354 -3.396776)'))) / (select extract(epoch from '2026-08-10 20:29:43'::timestamp) - extract(epoch from '2026-08-10 20:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026267 -3.39661)'), GeomFromEWKT('SRID=4674;POINT (-39.026354 -3.396776)'))) / (select extract(epoch from '2026-08-10 20:29:43'::timestamp) - extract(epoch from '2026-08-10 20:29: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'), 48138, 'SRID=4674;POINT (-39.026429 -3.396909)', '2026-08-10 20:29:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026354 -3.396776)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.396909)'))) / (select extract(epoch from '2026-08-10 20:29:50'::timestamp) - extract(epoch from '2026-08-10 20:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026354 -3.396776)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.396909)'))) / (select extract(epoch from '2026-08-10 20:29:50'::timestamp) - extract(epoch from '2026-08-10 20:29:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.026516 -3.397042)', '2026-08-10 20:29:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.396909)'), GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.397042)'))) / (select extract(epoch from '2026-08-10 20:29:57'::timestamp) - extract(epoch from '2026-08-10 20:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.396909)'), GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.397042)'))) / (select extract(epoch from '2026-08-10 20:29:57'::timestamp) - extract(epoch from '2026-08-10 20:29: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'), 48138, 'SRID=4674;POINT (-39.026582 -3.397155)', '2026-08-10 20:30:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.397042)'), GeomFromEWKT('SRID=4674;POINT (-39.026582 -3.397155)'))) / (select extract(epoch from '2026-08-10 20:30:03'::timestamp) - extract(epoch from '2026-08-10 20:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.397042)'), GeomFromEWKT('SRID=4674;POINT (-39.026582 -3.397155)'))) / (select extract(epoch from '2026-08-10 20:30:03'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.026672 -3.397282)', '2026-08-10 20:30:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026582 -3.397155)'), GeomFromEWKT('SRID=4674;POINT (-39.026672 -3.397282)'))) / (select extract(epoch from '2026-08-10 20:30:10'::timestamp) - extract(epoch from '2026-08-10 20:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026582 -3.397155)'), GeomFromEWKT('SRID=4674;POINT (-39.026672 -3.397282)'))) / (select extract(epoch from '2026-08-10 20:30:10'::timestamp) - extract(epoch from '2026-08-10 20:30: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'), 48138, 'SRID=4674;POINT (-39.026777 -3.397436)', '2026-08-10 20:30:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026672 -3.397282)'), GeomFromEWKT('SRID=4674;POINT (-39.026777 -3.397436)'))) / (select extract(epoch from '2026-08-10 20:30:18'::timestamp) - extract(epoch from '2026-08-10 20:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026672 -3.397282)'), GeomFromEWKT('SRID=4674;POINT (-39.026777 -3.397436)'))) / (select extract(epoch from '2026-08-10 20:30:18'::timestamp) - extract(epoch from '2026-08-10 20:30: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'), 48138, 'SRID=4674;POINT (-39.026806 -3.397475)', '2026-08-10 20:30:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026777 -3.397436)'), GeomFromEWKT('SRID=4674;POINT (-39.026806 -3.397475)'))) / (select extract(epoch from '2026-08-10 20:30:20'::timestamp) - extract(epoch from '2026-08-10 20:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026777 -3.397436)'), GeomFromEWKT('SRID=4674;POINT (-39.026806 -3.397475)'))) / (select extract(epoch from '2026-08-10 20:30:20'::timestamp) - extract(epoch from '2026-08-10 20:30: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'), 48138, 'SRID=4674;POINT (-39.026904 -3.397628)', '2026-08-10 20:30:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026806 -3.397475)'), GeomFromEWKT('SRID=4674;POINT (-39.026904 -3.397628)'))) / (select extract(epoch from '2026-08-10 20:30:28'::timestamp) - extract(epoch from '2026-08-10 20:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026806 -3.397475)'), GeomFromEWKT('SRID=4674;POINT (-39.026904 -3.397628)'))) / (select extract(epoch from '2026-08-10 20:30:28'::timestamp) - extract(epoch from '2026-08-10 20:30: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'), 48138, 'SRID=4674;POINT (-39.026959 -3.397723)', '2026-08-10 20:30:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026904 -3.397628)'), GeomFromEWKT('SRID=4674;POINT (-39.026959 -3.397723)'))) / (select extract(epoch from '2026-08-10 20:30:33'::timestamp) - extract(epoch from '2026-08-10 20:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026904 -3.397628)'), GeomFromEWKT('SRID=4674;POINT (-39.026959 -3.397723)'))) / (select extract(epoch from '2026-08-10 20:30:33'::timestamp) - extract(epoch from '2026-08-10 20:30: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'), 48138, 'SRID=4674;POINT (-39.027063 -3.397876)', '2026-08-10 20:30:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026959 -3.397723)'), GeomFromEWKT('SRID=4674;POINT (-39.027063 -3.397876)'))) / (select extract(epoch from '2026-08-10 20:30:41'::timestamp) - extract(epoch from '2026-08-10 20:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026959 -3.397723)'), GeomFromEWKT('SRID=4674;POINT (-39.027063 -3.397876)'))) / (select extract(epoch from '2026-08-10 20:30:41'::timestamp) - extract(epoch from '2026-08-10 20:30: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'), 48138, 'SRID=4674;POINT (-39.027168 -3.398001)', '2026-08-10 20:30:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027063 -3.397876)'), GeomFromEWKT('SRID=4674;POINT (-39.027168 -3.398001)'))) / (select extract(epoch from '2026-08-10 20:30:48'::timestamp) - extract(epoch from '2026-08-10 20:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027063 -3.397876)'), GeomFromEWKT('SRID=4674;POINT (-39.027168 -3.398001)'))) / (select extract(epoch from '2026-08-10 20:30:48'::timestamp) - extract(epoch from '2026-08-10 20:30: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'), 48138, 'SRID=4674;POINT (-39.027261 -3.398105)', '2026-08-10 20:30:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027168 -3.398001)'), GeomFromEWKT('SRID=4674;POINT (-39.027261 -3.398105)'))) / (select extract(epoch from '2026-08-10 20:30:54'::timestamp) - extract(epoch from '2026-08-10 20:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027168 -3.398001)'), GeomFromEWKT('SRID=4674;POINT (-39.027261 -3.398105)'))) / (select extract(epoch from '2026-08-10 20:30:54'::timestamp) - extract(epoch from '2026-08-10 20:30: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'), 48138, 'SRID=4674;POINT (-39.027359 -3.398259)', '2026-08-10 20:31:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027261 -3.398105)'), GeomFromEWKT('SRID=4674;POINT (-39.027359 -3.398259)'))) / (select extract(epoch from '2026-08-10 20:31:02'::timestamp) - extract(epoch from '2026-08-10 20:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027261 -3.398105)'), GeomFromEWKT('SRID=4674;POINT (-39.027359 -3.398259)'))) / (select extract(epoch from '2026-08-10 20:31:02'::timestamp) - extract(epoch from '2026-08-10 20:30: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'), 48138, 'SRID=4674;POINT (-39.027455 -3.398402)', '2026-08-10 20:31:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027359 -3.398259)'), GeomFromEWKT('SRID=4674;POINT (-39.027455 -3.398402)'))) / (select extract(epoch from '2026-08-10 20:31:09'::timestamp) - extract(epoch from '2026-08-10 20:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027359 -3.398259)'), GeomFromEWKT('SRID=4674;POINT (-39.027455 -3.398402)'))) / (select extract(epoch from '2026-08-10 20:31:09'::timestamp) - extract(epoch from '2026-08-10 20:31: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'), 48138, 'SRID=4674;POINT (-39.027556 -3.398561)', '2026-08-10 20:31:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027455 -3.398402)'), GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.398561)'))) / (select extract(epoch from '2026-08-10 20:31:17'::timestamp) - extract(epoch from '2026-08-10 20:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027455 -3.398402)'), GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.398561)'))) / (select extract(epoch from '2026-08-10 20:31:17'::timestamp) - extract(epoch from '2026-08-10 20:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.027626 -3.398669)', '2026-08-10 20:31:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.398561)'), GeomFromEWKT('SRID=4674;POINT (-39.027626 -3.398669)'))) / (select extract(epoch from '2026-08-10 20:31:22'::timestamp) - extract(epoch from '2026-08-10 20:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.398561)'), GeomFromEWKT('SRID=4674;POINT (-39.027626 -3.398669)'))) / (select extract(epoch from '2026-08-10 20:31:22'::timestamp) - extract(epoch from '2026-08-10 20:31: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'), 48138, 'SRID=4674;POINT (-39.027703 -3.398796)', '2026-08-10 20:31:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027626 -3.398669)'), GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.398796)'))) / (select extract(epoch from '2026-08-10 20:31:28'::timestamp) - extract(epoch from '2026-08-10 20:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027626 -3.398669)'), GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.398796)'))) / (select extract(epoch from '2026-08-10 20:31:28'::timestamp) - extract(epoch from '2026-08-10 20:31: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'), 48138, 'SRID=4674;POINT (-39.027779 -3.39891)', '2026-08-10 20:31:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.398796)'), GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.39891)'))) / (select extract(epoch from '2026-08-10 20:31:34'::timestamp) - extract(epoch from '2026-08-10 20:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.398796)'), GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.39891)'))) / (select extract(epoch from '2026-08-10 20:31:34'::timestamp) - extract(epoch from '2026-08-10 20:31: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'), 48138, 'SRID=4674;POINT (-39.027885 -3.399063)', '2026-08-10 20:31:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.39891)'), GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.399063)'))) / (select extract(epoch from '2026-08-10 20:31:42'::timestamp) - extract(epoch from '2026-08-10 20:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.39891)'), GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.399063)'))) / (select extract(epoch from '2026-08-10 20:31:42'::timestamp) - extract(epoch from '2026-08-10 20:31: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'), 48138, 'SRID=4674;POINT (-39.027896 -3.399081)', '2026-08-10 20:31:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.399063)'), GeomFromEWKT('SRID=4674;POINT (-39.027896 -3.399081)'))) / (select extract(epoch from '2026-08-10 20:31:43'::timestamp) - extract(epoch from '2026-08-10 20:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.399063)'), GeomFromEWKT('SRID=4674;POINT (-39.027896 -3.399081)'))) / (select extract(epoch from '2026-08-10 20:31:43'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.027992 -3.399223)', '2026-08-10 20:31:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027896 -3.399081)'), GeomFromEWKT('SRID=4674;POINT (-39.027992 -3.399223)'))) / (select extract(epoch from '2026-08-10 20:31:50'::timestamp) - extract(epoch from '2026-08-10 20:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027896 -3.399081)'), GeomFromEWKT('SRID=4674;POINT (-39.027992 -3.399223)'))) / (select extract(epoch from '2026-08-10 20:31:50'::timestamp) - extract(epoch from '2026-08-10 20:31: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'), 48138, 'SRID=4674;POINT (-39.028085 -3.399332)', '2026-08-10 20:31:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027992 -3.399223)'), GeomFromEWKT('SRID=4674;POINT (-39.028085 -3.399332)'))) / (select extract(epoch from '2026-08-10 20:31:56'::timestamp) - extract(epoch from '2026-08-10 20:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027992 -3.399223)'), GeomFromEWKT('SRID=4674;POINT (-39.028085 -3.399332)'))) / (select extract(epoch from '2026-08-10 20:31:56'::timestamp) - extract(epoch from '2026-08-10 20:31: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'), 48138, 'SRID=4674;POINT (-39.028158 -3.399442)', '2026-08-10 20:32:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028085 -3.399332)'), GeomFromEWKT('SRID=4674;POINT (-39.028158 -3.399442)'))) / (select extract(epoch from '2026-08-10 20:32:02'::timestamp) - extract(epoch from '2026-08-10 20:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028085 -3.399332)'), GeomFromEWKT('SRID=4674;POINT (-39.028158 -3.399442)'))) / (select extract(epoch from '2026-08-10 20:32:02'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.028237 -3.399561)', '2026-08-10 20:32:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028158 -3.399442)'), GeomFromEWKT('SRID=4674;POINT (-39.028237 -3.399561)'))) / (select extract(epoch from '2026-08-10 20:32:08'::timestamp) - extract(epoch from '2026-08-10 20:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028158 -3.399442)'), GeomFromEWKT('SRID=4674;POINT (-39.028237 -3.399561)'))) / (select extract(epoch from '2026-08-10 20:32:08'::timestamp) - extract(epoch from '2026-08-10 20:32: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'), 48138, 'SRID=4674;POINT (-39.028321 -3.399662)', '2026-08-10 20:32:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028237 -3.399561)'), GeomFromEWKT('SRID=4674;POINT (-39.028321 -3.399662)'))) / (select extract(epoch from '2026-08-10 20:32:14'::timestamp) - extract(epoch from '2026-08-10 20:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028237 -3.399561)'), GeomFromEWKT('SRID=4674;POINT (-39.028321 -3.399662)'))) / (select extract(epoch from '2026-08-10 20:32:14'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.028436 -3.399819)', '2026-08-10 20:32:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028321 -3.399662)'), GeomFromEWKT('SRID=4674;POINT (-39.028436 -3.399819)'))) / (select extract(epoch from '2026-08-10 20:32:22'::timestamp) - extract(epoch from '2026-08-10 20:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028321 -3.399662)'), GeomFromEWKT('SRID=4674;POINT (-39.028436 -3.399819)'))) / (select extract(epoch from '2026-08-10 20:32:22'::timestamp) - extract(epoch from '2026-08-10 20:32: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'), 48138, 'SRID=4674;POINT (-39.028556 -3.399962)', '2026-08-10 20:32:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028436 -3.399819)'), GeomFromEWKT('SRID=4674;POINT (-39.028556 -3.399962)'))) / (select extract(epoch from '2026-08-10 20:32:30'::timestamp) - extract(epoch from '2026-08-10 20:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028436 -3.399819)'), GeomFromEWKT('SRID=4674;POINT (-39.028556 -3.399962)'))) / (select extract(epoch from '2026-08-10 20:32:30'::timestamp) - extract(epoch from '2026-08-10 20:32: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'), 48138, 'SRID=4674;POINT (-39.028569 -3.399982)', '2026-08-10 20:32:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028556 -3.399962)'), GeomFromEWKT('SRID=4674;POINT (-39.028569 -3.399982)'))) / (select extract(epoch from '2026-08-10 20:32:31'::timestamp) - extract(epoch from '2026-08-10 20:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028556 -3.399962)'), GeomFromEWKT('SRID=4674;POINT (-39.028569 -3.399982)'))) / (select extract(epoch from '2026-08-10 20:32:31'::timestamp) - extract(epoch from '2026-08-10 20:32: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'), 48138, 'SRID=4674;POINT (-39.028666 -3.400143)', '2026-08-10 20:32:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028569 -3.399982)'), GeomFromEWKT('SRID=4674;POINT (-39.028666 -3.400143)'))) / (select extract(epoch from '2026-08-10 20:32:39'::timestamp) - extract(epoch from '2026-08-10 20:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028569 -3.399982)'), GeomFromEWKT('SRID=4674;POINT (-39.028666 -3.400143)'))) / (select extract(epoch from '2026-08-10 20:32:39'::timestamp) - extract(epoch from '2026-08-10 20:32: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'), 48138, 'SRID=4674;POINT (-39.028752 -3.400257)', '2026-08-10 20:32:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028666 -3.400143)'), GeomFromEWKT('SRID=4674;POINT (-39.028752 -3.400257)'))) / (select extract(epoch from '2026-08-10 20:32:45'::timestamp) - extract(epoch from '2026-08-10 20:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028666 -3.400143)'), GeomFromEWKT('SRID=4674;POINT (-39.028752 -3.400257)'))) / (select extract(epoch from '2026-08-10 20:32:45'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.028874 -3.400404)', '2026-08-10 20:32:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028752 -3.400257)'), GeomFromEWKT('SRID=4674;POINT (-39.028874 -3.400404)'))) / (select extract(epoch from '2026-08-10 20:32:53'::timestamp) - extract(epoch from '2026-08-10 20:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028752 -3.400257)'), GeomFromEWKT('SRID=4674;POINT (-39.028874 -3.400404)'))) / (select extract(epoch from '2026-08-10 20:32:53'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.028892 -3.400424)', '2026-08-10 20:32:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028874 -3.400404)'), GeomFromEWKT('SRID=4674;POINT (-39.028892 -3.400424)'))) / (select extract(epoch from '2026-08-10 20:32:54'::timestamp) - extract(epoch from '2026-08-10 20:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028874 -3.400404)'), GeomFromEWKT('SRID=4674;POINT (-39.028892 -3.400424)'))) / (select extract(epoch from '2026-08-10 20:32:54'::timestamp) - extract(epoch from '2026-08-10 20:32: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'), 48138, 'SRID=4674;POINT (-39.028996 -3.40055)', '2026-08-10 20:33:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028892 -3.400424)'), GeomFromEWKT('SRID=4674;POINT (-39.028996 -3.40055)'))) / (select extract(epoch from '2026-08-10 20:33:01'::timestamp) - extract(epoch from '2026-08-10 20:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028892 -3.400424)'), GeomFromEWKT('SRID=4674;POINT (-39.028996 -3.40055)'))) / (select extract(epoch from '2026-08-10 20:33:01'::timestamp) - extract(epoch from '2026-08-10 20:32: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'), 48138, 'SRID=4674;POINT (-39.029099 -3.400654)', '2026-08-10 20:33:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028996 -3.40055)'), GeomFromEWKT('SRID=4674;POINT (-39.029099 -3.400654)'))) / (select extract(epoch from '2026-08-10 20:33:07'::timestamp) - extract(epoch from '2026-08-10 20:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028996 -3.40055)'), GeomFromEWKT('SRID=4674;POINT (-39.029099 -3.400654)'))) / (select extract(epoch from '2026-08-10 20:33:07'::timestamp) - extract(epoch from '2026-08-10 20:33: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'), 48138, 'SRID=4674;POINT (-39.0292 -3.40079)', '2026-08-10 20:33:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029099 -3.400654)'), GeomFromEWKT('SRID=4674;POINT (-39.0292 -3.40079)'))) / (select extract(epoch from '2026-08-10 20:33:14'::timestamp) - extract(epoch from '2026-08-10 20:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029099 -3.400654)'), GeomFromEWKT('SRID=4674;POINT (-39.0292 -3.40079)'))) / (select extract(epoch from '2026-08-10 20:33:14'::timestamp) - extract(epoch from '2026-08-10 20:33: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'), 48138, 'SRID=4674;POINT (-39.029289 -3.4009)', '2026-08-10 20:33:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0292 -3.40079)'), GeomFromEWKT('SRID=4674;POINT (-39.029289 -3.4009)'))) / (select extract(epoch from '2026-08-10 20:33:20'::timestamp) - extract(epoch from '2026-08-10 20:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0292 -3.40079)'), GeomFromEWKT('SRID=4674;POINT (-39.029289 -3.4009)'))) / (select extract(epoch from '2026-08-10 20:33:20'::timestamp) - extract(epoch from '2026-08-10 20:33: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'), 48138, 'SRID=4674;POINT (-39.029356 -3.40099)', '2026-08-10 20:33:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029289 -3.4009)'), GeomFromEWKT('SRID=4674;POINT (-39.029356 -3.40099)'))) / (select extract(epoch from '2026-08-10 20:33:25'::timestamp) - extract(epoch from '2026-08-10 20:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029289 -3.4009)'), GeomFromEWKT('SRID=4674;POINT (-39.029356 -3.40099)'))) / (select extract(epoch from '2026-08-10 20:33:25'::timestamp) - extract(epoch from '2026-08-10 20:33: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'), 48138, 'SRID=4674;POINT (-39.029427 -3.401073)', '2026-08-10 20:33:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029356 -3.40099)'), GeomFromEWKT('SRID=4674;POINT (-39.029427 -3.401073)'))) / (select extract(epoch from '2026-08-10 20:33:29'::timestamp) - extract(epoch from '2026-08-10 20:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029356 -3.40099)'), GeomFromEWKT('SRID=4674;POINT (-39.029427 -3.401073)'))) / (select extract(epoch from '2026-08-10 20:33:29'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.029503 -3.401183)', '2026-08-10 20:33:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029427 -3.401073)'), GeomFromEWKT('SRID=4674;POINT (-39.029503 -3.401183)'))) / (select extract(epoch from '2026-08-10 20:33:35'::timestamp) - extract(epoch from '2026-08-10 20:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029427 -3.401073)'), GeomFromEWKT('SRID=4674;POINT (-39.029503 -3.401183)'))) / (select extract(epoch from '2026-08-10 20:33:35'::timestamp) - extract(epoch from '2026-08-10 20:33: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'), 48138, 'SRID=4674;POINT (-39.029592 -3.401316)', '2026-08-10 20:33:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029503 -3.401183)'), GeomFromEWKT('SRID=4674;POINT (-39.029592 -3.401316)'))) / (select extract(epoch from '2026-08-10 20:33:42'::timestamp) - extract(epoch from '2026-08-10 20:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029503 -3.401183)'), GeomFromEWKT('SRID=4674;POINT (-39.029592 -3.401316)'))) / (select extract(epoch from '2026-08-10 20:33:42'::timestamp) - extract(epoch from '2026-08-10 20:33: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'), 48138, 'SRID=4674;POINT (-39.02968 -3.401446)', '2026-08-10 20:33:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029592 -3.401316)'), GeomFromEWKT('SRID=4674;POINT (-39.02968 -3.401446)'))) / (select extract(epoch from '2026-08-10 20:33:49'::timestamp) - extract(epoch from '2026-08-10 20:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029592 -3.401316)'), GeomFromEWKT('SRID=4674;POINT (-39.02968 -3.401446)'))) / (select extract(epoch from '2026-08-10 20:33:49'::timestamp) - extract(epoch from '2026-08-10 20:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.029792 -3.401586)', '2026-08-10 20:33:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02968 -3.401446)'), GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.401586)'))) / (select extract(epoch from '2026-08-10 20:33:57'::timestamp) - extract(epoch from '2026-08-10 20:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02968 -3.401446)'), GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.401586)'))) / (select extract(epoch from '2026-08-10 20:33:57'::timestamp) - extract(epoch from '2026-08-10 20:33: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'), 48138, 'SRID=4674;POINT (-39.029884 -3.401707)', '2026-08-10 20:34:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.401586)'), GeomFromEWKT('SRID=4674;POINT (-39.029884 -3.401707)'))) / (select extract(epoch from '2026-08-10 20:34:03'::timestamp) - extract(epoch from '2026-08-10 20:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.401586)'), GeomFromEWKT('SRID=4674;POINT (-39.029884 -3.401707)'))) / (select extract(epoch from '2026-08-10 20:34:03'::timestamp) - extract(epoch from '2026-08-10 20:33: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'), 48138, 'SRID=4674;POINT (-39.02998 -3.401835)', '2026-08-10 20:34:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029884 -3.401707)'), GeomFromEWKT('SRID=4674;POINT (-39.02998 -3.401835)'))) / (select extract(epoch from '2026-08-10 20:34:10'::timestamp) - extract(epoch from '2026-08-10 20:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029884 -3.401707)'), GeomFromEWKT('SRID=4674;POINT (-39.02998 -3.401835)'))) / (select extract(epoch from '2026-08-10 20:34:10'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.030075 -3.401964)', '2026-08-10 20:34:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02998 -3.401835)'), GeomFromEWKT('SRID=4674;POINT (-39.030075 -3.401964)'))) / (select extract(epoch from '2026-08-10 20:34:17'::timestamp) - extract(epoch from '2026-08-10 20:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02998 -3.401835)'), GeomFromEWKT('SRID=4674;POINT (-39.030075 -3.401964)'))) / (select extract(epoch from '2026-08-10 20:34:17'::timestamp) - extract(epoch from '2026-08-10 20:34: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'), 48138, 'SRID=4674;POINT (-39.030177 -3.402109)', '2026-08-10 20:34:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030075 -3.401964)'), GeomFromEWKT('SRID=4674;POINT (-39.030177 -3.402109)'))) / (select extract(epoch from '2026-08-10 20:34:24'::timestamp) - extract(epoch from '2026-08-10 20:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030075 -3.401964)'), GeomFromEWKT('SRID=4674;POINT (-39.030177 -3.402109)'))) / (select extract(epoch from '2026-08-10 20:34:24'::timestamp) - extract(epoch from '2026-08-10 20:34: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'), 48138, 'SRID=4674;POINT (-39.030238 -3.402199)', '2026-08-10 20:34:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030177 -3.402109)'), GeomFromEWKT('SRID=4674;POINT (-39.030238 -3.402199)'))) / (select extract(epoch from '2026-08-10 20:34:29'::timestamp) - extract(epoch from '2026-08-10 20:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030177 -3.402109)'), GeomFromEWKT('SRID=4674;POINT (-39.030238 -3.402199)'))) / (select extract(epoch from '2026-08-10 20:34:29'::timestamp) - extract(epoch from '2026-08-10 20: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'), 48138, 'SRID=4674;POINT (-39.030346 -3.402351)', '2026-08-10 20:34:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030238 -3.402199)'), GeomFromEWKT('SRID=4674;POINT (-39.030346 -3.402351)'))) / (select extract(epoch from '2026-08-10 20:34:37'::timestamp) - extract(epoch from '2026-08-10 20:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030238 -3.402199)'), GeomFromEWKT('SRID=4674;POINT (-39.030346 -3.402351)'))) / (select extract(epoch from '2026-08-10 20:34:37'::timestamp) - extract(epoch from '2026-08-10 20:34: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'), 48138, 'SRID=4674;POINT (-39.030453 -3.402521)', '2026-08-10 20:34:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030346 -3.402351)'), GeomFromEWKT('SRID=4674;POINT (-39.030453 -3.402521)'))) / (select extract(epoch from '2026-08-10 20:34:46'::timestamp) - extract(epoch from '2026-08-10 20:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030346 -3.402351)'), GeomFromEWKT('SRID=4674;POINT (-39.030453 -3.402521)'))) / (select extract(epoch from '2026-08-10 20:34:46'::timestamp) - extract(epoch from '2026-08-10 20:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.030529 -3.402676)', '2026-08-10 20:34:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030453 -3.402521)'), GeomFromEWKT('SRID=4674;POINT (-39.030529 -3.402676)'))) / (select extract(epoch from '2026-08-10 20:34:53'::timestamp) - extract(epoch from '2026-08-10 20:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030453 -3.402521)'), GeomFromEWKT('SRID=4674;POINT (-39.030529 -3.402676)'))) / (select extract(epoch from '2026-08-10 20:34:53'::timestamp) - extract(epoch from '2026-08-10 20:34: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'), 48138, 'SRID=4674;POINT (-39.030604 -3.402837)', '2026-08-10 20:35:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030529 -3.402676)'), GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.402837)'))) / (select extract(epoch from '2026-08-10 20:35:01'::timestamp) - extract(epoch from '2026-08-10 20:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030529 -3.402676)'), GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.402837)'))) / (select extract(epoch from '2026-08-10 20:35:01'::timestamp) - extract(epoch from '2026-08-10 20:34: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'), 48138, 'SRID=4674;POINT (-39.030672 -3.402963)', '2026-08-10 20:35:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.402837)'), GeomFromEWKT('SRID=4674;POINT (-39.030672 -3.402963)'))) / (select extract(epoch from '2026-08-10 20:35:07'::timestamp) - extract(epoch from '2026-08-10 20:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.402837)'), GeomFromEWKT('SRID=4674;POINT (-39.030672 -3.402963)'))) / (select extract(epoch from '2026-08-10 20:35:07'::timestamp) - extract(epoch from '2026-08-10 20:35: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'), 48138, 'SRID=4674;POINT (-39.030752 -3.403154)', '2026-08-10 20:35:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030672 -3.402963)'), GeomFromEWKT('SRID=4674;POINT (-39.030752 -3.403154)'))) / (select extract(epoch from '2026-08-10 20:35:16'::timestamp) - extract(epoch from '2026-08-10 20:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030672 -3.402963)'), GeomFromEWKT('SRID=4674;POINT (-39.030752 -3.403154)'))) / (select extract(epoch from '2026-08-10 20:35:16'::timestamp) - extract(epoch from '2026-08-10 20:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
