 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138124 -3.123337)', '2026-07-10 15:17:29', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:17:29'::timestamp) - extract(epoch from '2026-07-10 15:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:17:29'::timestamp) - extract(epoch from '2026-07-10 15:17: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'), 47521, 'SRID=4674;POINT (-39.138132 -3.123342)', '2026-07-10 15:17:38', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:17:38'::timestamp) - extract(epoch from '2026-07-10 15:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:17:38'::timestamp) - extract(epoch from '2026-07-10 15:17: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'), 47521, 'SRID=4674;POINT (-39.138144 -3.123343)', '2026-07-10 15:17:48', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:17:48'::timestamp) - extract(epoch from '2026-07-10 15:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:17:48'::timestamp) - extract(epoch from '2026-07-10 15:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138158 -3.123343)', '2026-07-10 15:17:56', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:17:56'::timestamp) - extract(epoch from '2026-07-10 15:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:17:56'::timestamp) - extract(epoch from '2026-07-10 15:17: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'), 47521, 'SRID=4674;POINT (-39.138155 -3.12335)', '2026-07-10 15:18:03', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.12335)'))) / (select extract(epoch from '2026-07-10 15:18:03'::timestamp) - extract(epoch from '2026-07-10 15:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.12335)'))) / (select extract(epoch from '2026-07-10 15:18:03'::timestamp) - extract(epoch from '2026-07-10 15:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138146 -3.123343)', '2026-07-10 15:18:16', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:18:16'::timestamp) - extract(epoch from '2026-07-10 15:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:18:16'::timestamp) - extract(epoch from '2026-07-10 15:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138134 -3.12334)', '2026-07-10 15:18:24', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:18:24'::timestamp) - extract(epoch from '2026-07-10 15:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:18:24'::timestamp) - extract(epoch from '2026-07-10 15:18: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.123344)', '2026-07-10 15:18:33', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:18:33'::timestamp) - extract(epoch from '2026-07-10 15:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:18:33'::timestamp) - extract(epoch from '2026-07-10 15:18: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'), 47521, 'SRID=4674;POINT (-39.138144 -3.123338)', '2026-07-10 15:18:38', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123338)'))) / (select extract(epoch from '2026-07-10 15:18:38'::timestamp) - extract(epoch from '2026-07-10 15:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123338)'))) / (select extract(epoch from '2026-07-10 15:18:38'::timestamp) - extract(epoch from '2026-07-10 15:18: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'), 47521, 'SRID=4674;POINT (-39.138146 -3.123326)', '2026-07-10 15:18:47', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123326)'))) / (select extract(epoch from '2026-07-10 15:18:47'::timestamp) - extract(epoch from '2026-07-10 15:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123326)'))) / (select extract(epoch from '2026-07-10 15:18:47'::timestamp) - extract(epoch from '2026-07-10 15:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13814 -3.123329)', '2026-07-10 15:18:53', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:18:53'::timestamp) - extract(epoch from '2026-07-10 15:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:18:53'::timestamp) - extract(epoch from '2026-07-10 15:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138147 -3.123329)', '2026-07-10 15:18:58', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:18:58'::timestamp) - extract(epoch from '2026-07-10 15:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:18:58'::timestamp) - extract(epoch from '2026-07-10 15:18: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'), 47521, 'SRID=4674;POINT (-39.138137 -3.123331)', '2026-07-10 15:19:05', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:19:05'::timestamp) - extract(epoch from '2026-07-10 15:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:19:05'::timestamp) - extract(epoch from '2026-07-10 15:18: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'), 47521, 'SRID=4674;POINT (-39.138138 -3.12333)', '2026-07-10 15:19:14', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12333)'))) / (select extract(epoch from '2026-07-10 15:19:14'::timestamp) - extract(epoch from '2026-07-10 15:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12333)'))) / (select extract(epoch from '2026-07-10 15:19:14'::timestamp) - extract(epoch from '2026-07-10 15:19: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'), 47521, 'SRID=4674;POINT (-39.138135 -3.123326)', '2026-07-10 15:19:20', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123326)'))) / (select extract(epoch from '2026-07-10 15:19:20'::timestamp) - extract(epoch from '2026-07-10 15:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123326)'))) / (select extract(epoch from '2026-07-10 15:19:20'::timestamp) - extract(epoch from '2026-07-10 15:19: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123327)', '2026-07-10 15:19:26', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123327)'))) / (select extract(epoch from '2026-07-10 15:19:26'::timestamp) - extract(epoch from '2026-07-10 15:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123327)'))) / (select extract(epoch from '2026-07-10 15:19:26'::timestamp) - extract(epoch from '2026-07-10 15:19: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'), 47521, 'SRID=4674;POINT (-39.138128 -3.123327)', '2026-07-10 15:19:32', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123327)'))) / (select extract(epoch from '2026-07-10 15:19:32'::timestamp) - extract(epoch from '2026-07-10 15:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123327)'))) / (select extract(epoch from '2026-07-10 15:19:32'::timestamp) - extract(epoch from '2026-07-10 15:19: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'), 47521, 'SRID=4674;POINT (-39.138123 -3.123324)', '2026-07-10 15:19:33', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123324)'))) / (select extract(epoch from '2026-07-10 15:19:33'::timestamp) - extract(epoch from '2026-07-10 15:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123324)'))) / (select extract(epoch from '2026-07-10 15:19:33'::timestamp) - extract(epoch from '2026-07-10 15:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138124 -3.123323)', '2026-07-10 15:19:39', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123323)'))) / (select extract(epoch from '2026-07-10 15:19:39'::timestamp) - extract(epoch from '2026-07-10 15:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123323)'))) / (select extract(epoch from '2026-07-10 15:19:39'::timestamp) - extract(epoch from '2026-07-10 15:19: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'), 47521, 'SRID=4674;POINT (-39.138128 -3.123319)', '2026-07-10 15:19:45', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123319)'))) / (select extract(epoch from '2026-07-10 15:19:45'::timestamp) - extract(epoch from '2026-07-10 15:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123319)'))) / (select extract(epoch from '2026-07-10 15:19:45'::timestamp) - extract(epoch from '2026-07-10 15:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138124 -3.12332)', '2026-07-10 15:19:50', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.12332)'))) / (select extract(epoch from '2026-07-10 15:19:50'::timestamp) - extract(epoch from '2026-07-10 15:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.12332)'))) / (select extract(epoch from '2026-07-10 15:19:50'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.13813 -3.123303)', '2026-07-10 15:19:56', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123303)'))) / (select extract(epoch from '2026-07-10 15:19:56'::timestamp) - extract(epoch from '2026-07-10 15:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123303)'))) / (select extract(epoch from '2026-07-10 15:19:56'::timestamp) - extract(epoch from '2026-07-10 15:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138135 -3.123303)', '2026-07-10 15:19:57', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123303)'))) / (select extract(epoch from '2026-07-10 15:19:57'::timestamp) - extract(epoch from '2026-07-10 15:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123303)'))) / (select extract(epoch from '2026-07-10 15:19:57'::timestamp) - extract(epoch from '2026-07-10 15:19: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'), 47521, 'SRID=4674;POINT (-39.138124 -3.123308)', '2026-07-10 15:20:00', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123308)'))) / (select extract(epoch from '2026-07-10 15:20:00'::timestamp) - extract(epoch from '2026-07-10 15:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123308)'))) / (select extract(epoch from '2026-07-10 15:20:00'::timestamp) - extract(epoch from '2026-07-10 15:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138122 -3.123308)', '2026-07-10 15:20:07', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123308)'))) / (select extract(epoch from '2026-07-10 15:20:07'::timestamp) - extract(epoch from '2026-07-10 15:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123308)'))) / (select extract(epoch from '2026-07-10 15:20:07'::timestamp) - extract(epoch from '2026-07-10 15:20: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'), 47521, 'SRID=4674;POINT (-39.138126 -3.123307)', '2026-07-10 15:20:15', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123307)'))) / (select extract(epoch from '2026-07-10 15:20:15'::timestamp) - extract(epoch from '2026-07-10 15:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123307)'))) / (select extract(epoch from '2026-07-10 15:20:15'::timestamp) - extract(epoch from '2026-07-10 15:20: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'), 47521, 'SRID=4674;POINT (-39.138133 -3.123304)', '2026-07-10 15:20:16', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123304)'))) / (select extract(epoch from '2026-07-10 15:20:16'::timestamp) - extract(epoch from '2026-07-10 15:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123304)'))) / (select extract(epoch from '2026-07-10 15:20:16'::timestamp) - extract(epoch from '2026-07-10 15:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138118 -3.123305)', '2026-07-10 15:20:21', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:20:21'::timestamp) - extract(epoch from '2026-07-10 15:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:20:21'::timestamp) - extract(epoch from '2026-07-10 15:20: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'), 47521, 'SRID=4674;POINT (-39.138125 -3.123309)', '2026-07-10 15:20:28', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123309)'))) / (select extract(epoch from '2026-07-10 15:20:28'::timestamp) - extract(epoch from '2026-07-10 15:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123309)'))) / (select extract(epoch from '2026-07-10 15:20:28'::timestamp) - extract(epoch from '2026-07-10 15:20: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'), 47521, 'SRID=4674;POINT (-39.138123 -3.123308)', '2026-07-10 15:20:33', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123308)'))) / (select extract(epoch from '2026-07-10 15:20:33'::timestamp) - extract(epoch from '2026-07-10 15:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123308)'))) / (select extract(epoch from '2026-07-10 15:20:33'::timestamp) - extract(epoch from '2026-07-10 15:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13812 -3.1233)', '2026-07-10 15:20:40', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:20:40'::timestamp) - extract(epoch from '2026-07-10 15:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:20:40'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138109 -3.123293)', '2026-07-10 15:20:52', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123293)'))) / (select extract(epoch from '2026-07-10 15:20:52'::timestamp) - extract(epoch from '2026-07-10 15:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123293)'))) / (select extract(epoch from '2026-07-10 15:20:52'::timestamp) - extract(epoch from '2026-07-10 15:20: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'), 47521, 'SRID=4674;POINT (-39.138097 -3.123287)', '2026-07-10 15:21:01', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:21:01'::timestamp) - extract(epoch from '2026-07-10 15:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:21:01'::timestamp) - extract(epoch from '2026-07-10 15:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138107 -3.123283)', '2026-07-10 15:21:03', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123283)'))) / (select extract(epoch from '2026-07-10 15:21:03'::timestamp) - extract(epoch from '2026-07-10 15:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123283)'))) / (select extract(epoch from '2026-07-10 15:21:03'::timestamp) - extract(epoch from '2026-07-10 15:21: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'), 47521, 'SRID=4674;POINT (-39.138104 -3.123281)', '2026-07-10 15:21:05', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123281)'))) / (select extract(epoch from '2026-07-10 15:21:05'::timestamp) - extract(epoch from '2026-07-10 15:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123281)'))) / (select extract(epoch from '2026-07-10 15:21:05'::timestamp) - extract(epoch from '2026-07-10 15:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138092 -3.123282)', '2026-07-10 15:21:11', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123281)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123282)'))) / (select extract(epoch from '2026-07-10 15:21:11'::timestamp) - extract(epoch from '2026-07-10 15:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123281)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123282)'))) / (select extract(epoch from '2026-07-10 15:21:11'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138093 -3.123282)', '2026-07-10 15:21:18', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123282)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123282)'))) / (select extract(epoch from '2026-07-10 15:21:18'::timestamp) - extract(epoch from '2026-07-10 15:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123282)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123282)'))) / (select extract(epoch from '2026-07-10 15:21:18'::timestamp) - extract(epoch from '2026-07-10 15:21: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'), 47521, 'SRID=4674;POINT (-39.138089 -3.123276)', '2026-07-10 15:21:24', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123282)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123276)'))) / (select extract(epoch from '2026-07-10 15:21:24'::timestamp) - extract(epoch from '2026-07-10 15:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123282)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123276)'))) / (select extract(epoch from '2026-07-10 15:21:24'::timestamp) - extract(epoch from '2026-07-10 15:21: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'), 47521, 'SRID=4674;POINT (-39.1381 -3.123283)', '2026-07-10 15:21:33', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123276)'), GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123283)'))) / (select extract(epoch from '2026-07-10 15:21:33'::timestamp) - extract(epoch from '2026-07-10 15:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123276)'), GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123283)'))) / (select extract(epoch from '2026-07-10 15:21:33'::timestamp) - extract(epoch from '2026-07-10 15:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138092 -3.123285)', '2026-07-10 15:21:43', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123285)'))) / (select extract(epoch from '2026-07-10 15:21:43'::timestamp) - extract(epoch from '2026-07-10 15:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123285)'))) / (select extract(epoch from '2026-07-10 15:21:43'::timestamp) - extract(epoch from '2026-07-10 15:21: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'), 47521, 'SRID=4674;POINT (-39.138089 -3.123286)', '2026-07-10 15:21:51', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123286)'))) / (select extract(epoch from '2026-07-10 15:21:51'::timestamp) - extract(epoch from '2026-07-10 15:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123286)'))) / (select extract(epoch from '2026-07-10 15:21:51'::timestamp) - extract(epoch from '2026-07-10 15:21: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'), 47521, 'SRID=4674;POINT (-39.138084 -3.123288)', '2026-07-10 15:22:01', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123288)'))) / (select extract(epoch from '2026-07-10 15:22:01'::timestamp) - extract(epoch from '2026-07-10 15:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123288)'))) / (select extract(epoch from '2026-07-10 15:22:01'::timestamp) - extract(epoch from '2026-07-10 15:21: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123288)', '2026-07-10 15:22:10', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123288)'))) / (select extract(epoch from '2026-07-10 15:22:10'::timestamp) - extract(epoch from '2026-07-10 15:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123288)'))) / (select extract(epoch from '2026-07-10 15:22:10'::timestamp) - extract(epoch from '2026-07-10 15:22: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123286)', '2026-07-10 15:22:22', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123286)'))) / (select extract(epoch from '2026-07-10 15:22:22'::timestamp) - extract(epoch from '2026-07-10 15:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123286)'))) / (select extract(epoch from '2026-07-10 15:22:22'::timestamp) - extract(epoch from '2026-07-10 15:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138079 -3.123292)', '2026-07-10 15:22:29', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123292)'))) / (select extract(epoch from '2026-07-10 15:22:29'::timestamp) - extract(epoch from '2026-07-10 15:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123292)'))) / (select extract(epoch from '2026-07-10 15:22:29'::timestamp) - extract(epoch from '2026-07-10 15:22: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123299)', '2026-07-10 15:22:43', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123292)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123299)'))) / (select extract(epoch from '2026-07-10 15:22:43'::timestamp) - extract(epoch from '2026-07-10 15:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123292)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123299)'))) / (select extract(epoch from '2026-07-10 15:22:43'::timestamp) - extract(epoch from '2026-07-10 15:22: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123295)', '2026-07-10 15:22:50', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123299)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123295)'))) / (select extract(epoch from '2026-07-10 15:22:50'::timestamp) - extract(epoch from '2026-07-10 15:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123299)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123295)'))) / (select extract(epoch from '2026-07-10 15:22:50'::timestamp) - extract(epoch from '2026-07-10 15:22: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'), 47521, 'SRID=4674;POINT (-39.138081 -3.123293)', '2026-07-10 15:22:58', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123293)'))) / (select extract(epoch from '2026-07-10 15:22:58'::timestamp) - extract(epoch from '2026-07-10 15:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123293)'))) / (select extract(epoch from '2026-07-10 15:22:58'::timestamp) - extract(epoch from '2026-07-10 15:22: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'), 47521, 'SRID=4674;POINT (-39.138072 -3.123293)', '2026-07-10 15:23:04', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123293)'))) / (select extract(epoch from '2026-07-10 15:23:04'::timestamp) - extract(epoch from '2026-07-10 15:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123293)'))) / (select extract(epoch from '2026-07-10 15:23:04'::timestamp) - extract(epoch from '2026-07-10 15:22:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138063 -3.123286)', '2026-07-10 15:23:15', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123286)'))) / (select extract(epoch from '2026-07-10 15:23:15'::timestamp) - extract(epoch from '2026-07-10 15:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123286)'))) / (select extract(epoch from '2026-07-10 15:23:15'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138059 -3.123277)', '2026-07-10 15:23:21', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123277)'))) / (select extract(epoch from '2026-07-10 15:23:21'::timestamp) - extract(epoch from '2026-07-10 15:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123277)'))) / (select extract(epoch from '2026-07-10 15:23:21'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138046 -3.123279)', '2026-07-10 15:23:31', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123277)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123279)'))) / (select extract(epoch from '2026-07-10 15:23:31'::timestamp) - extract(epoch from '2026-07-10 15:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123277)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123279)'))) / (select extract(epoch from '2026-07-10 15:23:31'::timestamp) - extract(epoch from '2026-07-10 15:23: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'), 47521, 'SRID=4674;POINT (-39.138046 -3.123284)', '2026-07-10 15:23:39', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123279)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123284)'))) / (select extract(epoch from '2026-07-10 15:23:39'::timestamp) - extract(epoch from '2026-07-10 15:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123279)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123284)'))) / (select extract(epoch from '2026-07-10 15:23:39'::timestamp) - extract(epoch from '2026-07-10 15:23: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'), 47521, 'SRID=4674;POINT (-39.138045 -3.123287)', '2026-07-10 15:23:46', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:23:46'::timestamp) - extract(epoch from '2026-07-10 15:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:23:46'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138045 -3.123284)', '2026-07-10 15:24:00', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123284)'))) / (select extract(epoch from '2026-07-10 15:24:00'::timestamp) - extract(epoch from '2026-07-10 15:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123284)'))) / (select extract(epoch from '2026-07-10 15:24:00'::timestamp) - extract(epoch from '2026-07-10 15:23: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'), 47521, 'SRID=4674;POINT (-39.138049 -3.123287)', '2026-07-10 15:24:09', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:24:09'::timestamp) - extract(epoch from '2026-07-10 15:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:24:09'::timestamp) - extract(epoch from '2026-07-10 15:24: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'), 47521, 'SRID=4674;POINT (-39.138046 -3.123291)', '2026-07-10 15:24:15', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:24:15'::timestamp) - extract(epoch from '2026-07-10 15:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:24:15'::timestamp) - extract(epoch from '2026-07-10 15:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138043 -3.123289)', '2026-07-10 15:24:25', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123289)'))) / (select extract(epoch from '2026-07-10 15:24:25'::timestamp) - extract(epoch from '2026-07-10 15:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123289)'))) / (select extract(epoch from '2026-07-10 15:24:25'::timestamp) - extract(epoch from '2026-07-10 15:24: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'), 47521, 'SRID=4674;POINT (-39.138041 -3.123291)', '2026-07-10 15:24:31', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:24:31'::timestamp) - extract(epoch from '2026-07-10 15:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:24:31'::timestamp) - extract(epoch from '2026-07-10 15:24: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'), 47521, 'SRID=4674;POINT (-39.138044 -3.123285)', '2026-07-10 15:24:40', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123285)'))) / (select extract(epoch from '2026-07-10 15:24:40'::timestamp) - extract(epoch from '2026-07-10 15:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123285)'))) / (select extract(epoch from '2026-07-10 15:24:40'::timestamp) - extract(epoch from '2026-07-10 15:24: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'), 47521, 'SRID=4674;POINT (-39.138033 -3.123287)', '2026-07-10 15:24:49', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138033 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:24:49'::timestamp) - extract(epoch from '2026-07-10 15:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138033 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:24:49'::timestamp) - extract(epoch from '2026-07-10 15:24: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'), 47521, 'SRID=4674;POINT (-39.138041 -3.123286)', '2026-07-10 15:24:57', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138033 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123286)'))) / (select extract(epoch from '2026-07-10 15:24:57'::timestamp) - extract(epoch from '2026-07-10 15:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138033 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123286)'))) / (select extract(epoch from '2026-07-10 15:24:57'::timestamp) - extract(epoch from '2026-07-10 15:24: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'), 47521, 'SRID=4674;POINT (-39.138038 -3.123287)', '2026-07-10 15:25:04', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:25:04'::timestamp) - extract(epoch from '2026-07-10 15:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:25:04'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138044 -3.123285)', '2026-07-10 15:25:13', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123285)'))) / (select extract(epoch from '2026-07-10 15:25:13'::timestamp) - extract(epoch from '2026-07-10 15:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123285)'))) / (select extract(epoch from '2026-07-10 15:25:13'::timestamp) - extract(epoch from '2026-07-10 15:25: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'), 47521, 'SRID=4674;POINT (-39.138056 -3.123288)', '2026-07-10 15:25:23', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123288)'))) / (select extract(epoch from '2026-07-10 15:25:23'::timestamp) - extract(epoch from '2026-07-10 15:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123288)'))) / (select extract(epoch from '2026-07-10 15:25:23'::timestamp) - extract(epoch from '2026-07-10 15:25: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'), 47521, 'SRID=4674;POINT (-39.138065 -3.123296)', '2026-07-10 15:25:28', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123296)'))) / (select extract(epoch from '2026-07-10 15:25:28'::timestamp) - extract(epoch from '2026-07-10 15:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123296)'))) / (select extract(epoch from '2026-07-10 15:25:28'::timestamp) - extract(epoch from '2026-07-10 15:25: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'), 47521, 'SRID=4674;POINT (-39.138061 -3.1233)', '2026-07-10 15:25:37', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:25:37'::timestamp) - extract(epoch from '2026-07-10 15:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:25:37'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138061 -3.123309)', '2026-07-10 15:25:47', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123309)'))) / (select extract(epoch from '2026-07-10 15:25:47'::timestamp) - extract(epoch from '2026-07-10 15:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123309)'))) / (select extract(epoch from '2026-07-10 15:25:47'::timestamp) - extract(epoch from '2026-07-10 15:25: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'), 47521, 'SRID=4674;POINT (-39.138061 -3.123311)', '2026-07-10 15:25:56', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123311)'))) / (select extract(epoch from '2026-07-10 15:25:56'::timestamp) - extract(epoch from '2026-07-10 15:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123311)'))) / (select extract(epoch from '2026-07-10 15:25:56'::timestamp) - extract(epoch from '2026-07-10 15:25:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138056 -3.123319)', '2026-07-10 15:26:01', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123319)'))) / (select extract(epoch from '2026-07-10 15:26:01'::timestamp) - extract(epoch from '2026-07-10 15:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123319)'))) / (select extract(epoch from '2026-07-10 15:26:01'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138065 -3.12331)', '2026-07-10 15:26:12', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.12331)'))) / (select extract(epoch from '2026-07-10 15:26:12'::timestamp) - extract(epoch from '2026-07-10 15:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.12331)'))) / (select extract(epoch from '2026-07-10 15:26:12'::timestamp) - extract(epoch from '2026-07-10 15:26: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'), 47521, 'SRID=4674;POINT (-39.138058 -3.123308)', '2026-07-10 15:26:21', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123308)'))) / (select extract(epoch from '2026-07-10 15:26:21'::timestamp) - extract(epoch from '2026-07-10 15:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123308)'))) / (select extract(epoch from '2026-07-10 15:26:21'::timestamp) - extract(epoch from '2026-07-10 15:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138051 -3.123305)', '2026-07-10 15:26:30', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:26:30'::timestamp) - extract(epoch from '2026-07-10 15:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:26:30'::timestamp) - extract(epoch from '2026-07-10 15:26: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'), 47521, 'SRID=4674;POINT (-39.138057 -3.123305)', '2026-07-10 15:26:39', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:26:39'::timestamp) - extract(epoch from '2026-07-10 15:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:26:39'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.123294)', '2026-07-10 15:26:46', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123294)'))) / (select extract(epoch from '2026-07-10 15:26:46'::timestamp) - extract(epoch from '2026-07-10 15:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123294)'))) / (select extract(epoch from '2026-07-10 15:26:46'::timestamp) - extract(epoch from '2026-07-10 15:26: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'), 47521, 'SRID=4674;POINT (-39.138053 -3.123296)', '2026-07-10 15:26:59', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123296)'))) / (select extract(epoch from '2026-07-10 15:26:59'::timestamp) - extract(epoch from '2026-07-10 15:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123296)'))) / (select extract(epoch from '2026-07-10 15:26:59'::timestamp) - extract(epoch from '2026-07-10 15:26:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138072 -3.123291)', '2026-07-10 15:27:08', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:27:08'::timestamp) - extract(epoch from '2026-07-10 15:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:27:08'::timestamp) - extract(epoch from '2026-07-10 15:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138068 -3.123291)', '2026-07-10 15:27:19', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:27:19'::timestamp) - extract(epoch from '2026-07-10 15:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:27:19'::timestamp) - extract(epoch from '2026-07-10 15:27: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'), 47521, 'SRID=4674;POINT (-39.138074 -3.123299)', '2026-07-10 15:27:27', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123299)'))) / (select extract(epoch from '2026-07-10 15:27:27'::timestamp) - extract(epoch from '2026-07-10 15:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123299)'))) / (select extract(epoch from '2026-07-10 15:27:27'::timestamp) - extract(epoch from '2026-07-10 15:27: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'), 47521, 'SRID=4674;POINT (-39.138076 -3.123303)', '2026-07-10 15:27:36', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123299)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123303)'))) / (select extract(epoch from '2026-07-10 15:27:36'::timestamp) - extract(epoch from '2026-07-10 15:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123299)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123303)'))) / (select extract(epoch from '2026-07-10 15:27:36'::timestamp) - extract(epoch from '2026-07-10 15:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138073 -3.123304)', '2026-07-10 15:27:47', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123304)'))) / (select extract(epoch from '2026-07-10 15:27:47'::timestamp) - extract(epoch from '2026-07-10 15:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123304)'))) / (select extract(epoch from '2026-07-10 15:27:47'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138077 -3.123305)', '2026-07-10 15:28:00', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:28:00'::timestamp) - extract(epoch from '2026-07-10 15:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:28:00'::timestamp) - extract(epoch from '2026-07-10 15:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138072 -3.123309)', '2026-07-10 15:28:08', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123309)'))) / (select extract(epoch from '2026-07-10 15:28:08'::timestamp) - extract(epoch from '2026-07-10 15:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123309)'))) / (select extract(epoch from '2026-07-10 15:28:08'::timestamp) - extract(epoch from '2026-07-10 15:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138084 -3.12331)', '2026-07-10 15:28:18', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12331)'))) / (select extract(epoch from '2026-07-10 15:28:18'::timestamp) - extract(epoch from '2026-07-10 15:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12331)'))) / (select extract(epoch from '2026-07-10 15:28:18'::timestamp) - extract(epoch from '2026-07-10 15:28: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'), 47521, 'SRID=4674;POINT (-39.138089 -3.123312)', '2026-07-10 15:28:26', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123312)'))) / (select extract(epoch from '2026-07-10 15:28:26'::timestamp) - extract(epoch from '2026-07-10 15:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123312)'))) / (select extract(epoch from '2026-07-10 15:28:26'::timestamp) - extract(epoch from '2026-07-10 15:28:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138085 -3.123308)', '2026-07-10 15:28:28', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123308)'))) / (select extract(epoch from '2026-07-10 15:28:28'::timestamp) - extract(epoch from '2026-07-10 15:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123308)'))) / (select extract(epoch from '2026-07-10 15:28:28'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123312)', '2026-07-10 15:28:37', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123312)'))) / (select extract(epoch from '2026-07-10 15:28:37'::timestamp) - extract(epoch from '2026-07-10 15:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123312)'))) / (select extract(epoch from '2026-07-10 15:28:37'::timestamp) - extract(epoch from '2026-07-10 15:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138074 -3.123318)', '2026-07-10 15:28:46', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123318)'))) / (select extract(epoch from '2026-07-10 15:28:46'::timestamp) - extract(epoch from '2026-07-10 15:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123318)'))) / (select extract(epoch from '2026-07-10 15:28:46'::timestamp) - extract(epoch from '2026-07-10 15:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138087 -3.123324)', '2026-07-10 15:28:55', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123324)'))) / (select extract(epoch from '2026-07-10 15:28:55'::timestamp) - extract(epoch from '2026-07-10 15:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123324)'))) / (select extract(epoch from '2026-07-10 15:28:55'::timestamp) - extract(epoch from '2026-07-10 15:28: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123341)', '2026-07-10 15:29:01', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:29:01'::timestamp) - extract(epoch from '2026-07-10 15:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:29:01'::timestamp) - extract(epoch from '2026-07-10 15:28: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123339)', '2026-07-10 15:29:10', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:29:10'::timestamp) - extract(epoch from '2026-07-10 15:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:29:10'::timestamp) - extract(epoch from '2026-07-10 15:29: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123337)', '2026-07-10 15:29:20', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:29:20'::timestamp) - extract(epoch from '2026-07-10 15:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:29:20'::timestamp) - extract(epoch from '2026-07-10 15:29: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'), 47521, 'SRID=4674;POINT (-39.138081 -3.123332)', '2026-07-10 15:29:29', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:29:29'::timestamp) - extract(epoch from '2026-07-10 15:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:29:29'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138077 -3.123333)', '2026-07-10 15:29:36', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123333)'))) / (select extract(epoch from '2026-07-10 15:29:36'::timestamp) - extract(epoch from '2026-07-10 15:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123333)'))) / (select extract(epoch from '2026-07-10 15:29:36'::timestamp) - extract(epoch from '2026-07-10 15:29: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'), 47521, 'SRID=4674;POINT (-39.138071 -3.123335)', '2026-07-10 15:29:47', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:29:47'::timestamp) - extract(epoch from '2026-07-10 15:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:29:47'::timestamp) - extract(epoch from '2026-07-10 15:29: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'), 47521, 'SRID=4674;POINT (-39.138074 -3.123336)', '2026-07-10 15:29:56', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:29:56'::timestamp) - extract(epoch from '2026-07-10 15:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:29:56'::timestamp) - extract(epoch from '2026-07-10 15:29: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123334)', '2026-07-10 15:30:06', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:30:06'::timestamp) - extract(epoch from '2026-07-10 15:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:30:06'::timestamp) - extract(epoch from '2026-07-10 15:29: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.12333)', '2026-07-10 15:30:16', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12333)'))) / (select extract(epoch from '2026-07-10 15:30:16'::timestamp) - extract(epoch from '2026-07-10 15:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12333)'))) / (select extract(epoch from '2026-07-10 15:30:16'::timestamp) - extract(epoch from '2026-07-10 15:30: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123332)', '2026-07-10 15:30:23', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:30:23'::timestamp) - extract(epoch from '2026-07-10 15:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:30:23'::timestamp) - extract(epoch from '2026-07-10 15:30: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123328)', '2026-07-10 15:30:32', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123328)'))) / (select extract(epoch from '2026-07-10 15:30:32'::timestamp) - extract(epoch from '2026-07-10 15:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123328)'))) / (select extract(epoch from '2026-07-10 15:30:32'::timestamp) - extract(epoch from '2026-07-10 15:30: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123324)', '2026-07-10 15:30:39', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123324)'))) / (select extract(epoch from '2026-07-10 15:30:39'::timestamp) - extract(epoch from '2026-07-10 15:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123324)'))) / (select extract(epoch from '2026-07-10 15:30:39'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138077 -3.12332)', '2026-07-10 15:30:48', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.12332)'))) / (select extract(epoch from '2026-07-10 15:30:48'::timestamp) - extract(epoch from '2026-07-10 15:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.12332)'))) / (select extract(epoch from '2026-07-10 15:30:48'::timestamp) - extract(epoch from '2026-07-10 15:30: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'), 47521, 'SRID=4674;POINT (-39.13807 -3.123333)', '2026-07-10 15:31:03', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123333)'))) / (select extract(epoch from '2026-07-10 15:31:03'::timestamp) - extract(epoch from '2026-07-10 15:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123333)'))) / (select extract(epoch from '2026-07-10 15:31:03'::timestamp) - extract(epoch from '2026-07-10 15:30:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138072 -3.123328)', '2026-07-10 15:31:17', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123328)'))) / (select extract(epoch from '2026-07-10 15:31:17'::timestamp) - extract(epoch from '2026-07-10 15:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123328)'))) / (select extract(epoch from '2026-07-10 15:31:17'::timestamp) - extract(epoch from '2026-07-10 15:31: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123331)', '2026-07-10 15:31:22', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:31:22'::timestamp) - extract(epoch from '2026-07-10 15:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:31:22'::timestamp) - extract(epoch from '2026-07-10 15:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138077 -3.123311)', '2026-07-10 15:31:39', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123311)'))) / (select extract(epoch from '2026-07-10 15:31:39'::timestamp) - extract(epoch from '2026-07-10 15:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123311)'))) / (select extract(epoch from '2026-07-10 15:31:39'::timestamp) - extract(epoch from '2026-07-10 15:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138076 -3.123311)', '2026-07-10 15:31:47', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123311)'))) / (select extract(epoch from '2026-07-10 15:31:47'::timestamp) - extract(epoch from '2026-07-10 15:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123311)'))) / (select extract(epoch from '2026-07-10 15:31:47'::timestamp) - extract(epoch from '2026-07-10 15:31: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'), 47521, 'SRID=4674;POINT (-39.138058 -3.123304)', '2026-07-10 15:32:01', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123304)'))) / (select extract(epoch from '2026-07-10 15:32:01'::timestamp) - extract(epoch from '2026-07-10 15:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123304)'))) / (select extract(epoch from '2026-07-10 15:32:01'::timestamp) - extract(epoch from '2026-07-10 15:31: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'), 47521, 'SRID=4674;POINT (-39.138063 -3.1233)', '2026-07-10 15:32:11', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:32:11'::timestamp) - extract(epoch from '2026-07-10 15:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:32:11'::timestamp) - extract(epoch from '2026-07-10 15:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138064 -3.123305)', '2026-07-10 15:32:20', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:32:20'::timestamp) - extract(epoch from '2026-07-10 15:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:32:20'::timestamp) - extract(epoch from '2026-07-10 15:32: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'), 47521, 'SRID=4674;POINT (-39.138062 -3.123305)', '2026-07-10 15:32:29', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:32:29'::timestamp) - extract(epoch from '2026-07-10 15:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:32:29'::timestamp) - extract(epoch from '2026-07-10 15:32: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'), 47521, 'SRID=4674;POINT (-39.138061 -3.123304)', '2026-07-10 15:32:39', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123304)'))) / (select extract(epoch from '2026-07-10 15:32:39'::timestamp) - extract(epoch from '2026-07-10 15:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123304)'))) / (select extract(epoch from '2026-07-10 15:32:39'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138061 -3.123305)', '2026-07-10 15:32:50', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:32:50'::timestamp) - extract(epoch from '2026-07-10 15:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123305)'))) / (select extract(epoch from '2026-07-10 15:32:50'::timestamp) - extract(epoch from '2026-07-10 15:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138062 -3.123304)', '2026-07-10 15:32:58', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123304)'))) / (select extract(epoch from '2026-07-10 15:32:58'::timestamp) - extract(epoch from '2026-07-10 15:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123304)'))) / (select extract(epoch from '2026-07-10 15:32:58'::timestamp) - extract(epoch from '2026-07-10 15:32: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'), 47521, 'SRID=4674;POINT (-39.138069 -3.123309)', '2026-07-10 15:33:06', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123309)'))) / (select extract(epoch from '2026-07-10 15:33:06'::timestamp) - extract(epoch from '2026-07-10 15:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123309)'))) / (select extract(epoch from '2026-07-10 15:33:06'::timestamp) - extract(epoch from '2026-07-10 15:32: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'), 47521, 'SRID=4674;POINT (-39.138066 -3.123307)', '2026-07-10 15:33:22', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123307)'))) / (select extract(epoch from '2026-07-10 15:33:22'::timestamp) - extract(epoch from '2026-07-10 15:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123307)'))) / (select extract(epoch from '2026-07-10 15:33:22'::timestamp) - extract(epoch from '2026-07-10 15:33: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'), 47521, 'SRID=4674;POINT (-39.138061 -3.1233)', '2026-07-10 15:33:31', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:33:31'::timestamp) - extract(epoch from '2026-07-10 15:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:33:31'::timestamp) - extract(epoch from '2026-07-10 15:33: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'), 47521, 'SRID=4674;POINT (-39.138061 -3.1233)', '2026-07-10 15:33:38', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:33:38'::timestamp) - extract(epoch from '2026-07-10 15:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:33:38'::timestamp) - extract(epoch from '2026-07-10 15:33: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.12331)', '2026-07-10 15:33:44', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.12331)'))) / (select extract(epoch from '2026-07-10 15:33:44'::timestamp) - extract(epoch from '2026-07-10 15:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.12331)'))) / (select extract(epoch from '2026-07-10 15:33:44'::timestamp) - extract(epoch from '2026-07-10 15:33: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'), 47521, 'SRID=4674;POINT (-39.138058 -3.12331)', '2026-07-10 15:33:51', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12331)'))) / (select extract(epoch from '2026-07-10 15:33:51'::timestamp) - extract(epoch from '2026-07-10 15:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12331)'))) / (select extract(epoch from '2026-07-10 15:33:51'::timestamp) - extract(epoch from '2026-07-10 15:33: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'), 47521, 'SRID=4674;POINT (-39.138063 -3.123302)', '2026-07-10 15:33:56', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123302)'))) / (select extract(epoch from '2026-07-10 15:33:56'::timestamp) - extract(epoch from '2026-07-10 15:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123302)'))) / (select extract(epoch from '2026-07-10 15:33:56'::timestamp) - extract(epoch from '2026-07-10 15:33: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'), 47521, 'SRID=4674;POINT (-39.138072 -3.12329)', '2026-07-10 15:34:04', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12329)'))) / (select extract(epoch from '2026-07-10 15:34:04'::timestamp) - extract(epoch from '2026-07-10 15:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12329)'))) / (select extract(epoch from '2026-07-10 15:34:04'::timestamp) - extract(epoch from '2026-07-10 15:33: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'), 47521, 'SRID=4674;POINT (-39.138058 -3.123286)', '2026-07-10 15:34:09', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12329)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123286)'))) / (select extract(epoch from '2026-07-10 15:34:09'::timestamp) - extract(epoch from '2026-07-10 15:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12329)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123286)'))) / (select extract(epoch from '2026-07-10 15:34:09'::timestamp) - extract(epoch from '2026-07-10 15:34: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'), 47521, 'SRID=4674;POINT (-39.13807 -3.123284)', '2026-07-10 15:34:17', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123284)'))) / (select extract(epoch from '2026-07-10 15:34:17'::timestamp) - extract(epoch from '2026-07-10 15:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123284)'))) / (select extract(epoch from '2026-07-10 15:34:17'::timestamp) - extract(epoch from '2026-07-10 15:34: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'), 47521, 'SRID=4674;POINT (-39.138065 -3.123281)', '2026-07-10 15:34:25', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123281)'))) / (select extract(epoch from '2026-07-10 15:34:25'::timestamp) - extract(epoch from '2026-07-10 15:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123281)'))) / (select extract(epoch from '2026-07-10 15:34:25'::timestamp) - extract(epoch from '2026-07-10 15:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138067 -3.123287)', '2026-07-10 15:34:34', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123281)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:34:34'::timestamp) - extract(epoch from '2026-07-10 15:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123281)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:34:34'::timestamp) - extract(epoch from '2026-07-10 15:34: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'), 47521, 'SRID=4674;POINT (-39.13807 -3.123289)', '2026-07-10 15:34:42', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123289)'))) / (select extract(epoch from '2026-07-10 15:34:42'::timestamp) - extract(epoch from '2026-07-10 15:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123289)'))) / (select extract(epoch from '2026-07-10 15:34:42'::timestamp) - extract(epoch from '2026-07-10 15:34: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'), 47521, 'SRID=4674;POINT (-39.138076 -3.123291)', '2026-07-10 15:34:48', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:34:48'::timestamp) - extract(epoch from '2026-07-10 15:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:34:48'::timestamp) - extract(epoch from '2026-07-10 15:34: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'), 47521, 'SRID=4674;POINT (-39.138058 -3.123293)', '2026-07-10 15:34:55', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123293)'))) / (select extract(epoch from '2026-07-10 15:34:55'::timestamp) - extract(epoch from '2026-07-10 15:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123293)'))) / (select extract(epoch from '2026-07-10 15:34:55'::timestamp) - extract(epoch from '2026-07-10 15:34: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'), 47521, 'SRID=4674;POINT (-39.138059 -3.123287)', '2026-07-10 15:35:04', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:35:04'::timestamp) - extract(epoch from '2026-07-10 15:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:35:04'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138074 -3.123274)', '2026-07-10 15:35:11', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123274)'))) / (select extract(epoch from '2026-07-10 15:35:11'::timestamp) - extract(epoch from '2026-07-10 15:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123274)'))) / (select extract(epoch from '2026-07-10 15:35:11'::timestamp) - extract(epoch from '2026-07-10 15:35: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'), 47521, 'SRID=4674;POINT (-39.138074 -3.12328)', '2026-07-10 15:35:21', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123274)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.12328)'))) / (select extract(epoch from '2026-07-10 15:35:21'::timestamp) - extract(epoch from '2026-07-10 15:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123274)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.12328)'))) / (select extract(epoch from '2026-07-10 15:35:21'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123268)', '2026-07-10 15:35:34', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123268)'))) / (select extract(epoch from '2026-07-10 15:35:34'::timestamp) - extract(epoch from '2026-07-10 15:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123268)'))) / (select extract(epoch from '2026-07-10 15:35:34'::timestamp) - extract(epoch from '2026-07-10 15:35: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'), 47521, 'SRID=4674;POINT (-39.138083 -3.123275)', '2026-07-10 15:35:41', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123275)'))) / (select extract(epoch from '2026-07-10 15:35:41'::timestamp) - extract(epoch from '2026-07-10 15:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123275)'))) / (select extract(epoch from '2026-07-10 15:35:41'::timestamp) - extract(epoch from '2026-07-10 15:35: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'), 47521, 'SRID=4674;POINT (-39.138072 -3.12328)', '2026-07-10 15:35:48', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123275)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12328)'))) / (select extract(epoch from '2026-07-10 15:35:48'::timestamp) - extract(epoch from '2026-07-10 15:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123275)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12328)'))) / (select extract(epoch from '2026-07-10 15:35:48'::timestamp) - extract(epoch from '2026-07-10 15:35: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'), 47521, 'SRID=4674;POINT (-39.13807 -3.123293)', '2026-07-10 15:35:57', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123293)'))) / (select extract(epoch from '2026-07-10 15:35:57'::timestamp) - extract(epoch from '2026-07-10 15:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123293)'))) / (select extract(epoch from '2026-07-10 15:35:57'::timestamp) - extract(epoch from '2026-07-10 15:35: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'), 47521, 'SRID=4674;POINT (-39.138061 -3.123295)', '2026-07-10 15:36:04', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123295)'))) / (select extract(epoch from '2026-07-10 15:36:04'::timestamp) - extract(epoch from '2026-07-10 15:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123295)'))) / (select extract(epoch from '2026-07-10 15:36:04'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138051 -3.123289)', '2026-07-10 15:36:11', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123289)'))) / (select extract(epoch from '2026-07-10 15:36:11'::timestamp) - extract(epoch from '2026-07-10 15:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123289)'))) / (select extract(epoch from '2026-07-10 15:36:11'::timestamp) - extract(epoch from '2026-07-10 15:36: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'), 47521, 'SRID=4674;POINT (-39.138062 -3.123283)', '2026-07-10 15:36:22', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123283)'))) / (select extract(epoch from '2026-07-10 15:36:22'::timestamp) - extract(epoch from '2026-07-10 15:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123283)'))) / (select extract(epoch from '2026-07-10 15:36:22'::timestamp) - extract(epoch from '2026-07-10 15:36: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'), 47521, 'SRID=4674;POINT (-39.138062 -3.123287)', '2026-07-10 15:36:29', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:36:29'::timestamp) - extract(epoch from '2026-07-10 15:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:36:29'::timestamp) - extract(epoch from '2026-07-10 15:36: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'), 47521, 'SRID=4674;POINT (-39.138072 -3.123294)', '2026-07-10 15:36:36', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123294)'))) / (select extract(epoch from '2026-07-10 15:36:36'::timestamp) - extract(epoch from '2026-07-10 15:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123294)'))) / (select extract(epoch from '2026-07-10 15:36:36'::timestamp) - extract(epoch from '2026-07-10 15:36: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123292)', '2026-07-10 15:36:43', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123292)'))) / (select extract(epoch from '2026-07-10 15:36:43'::timestamp) - extract(epoch from '2026-07-10 15:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123292)'))) / (select extract(epoch from '2026-07-10 15:36:43'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138068 -3.123297)', '2026-07-10 15:36:49', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123292)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123297)'))) / (select extract(epoch from '2026-07-10 15:36:49'::timestamp) - extract(epoch from '2026-07-10 15:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123292)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123297)'))) / (select extract(epoch from '2026-07-10 15:36:49'::timestamp) - extract(epoch from '2026-07-10 15:36: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'), 47521, 'SRID=4674;POINT (-39.138078 -3.123291)', '2026-07-10 15:36:50', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:36:50'::timestamp) - extract(epoch from '2026-07-10 15:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123291)'))) / (select extract(epoch from '2026-07-10 15:36:50'::timestamp) - extract(epoch from '2026-07-10 15:36: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123294)', '2026-07-10 15:36:54', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123294)'))) / (select extract(epoch from '2026-07-10 15:36:54'::timestamp) - extract(epoch from '2026-07-10 15:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123294)'))) / (select extract(epoch from '2026-07-10 15:36:54'::timestamp) - extract(epoch from '2026-07-10 15:36: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123294)', '2026-07-10 15:37:01', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123294)'))) / (select extract(epoch from '2026-07-10 15:37:01'::timestamp) - extract(epoch from '2026-07-10 15:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123294)'))) / (select extract(epoch from '2026-07-10 15:37:01'::timestamp) - extract(epoch from '2026-07-10 15:36: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'), 47521, 'SRID=4674;POINT (-39.13808 -3.1233)', '2026-07-10 15:37:10', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:37:10'::timestamp) - extract(epoch from '2026-07-10 15:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:37:10'::timestamp) - extract(epoch from '2026-07-10 15:37: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'), 47521, 'SRID=4674;POINT (-39.138078 -3.123298)', '2026-07-10 15:37:20', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123298)'))) / (select extract(epoch from '2026-07-10 15:37:20'::timestamp) - extract(epoch from '2026-07-10 15:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123298)'))) / (select extract(epoch from '2026-07-10 15:37:20'::timestamp) - extract(epoch from '2026-07-10 15:37: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'), 47521, 'SRID=4674;POINT (-39.138069 -3.1233)', '2026-07-10 15:37:27', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123298)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:37:27'::timestamp) - extract(epoch from '2026-07-10 15:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123298)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.1233)'))) / (select extract(epoch from '2026-07-10 15:37:27'::timestamp) - extract(epoch from '2026-07-10 15:37: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'), 47521, 'SRID=4674;POINT (-39.138065 -3.123295)', '2026-07-10 15:37:34', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123295)'))) / (select extract(epoch from '2026-07-10 15:37:34'::timestamp) - extract(epoch from '2026-07-10 15:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123295)'))) / (select extract(epoch from '2026-07-10 15:37:34'::timestamp) - extract(epoch from '2026-07-10 15:37: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.123282)', '2026-07-10 15:37:45', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123282)'))) / (select extract(epoch from '2026-07-10 15:37:45'::timestamp) - extract(epoch from '2026-07-10 15:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123282)'))) / (select extract(epoch from '2026-07-10 15:37:45'::timestamp) - extract(epoch from '2026-07-10 15:37: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'), 47521, 'SRID=4674;POINT (-39.138054 -3.123285)', '2026-07-10 15:37:55', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123282)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123285)'))) / (select extract(epoch from '2026-07-10 15:37:55'::timestamp) - extract(epoch from '2026-07-10 15:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123282)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123285)'))) / (select extract(epoch from '2026-07-10 15:37:55'::timestamp) - extract(epoch from '2026-07-10 15:37: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'), 47521, 'SRID=4674;POINT (-39.138056 -3.123287)', '2026-07-10 15:38:04', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:38:04'::timestamp) - extract(epoch from '2026-07-10 15:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:38:04'::timestamp) - extract(epoch from '2026-07-10 15:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138058 -3.123288)', '2026-07-10 15:38:16', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123288)'))) / (select extract(epoch from '2026-07-10 15:38:16'::timestamp) - extract(epoch from '2026-07-10 15:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123288)'))) / (select extract(epoch from '2026-07-10 15:38:16'::timestamp) - extract(epoch from '2026-07-10 15:38: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'), 47521, 'SRID=4674;POINT (-39.138057 -3.123287)', '2026-07-10 15:38:26', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:38:26'::timestamp) - extract(epoch from '2026-07-10 15:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123287)'))) / (select extract(epoch from '2026-07-10 15:38:26'::timestamp) - extract(epoch from '2026-07-10 15:38: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'), 47521, 'SRID=4674;POINT (-39.13806 -3.123284)', '2026-07-10 15:38:34', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123284)'))) / (select extract(epoch from '2026-07-10 15:38:34'::timestamp) - extract(epoch from '2026-07-10 15:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123284)'))) / (select extract(epoch from '2026-07-10 15:38:34'::timestamp) - extract(epoch from '2026-07-10 15:38: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'), 47521, 'SRID=4674;POINT (-39.138057 -3.123267)', '2026-07-10 15:38:45', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:38:45'::timestamp) - extract(epoch from '2026-07-10 15:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:38:45'::timestamp) - extract(epoch from '2026-07-10 15:38: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'), 47521, 'SRID=4674;POINT (-39.138055 -3.123265)', '2026-07-10 15:38:55', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:38:55'::timestamp) - extract(epoch from '2026-07-10 15:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:38:55'::timestamp) - extract(epoch from '2026-07-10 15:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138056 -3.123266)', '2026-07-10 15:39:00', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:39:00'::timestamp) - extract(epoch from '2026-07-10 15:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:39:00'::timestamp) - extract(epoch from '2026-07-10 15:38: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'), 47521, 'SRID=4674;POINT (-39.138057 -3.123263)', '2026-07-10 15:39:09', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:39:09'::timestamp) - extract(epoch from '2026-07-10 15:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:39:09'::timestamp) - extract(epoch from '2026-07-10 15:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138049 -3.123271)', '2026-07-10 15:39:19', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123271)'))) / (select extract(epoch from '2026-07-10 15:39:19'::timestamp) - extract(epoch from '2026-07-10 15:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123271)'))) / (select extract(epoch from '2026-07-10 15:39:19'::timestamp) - extract(epoch from '2026-07-10 15:39: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'), 47521, 'SRID=4674;POINT (-39.13806 -3.12328)', '2026-07-10 15:39:30', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.12328)'))) / (select extract(epoch from '2026-07-10 15:39:30'::timestamp) - extract(epoch from '2026-07-10 15:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.12328)'))) / (select extract(epoch from '2026-07-10 15:39:30'::timestamp) - extract(epoch from '2026-07-10 15:39: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'), 47521, 'SRID=4674;POINT (-39.138054 -3.123269)', '2026-07-10 15:39:41', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123269)'))) / (select extract(epoch from '2026-07-10 15:39:41'::timestamp) - extract(epoch from '2026-07-10 15:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123269)'))) / (select extract(epoch from '2026-07-10 15:39:41'::timestamp) - extract(epoch from '2026-07-10 15:39: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'), 47521, 'SRID=4674;POINT (-39.138049 -3.123277)', '2026-07-10 15:39:46', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123277)'))) / (select extract(epoch from '2026-07-10 15:39:46'::timestamp) - extract(epoch from '2026-07-10 15:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123277)'))) / (select extract(epoch from '2026-07-10 15:39:46'::timestamp) - extract(epoch from '2026-07-10 15:39: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'), 47521, 'SRID=4674;POINT (-39.138049 -3.123281)', '2026-07-10 15:39:54', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123277)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123281)'))) / (select extract(epoch from '2026-07-10 15:39:54'::timestamp) - extract(epoch from '2026-07-10 15:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123277)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123281)'))) / (select extract(epoch from '2026-07-10 15:39:54'::timestamp) - extract(epoch from '2026-07-10 15:39: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'), 47521, 'SRID=4674;POINT (-39.138048 -3.123275)', '2026-07-10 15:40:03', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123281)'), GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123275)'))) / (select extract(epoch from '2026-07-10 15:40:03'::timestamp) - extract(epoch from '2026-07-10 15:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123281)'), GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123275)'))) / (select extract(epoch from '2026-07-10 15:40:03'::timestamp) - extract(epoch from '2026-07-10 15:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138051 -3.123267)', '2026-07-10 15:40:13', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123275)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:40:13'::timestamp) - extract(epoch from '2026-07-10 15:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123275)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:40:13'::timestamp) - extract(epoch from '2026-07-10 15:40: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'), 47521, 'SRID=4674;POINT (-39.13805 -3.123267)', '2026-07-10 15:40:19', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:40:19'::timestamp) - extract(epoch from '2026-07-10 15:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:40:19'::timestamp) - extract(epoch from '2026-07-10 15:40: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'), 47521, 'SRID=4674;POINT (-39.138043 -3.123262)', '2026-07-10 15:40:32', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:40:32'::timestamp) - extract(epoch from '2026-07-10 15:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:40:32'::timestamp) - extract(epoch from '2026-07-10 15:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138048 -3.123267)', '2026-07-10 15:40:40', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:40:40'::timestamp) - extract(epoch from '2026-07-10 15:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:40:40'::timestamp) - extract(epoch from '2026-07-10 15:40: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'), 47521, 'SRID=4674;POINT (-39.138039 -3.123266)', '2026-07-10 15:40:54', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:40:54'::timestamp) - extract(epoch from '2026-07-10 15:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:40:54'::timestamp) - extract(epoch from '2026-07-10 15:40: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'), 47521, 'SRID=4674;POINT (-39.138037 -3.123262)', '2026-07-10 15:41:03', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:41:03'::timestamp) - extract(epoch from '2026-07-10 15:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:41:03'::timestamp) - extract(epoch from '2026-07-10 15:40: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'), 47521, 'SRID=4674;POINT (-39.138037 -3.123263)', '2026-07-10 15:41:11', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:41:11'::timestamp) - extract(epoch from '2026-07-10 15:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:41:11'::timestamp) - extract(epoch from '2026-07-10 15:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138031 -3.123265)', '2026-07-10 15:41:18', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138031 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:41:18'::timestamp) - extract(epoch from '2026-07-10 15:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138031 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:41:18'::timestamp) - extract(epoch from '2026-07-10 15:41: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'), 47521, 'SRID=4674;POINT (-39.13804 -3.12325)', '2026-07-10 15:41:26', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138031 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.12325)'))) / (select extract(epoch from '2026-07-10 15:41:26'::timestamp) - extract(epoch from '2026-07-10 15:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138031 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.12325)'))) / (select extract(epoch from '2026-07-10 15:41:26'::timestamp) - extract(epoch from '2026-07-10 15:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138029 -3.123252)', '2026-07-10 15:41:35', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138029 -3.123252)'))) / (select extract(epoch from '2026-07-10 15:41:35'::timestamp) - extract(epoch from '2026-07-10 15:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138029 -3.123252)'))) / (select extract(epoch from '2026-07-10 15:41:35'::timestamp) - extract(epoch from '2026-07-10 15:41: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'), 47521, 'SRID=4674;POINT (-39.138026 -3.123253)', '2026-07-10 15:41:46', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138029 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138026 -3.123253)'))) / (select extract(epoch from '2026-07-10 15:41:46'::timestamp) - extract(epoch from '2026-07-10 15:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138029 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138026 -3.123253)'))) / (select extract(epoch from '2026-07-10 15:41:46'::timestamp) - extract(epoch from '2026-07-10 15:41: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'), 47521, 'SRID=4674;POINT (-39.138023 -3.12326)', '2026-07-10 15:41:57', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138026 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:41:57'::timestamp) - extract(epoch from '2026-07-10 15:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138026 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:41:57'::timestamp) - extract(epoch from '2026-07-10 15:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138022 -3.123251)', '2026-07-10 15:42:06', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138022 -3.123251)'))) / (select extract(epoch from '2026-07-10 15:42:06'::timestamp) - extract(epoch from '2026-07-10 15:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138022 -3.123251)'))) / (select extract(epoch from '2026-07-10 15:42:06'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.13803 -3.123254)', '2026-07-10 15:42:16', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138022 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.13803 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:42:16'::timestamp) - extract(epoch from '2026-07-10 15:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138022 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.13803 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:42:16'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138037 -3.123254)', '2026-07-10 15:42:17', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13803 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:42:17'::timestamp) - extract(epoch from '2026-07-10 15:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13803 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:42:17'::timestamp) - extract(epoch from '2026-07-10 15:42: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'), 47521, 'SRID=4674;POINT (-39.138039 -3.123262)', '2026-07-10 15:42:20', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:42:20'::timestamp) - extract(epoch from '2026-07-10 15:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:42:20'::timestamp) - extract(epoch from '2026-07-10 15:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138043 -3.123262)', '2026-07-10 15:42:24', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:42:24'::timestamp) - extract(epoch from '2026-07-10 15:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:42:24'::timestamp) - extract(epoch from '2026-07-10 15:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138043 -3.123265)', '2026-07-10 15:42:31', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:42:31'::timestamp) - extract(epoch from '2026-07-10 15:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:42:31'::timestamp) - extract(epoch from '2026-07-10 15:42: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'), 47521, 'SRID=4674;POINT (-39.138054 -3.123266)', '2026-07-10 15:42:36', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:42:36'::timestamp) - extract(epoch from '2026-07-10 15:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:42:36'::timestamp) - extract(epoch from '2026-07-10 15:42: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'), 47521, 'SRID=4674;POINT (-39.138044 -3.123268)', '2026-07-10 15:42:43', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123268)'))) / (select extract(epoch from '2026-07-10 15:42:43'::timestamp) - extract(epoch from '2026-07-10 15:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123268)'))) / (select extract(epoch from '2026-07-10 15:42:43'::timestamp) - extract(epoch from '2026-07-10 15:42:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138045 -3.123269)', '2026-07-10 15:42:54', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123269)'))) / (select extract(epoch from '2026-07-10 15:42:54'::timestamp) - extract(epoch from '2026-07-10 15:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123269)'))) / (select extract(epoch from '2026-07-10 15:42:54'::timestamp) - extract(epoch from '2026-07-10 15:42: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'), 47521, 'SRID=4674;POINT (-39.138058 -3.123267)', '2026-07-10 15:43:04', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:43:04'::timestamp) - extract(epoch from '2026-07-10 15:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:43:04'::timestamp) - extract(epoch from '2026-07-10 15:42: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'), 47521, 'SRID=4674;POINT (-39.138054 -3.123262)', '2026-07-10 15:43:10', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:43:10'::timestamp) - extract(epoch from '2026-07-10 15:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:43:10'::timestamp) - extract(epoch from '2026-07-10 15:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138054 -3.123258)', '2026-07-10 15:43:25', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123258)'))) / (select extract(epoch from '2026-07-10 15:43:25'::timestamp) - extract(epoch from '2026-07-10 15:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123258)'))) / (select extract(epoch from '2026-07-10 15:43:25'::timestamp) - extract(epoch from '2026-07-10 15:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13805 -3.123252)', '2026-07-10 15:43:37', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123252)'))) / (select extract(epoch from '2026-07-10 15:43:37'::timestamp) - extract(epoch from '2026-07-10 15:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123252)'))) / (select extract(epoch from '2026-07-10 15:43:37'::timestamp) - extract(epoch from '2026-07-10 15:43: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'), 47521, 'SRID=4674;POINT (-39.138056 -3.123257)', '2026-07-10 15:43:46', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:43:46'::timestamp) - extract(epoch from '2026-07-10 15:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:43:46'::timestamp) - extract(epoch from '2026-07-10 15:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138063 -3.123257)', '2026-07-10 15:43:54', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:43:54'::timestamp) - extract(epoch from '2026-07-10 15:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:43:54'::timestamp) - extract(epoch from '2026-07-10 15:43: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'), 47521, 'SRID=4674;POINT (-39.138053 -3.123255)', '2026-07-10 15:44:02', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:44:02'::timestamp) - extract(epoch from '2026-07-10 15:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:44:02'::timestamp) - extract(epoch from '2026-07-10 15:43:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138046 -3.123255)', '2026-07-10 15:44:08', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:44:08'::timestamp) - extract(epoch from '2026-07-10 15:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:44:08'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138039 -3.12325)', '2026-07-10 15:44:17', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.12325)'))) / (select extract(epoch from '2026-07-10 15:44:17'::timestamp) - extract(epoch from '2026-07-10 15:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.12325)'))) / (select extract(epoch from '2026-07-10 15:44:17'::timestamp) - extract(epoch from '2026-07-10 15:44: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'), 47521, 'SRID=4674;POINT (-39.138039 -3.123249)', '2026-07-10 15:44:25', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:44:25'::timestamp) - extract(epoch from '2026-07-10 15:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:44:25'::timestamp) - extract(epoch from '2026-07-10 15:44:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138043 -3.12325)', '2026-07-10 15:44:38', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.12325)'))) / (select extract(epoch from '2026-07-10 15:44:38'::timestamp) - extract(epoch from '2026-07-10 15:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.12325)'))) / (select extract(epoch from '2026-07-10 15:44:38'::timestamp) - extract(epoch from '2026-07-10 15:44: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'), 47521, 'SRID=4674;POINT (-39.138043 -3.123239)', '2026-07-10 15:44:50', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123239)'))) / (select extract(epoch from '2026-07-10 15:44:50'::timestamp) - extract(epoch from '2026-07-10 15:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123239)'))) / (select extract(epoch from '2026-07-10 15:44:50'::timestamp) - extract(epoch from '2026-07-10 15:44: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'), 47521, 'SRID=4674;POINT (-39.138048 -3.123242)', '2026-07-10 15:44:55', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123239)'), GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123242)'))) / (select extract(epoch from '2026-07-10 15:44:55'::timestamp) - extract(epoch from '2026-07-10 15:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123239)'), GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123242)'))) / (select extract(epoch from '2026-07-10 15:44:55'::timestamp) - extract(epoch from '2026-07-10 15:44: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'), 47521, 'SRID=4674;POINT (-39.138047 -3.123234)', '2026-07-10 15:45:01', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123234)'))) / (select extract(epoch from '2026-07-10 15:45:01'::timestamp) - extract(epoch from '2026-07-10 15:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123234)'))) / (select extract(epoch from '2026-07-10 15:45:01'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138049 -3.123226)', '2026-07-10 15:45:09', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123234)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123226)'))) / (select extract(epoch from '2026-07-10 15:45:09'::timestamp) - extract(epoch from '2026-07-10 15:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123234)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123226)'))) / (select extract(epoch from '2026-07-10 15:45:09'::timestamp) - extract(epoch from '2026-07-10 15:45:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13806 -3.123225)', '2026-07-10 15:45:13', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123226)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123225)'))) / (select extract(epoch from '2026-07-10 15:45:13'::timestamp) - extract(epoch from '2026-07-10 15:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123226)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123225)'))) / (select extract(epoch from '2026-07-10 15:45:13'::timestamp) - extract(epoch from '2026-07-10 15:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138057 -3.123231)', '2026-07-10 15:45:18', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123225)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123231)'))) / (select extract(epoch from '2026-07-10 15:45:18'::timestamp) - extract(epoch from '2026-07-10 15:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123225)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123231)'))) / (select extract(epoch from '2026-07-10 15:45:18'::timestamp) - extract(epoch from '2026-07-10 15:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138057 -3.123227)', '2026-07-10 15:45:23', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123231)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123227)'))) / (select extract(epoch from '2026-07-10 15:45:23'::timestamp) - extract(epoch from '2026-07-10 15:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123231)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123227)'))) / (select extract(epoch from '2026-07-10 15:45:23'::timestamp) - extract(epoch from '2026-07-10 15:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138052 -3.123225)', '2026-07-10 15:45:29', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123227)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123225)'))) / (select extract(epoch from '2026-07-10 15:45:29'::timestamp) - extract(epoch from '2026-07-10 15:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123227)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123225)'))) / (select extract(epoch from '2026-07-10 15:45:29'::timestamp) - extract(epoch from '2026-07-10 15:45: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'), 47521, 'SRID=4674;POINT (-39.138053 -3.123222)', '2026-07-10 15:45:39', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123225)'), GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123222)'))) / (select extract(epoch from '2026-07-10 15:45:39'::timestamp) - extract(epoch from '2026-07-10 15:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123225)'), GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123222)'))) / (select extract(epoch from '2026-07-10 15:45:39'::timestamp) - extract(epoch from '2026-07-10 15:45: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'), 47521, 'SRID=4674;POINT (-39.138055 -3.123224)', '2026-07-10 15:45:45', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123222)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123224)'))) / (select extract(epoch from '2026-07-10 15:45:45'::timestamp) - extract(epoch from '2026-07-10 15:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123222)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123224)'))) / (select extract(epoch from '2026-07-10 15:45:45'::timestamp) - extract(epoch from '2026-07-10 15:45: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'), 47521, 'SRID=4674;POINT (-39.138066 -3.123219)', '2026-07-10 15:45:53', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123224)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123219)'))) / (select extract(epoch from '2026-07-10 15:45:53'::timestamp) - extract(epoch from '2026-07-10 15:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123224)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123219)'))) / (select extract(epoch from '2026-07-10 15:45:53'::timestamp) - extract(epoch from '2026-07-10 15:45: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'), 47521, 'SRID=4674;POINT (-39.138057 -3.123218)', '2026-07-10 15:45:58', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123219)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123218)'))) / (select extract(epoch from '2026-07-10 15:45:58'::timestamp) - extract(epoch from '2026-07-10 15:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123219)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123218)'))) / (select extract(epoch from '2026-07-10 15:45:58'::timestamp) - extract(epoch from '2026-07-10 15:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138052 -3.123224)', '2026-07-10 15:46:10', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123218)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123224)'))) / (select extract(epoch from '2026-07-10 15:46:10'::timestamp) - extract(epoch from '2026-07-10 15:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123218)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123224)'))) / (select extract(epoch from '2026-07-10 15:46:10'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138041 -3.123232)', '2026-07-10 15:46:16', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123224)'), GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123232)'))) / (select extract(epoch from '2026-07-10 15:46:16'::timestamp) - extract(epoch from '2026-07-10 15:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123224)'), GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123232)'))) / (select extract(epoch from '2026-07-10 15:46:16'::timestamp) - extract(epoch from '2026-07-10 15:46:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138039 -3.123234)', '2026-07-10 15:46:21', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123234)'))) / (select extract(epoch from '2026-07-10 15:46:21'::timestamp) - extract(epoch from '2026-07-10 15:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123234)'))) / (select extract(epoch from '2026-07-10 15:46:21'::timestamp) - extract(epoch from '2026-07-10 15:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138034 -3.123232)', '2026-07-10 15:46:30', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123234)'), GeomFromEWKT('SRID=4674;POINT (-39.138034 -3.123232)'))) / (select extract(epoch from '2026-07-10 15:46:30'::timestamp) - extract(epoch from '2026-07-10 15:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123234)'), GeomFromEWKT('SRID=4674;POINT (-39.138034 -3.123232)'))) / (select extract(epoch from '2026-07-10 15:46:30'::timestamp) - extract(epoch from '2026-07-10 15:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138031 -3.123235)', '2026-07-10 15:46:40', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138034 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.138031 -3.123235)'))) / (select extract(epoch from '2026-07-10 15:46:40'::timestamp) - extract(epoch from '2026-07-10 15:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138034 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.138031 -3.123235)'))) / (select extract(epoch from '2026-07-10 15:46:40'::timestamp) - extract(epoch from '2026-07-10 15:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138034 -3.123236)', '2026-07-10 15:46:48', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138031 -3.123235)'), GeomFromEWKT('SRID=4674;POINT (-39.138034 -3.123236)'))) / (select extract(epoch from '2026-07-10 15:46:48'::timestamp) - extract(epoch from '2026-07-10 15:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138031 -3.123235)'), GeomFromEWKT('SRID=4674;POINT (-39.138034 -3.123236)'))) / (select extract(epoch from '2026-07-10 15:46:48'::timestamp) - extract(epoch from '2026-07-10 15:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138035 -3.123238)', '2026-07-10 15:46:59', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138034 -3.123236)'), GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123238)'))) / (select extract(epoch from '2026-07-10 15:46:59'::timestamp) - extract(epoch from '2026-07-10 15:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138034 -3.123236)'), GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123238)'))) / (select extract(epoch from '2026-07-10 15:46:59'::timestamp) - extract(epoch from '2026-07-10 15:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138035 -3.123241)', '2026-07-10 15:47:08', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123238)'), GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123241)'))) / (select extract(epoch from '2026-07-10 15:47:08'::timestamp) - extract(epoch from '2026-07-10 15:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123238)'), GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123241)'))) / (select extract(epoch from '2026-07-10 15:47:08'::timestamp) - extract(epoch from '2026-07-10 15:46: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'), 47521, 'SRID=4674;POINT (-39.138045 -3.123242)', '2026-07-10 15:47:17', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123242)'))) / (select extract(epoch from '2026-07-10 15:47:17'::timestamp) - extract(epoch from '2026-07-10 15:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123242)'))) / (select extract(epoch from '2026-07-10 15:47:17'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138041 -3.123251)', '2026-07-10 15:47:28', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123251)'))) / (select extract(epoch from '2026-07-10 15:47:28'::timestamp) - extract(epoch from '2026-07-10 15:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138045 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123251)'))) / (select extract(epoch from '2026-07-10 15:47:28'::timestamp) - extract(epoch from '2026-07-10 15:47: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'), 47521, 'SRID=4674;POINT (-39.138036 -3.123254)', '2026-07-10 15:47:34', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:47:34'::timestamp) - extract(epoch from '2026-07-10 15:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:47:34'::timestamp) - extract(epoch from '2026-07-10 15:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138043 -3.123259)', '2026-07-10 15:47:45', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123259)'))) / (select extract(epoch from '2026-07-10 15:47:45'::timestamp) - extract(epoch from '2026-07-10 15:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123259)'))) / (select extract(epoch from '2026-07-10 15:47:45'::timestamp) - extract(epoch from '2026-07-10 15:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138039 -3.123266)', '2026-07-10 15:47:52', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:47:52'::timestamp) - extract(epoch from '2026-07-10 15:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:47:52'::timestamp) - extract(epoch from '2026-07-10 15:47: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'), 47521, 'SRID=4674;POINT (-39.13805 -3.123264)', '2026-07-10 15:48:03', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123264)'))) / (select extract(epoch from '2026-07-10 15:48:03'::timestamp) - extract(epoch from '2026-07-10 15:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123264)'))) / (select extract(epoch from '2026-07-10 15:48:03'::timestamp) - extract(epoch from '2026-07-10 15:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138051 -3.123269)', '2026-07-10 15:48:09', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123269)'))) / (select extract(epoch from '2026-07-10 15:48:09'::timestamp) - extract(epoch from '2026-07-10 15:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123269)'))) / (select extract(epoch from '2026-07-10 15:48:09'::timestamp) - extract(epoch from '2026-07-10 15:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138055 -3.123265)', '2026-07-10 15:48:15', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:48:15'::timestamp) - extract(epoch from '2026-07-10 15:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:48:15'::timestamp) - extract(epoch from '2026-07-10 15:48:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138052 -3.123262)', '2026-07-10 15:48:22', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:48:22'::timestamp) - extract(epoch from '2026-07-10 15:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:48:22'::timestamp) - extract(epoch from '2026-07-10 15:48: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'), 47521, 'SRID=4674;POINT (-39.138064 -3.123269)', '2026-07-10 15:48:31', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123269)'))) / (select extract(epoch from '2026-07-10 15:48:31'::timestamp) - extract(epoch from '2026-07-10 15:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123269)'))) / (select extract(epoch from '2026-07-10 15:48:31'::timestamp) - extract(epoch from '2026-07-10 15:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138055 -3.123271)', '2026-07-10 15:48:41', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123271)'))) / (select extract(epoch from '2026-07-10 15:48:41'::timestamp) - extract(epoch from '2026-07-10 15:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123271)'))) / (select extract(epoch from '2026-07-10 15:48:41'::timestamp) - extract(epoch from '2026-07-10 15:48: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'), 47521, 'SRID=4674;POINT (-39.138056 -3.123268)', '2026-07-10 15:48:50', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123268)'))) / (select extract(epoch from '2026-07-10 15:48:50'::timestamp) - extract(epoch from '2026-07-10 15:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123268)'))) / (select extract(epoch from '2026-07-10 15:48:50'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138053 -3.123264)', '2026-07-10 15:48:56', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123264)'))) / (select extract(epoch from '2026-07-10 15:48:56'::timestamp) - extract(epoch from '2026-07-10 15:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123264)'))) / (select extract(epoch from '2026-07-10 15:48:56'::timestamp) - extract(epoch from '2026-07-10 15:48: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'), 47521, 'SRID=4674;POINT (-39.13805 -3.123264)', '2026-07-10 15:49:07', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123264)'))) / (select extract(epoch from '2026-07-10 15:49:07'::timestamp) - extract(epoch from '2026-07-10 15:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123264)'))) / (select extract(epoch from '2026-07-10 15:49:07'::timestamp) - extract(epoch from '2026-07-10 15:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138048 -3.123251)', '2026-07-10 15:49:15', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123251)'))) / (select extract(epoch from '2026-07-10 15:49:15'::timestamp) - extract(epoch from '2026-07-10 15:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123251)'))) / (select extract(epoch from '2026-07-10 15:49:15'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.123254)', '2026-07-10 15:49:26', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:49:26'::timestamp) - extract(epoch from '2026-07-10 15:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:49:26'::timestamp) - extract(epoch from '2026-07-10 15:49:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138046 -3.123262)', '2026-07-10 15:49:32', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:49:32'::timestamp) - extract(epoch from '2026-07-10 15:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123262)'))) / (select extract(epoch from '2026-07-10 15:49:32'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138043 -3.123263)', '2026-07-10 15:49:41', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:49:41'::timestamp) - extract(epoch from '2026-07-10 15:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:49:41'::timestamp) - extract(epoch from '2026-07-10 15:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138049 -3.123261)', '2026-07-10 15:49:54', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123261)'))) / (select extract(epoch from '2026-07-10 15:49:54'::timestamp) - extract(epoch from '2026-07-10 15:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123261)'))) / (select extract(epoch from '2026-07-10 15:49:54'::timestamp) - extract(epoch from '2026-07-10 15:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138058 -3.12326)', '2026-07-10 15:50:02', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123261)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:50:02'::timestamp) - extract(epoch from '2026-07-10 15:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123261)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:50:02'::timestamp) - extract(epoch from '2026-07-10 15:49: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'), 47521, 'SRID=4674;POINT (-39.138056 -3.12326)', '2026-07-10 15:50:11', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:50:11'::timestamp) - extract(epoch from '2026-07-10 15:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:50:11'::timestamp) - extract(epoch from '2026-07-10 15:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138057 -3.123252)', '2026-07-10 15:50:19', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123252)'))) / (select extract(epoch from '2026-07-10 15:50:19'::timestamp) - extract(epoch from '2026-07-10 15:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123252)'))) / (select extract(epoch from '2026-07-10 15:50:19'::timestamp) - extract(epoch from '2026-07-10 15:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138057 -3.123257)', '2026-07-10 15:50:32', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:50:32'::timestamp) - extract(epoch from '2026-07-10 15:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:50:32'::timestamp) - extract(epoch from '2026-07-10 15:50: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.123258)', '2026-07-10 15:50:52', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123258)'))) / (select extract(epoch from '2026-07-10 15:50:52'::timestamp) - extract(epoch from '2026-07-10 15:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123258)'))) / (select extract(epoch from '2026-07-10 15:50:52'::timestamp) - extract(epoch from '2026-07-10 15:50: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.123261)', '2026-07-10 15:51:03', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123261)'))) / (select extract(epoch from '2026-07-10 15:51:03'::timestamp) - extract(epoch from '2026-07-10 15:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123261)'))) / (select extract(epoch from '2026-07-10 15:51:03'::timestamp) - extract(epoch from '2026-07-10 15:50: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'), 47521, 'SRID=4674;POINT (-39.138046 -3.123265)', '2026-07-10 15:51:13', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123261)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:51:13'::timestamp) - extract(epoch from '2026-07-10 15:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123261)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:51:13'::timestamp) - extract(epoch from '2026-07-10 15:51: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'), 47521, 'SRID=4674;POINT (-39.138049 -3.123272)', '2026-07-10 15:51:21', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123272)'))) / (select extract(epoch from '2026-07-10 15:51:21'::timestamp) - extract(epoch from '2026-07-10 15:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123272)'))) / (select extract(epoch from '2026-07-10 15:51:21'::timestamp) - extract(epoch from '2026-07-10 15:51: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.123276)', '2026-07-10 15:51:27', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123272)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123276)'))) / (select extract(epoch from '2026-07-10 15:51:27'::timestamp) - extract(epoch from '2026-07-10 15:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123272)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123276)'))) / (select extract(epoch from '2026-07-10 15:51:27'::timestamp) - extract(epoch from '2026-07-10 15:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138059 -3.12327)', '2026-07-10 15:51:37', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123276)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.12327)'))) / (select extract(epoch from '2026-07-10 15:51:37'::timestamp) - extract(epoch from '2026-07-10 15:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123276)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.12327)'))) / (select extract(epoch from '2026-07-10 15:51:37'::timestamp) - extract(epoch from '2026-07-10 15:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138055 -3.123263)', '2026-07-10 15:51:45', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.12327)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:51:45'::timestamp) - extract(epoch from '2026-07-10 15:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.12327)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:51:45'::timestamp) - extract(epoch from '2026-07-10 15:51:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138057 -3.12326)', '2026-07-10 15:51:55', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:51:55'::timestamp) - extract(epoch from '2026-07-10 15:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:51:55'::timestamp) - extract(epoch from '2026-07-10 15:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138056 -3.123257)', '2026-07-10 15:52:11', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:52:11'::timestamp) - extract(epoch from '2026-07-10 15:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:52:11'::timestamp) - extract(epoch from '2026-07-10 15:51:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138052 -3.123265)', '2026-07-10 15:52:26', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:52:26'::timestamp) - extract(epoch from '2026-07-10 15:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123265)'))) / (select extract(epoch from '2026-07-10 15:52:26'::timestamp) - extract(epoch from '2026-07-10 15:52: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.123263)', '2026-07-10 15:52:37', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:52:37'::timestamp) - extract(epoch from '2026-07-10 15:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:52:37'::timestamp) - extract(epoch from '2026-07-10 15:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138058 -3.12326)', '2026-07-10 15:52:44', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:52:44'::timestamp) - extract(epoch from '2026-07-10 15:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:52:44'::timestamp) - extract(epoch from '2026-07-10 15:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138055 -3.123267)', '2026-07-10 15:52:53', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:52:53'::timestamp) - extract(epoch from '2026-07-10 15:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:52:53'::timestamp) - extract(epoch from '2026-07-10 15:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138063 -3.123266)', '2026-07-10 15:53:00', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:53:00'::timestamp) - extract(epoch from '2026-07-10 15:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:53:00'::timestamp) - extract(epoch from '2026-07-10 15:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138072 -3.123263)', '2026-07-10 15:53:09', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:53:09'::timestamp) - extract(epoch from '2026-07-10 15:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:53:09'::timestamp) - extract(epoch from '2026-07-10 15:53:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138083 -3.123264)', '2026-07-10 15:53:14', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123264)'))) / (select extract(epoch from '2026-07-10 15:53:14'::timestamp) - extract(epoch from '2026-07-10 15:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123264)'))) / (select extract(epoch from '2026-07-10 15:53:14'::timestamp) - extract(epoch from '2026-07-10 15:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138075 -3.123263)', '2026-07-10 15:53:21', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:53:21'::timestamp) - extract(epoch from '2026-07-10 15:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123263)'))) / (select extract(epoch from '2026-07-10 15:53:21'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.13808 -3.123267)', '2026-07-10 15:53:27', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:53:27'::timestamp) - extract(epoch from '2026-07-10 15:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123267)'))) / (select extract(epoch from '2026-07-10 15:53:27'::timestamp) - extract(epoch from '2026-07-10 15:53:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138081 -3.123266)', '2026-07-10 15:53:37', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:53:37'::timestamp) - extract(epoch from '2026-07-10 15:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:53:37'::timestamp) - extract(epoch from '2026-07-10 15:53: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'), 47521, 'SRID=4674;POINT (-39.138071 -3.123264)', '2026-07-10 15:53:45', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123264)'))) / (select extract(epoch from '2026-07-10 15:53:45'::timestamp) - extract(epoch from '2026-07-10 15:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123264)'))) / (select extract(epoch from '2026-07-10 15:53:45'::timestamp) - extract(epoch from '2026-07-10 15:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138069 -3.12326)', '2026-07-10 15:53:55', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:53:55'::timestamp) - extract(epoch from '2026-07-10 15:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:53:55'::timestamp) - extract(epoch from '2026-07-10 15:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13807 -3.123259)', '2026-07-10 15:54:04', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123259)'))) / (select extract(epoch from '2026-07-10 15:54:04'::timestamp) - extract(epoch from '2026-07-10 15:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123259)'))) / (select extract(epoch from '2026-07-10 15:54:04'::timestamp) - extract(epoch from '2026-07-10 15:53: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'), 47521, 'SRID=4674;POINT (-39.138067 -3.123257)', '2026-07-10 15:54:14', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:54:14'::timestamp) - extract(epoch from '2026-07-10 15:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:54:14'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47521, 'SRID=4674;POINT (-39.138064 -3.123251)', '2026-07-10 15:54:28', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123251)'))) / (select extract(epoch from '2026-07-10 15:54:28'::timestamp) - extract(epoch from '2026-07-10 15:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123251)'))) / (select extract(epoch from '2026-07-10 15:54:28'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138068 -3.123244)', '2026-07-10 15:54:37', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123244)'))) / (select extract(epoch from '2026-07-10 15:54:37'::timestamp) - extract(epoch from '2026-07-10 15:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123244)'))) / (select extract(epoch from '2026-07-10 15:54:37'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47521, 'SRID=4674;POINT (-39.138066 -3.123247)', '2026-07-10 15:54:47', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123244)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123247)'))) / (select extract(epoch from '2026-07-10 15:54:47'::timestamp) - extract(epoch from '2026-07-10 15:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123244)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123247)'))) / (select extract(epoch from '2026-07-10 15:54:47'::timestamp) - extract(epoch from '2026-07-10 15:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138058 -3.123252)', '2026-07-10 15:54:54', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123252)'))) / (select extract(epoch from '2026-07-10 15:54:54'::timestamp) - extract(epoch from '2026-07-10 15:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123252)'))) / (select extract(epoch from '2026-07-10 15:54:54'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47521, 'SRID=4674;POINT (-39.138068 -3.123257)', '2026-07-10 15:55:02', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:55:02'::timestamp) - extract(epoch from '2026-07-10 15:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123257)'))) / (select extract(epoch from '2026-07-10 15:55:02'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47521, 'SRID=4674;POINT (-39.138069 -3.123255)', '2026-07-10 15:55:13', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:55:13'::timestamp) - extract(epoch from '2026-07-10 15:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:55:13'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47521, 'SRID=4674;POINT (-39.138062 -3.123241)', '2026-07-10 15:55:29', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123241)'))) / (select extract(epoch from '2026-07-10 15:55:29'::timestamp) - extract(epoch from '2026-07-10 15:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123241)'))) / (select extract(epoch from '2026-07-10 15:55:29'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47521, 'SRID=4674;POINT (-39.138064 -3.123243)', '2026-07-10 15:55:40', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123243)'))) / (select extract(epoch from '2026-07-10 15:55:40'::timestamp) - extract(epoch from '2026-07-10 15:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123243)'))) / (select extract(epoch from '2026-07-10 15:55:40'::timestamp) - extract(epoch from '2026-07-10 15:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138065 -3.123249)', '2026-07-10 15:55:53', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:55:53'::timestamp) - extract(epoch from '2026-07-10 15:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:55:53'::timestamp) - extract(epoch from '2026-07-10 15:55:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138058 -3.123251)', '2026-07-10 15:56:04', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123251)'))) / (select extract(epoch from '2026-07-10 15:56:04'::timestamp) - extract(epoch from '2026-07-10 15:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123251)'))) / (select extract(epoch from '2026-07-10 15:56:04'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.12325)', '2026-07-10 15:56:14', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.12325)'))) / (select extract(epoch from '2026-07-10 15:56:14'::timestamp) - extract(epoch from '2026-07-10 15:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.12325)'))) / (select extract(epoch from '2026-07-10 15:56:14'::timestamp) - extract(epoch from '2026-07-10 15:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138047 -3.123249)', '2026-07-10 15:56:24', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:56:24'::timestamp) - extract(epoch from '2026-07-10 15:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:56:24'::timestamp) - extract(epoch from '2026-07-10 15:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138046 -3.123248)', '2026-07-10 15:56:32', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123248)'))) / (select extract(epoch from '2026-07-10 15:56:32'::timestamp) - extract(epoch from '2026-07-10 15:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123248)'))) / (select extract(epoch from '2026-07-10 15:56:32'::timestamp) - extract(epoch from '2026-07-10 15:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138046 -3.123249)', '2026-07-10 15:56:41', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:56:41'::timestamp) - extract(epoch from '2026-07-10 15:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:56:41'::timestamp) - extract(epoch from '2026-07-10 15:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138057 -3.123254)', '2026-07-10 15:56:48', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:56:48'::timestamp) - extract(epoch from '2026-07-10 15:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:56:48'::timestamp) - extract(epoch from '2026-07-10 15:56:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138051 -3.123254)', '2026-07-10 15:56:57', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:56:57'::timestamp) - extract(epoch from '2026-07-10 15:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:56:57'::timestamp) - extract(epoch from '2026-07-10 15:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13806 -3.123256)', '2026-07-10 15:57:06', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123256)'))) / (select extract(epoch from '2026-07-10 15:57:06'::timestamp) - extract(epoch from '2026-07-10 15:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123256)'))) / (select extract(epoch from '2026-07-10 15:57:06'::timestamp) - extract(epoch from '2026-07-10 15:56:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13806 -3.123254)', '2026-07-10 15:57:14', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:57:14'::timestamp) - extract(epoch from '2026-07-10 15:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:57:14'::timestamp) - extract(epoch from '2026-07-10 15:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138057 -3.123254)', '2026-07-10 15:57:22', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:57:22'::timestamp) - extract(epoch from '2026-07-10 15:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:57:22'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138054 -3.123255)', '2026-07-10 15:57:32', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:57:32'::timestamp) - extract(epoch from '2026-07-10 15:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:57:32'::timestamp) - extract(epoch from '2026-07-10 15:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138058 -3.123252)', '2026-07-10 15:57:42', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123252)'))) / (select extract(epoch from '2026-07-10 15:57:42'::timestamp) - extract(epoch from '2026-07-10 15:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123252)'))) / (select extract(epoch from '2026-07-10 15:57:42'::timestamp) - extract(epoch from '2026-07-10 15:57: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'), 47521, 'SRID=4674;POINT (-39.138051 -3.123247)', '2026-07-10 15:57:52', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'))) / (select extract(epoch from '2026-07-10 15:57:52'::timestamp) - extract(epoch from '2026-07-10 15:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'))) / (select extract(epoch from '2026-07-10 15:57:52'::timestamp) - extract(epoch from '2026-07-10 15:57: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'), 47521, 'SRID=4674;POINT (-39.138048 -3.123242)', '2026-07-10 15:58:04', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123242)'))) / (select extract(epoch from '2026-07-10 15:58:04'::timestamp) - extract(epoch from '2026-07-10 15:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123242)'))) / (select extract(epoch from '2026-07-10 15:58:04'::timestamp) - extract(epoch from '2026-07-10 15:57: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'), 47521, 'SRID=4674;POINT (-39.138042 -3.123249)', '2026-07-10 15:58:14', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:58:14'::timestamp) - extract(epoch from '2026-07-10 15:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138048 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:58:14'::timestamp) - extract(epoch from '2026-07-10 15:58: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'), 47521, 'SRID=4674;POINT (-39.138051 -3.123248)', '2026-07-10 15:58:23', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123248)'))) / (select extract(epoch from '2026-07-10 15:58:23'::timestamp) - extract(epoch from '2026-07-10 15:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123248)'))) / (select extract(epoch from '2026-07-10 15:58:23'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138051 -3.123247)', '2026-07-10 15:58:31', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'))) / (select extract(epoch from '2026-07-10 15:58:31'::timestamp) - extract(epoch from '2026-07-10 15:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'))) / (select extract(epoch from '2026-07-10 15:58:31'::timestamp) - extract(epoch from '2026-07-10 15:58:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13806 -3.123255)', '2026-07-10 15:58:39', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:58:39'::timestamp) - extract(epoch from '2026-07-10 15:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:58:39'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138063 -3.123249)', '2026-07-10 15:58:46', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:58:46'::timestamp) - extract(epoch from '2026-07-10 15:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123249)'))) / (select extract(epoch from '2026-07-10 15:58:46'::timestamp) - extract(epoch from '2026-07-10 15:58:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138065 -3.123254)', '2026-07-10 15:58:54', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:58:54'::timestamp) - extract(epoch from '2026-07-10 15:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123254)'))) / (select extract(epoch from '2026-07-10 15:58:54'::timestamp) - extract(epoch from '2026-07-10 15:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138056 -3.123255)', '2026-07-10 15:59:01', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:59:01'::timestamp) - extract(epoch from '2026-07-10 15:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123255)'))) / (select extract(epoch from '2026-07-10 15:59:01'::timestamp) - extract(epoch from '2026-07-10 15:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138062 -3.12326)', '2026-07-10 15:59:10', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:59:10'::timestamp) - extract(epoch from '2026-07-10 15:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.12326)'))) / (select extract(epoch from '2026-07-10 15:59:10'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138059 -3.123261)', '2026-07-10 15:59:16', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123261)'))) / (select extract(epoch from '2026-07-10 15:59:16'::timestamp) - extract(epoch from '2026-07-10 15:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123261)'))) / (select extract(epoch from '2026-07-10 15:59:16'::timestamp) - extract(epoch from '2026-07-10 15:59:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138063 -3.123258)', '2026-07-10 15:59:27', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123261)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123258)'))) / (select extract(epoch from '2026-07-10 15:59:27'::timestamp) - extract(epoch from '2026-07-10 15:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123261)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123258)'))) / (select extract(epoch from '2026-07-10 15:59:27'::timestamp) - extract(epoch from '2026-07-10 15:59: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'), 47521, 'SRID=4674;POINT (-39.138068 -3.123272)', '2026-07-10 15:59:36', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123272)'))) / (select extract(epoch from '2026-07-10 15:59:36'::timestamp) - extract(epoch from '2026-07-10 15:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123272)'))) / (select extract(epoch from '2026-07-10 15:59:36'::timestamp) - extract(epoch from '2026-07-10 15:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138065 -3.123275)', '2026-07-10 15:59:44', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123272)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123275)'))) / (select extract(epoch from '2026-07-10 15:59:44'::timestamp) - extract(epoch from '2026-07-10 15:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123272)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123275)'))) / (select extract(epoch from '2026-07-10 15:59:44'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138059 -3.123266)', '2026-07-10 15:59:52', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123275)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:59:52'::timestamp) - extract(epoch from '2026-07-10 15:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123275)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123266)'))) / (select extract(epoch from '2026-07-10 15:59:52'::timestamp) - extract(epoch from '2026-07-10 15:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138043 -3.123264)', '2026-07-10 16:00:02', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:00:02'::timestamp) - extract(epoch from '2026-07-10 15:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:00:02'::timestamp) - extract(epoch from '2026-07-10 15:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138056 -3.123258)', '2026-07-10 16:00:10', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:00:10'::timestamp) - extract(epoch from '2026-07-10 16:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138043 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:00:10'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47521, 'SRID=4674;POINT (-39.13806 -3.123259)', '2026-07-10 16:00:15', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:00:15'::timestamp) - extract(epoch from '2026-07-10 16:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:00:15'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138051 -3.123249)', '2026-07-10 16:00:25', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:00:25'::timestamp) - extract(epoch from '2026-07-10 16:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:00:25'::timestamp) - extract(epoch from '2026-07-10 16:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138059 -3.123254)', '2026-07-10 16:00:29', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:00:29'::timestamp) - extract(epoch from '2026-07-10 16:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:00:29'::timestamp) - extract(epoch from '2026-07-10 16:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138049 -3.123252)', '2026-07-10 16:00:38', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:00:38'::timestamp) - extract(epoch from '2026-07-10 16:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:00:38'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47521, 'SRID=4674;POINT (-39.138054 -3.123247)', '2026-07-10 16:00:47', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:00:47'::timestamp) - extract(epoch from '2026-07-10 16:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138049 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:00:47'::timestamp) - extract(epoch from '2026-07-10 16:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138054 -3.123246)', '2026-07-10 16:00:52', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:00:52'::timestamp) - extract(epoch from '2026-07-10 16:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:00:52'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47521, 'SRID=4674;POINT (-39.138046 -3.123242)', '2026-07-10 16:01:01', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:01:01'::timestamp) - extract(epoch from '2026-07-10 16:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:01:01'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47521, 'SRID=4674;POINT (-39.138044 -3.123241)', '2026-07-10 16:01:09', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:01:09'::timestamp) - extract(epoch from '2026-07-10 16:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:01:09'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138047 -3.123251)', '2026-07-10 16:01:18', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:01:18'::timestamp) - extract(epoch from '2026-07-10 16:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:01:18'::timestamp) - extract(epoch from '2026-07-10 16:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138046 -3.12325)', '2026-07-10 16:01:25', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:01:25'::timestamp) - extract(epoch from '2026-07-10 16:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:01:25'::timestamp) - extract(epoch from '2026-07-10 16:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138052 -3.123254)', '2026-07-10 16:01:32', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:01:32'::timestamp) - extract(epoch from '2026-07-10 16:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:01:32'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138051 -3.123253)', '2026-07-10 16:01:51', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123253)'))) / (select extract(epoch from '2026-07-10 16:01:51'::timestamp) - extract(epoch from '2026-07-10 16:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123253)'))) / (select extract(epoch from '2026-07-10 16:01:51'::timestamp) - extract(epoch from '2026-07-10 16:01: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.123247)', '2026-07-10 16:02:01', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:02:01'::timestamp) - extract(epoch from '2026-07-10 16:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:02:01'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138051 -3.123247)', '2026-07-10 16:02:08', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:02:08'::timestamp) - extract(epoch from '2026-07-10 16:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:02:08'::timestamp) - extract(epoch from '2026-07-10 16:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138058 -3.123249)', '2026-07-10 16:02:17', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:02:17'::timestamp) - extract(epoch from '2026-07-10 16:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:02:17'::timestamp) - extract(epoch from '2026-07-10 16:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138058 -3.123256)', '2026-07-10 16:02:26', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:02:26'::timestamp) - extract(epoch from '2026-07-10 16:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:02:26'::timestamp) - extract(epoch from '2026-07-10 16:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138067 -3.123255)', '2026-07-10 16:02:37', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:02:37'::timestamp) - extract(epoch from '2026-07-10 16:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:02:37'::timestamp) - extract(epoch from '2026-07-10 16:02: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'), 47521, 'SRID=4674;POINT (-39.138065 -3.123257)', '2026-07-10 16:02:45', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:02:45'::timestamp) - extract(epoch from '2026-07-10 16:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:02:45'::timestamp) - extract(epoch from '2026-07-10 16:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138054 -3.123255)', '2026-07-10 16:02:53', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:02:53'::timestamp) - extract(epoch from '2026-07-10 16:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:02:53'::timestamp) - extract(epoch from '2026-07-10 16:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138054 -3.123252)', '2026-07-10 16:03:00', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:03:00'::timestamp) - extract(epoch from '2026-07-10 16:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:03:00'::timestamp) - extract(epoch from '2026-07-10 16:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138058 -3.123253)', '2026-07-10 16:03:07', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123253)'))) / (select extract(epoch from '2026-07-10 16:03:07'::timestamp) - extract(epoch from '2026-07-10 16:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123253)'))) / (select extract(epoch from '2026-07-10 16:03:07'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47521, 'SRID=4674;POINT (-39.138065 -3.123258)', '2026-07-10 16:03:13', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:03:13'::timestamp) - extract(epoch from '2026-07-10 16:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:03:13'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47521, 'SRID=4674;POINT (-39.138071 -3.123251)', '2026-07-10 16:03:18', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:03:18'::timestamp) - extract(epoch from '2026-07-10 16:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:03:18'::timestamp) - extract(epoch from '2026-07-10 16:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138069 -3.123257)', '2026-07-10 16:03:30', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:03:30'::timestamp) - extract(epoch from '2026-07-10 16:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:03:30'::timestamp) - extract(epoch from '2026-07-10 16:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138065 -3.123257)', '2026-07-10 16:03:37', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:03:37'::timestamp) - extract(epoch from '2026-07-10 16:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:03:37'::timestamp) - extract(epoch from '2026-07-10 16:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138076 -3.123251)', '2026-07-10 16:03:46', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:03:46'::timestamp) - extract(epoch from '2026-07-10 16:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:03:46'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138071 -3.123246)', '2026-07-10 16:03:51', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:03:51'::timestamp) - extract(epoch from '2026-07-10 16:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:03:51'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47521, 'SRID=4674;POINT (-39.138062 -3.123254)', '2026-07-10 16:03:58', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:03:58'::timestamp) - extract(epoch from '2026-07-10 16:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:03:58'::timestamp) - extract(epoch from '2026-07-10 16:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138052 -3.123256)', '2026-07-10 16:04:06', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:04:06'::timestamp) - extract(epoch from '2026-07-10 16:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:04:06'::timestamp) - extract(epoch from '2026-07-10 16:03:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138059 -3.123254)', '2026-07-10 16:04:17', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:04:17'::timestamp) - extract(epoch from '2026-07-10 16:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:04:17'::timestamp) - extract(epoch from '2026-07-10 16:04: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'), 47521, 'SRID=4674;POINT (-39.138061 -3.123256)', '2026-07-10 16:04:26', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:04:26'::timestamp) - extract(epoch from '2026-07-10 16:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:04:26'::timestamp) - extract(epoch from '2026-07-10 16:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138064 -3.123254)', '2026-07-10 16:04:35', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:04:35'::timestamp) - extract(epoch from '2026-07-10 16:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:04:35'::timestamp) - extract(epoch from '2026-07-10 16:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138066 -3.12325)', '2026-07-10 16:04:42', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:04:42'::timestamp) - extract(epoch from '2026-07-10 16:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:04:42'::timestamp) - extract(epoch from '2026-07-10 16:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138064 -3.123243)', '2026-07-10 16:04:56', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:04:56'::timestamp) - extract(epoch from '2026-07-10 16:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:04:56'::timestamp) - extract(epoch from '2026-07-10 16:04: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'), 47521, 'SRID=4674;POINT (-39.138069 -3.123251)', '2026-07-10 16:05:04', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:05:04'::timestamp) - extract(epoch from '2026-07-10 16:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:05:04'::timestamp) - extract(epoch from '2026-07-10 16:04: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'), 47521, 'SRID=4674;POINT (-39.138077 -3.123242)', '2026-07-10 16:05:13', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:05:13'::timestamp) - extract(epoch from '2026-07-10 16:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:05:13'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47521, 'SRID=4674;POINT (-39.138075 -3.123245)', '2026-07-10 16:05:20', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:05:20'::timestamp) - extract(epoch from '2026-07-10 16:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:05:20'::timestamp) - extract(epoch from '2026-07-10 16:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138077 -3.123238)', '2026-07-10 16:05:30', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123238)'))) / (select extract(epoch from '2026-07-10 16:05:30'::timestamp) - extract(epoch from '2026-07-10 16:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123238)'))) / (select extract(epoch from '2026-07-10 16:05:30'::timestamp) - extract(epoch from '2026-07-10 16:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138074 -3.123241)', '2026-07-10 16:05:38', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123238)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:05:38'::timestamp) - extract(epoch from '2026-07-10 16:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123238)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:05:38'::timestamp) - extract(epoch from '2026-07-10 16:05:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138079 -3.123242)', '2026-07-10 16:05:48', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:05:48'::timestamp) - extract(epoch from '2026-07-10 16:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:05:48'::timestamp) - extract(epoch from '2026-07-10 16:05:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138082 -3.123243)', '2026-07-10 16:05:57', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:05:57'::timestamp) - extract(epoch from '2026-07-10 16:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:05:57'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138083 -3.123241)', '2026-07-10 16:05:58', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:05:58'::timestamp) - extract(epoch from '2026-07-10 16:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:05:58'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47521, 'SRID=4674;POINT (-39.138074 -3.123249)', '2026-07-10 16:06:05', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:06:05'::timestamp) - extract(epoch from '2026-07-10 16:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:06:05'::timestamp) - extract(epoch from '2026-07-10 16:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138077 -3.123249)', '2026-07-10 16:06:15', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:06:15'::timestamp) - extract(epoch from '2026-07-10 16:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:06:15'::timestamp) - extract(epoch from '2026-07-10 16:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138085 -3.123245)', '2026-07-10 16:06:22', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:06:22'::timestamp) - extract(epoch from '2026-07-10 16:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:06:22'::timestamp) - extract(epoch from '2026-07-10 16:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138083 -3.12325)', '2026-07-10 16:06:28', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:06:28'::timestamp) - extract(epoch from '2026-07-10 16:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:06:28'::timestamp) - extract(epoch from '2026-07-10 16:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13808 -3.123252)', '2026-07-10 16:06:34', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:06:34'::timestamp) - extract(epoch from '2026-07-10 16:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:06:34'::timestamp) - extract(epoch from '2026-07-10 16:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138074 -3.123259)', '2026-07-10 16:06:41', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:06:41'::timestamp) - extract(epoch from '2026-07-10 16:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:06:41'::timestamp) - extract(epoch from '2026-07-10 16:06:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138071 -3.12326)', '2026-07-10 16:06:49', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.12326)'))) / (select extract(epoch from '2026-07-10 16:06:49'::timestamp) - extract(epoch from '2026-07-10 16:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.12326)'))) / (select extract(epoch from '2026-07-10 16:06:49'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138076 -3.123259)', '2026-07-10 16:06:55', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:06:55'::timestamp) - extract(epoch from '2026-07-10 16:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:06:55'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123257)', '2026-07-10 16:07:06', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:07:06'::timestamp) - extract(epoch from '2026-07-10 16:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:07:06'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123259)', '2026-07-10 16:07:15', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:07:15'::timestamp) - extract(epoch from '2026-07-10 16:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:07:15'::timestamp) - extract(epoch from '2026-07-10 16:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138085 -3.123258)', '2026-07-10 16:07:24', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:07:24'::timestamp) - extract(epoch from '2026-07-10 16:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:07:24'::timestamp) - extract(epoch from '2026-07-10 16:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138088 -3.123258)', '2026-07-10 16:07:30', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:07:30'::timestamp) - extract(epoch from '2026-07-10 16:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:07:30'::timestamp) - extract(epoch from '2026-07-10 16:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138091 -3.123262)', '2026-07-10 16:07:40', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123262)'))) / (select extract(epoch from '2026-07-10 16:07:40'::timestamp) - extract(epoch from '2026-07-10 16:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123262)'))) / (select extract(epoch from '2026-07-10 16:07:40'::timestamp) - extract(epoch from '2026-07-10 16:07: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'), 47521, 'SRID=4674;POINT (-39.138097 -3.123264)', '2026-07-10 16:07:52', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:07:52'::timestamp) - extract(epoch from '2026-07-10 16:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:07:52'::timestamp) - extract(epoch from '2026-07-10 16:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138103 -3.123267)', '2026-07-10 16:07:59', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123267)'))) / (select extract(epoch from '2026-07-10 16:07:59'::timestamp) - extract(epoch from '2026-07-10 16:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123267)'))) / (select extract(epoch from '2026-07-10 16:07:59'::timestamp) - extract(epoch from '2026-07-10 16:07:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138102 -3.12327)', '2026-07-10 16:08:07', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.12327)'))) / (select extract(epoch from '2026-07-10 16:08:07'::timestamp) - extract(epoch from '2026-07-10 16:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.12327)'))) / (select extract(epoch from '2026-07-10 16:08:07'::timestamp) - extract(epoch from '2026-07-10 16:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138102 -3.123271)', '2026-07-10 16:08:13', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.12327)'), GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:08:13'::timestamp) - extract(epoch from '2026-07-10 16:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.12327)'), GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:08:13'::timestamp) - extract(epoch from '2026-07-10 16:08: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'), 47521, 'SRID=4674;POINT (-39.138109 -3.123265)', '2026-07-10 16:08:23', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123265)'))) / (select extract(epoch from '2026-07-10 16:08:23'::timestamp) - extract(epoch from '2026-07-10 16:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123265)'))) / (select extract(epoch from '2026-07-10 16:08:23'::timestamp) - extract(epoch from '2026-07-10 16:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138105 -3.123267)', '2026-07-10 16:08:30', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123267)'))) / (select extract(epoch from '2026-07-10 16:08:30'::timestamp) - extract(epoch from '2026-07-10 16:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123267)'))) / (select extract(epoch from '2026-07-10 16:08:30'::timestamp) - extract(epoch from '2026-07-10 16:08: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'), 47521, 'SRID=4674;POINT (-39.138109 -3.123271)', '2026-07-10 16:08:42', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:08:42'::timestamp) - extract(epoch from '2026-07-10 16:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:08:42'::timestamp) - extract(epoch from '2026-07-10 16:08: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'), 47521, 'SRID=4674;POINT (-39.138114 -3.123266)', '2026-07-10 16:08:49', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123266)'))) / (select extract(epoch from '2026-07-10 16:08:49'::timestamp) - extract(epoch from '2026-07-10 16:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123266)'))) / (select extract(epoch from '2026-07-10 16:08:49'::timestamp) - extract(epoch from '2026-07-10 16:08: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'), 47521, 'SRID=4674;POINT (-39.138114 -3.123267)', '2026-07-10 16:09:00', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123267)'))) / (select extract(epoch from '2026-07-10 16:09:00'::timestamp) - extract(epoch from '2026-07-10 16:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123267)'))) / (select extract(epoch from '2026-07-10 16:09:00'::timestamp) - extract(epoch from '2026-07-10 16:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138116 -3.12327)', '2026-07-10 16:09:07', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.12327)'))) / (select extract(epoch from '2026-07-10 16:09:07'::timestamp) - extract(epoch from '2026-07-10 16:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.12327)'))) / (select extract(epoch from '2026-07-10 16:09:07'::timestamp) - extract(epoch from '2026-07-10 16:09:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138111 -3.123273)', '2026-07-10 16:09:12', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.12327)'), GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123273)'))) / (select extract(epoch from '2026-07-10 16:09:12'::timestamp) - extract(epoch from '2026-07-10 16:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.12327)'), GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123273)'))) / (select extract(epoch from '2026-07-10 16:09:12'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138117 -3.123273)', '2026-07-10 16:09:23', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123273)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123273)'))) / (select extract(epoch from '2026-07-10 16:09:23'::timestamp) - extract(epoch from '2026-07-10 16:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123273)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123273)'))) / (select extract(epoch from '2026-07-10 16:09:23'::timestamp) - extract(epoch from '2026-07-10 16:09: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'), 47521, 'SRID=4674;POINT (-39.138112 -3.123271)', '2026-07-10 16:09:31', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123273)'), GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:09:31'::timestamp) - extract(epoch from '2026-07-10 16:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123273)'), GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:09:31'::timestamp) - extract(epoch from '2026-07-10 16:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138114 -3.123274)', '2026-07-10 16:09:37', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123274)'))) / (select extract(epoch from '2026-07-10 16:09:37'::timestamp) - extract(epoch from '2026-07-10 16:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123274)'))) / (select extract(epoch from '2026-07-10 16:09:37'::timestamp) - extract(epoch from '2026-07-10 16:09: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'), 47521, 'SRID=4674;POINT (-39.138108 -3.123268)', '2026-07-10 16:09:48', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123274)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:09:48'::timestamp) - extract(epoch from '2026-07-10 16:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123274)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:09:48'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138103 -3.123273)', '2026-07-10 16:09:58', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123273)'))) / (select extract(epoch from '2026-07-10 16:09:58'::timestamp) - extract(epoch from '2026-07-10 16:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123273)'))) / (select extract(epoch from '2026-07-10 16:09:58'::timestamp) - extract(epoch from '2026-07-10 16:09: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'), 47521, 'SRID=4674;POINT (-39.138089 -3.123272)', '2026-07-10 16:10:06', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123273)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123272)'))) / (select extract(epoch from '2026-07-10 16:10:06'::timestamp) - extract(epoch from '2026-07-10 16:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123273)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123272)'))) / (select extract(epoch from '2026-07-10 16:10:06'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138076 -3.123267)', '2026-07-10 16:10:16', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123272)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123267)'))) / (select extract(epoch from '2026-07-10 16:10:16'::timestamp) - extract(epoch from '2026-07-10 16:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123272)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123267)'))) / (select extract(epoch from '2026-07-10 16:10:16'::timestamp) - extract(epoch from '2026-07-10 16:10: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'), 47521, 'SRID=4674;POINT (-39.138097 -3.123264)', '2026-07-10 16:10:25', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:10:25'::timestamp) - extract(epoch from '2026-07-10 16:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123267)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:10:25'::timestamp) - extract(epoch from '2026-07-10 16:10: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123268)', '2026-07-10 16:10:30', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:10:30'::timestamp) - extract(epoch from '2026-07-10 16:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:10:30'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.13808 -3.123268)', '2026-07-10 16:10:37', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:10:37'::timestamp) - extract(epoch from '2026-07-10 16:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:10:37'::timestamp) - extract(epoch from '2026-07-10 16:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138087 -3.123268)', '2026-07-10 16:10:48', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:10:48'::timestamp) - extract(epoch from '2026-07-10 16:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:10:48'::timestamp) - extract(epoch from '2026-07-10 16:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138082 -3.123269)', '2026-07-10 16:10:57', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123269)'))) / (select extract(epoch from '2026-07-10 16:10:57'::timestamp) - extract(epoch from '2026-07-10 16:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123269)'))) / (select extract(epoch from '2026-07-10 16:10:57'::timestamp) - extract(epoch from '2026-07-10 16:10: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123263)', '2026-07-10 16:11:04', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123263)'))) / (select extract(epoch from '2026-07-10 16:11:04'::timestamp) - extract(epoch from '2026-07-10 16:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123263)'))) / (select extract(epoch from '2026-07-10 16:11:04'::timestamp) - extract(epoch from '2026-07-10 16:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138086 -3.123262)', '2026-07-10 16:11:15', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123262)'))) / (select extract(epoch from '2026-07-10 16:11:15'::timestamp) - extract(epoch from '2026-07-10 16:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123263)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123262)'))) / (select extract(epoch from '2026-07-10 16:11:15'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123266)', '2026-07-10 16:11:28', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123266)'))) / (select extract(epoch from '2026-07-10 16:11:28'::timestamp) - extract(epoch from '2026-07-10 16:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123266)'))) / (select extract(epoch from '2026-07-10 16:11:28'::timestamp) - extract(epoch from '2026-07-10 16:11: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'), 47521, 'SRID=4674;POINT (-39.13808 -3.123264)', '2026-07-10 16:11:37', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:11:37'::timestamp) - extract(epoch from '2026-07-10 16:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:11:37'::timestamp) - extract(epoch from '2026-07-10 16:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13808 -3.123272)', '2026-07-10 16:11:45', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123272)'))) / (select extract(epoch from '2026-07-10 16:11:45'::timestamp) - extract(epoch from '2026-07-10 16:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123272)'))) / (select extract(epoch from '2026-07-10 16:11:45'::timestamp) - extract(epoch from '2026-07-10 16:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138086 -3.123282)', '2026-07-10 16:11:56', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123272)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123282)'))) / (select extract(epoch from '2026-07-10 16:11:56'::timestamp) - extract(epoch from '2026-07-10 16:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123272)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123282)'))) / (select extract(epoch from '2026-07-10 16:11:56'::timestamp) - extract(epoch from '2026-07-10 16:11: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'), 47521, 'SRID=4674;POINT (-39.138089 -3.12328)', '2026-07-10 16:12:07', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123282)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:12:07'::timestamp) - extract(epoch from '2026-07-10 16:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123282)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:12:07'::timestamp) - extract(epoch from '2026-07-10 16:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138091 -3.12328)', '2026-07-10 16:12:17', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:12:17'::timestamp) - extract(epoch from '2026-07-10 16:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:12:17'::timestamp) - extract(epoch from '2026-07-10 16:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138092 -3.123278)', '2026-07-10 16:12:29', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123278)'))) / (select extract(epoch from '2026-07-10 16:12:29'::timestamp) - extract(epoch from '2026-07-10 16:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123278)'))) / (select extract(epoch from '2026-07-10 16:12:29'::timestamp) - extract(epoch from '2026-07-10 16:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138093 -3.12328)', '2026-07-10 16:12:41', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123278)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:12:41'::timestamp) - extract(epoch from '2026-07-10 16:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123278)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:12:41'::timestamp) - extract(epoch from '2026-07-10 16:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138083 -3.12329)', '2026-07-10 16:12:50', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12329)'))) / (select extract(epoch from '2026-07-10 16:12:50'::timestamp) - extract(epoch from '2026-07-10 16:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12329)'))) / (select extract(epoch from '2026-07-10 16:12:50'::timestamp) - extract(epoch from '2026-07-10 16:12:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138078 -3.123288)', '2026-07-10 16:12:59', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12329)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123288)'))) / (select extract(epoch from '2026-07-10 16:12:59'::timestamp) - extract(epoch from '2026-07-10 16:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12329)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123288)'))) / (select extract(epoch from '2026-07-10 16:12:59'::timestamp) - extract(epoch from '2026-07-10 16:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138091 -3.123291)', '2026-07-10 16:13:11', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:13:11'::timestamp) - extract(epoch from '2026-07-10 16:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:13:11'::timestamp) - extract(epoch from '2026-07-10 16:12: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123288)', '2026-07-10 16:13:20', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123288)'))) / (select extract(epoch from '2026-07-10 16:13:20'::timestamp) - extract(epoch from '2026-07-10 16:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123288)'))) / (select extract(epoch from '2026-07-10 16:13:20'::timestamp) - extract(epoch from '2026-07-10 16:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138086 -3.123289)', '2026-07-10 16:13:29', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123289)'))) / (select extract(epoch from '2026-07-10 16:13:29'::timestamp) - extract(epoch from '2026-07-10 16:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123289)'))) / (select extract(epoch from '2026-07-10 16:13:29'::timestamp) - extract(epoch from '2026-07-10 16:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138088 -3.12328)', '2026-07-10 16:13:40', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:13:40'::timestamp) - extract(epoch from '2026-07-10 16:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:13:40'::timestamp) - extract(epoch from '2026-07-10 16:13:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138089 -3.123289)', '2026-07-10 16:13:47', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123289)'))) / (select extract(epoch from '2026-07-10 16:13:47'::timestamp) - extract(epoch from '2026-07-10 16:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123289)'))) / (select extract(epoch from '2026-07-10 16:13:47'::timestamp) - extract(epoch from '2026-07-10 16:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138088 -3.123289)', '2026-07-10 16:13:56', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123289)'))) / (select extract(epoch from '2026-07-10 16:13:56'::timestamp) - extract(epoch from '2026-07-10 16:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123289)'))) / (select extract(epoch from '2026-07-10 16:13:56'::timestamp) - extract(epoch from '2026-07-10 16:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138095 -3.123291)', '2026-07-10 16:14:02', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:14:02'::timestamp) - extract(epoch from '2026-07-10 16:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:14:02'::timestamp) - extract(epoch from '2026-07-10 16:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138098 -3.123277)', '2026-07-10 16:14:15', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123277)'))) / (select extract(epoch from '2026-07-10 16:14:15'::timestamp) - extract(epoch from '2026-07-10 16:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123277)'))) / (select extract(epoch from '2026-07-10 16:14:15'::timestamp) - extract(epoch from '2026-07-10 16:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138086 -3.123276)', '2026-07-10 16:14:26', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123277)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123276)'))) / (select extract(epoch from '2026-07-10 16:14:26'::timestamp) - extract(epoch from '2026-07-10 16:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123277)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123276)'))) / (select extract(epoch from '2026-07-10 16:14:26'::timestamp) - extract(epoch from '2026-07-10 16:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138092 -3.123283)', '2026-07-10 16:14:32', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123276)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123283)'))) / (select extract(epoch from '2026-07-10 16:14:32'::timestamp) - extract(epoch from '2026-07-10 16:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123276)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123283)'))) / (select extract(epoch from '2026-07-10 16:14:32'::timestamp) - extract(epoch from '2026-07-10 16:14: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'), 47521, 'SRID=4674;POINT (-39.138092 -3.12329)', '2026-07-10 16:14:40', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12329)'))) / (select extract(epoch from '2026-07-10 16:14:40'::timestamp) - extract(epoch from '2026-07-10 16:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12329)'))) / (select extract(epoch from '2026-07-10 16:14:40'::timestamp) - extract(epoch from '2026-07-10 16:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138087 -3.12329)', '2026-07-10 16:14:51', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12329)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12329)'))) / (select extract(epoch from '2026-07-10 16:14:51'::timestamp) - extract(epoch from '2026-07-10 16:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12329)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12329)'))) / (select extract(epoch from '2026-07-10 16:14:51'::timestamp) - extract(epoch from '2026-07-10 16:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138091 -3.123288)', '2026-07-10 16:14:59', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12329)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123288)'))) / (select extract(epoch from '2026-07-10 16:14:59'::timestamp) - extract(epoch from '2026-07-10 16:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12329)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123288)'))) / (select extract(epoch from '2026-07-10 16:14:59'::timestamp) - extract(epoch from '2026-07-10 16:14: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'), 47521, 'SRID=4674;POINT (-39.138096 -3.123283)', '2026-07-10 16:15:09', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123283)'))) / (select extract(epoch from '2026-07-10 16:15:09'::timestamp) - extract(epoch from '2026-07-10 16:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123283)'))) / (select extract(epoch from '2026-07-10 16:15:09'::timestamp) - extract(epoch from '2026-07-10 16:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138094 -3.123279)', '2026-07-10 16:15:11', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123279)'))) / (select extract(epoch from '2026-07-10 16:15:11'::timestamp) - extract(epoch from '2026-07-10 16:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123279)'))) / (select extract(epoch from '2026-07-10 16:15:11'::timestamp) - extract(epoch from '2026-07-10 16:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138089 -3.123273)', '2026-07-10 16:15:13', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123279)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123273)'))) / (select extract(epoch from '2026-07-10 16:15:13'::timestamp) - extract(epoch from '2026-07-10 16:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123279)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123273)'))) / (select extract(epoch from '2026-07-10 16:15:13'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47521, 'SRID=4674;POINT (-39.138102 -3.123278)', '2026-07-10 16:15:22', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123273)'), GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123278)'))) / (select extract(epoch from '2026-07-10 16:15:22'::timestamp) - extract(epoch from '2026-07-10 16:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123273)'), GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123278)'))) / (select extract(epoch from '2026-07-10 16:15:22'::timestamp) - extract(epoch from '2026-07-10 16:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138096 -3.123281)', '2026-07-10 16:15:31', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123278)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123281)'))) / (select extract(epoch from '2026-07-10 16:15:31'::timestamp) - extract(epoch from '2026-07-10 16:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123278)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123281)'))) / (select extract(epoch from '2026-07-10 16:15:31'::timestamp) - extract(epoch from '2026-07-10 16:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138093 -3.12328)', '2026-07-10 16:15:39', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123281)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:15:39'::timestamp) - extract(epoch from '2026-07-10 16:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123281)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:15:39'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47521, 'SRID=4674;POINT (-39.138094 -3.123277)', '2026-07-10 16:15:45', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123277)'))) / (select extract(epoch from '2026-07-10 16:15:45'::timestamp) - extract(epoch from '2026-07-10 16:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123277)'))) / (select extract(epoch from '2026-07-10 16:15:45'::timestamp) - extract(epoch from '2026-07-10 16:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138096 -3.123283)', '2026-07-10 16:15:57', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123277)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123283)'))) / (select extract(epoch from '2026-07-10 16:15:57'::timestamp) - extract(epoch from '2026-07-10 16:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123277)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123283)'))) / (select extract(epoch from '2026-07-10 16:15:57'::timestamp) - extract(epoch from '2026-07-10 16:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138093 -3.123285)', '2026-07-10 16:16:06', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123285)'))) / (select extract(epoch from '2026-07-10 16:16:06'::timestamp) - extract(epoch from '2026-07-10 16:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123285)'))) / (select extract(epoch from '2026-07-10 16:16:06'::timestamp) - extract(epoch from '2026-07-10 16:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138098 -3.123286)', '2026-07-10 16:16:13', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123286)'))) / (select extract(epoch from '2026-07-10 16:16:13'::timestamp) - extract(epoch from '2026-07-10 16:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123286)'))) / (select extract(epoch from '2026-07-10 16:16:13'::timestamp) - extract(epoch from '2026-07-10 16:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138097 -3.12328)', '2026-07-10 16:16:22', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:16:22'::timestamp) - extract(epoch from '2026-07-10 16:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123286)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:16:22'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47521, 'SRID=4674;POINT (-39.138103 -3.123278)', '2026-07-10 16:16:31', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123278)'))) / (select extract(epoch from '2026-07-10 16:16:31'::timestamp) - extract(epoch from '2026-07-10 16:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123278)'))) / (select extract(epoch from '2026-07-10 16:16:31'::timestamp) - extract(epoch from '2026-07-10 16:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138103 -3.123275)', '2026-07-10 16:16:42', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123278)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123275)'))) / (select extract(epoch from '2026-07-10 16:16:42'::timestamp) - extract(epoch from '2026-07-10 16:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123278)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123275)'))) / (select extract(epoch from '2026-07-10 16:16:42'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47521, 'SRID=4674;POINT (-39.138095 -3.123272)', '2026-07-10 16:16:49', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123275)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123272)'))) / (select extract(epoch from '2026-07-10 16:16:49'::timestamp) - extract(epoch from '2026-07-10 16:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123275)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123272)'))) / (select extract(epoch from '2026-07-10 16:16:49'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47521, 'SRID=4674;POINT (-39.138095 -3.123266)', '2026-07-10 16:16:57', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123272)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123266)'))) / (select extract(epoch from '2026-07-10 16:16:57'::timestamp) - extract(epoch from '2026-07-10 16:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123272)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123266)'))) / (select extract(epoch from '2026-07-10 16:16:57'::timestamp) - extract(epoch from '2026-07-10 16:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138092 -3.12327)', '2026-07-10 16:17:05', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12327)'))) / (select extract(epoch from '2026-07-10 16:17:05'::timestamp) - extract(epoch from '2026-07-10 16:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123266)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12327)'))) / (select extract(epoch from '2026-07-10 16:17:05'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47521, 'SRID=4674;POINT (-39.138102 -3.123258)', '2026-07-10 16:17:14', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12327)'), GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:17:14'::timestamp) - extract(epoch from '2026-07-10 16:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12327)'), GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:17:14'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47521, 'SRID=4674;POINT (-39.138091 -3.123251)', '2026-07-10 16:17:23', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:17:23'::timestamp) - extract(epoch from '2026-07-10 16:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138102 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:17:23'::timestamp) - extract(epoch from '2026-07-10 16:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138088 -3.123257)', '2026-07-10 16:17:32', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:17:32'::timestamp) - extract(epoch from '2026-07-10 16:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:17:32'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123258)', '2026-07-10 16:17:41', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:17:41'::timestamp) - extract(epoch from '2026-07-10 16:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:17:41'::timestamp) - extract(epoch from '2026-07-10 16:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138084 -3.12325)', '2026-07-10 16:17:49', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:17:49'::timestamp) - extract(epoch from '2026-07-10 16:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:17:49'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47521, 'SRID=4674;POINT (-39.13808 -3.123243)', '2026-07-10 16:17:59', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:17:59'::timestamp) - extract(epoch from '2026-07-10 16:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:17:59'::timestamp) - extract(epoch from '2026-07-10 16:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138078 -3.123241)', '2026-07-10 16:18:11', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:18:11'::timestamp) - extract(epoch from '2026-07-10 16:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:18:11'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123248)', '2026-07-10 16:18:24', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:18:24'::timestamp) - extract(epoch from '2026-07-10 16:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:18:24'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123246)', '2026-07-10 16:18:31', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:18:31'::timestamp) - extract(epoch from '2026-07-10 16:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:18:31'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123246)', '2026-07-10 16:18:40', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:18:40'::timestamp) - extract(epoch from '2026-07-10 16:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:18:40'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47521, 'SRID=4674;POINT (-39.13807 -3.123247)', '2026-07-10 16:18:53', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:18:53'::timestamp) - extract(epoch from '2026-07-10 16:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:18:53'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47521, 'SRID=4674;POINT (-39.138077 -3.123244)', '2026-07-10 16:19:02', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123244)'))) / (select extract(epoch from '2026-07-10 16:19:02'::timestamp) - extract(epoch from '2026-07-10 16:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123244)'))) / (select extract(epoch from '2026-07-10 16:19:02'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47521, 'SRID=4674;POINT (-39.138078 -3.123248)', '2026-07-10 16:19:13', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123244)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:19:13'::timestamp) - extract(epoch from '2026-07-10 16:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123244)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:19:13'::timestamp) - extract(epoch from '2026-07-10 16:19: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'), 47521, 'SRID=4674;POINT (-39.138077 -3.123247)', '2026-07-10 16:19:21', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:19:21'::timestamp) - extract(epoch from '2026-07-10 16:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:19:21'::timestamp) - extract(epoch from '2026-07-10 16:19: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'), 47521, 'SRID=4674;POINT (-39.138084 -3.123241)', '2026-07-10 16:19:28', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:19:28'::timestamp) - extract(epoch from '2026-07-10 16:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:19:28'::timestamp) - extract(epoch from '2026-07-10 16:19: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123243)', '2026-07-10 16:19:37', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:19:37'::timestamp) - extract(epoch from '2026-07-10 16:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:19:37'::timestamp) - extract(epoch from '2026-07-10 16:19:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138078 -3.123246)', '2026-07-10 16:19:51', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:19:51'::timestamp) - extract(epoch from '2026-07-10 16:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:19:51'::timestamp) - extract(epoch from '2026-07-10 16:19: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'), 47521, 'SRID=4674;POINT (-39.138076 -3.123251)', '2026-07-10 16:20:01', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:20:01'::timestamp) - extract(epoch from '2026-07-10 16:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:20:01'::timestamp) - extract(epoch from '2026-07-10 16:19:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138067 -3.123245)', '2026-07-10 16:20:10', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:20:10'::timestamp) - extract(epoch from '2026-07-10 16:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:20:10'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47521, 'SRID=4674;POINT (-39.138072 -3.12324)', '2026-07-10 16:20:18', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:20:18'::timestamp) - extract(epoch from '2026-07-10 16:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:20:18'::timestamp) - extract(epoch from '2026-07-10 16:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138068 -3.123247)', '2026-07-10 16:20:26', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:20:26'::timestamp) - extract(epoch from '2026-07-10 16:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:20:26'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47521, 'SRID=4674;POINT (-39.138069 -3.123242)', '2026-07-10 16:20:35', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:20:35'::timestamp) - extract(epoch from '2026-07-10 16:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:20:35'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.13806 -3.123244)', '2026-07-10 16:20:43', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123244)'))) / (select extract(epoch from '2026-07-10 16:20:43'::timestamp) - extract(epoch from '2026-07-10 16:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123244)'))) / (select extract(epoch from '2026-07-10 16:20:43'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47521, 'SRID=4674;POINT (-39.138065 -3.123236)', '2026-07-10 16:20:51', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123244)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123236)'))) / (select extract(epoch from '2026-07-10 16:20:51'::timestamp) - extract(epoch from '2026-07-10 16:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123244)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123236)'))) / (select extract(epoch from '2026-07-10 16:20:51'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138059 -3.123243)', '2026-07-10 16:21:10', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123236)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:21:10'::timestamp) - extract(epoch from '2026-07-10 16:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123236)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:21:10'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47521, 'SRID=4674;POINT (-39.138054 -3.12325)', '2026-07-10 16:21:17', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:21:17'::timestamp) - extract(epoch from '2026-07-10 16:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:21:17'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47521, 'SRID=4674;POINT (-39.138054 -3.123248)', '2026-07-10 16:21:27', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:21:27'::timestamp) - extract(epoch from '2026-07-10 16:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:21:27'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138061 -3.123246)', '2026-07-10 16:21:43', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:21:43'::timestamp) - extract(epoch from '2026-07-10 16:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:21:43'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47521, 'SRID=4674;POINT (-39.138072 -3.12325)', '2026-07-10 16:22:01', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:22:01'::timestamp) - extract(epoch from '2026-07-10 16:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:22:01'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47521, 'SRID=4674;POINT (-39.138068 -3.12325)', '2026-07-10 16:22:09', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:22:09'::timestamp) - extract(epoch from '2026-07-10 16:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:22:09'::timestamp) - extract(epoch from '2026-07-10 16:22: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'), 47521, 'SRID=4674;POINT (-39.138072 -3.123251)', '2026-07-10 16:22:20', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:22:20'::timestamp) - extract(epoch from '2026-07-10 16:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:22:20'::timestamp) - extract(epoch from '2026-07-10 16:22:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138073 -3.12325)', '2026-07-10 16:22:31', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:22:31'::timestamp) - extract(epoch from '2026-07-10 16:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:22:31'::timestamp) - extract(epoch from '2026-07-10 16:22: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'), 47521, 'SRID=4674;POINT (-39.138072 -3.123254)', '2026-07-10 16:22:41', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:22:41'::timestamp) - extract(epoch from '2026-07-10 16:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:22:41'::timestamp) - extract(epoch from '2026-07-10 16:22: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'), 47521, 'SRID=4674;POINT (-39.138074 -3.123257)', '2026-07-10 16:22:47', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:22:47'::timestamp) - extract(epoch from '2026-07-10 16:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:22:47'::timestamp) - extract(epoch from '2026-07-10 16:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138078 -3.123261)', '2026-07-10 16:22:57', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123261)'))) / (select extract(epoch from '2026-07-10 16:22:57'::timestamp) - extract(epoch from '2026-07-10 16:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123261)'))) / (select extract(epoch from '2026-07-10 16:22:57'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138084 -3.12326)', '2026-07-10 16:23:07', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123261)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12326)'))) / (select extract(epoch from '2026-07-10 16:23:07'::timestamp) - extract(epoch from '2026-07-10 16:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123261)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12326)'))) / (select extract(epoch from '2026-07-10 16:23:07'::timestamp) - extract(epoch from '2026-07-10 16:22: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'), 47521, 'SRID=4674;POINT (-39.138081 -3.123259)', '2026-07-10 16:23:22', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:23:22'::timestamp) - extract(epoch from '2026-07-10 16:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:23:22'::timestamp) - extract(epoch from '2026-07-10 16:23: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'), 47521, 'SRID=4674;POINT (-39.138075 -3.123258)', '2026-07-10 16:23:28', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:23:28'::timestamp) - extract(epoch from '2026-07-10 16:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:23:28'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138084 -3.123268)', '2026-07-10 16:23:38', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:23:38'::timestamp) - extract(epoch from '2026-07-10 16:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:23:38'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.13807 -3.123271)', '2026-07-10 16:23:44', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:23:44'::timestamp) - extract(epoch from '2026-07-10 16:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:23:44'::timestamp) - extract(epoch from '2026-07-10 16:23: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'), 47521, 'SRID=4674;POINT (-39.138072 -3.123268)', '2026-07-10 16:23:50', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:23:50'::timestamp) - extract(epoch from '2026-07-10 16:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:23:50'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138072 -3.123265)', '2026-07-10 16:23:59', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123265)'))) / (select extract(epoch from '2026-07-10 16:23:59'::timestamp) - extract(epoch from '2026-07-10 16:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123265)'))) / (select extract(epoch from '2026-07-10 16:23:59'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138069 -3.12326)', '2026-07-10 16:24:12', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.12326)'))) / (select extract(epoch from '2026-07-10 16:24:12'::timestamp) - extract(epoch from '2026-07-10 16:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.12326)'))) / (select extract(epoch from '2026-07-10 16:24:12'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138069 -3.123254)', '2026-07-10 16:24:21', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:24:21'::timestamp) - extract(epoch from '2026-07-10 16:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:24:21'::timestamp) - extract(epoch from '2026-07-10 16:24: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'), 47521, 'SRID=4674;POINT (-39.138077 -3.123253)', '2026-07-10 16:24:30', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123253)'))) / (select extract(epoch from '2026-07-10 16:24:30'::timestamp) - extract(epoch from '2026-07-10 16:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123253)'))) / (select extract(epoch from '2026-07-10 16:24:30'::timestamp) - extract(epoch from '2026-07-10 16:24: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'), 47521, 'SRID=4674;POINT (-39.13807 -3.123253)', '2026-07-10 16:24:39', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123253)'))) / (select extract(epoch from '2026-07-10 16:24:39'::timestamp) - extract(epoch from '2026-07-10 16:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123253)'))) / (select extract(epoch from '2026-07-10 16:24:39'::timestamp) - extract(epoch from '2026-07-10 16:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138086 -3.123251)', '2026-07-10 16:24:48', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:24:48'::timestamp) - extract(epoch from '2026-07-10 16:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:24:48'::timestamp) - extract(epoch from '2026-07-10 16:24: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'), 47521, 'SRID=4674;POINT (-39.13809 -3.12325)', '2026-07-10 16:24:49', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:24:49'::timestamp) - extract(epoch from '2026-07-10 16:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:24:49'::timestamp) - extract(epoch from '2026-07-10 16:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138082 -3.123251)', '2026-07-10 16:24:57', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:24:57'::timestamp) - extract(epoch from '2026-07-10 16:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:24:57'::timestamp) - extract(epoch from '2026-07-10 16:24: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'), 47521, 'SRID=4674;POINT (-39.138092 -3.123247)', '2026-07-10 16:25:06', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:25:06'::timestamp) - extract(epoch from '2026-07-10 16:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:25:06'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.13809 -3.123255)', '2026-07-10 16:25:13', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:25:13'::timestamp) - extract(epoch from '2026-07-10 16:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:25:13'::timestamp) - extract(epoch from '2026-07-10 16:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
