 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.026347 -3.328146)', '2026-08-05 17:19:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026338 -3.328147)'), GeomFromEWKT('SRID=4674;POINT (-39.026347 -3.328146)'))) / (select extract(epoch from '2026-08-05 17:19:47'::timestamp) - extract(epoch from '2026-08-05 17:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026338 -3.328147)'), GeomFromEWKT('SRID=4674;POINT (-39.026347 -3.328146)'))) / (select extract(epoch from '2026-08-05 17:19:47'::timestamp) - extract(epoch from '2026-08-05 17:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.026369 -3.328139)', '2026-08-05 17:19:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026347 -3.328146)'), GeomFromEWKT('SRID=4674;POINT (-39.026369 -3.328139)'))) / (select extract(epoch from '2026-08-05 17:19:49'::timestamp) - extract(epoch from '2026-08-05 17:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026347 -3.328146)'), GeomFromEWKT('SRID=4674;POINT (-39.026369 -3.328139)'))) / (select extract(epoch from '2026-08-05 17:19:49'::timestamp) - extract(epoch from '2026-08-05 17:19: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'), 48130, 'SRID=4674;POINT (-39.0264 -3.328134)', '2026-08-05 17:19:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026369 -3.328139)'), GeomFromEWKT('SRID=4674;POINT (-39.0264 -3.328134)'))) / (select extract(epoch from '2026-08-05 17:19:53'::timestamp) - extract(epoch from '2026-08-05 17:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026369 -3.328139)'), GeomFromEWKT('SRID=4674;POINT (-39.0264 -3.328134)'))) / (select extract(epoch from '2026-08-05 17:19:53'::timestamp) - extract(epoch from '2026-08-05 17:19: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'), 48130, 'SRID=4674;POINT (-39.026421 -3.328119)', '2026-08-05 17:19:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0264 -3.328134)'), GeomFromEWKT('SRID=4674;POINT (-39.026421 -3.328119)'))) / (select extract(epoch from '2026-08-05 17:19:58'::timestamp) - extract(epoch from '2026-08-05 17:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0264 -3.328134)'), GeomFromEWKT('SRID=4674;POINT (-39.026421 -3.328119)'))) / (select extract(epoch from '2026-08-05 17:19:58'::timestamp) - extract(epoch from '2026-08-05 17:19: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'), 48130, 'SRID=4674;POINT (-39.026457 -3.32812)', '2026-08-05 17:20:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026421 -3.328119)'), GeomFromEWKT('SRID=4674;POINT (-39.026457 -3.32812)'))) / (select extract(epoch from '2026-08-05 17:20:03'::timestamp) - extract(epoch from '2026-08-05 17:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026421 -3.328119)'), GeomFromEWKT('SRID=4674;POINT (-39.026457 -3.32812)'))) / (select extract(epoch from '2026-08-05 17:20:03'::timestamp) - extract(epoch from '2026-08-05 17:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.026483 -3.328109)', '2026-08-05 17:20:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026457 -3.32812)'), GeomFromEWKT('SRID=4674;POINT (-39.026483 -3.328109)'))) / (select extract(epoch from '2026-08-05 17:20:08'::timestamp) - extract(epoch from '2026-08-05 17:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026457 -3.32812)'), GeomFromEWKT('SRID=4674;POINT (-39.026483 -3.328109)'))) / (select extract(epoch from '2026-08-05 17:20:08'::timestamp) - extract(epoch from '2026-08-05 17:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.02652 -3.328094)', '2026-08-05 17:20:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026483 -3.328109)'), GeomFromEWKT('SRID=4674;POINT (-39.02652 -3.328094)'))) / (select extract(epoch from '2026-08-05 17:20:13'::timestamp) - extract(epoch from '2026-08-05 17:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026483 -3.328109)'), GeomFromEWKT('SRID=4674;POINT (-39.02652 -3.328094)'))) / (select extract(epoch from '2026-08-05 17:20:13'::timestamp) - extract(epoch from '2026-08-05 17:20: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'), 48130, 'SRID=4674;POINT (-39.026545 -3.328073)', '2026-08-05 17:20:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02652 -3.328094)'), GeomFromEWKT('SRID=4674;POINT (-39.026545 -3.328073)'))) / (select extract(epoch from '2026-08-05 17:20:19'::timestamp) - extract(epoch from '2026-08-05 17:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02652 -3.328094)'), GeomFromEWKT('SRID=4674;POINT (-39.026545 -3.328073)'))) / (select extract(epoch from '2026-08-05 17:20:19'::timestamp) - extract(epoch from '2026-08-05 17:20: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'), 48130, 'SRID=4674;POINT (-39.026586 -3.328061)', '2026-08-05 17:20:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026545 -3.328073)'), GeomFromEWKT('SRID=4674;POINT (-39.026586 -3.328061)'))) / (select extract(epoch from '2026-08-05 17:20:26'::timestamp) - extract(epoch from '2026-08-05 17:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026545 -3.328073)'), GeomFromEWKT('SRID=4674;POINT (-39.026586 -3.328061)'))) / (select extract(epoch from '2026-08-05 17:20:26'::timestamp) - extract(epoch from '2026-08-05 17:20: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'), 48130, 'SRID=4674;POINT (-39.026636 -3.328047)', '2026-08-05 17:20:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026586 -3.328061)'), GeomFromEWKT('SRID=4674;POINT (-39.026636 -3.328047)'))) / (select extract(epoch from '2026-08-05 17:20:33'::timestamp) - extract(epoch from '2026-08-05 17:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026586 -3.328061)'), GeomFromEWKT('SRID=4674;POINT (-39.026636 -3.328047)'))) / (select extract(epoch from '2026-08-05 17:20:33'::timestamp) - extract(epoch from '2026-08-05 17:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.026662 -3.328046)', '2026-08-05 17:20:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026636 -3.328047)'), GeomFromEWKT('SRID=4674;POINT (-39.026662 -3.328046)'))) / (select extract(epoch from '2026-08-05 17:20:38'::timestamp) - extract(epoch from '2026-08-05 17:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026636 -3.328047)'), GeomFromEWKT('SRID=4674;POINT (-39.026662 -3.328046)'))) / (select extract(epoch from '2026-08-05 17:20:38'::timestamp) - extract(epoch from '2026-08-05 17:20: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'), 48130, 'SRID=4674;POINT (-39.026692 -3.328044)', '2026-08-05 17:20:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026662 -3.328046)'), GeomFromEWKT('SRID=4674;POINT (-39.026692 -3.328044)'))) / (select extract(epoch from '2026-08-05 17:20:43'::timestamp) - extract(epoch from '2026-08-05 17:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026662 -3.328046)'), GeomFromEWKT('SRID=4674;POINT (-39.026692 -3.328044)'))) / (select extract(epoch from '2026-08-05 17:20:43'::timestamp) - extract(epoch from '2026-08-05 17:20: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'), 48130, 'SRID=4674;POINT (-39.026734 -3.328045)', '2026-08-05 17:20:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026692 -3.328044)'), GeomFromEWKT('SRID=4674;POINT (-39.026734 -3.328045)'))) / (select extract(epoch from '2026-08-05 17:20:49'::timestamp) - extract(epoch from '2026-08-05 17:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026692 -3.328044)'), GeomFromEWKT('SRID=4674;POINT (-39.026734 -3.328045)'))) / (select extract(epoch from '2026-08-05 17:20:49'::timestamp) - extract(epoch from '2026-08-05 17:20: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'), 48130, 'SRID=4674;POINT (-39.026751 -3.328038)', '2026-08-05 17:20:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026734 -3.328045)'), GeomFromEWKT('SRID=4674;POINT (-39.026751 -3.328038)'))) / (select extract(epoch from '2026-08-05 17:20:54'::timestamp) - extract(epoch from '2026-08-05 17:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026734 -3.328045)'), GeomFromEWKT('SRID=4674;POINT (-39.026751 -3.328038)'))) / (select extract(epoch from '2026-08-05 17:20:54'::timestamp) - extract(epoch from '2026-08-05 17:20: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'), 48130, 'SRID=4674;POINT (-39.02678 -3.328022)', '2026-08-05 17:20:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026751 -3.328038)'), GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.328022)'))) / (select extract(epoch from '2026-08-05 17:20:58'::timestamp) - extract(epoch from '2026-08-05 17:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026751 -3.328038)'), GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.328022)'))) / (select extract(epoch from '2026-08-05 17:20:58'::timestamp) - extract(epoch from '2026-08-05 17:20: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'), 48130, 'SRID=4674;POINT (-39.026817 -3.328004)', '2026-08-05 17:21:05', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.328022)'), GeomFromEWKT('SRID=4674;POINT (-39.026817 -3.328004)'))) / (select extract(epoch from '2026-08-05 17:21:05'::timestamp) - extract(epoch from '2026-08-05 17:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.328022)'), GeomFromEWKT('SRID=4674;POINT (-39.026817 -3.328004)'))) / (select extract(epoch from '2026-08-05 17:21:05'::timestamp) - extract(epoch from '2026-08-05 17:20: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'), 48130, 'SRID=4674;POINT (-39.026886 -3.328004)', '2026-08-05 17:21:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026817 -3.328004)'), GeomFromEWKT('SRID=4674;POINT (-39.026886 -3.328004)'))) / (select extract(epoch from '2026-08-05 17:21:17'::timestamp) - extract(epoch from '2026-08-05 17:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026817 -3.328004)'), GeomFromEWKT('SRID=4674;POINT (-39.026886 -3.328004)'))) / (select extract(epoch from '2026-08-05 17:21:17'::timestamp) - extract(epoch from '2026-08-05 17:21: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'), 48130, 'SRID=4674;POINT (-39.026932 -3.327948)', '2026-08-05 17:21:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026886 -3.328004)'), GeomFromEWKT('SRID=4674;POINT (-39.026932 -3.327948)'))) / (select extract(epoch from '2026-08-05 17:21:29'::timestamp) - extract(epoch from '2026-08-05 17:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026886 -3.328004)'), GeomFromEWKT('SRID=4674;POINT (-39.026932 -3.327948)'))) / (select extract(epoch from '2026-08-05 17:21:29'::timestamp) - extract(epoch from '2026-08-05 17:21: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'), 48130, 'SRID=4674;POINT (-39.026975 -3.32791)', '2026-08-05 17:21:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026932 -3.327948)'), GeomFromEWKT('SRID=4674;POINT (-39.026975 -3.32791)'))) / (select extract(epoch from '2026-08-05 17:21:39'::timestamp) - extract(epoch from '2026-08-05 17:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026932 -3.327948)'), GeomFromEWKT('SRID=4674;POINT (-39.026975 -3.32791)'))) / (select extract(epoch from '2026-08-05 17:21:39'::timestamp) - extract(epoch from '2026-08-05 17:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.027069 -3.327882)', '2026-08-05 17:21:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026975 -3.32791)'), GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.327882)'))) / (select extract(epoch from '2026-08-05 17:21:54'::timestamp) - extract(epoch from '2026-08-05 17:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026975 -3.32791)'), GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.327882)'))) / (select extract(epoch from '2026-08-05 17:21:54'::timestamp) - extract(epoch from '2026-08-05 17:21: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'), 48130, 'SRID=4674;POINT (-39.02713 -3.327868)', '2026-08-05 17:22:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.327882)'), GeomFromEWKT('SRID=4674;POINT (-39.02713 -3.327868)'))) / (select extract(epoch from '2026-08-05 17:22:03'::timestamp) - extract(epoch from '2026-08-05 17:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.327882)'), GeomFromEWKT('SRID=4674;POINT (-39.02713 -3.327868)'))) / (select extract(epoch from '2026-08-05 17:22:03'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.027199 -3.327873)', '2026-08-05 17:22:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02713 -3.327868)'), GeomFromEWKT('SRID=4674;POINT (-39.027199 -3.327873)'))) / (select extract(epoch from '2026-08-05 17:22:12'::timestamp) - extract(epoch from '2026-08-05 17:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02713 -3.327868)'), GeomFromEWKT('SRID=4674;POINT (-39.027199 -3.327873)'))) / (select extract(epoch from '2026-08-05 17:22:12'::timestamp) - extract(epoch from '2026-08-05 17:22: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'), 48130, 'SRID=4674;POINT (-39.027242 -3.327843)', '2026-08-05 17:22:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027199 -3.327873)'), GeomFromEWKT('SRID=4674;POINT (-39.027242 -3.327843)'))) / (select extract(epoch from '2026-08-05 17:22:19'::timestamp) - extract(epoch from '2026-08-05 17:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027199 -3.327873)'), GeomFromEWKT('SRID=4674;POINT (-39.027242 -3.327843)'))) / (select extract(epoch from '2026-08-05 17:22:19'::timestamp) - extract(epoch from '2026-08-05 17:22: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'), 48130, 'SRID=4674;POINT (-39.02727 -3.327832)', '2026-08-05 17:22:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027242 -3.327843)'), GeomFromEWKT('SRID=4674;POINT (-39.02727 -3.327832)'))) / (select extract(epoch from '2026-08-05 17:22:24'::timestamp) - extract(epoch from '2026-08-05 17:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027242 -3.327843)'), GeomFromEWKT('SRID=4674;POINT (-39.02727 -3.327832)'))) / (select extract(epoch from '2026-08-05 17:22:24'::timestamp) - extract(epoch from '2026-08-05 17:22: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'), 48130, 'SRID=4674;POINT (-39.027296 -3.327813)', '2026-08-05 17:22:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02727 -3.327832)'), GeomFromEWKT('SRID=4674;POINT (-39.027296 -3.327813)'))) / (select extract(epoch from '2026-08-05 17:22:30'::timestamp) - extract(epoch from '2026-08-05 17:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02727 -3.327832)'), GeomFromEWKT('SRID=4674;POINT (-39.027296 -3.327813)'))) / (select extract(epoch from '2026-08-05 17:22:30'::timestamp) - extract(epoch from '2026-08-05 17:22: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'), 48130, 'SRID=4674;POINT (-39.02732 -3.327801)', '2026-08-05 17:22:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027296 -3.327813)'), GeomFromEWKT('SRID=4674;POINT (-39.02732 -3.327801)'))) / (select extract(epoch from '2026-08-05 17:22:35'::timestamp) - extract(epoch from '2026-08-05 17:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027296 -3.327813)'), GeomFromEWKT('SRID=4674;POINT (-39.02732 -3.327801)'))) / (select extract(epoch from '2026-08-05 17:22:35'::timestamp) - extract(epoch from '2026-08-05 17:22: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'), 48130, 'SRID=4674;POINT (-39.027343 -3.327799)', '2026-08-05 17:22:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02732 -3.327801)'), GeomFromEWKT('SRID=4674;POINT (-39.027343 -3.327799)'))) / (select extract(epoch from '2026-08-05 17:22:40'::timestamp) - extract(epoch from '2026-08-05 17:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02732 -3.327801)'), GeomFromEWKT('SRID=4674;POINT (-39.027343 -3.327799)'))) / (select extract(epoch from '2026-08-05 17:22:40'::timestamp) - extract(epoch from '2026-08-05 17:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.027373 -3.327797)', '2026-08-05 17:22:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027343 -3.327799)'), GeomFromEWKT('SRID=4674;POINT (-39.027373 -3.327797)'))) / (select extract(epoch from '2026-08-05 17:22:44'::timestamp) - extract(epoch from '2026-08-05 17:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027343 -3.327799)'), GeomFromEWKT('SRID=4674;POINT (-39.027373 -3.327797)'))) / (select extract(epoch from '2026-08-05 17:22:44'::timestamp) - extract(epoch from '2026-08-05 17:22: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'), 48130, 'SRID=4674;POINT (-39.027391 -3.327793)', '2026-08-05 17:22:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027373 -3.327797)'), GeomFromEWKT('SRID=4674;POINT (-39.027391 -3.327793)'))) / (select extract(epoch from '2026-08-05 17:22:47'::timestamp) - extract(epoch from '2026-08-05 17:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027373 -3.327797)'), GeomFromEWKT('SRID=4674;POINT (-39.027391 -3.327793)'))) / (select extract(epoch from '2026-08-05 17:22:47'::timestamp) - extract(epoch from '2026-08-05 17:22: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'), 48130, 'SRID=4674;POINT (-39.02744 -3.32778)', '2026-08-05 17:22:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027391 -3.327793)'), GeomFromEWKT('SRID=4674;POINT (-39.02744 -3.32778)'))) / (select extract(epoch from '2026-08-05 17:22:56'::timestamp) - extract(epoch from '2026-08-05 17:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027391 -3.327793)'), GeomFromEWKT('SRID=4674;POINT (-39.02744 -3.32778)'))) / (select extract(epoch from '2026-08-05 17:22:56'::timestamp) - extract(epoch from '2026-08-05 17:22: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'), 48130, 'SRID=4674;POINT (-39.027485 -3.32777)', '2026-08-05 17:23:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02744 -3.32778)'), GeomFromEWKT('SRID=4674;POINT (-39.027485 -3.32777)'))) / (select extract(epoch from '2026-08-05 17:23:02'::timestamp) - extract(epoch from '2026-08-05 17:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02744 -3.32778)'), GeomFromEWKT('SRID=4674;POINT (-39.027485 -3.32777)'))) / (select extract(epoch from '2026-08-05 17:23:02'::timestamp) - extract(epoch from '2026-08-05 17:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.027495 -3.327767)', '2026-08-05 17:23:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027485 -3.32777)'), GeomFromEWKT('SRID=4674;POINT (-39.027495 -3.327767)'))) / (select extract(epoch from '2026-08-05 17:23:03'::timestamp) - extract(epoch from '2026-08-05 17:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027485 -3.32777)'), GeomFromEWKT('SRID=4674;POINT (-39.027495 -3.327767)'))) / (select extract(epoch from '2026-08-05 17:23:03'::timestamp) - extract(epoch from '2026-08-05 17:23: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'), 48130, 'SRID=4674;POINT (-39.027508 -3.327767)', '2026-08-05 17:23:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027495 -3.327767)'), GeomFromEWKT('SRID=4674;POINT (-39.027508 -3.327767)'))) / (select extract(epoch from '2026-08-05 17:23:04'::timestamp) - extract(epoch from '2026-08-05 17:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027495 -3.327767)'), GeomFromEWKT('SRID=4674;POINT (-39.027508 -3.327767)'))) / (select extract(epoch from '2026-08-05 17:23:04'::timestamp) - extract(epoch from '2026-08-05 17:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.027546 -3.327754)', '2026-08-05 17:23:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027508 -3.327767)'), GeomFromEWKT('SRID=4674;POINT (-39.027546 -3.327754)'))) / (select extract(epoch from '2026-08-05 17:23:10'::timestamp) - extract(epoch from '2026-08-05 17:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027508 -3.327767)'), GeomFromEWKT('SRID=4674;POINT (-39.027546 -3.327754)'))) / (select extract(epoch from '2026-08-05 17:23:10'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.027571 -3.327752)', '2026-08-05 17:23:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027546 -3.327754)'), GeomFromEWKT('SRID=4674;POINT (-39.027571 -3.327752)'))) / (select extract(epoch from '2026-08-05 17:23:13'::timestamp) - extract(epoch from '2026-08-05 17:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027546 -3.327754)'), GeomFromEWKT('SRID=4674;POINT (-39.027571 -3.327752)'))) / (select extract(epoch from '2026-08-05 17:23:13'::timestamp) - extract(epoch from '2026-08-05 17:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.027585 -3.327744)', '2026-08-05 17:23:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027571 -3.327752)'), GeomFromEWKT('SRID=4674;POINT (-39.027585 -3.327744)'))) / (select extract(epoch from '2026-08-05 17:23:15'::timestamp) - extract(epoch from '2026-08-05 17:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027571 -3.327752)'), GeomFromEWKT('SRID=4674;POINT (-39.027585 -3.327744)'))) / (select extract(epoch from '2026-08-05 17:23:15'::timestamp) - extract(epoch from '2026-08-05 17:23: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'), 48130, 'SRID=4674;POINT (-39.027613 -3.327724)', '2026-08-05 17:23:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027585 -3.327744)'), GeomFromEWKT('SRID=4674;POINT (-39.027613 -3.327724)'))) / (select extract(epoch from '2026-08-05 17:23:22'::timestamp) - extract(epoch from '2026-08-05 17:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027585 -3.327744)'), GeomFromEWKT('SRID=4674;POINT (-39.027613 -3.327724)'))) / (select extract(epoch from '2026-08-05 17:23:22'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.027635 -3.327708)', '2026-08-05 17:23:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027613 -3.327724)'), GeomFromEWKT('SRID=4674;POINT (-39.027635 -3.327708)'))) / (select extract(epoch from '2026-08-05 17:23:28'::timestamp) - extract(epoch from '2026-08-05 17:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027613 -3.327724)'), GeomFromEWKT('SRID=4674;POINT (-39.027635 -3.327708)'))) / (select extract(epoch from '2026-08-05 17:23:28'::timestamp) - extract(epoch from '2026-08-05 17:23: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'), 48130, 'SRID=4674;POINT (-39.02766 -3.327686)', '2026-08-05 17:23:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027635 -3.327708)'), GeomFromEWKT('SRID=4674;POINT (-39.02766 -3.327686)'))) / (select extract(epoch from '2026-08-05 17:23:33'::timestamp) - extract(epoch from '2026-08-05 17:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027635 -3.327708)'), GeomFromEWKT('SRID=4674;POINT (-39.02766 -3.327686)'))) / (select extract(epoch from '2026-08-05 17:23:33'::timestamp) - extract(epoch from '2026-08-05 17:23: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'), 48130, 'SRID=4674;POINT (-39.027698 -3.327668)', '2026-08-05 17:23:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02766 -3.327686)'), GeomFromEWKT('SRID=4674;POINT (-39.027698 -3.327668)'))) / (select extract(epoch from '2026-08-05 17:23:39'::timestamp) - extract(epoch from '2026-08-05 17:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02766 -3.327686)'), GeomFromEWKT('SRID=4674;POINT (-39.027698 -3.327668)'))) / (select extract(epoch from '2026-08-05 17:23:39'::timestamp) - extract(epoch from '2026-08-05 17:23: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'), 48130, 'SRID=4674;POINT (-39.027708 -3.327667)', '2026-08-05 17:23:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027698 -3.327668)'), GeomFromEWKT('SRID=4674;POINT (-39.027708 -3.327667)'))) / (select extract(epoch from '2026-08-05 17:23:44'::timestamp) - extract(epoch from '2026-08-05 17:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027698 -3.327668)'), GeomFromEWKT('SRID=4674;POINT (-39.027708 -3.327667)'))) / (select extract(epoch from '2026-08-05 17:23:44'::timestamp) - extract(epoch from '2026-08-05 17:23: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'), 48130, 'SRID=4674;POINT (-39.027747 -3.327661)', '2026-08-05 17:23:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027708 -3.327667)'), GeomFromEWKT('SRID=4674;POINT (-39.027747 -3.327661)'))) / (select extract(epoch from '2026-08-05 17:23:50'::timestamp) - extract(epoch from '2026-08-05 17:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027708 -3.327667)'), GeomFromEWKT('SRID=4674;POINT (-39.027747 -3.327661)'))) / (select extract(epoch from '2026-08-05 17:23:50'::timestamp) - extract(epoch from '2026-08-05 17:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.027755 -3.327664)', '2026-08-05 17:23:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027747 -3.327661)'), GeomFromEWKT('SRID=4674;POINT (-39.027755 -3.327664)'))) / (select extract(epoch from '2026-08-05 17:23:51'::timestamp) - extract(epoch from '2026-08-05 17:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027747 -3.327661)'), GeomFromEWKT('SRID=4674;POINT (-39.027755 -3.327664)'))) / (select extract(epoch from '2026-08-05 17:23:51'::timestamp) - extract(epoch from '2026-08-05 17:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.027775 -3.327659)', '2026-08-05 17:23:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027755 -3.327664)'), GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.327659)'))) / (select extract(epoch from '2026-08-05 17:23:55'::timestamp) - extract(epoch from '2026-08-05 17:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027755 -3.327664)'), GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.327659)'))) / (select extract(epoch from '2026-08-05 17:23:55'::timestamp) - extract(epoch from '2026-08-05 17:23: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'), 48130, 'SRID=4674;POINT (-39.027779 -3.327652)', '2026-08-05 17:23:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.327659)'), GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.327652)'))) / (select extract(epoch from '2026-08-05 17:23:56'::timestamp) - extract(epoch from '2026-08-05 17:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.327659)'), GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.327652)'))) / (select extract(epoch from '2026-08-05 17:23:56'::timestamp) - extract(epoch from '2026-08-05 17:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.027805 -3.327648)', '2026-08-05 17:23:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.327652)'), GeomFromEWKT('SRID=4674;POINT (-39.027805 -3.327648)'))) / (select extract(epoch from '2026-08-05 17:23:58'::timestamp) - extract(epoch from '2026-08-05 17:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.327652)'), GeomFromEWKT('SRID=4674;POINT (-39.027805 -3.327648)'))) / (select extract(epoch from '2026-08-05 17:23:58'::timestamp) - extract(epoch from '2026-08-05 17:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.027814 -3.32765)', '2026-08-05 17:23:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027805 -3.327648)'), GeomFromEWKT('SRID=4674;POINT (-39.027814 -3.32765)'))) / (select extract(epoch from '2026-08-05 17:23:59'::timestamp) - extract(epoch from '2026-08-05 17:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027805 -3.327648)'), GeomFromEWKT('SRID=4674;POINT (-39.027814 -3.32765)'))) / (select extract(epoch from '2026-08-05 17:23:59'::timestamp) - extract(epoch from '2026-08-05 17:23: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'), 48130, 'SRID=4674;POINT (-39.027844 -3.327643)', '2026-08-05 17:24:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027814 -3.32765)'), GeomFromEWKT('SRID=4674;POINT (-39.027844 -3.327643)'))) / (select extract(epoch from '2026-08-05 17:24:04'::timestamp) - extract(epoch from '2026-08-05 17:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027814 -3.32765)'), GeomFromEWKT('SRID=4674;POINT (-39.027844 -3.327643)'))) / (select extract(epoch from '2026-08-05 17:24:04'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.027885 -3.327638)', '2026-08-05 17:24:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027844 -3.327643)'), GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.327638)'))) / (select extract(epoch from '2026-08-05 17:24:10'::timestamp) - extract(epoch from '2026-08-05 17:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027844 -3.327643)'), GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.327638)'))) / (select extract(epoch from '2026-08-05 17:24:10'::timestamp) - extract(epoch from '2026-08-05 17:24: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'), 48130, 'SRID=4674;POINT (-39.027931 -3.327618)', '2026-08-05 17:24:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.327638)'), GeomFromEWKT('SRID=4674;POINT (-39.027931 -3.327618)'))) / (select extract(epoch from '2026-08-05 17:24:18'::timestamp) - extract(epoch from '2026-08-05 17:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.327638)'), GeomFromEWKT('SRID=4674;POINT (-39.027931 -3.327618)'))) / (select extract(epoch from '2026-08-05 17:24:18'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.027977 -3.327573)', '2026-08-05 17:24:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027931 -3.327618)'), GeomFromEWKT('SRID=4674;POINT (-39.027977 -3.327573)'))) / (select extract(epoch from '2026-08-05 17:24:29'::timestamp) - extract(epoch from '2026-08-05 17:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027931 -3.327618)'), GeomFromEWKT('SRID=4674;POINT (-39.027977 -3.327573)'))) / (select extract(epoch from '2026-08-05 17:24:29'::timestamp) - extract(epoch from '2026-08-05 17:24: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'), 48130, 'SRID=4674;POINT (-39.028046 -3.327533)', '2026-08-05 17:24:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027977 -3.327573)'), GeomFromEWKT('SRID=4674;POINT (-39.028046 -3.327533)'))) / (select extract(epoch from '2026-08-05 17:24:41'::timestamp) - extract(epoch from '2026-08-05 17:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027977 -3.327573)'), GeomFromEWKT('SRID=4674;POINT (-39.028046 -3.327533)'))) / (select extract(epoch from '2026-08-05 17:24:41'::timestamp) - extract(epoch from '2026-08-05 17:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.028119 -3.327527)', '2026-08-05 17:24:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028046 -3.327533)'), GeomFromEWKT('SRID=4674;POINT (-39.028119 -3.327527)'))) / (select extract(epoch from '2026-08-05 17:24:51'::timestamp) - extract(epoch from '2026-08-05 17:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028046 -3.327533)'), GeomFromEWKT('SRID=4674;POINT (-39.028119 -3.327527)'))) / (select extract(epoch from '2026-08-05 17:24:51'::timestamp) - extract(epoch from '2026-08-05 17:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.028161 -3.327516)', '2026-08-05 17:24:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028119 -3.327527)'), GeomFromEWKT('SRID=4674;POINT (-39.028161 -3.327516)'))) / (select extract(epoch from '2026-08-05 17:24:57'::timestamp) - extract(epoch from '2026-08-05 17:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028119 -3.327527)'), GeomFromEWKT('SRID=4674;POINT (-39.028161 -3.327516)'))) / (select extract(epoch from '2026-08-05 17:24:57'::timestamp) - extract(epoch from '2026-08-05 17:24: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'), 48130, 'SRID=4674;POINT (-39.028194 -3.327514)', '2026-08-05 17:25:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028161 -3.327516)'), GeomFromEWKT('SRID=4674;POINT (-39.028194 -3.327514)'))) / (select extract(epoch from '2026-08-05 17:25:03'::timestamp) - extract(epoch from '2026-08-05 17:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028161 -3.327516)'), GeomFromEWKT('SRID=4674;POINT (-39.028194 -3.327514)'))) / (select extract(epoch from '2026-08-05 17:25:03'::timestamp) - extract(epoch from '2026-08-05 17:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.028236 -3.327503)', '2026-08-05 17:25:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028194 -3.327514)'), GeomFromEWKT('SRID=4674;POINT (-39.028236 -3.327503)'))) / (select extract(epoch from '2026-08-05 17:25:11'::timestamp) - extract(epoch from '2026-08-05 17:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028194 -3.327514)'), GeomFromEWKT('SRID=4674;POINT (-39.028236 -3.327503)'))) / (select extract(epoch from '2026-08-05 17:25:11'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.028253 -3.327495)', '2026-08-05 17:25:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028236 -3.327503)'), GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.327495)'))) / (select extract(epoch from '2026-08-05 17:25:14'::timestamp) - extract(epoch from '2026-08-05 17:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028236 -3.327503)'), GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.327495)'))) / (select extract(epoch from '2026-08-05 17:25:14'::timestamp) - extract(epoch from '2026-08-05 17:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.028263 -3.327492)', '2026-08-05 17:25:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.327495)'), GeomFromEWKT('SRID=4674;POINT (-39.028263 -3.327492)'))) / (select extract(epoch from '2026-08-05 17:25:16'::timestamp) - extract(epoch from '2026-08-05 17:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.327495)'), GeomFromEWKT('SRID=4674;POINT (-39.028263 -3.327492)'))) / (select extract(epoch from '2026-08-05 17:25:16'::timestamp) - extract(epoch from '2026-08-05 17:25: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'), 48130, 'SRID=4674;POINT (-39.028288 -3.327469)', '2026-08-05 17:25:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028263 -3.327492)'), GeomFromEWKT('SRID=4674;POINT (-39.028288 -3.327469)'))) / (select extract(epoch from '2026-08-05 17:25:22'::timestamp) - extract(epoch from '2026-08-05 17:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028263 -3.327492)'), GeomFromEWKT('SRID=4674;POINT (-39.028288 -3.327469)'))) / (select extract(epoch from '2026-08-05 17:25:22'::timestamp) - extract(epoch from '2026-08-05 17:25: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'), 48130, 'SRID=4674;POINT (-39.028323 -3.327446)', '2026-08-05 17:25:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028288 -3.327469)'), GeomFromEWKT('SRID=4674;POINT (-39.028323 -3.327446)'))) / (select extract(epoch from '2026-08-05 17:25:28'::timestamp) - extract(epoch from '2026-08-05 17:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028288 -3.327469)'), GeomFromEWKT('SRID=4674;POINT (-39.028323 -3.327446)'))) / (select extract(epoch from '2026-08-05 17:25:28'::timestamp) - extract(epoch from '2026-08-05 17:25: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'), 48130, 'SRID=4674;POINT (-39.028355 -3.327431)', '2026-08-05 17:25:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028323 -3.327446)'), GeomFromEWKT('SRID=4674;POINT (-39.028355 -3.327431)'))) / (select extract(epoch from '2026-08-05 17:25:34'::timestamp) - extract(epoch from '2026-08-05 17:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028323 -3.327446)'), GeomFromEWKT('SRID=4674;POINT (-39.028355 -3.327431)'))) / (select extract(epoch from '2026-08-05 17:25:34'::timestamp) - extract(epoch from '2026-08-05 17:25: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'), 48130, 'SRID=4674;POINT (-39.028393 -3.327423)', '2026-08-05 17:25:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028355 -3.327431)'), GeomFromEWKT('SRID=4674;POINT (-39.028393 -3.327423)'))) / (select extract(epoch from '2026-08-05 17:25:39'::timestamp) - extract(epoch from '2026-08-05 17:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028355 -3.327431)'), GeomFromEWKT('SRID=4674;POINT (-39.028393 -3.327423)'))) / (select extract(epoch from '2026-08-05 17:25:39'::timestamp) - extract(epoch from '2026-08-05 17:25: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'), 48130, 'SRID=4674;POINT (-39.028433 -3.327405)', '2026-08-05 17:25:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028393 -3.327423)'), GeomFromEWKT('SRID=4674;POINT (-39.028433 -3.327405)'))) / (select extract(epoch from '2026-08-05 17:25:45'::timestamp) - extract(epoch from '2026-08-05 17:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028393 -3.327423)'), GeomFromEWKT('SRID=4674;POINT (-39.028433 -3.327405)'))) / (select extract(epoch from '2026-08-05 17:25:45'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.028464 -3.327403)', '2026-08-05 17:25:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028433 -3.327405)'), GeomFromEWKT('SRID=4674;POINT (-39.028464 -3.327403)'))) / (select extract(epoch from '2026-08-05 17:25:50'::timestamp) - extract(epoch from '2026-08-05 17:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028433 -3.327405)'), GeomFromEWKT('SRID=4674;POINT (-39.028464 -3.327403)'))) / (select extract(epoch from '2026-08-05 17:25:50'::timestamp) - extract(epoch from '2026-08-05 17:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.02847 -3.327399)', '2026-08-05 17:25:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028464 -3.327403)'), GeomFromEWKT('SRID=4674;POINT (-39.02847 -3.327399)'))) / (select extract(epoch from '2026-08-05 17:25:51'::timestamp) - extract(epoch from '2026-08-05 17:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028464 -3.327403)'), GeomFromEWKT('SRID=4674;POINT (-39.02847 -3.327399)'))) / (select extract(epoch from '2026-08-05 17:25:51'::timestamp) - extract(epoch from '2026-08-05 17:25: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'), 48130, 'SRID=4674;POINT (-39.028501 -3.327389)', '2026-08-05 17:25:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02847 -3.327399)'), GeomFromEWKT('SRID=4674;POINT (-39.028501 -3.327389)'))) / (select extract(epoch from '2026-08-05 17:25:56'::timestamp) - extract(epoch from '2026-08-05 17:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02847 -3.327399)'), GeomFromEWKT('SRID=4674;POINT (-39.028501 -3.327389)'))) / (select extract(epoch from '2026-08-05 17:25:56'::timestamp) - extract(epoch from '2026-08-05 17:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.028509 -3.327386)', '2026-08-05 17:25:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028501 -3.327389)'), GeomFromEWKT('SRID=4674;POINT (-39.028509 -3.327386)'))) / (select extract(epoch from '2026-08-05 17:25:57'::timestamp) - extract(epoch from '2026-08-05 17:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028501 -3.327389)'), GeomFromEWKT('SRID=4674;POINT (-39.028509 -3.327386)'))) / (select extract(epoch from '2026-08-05 17:25:57'::timestamp) - extract(epoch from '2026-08-05 17:25: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'), 48130, 'SRID=4674;POINT (-39.028544 -3.327367)', '2026-08-05 17:26:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028509 -3.327386)'), GeomFromEWKT('SRID=4674;POINT (-39.028544 -3.327367)'))) / (select extract(epoch from '2026-08-05 17:26:03'::timestamp) - extract(epoch from '2026-08-05 17:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028509 -3.327386)'), GeomFromEWKT('SRID=4674;POINT (-39.028544 -3.327367)'))) / (select extract(epoch from '2026-08-05 17:26:03'::timestamp) - extract(epoch from '2026-08-05 17:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.0286 -3.327363)', '2026-08-05 17:26:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028544 -3.327367)'), GeomFromEWKT('SRID=4674;POINT (-39.0286 -3.327363)'))) / (select extract(epoch from '2026-08-05 17:26:09'::timestamp) - extract(epoch from '2026-08-05 17:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028544 -3.327367)'), GeomFromEWKT('SRID=4674;POINT (-39.0286 -3.327363)'))) / (select extract(epoch from '2026-08-05 17:26:09'::timestamp) - extract(epoch from '2026-08-05 17:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.028678 -3.327328)', '2026-08-05 17:26:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0286 -3.327363)'), GeomFromEWKT('SRID=4674;POINT (-39.028678 -3.327328)'))) / (select extract(epoch from '2026-08-05 17:26:19'::timestamp) - extract(epoch from '2026-08-05 17:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0286 -3.327363)'), GeomFromEWKT('SRID=4674;POINT (-39.028678 -3.327328)'))) / (select extract(epoch from '2026-08-05 17:26:19'::timestamp) - extract(epoch from '2026-08-05 17:26:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.028712 -3.327314)', '2026-08-05 17:26:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028678 -3.327328)'), GeomFromEWKT('SRID=4674;POINT (-39.028712 -3.327314)'))) / (select extract(epoch from '2026-08-05 17:26:25'::timestamp) - extract(epoch from '2026-08-05 17:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028678 -3.327328)'), GeomFromEWKT('SRID=4674;POINT (-39.028712 -3.327314)'))) / (select extract(epoch from '2026-08-05 17:26:25'::timestamp) - extract(epoch from '2026-08-05 17:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.028721 -3.327311)', '2026-08-05 17:26:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028712 -3.327314)'), GeomFromEWKT('SRID=4674;POINT (-39.028721 -3.327311)'))) / (select extract(epoch from '2026-08-05 17:26:27'::timestamp) - extract(epoch from '2026-08-05 17:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028712 -3.327314)'), GeomFromEWKT('SRID=4674;POINT (-39.028721 -3.327311)'))) / (select extract(epoch from '2026-08-05 17:26:27'::timestamp) - extract(epoch from '2026-08-05 17:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.028749 -3.327298)', '2026-08-05 17:26:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028721 -3.327311)'), GeomFromEWKT('SRID=4674;POINT (-39.028749 -3.327298)'))) / (select extract(epoch from '2026-08-05 17:26:30'::timestamp) - extract(epoch from '2026-08-05 17:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028721 -3.327311)'), GeomFromEWKT('SRID=4674;POINT (-39.028749 -3.327298)'))) / (select extract(epoch from '2026-08-05 17:26:30'::timestamp) - extract(epoch from '2026-08-05 17:26: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'), 48130, 'SRID=4674;POINT (-39.028784 -3.32729)', '2026-08-05 17:26:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028749 -3.327298)'), GeomFromEWKT('SRID=4674;POINT (-39.028784 -3.32729)'))) / (select extract(epoch from '2026-08-05 17:26:37'::timestamp) - extract(epoch from '2026-08-05 17:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028749 -3.327298)'), GeomFromEWKT('SRID=4674;POINT (-39.028784 -3.32729)'))) / (select extract(epoch from '2026-08-05 17:26:37'::timestamp) - extract(epoch from '2026-08-05 17:26: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'), 48130, 'SRID=4674;POINT (-39.02883 -3.327278)', '2026-08-05 17:26:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028784 -3.32729)'), GeomFromEWKT('SRID=4674;POINT (-39.02883 -3.327278)'))) / (select extract(epoch from '2026-08-05 17:26:43'::timestamp) - extract(epoch from '2026-08-05 17:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028784 -3.32729)'), GeomFromEWKT('SRID=4674;POINT (-39.02883 -3.327278)'))) / (select extract(epoch from '2026-08-05 17:26:43'::timestamp) - extract(epoch from '2026-08-05 17:26: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'), 48130, 'SRID=4674;POINT (-39.028889 -3.327277)', '2026-08-05 17:26:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02883 -3.327278)'), GeomFromEWKT('SRID=4674;POINT (-39.028889 -3.327277)'))) / (select extract(epoch from '2026-08-05 17:26:49'::timestamp) - extract(epoch from '2026-08-05 17:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02883 -3.327278)'), GeomFromEWKT('SRID=4674;POINT (-39.028889 -3.327277)'))) / (select extract(epoch from '2026-08-05 17:26:49'::timestamp) - extract(epoch from '2026-08-05 17:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.028916 -3.327272)', '2026-08-05 17:26:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028889 -3.327277)'), GeomFromEWKT('SRID=4674;POINT (-39.028916 -3.327272)'))) / (select extract(epoch from '2026-08-05 17:26:54'::timestamp) - extract(epoch from '2026-08-05 17:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028889 -3.327277)'), GeomFromEWKT('SRID=4674;POINT (-39.028916 -3.327272)'))) / (select extract(epoch from '2026-08-05 17:26:54'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.028923 -3.327267)', '2026-08-05 17:26:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028916 -3.327272)'), GeomFromEWKT('SRID=4674;POINT (-39.028923 -3.327267)'))) / (select extract(epoch from '2026-08-05 17:26:56'::timestamp) - extract(epoch from '2026-08-05 17:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028916 -3.327272)'), GeomFromEWKT('SRID=4674;POINT (-39.028923 -3.327267)'))) / (select extract(epoch from '2026-08-05 17:26:56'::timestamp) - extract(epoch from '2026-08-05 17:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.028956 -3.32726)', '2026-08-05 17:27:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028923 -3.327267)'), GeomFromEWKT('SRID=4674;POINT (-39.028956 -3.32726)'))) / (select extract(epoch from '2026-08-05 17:27:06'::timestamp) - extract(epoch from '2026-08-05 17:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028923 -3.327267)'), GeomFromEWKT('SRID=4674;POINT (-39.028956 -3.32726)'))) / (select extract(epoch from '2026-08-05 17:27:06'::timestamp) - extract(epoch from '2026-08-05 17:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.029001 -3.327246)', '2026-08-05 17:27:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028956 -3.32726)'), GeomFromEWKT('SRID=4674;POINT (-39.029001 -3.327246)'))) / (select extract(epoch from '2026-08-05 17:27:14'::timestamp) - extract(epoch from '2026-08-05 17:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028956 -3.32726)'), GeomFromEWKT('SRID=4674;POINT (-39.029001 -3.327246)'))) / (select extract(epoch from '2026-08-05 17:27:14'::timestamp) - extract(epoch from '2026-08-05 17:27: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'), 48130, 'SRID=4674;POINT (-39.029064 -3.327218)', '2026-08-05 17:27:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029001 -3.327246)'), GeomFromEWKT('SRID=4674;POINT (-39.029064 -3.327218)'))) / (select extract(epoch from '2026-08-05 17:27:28'::timestamp) - extract(epoch from '2026-08-05 17:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029001 -3.327246)'), GeomFromEWKT('SRID=4674;POINT (-39.029064 -3.327218)'))) / (select extract(epoch from '2026-08-05 17:27:28'::timestamp) - extract(epoch from '2026-08-05 17:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.029104 -3.3272)', '2026-08-05 17:27:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029064 -3.327218)'), GeomFromEWKT('SRID=4674;POINT (-39.029104 -3.3272)'))) / (select extract(epoch from '2026-08-05 17:27:35'::timestamp) - extract(epoch from '2026-08-05 17:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029064 -3.327218)'), GeomFromEWKT('SRID=4674;POINT (-39.029104 -3.3272)'))) / (select extract(epoch from '2026-08-05 17:27:35'::timestamp) - extract(epoch from '2026-08-05 17:27: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'), 48130, 'SRID=4674;POINT (-39.029115 -3.327196)', '2026-08-05 17:27:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029104 -3.3272)'), GeomFromEWKT('SRID=4674;POINT (-39.029115 -3.327196)'))) / (select extract(epoch from '2026-08-05 17:27:36'::timestamp) - extract(epoch from '2026-08-05 17:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029104 -3.3272)'), GeomFromEWKT('SRID=4674;POINT (-39.029115 -3.327196)'))) / (select extract(epoch from '2026-08-05 17:27:36'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.029149 -3.327181)', '2026-08-05 17:27:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029115 -3.327196)'), GeomFromEWKT('SRID=4674;POINT (-39.029149 -3.327181)'))) / (select extract(epoch from '2026-08-05 17:27:41'::timestamp) - extract(epoch from '2026-08-05 17:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029115 -3.327196)'), GeomFromEWKT('SRID=4674;POINT (-39.029149 -3.327181)'))) / (select extract(epoch from '2026-08-05 17:27:41'::timestamp) - extract(epoch from '2026-08-05 17:27: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'), 48130, 'SRID=4674;POINT (-39.029157 -3.32718)', '2026-08-05 17:27:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029149 -3.327181)'), GeomFromEWKT('SRID=4674;POINT (-39.029157 -3.32718)'))) / (select extract(epoch from '2026-08-05 17:27:42'::timestamp) - extract(epoch from '2026-08-05 17:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029149 -3.327181)'), GeomFromEWKT('SRID=4674;POINT (-39.029157 -3.32718)'))) / (select extract(epoch from '2026-08-05 17:27:42'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.029167 -3.327176)', '2026-08-05 17:27:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029157 -3.32718)'), GeomFromEWKT('SRID=4674;POINT (-39.029167 -3.327176)'))) / (select extract(epoch from '2026-08-05 17:27:46'::timestamp) - extract(epoch from '2026-08-05 17:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029157 -3.32718)'), GeomFromEWKT('SRID=4674;POINT (-39.029167 -3.327176)'))) / (select extract(epoch from '2026-08-05 17:27:46'::timestamp) - extract(epoch from '2026-08-05 17:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.029201 -3.327174)', '2026-08-05 17:27:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029167 -3.327176)'), GeomFromEWKT('SRID=4674;POINT (-39.029201 -3.327174)'))) / (select extract(epoch from '2026-08-05 17:27:51'::timestamp) - extract(epoch from '2026-08-05 17:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029167 -3.327176)'), GeomFromEWKT('SRID=4674;POINT (-39.029201 -3.327174)'))) / (select extract(epoch from '2026-08-05 17:27:51'::timestamp) - extract(epoch from '2026-08-05 17:27: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'), 48130, 'SRID=4674;POINT (-39.029235 -3.327167)', '2026-08-05 17:27:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029201 -3.327174)'), GeomFromEWKT('SRID=4674;POINT (-39.029235 -3.327167)'))) / (select extract(epoch from '2026-08-05 17:27:56'::timestamp) - extract(epoch from '2026-08-05 17:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029201 -3.327174)'), GeomFromEWKT('SRID=4674;POINT (-39.029235 -3.327167)'))) / (select extract(epoch from '2026-08-05 17:27:56'::timestamp) - extract(epoch from '2026-08-05 17:27: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'), 48130, 'SRID=4674;POINT (-39.029281 -3.327139)', '2026-08-05 17:28:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029235 -3.327167)'), GeomFromEWKT('SRID=4674;POINT (-39.029281 -3.327139)'))) / (select extract(epoch from '2026-08-05 17:28:04'::timestamp) - extract(epoch from '2026-08-05 17:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029235 -3.327167)'), GeomFromEWKT('SRID=4674;POINT (-39.029281 -3.327139)'))) / (select extract(epoch from '2026-08-05 17:28:04'::timestamp) - extract(epoch from '2026-08-05 17:27: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'), 48130, 'SRID=4674;POINT (-39.029342 -3.327125)', '2026-08-05 17:28:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029281 -3.327139)'), GeomFromEWKT('SRID=4674;POINT (-39.029342 -3.327125)'))) / (select extract(epoch from '2026-08-05 17:28:14'::timestamp) - extract(epoch from '2026-08-05 17:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029281 -3.327139)'), GeomFromEWKT('SRID=4674;POINT (-39.029342 -3.327125)'))) / (select extract(epoch from '2026-08-05 17:28:14'::timestamp) - extract(epoch from '2026-08-05 17:28:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.029385 -3.327116)', '2026-08-05 17:28:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029342 -3.327125)'), GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.327116)'))) / (select extract(epoch from '2026-08-05 17:28:21'::timestamp) - extract(epoch from '2026-08-05 17:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029342 -3.327125)'), GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.327116)'))) / (select extract(epoch from '2026-08-05 17:28:21'::timestamp) - extract(epoch from '2026-08-05 17:28: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'), 48130, 'SRID=4674;POINT (-39.029416 -3.327121)', '2026-08-05 17:28:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.327116)'), GeomFromEWKT('SRID=4674;POINT (-39.029416 -3.327121)'))) / (select extract(epoch from '2026-08-05 17:28:26'::timestamp) - extract(epoch from '2026-08-05 17:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.327116)'), GeomFromEWKT('SRID=4674;POINT (-39.029416 -3.327121)'))) / (select extract(epoch from '2026-08-05 17:28:26'::timestamp) - extract(epoch from '2026-08-05 17:28: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'), 48130, 'SRID=4674;POINT (-39.029441 -3.327114)', '2026-08-05 17:28:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029416 -3.327121)'), GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.327114)'))) / (select extract(epoch from '2026-08-05 17:28:31'::timestamp) - extract(epoch from '2026-08-05 17:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029416 -3.327121)'), GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.327114)'))) / (select extract(epoch from '2026-08-05 17:28:31'::timestamp) - extract(epoch from '2026-08-05 17:28: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'), 48130, 'SRID=4674;POINT (-39.029463 -3.327113)', '2026-08-05 17:28:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.327114)'), GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.327113)'))) / (select extract(epoch from '2026-08-05 17:28:33'::timestamp) - extract(epoch from '2026-08-05 17:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.327114)'), GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.327113)'))) / (select extract(epoch from '2026-08-05 17:28:33'::timestamp) - extract(epoch from '2026-08-05 17:28: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'), 48130, 'SRID=4674;POINT (-39.029473 -3.327107)', '2026-08-05 17:28:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.327113)'), GeomFromEWKT('SRID=4674;POINT (-39.029473 -3.327107)'))) / (select extract(epoch from '2026-08-05 17:28:34'::timestamp) - extract(epoch from '2026-08-05 17:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.327113)'), GeomFromEWKT('SRID=4674;POINT (-39.029473 -3.327107)'))) / (select extract(epoch from '2026-08-05 17:28:34'::timestamp) - extract(epoch from '2026-08-05 17:28: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'), 48130, 'SRID=4674;POINT (-39.029504 -3.327082)', '2026-08-05 17:28:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029473 -3.327107)'), GeomFromEWKT('SRID=4674;POINT (-39.029504 -3.327082)'))) / (select extract(epoch from '2026-08-05 17:28:39'::timestamp) - extract(epoch from '2026-08-05 17:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029473 -3.327107)'), GeomFromEWKT('SRID=4674;POINT (-39.029504 -3.327082)'))) / (select extract(epoch from '2026-08-05 17:28:39'::timestamp) - extract(epoch from '2026-08-05 17:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.02955 -3.327068)', '2026-08-05 17:28:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029504 -3.327082)'), GeomFromEWKT('SRID=4674;POINT (-39.02955 -3.327068)'))) / (select extract(epoch from '2026-08-05 17:28:45'::timestamp) - extract(epoch from '2026-08-05 17:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029504 -3.327082)'), GeomFromEWKT('SRID=4674;POINT (-39.02955 -3.327068)'))) / (select extract(epoch from '2026-08-05 17:28:45'::timestamp) - extract(epoch from '2026-08-05 17:28: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'), 48130, 'SRID=4674;POINT (-39.02959 -3.327039)', '2026-08-05 17:28:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02955 -3.327068)'), GeomFromEWKT('SRID=4674;POINT (-39.02959 -3.327039)'))) / (select extract(epoch from '2026-08-05 17:28:52'::timestamp) - extract(epoch from '2026-08-05 17:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02955 -3.327068)'), GeomFromEWKT('SRID=4674;POINT (-39.02959 -3.327039)'))) / (select extract(epoch from '2026-08-05 17:28:52'::timestamp) - extract(epoch from '2026-08-05 17:28: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'), 48130, 'SRID=4674;POINT (-39.029593 -3.32703)', '2026-08-05 17:28:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02959 -3.327039)'), GeomFromEWKT('SRID=4674;POINT (-39.029593 -3.32703)'))) / (select extract(epoch from '2026-08-05 17:28:53'::timestamp) - extract(epoch from '2026-08-05 17:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02959 -3.327039)'), GeomFromEWKT('SRID=4674;POINT (-39.029593 -3.32703)'))) / (select extract(epoch from '2026-08-05 17:28:53'::timestamp) - extract(epoch from '2026-08-05 17:28: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'), 48130, 'SRID=4674;POINT (-39.029624 -3.327021)', '2026-08-05 17:28:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029593 -3.32703)'), GeomFromEWKT('SRID=4674;POINT (-39.029624 -3.327021)'))) / (select extract(epoch from '2026-08-05 17:28:58'::timestamp) - extract(epoch from '2026-08-05 17:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029593 -3.32703)'), GeomFromEWKT('SRID=4674;POINT (-39.029624 -3.327021)'))) / (select extract(epoch from '2026-08-05 17:28:58'::timestamp) - extract(epoch from '2026-08-05 17:28: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'), 48130, 'SRID=4674;POINT (-39.029657 -3.327023)', '2026-08-05 17:29:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029624 -3.327021)'), GeomFromEWKT('SRID=4674;POINT (-39.029657 -3.327023)'))) / (select extract(epoch from '2026-08-05 17:29:02'::timestamp) - extract(epoch from '2026-08-05 17:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029624 -3.327021)'), GeomFromEWKT('SRID=4674;POINT (-39.029657 -3.327023)'))) / (select extract(epoch from '2026-08-05 17:29:02'::timestamp) - extract(epoch from '2026-08-05 17:28: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'), 48130, 'SRID=4674;POINT (-39.029668 -3.327014)', '2026-08-05 17:29:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029657 -3.327023)'), GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.327014)'))) / (select extract(epoch from '2026-08-05 17:29:04'::timestamp) - extract(epoch from '2026-08-05 17:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029657 -3.327023)'), GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.327014)'))) / (select extract(epoch from '2026-08-05 17:29:04'::timestamp) - extract(epoch from '2026-08-05 17:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.029693 -3.327002)', '2026-08-05 17:29:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.327014)'), GeomFromEWKT('SRID=4674;POINT (-39.029693 -3.327002)'))) / (select extract(epoch from '2026-08-05 17:29:07'::timestamp) - extract(epoch from '2026-08-05 17:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.327014)'), GeomFromEWKT('SRID=4674;POINT (-39.029693 -3.327002)'))) / (select extract(epoch from '2026-08-05 17:29:07'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.029704 -3.326994)', '2026-08-05 17:29:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029693 -3.327002)'), GeomFromEWKT('SRID=4674;POINT (-39.029704 -3.326994)'))) / (select extract(epoch from '2026-08-05 17:29:09'::timestamp) - extract(epoch from '2026-08-05 17:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029693 -3.327002)'), GeomFromEWKT('SRID=4674;POINT (-39.029704 -3.326994)'))) / (select extract(epoch from '2026-08-05 17:29:09'::timestamp) - extract(epoch from '2026-08-05 17:29: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'), 48130, 'SRID=4674;POINT (-39.029734 -3.326978)', '2026-08-05 17:29:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029704 -3.326994)'), GeomFromEWKT('SRID=4674;POINT (-39.029734 -3.326978)'))) / (select extract(epoch from '2026-08-05 17:29:16'::timestamp) - extract(epoch from '2026-08-05 17:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029704 -3.326994)'), GeomFromEWKT('SRID=4674;POINT (-39.029734 -3.326978)'))) / (select extract(epoch from '2026-08-05 17:29:16'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.029759 -3.326975)', '2026-08-05 17:29:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029734 -3.326978)'), GeomFromEWKT('SRID=4674;POINT (-39.029759 -3.326975)'))) / (select extract(epoch from '2026-08-05 17:29:20'::timestamp) - extract(epoch from '2026-08-05 17:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029734 -3.326978)'), GeomFromEWKT('SRID=4674;POINT (-39.029759 -3.326975)'))) / (select extract(epoch from '2026-08-05 17:29:20'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.029761 -3.326967)', '2026-08-05 17:29:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029759 -3.326975)'), GeomFromEWKT('SRID=4674;POINT (-39.029761 -3.326967)'))) / (select extract(epoch from '2026-08-05 17:29:28'::timestamp) - extract(epoch from '2026-08-05 17:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029759 -3.326975)'), GeomFromEWKT('SRID=4674;POINT (-39.029761 -3.326967)'))) / (select extract(epoch from '2026-08-05 17:29:28'::timestamp) - extract(epoch from '2026-08-05 17:29:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.029793 -3.326955)', '2026-08-05 17:29:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029761 -3.326967)'), GeomFromEWKT('SRID=4674;POINT (-39.029793 -3.326955)'))) / (select extract(epoch from '2026-08-05 17:29:35'::timestamp) - extract(epoch from '2026-08-05 17:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029761 -3.326967)'), GeomFromEWKT('SRID=4674;POINT (-39.029793 -3.326955)'))) / (select extract(epoch from '2026-08-05 17:29:35'::timestamp) - extract(epoch from '2026-08-05 17:29: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'), 48130, 'SRID=4674;POINT (-39.029892 -3.326936)', '2026-08-05 17:29:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029793 -3.326955)'), GeomFromEWKT('SRID=4674;POINT (-39.029892 -3.326936)'))) / (select extract(epoch from '2026-08-05 17:29:50'::timestamp) - extract(epoch from '2026-08-05 17:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029793 -3.326955)'), GeomFromEWKT('SRID=4674;POINT (-39.029892 -3.326936)'))) / (select extract(epoch from '2026-08-05 17:29:50'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.029948 -3.326917)', '2026-08-05 17:29:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029892 -3.326936)'), GeomFromEWKT('SRID=4674;POINT (-39.029948 -3.326917)'))) / (select extract(epoch from '2026-08-05 17:29:57'::timestamp) - extract(epoch from '2026-08-05 17:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029892 -3.326936)'), GeomFromEWKT('SRID=4674;POINT (-39.029948 -3.326917)'))) / (select extract(epoch from '2026-08-05 17:29:57'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.030051 -3.326888)', '2026-08-05 17:30:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029948 -3.326917)'), GeomFromEWKT('SRID=4674;POINT (-39.030051 -3.326888)'))) / (select extract(epoch from '2026-08-05 17:30:11'::timestamp) - extract(epoch from '2026-08-05 17:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029948 -3.326917)'), GeomFromEWKT('SRID=4674;POINT (-39.030051 -3.326888)'))) / (select extract(epoch from '2026-08-05 17:30:11'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.030114 -3.326868)', '2026-08-05 17:30:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030051 -3.326888)'), GeomFromEWKT('SRID=4674;POINT (-39.030114 -3.326868)'))) / (select extract(epoch from '2026-08-05 17:30:22'::timestamp) - extract(epoch from '2026-08-05 17:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030051 -3.326888)'), GeomFromEWKT('SRID=4674;POINT (-39.030114 -3.326868)'))) / (select extract(epoch from '2026-08-05 17:30:22'::timestamp) - extract(epoch from '2026-08-05 17:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.030166 -3.326842)', '2026-08-05 17:30:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030114 -3.326868)'), GeomFromEWKT('SRID=4674;POINT (-39.030166 -3.326842)'))) / (select extract(epoch from '2026-08-05 17:30:32'::timestamp) - extract(epoch from '2026-08-05 17:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030114 -3.326868)'), GeomFromEWKT('SRID=4674;POINT (-39.030166 -3.326842)'))) / (select extract(epoch from '2026-08-05 17:30:32'::timestamp) - extract(epoch from '2026-08-05 17:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.030214 -3.326824)', '2026-08-05 17:30:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030166 -3.326842)'), GeomFromEWKT('SRID=4674;POINT (-39.030214 -3.326824)'))) / (select extract(epoch from '2026-08-05 17:30:38'::timestamp) - extract(epoch from '2026-08-05 17:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030166 -3.326842)'), GeomFromEWKT('SRID=4674;POINT (-39.030214 -3.326824)'))) / (select extract(epoch from '2026-08-05 17:30:38'::timestamp) - extract(epoch from '2026-08-05 17:30: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'), 48130, 'SRID=4674;POINT (-39.030273 -3.32681)', '2026-08-05 17:30:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030214 -3.326824)'), GeomFromEWKT('SRID=4674;POINT (-39.030273 -3.32681)'))) / (select extract(epoch from '2026-08-05 17:30:45'::timestamp) - extract(epoch from '2026-08-05 17:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030214 -3.326824)'), GeomFromEWKT('SRID=4674;POINT (-39.030273 -3.32681)'))) / (select extract(epoch from '2026-08-05 17:30:45'::timestamp) - extract(epoch from '2026-08-05 17:30: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'), 48130, 'SRID=4674;POINT (-39.030312 -3.32679)', '2026-08-05 17:30:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030273 -3.32681)'), GeomFromEWKT('SRID=4674;POINT (-39.030312 -3.32679)'))) / (select extract(epoch from '2026-08-05 17:30:49'::timestamp) - extract(epoch from '2026-08-05 17:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030273 -3.32681)'), GeomFromEWKT('SRID=4674;POINT (-39.030312 -3.32679)'))) / (select extract(epoch from '2026-08-05 17:30:49'::timestamp) - extract(epoch from '2026-08-05 17:30: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'), 48130, 'SRID=4674;POINT (-39.030344 -3.326784)', '2026-08-05 17:30:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030312 -3.32679)'), GeomFromEWKT('SRID=4674;POINT (-39.030344 -3.326784)'))) / (select extract(epoch from '2026-08-05 17:30:57'::timestamp) - extract(epoch from '2026-08-05 17:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030312 -3.32679)'), GeomFromEWKT('SRID=4674;POINT (-39.030344 -3.326784)'))) / (select extract(epoch from '2026-08-05 17:30:57'::timestamp) - extract(epoch from '2026-08-05 17:30: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'), 48130, 'SRID=4674;POINT (-39.030424 -3.326763)', '2026-08-05 17:31:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030344 -3.326784)'), GeomFromEWKT('SRID=4674;POINT (-39.030424 -3.326763)'))) / (select extract(epoch from '2026-08-05 17:31:11'::timestamp) - extract(epoch from '2026-08-05 17:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030344 -3.326784)'), GeomFromEWKT('SRID=4674;POINT (-39.030424 -3.326763)'))) / (select extract(epoch from '2026-08-05 17:31:11'::timestamp) - extract(epoch from '2026-08-05 17:30: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'), 48130, 'SRID=4674;POINT (-39.030472 -3.32674)', '2026-08-05 17:31:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030424 -3.326763)'), GeomFromEWKT('SRID=4674;POINT (-39.030472 -3.32674)'))) / (select extract(epoch from '2026-08-05 17:31:21'::timestamp) - extract(epoch from '2026-08-05 17:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030424 -3.326763)'), GeomFromEWKT('SRID=4674;POINT (-39.030472 -3.32674)'))) / (select extract(epoch from '2026-08-05 17:31:21'::timestamp) - extract(epoch from '2026-08-05 17:31: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'), 48130, 'SRID=4674;POINT (-39.03053 -3.326723)', '2026-08-05 17:31:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030472 -3.32674)'), GeomFromEWKT('SRID=4674;POINT (-39.03053 -3.326723)'))) / (select extract(epoch from '2026-08-05 17:31:31'::timestamp) - extract(epoch from '2026-08-05 17:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030472 -3.32674)'), GeomFromEWKT('SRID=4674;POINT (-39.03053 -3.326723)'))) / (select extract(epoch from '2026-08-05 17:31:31'::timestamp) - extract(epoch from '2026-08-05 17:31: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'), 48130, 'SRID=4674;POINT (-39.030567 -3.326715)', '2026-08-05 17:31:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03053 -3.326723)'), GeomFromEWKT('SRID=4674;POINT (-39.030567 -3.326715)'))) / (select extract(epoch from '2026-08-05 17:31:35'::timestamp) - extract(epoch from '2026-08-05 17:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03053 -3.326723)'), GeomFromEWKT('SRID=4674;POINT (-39.030567 -3.326715)'))) / (select extract(epoch from '2026-08-05 17:31:35'::timestamp) - extract(epoch from '2026-08-05 17:31: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'), 48130, 'SRID=4674;POINT (-39.030597 -3.326706)', '2026-08-05 17:31:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030567 -3.326715)'), GeomFromEWKT('SRID=4674;POINT (-39.030597 -3.326706)'))) / (select extract(epoch from '2026-08-05 17:31:40'::timestamp) - extract(epoch from '2026-08-05 17:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030567 -3.326715)'), GeomFromEWKT('SRID=4674;POINT (-39.030597 -3.326706)'))) / (select extract(epoch from '2026-08-05 17:31:40'::timestamp) - extract(epoch from '2026-08-05 17:31: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'), 48130, 'SRID=4674;POINT (-39.030617 -3.326683)', '2026-08-05 17:31:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030597 -3.326706)'), GeomFromEWKT('SRID=4674;POINT (-39.030617 -3.326683)'))) / (select extract(epoch from '2026-08-05 17:31:45'::timestamp) - extract(epoch from '2026-08-05 17:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030597 -3.326706)'), GeomFromEWKT('SRID=4674;POINT (-39.030617 -3.326683)'))) / (select extract(epoch from '2026-08-05 17:31:45'::timestamp) - extract(epoch from '2026-08-05 17:31: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'), 48130, 'SRID=4674;POINT (-39.030649 -3.326662)', '2026-08-05 17:31:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030617 -3.326683)'), GeomFromEWKT('SRID=4674;POINT (-39.030649 -3.326662)'))) / (select extract(epoch from '2026-08-05 17:31:51'::timestamp) - extract(epoch from '2026-08-05 17:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030617 -3.326683)'), GeomFromEWKT('SRID=4674;POINT (-39.030649 -3.326662)'))) / (select extract(epoch from '2026-08-05 17:31:51'::timestamp) - extract(epoch from '2026-08-05 17:31: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'), 48130, 'SRID=4674;POINT (-39.030694 -3.326658)', '2026-08-05 17:31:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030649 -3.326662)'), GeomFromEWKT('SRID=4674;POINT (-39.030694 -3.326658)'))) / (select extract(epoch from '2026-08-05 17:31:57'::timestamp) - extract(epoch from '2026-08-05 17:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030649 -3.326662)'), GeomFromEWKT('SRID=4674;POINT (-39.030694 -3.326658)'))) / (select extract(epoch from '2026-08-05 17:31:57'::timestamp) - extract(epoch from '2026-08-05 17:31: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'), 48130, 'SRID=4674;POINT (-39.030743 -3.326646)', '2026-08-05 17:32:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030694 -3.326658)'), GeomFromEWKT('SRID=4674;POINT (-39.030743 -3.326646)'))) / (select extract(epoch from '2026-08-05 17:32:04'::timestamp) - extract(epoch from '2026-08-05 17:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030694 -3.326658)'), GeomFromEWKT('SRID=4674;POINT (-39.030743 -3.326646)'))) / (select extract(epoch from '2026-08-05 17:32:04'::timestamp) - extract(epoch from '2026-08-05 17:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.030789 -3.326619)', '2026-08-05 17:32:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030743 -3.326646)'), GeomFromEWKT('SRID=4674;POINT (-39.030789 -3.326619)'))) / (select extract(epoch from '2026-08-05 17:32:16'::timestamp) - extract(epoch from '2026-08-05 17:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030743 -3.326646)'), GeomFromEWKT('SRID=4674;POINT (-39.030789 -3.326619)'))) / (select extract(epoch from '2026-08-05 17:32:16'::timestamp) - extract(epoch from '2026-08-05 17:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.030884 -3.326606)', '2026-08-05 17:32:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030789 -3.326619)'), GeomFromEWKT('SRID=4674;POINT (-39.030884 -3.326606)'))) / (select extract(epoch from '2026-08-05 17:32:29'::timestamp) - extract(epoch from '2026-08-05 17:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030789 -3.326619)'), GeomFromEWKT('SRID=4674;POINT (-39.030884 -3.326606)'))) / (select extract(epoch from '2026-08-05 17:32:29'::timestamp) - extract(epoch from '2026-08-05 17:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.030977 -3.326588)', '2026-08-05 17:32:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030884 -3.326606)'), GeomFromEWKT('SRID=4674;POINT (-39.030977 -3.326588)'))) / (select extract(epoch from '2026-08-05 17:32:41'::timestamp) - extract(epoch from '2026-08-05 17:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030884 -3.326606)'), GeomFromEWKT('SRID=4674;POINT (-39.030977 -3.326588)'))) / (select extract(epoch from '2026-08-05 17:32:41'::timestamp) - extract(epoch from '2026-08-05 17:32: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'), 48130, 'SRID=4674;POINT (-39.03102 -3.326586)', '2026-08-05 17:32:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030977 -3.326588)'), GeomFromEWKT('SRID=4674;POINT (-39.03102 -3.326586)'))) / (select extract(epoch from '2026-08-05 17:32:47'::timestamp) - extract(epoch from '2026-08-05 17:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030977 -3.326588)'), GeomFromEWKT('SRID=4674;POINT (-39.03102 -3.326586)'))) / (select extract(epoch from '2026-08-05 17:32:47'::timestamp) - extract(epoch from '2026-08-05 17:32: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'), 48130, 'SRID=4674;POINT (-39.031025 -3.326563)', '2026-08-05 17:32:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03102 -3.326586)'), GeomFromEWKT('SRID=4674;POINT (-39.031025 -3.326563)'))) / (select extract(epoch from '2026-08-05 17:32:54'::timestamp) - extract(epoch from '2026-08-05 17:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03102 -3.326586)'), GeomFromEWKT('SRID=4674;POINT (-39.031025 -3.326563)'))) / (select extract(epoch from '2026-08-05 17:32:54'::timestamp) - extract(epoch from '2026-08-05 17:32: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'), 48130, 'SRID=4674;POINT (-39.031033 -3.326558)', '2026-08-05 17:32:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031025 -3.326563)'), GeomFromEWKT('SRID=4674;POINT (-39.031033 -3.326558)'))) / (select extract(epoch from '2026-08-05 17:32:55'::timestamp) - extract(epoch from '2026-08-05 17:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031025 -3.326563)'), GeomFromEWKT('SRID=4674;POINT (-39.031033 -3.326558)'))) / (select extract(epoch from '2026-08-05 17:32:55'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.031039 -3.326541)', '2026-08-05 17:32:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031033 -3.326558)'), GeomFromEWKT('SRID=4674;POINT (-39.031039 -3.326541)'))) / (select extract(epoch from '2026-08-05 17:32:59'::timestamp) - extract(epoch from '2026-08-05 17:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031033 -3.326558)'), GeomFromEWKT('SRID=4674;POINT (-39.031039 -3.326541)'))) / (select extract(epoch from '2026-08-05 17:32:59'::timestamp) - extract(epoch from '2026-08-05 17:32: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'), 48130, 'SRID=4674;POINT (-39.031088 -3.326529)', '2026-08-05 17:33:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031039 -3.326541)'), GeomFromEWKT('SRID=4674;POINT (-39.031088 -3.326529)'))) / (select extract(epoch from '2026-08-05 17:33:07'::timestamp) - extract(epoch from '2026-08-05 17:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031039 -3.326541)'), GeomFromEWKT('SRID=4674;POINT (-39.031088 -3.326529)'))) / (select extract(epoch from '2026-08-05 17:33:07'::timestamp) - extract(epoch from '2026-08-05 17:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.031104 -3.326525)', '2026-08-05 17:33:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031088 -3.326529)'), GeomFromEWKT('SRID=4674;POINT (-39.031104 -3.326525)'))) / (select extract(epoch from '2026-08-05 17:33:09'::timestamp) - extract(epoch from '2026-08-05 17:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031088 -3.326529)'), GeomFromEWKT('SRID=4674;POINT (-39.031104 -3.326525)'))) / (select extract(epoch from '2026-08-05 17:33:09'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.03112 -3.326522)', '2026-08-05 17:33:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031104 -3.326525)'), GeomFromEWKT('SRID=4674;POINT (-39.03112 -3.326522)'))) / (select extract(epoch from '2026-08-05 17:33:11'::timestamp) - extract(epoch from '2026-08-05 17:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031104 -3.326525)'), GeomFromEWKT('SRID=4674;POINT (-39.03112 -3.326522)'))) / (select extract(epoch from '2026-08-05 17:33:11'::timestamp) - extract(epoch from '2026-08-05 17:33: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'), 48130, 'SRID=4674;POINT (-39.031151 -3.326522)', '2026-08-05 17:33:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03112 -3.326522)'), GeomFromEWKT('SRID=4674;POINT (-39.031151 -3.326522)'))) / (select extract(epoch from '2026-08-05 17:33:16'::timestamp) - extract(epoch from '2026-08-05 17:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03112 -3.326522)'), GeomFromEWKT('SRID=4674;POINT (-39.031151 -3.326522)'))) / (select extract(epoch from '2026-08-05 17:33:16'::timestamp) - extract(epoch from '2026-08-05 17:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.031164 -3.326517)', '2026-08-05 17:33:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031151 -3.326522)'), GeomFromEWKT('SRID=4674;POINT (-39.031164 -3.326517)'))) / (select extract(epoch from '2026-08-05 17:33:20'::timestamp) - extract(epoch from '2026-08-05 17:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031151 -3.326522)'), GeomFromEWKT('SRID=4674;POINT (-39.031164 -3.326517)'))) / (select extract(epoch from '2026-08-05 17:33:20'::timestamp) - extract(epoch from '2026-08-05 17:33: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'), 48130, 'SRID=4674;POINT (-39.031173 -3.326517)', '2026-08-05 17:33:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031164 -3.326517)'), GeomFromEWKT('SRID=4674;POINT (-39.031173 -3.326517)'))) / (select extract(epoch from '2026-08-05 17:33:21'::timestamp) - extract(epoch from '2026-08-05 17:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031164 -3.326517)'), GeomFromEWKT('SRID=4674;POINT (-39.031173 -3.326517)'))) / (select extract(epoch from '2026-08-05 17:33:21'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.031227 -3.326508)', '2026-08-05 17:33:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031173 -3.326517)'), GeomFromEWKT('SRID=4674;POINT (-39.031227 -3.326508)'))) / (select extract(epoch from '2026-08-05 17:33:28'::timestamp) - extract(epoch from '2026-08-05 17:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031173 -3.326517)'), GeomFromEWKT('SRID=4674;POINT (-39.031227 -3.326508)'))) / (select extract(epoch from '2026-08-05 17:33:28'::timestamp) - extract(epoch from '2026-08-05 17:33: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'), 48130, 'SRID=4674;POINT (-39.031262 -3.326498)', '2026-08-05 17:33:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031227 -3.326508)'), GeomFromEWKT('SRID=4674;POINT (-39.031262 -3.326498)'))) / (select extract(epoch from '2026-08-05 17:33:34'::timestamp) - extract(epoch from '2026-08-05 17:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031227 -3.326508)'), GeomFromEWKT('SRID=4674;POINT (-39.031262 -3.326498)'))) / (select extract(epoch from '2026-08-05 17:33:34'::timestamp) - extract(epoch from '2026-08-05 17:33: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'), 48130, 'SRID=4674;POINT (-39.031318 -3.326469)', '2026-08-05 17:33:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031262 -3.326498)'), GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.326469)'))) / (select extract(epoch from '2026-08-05 17:33:45'::timestamp) - extract(epoch from '2026-08-05 17:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031262 -3.326498)'), GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.326469)'))) / (select extract(epoch from '2026-08-05 17:33:45'::timestamp) - extract(epoch from '2026-08-05 17:33: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'), 48130, 'SRID=4674;POINT (-39.03139 -3.326472)', '2026-08-05 17:33:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.326469)'), GeomFromEWKT('SRID=4674;POINT (-39.03139 -3.326472)'))) / (select extract(epoch from '2026-08-05 17:33:57'::timestamp) - extract(epoch from '2026-08-05 17:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.326469)'), GeomFromEWKT('SRID=4674;POINT (-39.03139 -3.326472)'))) / (select extract(epoch from '2026-08-05 17:33:57'::timestamp) - extract(epoch from '2026-08-05 17:33: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'), 48130, 'SRID=4674;POINT (-39.031445 -3.326455)', '2026-08-05 17:34:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03139 -3.326472)'), GeomFromEWKT('SRID=4674;POINT (-39.031445 -3.326455)'))) / (select extract(epoch from '2026-08-05 17:34:08'::timestamp) - extract(epoch from '2026-08-05 17:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03139 -3.326472)'), GeomFromEWKT('SRID=4674;POINT (-39.031445 -3.326455)'))) / (select extract(epoch from '2026-08-05 17:34:08'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.031531 -3.326439)', '2026-08-05 17:34:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031445 -3.326455)'), GeomFromEWKT('SRID=4674;POINT (-39.031531 -3.326439)'))) / (select extract(epoch from '2026-08-05 17:34:21'::timestamp) - extract(epoch from '2026-08-05 17:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031445 -3.326455)'), GeomFromEWKT('SRID=4674;POINT (-39.031531 -3.326439)'))) / (select extract(epoch from '2026-08-05 17:34:21'::timestamp) - extract(epoch from '2026-08-05 17:34: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'), 48130, 'SRID=4674;POINT (-39.031546 -3.326434)', '2026-08-05 17:34:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031531 -3.326439)'), GeomFromEWKT('SRID=4674;POINT (-39.031546 -3.326434)'))) / (select extract(epoch from '2026-08-05 17:34:23'::timestamp) - extract(epoch from '2026-08-05 17:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031531 -3.326439)'), GeomFromEWKT('SRID=4674;POINT (-39.031546 -3.326434)'))) / (select extract(epoch from '2026-08-05 17:34:23'::timestamp) - extract(epoch from '2026-08-05 17:34: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'), 48130, 'SRID=4674;POINT (-39.031558 -3.326425)', '2026-08-05 17:34:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031546 -3.326434)'), GeomFromEWKT('SRID=4674;POINT (-39.031558 -3.326425)'))) / (select extract(epoch from '2026-08-05 17:34:26'::timestamp) - extract(epoch from '2026-08-05 17:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031546 -3.326434)'), GeomFromEWKT('SRID=4674;POINT (-39.031558 -3.326425)'))) / (select extract(epoch from '2026-08-05 17:34:26'::timestamp) - extract(epoch from '2026-08-05 17:34: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'), 48130, 'SRID=4674;POINT (-39.031569 -3.326427)', '2026-08-05 17:34:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031558 -3.326425)'), GeomFromEWKT('SRID=4674;POINT (-39.031569 -3.326427)'))) / (select extract(epoch from '2026-08-05 17:34:27'::timestamp) - extract(epoch from '2026-08-05 17:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031558 -3.326425)'), GeomFromEWKT('SRID=4674;POINT (-39.031569 -3.326427)'))) / (select extract(epoch from '2026-08-05 17:34:27'::timestamp) - extract(epoch from '2026-08-05 17:34: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'), 48130, 'SRID=4674;POINT (-39.031604 -3.326432)', '2026-08-05 17:34:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031569 -3.326427)'), GeomFromEWKT('SRID=4674;POINT (-39.031604 -3.326432)'))) / (select extract(epoch from '2026-08-05 17:34:31'::timestamp) - extract(epoch from '2026-08-05 17:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031569 -3.326427)'), GeomFromEWKT('SRID=4674;POINT (-39.031604 -3.326432)'))) / (select extract(epoch from '2026-08-05 17:34:31'::timestamp) - extract(epoch from '2026-08-05 17:34: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'), 48130, 'SRID=4674;POINT (-39.031645 -3.326428)', '2026-08-05 17:34:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031604 -3.326432)'), GeomFromEWKT('SRID=4674;POINT (-39.031645 -3.326428)'))) / (select extract(epoch from '2026-08-05 17:34:36'::timestamp) - extract(epoch from '2026-08-05 17:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031604 -3.326432)'), GeomFromEWKT('SRID=4674;POINT (-39.031645 -3.326428)'))) / (select extract(epoch from '2026-08-05 17:34:36'::timestamp) - extract(epoch from '2026-08-05 17:34:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03168 -3.326409)', '2026-08-05 17:34:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031645 -3.326428)'), GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.326409)'))) / (select extract(epoch from '2026-08-05 17:34:43'::timestamp) - extract(epoch from '2026-08-05 17:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031645 -3.326428)'), GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.326409)'))) / (select extract(epoch from '2026-08-05 17:34:43'::timestamp) - extract(epoch from '2026-08-05 17:34: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'), 48130, 'SRID=4674;POINT (-39.031757 -3.326371)', '2026-08-05 17:34:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.326409)'), GeomFromEWKT('SRID=4674;POINT (-39.031757 -3.326371)'))) / (select extract(epoch from '2026-08-05 17:34:55'::timestamp) - extract(epoch from '2026-08-05 17:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.326409)'), GeomFromEWKT('SRID=4674;POINT (-39.031757 -3.326371)'))) / (select extract(epoch from '2026-08-05 17:34:55'::timestamp) - extract(epoch from '2026-08-05 17:34: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'), 48130, 'SRID=4674;POINT (-39.031799 -3.326372)', '2026-08-05 17:35:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031757 -3.326371)'), GeomFromEWKT('SRID=4674;POINT (-39.031799 -3.326372)'))) / (select extract(epoch from '2026-08-05 17:35:05'::timestamp) - extract(epoch from '2026-08-05 17:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031757 -3.326371)'), GeomFromEWKT('SRID=4674;POINT (-39.031799 -3.326372)'))) / (select extract(epoch from '2026-08-05 17:35:05'::timestamp) - extract(epoch from '2026-08-05 17:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03185 -3.326378)', '2026-08-05 17:35:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031799 -3.326372)'), GeomFromEWKT('SRID=4674;POINT (-39.03185 -3.326378)'))) / (select extract(epoch from '2026-08-05 17:35:11'::timestamp) - extract(epoch from '2026-08-05 17:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031799 -3.326372)'), GeomFromEWKT('SRID=4674;POINT (-39.03185 -3.326378)'))) / (select extract(epoch from '2026-08-05 17:35:11'::timestamp) - extract(epoch from '2026-08-05 17:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.031908 -3.326383)', '2026-08-05 17:35:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03185 -3.326378)'), GeomFromEWKT('SRID=4674;POINT (-39.031908 -3.326383)'))) / (select extract(epoch from '2026-08-05 17:35:17'::timestamp) - extract(epoch from '2026-08-05 17:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03185 -3.326378)'), GeomFromEWKT('SRID=4674;POINT (-39.031908 -3.326383)'))) / (select extract(epoch from '2026-08-05 17:35:17'::timestamp) - extract(epoch from '2026-08-05 17:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.031947 -3.326376)', '2026-08-05 17:35:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031908 -3.326383)'), GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.326376)'))) / (select extract(epoch from '2026-08-05 17:35:22'::timestamp) - extract(epoch from '2026-08-05 17:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031908 -3.326383)'), GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.326376)'))) / (select extract(epoch from '2026-08-05 17:35:22'::timestamp) - extract(epoch from '2026-08-05 17:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.031964 -3.326372)', '2026-08-05 17:35:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.326376)'), GeomFromEWKT('SRID=4674;POINT (-39.031964 -3.326372)'))) / (select extract(epoch from '2026-08-05 17:35:23'::timestamp) - extract(epoch from '2026-08-05 17:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.326376)'), GeomFromEWKT('SRID=4674;POINT (-39.031964 -3.326372)'))) / (select extract(epoch from '2026-08-05 17:35:23'::timestamp) - extract(epoch from '2026-08-05 17:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.032005 -3.326363)', '2026-08-05 17:35:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031964 -3.326372)'), GeomFromEWKT('SRID=4674;POINT (-39.032005 -3.326363)'))) / (select extract(epoch from '2026-08-05 17:35:28'::timestamp) - extract(epoch from '2026-08-05 17:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031964 -3.326372)'), GeomFromEWKT('SRID=4674;POINT (-39.032005 -3.326363)'))) / (select extract(epoch from '2026-08-05 17:35:28'::timestamp) - extract(epoch from '2026-08-05 17:35: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'), 48130, 'SRID=4674;POINT (-39.032036 -3.326361)', '2026-08-05 17:35:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032005 -3.326363)'), GeomFromEWKT('SRID=4674;POINT (-39.032036 -3.326361)'))) / (select extract(epoch from '2026-08-05 17:35:33'::timestamp) - extract(epoch from '2026-08-05 17:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032005 -3.326363)'), GeomFromEWKT('SRID=4674;POINT (-39.032036 -3.326361)'))) / (select extract(epoch from '2026-08-05 17:35:33'::timestamp) - extract(epoch from '2026-08-05 17:35: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'), 48130, 'SRID=4674;POINT (-39.032076 -3.326377)', '2026-08-05 17:35:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032036 -3.326361)'), GeomFromEWKT('SRID=4674;POINT (-39.032076 -3.326377)'))) / (select extract(epoch from '2026-08-05 17:35:39'::timestamp) - extract(epoch from '2026-08-05 17:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032036 -3.326361)'), GeomFromEWKT('SRID=4674;POINT (-39.032076 -3.326377)'))) / (select extract(epoch from '2026-08-05 17:35:39'::timestamp) - extract(epoch from '2026-08-05 17:35: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'), 48130, 'SRID=4674;POINT (-39.03211 -3.326377)', '2026-08-05 17:35:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032076 -3.326377)'), GeomFromEWKT('SRID=4674;POINT (-39.03211 -3.326377)'))) / (select extract(epoch from '2026-08-05 17:35:45'::timestamp) - extract(epoch from '2026-08-05 17:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032076 -3.326377)'), GeomFromEWKT('SRID=4674;POINT (-39.03211 -3.326377)'))) / (select extract(epoch from '2026-08-05 17:35:45'::timestamp) - extract(epoch from '2026-08-05 17:35: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'), 48130, 'SRID=4674;POINT (-39.032114 -3.326374)', '2026-08-05 17:35:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03211 -3.326377)'), GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.326374)'))) / (select extract(epoch from '2026-08-05 17:35:51'::timestamp) - extract(epoch from '2026-08-05 17:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03211 -3.326377)'), GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.326374)'))) / (select extract(epoch from '2026-08-05 17:35:51'::timestamp) - extract(epoch from '2026-08-05 17:35: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'), 48130, 'SRID=4674;POINT (-39.032154 -3.326363)', '2026-08-05 17:35:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.326374)'), GeomFromEWKT('SRID=4674;POINT (-39.032154 -3.326363)'))) / (select extract(epoch from '2026-08-05 17:35:57'::timestamp) - extract(epoch from '2026-08-05 17:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.326374)'), GeomFromEWKT('SRID=4674;POINT (-39.032154 -3.326363)'))) / (select extract(epoch from '2026-08-05 17:35:57'::timestamp) - extract(epoch from '2026-08-05 17:35: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'), 48130, 'SRID=4674;POINT (-39.032209 -3.32634)', '2026-08-05 17:36:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032154 -3.326363)'), GeomFromEWKT('SRID=4674;POINT (-39.032209 -3.32634)'))) / (select extract(epoch from '2026-08-05 17:36:03'::timestamp) - extract(epoch from '2026-08-05 17:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032154 -3.326363)'), GeomFromEWKT('SRID=4674;POINT (-39.032209 -3.32634)'))) / (select extract(epoch from '2026-08-05 17:36:03'::timestamp) - extract(epoch from '2026-08-05 17:35: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'), 48130, 'SRID=4674;POINT (-39.032247 -3.326331)', '2026-08-05 17:36:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032209 -3.32634)'), GeomFromEWKT('SRID=4674;POINT (-39.032247 -3.326331)'))) / (select extract(epoch from '2026-08-05 17:36:08'::timestamp) - extract(epoch from '2026-08-05 17:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032209 -3.32634)'), GeomFromEWKT('SRID=4674;POINT (-39.032247 -3.326331)'))) / (select extract(epoch from '2026-08-05 17:36:08'::timestamp) - extract(epoch from '2026-08-05 17:36: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'), 48130, 'SRID=4674;POINT (-39.032264 -3.326324)', '2026-08-05 17:36:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032247 -3.326331)'), GeomFromEWKT('SRID=4674;POINT (-39.032264 -3.326324)'))) / (select extract(epoch from '2026-08-05 17:36:14'::timestamp) - extract(epoch from '2026-08-05 17:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032247 -3.326331)'), GeomFromEWKT('SRID=4674;POINT (-39.032264 -3.326324)'))) / (select extract(epoch from '2026-08-05 17:36:14'::timestamp) - extract(epoch from '2026-08-05 17:36: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'), 48130, 'SRID=4674;POINT (-39.032279 -3.326327)', '2026-08-05 17:36:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032264 -3.326324)'), GeomFromEWKT('SRID=4674;POINT (-39.032279 -3.326327)'))) / (select extract(epoch from '2026-08-05 17:36:18'::timestamp) - extract(epoch from '2026-08-05 17:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032264 -3.326324)'), GeomFromEWKT('SRID=4674;POINT (-39.032279 -3.326327)'))) / (select extract(epoch from '2026-08-05 17:36:18'::timestamp) - extract(epoch from '2026-08-05 17:36: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'), 48130, 'SRID=4674;POINT (-39.032318 -3.326315)', '2026-08-05 17:36:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032279 -3.326327)'), GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.326315)'))) / (select extract(epoch from '2026-08-05 17:36:25'::timestamp) - extract(epoch from '2026-08-05 17:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032279 -3.326327)'), GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.326315)'))) / (select extract(epoch from '2026-08-05 17:36:25'::timestamp) - extract(epoch from '2026-08-05 17:36: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'), 48130, 'SRID=4674;POINT (-39.032361 -3.326308)', '2026-08-05 17:36:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.326315)'), GeomFromEWKT('SRID=4674;POINT (-39.032361 -3.326308)'))) / (select extract(epoch from '2026-08-05 17:36:31'::timestamp) - extract(epoch from '2026-08-05 17:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.326315)'), GeomFromEWKT('SRID=4674;POINT (-39.032361 -3.326308)'))) / (select extract(epoch from '2026-08-05 17:36:31'::timestamp) - extract(epoch from '2026-08-05 17:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.032412 -3.326318)', '2026-08-05 17:36:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032361 -3.326308)'), GeomFromEWKT('SRID=4674;POINT (-39.032412 -3.326318)'))) / (select extract(epoch from '2026-08-05 17:36:36'::timestamp) - extract(epoch from '2026-08-05 17:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032361 -3.326308)'), GeomFromEWKT('SRID=4674;POINT (-39.032412 -3.326318)'))) / (select extract(epoch from '2026-08-05 17:36:36'::timestamp) - extract(epoch from '2026-08-05 17:36: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'), 48130, 'SRID=4674;POINT (-39.032451 -3.32632)', '2026-08-05 17:36:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032412 -3.326318)'), GeomFromEWKT('SRID=4674;POINT (-39.032451 -3.32632)'))) / (select extract(epoch from '2026-08-05 17:36:41'::timestamp) - extract(epoch from '2026-08-05 17:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032412 -3.326318)'), GeomFromEWKT('SRID=4674;POINT (-39.032451 -3.32632)'))) / (select extract(epoch from '2026-08-05 17:36:41'::timestamp) - extract(epoch from '2026-08-05 17:36: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'), 48130, 'SRID=4674;POINT (-39.032472 -3.326309)', '2026-08-05 17:36:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032451 -3.32632)'), GeomFromEWKT('SRID=4674;POINT (-39.032472 -3.326309)'))) / (select extract(epoch from '2026-08-05 17:36:47'::timestamp) - extract(epoch from '2026-08-05 17:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032451 -3.32632)'), GeomFromEWKT('SRID=4674;POINT (-39.032472 -3.326309)'))) / (select extract(epoch from '2026-08-05 17:36:47'::timestamp) - extract(epoch from '2026-08-05 17:36: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'), 48130, 'SRID=4674;POINT (-39.032507 -3.326307)', '2026-08-05 17:36:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032472 -3.326309)'), GeomFromEWKT('SRID=4674;POINT (-39.032507 -3.326307)'))) / (select extract(epoch from '2026-08-05 17:36:53'::timestamp) - extract(epoch from '2026-08-05 17:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032472 -3.326309)'), GeomFromEWKT('SRID=4674;POINT (-39.032507 -3.326307)'))) / (select extract(epoch from '2026-08-05 17:36:53'::timestamp) - extract(epoch from '2026-08-05 17:36: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'), 48130, 'SRID=4674;POINT (-39.032542 -3.326293)', '2026-08-05 17:36:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032507 -3.326307)'), GeomFromEWKT('SRID=4674;POINT (-39.032542 -3.326293)'))) / (select extract(epoch from '2026-08-05 17:36:59'::timestamp) - extract(epoch from '2026-08-05 17:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032507 -3.326307)'), GeomFromEWKT('SRID=4674;POINT (-39.032542 -3.326293)'))) / (select extract(epoch from '2026-08-05 17:36:59'::timestamp) - extract(epoch from '2026-08-05 17:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.032572 -3.32629)', '2026-08-05 17:37:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032542 -3.326293)'), GeomFromEWKT('SRID=4674;POINT (-39.032572 -3.32629)'))) / (select extract(epoch from '2026-08-05 17:37:04'::timestamp) - extract(epoch from '2026-08-05 17:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032542 -3.326293)'), GeomFromEWKT('SRID=4674;POINT (-39.032572 -3.32629)'))) / (select extract(epoch from '2026-08-05 17:37:04'::timestamp) - extract(epoch from '2026-08-05 17:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.032629 -3.32627)', '2026-08-05 17:37:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032572 -3.32629)'), GeomFromEWKT('SRID=4674;POINT (-39.032629 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:37:14'::timestamp) - extract(epoch from '2026-08-05 17:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032572 -3.32629)'), GeomFromEWKT('SRID=4674;POINT (-39.032629 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:37:14'::timestamp) - extract(epoch from '2026-08-05 17:37: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'), 48130, 'SRID=4674;POINT (-39.032692 -3.326252)', '2026-08-05 17:37:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032629 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.032692 -3.326252)'))) / (select extract(epoch from '2026-08-05 17:37:23'::timestamp) - extract(epoch from '2026-08-05 17:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032629 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.032692 -3.326252)'))) / (select extract(epoch from '2026-08-05 17:37:23'::timestamp) - extract(epoch from '2026-08-05 17:37:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03276 -3.326236)', '2026-08-05 17:37:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032692 -3.326252)'), GeomFromEWKT('SRID=4674;POINT (-39.03276 -3.326236)'))) / (select extract(epoch from '2026-08-05 17:37:33'::timestamp) - extract(epoch from '2026-08-05 17:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032692 -3.326252)'), GeomFromEWKT('SRID=4674;POINT (-39.03276 -3.326236)'))) / (select extract(epoch from '2026-08-05 17:37:33'::timestamp) - extract(epoch from '2026-08-05 17:37: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'), 48130, 'SRID=4674;POINT (-39.032822 -3.326209)', '2026-08-05 17:37:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03276 -3.326236)'), GeomFromEWKT('SRID=4674;POINT (-39.032822 -3.326209)'))) / (select extract(epoch from '2026-08-05 17:37:40'::timestamp) - extract(epoch from '2026-08-05 17:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03276 -3.326236)'), GeomFromEWKT('SRID=4674;POINT (-39.032822 -3.326209)'))) / (select extract(epoch from '2026-08-05 17:37:40'::timestamp) - extract(epoch from '2026-08-05 17:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.032865 -3.326199)', '2026-08-05 17:37:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032822 -3.326209)'), GeomFromEWKT('SRID=4674;POINT (-39.032865 -3.326199)'))) / (select extract(epoch from '2026-08-05 17:37:46'::timestamp) - extract(epoch from '2026-08-05 17:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032822 -3.326209)'), GeomFromEWKT('SRID=4674;POINT (-39.032865 -3.326199)'))) / (select extract(epoch from '2026-08-05 17:37:46'::timestamp) - extract(epoch from '2026-08-05 17:37: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'), 48130, 'SRID=4674;POINT (-39.032899 -3.326191)', '2026-08-05 17:37:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032865 -3.326199)'), GeomFromEWKT('SRID=4674;POINT (-39.032899 -3.326191)'))) / (select extract(epoch from '2026-08-05 17:37:53'::timestamp) - extract(epoch from '2026-08-05 17:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032865 -3.326199)'), GeomFromEWKT('SRID=4674;POINT (-39.032899 -3.326191)'))) / (select extract(epoch from '2026-08-05 17:37:53'::timestamp) - extract(epoch from '2026-08-05 17:37: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'), 48130, 'SRID=4674;POINT (-39.032936 -3.326186)', '2026-08-05 17:38:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032899 -3.326191)'), GeomFromEWKT('SRID=4674;POINT (-39.032936 -3.326186)'))) / (select extract(epoch from '2026-08-05 17:38:00'::timestamp) - extract(epoch from '2026-08-05 17:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032899 -3.326191)'), GeomFromEWKT('SRID=4674;POINT (-39.032936 -3.326186)'))) / (select extract(epoch from '2026-08-05 17:38:00'::timestamp) - extract(epoch from '2026-08-05 17:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.032971 -3.326194)', '2026-08-05 17:38:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032936 -3.326186)'), GeomFromEWKT('SRID=4674;POINT (-39.032971 -3.326194)'))) / (select extract(epoch from '2026-08-05 17:38:06'::timestamp) - extract(epoch from '2026-08-05 17:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032936 -3.326186)'), GeomFromEWKT('SRID=4674;POINT (-39.032971 -3.326194)'))) / (select extract(epoch from '2026-08-05 17:38:06'::timestamp) - extract(epoch from '2026-08-05 17:38: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'), 48130, 'SRID=4674;POINT (-39.033007 -3.326196)', '2026-08-05 17:38:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032971 -3.326194)'), GeomFromEWKT('SRID=4674;POINT (-39.033007 -3.326196)'))) / (select extract(epoch from '2026-08-05 17:38:13'::timestamp) - extract(epoch from '2026-08-05 17:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032971 -3.326194)'), GeomFromEWKT('SRID=4674;POINT (-39.033007 -3.326196)'))) / (select extract(epoch from '2026-08-05 17:38:13'::timestamp) - extract(epoch from '2026-08-05 17:38: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'), 48130, 'SRID=4674;POINT (-39.033033 -3.326197)', '2026-08-05 17:38:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033007 -3.326196)'), GeomFromEWKT('SRID=4674;POINT (-39.033033 -3.326197)'))) / (select extract(epoch from '2026-08-05 17:38:18'::timestamp) - extract(epoch from '2026-08-05 17:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033007 -3.326196)'), GeomFromEWKT('SRID=4674;POINT (-39.033033 -3.326197)'))) / (select extract(epoch from '2026-08-05 17:38:18'::timestamp) - extract(epoch from '2026-08-05 17:38: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'), 48130, 'SRID=4674;POINT (-39.033066 -3.326178)', '2026-08-05 17:38:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033033 -3.326197)'), GeomFromEWKT('SRID=4674;POINT (-39.033066 -3.326178)'))) / (select extract(epoch from '2026-08-05 17:38:29'::timestamp) - extract(epoch from '2026-08-05 17:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033033 -3.326197)'), GeomFromEWKT('SRID=4674;POINT (-39.033066 -3.326178)'))) / (select extract(epoch from '2026-08-05 17:38:29'::timestamp) - extract(epoch from '2026-08-05 17:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033073 -3.326171)', '2026-08-05 17:38:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033066 -3.326178)'), GeomFromEWKT('SRID=4674;POINT (-39.033073 -3.326171)'))) / (select extract(epoch from '2026-08-05 17:38:35'::timestamp) - extract(epoch from '2026-08-05 17:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033066 -3.326178)'), GeomFromEWKT('SRID=4674;POINT (-39.033073 -3.326171)'))) / (select extract(epoch from '2026-08-05 17:38:35'::timestamp) - extract(epoch from '2026-08-05 17:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033103 -3.326181)', '2026-08-05 17:38:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033073 -3.326171)'), GeomFromEWKT('SRID=4674;POINT (-39.033103 -3.326181)'))) / (select extract(epoch from '2026-08-05 17:38:46'::timestamp) - extract(epoch from '2026-08-05 17:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033073 -3.326171)'), GeomFromEWKT('SRID=4674;POINT (-39.033103 -3.326181)'))) / (select extract(epoch from '2026-08-05 17:38:46'::timestamp) - extract(epoch from '2026-08-05 17:38: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'), 48130, 'SRID=4674;POINT (-39.033096 -3.326176)', '2026-08-05 17:38:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033103 -3.326181)'), GeomFromEWKT('SRID=4674;POINT (-39.033096 -3.326176)'))) / (select extract(epoch from '2026-08-05 17:38:56'::timestamp) - extract(epoch from '2026-08-05 17:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033103 -3.326181)'), GeomFromEWKT('SRID=4674;POINT (-39.033096 -3.326176)'))) / (select extract(epoch from '2026-08-05 17:38:56'::timestamp) - extract(epoch from '2026-08-05 17:38: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'), 48130, 'SRID=4674;POINT (-39.033119 -3.326193)', '2026-08-05 17:39:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033096 -3.326176)'), GeomFromEWKT('SRID=4674;POINT (-39.033119 -3.326193)'))) / (select extract(epoch from '2026-08-05 17:39:03'::timestamp) - extract(epoch from '2026-08-05 17:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033096 -3.326176)'), GeomFromEWKT('SRID=4674;POINT (-39.033119 -3.326193)'))) / (select extract(epoch from '2026-08-05 17:39:03'::timestamp) - extract(epoch from '2026-08-05 17:38: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'), 48130, 'SRID=4674;POINT (-39.033124 -3.326195)', '2026-08-05 17:39:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033119 -3.326193)'), GeomFromEWKT('SRID=4674;POINT (-39.033124 -3.326195)'))) / (select extract(epoch from '2026-08-05 17:39:08'::timestamp) - extract(epoch from '2026-08-05 17:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033119 -3.326193)'), GeomFromEWKT('SRID=4674;POINT (-39.033124 -3.326195)'))) / (select extract(epoch from '2026-08-05 17:39:08'::timestamp) - extract(epoch from '2026-08-05 17:39: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'), 48130, 'SRID=4674;POINT (-39.033122 -3.326194)', '2026-08-05 17:39:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033124 -3.326195)'), GeomFromEWKT('SRID=4674;POINT (-39.033122 -3.326194)'))) / (select extract(epoch from '2026-08-05 17:39:11'::timestamp) - extract(epoch from '2026-08-05 17:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033124 -3.326195)'), GeomFromEWKT('SRID=4674;POINT (-39.033122 -3.326194)'))) / (select extract(epoch from '2026-08-05 17:39:11'::timestamp) - extract(epoch from '2026-08-05 17:39: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'), 48130, 'SRID=4674;POINT (-39.033118 -3.326194)', '2026-08-05 17:39:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033122 -3.326194)'), GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.326194)'))) / (select extract(epoch from '2026-08-05 17:39:17'::timestamp) - extract(epoch from '2026-08-05 17:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033122 -3.326194)'), GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.326194)'))) / (select extract(epoch from '2026-08-05 17:39:17'::timestamp) - extract(epoch from '2026-08-05 17:39: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'), 48130, 'SRID=4674;POINT (-39.033119 -3.326197)', '2026-08-05 17:39:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.326194)'), GeomFromEWKT('SRID=4674;POINT (-39.033119 -3.326197)'))) / (select extract(epoch from '2026-08-05 17:39:26'::timestamp) - extract(epoch from '2026-08-05 17:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.326194)'), GeomFromEWKT('SRID=4674;POINT (-39.033119 -3.326197)'))) / (select extract(epoch from '2026-08-05 17:39:26'::timestamp) - extract(epoch from '2026-08-05 17:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033115 -3.326198)', '2026-08-05 17:39:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033119 -3.326197)'), GeomFromEWKT('SRID=4674;POINT (-39.033115 -3.326198)'))) / (select extract(epoch from '2026-08-05 17:39:37'::timestamp) - extract(epoch from '2026-08-05 17:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033119 -3.326197)'), GeomFromEWKT('SRID=4674;POINT (-39.033115 -3.326198)'))) / (select extract(epoch from '2026-08-05 17:39:37'::timestamp) - extract(epoch from '2026-08-05 17:39: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'), 48130, 'SRID=4674;POINT (-39.033112 -3.326197)', '2026-08-05 17:39:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033115 -3.326198)'), GeomFromEWKT('SRID=4674;POINT (-39.033112 -3.326197)'))) / (select extract(epoch from '2026-08-05 17:39:43'::timestamp) - extract(epoch from '2026-08-05 17:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033115 -3.326198)'), GeomFromEWKT('SRID=4674;POINT (-39.033112 -3.326197)'))) / (select extract(epoch from '2026-08-05 17:39:43'::timestamp) - extract(epoch from '2026-08-05 17:39: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'), 48130, 'SRID=4674;POINT (-39.033114 -3.326203)', '2026-08-05 17:39:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033112 -3.326197)'), GeomFromEWKT('SRID=4674;POINT (-39.033114 -3.326203)'))) / (select extract(epoch from '2026-08-05 17:39:52'::timestamp) - extract(epoch from '2026-08-05 17:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033112 -3.326197)'), GeomFromEWKT('SRID=4674;POINT (-39.033114 -3.326203)'))) / (select extract(epoch from '2026-08-05 17:39:52'::timestamp) - extract(epoch from '2026-08-05 17:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033127 -3.326214)', '2026-08-05 17:39:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033114 -3.326203)'), GeomFromEWKT('SRID=4674;POINT (-39.033127 -3.326214)'))) / (select extract(epoch from '2026-08-05 17:39:58'::timestamp) - extract(epoch from '2026-08-05 17:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033114 -3.326203)'), GeomFromEWKT('SRID=4674;POINT (-39.033127 -3.326214)'))) / (select extract(epoch from '2026-08-05 17:39:58'::timestamp) - extract(epoch from '2026-08-05 17:39: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'), 48130, 'SRID=4674;POINT (-39.033118 -3.326218)', '2026-08-05 17:40:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033127 -3.326214)'), GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.326218)'))) / (select extract(epoch from '2026-08-05 17:40:08'::timestamp) - extract(epoch from '2026-08-05 17:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033127 -3.326214)'), GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.326218)'))) / (select extract(epoch from '2026-08-05 17:40:08'::timestamp) - extract(epoch from '2026-08-05 17:39: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'), 48130, 'SRID=4674;POINT (-39.033116 -3.326216)', '2026-08-05 17:40:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.326218)'), GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.326216)'))) / (select extract(epoch from '2026-08-05 17:40:10'::timestamp) - extract(epoch from '2026-08-05 17:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.326218)'), GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.326216)'))) / (select extract(epoch from '2026-08-05 17:40:10'::timestamp) - extract(epoch from '2026-08-05 17:40: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'), 48130, 'SRID=4674;POINT (-39.033113 -3.326223)', '2026-08-05 17:40:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.326216)'), GeomFromEWKT('SRID=4674;POINT (-39.033113 -3.326223)'))) / (select extract(epoch from '2026-08-05 17:40:12'::timestamp) - extract(epoch from '2026-08-05 17:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.326216)'), GeomFromEWKT('SRID=4674;POINT (-39.033113 -3.326223)'))) / (select extract(epoch from '2026-08-05 17:40:12'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033131 -3.326222)', '2026-08-05 17:40:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033113 -3.326223)'), GeomFromEWKT('SRID=4674;POINT (-39.033131 -3.326222)'))) / (select extract(epoch from '2026-08-05 17:40:17'::timestamp) - extract(epoch from '2026-08-05 17:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033113 -3.326223)'), GeomFromEWKT('SRID=4674;POINT (-39.033131 -3.326222)'))) / (select extract(epoch from '2026-08-05 17:40:17'::timestamp) - extract(epoch from '2026-08-05 17:40: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'), 48130, 'SRID=4674;POINT (-39.033136 -3.32623)', '2026-08-05 17:40:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033131 -3.326222)'), GeomFromEWKT('SRID=4674;POINT (-39.033136 -3.32623)'))) / (select extract(epoch from '2026-08-05 17:40:24'::timestamp) - extract(epoch from '2026-08-05 17:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033131 -3.326222)'), GeomFromEWKT('SRID=4674;POINT (-39.033136 -3.32623)'))) / (select extract(epoch from '2026-08-05 17:40:24'::timestamp) - extract(epoch from '2026-08-05 17:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033137 -3.326235)', '2026-08-05 17:40:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033136 -3.32623)'), GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326235)'))) / (select extract(epoch from '2026-08-05 17:40:33'::timestamp) - extract(epoch from '2026-08-05 17:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033136 -3.32623)'), GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326235)'))) / (select extract(epoch from '2026-08-05 17:40:33'::timestamp) - extract(epoch from '2026-08-05 17:40: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'), 48130, 'SRID=4674;POINT (-39.033142 -3.326238)', '2026-08-05 17:40:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326235)'), GeomFromEWKT('SRID=4674;POINT (-39.033142 -3.326238)'))) / (select extract(epoch from '2026-08-05 17:40:38'::timestamp) - extract(epoch from '2026-08-05 17:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326235)'), GeomFromEWKT('SRID=4674;POINT (-39.033142 -3.326238)'))) / (select extract(epoch from '2026-08-05 17:40:38'::timestamp) - extract(epoch from '2026-08-05 17:40: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'), 48130, 'SRID=4674;POINT (-39.033137 -3.32624)', '2026-08-05 17:40:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033142 -3.326238)'), GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.32624)'))) / (select extract(epoch from '2026-08-05 17:40:43'::timestamp) - extract(epoch from '2026-08-05 17:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033142 -3.326238)'), GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.32624)'))) / (select extract(epoch from '2026-08-05 17:40:43'::timestamp) - extract(epoch from '2026-08-05 17:40: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'), 48130, 'SRID=4674;POINT (-39.033137 -3.326245)', '2026-08-05 17:40:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.32624)'), GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326245)'))) / (select extract(epoch from '2026-08-05 17:40:52'::timestamp) - extract(epoch from '2026-08-05 17:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.32624)'), GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326245)'))) / (select extract(epoch from '2026-08-05 17:40:52'::timestamp) - extract(epoch from '2026-08-05 17:40: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'), 48130, 'SRID=4674;POINT (-39.033148 -3.326246)', '2026-08-05 17:40:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033148 -3.326246)'))) / (select extract(epoch from '2026-08-05 17:40:58'::timestamp) - extract(epoch from '2026-08-05 17:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033148 -3.326246)'))) / (select extract(epoch from '2026-08-05 17:40:58'::timestamp) - extract(epoch from '2026-08-05 17:40: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'), 48130, 'SRID=4674;POINT (-39.033129 -3.326261)', '2026-08-05 17:41:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033148 -3.326246)'), GeomFromEWKT('SRID=4674;POINT (-39.033129 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:41:02'::timestamp) - extract(epoch from '2026-08-05 17:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033148 -3.326246)'), GeomFromEWKT('SRID=4674;POINT (-39.033129 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:41:02'::timestamp) - extract(epoch from '2026-08-05 17:40: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'), 48130, 'SRID=4674;POINT (-39.033126 -3.326255)', '2026-08-05 17:41:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033129 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033126 -3.326255)'))) / (select extract(epoch from '2026-08-05 17:41:12'::timestamp) - extract(epoch from '2026-08-05 17:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033129 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033126 -3.326255)'))) / (select extract(epoch from '2026-08-05 17:41:12'::timestamp) - extract(epoch from '2026-08-05 17:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03313 -3.326256)', '2026-08-05 17:41:23', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033126 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:41:23'::timestamp) - extract(epoch from '2026-08-05 17:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033126 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:41:23'::timestamp) - extract(epoch from '2026-08-05 17:41: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'), 48130, 'SRID=4674;POINT (-39.033133 -3.326254)', '2026-08-05 17:41:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033133 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:41:28'::timestamp) - extract(epoch from '2026-08-05 17:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033133 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:41:28'::timestamp) - extract(epoch from '2026-08-05 17:41: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'), 48130, 'SRID=4674;POINT (-39.033136 -3.326256)', '2026-08-05 17:41:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033133 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033136 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:41:34'::timestamp) - extract(epoch from '2026-08-05 17:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033133 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033136 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:41:34'::timestamp) - extract(epoch from '2026-08-05 17:41: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'), 48130, 'SRID=4674;POINT (-39.033135 -3.326267)', '2026-08-05 17:41:41', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033136 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033135 -3.326267)'))) / (select extract(epoch from '2026-08-05 17:41:41'::timestamp) - extract(epoch from '2026-08-05 17:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033136 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033135 -3.326267)'))) / (select extract(epoch from '2026-08-05 17:41:41'::timestamp) - extract(epoch from '2026-08-05 17:41: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'), 48130, 'SRID=4674;POINT (-39.033143 -3.326268)', '2026-08-05 17:41:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033135 -3.326267)'), GeomFromEWKT('SRID=4674;POINT (-39.033143 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:41:49'::timestamp) - extract(epoch from '2026-08-05 17:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033135 -3.326267)'), GeomFromEWKT('SRID=4674;POINT (-39.033143 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:41:49'::timestamp) - extract(epoch from '2026-08-05 17:41: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'), 48130, 'SRID=4674;POINT (-39.033155 -3.326276)', '2026-08-05 17:41:57', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033143 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033155 -3.326276)'))) / (select extract(epoch from '2026-08-05 17:41:57'::timestamp) - extract(epoch from '2026-08-05 17:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033143 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033155 -3.326276)'))) / (select extract(epoch from '2026-08-05 17:41:57'::timestamp) - extract(epoch from '2026-08-05 17:41: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'), 48130, 'SRID=4674;POINT (-39.033153 -3.32628)', '2026-08-05 17:42:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033155 -3.326276)'), GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.32628)'))) / (select extract(epoch from '2026-08-05 17:42:06'::timestamp) - extract(epoch from '2026-08-05 17:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033155 -3.326276)'), GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.32628)'))) / (select extract(epoch from '2026-08-05 17:42:06'::timestamp) - extract(epoch from '2026-08-05 17:41: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'), 48130, 'SRID=4674;POINT (-39.033149 -3.326278)', '2026-08-05 17:42:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.32628)'), GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326278)'))) / (select extract(epoch from '2026-08-05 17:42:12'::timestamp) - extract(epoch from '2026-08-05 17:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.32628)'), GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326278)'))) / (select extract(epoch from '2026-08-05 17:42:12'::timestamp) - extract(epoch from '2026-08-05 17:42:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033149 -3.326277)', '2026-08-05 17:42:21', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326278)'), GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:42:21'::timestamp) - extract(epoch from '2026-08-05 17:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326278)'), GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:42:21'::timestamp) - extract(epoch from '2026-08-05 17:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033142 -3.326274)', '2026-08-05 17:42:27', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033142 -3.326274)'))) / (select extract(epoch from '2026-08-05 17:42:27'::timestamp) - extract(epoch from '2026-08-05 17:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033142 -3.326274)'))) / (select extract(epoch from '2026-08-05 17:42:27'::timestamp) - extract(epoch from '2026-08-05 17:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033161 -3.32627)', '2026-08-05 17:42:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033142 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033161 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:42:34'::timestamp) - extract(epoch from '2026-08-05 17:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033142 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033161 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:42:34'::timestamp) - extract(epoch from '2026-08-05 17:42: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'), 48130, 'SRID=4674;POINT (-39.033161 -3.326261)', '2026-08-05 17:42:40', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033161 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033161 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:42:40'::timestamp) - extract(epoch from '2026-08-05 17:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033161 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033161 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:42:40'::timestamp) - extract(epoch from '2026-08-05 17:42: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'), 48130, 'SRID=4674;POINT (-39.033169 -3.326251)', '2026-08-05 17:42:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033161 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326251)'))) / (select extract(epoch from '2026-08-05 17:42:49'::timestamp) - extract(epoch from '2026-08-05 17:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033161 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326251)'))) / (select extract(epoch from '2026-08-05 17:42:49'::timestamp) - extract(epoch from '2026-08-05 17:42: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'), 48130, 'SRID=4674;POINT (-39.033168 -3.326256)', '2026-08-05 17:42:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326251)'), GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:42:53'::timestamp) - extract(epoch from '2026-08-05 17:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326251)'), GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:42:53'::timestamp) - extract(epoch from '2026-08-05 17:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033167 -3.326262)', '2026-08-05 17:42:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033167 -3.326262)'))) / (select extract(epoch from '2026-08-05 17:42:59'::timestamp) - extract(epoch from '2026-08-05 17:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033167 -3.326262)'))) / (select extract(epoch from '2026-08-05 17:42:59'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033169 -3.326255)', '2026-08-05 17:43:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033167 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326255)'))) / (select extract(epoch from '2026-08-05 17:43:08'::timestamp) - extract(epoch from '2026-08-05 17:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033167 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326255)'))) / (select extract(epoch from '2026-08-05 17:43:08'::timestamp) - extract(epoch from '2026-08-05 17:42: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'), 48130, 'SRID=4674;POINT (-39.033158 -3.326245)', '2026-08-05 17:43:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033158 -3.326245)'))) / (select extract(epoch from '2026-08-05 17:43:15'::timestamp) - extract(epoch from '2026-08-05 17:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033158 -3.326245)'))) / (select extract(epoch from '2026-08-05 17:43:15'::timestamp) - extract(epoch from '2026-08-05 17:43: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'), 48130, 'SRID=4674;POINT (-39.033169 -3.326243)', '2026-08-05 17:43:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033158 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326243)'))) / (select extract(epoch from '2026-08-05 17:43:23'::timestamp) - extract(epoch from '2026-08-05 17:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033158 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326243)'))) / (select extract(epoch from '2026-08-05 17:43:23'::timestamp) - extract(epoch from '2026-08-05 17:43: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'), 48130, 'SRID=4674;POINT (-39.033169 -3.326236)', '2026-08-05 17:43:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326243)'), GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326236)'))) / (select extract(epoch from '2026-08-05 17:43:32'::timestamp) - extract(epoch from '2026-08-05 17:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326243)'), GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326236)'))) / (select extract(epoch from '2026-08-05 17:43:32'::timestamp) - extract(epoch from '2026-08-05 17:43: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'), 48130, 'SRID=4674;POINT (-39.03316 -3.326243)', '2026-08-05 17:43:38', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326236)'), GeomFromEWKT('SRID=4674;POINT (-39.03316 -3.326243)'))) / (select extract(epoch from '2026-08-05 17:43:38'::timestamp) - extract(epoch from '2026-08-05 17:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326236)'), GeomFromEWKT('SRID=4674;POINT (-39.03316 -3.326243)'))) / (select extract(epoch from '2026-08-05 17:43:38'::timestamp) - extract(epoch from '2026-08-05 17:43:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033168 -3.326245)', '2026-08-05 17:43:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03316 -3.326243)'), GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326245)'))) / (select extract(epoch from '2026-08-05 17:43:40'::timestamp) - extract(epoch from '2026-08-05 17:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03316 -3.326243)'), GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326245)'))) / (select extract(epoch from '2026-08-05 17:43:40'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033174 -3.326258)', '2026-08-05 17:43:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033174 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:43:43'::timestamp) - extract(epoch from '2026-08-05 17:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033174 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:43:43'::timestamp) - extract(epoch from '2026-08-05 17:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033181 -3.326261)', '2026-08-05 17:43:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033174 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033181 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:43:49'::timestamp) - extract(epoch from '2026-08-05 17:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033174 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033181 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:43:49'::timestamp) - extract(epoch from '2026-08-05 17:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033181 -3.326266)', '2026-08-05 17:43:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033181 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033181 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:43:55'::timestamp) - extract(epoch from '2026-08-05 17:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033181 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033181 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:43:55'::timestamp) - extract(epoch from '2026-08-05 17:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033188 -3.326277)', '2026-08-05 17:44:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033181 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033188 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:44:02'::timestamp) - extract(epoch from '2026-08-05 17:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033181 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033188 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:44:02'::timestamp) - extract(epoch from '2026-08-05 17:43: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'), 48130, 'SRID=4674;POINT (-39.033168 -3.326283)', '2026-08-05 17:44:07', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033188 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326283)'))) / (select extract(epoch from '2026-08-05 17:44:07'::timestamp) - extract(epoch from '2026-08-05 17:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033188 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326283)'))) / (select extract(epoch from '2026-08-05 17:44:07'::timestamp) - extract(epoch from '2026-08-05 17:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033173 -3.326279)', '2026-08-05 17:44:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326283)'), GeomFromEWKT('SRID=4674;POINT (-39.033173 -3.326279)'))) / (select extract(epoch from '2026-08-05 17:44:16'::timestamp) - extract(epoch from '2026-08-05 17:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033168 -3.326283)'), GeomFromEWKT('SRID=4674;POINT (-39.033173 -3.326279)'))) / (select extract(epoch from '2026-08-05 17:44:16'::timestamp) - extract(epoch from '2026-08-05 17:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033153 -3.326273)', '2026-08-05 17:44:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033173 -3.326279)'), GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.326273)'))) / (select extract(epoch from '2026-08-05 17:44:23'::timestamp) - extract(epoch from '2026-08-05 17:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033173 -3.326279)'), GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.326273)'))) / (select extract(epoch from '2026-08-05 17:44:23'::timestamp) - extract(epoch from '2026-08-05 17:44: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'), 48130, 'SRID=4674;POINT (-39.033149 -3.326271)', '2026-08-05 17:44:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.326273)'), GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326271)'))) / (select extract(epoch from '2026-08-05 17:44:28'::timestamp) - extract(epoch from '2026-08-05 17:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.326273)'), GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326271)'))) / (select extract(epoch from '2026-08-05 17:44:28'::timestamp) - extract(epoch from '2026-08-05 17:44: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'), 48130, 'SRID=4674;POINT (-39.033146 -3.326266)', '2026-08-05 17:44:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326271)'), GeomFromEWKT('SRID=4674;POINT (-39.033146 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:44:31'::timestamp) - extract(epoch from '2026-08-05 17:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033149 -3.326271)'), GeomFromEWKT('SRID=4674;POINT (-39.033146 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:44:31'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.03313 -3.326258)', '2026-08-05 17:44:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033146 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:44:40'::timestamp) - extract(epoch from '2026-08-05 17:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033146 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:44:40'::timestamp) - extract(epoch from '2026-08-05 17:44:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033137 -3.326258)', '2026-08-05 17:44:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:44:45'::timestamp) - extract(epoch from '2026-08-05 17:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:44:45'::timestamp) - extract(epoch from '2026-08-05 17:44: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'), 48130, 'SRID=4674;POINT (-39.033159 -3.326253)', '2026-08-05 17:44:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033159 -3.326253)'))) / (select extract(epoch from '2026-08-05 17:44:55'::timestamp) - extract(epoch from '2026-08-05 17:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033137 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033159 -3.326253)'))) / (select extract(epoch from '2026-08-05 17:44:55'::timestamp) - extract(epoch from '2026-08-05 17:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033153 -3.326257)', '2026-08-05 17:45:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033159 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.326257)'))) / (select extract(epoch from '2026-08-05 17:45:00'::timestamp) - extract(epoch from '2026-08-05 17:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033159 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.326257)'))) / (select extract(epoch from '2026-08-05 17:45:00'::timestamp) - extract(epoch from '2026-08-05 17:44: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'), 48130, 'SRID=4674;POINT (-39.033169 -3.326262)', '2026-08-05 17:45:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326262)'))) / (select extract(epoch from '2026-08-05 17:45:07'::timestamp) - extract(epoch from '2026-08-05 17:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033153 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326262)'))) / (select extract(epoch from '2026-08-05 17:45:07'::timestamp) - extract(epoch from '2026-08-05 17:45: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'), 48130, 'SRID=4674;POINT (-39.033206 -3.326256)', '2026-08-05 17:45:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:45:17'::timestamp) - extract(epoch from '2026-08-05 17:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033169 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:45:17'::timestamp) - extract(epoch from '2026-08-05 17:45: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'), 48130, 'SRID=4674;POINT (-39.033209 -3.32626)', '2026-08-05 17:45:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033209 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:45:25'::timestamp) - extract(epoch from '2026-08-05 17:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033209 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:45:25'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033206 -3.326258)', '2026-08-05 17:45:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033209 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:45:33'::timestamp) - extract(epoch from '2026-08-05 17:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033209 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:45:33'::timestamp) - extract(epoch from '2026-08-05 17:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033224 -3.326253)', '2026-08-05 17:45:40', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033224 -3.326253)'))) / (select extract(epoch from '2026-08-05 17:45:40'::timestamp) - extract(epoch from '2026-08-05 17:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033224 -3.326253)'))) / (select extract(epoch from '2026-08-05 17:45:40'::timestamp) - extract(epoch from '2026-08-05 17:45: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'), 48130, 'SRID=4674;POINT (-39.033226 -3.326249)', '2026-08-05 17:45:46', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033224 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.033226 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:45:46'::timestamp) - extract(epoch from '2026-08-05 17:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033224 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.033226 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:45:46'::timestamp) - extract(epoch from '2026-08-05 17:45: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'), 48130, 'SRID=4674;POINT (-39.033235 -3.326254)', '2026-08-05 17:45:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033226 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033235 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:45:49'::timestamp) - extract(epoch from '2026-08-05 17:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033226 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033235 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:45:49'::timestamp) - extract(epoch from '2026-08-05 17:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033245 -3.326253)', '2026-08-05 17:45:51', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033235 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033245 -3.326253)'))) / (select extract(epoch from '2026-08-05 17:45:51'::timestamp) - extract(epoch from '2026-08-05 17:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033235 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033245 -3.326253)'))) / (select extract(epoch from '2026-08-05 17:45:51'::timestamp) - extract(epoch from '2026-08-05 17:45: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'), 48130, 'SRID=4674;POINT (-39.03325 -3.326249)', '2026-08-05 17:45:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033245 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.03325 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:45:58'::timestamp) - extract(epoch from '2026-08-05 17:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033245 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.03325 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:45:58'::timestamp) - extract(epoch from '2026-08-05 17:45: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'), 48130, 'SRID=4674;POINT (-39.033254 -3.326249)', '2026-08-05 17:46:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03325 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033254 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:46:06'::timestamp) - extract(epoch from '2026-08-05 17:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03325 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033254 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:46:06'::timestamp) - extract(epoch from '2026-08-05 17:45: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'), 48130, 'SRID=4674;POINT (-39.033255 -3.326254)', '2026-08-05 17:46:11', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033254 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033255 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:46:11'::timestamp) - extract(epoch from '2026-08-05 17:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033254 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033255 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:46:11'::timestamp) - extract(epoch from '2026-08-05 17:46: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'), 48130, 'SRID=4674;POINT (-39.033261 -3.326249)', '2026-08-05 17:46:18', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033255 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033261 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:46:18'::timestamp) - extract(epoch from '2026-08-05 17:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033255 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033261 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:46:18'::timestamp) - extract(epoch from '2026-08-05 17:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033261 -3.326242)', '2026-08-05 17:46:27', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033261 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033261 -3.326242)'))) / (select extract(epoch from '2026-08-05 17:46:27'::timestamp) - extract(epoch from '2026-08-05 17:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033261 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033261 -3.326242)'))) / (select extract(epoch from '2026-08-05 17:46:27'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033257 -3.326249)', '2026-08-05 17:46:35', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033261 -3.326242)'), GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:46:35'::timestamp) - extract(epoch from '2026-08-05 17:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033261 -3.326242)'), GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:46:35'::timestamp) - extract(epoch from '2026-08-05 17:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033224 -3.326256)', '2026-08-05 17:46:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033224 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:46:47'::timestamp) - extract(epoch from '2026-08-05 17:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033224 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:46:47'::timestamp) - extract(epoch from '2026-08-05 17:46: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'), 48130, 'SRID=4674;POINT (-39.033218 -3.326254)', '2026-08-05 17:46:56', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033224 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033218 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:46:56'::timestamp) - extract(epoch from '2026-08-05 17:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033224 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033218 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:46:56'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033202 -3.326265)', '2026-08-05 17:47:08', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033218 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033202 -3.326265)'))) / (select extract(epoch from '2026-08-05 17:47:08'::timestamp) - extract(epoch from '2026-08-05 17:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033218 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033202 -3.326265)'))) / (select extract(epoch from '2026-08-05 17:47:08'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033212 -3.326277)', '2026-08-05 17:47:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033202 -3.326265)'), GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:47:20'::timestamp) - extract(epoch from '2026-08-05 17:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033202 -3.326265)'), GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:47:20'::timestamp) - extract(epoch from '2026-08-05 17:47: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'), 48130, 'SRID=4674;POINT (-39.033211 -3.326276)', '2026-08-05 17:47:27', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033211 -3.326276)'))) / (select extract(epoch from '2026-08-05 17:47:27'::timestamp) - extract(epoch from '2026-08-05 17:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033211 -3.326276)'))) / (select extract(epoch from '2026-08-05 17:47:27'::timestamp) - extract(epoch from '2026-08-05 17:47: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'), 48130, 'SRID=4674;POINT (-39.033232 -3.326268)', '2026-08-05 17:47:39', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033211 -3.326276)'), GeomFromEWKT('SRID=4674;POINT (-39.033232 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:47:39'::timestamp) - extract(epoch from '2026-08-05 17:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033211 -3.326276)'), GeomFromEWKT('SRID=4674;POINT (-39.033232 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:47:39'::timestamp) - extract(epoch from '2026-08-05 17:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033235 -3.32626)', '2026-08-05 17:47:46', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033232 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033235 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:47:46'::timestamp) - extract(epoch from '2026-08-05 17:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033232 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033235 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:47:46'::timestamp) - extract(epoch from '2026-08-05 17:47: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'), 48130, 'SRID=4674;POINT (-39.033231 -3.326259)', '2026-08-05 17:47:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033235 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033231 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:47:53'::timestamp) - extract(epoch from '2026-08-05 17:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033235 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033231 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:47:53'::timestamp) - extract(epoch from '2026-08-05 17:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03324 -3.326258)', '2026-08-05 17:47:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033231 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.03324 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:47:57'::timestamp) - extract(epoch from '2026-08-05 17:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033231 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.03324 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:47:57'::timestamp) - extract(epoch from '2026-08-05 17:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033257 -3.326267)', '2026-08-05 17:48:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03324 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.326267)'))) / (select extract(epoch from '2026-08-05 17:48:06'::timestamp) - extract(epoch from '2026-08-05 17:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03324 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.326267)'))) / (select extract(epoch from '2026-08-05 17:48:06'::timestamp) - extract(epoch from '2026-08-05 17:47:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033253 -3.326266)', '2026-08-05 17:48:16', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.326267)'), GeomFromEWKT('SRID=4674;POINT (-39.033253 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:48:16'::timestamp) - extract(epoch from '2026-08-05 17:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.326267)'), GeomFromEWKT('SRID=4674;POINT (-39.033253 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:48:16'::timestamp) - extract(epoch from '2026-08-05 17:48: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'), 48130, 'SRID=4674;POINT (-39.033256 -3.326268)', '2026-08-05 17:48:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033253 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033256 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:48:20'::timestamp) - extract(epoch from '2026-08-05 17:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033253 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033256 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:48:20'::timestamp) - extract(epoch from '2026-08-05 17:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03326 -3.326245)', '2026-08-05 17:48:24', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033256 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.03326 -3.326245)'))) / (select extract(epoch from '2026-08-05 17:48:24'::timestamp) - extract(epoch from '2026-08-05 17:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033256 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.03326 -3.326245)'))) / (select extract(epoch from '2026-08-05 17:48:24'::timestamp) - extract(epoch from '2026-08-05 17:48: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'), 48130, 'SRID=4674;POINT (-39.033252 -3.32624)', '2026-08-05 17:48:25', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03326 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033252 -3.32624)'))) / (select extract(epoch from '2026-08-05 17:48:25'::timestamp) - extract(epoch from '2026-08-05 17:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03326 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033252 -3.32624)'))) / (select extract(epoch from '2026-08-05 17:48:25'::timestamp) - extract(epoch from '2026-08-05 17:48:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033265 -3.326248)', '2026-08-05 17:48:30', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033252 -3.32624)'), GeomFromEWKT('SRID=4674;POINT (-39.033265 -3.326248)'))) / (select extract(epoch from '2026-08-05 17:48:30'::timestamp) - extract(epoch from '2026-08-05 17:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033252 -3.32624)'), GeomFromEWKT('SRID=4674;POINT (-39.033265 -3.326248)'))) / (select extract(epoch from '2026-08-05 17:48:30'::timestamp) - extract(epoch from '2026-08-05 17:48: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'), 48130, 'SRID=4674;POINT (-39.033272 -3.326256)', '2026-08-05 17:48:35', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033265 -3.326248)'), GeomFromEWKT('SRID=4674;POINT (-39.033272 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:48:35'::timestamp) - extract(epoch from '2026-08-05 17:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033265 -3.326248)'), GeomFromEWKT('SRID=4674;POINT (-39.033272 -3.326256)'))) / (select extract(epoch from '2026-08-05 17:48:35'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033272 -3.32626)', '2026-08-05 17:48:41', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033272 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033272 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:48:41'::timestamp) - extract(epoch from '2026-08-05 17:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033272 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033272 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:48:41'::timestamp) - extract(epoch from '2026-08-05 17:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03328 -3.32626)', '2026-08-05 17:48:47', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033272 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.03328 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:48:47'::timestamp) - extract(epoch from '2026-08-05 17:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033272 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.03328 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:48:47'::timestamp) - extract(epoch from '2026-08-05 17:48:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03328 -3.326267)', '2026-08-05 17:48:53', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03328 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.03328 -3.326267)'))) / (select extract(epoch from '2026-08-05 17:48:53'::timestamp) - extract(epoch from '2026-08-05 17:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03328 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.03328 -3.326267)'))) / (select extract(epoch from '2026-08-05 17:48:53'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033281 -3.326266)', '2026-08-05 17:48:54', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03328 -3.326267)'), GeomFromEWKT('SRID=4674;POINT (-39.033281 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:48:54'::timestamp) - extract(epoch from '2026-08-05 17:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03328 -3.326267)'), GeomFromEWKT('SRID=4674;POINT (-39.033281 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:48:54'::timestamp) - extract(epoch from '2026-08-05 17:48: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'), 48130, 'SRID=4674;POINT (-39.033279 -3.326259)', '2026-08-05 17:48:59', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033281 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033279 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:48:59'::timestamp) - extract(epoch from '2026-08-05 17:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033281 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033279 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:48:59'::timestamp) - extract(epoch from '2026-08-05 17:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033295 -3.326255)', '2026-08-05 17:49:07', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033279 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033295 -3.326255)'))) / (select extract(epoch from '2026-08-05 17:49:07'::timestamp) - extract(epoch from '2026-08-05 17:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033279 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033295 -3.326255)'))) / (select extract(epoch from '2026-08-05 17:49:07'::timestamp) - extract(epoch from '2026-08-05 17:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033279 -3.326253)', '2026-08-05 17:49:10', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033295 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033279 -3.326253)'))) / (select extract(epoch from '2026-08-05 17:49:10'::timestamp) - extract(epoch from '2026-08-05 17:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033295 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033279 -3.326253)'))) / (select extract(epoch from '2026-08-05 17:49:10'::timestamp) - extract(epoch from '2026-08-05 17:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033273 -3.326248)', '2026-08-05 17:49:17', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033279 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.033273 -3.326248)'))) / (select extract(epoch from '2026-08-05 17:49:17'::timestamp) - extract(epoch from '2026-08-05 17:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033279 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.033273 -3.326248)'))) / (select extract(epoch from '2026-08-05 17:49:17'::timestamp) - extract(epoch from '2026-08-05 17:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033265 -3.326254)', '2026-08-05 17:49:26', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033273 -3.326248)'), GeomFromEWKT('SRID=4674;POINT (-39.033265 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:49:26'::timestamp) - extract(epoch from '2026-08-05 17:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033273 -3.326248)'), GeomFromEWKT('SRID=4674;POINT (-39.033265 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:49:26'::timestamp) - extract(epoch from '2026-08-05 17:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033273 -3.326261)', '2026-08-05 17:49:34', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033265 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033273 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:49:34'::timestamp) - extract(epoch from '2026-08-05 17:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033265 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033273 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:49:34'::timestamp) - extract(epoch from '2026-08-05 17:49:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033269 -3.32626)', '2026-08-05 17:49:40', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033273 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033269 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:49:40'::timestamp) - extract(epoch from '2026-08-05 17:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033273 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033269 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:49:40'::timestamp) - extract(epoch from '2026-08-05 17:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033257 -3.32626)', '2026-08-05 17:49:53', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033269 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:49:53'::timestamp) - extract(epoch from '2026-08-05 17:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033269 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:49:53'::timestamp) - extract(epoch from '2026-08-05 17:49:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033262 -3.326258)', '2026-08-05 17:50:03', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:50:03'::timestamp) - extract(epoch from '2026-08-05 17:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033257 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:50:03'::timestamp) - extract(epoch from '2026-08-05 17:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033262 -3.326262)', '2026-08-05 17:50:12', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326262)'))) / (select extract(epoch from '2026-08-05 17:50:12'::timestamp) - extract(epoch from '2026-08-05 17:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326262)'))) / (select extract(epoch from '2026-08-05 17:50:12'::timestamp) - extract(epoch from '2026-08-05 17:50: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'), 48130, 'SRID=4674;POINT (-39.033263 -3.326261)', '2026-08-05 17:50:23', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033263 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:50:23'::timestamp) - extract(epoch from '2026-08-05 17:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033263 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:50:23'::timestamp) - extract(epoch from '2026-08-05 17:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033262 -3.326264)', '2026-08-05 17:50:31', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033263 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326264)'))) / (select extract(epoch from '2026-08-05 17:50:31'::timestamp) - extract(epoch from '2026-08-05 17:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033263 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326264)'))) / (select extract(epoch from '2026-08-05 17:50:31'::timestamp) - extract(epoch from '2026-08-05 17:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033258 -3.326268)', '2026-08-05 17:50:40', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033258 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:50:40'::timestamp) - extract(epoch from '2026-08-05 17:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033258 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:50:40'::timestamp) - extract(epoch from '2026-08-05 17:50: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'), 48130, 'SRID=4674;POINT (-39.033255 -3.32626)', '2026-08-05 17:50:48', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033258 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033255 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:50:48'::timestamp) - extract(epoch from '2026-08-05 17:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033258 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033255 -3.32626)'))) / (select extract(epoch from '2026-08-05 17:50:48'::timestamp) - extract(epoch from '2026-08-05 17:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033271 -3.326261)', '2026-08-05 17:50:57', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033255 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033271 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:50:57'::timestamp) - extract(epoch from '2026-08-05 17:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033255 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033271 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:50:57'::timestamp) - extract(epoch from '2026-08-05 17:50: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'), 48130, 'SRID=4674;POINT (-39.033283 -3.326258)', '2026-08-05 17:51:09', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033271 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:51:09'::timestamp) - extract(epoch from '2026-08-05 17:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033271 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:51:09'::timestamp) - extract(epoch from '2026-08-05 17:50:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033283 -3.326259)', '2026-08-05 17:51:16', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:51:16'::timestamp) - extract(epoch from '2026-08-05 17:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:51:16'::timestamp) - extract(epoch from '2026-08-05 17:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033284 -3.326255)', '2026-08-05 17:51:23', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033284 -3.326255)'))) / (select extract(epoch from '2026-08-05 17:51:23'::timestamp) - extract(epoch from '2026-08-05 17:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033284 -3.326255)'))) / (select extract(epoch from '2026-08-05 17:51:23'::timestamp) - extract(epoch from '2026-08-05 17:51: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'), 48130, 'SRID=4674;POINT (-39.033289 -3.326255)', '2026-08-05 17:51:24', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033284 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033289 -3.326255)'))) / (select extract(epoch from '2026-08-05 17:51:24'::timestamp) - extract(epoch from '2026-08-05 17:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033284 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033289 -3.326255)'))) / (select extract(epoch from '2026-08-05 17:51:24'::timestamp) - extract(epoch from '2026-08-05 17:51: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'), 48130, 'SRID=4674;POINT (-39.033276 -3.326259)', '2026-08-05 17:51:29', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033289 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033276 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:51:29'::timestamp) - extract(epoch from '2026-08-05 17:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033289 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033276 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:51:29'::timestamp) - extract(epoch from '2026-08-05 17:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033291 -3.326266)', '2026-08-05 17:51:34', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033276 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033291 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:51:34'::timestamp) - extract(epoch from '2026-08-05 17:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033276 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033291 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:51:34'::timestamp) - extract(epoch from '2026-08-05 17:51: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'), 48130, 'SRID=4674;POINT (-39.033305 -3.326268)', '2026-08-05 17:51:41', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033291 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033305 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:51:41'::timestamp) - extract(epoch from '2026-08-05 17:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033291 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033305 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:51:41'::timestamp) - extract(epoch from '2026-08-05 17:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033313 -3.326273)', '2026-08-05 17:51:48', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033305 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033313 -3.326273)'))) / (select extract(epoch from '2026-08-05 17:51:48'::timestamp) - extract(epoch from '2026-08-05 17:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033305 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033313 -3.326273)'))) / (select extract(epoch from '2026-08-05 17:51:48'::timestamp) - extract(epoch from '2026-08-05 17:51: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'), 48130, 'SRID=4674;POINT (-39.03332 -3.326277)', '2026-08-05 17:51:53', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033313 -3.326273)'), GeomFromEWKT('SRID=4674;POINT (-39.03332 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:51:53'::timestamp) - extract(epoch from '2026-08-05 17:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033313 -3.326273)'), GeomFromEWKT('SRID=4674;POINT (-39.03332 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:51:53'::timestamp) - extract(epoch from '2026-08-05 17:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033308 -3.326271)', '2026-08-05 17:51:59', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03332 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326271)'))) / (select extract(epoch from '2026-08-05 17:51:59'::timestamp) - extract(epoch from '2026-08-05 17:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03332 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326271)'))) / (select extract(epoch from '2026-08-05 17:51:59'::timestamp) - extract(epoch from '2026-08-05 17:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033308 -3.326264)', '2026-08-05 17:52:04', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326271)'), GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326264)'))) / (select extract(epoch from '2026-08-05 17:52:04'::timestamp) - extract(epoch from '2026-08-05 17:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326271)'), GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326264)'))) / (select extract(epoch from '2026-08-05 17:52:04'::timestamp) - extract(epoch from '2026-08-05 17:51: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'), 48130, 'SRID=4674;POINT (-39.033314 -3.32627)', '2026-08-05 17:52:09', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033314 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:52:09'::timestamp) - extract(epoch from '2026-08-05 17:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033314 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:52:09'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033322 -3.32627)', '2026-08-05 17:52:14', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033314 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033322 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:52:14'::timestamp) - extract(epoch from '2026-08-05 17:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033314 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033322 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:52:14'::timestamp) - extract(epoch from '2026-08-05 17:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033315 -3.32627)', '2026-08-05 17:52:21', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033322 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:52:21'::timestamp) - extract(epoch from '2026-08-05 17:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033322 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:52:21'::timestamp) - extract(epoch from '2026-08-05 17:52: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'), 48130, 'SRID=4674;POINT (-39.033315 -3.326266)', '2026-08-05 17:52:27', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:52:27'::timestamp) - extract(epoch from '2026-08-05 17:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:52:27'::timestamp) - extract(epoch from '2026-08-05 17:52:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033306 -3.326254)', '2026-08-05 17:52:36', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033306 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:52:36'::timestamp) - extract(epoch from '2026-08-05 17:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033306 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:52:36'::timestamp) - extract(epoch from '2026-08-05 17:52: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'), 48130, 'SRID=4674;POINT (-39.033304 -3.326249)', '2026-08-05 17:52:43', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033306 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033304 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:52:43'::timestamp) - extract(epoch from '2026-08-05 17:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033306 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.033304 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:52:43'::timestamp) - extract(epoch from '2026-08-05 17:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033307 -3.32625)', '2026-08-05 17:52:51', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033304 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033307 -3.32625)'))) / (select extract(epoch from '2026-08-05 17:52:51'::timestamp) - extract(epoch from '2026-08-05 17:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033304 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033307 -3.32625)'))) / (select extract(epoch from '2026-08-05 17:52:51'::timestamp) - extract(epoch from '2026-08-05 17:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03331 -3.326254)', '2026-08-05 17:52:58', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033307 -3.32625)'), GeomFromEWKT('SRID=4674;POINT (-39.03331 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:52:58'::timestamp) - extract(epoch from '2026-08-05 17:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033307 -3.32625)'), GeomFromEWKT('SRID=4674;POINT (-39.03331 -3.326254)'))) / (select extract(epoch from '2026-08-05 17:52:58'::timestamp) - extract(epoch from '2026-08-05 17:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03332 -3.326261)', '2026-08-05 17:53:08', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03331 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.03332 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:53:08'::timestamp) - extract(epoch from '2026-08-05 17:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03331 -3.326254)'), GeomFromEWKT('SRID=4674;POINT (-39.03332 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:53:08'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033315 -3.326263)', '2026-08-05 17:53:14', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03332 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.326263)'))) / (select extract(epoch from '2026-08-05 17:53:14'::timestamp) - extract(epoch from '2026-08-05 17:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03332 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.326263)'))) / (select extract(epoch from '2026-08-05 17:53:14'::timestamp) - extract(epoch from '2026-08-05 17:53:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033314 -3.326259)', '2026-08-05 17:53:23', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.326263)'), GeomFromEWKT('SRID=4674;POINT (-39.033314 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:53:23'::timestamp) - extract(epoch from '2026-08-05 17:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.326263)'), GeomFromEWKT('SRID=4674;POINT (-39.033314 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:53:23'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033308 -3.326261)', '2026-08-05 17:53:29', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033314 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:53:29'::timestamp) - extract(epoch from '2026-08-05 17:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033314 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:53:29'::timestamp) - extract(epoch from '2026-08-05 17:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033311 -3.326259)', '2026-08-05 17:53:38', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033311 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:53:38'::timestamp) - extract(epoch from '2026-08-05 17:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033311 -3.326259)'))) / (select extract(epoch from '2026-08-05 17:53:38'::timestamp) - extract(epoch from '2026-08-05 17:53: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'), 48130, 'SRID=4674;POINT (-39.03331 -3.326266)', '2026-08-05 17:53:47', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033311 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.03331 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:53:47'::timestamp) - extract(epoch from '2026-08-05 17:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033311 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.03331 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:53:47'::timestamp) - extract(epoch from '2026-08-05 17:53:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033302 -3.326268)', '2026-08-05 17:53:56', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03331 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033302 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:53:56'::timestamp) - extract(epoch from '2026-08-05 17:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03331 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033302 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:53:56'::timestamp) - extract(epoch from '2026-08-05 17:53: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'), 48130, 'SRID=4674;POINT (-39.033312 -3.326278)', '2026-08-05 17:54:05', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033302 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033312 -3.326278)'))) / (select extract(epoch from '2026-08-05 17:54:05'::timestamp) - extract(epoch from '2026-08-05 17:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033302 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033312 -3.326278)'))) / (select extract(epoch from '2026-08-05 17:54:05'::timestamp) - extract(epoch from '2026-08-05 17:53:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033317 -3.326277)', '2026-08-05 17:54:14', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033312 -3.326278)'), GeomFromEWKT('SRID=4674;POINT (-39.033317 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:54:14'::timestamp) - extract(epoch from '2026-08-05 17:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033312 -3.326278)'), GeomFromEWKT('SRID=4674;POINT (-39.033317 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:54:14'::timestamp) - extract(epoch from '2026-08-05 17:54: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'), 48130, 'SRID=4674;POINT (-39.033319 -3.326276)', '2026-08-05 17:54:23', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033317 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033319 -3.326276)'))) / (select extract(epoch from '2026-08-05 17:54:23'::timestamp) - extract(epoch from '2026-08-05 17:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033317 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033319 -3.326276)'))) / (select extract(epoch from '2026-08-05 17:54:23'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033319 -3.326281)', '2026-08-05 17:54:32', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033319 -3.326276)'), GeomFromEWKT('SRID=4674;POINT (-39.033319 -3.326281)'))) / (select extract(epoch from '2026-08-05 17:54:32'::timestamp) - extract(epoch from '2026-08-05 17:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033319 -3.326276)'), GeomFromEWKT('SRID=4674;POINT (-39.033319 -3.326281)'))) / (select extract(epoch from '2026-08-05 17:54:32'::timestamp) - extract(epoch from '2026-08-05 17:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033309 -3.326278)', '2026-08-05 17:54:36', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033319 -3.326281)'), GeomFromEWKT('SRID=4674;POINT (-39.033309 -3.326278)'))) / (select extract(epoch from '2026-08-05 17:54:36'::timestamp) - extract(epoch from '2026-08-05 17:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033319 -3.326281)'), GeomFromEWKT('SRID=4674;POINT (-39.033309 -3.326278)'))) / (select extract(epoch from '2026-08-05 17:54:36'::timestamp) - extract(epoch from '2026-08-05 17:54: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'), 48130, 'SRID=4674;POINT (-39.033327 -3.32628)', '2026-08-05 17:54:42', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033309 -3.326278)'), GeomFromEWKT('SRID=4674;POINT (-39.033327 -3.32628)'))) / (select extract(epoch from '2026-08-05 17:54:42'::timestamp) - extract(epoch from '2026-08-05 17:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033309 -3.326278)'), GeomFromEWKT('SRID=4674;POINT (-39.033327 -3.32628)'))) / (select extract(epoch from '2026-08-05 17:54:42'::timestamp) - extract(epoch from '2026-08-05 17:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03334 -3.326271)', '2026-08-05 17:54:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033327 -3.32628)'), GeomFromEWKT('SRID=4674;POINT (-39.03334 -3.326271)'))) / (select extract(epoch from '2026-08-05 17:54:50'::timestamp) - extract(epoch from '2026-08-05 17:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033327 -3.32628)'), GeomFromEWKT('SRID=4674;POINT (-39.03334 -3.326271)'))) / (select extract(epoch from '2026-08-05 17:54:50'::timestamp) - extract(epoch from '2026-08-05 17:54: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'), 48130, 'SRID=4674;POINT (-39.033342 -3.326273)', '2026-08-05 17:54:58', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03334 -3.326271)'), GeomFromEWKT('SRID=4674;POINT (-39.033342 -3.326273)'))) / (select extract(epoch from '2026-08-05 17:54:58'::timestamp) - extract(epoch from '2026-08-05 17:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03334 -3.326271)'), GeomFromEWKT('SRID=4674;POINT (-39.033342 -3.326273)'))) / (select extract(epoch from '2026-08-05 17:54:58'::timestamp) - extract(epoch from '2026-08-05 17:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033343 -3.326278)', '2026-08-05 17:55:05', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033342 -3.326273)'), GeomFromEWKT('SRID=4674;POINT (-39.033343 -3.326278)'))) / (select extract(epoch from '2026-08-05 17:55:05'::timestamp) - extract(epoch from '2026-08-05 17:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033342 -3.326273)'), GeomFromEWKT('SRID=4674;POINT (-39.033343 -3.326278)'))) / (select extract(epoch from '2026-08-05 17:55:05'::timestamp) - extract(epoch from '2026-08-05 17:54:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033354 -3.32628)', '2026-08-05 17:55:11', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033343 -3.326278)'), GeomFromEWKT('SRID=4674;POINT (-39.033354 -3.32628)'))) / (select extract(epoch from '2026-08-05 17:55:11'::timestamp) - extract(epoch from '2026-08-05 17:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033343 -3.326278)'), GeomFromEWKT('SRID=4674;POINT (-39.033354 -3.32628)'))) / (select extract(epoch from '2026-08-05 17:55:11'::timestamp) - extract(epoch from '2026-08-05 17:55: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'), 48130, 'SRID=4674;POINT (-39.033368 -3.326283)', '2026-08-05 17:55:17', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033354 -3.32628)'), GeomFromEWKT('SRID=4674;POINT (-39.033368 -3.326283)'))) / (select extract(epoch from '2026-08-05 17:55:17'::timestamp) - extract(epoch from '2026-08-05 17:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033354 -3.32628)'), GeomFromEWKT('SRID=4674;POINT (-39.033368 -3.326283)'))) / (select extract(epoch from '2026-08-05 17:55:17'::timestamp) - extract(epoch from '2026-08-05 17:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033369 -3.326284)', '2026-08-05 17:55:26', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033368 -3.326283)'), GeomFromEWKT('SRID=4674;POINT (-39.033369 -3.326284)'))) / (select extract(epoch from '2026-08-05 17:55:26'::timestamp) - extract(epoch from '2026-08-05 17:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033368 -3.326283)'), GeomFromEWKT('SRID=4674;POINT (-39.033369 -3.326284)'))) / (select extract(epoch from '2026-08-05 17:55:26'::timestamp) - extract(epoch from '2026-08-05 17:55: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'), 48130, 'SRID=4674;POINT (-39.033363 -3.326277)', '2026-08-05 17:55:34', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033369 -3.326284)'), GeomFromEWKT('SRID=4674;POINT (-39.033363 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:55:34'::timestamp) - extract(epoch from '2026-08-05 17:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033369 -3.326284)'), GeomFromEWKT('SRID=4674;POINT (-39.033363 -3.326277)'))) / (select extract(epoch from '2026-08-05 17:55:34'::timestamp) - extract(epoch from '2026-08-05 17:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033364 -3.326266)', '2026-08-05 17:55:45', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033363 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:55:45'::timestamp) - extract(epoch from '2026-08-05 17:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033363 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:55:45'::timestamp) - extract(epoch from '2026-08-05 17:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033372 -3.326266)', '2026-08-05 17:55:53', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:55:53'::timestamp) - extract(epoch from '2026-08-05 17:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326266)'))) / (select extract(epoch from '2026-08-05 17:55:53'::timestamp) - extract(epoch from '2026-08-05 17:55:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033367 -3.326264)', '2026-08-05 17:56:05', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033367 -3.326264)'))) / (select extract(epoch from '2026-08-05 17:56:05'::timestamp) - extract(epoch from '2026-08-05 17:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326266)'), GeomFromEWKT('SRID=4674;POINT (-39.033367 -3.326264)'))) / (select extract(epoch from '2026-08-05 17:56:05'::timestamp) - extract(epoch from '2026-08-05 17:55: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'), 48130, 'SRID=4674;POINT (-39.033373 -3.326253)', '2026-08-05 17:56:11', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033367 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033373 -3.326253)'))) / (select extract(epoch from '2026-08-05 17:56:11'::timestamp) - extract(epoch from '2026-08-05 17:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033367 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033373 -3.326253)'))) / (select extract(epoch from '2026-08-05 17:56:11'::timestamp) - extract(epoch from '2026-08-05 17:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033372 -3.326252)', '2026-08-05 17:56:13', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033373 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326252)'))) / (select extract(epoch from '2026-08-05 17:56:13'::timestamp) - extract(epoch from '2026-08-05 17:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033373 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326252)'))) / (select extract(epoch from '2026-08-05 17:56:13'::timestamp) - extract(epoch from '2026-08-05 17:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033371 -3.326257)', '2026-08-05 17:56:20', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326252)'), GeomFromEWKT('SRID=4674;POINT (-39.033371 -3.326257)'))) / (select extract(epoch from '2026-08-05 17:56:20'::timestamp) - extract(epoch from '2026-08-05 17:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326252)'), GeomFromEWKT('SRID=4674;POINT (-39.033371 -3.326257)'))) / (select extract(epoch from '2026-08-05 17:56:20'::timestamp) - extract(epoch from '2026-08-05 17:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033364 -3.326249)', '2026-08-05 17:56:28', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033371 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:56:28'::timestamp) - extract(epoch from '2026-08-05 17:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033371 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326249)'))) / (select extract(epoch from '2026-08-05 17:56:28'::timestamp) - extract(epoch from '2026-08-05 17:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033393 -3.326245)', '2026-08-05 17:56:37', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326245)'))) / (select extract(epoch from '2026-08-05 17:56:37'::timestamp) - extract(epoch from '2026-08-05 17:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326249)'), GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326245)'))) / (select extract(epoch from '2026-08-05 17:56:37'::timestamp) - extract(epoch from '2026-08-05 17:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033389 -3.326257)', '2026-08-05 17:56:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033389 -3.326257)'))) / (select extract(epoch from '2026-08-05 17:56:49'::timestamp) - extract(epoch from '2026-08-05 17:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033389 -3.326257)'))) / (select extract(epoch from '2026-08-05 17:56:49'::timestamp) - extract(epoch from '2026-08-05 17:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033396 -3.326269)', '2026-08-05 17:56:52', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033389 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033396 -3.326269)'))) / (select extract(epoch from '2026-08-05 17:56:52'::timestamp) - extract(epoch from '2026-08-05 17:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033389 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033396 -3.326269)'))) / (select extract(epoch from '2026-08-05 17:56:52'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033402 -3.32627)', '2026-08-05 17:56:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033396 -3.326269)'), GeomFromEWKT('SRID=4674;POINT (-39.033402 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:56:54'::timestamp) - extract(epoch from '2026-08-05 17:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033396 -3.326269)'), GeomFromEWKT('SRID=4674;POINT (-39.033402 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:56:54'::timestamp) - extract(epoch from '2026-08-05 17:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033388 -3.326274)', '2026-08-05 17:57:03', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033402 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033388 -3.326274)'))) / (select extract(epoch from '2026-08-05 17:57:03'::timestamp) - extract(epoch from '2026-08-05 17:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033402 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033388 -3.326274)'))) / (select extract(epoch from '2026-08-05 17:57:03'::timestamp) - extract(epoch from '2026-08-05 17:56:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033383 -3.326267)', '2026-08-05 17:57:05', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033388 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326267)'))) / (select extract(epoch from '2026-08-05 17:57:05'::timestamp) - extract(epoch from '2026-08-05 17:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033388 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326267)'))) / (select extract(epoch from '2026-08-05 17:57:05'::timestamp) - extract(epoch from '2026-08-05 17:57:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033369 -3.326262)', '2026-08-05 17:57:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326267)'), GeomFromEWKT('SRID=4674;POINT (-39.033369 -3.326262)'))) / (select extract(epoch from '2026-08-05 17:57:11'::timestamp) - extract(epoch from '2026-08-05 17:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326267)'), GeomFromEWKT('SRID=4674;POINT (-39.033369 -3.326262)'))) / (select extract(epoch from '2026-08-05 17:57:11'::timestamp) - extract(epoch from '2026-08-05 17:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033355 -3.326257)', '2026-08-05 17:57:14', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033369 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033355 -3.326257)'))) / (select extract(epoch from '2026-08-05 17:57:14'::timestamp) - extract(epoch from '2026-08-05 17:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033369 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033355 -3.326257)'))) / (select extract(epoch from '2026-08-05 17:57:14'::timestamp) - extract(epoch from '2026-08-05 17:57: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'), 48130, 'SRID=4674;POINT (-39.033349 -3.326251)', '2026-08-05 17:57:16', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033355 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033349 -3.326251)'))) / (select extract(epoch from '2026-08-05 17:57:16'::timestamp) - extract(epoch from '2026-08-05 17:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033355 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033349 -3.326251)'))) / (select extract(epoch from '2026-08-05 17:57:16'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033373 -3.326251)', '2026-08-05 17:57:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033349 -3.326251)'), GeomFromEWKT('SRID=4674;POINT (-39.033373 -3.326251)'))) / (select extract(epoch from '2026-08-05 17:57:24'::timestamp) - extract(epoch from '2026-08-05 17:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033349 -3.326251)'), GeomFromEWKT('SRID=4674;POINT (-39.033373 -3.326251)'))) / (select extract(epoch from '2026-08-05 17:57:24'::timestamp) - extract(epoch from '2026-08-05 17:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03339 -3.326267)', '2026-08-05 17:57:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033373 -3.326251)'), GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326267)'))) / (select extract(epoch from '2026-08-05 17:57:31'::timestamp) - extract(epoch from '2026-08-05 17:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033373 -3.326251)'), GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326267)'))) / (select extract(epoch from '2026-08-05 17:57:31'::timestamp) - extract(epoch from '2026-08-05 17:57: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'), 48130, 'SRID=4674;POINT (-39.033403 -3.326263)', '2026-08-05 17:57:40', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326267)'), GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326263)'))) / (select extract(epoch from '2026-08-05 17:57:40'::timestamp) - extract(epoch from '2026-08-05 17:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326267)'), GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326263)'))) / (select extract(epoch from '2026-08-05 17:57:40'::timestamp) - extract(epoch from '2026-08-05 17:57: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'), 48130, 'SRID=4674;POINT (-39.033406 -3.326258)', '2026-08-05 17:57:51', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326263)'), GeomFromEWKT('SRID=4674;POINT (-39.033406 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:57:51'::timestamp) - extract(epoch from '2026-08-05 17:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326263)'), GeomFromEWKT('SRID=4674;POINT (-39.033406 -3.326258)'))) / (select extract(epoch from '2026-08-05 17:57:51'::timestamp) - extract(epoch from '2026-08-05 17:57: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'), 48130, 'SRID=4674;POINT (-39.033383 -3.326274)', '2026-08-05 17:58:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033406 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326274)'))) / (select extract(epoch from '2026-08-05 17:58:01'::timestamp) - extract(epoch from '2026-08-05 17:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033406 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326274)'))) / (select extract(epoch from '2026-08-05 17:58:01'::timestamp) - extract(epoch from '2026-08-05 17:57:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033368 -3.326281)', '2026-08-05 17:58:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033368 -3.326281)'))) / (select extract(epoch from '2026-08-05 17:58:07'::timestamp) - extract(epoch from '2026-08-05 17:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033368 -3.326281)'))) / (select extract(epoch from '2026-08-05 17:58:07'::timestamp) - extract(epoch from '2026-08-05 17:58:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033377 -3.326275)', '2026-08-05 17:58:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033368 -3.326281)'), GeomFromEWKT('SRID=4674;POINT (-39.033377 -3.326275)'))) / (select extract(epoch from '2026-08-05 17:58:14'::timestamp) - extract(epoch from '2026-08-05 17:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033368 -3.326281)'), GeomFromEWKT('SRID=4674;POINT (-39.033377 -3.326275)'))) / (select extract(epoch from '2026-08-05 17:58:14'::timestamp) - extract(epoch from '2026-08-05 17:58:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033394 -3.326289)', '2026-08-05 17:58:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033377 -3.326275)'), GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326289)'))) / (select extract(epoch from '2026-08-05 17:58:22'::timestamp) - extract(epoch from '2026-08-05 17:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033377 -3.326275)'), GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326289)'))) / (select extract(epoch from '2026-08-05 17:58:22'::timestamp) - extract(epoch from '2026-08-05 17:58:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033393 -3.326291)', '2026-08-05 17:58:31', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326289)'), GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326291)'))) / (select extract(epoch from '2026-08-05 17:58:31'::timestamp) - extract(epoch from '2026-08-05 17:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326289)'), GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326291)'))) / (select extract(epoch from '2026-08-05 17:58:31'::timestamp) - extract(epoch from '2026-08-05 17:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033387 -3.326295)', '2026-08-05 17:58:37', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326291)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326295)'))) / (select extract(epoch from '2026-08-05 17:58:37'::timestamp) - extract(epoch from '2026-08-05 17:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326291)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326295)'))) / (select extract(epoch from '2026-08-05 17:58:37'::timestamp) - extract(epoch from '2026-08-05 17:58: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'), 48130, 'SRID=4674;POINT (-39.033383 -3.326297)', '2026-08-05 17:58:42', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326295)'), GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326297)'))) / (select extract(epoch from '2026-08-05 17:58:42'::timestamp) - extract(epoch from '2026-08-05 17:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326295)'), GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326297)'))) / (select extract(epoch from '2026-08-05 17:58:42'::timestamp) - extract(epoch from '2026-08-05 17:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033389 -3.326298)', '2026-08-05 17:58:49', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326297)'), GeomFromEWKT('SRID=4674;POINT (-39.033389 -3.326298)'))) / (select extract(epoch from '2026-08-05 17:58:49'::timestamp) - extract(epoch from '2026-08-05 17:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326297)'), GeomFromEWKT('SRID=4674;POINT (-39.033389 -3.326298)'))) / (select extract(epoch from '2026-08-05 17:58:49'::timestamp) - extract(epoch from '2026-08-05 17:58: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'), 48130, 'SRID=4674;POINT (-39.03339 -3.326296)', '2026-08-05 17:58:56', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033389 -3.326298)'), GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326296)'))) / (select extract(epoch from '2026-08-05 17:58:56'::timestamp) - extract(epoch from '2026-08-05 17:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033389 -3.326298)'), GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326296)'))) / (select extract(epoch from '2026-08-05 17:58:56'::timestamp) - extract(epoch from '2026-08-05 17:58: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'), 48130, 'SRID=4674;POINT (-39.033384 -3.326275)', '2026-08-05 17:59:01', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326296)'), GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.326275)'))) / (select extract(epoch from '2026-08-05 17:59:01'::timestamp) - extract(epoch from '2026-08-05 17:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326296)'), GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.326275)'))) / (select extract(epoch from '2026-08-05 17:59:01'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033376 -3.32627)', '2026-08-05 17:59:05', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.326275)'), GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:59:05'::timestamp) - extract(epoch from '2026-08-05 17:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.326275)'), GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:59:05'::timestamp) - extract(epoch from '2026-08-05 17:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033376 -3.326268)', '2026-08-05 17:59:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:59:17'::timestamp) - extract(epoch from '2026-08-05 17:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326268)'))) / (select extract(epoch from '2026-08-05 17:59:17'::timestamp) - extract(epoch from '2026-08-05 17:59: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'), 48130, 'SRID=4674;POINT (-39.033385 -3.326274)', '2026-08-05 17:59:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033385 -3.326274)'))) / (select extract(epoch from '2026-08-05 17:59:20'::timestamp) - extract(epoch from '2026-08-05 17:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033385 -3.326274)'))) / (select extract(epoch from '2026-08-05 17:59:20'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033387 -3.32627)', '2026-08-05 17:59:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033385 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:59:24'::timestamp) - extract(epoch from '2026-08-05 17:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033385 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.32627)'))) / (select extract(epoch from '2026-08-05 17:59:24'::timestamp) - extract(epoch from '2026-08-05 17:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033386 -3.326265)', '2026-08-05 17:59:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326265)'))) / (select extract(epoch from '2026-08-05 17:59:29'::timestamp) - extract(epoch from '2026-08-05 17:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326265)'))) / (select extract(epoch from '2026-08-05 17:59:29'::timestamp) - extract(epoch from '2026-08-05 17:59: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'), 48130, 'SRID=4674;POINT (-39.033383 -3.326251)', '2026-08-05 17:59:36', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326265)'), GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326251)'))) / (select extract(epoch from '2026-08-05 17:59:36'::timestamp) - extract(epoch from '2026-08-05 17:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326265)'), GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326251)'))) / (select extract(epoch from '2026-08-05 17:59:36'::timestamp) - extract(epoch from '2026-08-05 17:59: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'), 48130, 'SRID=4674;POINT (-39.03339 -3.326261)', '2026-08-05 17:59:42', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326251)'), GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:59:42'::timestamp) - extract(epoch from '2026-08-05 17:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.326251)'), GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:59:42'::timestamp) - extract(epoch from '2026-08-05 17:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033382 -3.326261)', '2026-08-05 17:59:43', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033382 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:59:43'::timestamp) - extract(epoch from '2026-08-05 17:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033382 -3.326261)'))) / (select extract(epoch from '2026-08-05 17:59:43'::timestamp) - extract(epoch from '2026-08-05 17:59:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033384 -3.326274)', '2026-08-05 17:59:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033382 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.326274)'))) / (select extract(epoch from '2026-08-05 17:59:48'::timestamp) - extract(epoch from '2026-08-05 17:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033382 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.326274)'))) / (select extract(epoch from '2026-08-05 17:59:48'::timestamp) - extract(epoch from '2026-08-05 17:59: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'), 48130, 'SRID=4674;POINT (-39.033386 -3.326276)', '2026-08-05 17:59:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326276)'))) / (select extract(epoch from '2026-08-05 17:59:58'::timestamp) - extract(epoch from '2026-08-05 17:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326276)'))) / (select extract(epoch from '2026-08-05 17:59:58'::timestamp) - extract(epoch from '2026-08-05 17:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033377 -3.326282)', '2026-08-05 18:00:10', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326276)'), GeomFromEWKT('SRID=4674;POINT (-39.033377 -3.326282)'))) / (select extract(epoch from '2026-08-05 18:00:10'::timestamp) - extract(epoch from '2026-08-05 17:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326276)'), GeomFromEWKT('SRID=4674;POINT (-39.033377 -3.326282)'))) / (select extract(epoch from '2026-08-05 18:00:10'::timestamp) - extract(epoch from '2026-08-05 17: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'), 48130, 'SRID=4674;POINT (-39.033378 -3.326285)', '2026-08-05 18:00:19', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033377 -3.326282)'), GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326285)'))) / (select extract(epoch from '2026-08-05 18:00:19'::timestamp) - extract(epoch from '2026-08-05 18:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033377 -3.326282)'), GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326285)'))) / (select extract(epoch from '2026-08-05 18:00:19'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033378 -3.326288)', '2026-08-05 18:00:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326285)'), GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326288)'))) / (select extract(epoch from '2026-08-05 18:00:30'::timestamp) - extract(epoch from '2026-08-05 18:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326285)'), GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326288)'))) / (select extract(epoch from '2026-08-05 18:00:30'::timestamp) - extract(epoch from '2026-08-05 18:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033376 -3.326291)', '2026-08-05 18:00:39', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326288)'), GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326291)'))) / (select extract(epoch from '2026-08-05 18:00:39'::timestamp) - extract(epoch from '2026-08-05 18:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326288)'), GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326291)'))) / (select extract(epoch from '2026-08-05 18:00:39'::timestamp) - extract(epoch from '2026-08-05 18:00: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'), 48130, 'SRID=4674;POINT (-39.03338 -3.3263)', '2026-08-05 18:00:49', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326291)'), GeomFromEWKT('SRID=4674;POINT (-39.03338 -3.3263)'))) / (select extract(epoch from '2026-08-05 18:00:49'::timestamp) - extract(epoch from '2026-08-05 18:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326291)'), GeomFromEWKT('SRID=4674;POINT (-39.03338 -3.3263)'))) / (select extract(epoch from '2026-08-05 18:00:49'::timestamp) - extract(epoch from '2026-08-05 18:00: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'), 48130, 'SRID=4674;POINT (-39.033374 -3.326296)', '2026-08-05 18:01:01', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03338 -3.3263)'), GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.326296)'))) / (select extract(epoch from '2026-08-05 18:01:01'::timestamp) - extract(epoch from '2026-08-05 18:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03338 -3.3263)'), GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.326296)'))) / (select extract(epoch from '2026-08-05 18:01:01'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033361 -3.326292)', '2026-08-05 18:01:11', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.326296)'), GeomFromEWKT('SRID=4674;POINT (-39.033361 -3.326292)'))) / (select extract(epoch from '2026-08-05 18:01:11'::timestamp) - extract(epoch from '2026-08-05 18:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.326296)'), GeomFromEWKT('SRID=4674;POINT (-39.033361 -3.326292)'))) / (select extract(epoch from '2026-08-05 18:01:11'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033364 -3.326283)', '2026-08-05 18:01:19', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033361 -3.326292)'), GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326283)'))) / (select extract(epoch from '2026-08-05 18:01:19'::timestamp) - extract(epoch from '2026-08-05 18:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033361 -3.326292)'), GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326283)'))) / (select extract(epoch from '2026-08-05 18:01:19'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033372 -3.326277)', '2026-08-05 18:01:25', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326283)'), GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326277)'))) / (select extract(epoch from '2026-08-05 18:01:25'::timestamp) - extract(epoch from '2026-08-05 18:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033364 -3.326283)'), GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326277)'))) / (select extract(epoch from '2026-08-05 18:01:25'::timestamp) - extract(epoch from '2026-08-05 18:01: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'), 48130, 'SRID=4674;POINT (-39.033375 -3.326261)', '2026-08-05 18:01:33', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.326261)'))) / (select extract(epoch from '2026-08-05 18:01:33'::timestamp) - extract(epoch from '2026-08-05 18:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033372 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.326261)'))) / (select extract(epoch from '2026-08-05 18:01:33'::timestamp) - extract(epoch from '2026-08-05 18:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033378 -3.326258)', '2026-08-05 18:01:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326258)'))) / (select extract(epoch from '2026-08-05 18:01:39'::timestamp) - extract(epoch from '2026-08-05 18:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326258)'))) / (select extract(epoch from '2026-08-05 18:01:39'::timestamp) - extract(epoch from '2026-08-05 18:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033371 -3.326257)', '2026-08-05 18:01:51', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033371 -3.326257)'))) / (select extract(epoch from '2026-08-05 18:01:51'::timestamp) - extract(epoch from '2026-08-05 18:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033371 -3.326257)'))) / (select extract(epoch from '2026-08-05 18:01:51'::timestamp) - extract(epoch from '2026-08-05 18:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033374 -3.326255)', '2026-08-05 18:01:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033371 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:01:59'::timestamp) - extract(epoch from '2026-08-05 18:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033371 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:01:59'::timestamp) - extract(epoch from '2026-08-05 18:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033376 -3.326259)', '2026-08-05 18:02:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326259)'))) / (select extract(epoch from '2026-08-05 18:02:07'::timestamp) - extract(epoch from '2026-08-05 18:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326259)'))) / (select extract(epoch from '2026-08-05 18:02:07'::timestamp) - extract(epoch from '2026-08-05 18:01: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'), 48130, 'SRID=4674;POINT (-39.033375 -3.32626)', '2026-08-05 18:02:16', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.32626)'))) / (select extract(epoch from '2026-08-05 18:02:16'::timestamp) - extract(epoch from '2026-08-05 18:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.32626)'))) / (select extract(epoch from '2026-08-05 18:02:16'::timestamp) - extract(epoch from '2026-08-05 18:02: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'), 48130, 'SRID=4674;POINT (-39.03337 -3.326252)', '2026-08-05 18:02:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.03337 -3.326252)'))) / (select extract(epoch from '2026-08-05 18:02:24'::timestamp) - extract(epoch from '2026-08-05 18:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.03337 -3.326252)'))) / (select extract(epoch from '2026-08-05 18:02:24'::timestamp) - extract(epoch from '2026-08-05 18:02:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033381 -3.326239)', '2026-08-05 18:02:30', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03337 -3.326252)'), GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.326239)'))) / (select extract(epoch from '2026-08-05 18:02:30'::timestamp) - extract(epoch from '2026-08-05 18:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03337 -3.326252)'), GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.326239)'))) / (select extract(epoch from '2026-08-05 18:02:30'::timestamp) - extract(epoch from '2026-08-05 18:02: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'), 48130, 'SRID=4674;POINT (-39.033381 -3.326238)', '2026-08-05 18:02:38', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.326239)'), GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.326238)'))) / (select extract(epoch from '2026-08-05 18:02:38'::timestamp) - extract(epoch from '2026-08-05 18:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.326239)'), GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.326238)'))) / (select extract(epoch from '2026-08-05 18:02:38'::timestamp) - extract(epoch from '2026-08-05 18:02: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'), 48130, 'SRID=4674;POINT (-39.033398 -3.326242)', '2026-08-05 18:02:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.326238)'), GeomFromEWKT('SRID=4674;POINT (-39.033398 -3.326242)'))) / (select extract(epoch from '2026-08-05 18:02:48'::timestamp) - extract(epoch from '2026-08-05 18:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.326238)'), GeomFromEWKT('SRID=4674;POINT (-39.033398 -3.326242)'))) / (select extract(epoch from '2026-08-05 18:02:48'::timestamp) - extract(epoch from '2026-08-05 18:02: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'), 48130, 'SRID=4674;POINT (-39.033391 -3.326232)', '2026-08-05 18:03:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033398 -3.326242)'), GeomFromEWKT('SRID=4674;POINT (-39.033391 -3.326232)'))) / (select extract(epoch from '2026-08-05 18:03:01'::timestamp) - extract(epoch from '2026-08-05 18:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033398 -3.326242)'), GeomFromEWKT('SRID=4674;POINT (-39.033391 -3.326232)'))) / (select extract(epoch from '2026-08-05 18:03:01'::timestamp) - extract(epoch from '2026-08-05 18:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033396 -3.326234)', '2026-08-05 18:03:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033391 -3.326232)'), GeomFromEWKT('SRID=4674;POINT (-39.033396 -3.326234)'))) / (select extract(epoch from '2026-08-05 18:03:15'::timestamp) - extract(epoch from '2026-08-05 18:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033391 -3.326232)'), GeomFromEWKT('SRID=4674;POINT (-39.033396 -3.326234)'))) / (select extract(epoch from '2026-08-05 18:03:15'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033394 -3.326228)', '2026-08-05 18:03:23', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033396 -3.326234)'), GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326228)'))) / (select extract(epoch from '2026-08-05 18:03:23'::timestamp) - extract(epoch from '2026-08-05 18:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033396 -3.326234)'), GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326228)'))) / (select extract(epoch from '2026-08-05 18:03:23'::timestamp) - extract(epoch from '2026-08-05 18:03: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'), 48130, 'SRID=4674;POINT (-39.033387 -3.326226)', '2026-08-05 18:03:29', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326228)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326226)'))) / (select extract(epoch from '2026-08-05 18:03:29'::timestamp) - extract(epoch from '2026-08-05 18:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326228)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326226)'))) / (select extract(epoch from '2026-08-05 18:03:29'::timestamp) - extract(epoch from '2026-08-05 18:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033388 -3.326234)', '2026-08-05 18:03:37', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326226)'), GeomFromEWKT('SRID=4674;POINT (-39.033388 -3.326234)'))) / (select extract(epoch from '2026-08-05 18:03:37'::timestamp) - extract(epoch from '2026-08-05 18:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326226)'), GeomFromEWKT('SRID=4674;POINT (-39.033388 -3.326234)'))) / (select extract(epoch from '2026-08-05 18:03:37'::timestamp) - extract(epoch from '2026-08-05 18:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033386 -3.326241)', '2026-08-05 18:03:45', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033388 -3.326234)'), GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326241)'))) / (select extract(epoch from '2026-08-05 18:03:45'::timestamp) - extract(epoch from '2026-08-05 18:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033388 -3.326234)'), GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326241)'))) / (select extract(epoch from '2026-08-05 18:03:45'::timestamp) - extract(epoch from '2026-08-05 18:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033387 -3.326245)', '2026-08-05 18:03:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326241)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326245)'))) / (select extract(epoch from '2026-08-05 18:03:54'::timestamp) - extract(epoch from '2026-08-05 18:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.326241)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326245)'))) / (select extract(epoch from '2026-08-05 18:03:54'::timestamp) - extract(epoch from '2026-08-05 18:03: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'), 48130, 'SRID=4674;POINT (-39.033378 -3.326246)', '2026-08-05 18:04:00', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326246)'))) / (select extract(epoch from '2026-08-05 18:04:00'::timestamp) - extract(epoch from '2026-08-05 18:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326246)'))) / (select extract(epoch from '2026-08-05 18:04:00'::timestamp) - extract(epoch from '2026-08-05 18:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033375 -3.326241)', '2026-08-05 18:04:12', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326246)'), GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.326241)'))) / (select extract(epoch from '2026-08-05 18:04:12'::timestamp) - extract(epoch from '2026-08-05 18:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.326246)'), GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.326241)'))) / (select extract(epoch from '2026-08-05 18:04:12'::timestamp) - extract(epoch from '2026-08-05 18:04: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'), 48130, 'SRID=4674;POINT (-39.03339 -3.326247)', '2026-08-05 18:04:21', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.326241)'), GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326247)'))) / (select extract(epoch from '2026-08-05 18:04:21'::timestamp) - extract(epoch from '2026-08-05 18:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.326241)'), GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326247)'))) / (select extract(epoch from '2026-08-05 18:04:21'::timestamp) - extract(epoch from '2026-08-05 18:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033387 -3.326255)', '2026-08-05 18:04:29', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326247)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:04:29'::timestamp) - extract(epoch from '2026-08-05 18:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03339 -3.326247)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:04:29'::timestamp) - extract(epoch from '2026-08-05 18:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033383 -3.32627)', '2026-08-05 18:04:36', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.32627)'))) / (select extract(epoch from '2026-08-05 18:04:36'::timestamp) - extract(epoch from '2026-08-05 18:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.32627)'))) / (select extract(epoch from '2026-08-05 18:04:36'::timestamp) - extract(epoch from '2026-08-05 18:04: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'), 48130, 'SRID=4674;POINT (-39.0334 -3.326284)', '2026-08-05 18:04:47', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.0334 -3.326284)'))) / (select extract(epoch from '2026-08-05 18:04:47'::timestamp) - extract(epoch from '2026-08-05 18:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033383 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.0334 -3.326284)'))) / (select extract(epoch from '2026-08-05 18:04:47'::timestamp) - extract(epoch from '2026-08-05 18:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033392 -3.326274)', '2026-08-05 18:04:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0334 -3.326284)'), GeomFromEWKT('SRID=4674;POINT (-39.033392 -3.326274)'))) / (select extract(epoch from '2026-08-05 18:04:54'::timestamp) - extract(epoch from '2026-08-05 18:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0334 -3.326284)'), GeomFromEWKT('SRID=4674;POINT (-39.033392 -3.326274)'))) / (select extract(epoch from '2026-08-05 18:04:54'::timestamp) - extract(epoch from '2026-08-05 18:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033394 -3.326268)', '2026-08-05 18:04:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033392 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326268)'))) / (select extract(epoch from '2026-08-05 18:04:59'::timestamp) - extract(epoch from '2026-08-05 18:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033392 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326268)'))) / (select extract(epoch from '2026-08-05 18:04:59'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033387 -3.32626)', '2026-08-05 18:05:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.32626)'))) / (select extract(epoch from '2026-08-05 18:05:06'::timestamp) - extract(epoch from '2026-08-05 18:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.32626)'))) / (select extract(epoch from '2026-08-05 18:05:06'::timestamp) - extract(epoch from '2026-08-05 18:04: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'), 48130, 'SRID=4674;POINT (-39.033386 -3.32626)', '2026-08-05 18:05:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.32626)'))) / (select extract(epoch from '2026-08-05 18:05:11'::timestamp) - extract(epoch from '2026-08-05 18:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033387 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.32626)'))) / (select extract(epoch from '2026-08-05 18:05:11'::timestamp) - extract(epoch from '2026-08-05 18:05: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'), 48130, 'SRID=4674;POINT (-39.033402 -3.32626)', '2026-08-05 18:05:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033402 -3.32626)'))) / (select extract(epoch from '2026-08-05 18:05:16'::timestamp) - extract(epoch from '2026-08-05 18:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033386 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033402 -3.32626)'))) / (select extract(epoch from '2026-08-05 18:05:16'::timestamp) - extract(epoch from '2026-08-05 18:05: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'), 48130, 'SRID=4674;POINT (-39.033399 -3.326257)', '2026-08-05 18:05:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033402 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033399 -3.326257)'))) / (select extract(epoch from '2026-08-05 18:05:19'::timestamp) - extract(epoch from '2026-08-05 18:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033402 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033399 -3.326257)'))) / (select extract(epoch from '2026-08-05 18:05:19'::timestamp) - extract(epoch from '2026-08-05 18:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033395 -3.326255)', '2026-08-05 18:05:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033399 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033395 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:05:27'::timestamp) - extract(epoch from '2026-08-05 18:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033399 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033395 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:05:27'::timestamp) - extract(epoch from '2026-08-05 18:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033393 -3.326252)', '2026-08-05 18:05:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033395 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326252)'))) / (select extract(epoch from '2026-08-05 18:05:36'::timestamp) - extract(epoch from '2026-08-05 18:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033395 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326252)'))) / (select extract(epoch from '2026-08-05 18:05:36'::timestamp) - extract(epoch from '2026-08-05 18:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033403 -3.326259)', '2026-08-05 18:05:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326252)'), GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326259)'))) / (select extract(epoch from '2026-08-05 18:05:42'::timestamp) - extract(epoch from '2026-08-05 18:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326252)'), GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326259)'))) / (select extract(epoch from '2026-08-05 18:05:42'::timestamp) - extract(epoch from '2026-08-05 18:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.03341 -3.326257)', '2026-08-05 18:05:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.03341 -3.326257)'))) / (select extract(epoch from '2026-08-05 18:05:48'::timestamp) - extract(epoch from '2026-08-05 18:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.03341 -3.326257)'))) / (select extract(epoch from '2026-08-05 18:05:48'::timestamp) - extract(epoch from '2026-08-05 18:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033416 -3.326258)', '2026-08-05 18:05:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03341 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326258)'))) / (select extract(epoch from '2026-08-05 18:05:56'::timestamp) - extract(epoch from '2026-08-05 18:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03341 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326258)'))) / (select extract(epoch from '2026-08-05 18:05:56'::timestamp) - extract(epoch from '2026-08-05 18:05: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'), 48130, 'SRID=4674;POINT (-39.033414 -3.326262)', '2026-08-05 18:06:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326262)'))) / (select extract(epoch from '2026-08-05 18:06:02'::timestamp) - extract(epoch from '2026-08-05 18:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326262)'))) / (select extract(epoch from '2026-08-05 18:06:02'::timestamp) - extract(epoch from '2026-08-05 18:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033415 -3.326259)', '2026-08-05 18:06:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326259)'))) / (select extract(epoch from '2026-08-05 18:06:09'::timestamp) - extract(epoch from '2026-08-05 18:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326259)'))) / (select extract(epoch from '2026-08-05 18:06:09'::timestamp) - extract(epoch from '2026-08-05 18:06:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033413 -3.326257)', '2026-08-05 18:06:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326257)'))) / (select extract(epoch from '2026-08-05 18:06:16'::timestamp) - extract(epoch from '2026-08-05 18:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326257)'))) / (select extract(epoch from '2026-08-05 18:06:16'::timestamp) - extract(epoch from '2026-08-05 18:06: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'), 48130, 'SRID=4674;POINT (-39.03342 -3.326261)', '2026-08-05 18:06:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326261)'))) / (select extract(epoch from '2026-08-05 18:06:24'::timestamp) - extract(epoch from '2026-08-05 18:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326261)'))) / (select extract(epoch from '2026-08-05 18:06:24'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033416 -3.326264)', '2026-08-05 18:06:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326264)'))) / (select extract(epoch from '2026-08-05 18:06:31'::timestamp) - extract(epoch from '2026-08-05 18:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326264)'))) / (select extract(epoch from '2026-08-05 18:06:31'::timestamp) - extract(epoch from '2026-08-05 18:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033415 -3.326268)', '2026-08-05 18:06:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326268)'))) / (select extract(epoch from '2026-08-05 18:06:41'::timestamp) - extract(epoch from '2026-08-05 18:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326268)'))) / (select extract(epoch from '2026-08-05 18:06:41'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033413 -3.32626)', '2026-08-05 18:06:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.32626)'))) / (select extract(epoch from '2026-08-05 18:06:49'::timestamp) - extract(epoch from '2026-08-05 18:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.32626)'))) / (select extract(epoch from '2026-08-05 18:06:49'::timestamp) - extract(epoch from '2026-08-05 18:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033406 -3.326262)', '2026-08-05 18:06:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033406 -3.326262)'))) / (select extract(epoch from '2026-08-05 18:06:55'::timestamp) - extract(epoch from '2026-08-05 18:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.32626)'), GeomFromEWKT('SRID=4674;POINT (-39.033406 -3.326262)'))) / (select extract(epoch from '2026-08-05 18:06:55'::timestamp) - extract(epoch from '2026-08-05 18:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033412 -3.32627)', '2026-08-05 18:07:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033406 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.32627)'))) / (select extract(epoch from '2026-08-05 18:07:02'::timestamp) - extract(epoch from '2026-08-05 18:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033406 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.32627)'))) / (select extract(epoch from '2026-08-05 18:07:02'::timestamp) - extract(epoch from '2026-08-05 18:06:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033412 -3.326272)', '2026-08-05 18:07:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.326272)'))) / (select extract(epoch from '2026-08-05 18:07:10'::timestamp) - extract(epoch from '2026-08-05 18:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.326272)'))) / (select extract(epoch from '2026-08-05 18:07:10'::timestamp) - extract(epoch from '2026-08-05 18:07: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'), 48130, 'SRID=4674;POINT (-39.033416 -3.32627)', '2026-08-05 18:07:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.326272)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.32627)'))) / (select extract(epoch from '2026-08-05 18:07:18'::timestamp) - extract(epoch from '2026-08-05 18:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.326272)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.32627)'))) / (select extract(epoch from '2026-08-05 18:07:18'::timestamp) - extract(epoch from '2026-08-05 18:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033427 -3.326268)', '2026-08-05 18:07:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033427 -3.326268)'))) / (select extract(epoch from '2026-08-05 18:07:28'::timestamp) - extract(epoch from '2026-08-05 18:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033427 -3.326268)'))) / (select extract(epoch from '2026-08-05 18:07:28'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033421 -3.32628)', '2026-08-05 18:07:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033427 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.32628)'))) / (select extract(epoch from '2026-08-05 18:07:34'::timestamp) - extract(epoch from '2026-08-05 18:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033427 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.32628)'))) / (select extract(epoch from '2026-08-05 18:07:34'::timestamp) - extract(epoch from '2026-08-05 18:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033418 -3.326282)', '2026-08-05 18:07:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.32628)'), GeomFromEWKT('SRID=4674;POINT (-39.033418 -3.326282)'))) / (select extract(epoch from '2026-08-05 18:07:35'::timestamp) - extract(epoch from '2026-08-05 18:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.32628)'), GeomFromEWKT('SRID=4674;POINT (-39.033418 -3.326282)'))) / (select extract(epoch from '2026-08-05 18:07:35'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033415 -3.326286)', '2026-08-05 18:07:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033418 -3.326282)'), GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326286)'))) / (select extract(epoch from '2026-08-05 18:07:43'::timestamp) - extract(epoch from '2026-08-05 18:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033418 -3.326282)'), GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326286)'))) / (select extract(epoch from '2026-08-05 18:07:43'::timestamp) - extract(epoch from '2026-08-05 18:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033414 -3.326283)', '2026-08-05 18:07:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326286)'), GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326283)'))) / (select extract(epoch from '2026-08-05 18:07:54'::timestamp) - extract(epoch from '2026-08-05 18:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326286)'), GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326283)'))) / (select extract(epoch from '2026-08-05 18:07:54'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033417 -3.326282)', '2026-08-05 18:08:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326283)'), GeomFromEWKT('SRID=4674;POINT (-39.033417 -3.326282)'))) / (select extract(epoch from '2026-08-05 18:08:02'::timestamp) - extract(epoch from '2026-08-05 18:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326283)'), GeomFromEWKT('SRID=4674;POINT (-39.033417 -3.326282)'))) / (select extract(epoch from '2026-08-05 18:08:02'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033429 -3.326291)', '2026-08-05 18:08:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033417 -3.326282)'), GeomFromEWKT('SRID=4674;POINT (-39.033429 -3.326291)'))) / (select extract(epoch from '2026-08-05 18:08:10'::timestamp) - extract(epoch from '2026-08-05 18:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033417 -3.326282)'), GeomFromEWKT('SRID=4674;POINT (-39.033429 -3.326291)'))) / (select extract(epoch from '2026-08-05 18:08:10'::timestamp) - extract(epoch from '2026-08-05 18:08: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'), 48130, 'SRID=4674;POINT (-39.033426 -3.326282)', '2026-08-05 18:08:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033429 -3.326291)'), GeomFromEWKT('SRID=4674;POINT (-39.033426 -3.326282)'))) / (select extract(epoch from '2026-08-05 18:08:18'::timestamp) - extract(epoch from '2026-08-05 18:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033429 -3.326291)'), GeomFromEWKT('SRID=4674;POINT (-39.033426 -3.326282)'))) / (select extract(epoch from '2026-08-05 18:08:18'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033422 -3.326281)', '2026-08-05 18:08:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033426 -3.326282)'), GeomFromEWKT('SRID=4674;POINT (-39.033422 -3.326281)'))) / (select extract(epoch from '2026-08-05 18:08:27'::timestamp) - extract(epoch from '2026-08-05 18:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033426 -3.326282)'), GeomFromEWKT('SRID=4674;POINT (-39.033422 -3.326281)'))) / (select extract(epoch from '2026-08-05 18:08:27'::timestamp) - extract(epoch from '2026-08-05 18:08: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'), 48130, 'SRID=4674;POINT (-39.03342 -3.326284)', '2026-08-05 18:08:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033422 -3.326281)'), GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326284)'))) / (select extract(epoch from '2026-08-05 18:08:34'::timestamp) - extract(epoch from '2026-08-05 18:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033422 -3.326281)'), GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326284)'))) / (select extract(epoch from '2026-08-05 18:08:34'::timestamp) - extract(epoch from '2026-08-05 18:08:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033425 -3.326281)', '2026-08-05 18:08:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326284)'), GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.326281)'))) / (select extract(epoch from '2026-08-05 18:08:40'::timestamp) - extract(epoch from '2026-08-05 18:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326284)'), GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.326281)'))) / (select extract(epoch from '2026-08-05 18:08:40'::timestamp) - extract(epoch from '2026-08-05 18:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033417 -3.326277)', '2026-08-05 18:08:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.326281)'), GeomFromEWKT('SRID=4674;POINT (-39.033417 -3.326277)'))) / (select extract(epoch from '2026-08-05 18:08:47'::timestamp) - extract(epoch from '2026-08-05 18:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.326281)'), GeomFromEWKT('SRID=4674;POINT (-39.033417 -3.326277)'))) / (select extract(epoch from '2026-08-05 18:08:47'::timestamp) - extract(epoch from '2026-08-05 18:08: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'), 48130, 'SRID=4674;POINT (-39.033421 -3.326268)', '2026-08-05 18:08:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033417 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326268)'))) / (select extract(epoch from '2026-08-05 18:08:51'::timestamp) - extract(epoch from '2026-08-05 18:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033417 -3.326277)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326268)'))) / (select extract(epoch from '2026-08-05 18:08:51'::timestamp) - extract(epoch from '2026-08-05 18:08: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'), 48130, 'SRID=4674;POINT (-39.033426 -3.32627)', '2026-08-05 18:08:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033426 -3.32627)'))) / (select extract(epoch from '2026-08-05 18:08:56'::timestamp) - extract(epoch from '2026-08-05 18:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033426 -3.32627)'))) / (select extract(epoch from '2026-08-05 18:08:56'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033421 -3.326274)', '2026-08-05 18:09:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033426 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326274)'))) / (select extract(epoch from '2026-08-05 18:09:01'::timestamp) - extract(epoch from '2026-08-05 18:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033426 -3.32627)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326274)'))) / (select extract(epoch from '2026-08-05 18:09:01'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.03342 -3.326275)', '2026-08-05 18:09:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326275)'))) / (select extract(epoch from '2026-08-05 18:09:07'::timestamp) - extract(epoch from '2026-08-05 18:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326274)'), GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326275)'))) / (select extract(epoch from '2026-08-05 18:09:07'::timestamp) - extract(epoch from '2026-08-05 18:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033414 -3.326268)', '2026-08-05 18:09:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326275)'), GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326268)'))) / (select extract(epoch from '2026-08-05 18:09:11'::timestamp) - extract(epoch from '2026-08-05 18:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03342 -3.326275)'), GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326268)'))) / (select extract(epoch from '2026-08-05 18:09:11'::timestamp) - extract(epoch from '2026-08-05 18:09: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'), 48130, 'SRID=4674;POINT (-39.033403 -3.326259)', '2026-08-05 18:09:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326259)'))) / (select extract(epoch from '2026-08-05 18:09:19'::timestamp) - extract(epoch from '2026-08-05 18:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326268)'), GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326259)'))) / (select extract(epoch from '2026-08-05 18:09:19'::timestamp) - extract(epoch from '2026-08-05 18:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033421 -3.326262)', '2026-08-05 18:09:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326262)'))) / (select extract(epoch from '2026-08-05 18:09:25'::timestamp) - extract(epoch from '2026-08-05 18:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033403 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326262)'))) / (select extract(epoch from '2026-08-05 18:09:25'::timestamp) - extract(epoch from '2026-08-05 18:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033418 -3.326257)', '2026-08-05 18:09:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033418 -3.326257)'))) / (select extract(epoch from '2026-08-05 18:09:32'::timestamp) - extract(epoch from '2026-08-05 18:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326262)'), GeomFromEWKT('SRID=4674;POINT (-39.033418 -3.326257)'))) / (select extract(epoch from '2026-08-05 18:09:32'::timestamp) - extract(epoch from '2026-08-05 18:09: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'), 48130, 'SRID=4674;POINT (-39.033421 -3.326256)', '2026-08-05 18:09:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033418 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326256)'))) / (select extract(epoch from '2026-08-05 18:09:37'::timestamp) - extract(epoch from '2026-08-05 18:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033418 -3.326257)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326256)'))) / (select extract(epoch from '2026-08-05 18:09:37'::timestamp) - extract(epoch from '2026-08-05 18:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033408 -3.326258)', '2026-08-05 18:09:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033408 -3.326258)'))) / (select extract(epoch from '2026-08-05 18:09:43'::timestamp) - extract(epoch from '2026-08-05 18:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.326256)'), GeomFromEWKT('SRID=4674;POINT (-39.033408 -3.326258)'))) / (select extract(epoch from '2026-08-05 18:09:43'::timestamp) - extract(epoch from '2026-08-05 18:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033416 -3.326264)', '2026-08-05 18:09:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033408 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326264)'))) / (select extract(epoch from '2026-08-05 18:09:50'::timestamp) - extract(epoch from '2026-08-05 18:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033408 -3.326258)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326264)'))) / (select extract(epoch from '2026-08-05 18:09:50'::timestamp) - extract(epoch from '2026-08-05 18:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033423 -3.326265)', '2026-08-05 18:09:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326265)'))) / (select extract(epoch from '2026-08-05 18:09:58'::timestamp) - extract(epoch from '2026-08-05 18:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326265)'))) / (select extract(epoch from '2026-08-05 18:09:58'::timestamp) - extract(epoch from '2026-08-05 18:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033428 -3.326259)', '2026-08-05 18:10:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326265)'), GeomFromEWKT('SRID=4674;POINT (-39.033428 -3.326259)'))) / (select extract(epoch from '2026-08-05 18:10:04'::timestamp) - extract(epoch from '2026-08-05 18:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326265)'), GeomFromEWKT('SRID=4674;POINT (-39.033428 -3.326259)'))) / (select extract(epoch from '2026-08-05 18:10:04'::timestamp) - extract(epoch from '2026-08-05 18:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033423 -3.326264)', '2026-08-05 18:10:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033428 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326264)'))) / (select extract(epoch from '2026-08-05 18:10:12'::timestamp) - extract(epoch from '2026-08-05 18:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033428 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326264)'))) / (select extract(epoch from '2026-08-05 18:10:12'::timestamp) - extract(epoch from '2026-08-05 18:10: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'), 48130, 'SRID=4674;POINT (-39.033435 -3.326273)', '2026-08-05 18:10:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033435 -3.326273)'))) / (select extract(epoch from '2026-08-05 18:10:17'::timestamp) - extract(epoch from '2026-08-05 18:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033435 -3.326273)'))) / (select extract(epoch from '2026-08-05 18:10:17'::timestamp) - extract(epoch from '2026-08-05 18:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033429 -3.326271)', '2026-08-05 18:10:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033435 -3.326273)'), GeomFromEWKT('SRID=4674;POINT (-39.033429 -3.326271)'))) / (select extract(epoch from '2026-08-05 18:10:25'::timestamp) - extract(epoch from '2026-08-05 18:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033435 -3.326273)'), GeomFromEWKT('SRID=4674;POINT (-39.033429 -3.326271)'))) / (select extract(epoch from '2026-08-05 18:10:25'::timestamp) - extract(epoch from '2026-08-05 18:10: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'), 48130, 'SRID=4674;POINT (-39.033425 -3.326264)', '2026-08-05 18:10:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033429 -3.326271)'), GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.326264)'))) / (select extract(epoch from '2026-08-05 18:10:32'::timestamp) - extract(epoch from '2026-08-05 18:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033429 -3.326271)'), GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.326264)'))) / (select extract(epoch from '2026-08-05 18:10:32'::timestamp) - extract(epoch from '2026-08-05 18:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033413 -3.326261)', '2026-08-05 18:10:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326261)'))) / (select extract(epoch from '2026-08-05 18:10:40'::timestamp) - extract(epoch from '2026-08-05 18:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.326264)'), GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326261)'))) / (select extract(epoch from '2026-08-05 18:10:40'::timestamp) - extract(epoch from '2026-08-05 18:10: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'), 48130, 'SRID=4674;POINT (-39.033413 -3.326255)', '2026-08-05 18:10:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:10:50'::timestamp) - extract(epoch from '2026-08-05 18:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326261)'), GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:10:50'::timestamp) - extract(epoch from '2026-08-05 18:10: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'), 48130, 'SRID=4674;POINT (-39.033416 -3.326255)', '2026-08-05 18:10:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:10:56'::timestamp) - extract(epoch from '2026-08-05 18:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033413 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:10:56'::timestamp) - extract(epoch from '2026-08-05 18:10: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'), 48130, 'SRID=4674;POINT (-39.033419 -3.326255)', '2026-08-05 18:11:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033419 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:11:04'::timestamp) - extract(epoch from '2026-08-05 18:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033419 -3.326255)'))) / (select extract(epoch from '2026-08-05 18:11:04'::timestamp) - extract(epoch from '2026-08-05 18:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033423 -3.326253)', '2026-08-05 18:11:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033419 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326253)'))) / (select extract(epoch from '2026-08-05 18:11:05'::timestamp) - extract(epoch from '2026-08-05 18:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033419 -3.326255)'), GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326253)'))) / (select extract(epoch from '2026-08-05 18:11:05'::timestamp) - extract(epoch from '2026-08-05 18:11: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'), 48130, 'SRID=4674;POINT (-39.033415 -3.326245)', '2026-08-05 18:11:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326245)'))) / (select extract(epoch from '2026-08-05 18:11:08'::timestamp) - extract(epoch from '2026-08-05 18:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033423 -3.326253)'), GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326245)'))) / (select extract(epoch from '2026-08-05 18:11:08'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033407 -3.326244)', '2026-08-05 18:11:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033407 -3.326244)'))) / (select extract(epoch from '2026-08-05 18:11:16'::timestamp) - extract(epoch from '2026-08-05 18:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033415 -3.326245)'), GeomFromEWKT('SRID=4674;POINT (-39.033407 -3.326244)'))) / (select extract(epoch from '2026-08-05 18:11:16'::timestamp) - extract(epoch from '2026-08-05 18:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033405 -3.326247)', '2026-08-05 18:11:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033407 -3.326244)'), GeomFromEWKT('SRID=4674;POINT (-39.033405 -3.326247)'))) / (select extract(epoch from '2026-08-05 18:11:22'::timestamp) - extract(epoch from '2026-08-05 18:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033407 -3.326244)'), GeomFromEWKT('SRID=4674;POINT (-39.033405 -3.326247)'))) / (select extract(epoch from '2026-08-05 18:11:22'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033401 -3.326246)', '2026-08-05 18:11:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033405 -3.326247)'), GeomFromEWKT('SRID=4674;POINT (-39.033401 -3.326246)'))) / (select extract(epoch from '2026-08-05 18:11:29'::timestamp) - extract(epoch from '2026-08-05 18:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033405 -3.326247)'), GeomFromEWKT('SRID=4674;POINT (-39.033401 -3.326246)'))) / (select extract(epoch from '2026-08-05 18:11:29'::timestamp) - extract(epoch from '2026-08-05 18:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.0334 -3.326242)', '2026-08-05 18:11:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033401 -3.326246)'), GeomFromEWKT('SRID=4674;POINT (-39.0334 -3.326242)'))) / (select extract(epoch from '2026-08-05 18:11:36'::timestamp) - extract(epoch from '2026-08-05 18:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033401 -3.326246)'), GeomFromEWKT('SRID=4674;POINT (-39.0334 -3.326242)'))) / (select extract(epoch from '2026-08-05 18:11:36'::timestamp) - extract(epoch from '2026-08-05 18:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033393 -3.326238)', '2026-08-05 18:11:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0334 -3.326242)'), GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326238)'))) / (select extract(epoch from '2026-08-05 18:11:44'::timestamp) - extract(epoch from '2026-08-05 18:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0334 -3.326242)'), GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326238)'))) / (select extract(epoch from '2026-08-05 18:11:44'::timestamp) - extract(epoch from '2026-08-05 18:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033405 -3.326238)', '2026-08-05 18:11:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326238)'), GeomFromEWKT('SRID=4674;POINT (-39.033405 -3.326238)'))) / (select extract(epoch from '2026-08-05 18:11:46'::timestamp) - extract(epoch from '2026-08-05 18:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.326238)'), GeomFromEWKT('SRID=4674;POINT (-39.033405 -3.326238)'))) / (select extract(epoch from '2026-08-05 18:11:46'::timestamp) - extract(epoch from '2026-08-05 18: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'), 48130, 'SRID=4674;POINT (-39.033408 -3.326235)', '2026-08-05 18:11:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033405 -3.326238)'), GeomFromEWKT('SRID=4674;POINT (-39.033408 -3.326235)'))) / (select extract(epoch from '2026-08-05 18:11:48'::timestamp) - extract(epoch from '2026-08-05 18:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033405 -3.326238)'), GeomFromEWKT('SRID=4674;POINT (-39.033408 -3.326235)'))) / (select extract(epoch from '2026-08-05 18:11:48'::timestamp) - extract(epoch from '2026-08-05 18:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48130, 'SRID=4674;POINT (-39.033409 -3.326235)', '2026-08-05 18:11:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033408 -3.326235)'), GeomFromEWKT('SRID=4674;POINT (-39.033409 -3.326235)'))) / (select extract(epoch from '2026-08-05 18:11:54'::timestamp) - extract(epoch from '2026-08-05 18:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033408 -3.326235)'), GeomFromEWKT('SRID=4674;POINT (-39.033409 -3.326235)'))) / (select extract(epoch from '2026-08-05 18:11:54'::timestamp) - extract(epoch from '2026-08-05 18:11: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'), 48130, 'SRID=4674;POINT (-39.033412 -3.326236)', '2026-08-05 18:11:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033409 -3.326235)'), GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.326236)'))) / (select extract(epoch from '2026-08-05 18:11:55'::timestamp) - extract(epoch from '2026-08-05 18:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033409 -3.326235)'), GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.326236)'))) / (select extract(epoch from '2026-08-05 18:11:55'::timestamp) - extract(epoch from '2026-08-05 18:11: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'), 48130, 'SRID=4674;POINT (-39.033414 -3.326235)', '2026-08-05 18:11:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.326236)'), GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326235)'))) / (select extract(epoch from '2026-08-05 18:11:58'::timestamp) - extract(epoch from '2026-08-05 18:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033412 -3.326236)'), GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326235)'))) / (select extract(epoch from '2026-08-05 18:11:58'::timestamp) - extract(epoch from '2026-08-05 18:11: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'), 48130, 'SRID=4674;POINT (-39.033419 -3.326238)', '2026-08-05 18:12:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326235)'), GeomFromEWKT('SRID=4674;POINT (-39.033419 -3.326238)'))) / (select extract(epoch from '2026-08-05 18:12:06'::timestamp) - extract(epoch from '2026-08-05 18:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033414 -3.326235)'), GeomFromEWKT('SRID=4674;POINT (-39.033419 -3.326238)'))) / (select extract(epoch from '2026-08-05 18:12:06'::timestamp) - extract(epoch from '2026-08-05 18:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
