 INSERT INTO registro_rota_ponto (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.123343)', '2026-07-10 17:30:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:30:36'::timestamp) - extract(epoch from '2026-07-10 17:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:30:36'::timestamp) - extract(epoch from '2026-07-10 17:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138103 -3.123343)', '2026-07-10 17:30:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:30:43'::timestamp) - extract(epoch from '2026-07-10 17:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:30:43'::timestamp) - extract(epoch from '2026-07-10 17:30: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.138099 -3.123346)', '2026-07-10 17:30:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123346)'))) / (select extract(epoch from '2026-07-10 17:30:53'::timestamp) - extract(epoch from '2026-07-10 17:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123346)'))) / (select extract(epoch from '2026-07-10 17:30:53'::timestamp) - extract(epoch from '2026-07-10 17:30:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138107 -3.12335)', '2026-07-10 17:31:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.12335)'))) / (select extract(epoch from '2026-07-10 17:31:03'::timestamp) - extract(epoch from '2026-07-10 17:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.12335)'))) / (select extract(epoch from '2026-07-10 17:31:03'::timestamp) - extract(epoch from '2026-07-10 17:30: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.138106 -3.123344)', '2026-07-10 17:31:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123344)'))) / (select extract(epoch from '2026-07-10 17:31:12'::timestamp) - extract(epoch from '2026-07-10 17:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123344)'))) / (select extract(epoch from '2026-07-10 17:31:12'::timestamp) - extract(epoch from '2026-07-10 17: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.138108 -3.123344)', '2026-07-10 17:31:23', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123344)'))) / (select extract(epoch from '2026-07-10 17:31:23'::timestamp) - extract(epoch from '2026-07-10 17:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123344)'))) / (select extract(epoch from '2026-07-10 17:31:23'::timestamp) - extract(epoch from '2026-07-10 17:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138108 -3.123342)', '2026-07-10 17:31:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:31:30'::timestamp) - extract(epoch from '2026-07-10 17:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:31:30'::timestamp) - extract(epoch from '2026-07-10 17:31: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.138111 -3.123338)', '2026-07-10 17:31:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:31:40'::timestamp) - extract(epoch from '2026-07-10 17:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:31:40'::timestamp) - extract(epoch from '2026-07-10 17:31: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.138115 -3.123337)', '2026-07-10 17:31:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123337)'))) / (select extract(epoch from '2026-07-10 17:31:48'::timestamp) - extract(epoch from '2026-07-10 17:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123337)'))) / (select extract(epoch from '2026-07-10 17:31:48'::timestamp) - extract(epoch from '2026-07-10 17:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138118 -3.123345)', '2026-07-10 17:31:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123345)'))) / (select extract(epoch from '2026-07-10 17:31:56'::timestamp) - extract(epoch from '2026-07-10 17:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123345)'))) / (select extract(epoch from '2026-07-10 17:31:56'::timestamp) - extract(epoch from '2026-07-10 17:31: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.138122 -3.123341)', '2026-07-10 17:32:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123341)'))) / (select extract(epoch from '2026-07-10 17:32:03'::timestamp) - extract(epoch from '2026-07-10 17:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123341)'))) / (select extract(epoch from '2026-07-10 17:32:03'::timestamp) - extract(epoch from '2026-07-10 17:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138125 -3.123349)', '2026-07-10 17:32:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123349)'))) / (select extract(epoch from '2026-07-10 17:32:13'::timestamp) - extract(epoch from '2026-07-10 17:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123349)'))) / (select extract(epoch from '2026-07-10 17:32:13'::timestamp) - extract(epoch from '2026-07-10 17:32: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.138118 -3.123347)', '2026-07-10 17:32:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123347)'))) / (select extract(epoch from '2026-07-10 17:32:23'::timestamp) - extract(epoch from '2026-07-10 17:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123347)'))) / (select extract(epoch from '2026-07-10 17:32:23'::timestamp) - extract(epoch from '2026-07-10 17:32: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.138117 -3.123341)', '2026-07-10 17:32:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123341)'))) / (select extract(epoch from '2026-07-10 17:32:32'::timestamp) - extract(epoch from '2026-07-10 17:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123341)'))) / (select extract(epoch from '2026-07-10 17:32:32'::timestamp) - extract(epoch from '2026-07-10 17:32: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.138115 -3.123343)', '2026-07-10 17:32:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:32:38'::timestamp) - extract(epoch from '2026-07-10 17:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:32:38'::timestamp) - extract(epoch from '2026-07-10 17:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138117 -3.123338)', '2026-07-10 17:32:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:32:46'::timestamp) - extract(epoch from '2026-07-10 17:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:32:46'::timestamp) - extract(epoch from '2026-07-10 17:32: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.138119 -3.123344)', '2026-07-10 17:32:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123344)'))) / (select extract(epoch from '2026-07-10 17:32:51'::timestamp) - extract(epoch from '2026-07-10 17:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123344)'))) / (select extract(epoch from '2026-07-10 17:32:51'::timestamp) - extract(epoch from '2026-07-10 17:32: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.13811 -3.123345)', '2026-07-10 17:32:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123345)'))) / (select extract(epoch from '2026-07-10 17:32:56'::timestamp) - extract(epoch from '2026-07-10 17:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123345)'))) / (select extract(epoch from '2026-07-10 17:32:56'::timestamp) - extract(epoch from '2026-07-10 17:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138119 -3.12335)', '2026-07-10 17:32:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12335)'))) / (select extract(epoch from '2026-07-10 17:32:57'::timestamp) - extract(epoch from '2026-07-10 17:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12335)'))) / (select extract(epoch from '2026-07-10 17:32:57'::timestamp) - extract(epoch from '2026-07-10 17:32: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.13811 -3.123361)', '2026-07-10 17:33:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123361)'))) / (select extract(epoch from '2026-07-10 17:33:01'::timestamp) - extract(epoch from '2026-07-10 17:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123361)'))) / (select extract(epoch from '2026-07-10 17:33:01'::timestamp) - extract(epoch from '2026-07-10 17:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13811 -3.123361)', '2026-07-10 17:33:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123361)'))) / (select extract(epoch from '2026-07-10 17:33:13'::timestamp) - extract(epoch from '2026-07-10 17:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123361)'))) / (select extract(epoch from '2026-07-10 17:33:13'::timestamp) - extract(epoch from '2026-07-10 17:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138112 -3.123364)', '2026-07-10 17:33:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123364)'))) / (select extract(epoch from '2026-07-10 17:33:27'::timestamp) - extract(epoch from '2026-07-10 17:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123364)'))) / (select extract(epoch from '2026-07-10 17:33:27'::timestamp) - extract(epoch from '2026-07-10 17:33: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.138119 -3.123368)', '2026-07-10 17:33:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123368)'))) / (select extract(epoch from '2026-07-10 17:33:35'::timestamp) - extract(epoch from '2026-07-10 17:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123368)'))) / (select extract(epoch from '2026-07-10 17:33:35'::timestamp) - extract(epoch from '2026-07-10 17:33: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.138116 -3.123365)', '2026-07-10 17:33:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123365)'))) / (select extract(epoch from '2026-07-10 17:33:43'::timestamp) - extract(epoch from '2026-07-10 17:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123365)'))) / (select extract(epoch from '2026-07-10 17:33:43'::timestamp) - extract(epoch from '2026-07-10 17:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138119 -3.123376)', '2026-07-10 17:33:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123376)'))) / (select extract(epoch from '2026-07-10 17:33:53'::timestamp) - extract(epoch from '2026-07-10 17:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123376)'))) / (select extract(epoch from '2026-07-10 17:33:53'::timestamp) - extract(epoch from '2026-07-10 17:33: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.138116 -3.12338)', '2026-07-10 17:34:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.12338)'))) / (select extract(epoch from '2026-07-10 17:34:02'::timestamp) - extract(epoch from '2026-07-10 17:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.12338)'))) / (select extract(epoch from '2026-07-10 17:34:02'::timestamp) - extract(epoch from '2026-07-10 17:33: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.138115 -3.123379)', '2026-07-10 17:34:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123379)'))) / (select extract(epoch from '2026-07-10 17:34:08'::timestamp) - extract(epoch from '2026-07-10 17:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123379)'))) / (select extract(epoch from '2026-07-10 17:34:08'::timestamp) - extract(epoch from '2026-07-10 17:34: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.138127 -3.123375)', '2026-07-10 17:34:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123375)'))) / (select extract(epoch from '2026-07-10 17:34:19'::timestamp) - extract(epoch from '2026-07-10 17:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123375)'))) / (select extract(epoch from '2026-07-10 17:34:19'::timestamp) - extract(epoch from '2026-07-10 17:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.123381)', '2026-07-10 17:34:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123381)'))) / (select extract(epoch from '2026-07-10 17:34:27'::timestamp) - extract(epoch from '2026-07-10 17:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123381)'))) / (select extract(epoch from '2026-07-10 17:34:27'::timestamp) - extract(epoch from '2026-07-10 17:34: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.138127 -3.123388)', '2026-07-10 17:34:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123388)'))) / (select extract(epoch from '2026-07-10 17:34:32'::timestamp) - extract(epoch from '2026-07-10 17:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123388)'))) / (select extract(epoch from '2026-07-10 17:34:32'::timestamp) - extract(epoch from '2026-07-10 17:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.123384)', '2026-07-10 17:34:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123384)'))) / (select extract(epoch from '2026-07-10 17:34:39'::timestamp) - extract(epoch from '2026-07-10 17:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123384)'))) / (select extract(epoch from '2026-07-10 17:34:39'::timestamp) - extract(epoch from '2026-07-10 17:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13813 -3.12339)', '2026-07-10 17:34:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12339)'))) / (select extract(epoch from '2026-07-10 17:34:50'::timestamp) - extract(epoch from '2026-07-10 17:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12339)'))) / (select extract(epoch from '2026-07-10 17:34:50'::timestamp) - extract(epoch from '2026-07-10 17:34: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.123392)', '2026-07-10 17:34:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:34:58'::timestamp) - extract(epoch from '2026-07-10 17:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:34:58'::timestamp) - extract(epoch from '2026-07-10 17:34: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.123392)', '2026-07-10 17:35:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:35:04'::timestamp) - extract(epoch from '2026-07-10 17:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:35:04'::timestamp) - extract(epoch from '2026-07-10 17:34: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.138137 -3.123389)', '2026-07-10 17:35:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123389)'))) / (select extract(epoch from '2026-07-10 17:35:11'::timestamp) - extract(epoch from '2026-07-10 17:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123389)'))) / (select extract(epoch from '2026-07-10 17:35:11'::timestamp) - extract(epoch from '2026-07-10 17: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.138139 -3.123389)', '2026-07-10 17:35:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123389)'))) / (select extract(epoch from '2026-07-10 17:35:19'::timestamp) - extract(epoch from '2026-07-10 17:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123389)'))) / (select extract(epoch from '2026-07-10 17:35:19'::timestamp) - extract(epoch from '2026-07-10 17:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138139 -3.123379)', '2026-07-10 17:35:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123379)'))) / (select extract(epoch from '2026-07-10 17:35:27'::timestamp) - extract(epoch from '2026-07-10 17:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123379)'))) / (select extract(epoch from '2026-07-10 17:35:27'::timestamp) - extract(epoch from '2026-07-10 17:35: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.138138 -3.123384)', '2026-07-10 17:35:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123384)'))) / (select extract(epoch from '2026-07-10 17:35:32'::timestamp) - extract(epoch from '2026-07-10 17:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123384)'))) / (select extract(epoch from '2026-07-10 17:35:32'::timestamp) - extract(epoch from '2026-07-10 17:35: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.138136 -3.123389)', '2026-07-10 17:35:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123389)'))) / (select extract(epoch from '2026-07-10 17:35:41'::timestamp) - extract(epoch from '2026-07-10 17:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123389)'))) / (select extract(epoch from '2026-07-10 17:35:41'::timestamp) - extract(epoch from '2026-07-10 17:35: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.13813 -3.123392)', '2026-07-10 17:35:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:35:49'::timestamp) - extract(epoch from '2026-07-10 17:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:35:49'::timestamp) - extract(epoch from '2026-07-10 17: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.138139 -3.123388)', '2026-07-10 17:35:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123388)'))) / (select extract(epoch from '2026-07-10 17:35:58'::timestamp) - extract(epoch from '2026-07-10 17:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123388)'))) / (select extract(epoch from '2026-07-10 17:35:58'::timestamp) - extract(epoch from '2026-07-10 17:35: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.138135 -3.123392)', '2026-07-10 17:36:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:36:07'::timestamp) - extract(epoch from '2026-07-10 17:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:36:07'::timestamp) - extract(epoch from '2026-07-10 17:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.123392)', '2026-07-10 17:36:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:36:20'::timestamp) - extract(epoch from '2026-07-10 17:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:36:20'::timestamp) - extract(epoch from '2026-07-10 17:36: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.138127 -3.123392)', '2026-07-10 17:36:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:36:27'::timestamp) - extract(epoch from '2026-07-10 17:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:36:27'::timestamp) - extract(epoch from '2026-07-10 17:36: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.123392)', '2026-07-10 17:36:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:36:37'::timestamp) - extract(epoch from '2026-07-10 17:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123392)'))) / (select extract(epoch from '2026-07-10 17:36:37'::timestamp) - extract(epoch from '2026-07-10 17:36: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.13813 -3.123393)', '2026-07-10 17:36:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123393)'))) / (select extract(epoch from '2026-07-10 17:36:45'::timestamp) - extract(epoch from '2026-07-10 17:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123393)'))) / (select extract(epoch from '2026-07-10 17:36:45'::timestamp) - extract(epoch from '2026-07-10 17:36: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.138128 -3.123394)', '2026-07-10 17:36:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123394)'))) / (select extract(epoch from '2026-07-10 17:36:51'::timestamp) - extract(epoch from '2026-07-10 17:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123394)'))) / (select extract(epoch from '2026-07-10 17:36:51'::timestamp) - extract(epoch from '2026-07-10 17:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138135 -3.123393)', '2026-07-10 17:37:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123393)'))) / (select extract(epoch from '2026-07-10 17:37:01'::timestamp) - extract(epoch from '2026-07-10 17:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123393)'))) / (select extract(epoch from '2026-07-10 17:37:01'::timestamp) - extract(epoch from '2026-07-10 17:36: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.138131 -3.123394)', '2026-07-10 17:37:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123394)'))) / (select extract(epoch from '2026-07-10 17:37:07'::timestamp) - extract(epoch from '2026-07-10 17:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123394)'))) / (select extract(epoch from '2026-07-10 17:37:07'::timestamp) - extract(epoch from '2026-07-10 17: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.138131 -3.123398)', '2026-07-10 17:37:16', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123398)'))) / (select extract(epoch from '2026-07-10 17:37:16'::timestamp) - extract(epoch from '2026-07-10 17:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123398)'))) / (select extract(epoch from '2026-07-10 17:37:16'::timestamp) - extract(epoch from '2026-07-10 17:37: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.138131 -3.123396)', '2026-07-10 17:37:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123396)'))) / (select extract(epoch from '2026-07-10 17:37:27'::timestamp) - extract(epoch from '2026-07-10 17:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123396)'))) / (select extract(epoch from '2026-07-10 17:37:27'::timestamp) - extract(epoch from '2026-07-10 17:37: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.138138 -3.123388)', '2026-07-10 17:37:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123388)'))) / (select extract(epoch from '2026-07-10 17:37:34'::timestamp) - extract(epoch from '2026-07-10 17:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123388)'))) / (select extract(epoch from '2026-07-10 17:37:34'::timestamp) - extract(epoch from '2026-07-10 17: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.138132 -3.123396)', '2026-07-10 17:37:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123396)'))) / (select extract(epoch from '2026-07-10 17:37:41'::timestamp) - extract(epoch from '2026-07-10 17:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123396)'))) / (select extract(epoch from '2026-07-10 17:37:41'::timestamp) - extract(epoch from '2026-07-10 17: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.138135 -3.123397)', '2026-07-10 17:37:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123397)'))) / (select extract(epoch from '2026-07-10 17:37:51'::timestamp) - extract(epoch from '2026-07-10 17:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123397)'))) / (select extract(epoch from '2026-07-10 17:37:51'::timestamp) - extract(epoch from '2026-07-10 17:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138135 -3.123393)', '2026-07-10 17:37:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123393)'))) / (select extract(epoch from '2026-07-10 17:37:56'::timestamp) - extract(epoch from '2026-07-10 17:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123393)'))) / (select extract(epoch from '2026-07-10 17:37:56'::timestamp) - extract(epoch from '2026-07-10 17:37: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.138131 -3.12339)', '2026-07-10 17:38:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12339)'))) / (select extract(epoch from '2026-07-10 17:38:01'::timestamp) - extract(epoch from '2026-07-10 17:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12339)'))) / (select extract(epoch from '2026-07-10 17:38:01'::timestamp) - extract(epoch from '2026-07-10 17:37: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.138129 -3.123391)', '2026-07-10 17:38:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123391)'))) / (select extract(epoch from '2026-07-10 17:38:11'::timestamp) - extract(epoch from '2026-07-10 17:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123391)'))) / (select extract(epoch from '2026-07-10 17:38:11'::timestamp) - extract(epoch from '2026-07-10 17:38: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.138136 -3.123393)', '2026-07-10 17:38:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123393)'))) / (select extract(epoch from '2026-07-10 17:38:18'::timestamp) - extract(epoch from '2026-07-10 17:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123393)'))) / (select extract(epoch from '2026-07-10 17:38:18'::timestamp) - extract(epoch from '2026-07-10 17:38: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.138131 -3.123394)', '2026-07-10 17:38:26', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123394)'))) / (select extract(epoch from '2026-07-10 17:38:26'::timestamp) - extract(epoch from '2026-07-10 17:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123394)'))) / (select extract(epoch from '2026-07-10 17:38:26'::timestamp) - extract(epoch from '2026-07-10 17:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138127 -3.123396)', '2026-07-10 17:38:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123396)'))) / (select extract(epoch from '2026-07-10 17:38:28'::timestamp) - extract(epoch from '2026-07-10 17:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123396)'))) / (select extract(epoch from '2026-07-10 17:38:28'::timestamp) - extract(epoch from '2026-07-10 17: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.138135 -3.123395)', '2026-07-10 17:38:30', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123395)'))) / (select extract(epoch from '2026-07-10 17:38:30'::timestamp) - extract(epoch from '2026-07-10 17:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123395)'))) / (select extract(epoch from '2026-07-10 17:38:30'::timestamp) - extract(epoch from '2026-07-10 17:38: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.13813 -3.123398)', '2026-07-10 17:38:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123398)'))) / (select extract(epoch from '2026-07-10 17:38:37'::timestamp) - extract(epoch from '2026-07-10 17:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123398)'))) / (select extract(epoch from '2026-07-10 17:38:37'::timestamp) - extract(epoch from '2026-07-10 17:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13813 -3.123397)', '2026-07-10 17:38:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123397)'))) / (select extract(epoch from '2026-07-10 17:38:45'::timestamp) - extract(epoch from '2026-07-10 17:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123397)'))) / (select extract(epoch from '2026-07-10 17:38:45'::timestamp) - extract(epoch from '2026-07-10 17:38: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.138125 -3.123395)', '2026-07-10 17:38:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123395)'))) / (select extract(epoch from '2026-07-10 17:38:52'::timestamp) - extract(epoch from '2026-07-10 17:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123395)'))) / (select extract(epoch from '2026-07-10 17:38:52'::timestamp) - extract(epoch from '2026-07-10 17: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.138117 -3.123384)', '2026-07-10 17:39:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123384)'))) / (select extract(epoch from '2026-07-10 17:39:06'::timestamp) - extract(epoch from '2026-07-10 17:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123384)'))) / (select extract(epoch from '2026-07-10 17:39:06'::timestamp) - extract(epoch from '2026-07-10 17:38: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.138118 -3.12338)', '2026-07-10 17:39:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.12338)'))) / (select extract(epoch from '2026-07-10 17:39:12'::timestamp) - extract(epoch from '2026-07-10 17:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.12338)'))) / (select extract(epoch from '2026-07-10 17:39:12'::timestamp) - extract(epoch from '2026-07-10 17:39: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.138114 -3.123382)', '2026-07-10 17:39:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123382)'))) / (select extract(epoch from '2026-07-10 17:39:14'::timestamp) - extract(epoch from '2026-07-10 17:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123382)'))) / (select extract(epoch from '2026-07-10 17:39:14'::timestamp) - extract(epoch from '2026-07-10 17:39: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.138118 -3.123388)', '2026-07-10 17:39:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123388)'))) / (select extract(epoch from '2026-07-10 17:39:20'::timestamp) - extract(epoch from '2026-07-10 17:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123388)'))) / (select extract(epoch from '2026-07-10 17:39:20'::timestamp) - extract(epoch from '2026-07-10 17:39: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.138119 -3.123387)', '2026-07-10 17:39:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123387)'))) / (select extract(epoch from '2026-07-10 17:39:31'::timestamp) - extract(epoch from '2026-07-10 17:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123387)'))) / (select extract(epoch from '2026-07-10 17:39:31'::timestamp) - extract(epoch from '2026-07-10 17:39:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138118 -3.123394)', '2026-07-10 17:39:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123394)'))) / (select extract(epoch from '2026-07-10 17:39:38'::timestamp) - extract(epoch from '2026-07-10 17:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123394)'))) / (select extract(epoch from '2026-07-10 17:39:38'::timestamp) - extract(epoch from '2026-07-10 17:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138121 -3.123398)', '2026-07-10 17:39:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123398)'))) / (select extract(epoch from '2026-07-10 17:39:48'::timestamp) - extract(epoch from '2026-07-10 17:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123398)'))) / (select extract(epoch from '2026-07-10 17:39:48'::timestamp) - extract(epoch from '2026-07-10 17:39: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.138118 -3.123402)', '2026-07-10 17:39:58', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123402)'))) / (select extract(epoch from '2026-07-10 17:39:58'::timestamp) - extract(epoch from '2026-07-10 17:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123402)'))) / (select extract(epoch from '2026-07-10 17:39:58'::timestamp) - extract(epoch from '2026-07-10 17:39: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.138116 -3.123406)', '2026-07-10 17:40:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123406)'))) / (select extract(epoch from '2026-07-10 17:40:08'::timestamp) - extract(epoch from '2026-07-10 17:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123406)'))) / (select extract(epoch from '2026-07-10 17:40:08'::timestamp) - extract(epoch from '2026-07-10 17:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138118 -3.123408)', '2026-07-10 17:40:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123408)'))) / (select extract(epoch from '2026-07-10 17:40:14'::timestamp) - extract(epoch from '2026-07-10 17:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123408)'))) / (select extract(epoch from '2026-07-10 17:40:14'::timestamp) - extract(epoch from '2026-07-10 17:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138121 -3.123415)', '2026-07-10 17:40:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123415)'))) / (select extract(epoch from '2026-07-10 17:40:20'::timestamp) - extract(epoch from '2026-07-10 17:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123415)'))) / (select extract(epoch from '2026-07-10 17:40:20'::timestamp) - extract(epoch from '2026-07-10 17:40: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.138118 -3.123423)', '2026-07-10 17:40:34', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123415)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123423)'))) / (select extract(epoch from '2026-07-10 17:40:34'::timestamp) - extract(epoch from '2026-07-10 17:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123415)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123423)'))) / (select extract(epoch from '2026-07-10 17:40:34'::timestamp) - extract(epoch from '2026-07-10 17:40: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.138136 -3.123429)', '2026-07-10 17:40:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123423)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123429)'))) / (select extract(epoch from '2026-07-10 17:40:43'::timestamp) - extract(epoch from '2026-07-10 17:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123423)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123429)'))) / (select extract(epoch from '2026-07-10 17:40:43'::timestamp) - extract(epoch from '2026-07-10 17:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138144 -3.123432)', '2026-07-10 17:40:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123432)'))) / (select extract(epoch from '2026-07-10 17:40:50'::timestamp) - extract(epoch from '2026-07-10 17:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123432)'))) / (select extract(epoch from '2026-07-10 17:40:50'::timestamp) - extract(epoch from '2026-07-10 17:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138151 -3.123431)', '2026-07-10 17:40:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123432)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123431)'))) / (select extract(epoch from '2026-07-10 17:40:57'::timestamp) - extract(epoch from '2026-07-10 17:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123432)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123431)'))) / (select extract(epoch from '2026-07-10 17:40:57'::timestamp) - extract(epoch from '2026-07-10 17:40: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.138151 -3.123428)', '2026-07-10 17:41:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123428)'))) / (select extract(epoch from '2026-07-10 17:41:08'::timestamp) - extract(epoch from '2026-07-10 17:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123428)'))) / (select extract(epoch from '2026-07-10 17:41:08'::timestamp) - extract(epoch from '2026-07-10 17:40: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.138162 -3.123433)', '2026-07-10 17:41:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123433)'))) / (select extract(epoch from '2026-07-10 17:41:15'::timestamp) - extract(epoch from '2026-07-10 17:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123433)'))) / (select extract(epoch from '2026-07-10 17:41:15'::timestamp) - extract(epoch from '2026-07-10 17:41: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.138159 -3.123438)', '2026-07-10 17:41:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123433)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123438)'))) / (select extract(epoch from '2026-07-10 17:41:22'::timestamp) - extract(epoch from '2026-07-10 17:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123433)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123438)'))) / (select extract(epoch from '2026-07-10 17:41:22'::timestamp) - extract(epoch from '2026-07-10 17:41: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.138157 -3.123439)', '2026-07-10 17:41:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123438)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123439)'))) / (select extract(epoch from '2026-07-10 17:41:29'::timestamp) - extract(epoch from '2026-07-10 17:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123438)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123439)'))) / (select extract(epoch from '2026-07-10 17:41:29'::timestamp) - extract(epoch from '2026-07-10 17:41: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.138156 -3.123436)', '2026-07-10 17:41:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123439)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123436)'))) / (select extract(epoch from '2026-07-10 17:41:34'::timestamp) - extract(epoch from '2026-07-10 17:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123439)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123436)'))) / (select extract(epoch from '2026-07-10 17:41:34'::timestamp) - extract(epoch from '2026-07-10 17:41: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.138159 -3.123429)', '2026-07-10 17:41:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123436)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123429)'))) / (select extract(epoch from '2026-07-10 17:41:41'::timestamp) - extract(epoch from '2026-07-10 17:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123436)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123429)'))) / (select extract(epoch from '2026-07-10 17:41:41'::timestamp) - extract(epoch from '2026-07-10 17:41:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138147 -3.123432)', '2026-07-10 17:41:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123432)'))) / (select extract(epoch from '2026-07-10 17:41:49'::timestamp) - extract(epoch from '2026-07-10 17:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123432)'))) / (select extract(epoch from '2026-07-10 17:41:49'::timestamp) - extract(epoch from '2026-07-10 17:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138155 -3.123434)', '2026-07-10 17:41:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123432)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123434)'))) / (select extract(epoch from '2026-07-10 17:41:52'::timestamp) - extract(epoch from '2026-07-10 17:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123432)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123434)'))) / (select extract(epoch from '2026-07-10 17:41:52'::timestamp) - extract(epoch from '2026-07-10 17:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138157 -3.12344)', '2026-07-10 17:41:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12344)'))) / (select extract(epoch from '2026-07-10 17:41:54'::timestamp) - extract(epoch from '2026-07-10 17:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12344)'))) / (select extract(epoch from '2026-07-10 17:41:54'::timestamp) - extract(epoch from '2026-07-10 17:41:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138154 -3.123439)', '2026-07-10 17:42:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12344)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123439)'))) / (select extract(epoch from '2026-07-10 17:42:02'::timestamp) - extract(epoch from '2026-07-10 17:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12344)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123439)'))) / (select extract(epoch from '2026-07-10 17:42:02'::timestamp) - extract(epoch from '2026-07-10 17:41: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.138156 -3.123437)', '2026-07-10 17:42:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123439)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123437)'))) / (select extract(epoch from '2026-07-10 17:42:08'::timestamp) - extract(epoch from '2026-07-10 17:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123439)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123437)'))) / (select extract(epoch from '2026-07-10 17:42:08'::timestamp) - extract(epoch from '2026-07-10 17:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138159 -3.123434)', '2026-07-10 17:42:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123437)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123434)'))) / (select extract(epoch from '2026-07-10 17:42:16'::timestamp) - extract(epoch from '2026-07-10 17:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123437)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123434)'))) / (select extract(epoch from '2026-07-10 17:42:16'::timestamp) - extract(epoch from '2026-07-10 17:42: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.138159 -3.123443)', '2026-07-10 17:42:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123443)'))) / (select extract(epoch from '2026-07-10 17:42:25'::timestamp) - extract(epoch from '2026-07-10 17:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123443)'))) / (select extract(epoch from '2026-07-10 17:42:25'::timestamp) - extract(epoch from '2026-07-10 17: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.138161 -3.12344)', '2026-07-10 17:42:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123443)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.12344)'))) / (select extract(epoch from '2026-07-10 17:42:36'::timestamp) - extract(epoch from '2026-07-10 17:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123443)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.12344)'))) / (select extract(epoch from '2026-07-10 17:42:36'::timestamp) - extract(epoch from '2026-07-10 17:42: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.138159 -3.12344)', '2026-07-10 17:42:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.12344)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12344)'))) / (select extract(epoch from '2026-07-10 17:42:44'::timestamp) - extract(epoch from '2026-07-10 17:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.12344)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12344)'))) / (select extract(epoch from '2026-07-10 17:42:44'::timestamp) - extract(epoch from '2026-07-10 17: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.138162 -3.12345)', '2026-07-10 17:42:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12344)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.12345)'))) / (select extract(epoch from '2026-07-10 17:42:53'::timestamp) - extract(epoch from '2026-07-10 17:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12344)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.12345)'))) / (select extract(epoch from '2026-07-10 17:42:53'::timestamp) - extract(epoch from '2026-07-10 17:42: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.138169 -3.123454)', '2026-07-10 17:42:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.12345)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123454)'))) / (select extract(epoch from '2026-07-10 17:42:59'::timestamp) - extract(epoch from '2026-07-10 17:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.12345)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123454)'))) / (select extract(epoch from '2026-07-10 17:42:59'::timestamp) - extract(epoch from '2026-07-10 17:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138164 -3.123454)', '2026-07-10 17:43:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123454)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123454)'))) / (select extract(epoch from '2026-07-10 17:43:08'::timestamp) - extract(epoch from '2026-07-10 17:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123454)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123454)'))) / (select extract(epoch from '2026-07-10 17:43:08'::timestamp) - extract(epoch from '2026-07-10 17:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13817 -3.123462)', '2026-07-10 17:43:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123454)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123462)'))) / (select extract(epoch from '2026-07-10 17:43:15'::timestamp) - extract(epoch from '2026-07-10 17:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123454)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123462)'))) / (select extract(epoch from '2026-07-10 17:43:15'::timestamp) - extract(epoch from '2026-07-10 17:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138173 -3.123469)', '2026-07-10 17:43:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123462)'), GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123469)'))) / (select extract(epoch from '2026-07-10 17:43:24'::timestamp) - extract(epoch from '2026-07-10 17:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123462)'), GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123469)'))) / (select extract(epoch from '2026-07-10 17:43:24'::timestamp) - extract(epoch from '2026-07-10 17:43:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13818 -3.123462)', '2026-07-10 17:43:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123469)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123462)'))) / (select extract(epoch from '2026-07-10 17:43:31'::timestamp) - extract(epoch from '2026-07-10 17:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123469)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123462)'))) / (select extract(epoch from '2026-07-10 17:43:31'::timestamp) - extract(epoch from '2026-07-10 17:43: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.138177 -3.123461)', '2026-07-10 17:43:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123462)'), GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123461)'))) / (select extract(epoch from '2026-07-10 17:43:38'::timestamp) - extract(epoch from '2026-07-10 17:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123462)'), GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123461)'))) / (select extract(epoch from '2026-07-10 17:43:38'::timestamp) - extract(epoch from '2026-07-10 17:43: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.138175 -3.123459)', '2026-07-10 17:43:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123461)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123459)'))) / (select extract(epoch from '2026-07-10 17:43:49'::timestamp) - extract(epoch from '2026-07-10 17:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123461)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123459)'))) / (select extract(epoch from '2026-07-10 17:43:49'::timestamp) - extract(epoch from '2026-07-10 17:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138179 -3.123467)', '2026-07-10 17:43:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123459)'), GeomFromEWKT('SRID=4674;POINT (-39.138179 -3.123467)'))) / (select extract(epoch from '2026-07-10 17:43:57'::timestamp) - extract(epoch from '2026-07-10 17:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123459)'), GeomFromEWKT('SRID=4674;POINT (-39.138179 -3.123467)'))) / (select extract(epoch from '2026-07-10 17:43:57'::timestamp) - extract(epoch from '2026-07-10 17:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138171 -3.123469)', '2026-07-10 17:44:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138179 -3.123467)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123469)'))) / (select extract(epoch from '2026-07-10 17:44:04'::timestamp) - extract(epoch from '2026-07-10 17:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138179 -3.123467)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123469)'))) / (select extract(epoch from '2026-07-10 17:44:04'::timestamp) - extract(epoch from '2026-07-10 17:43:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138156 -3.123473)', '2026-07-10 17:44:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123469)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123473)'))) / (select extract(epoch from '2026-07-10 17:44:08'::timestamp) - extract(epoch from '2026-07-10 17:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123469)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123473)'))) / (select extract(epoch from '2026-07-10 17:44:08'::timestamp) - extract(epoch from '2026-07-10 17:44: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.138157 -3.123477)', '2026-07-10 17:44:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123473)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:44:15'::timestamp) - extract(epoch from '2026-07-10 17:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123473)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:44:15'::timestamp) - extract(epoch from '2026-07-10 17: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.138174 -3.123473)', '2026-07-10 17:44:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123473)'))) / (select extract(epoch from '2026-07-10 17:44:22'::timestamp) - extract(epoch from '2026-07-10 17:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123473)'))) / (select extract(epoch from '2026-07-10 17:44:22'::timestamp) - extract(epoch from '2026-07-10 17:44: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.138175 -3.123482)', '2026-07-10 17:44:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123473)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123482)'))) / (select extract(epoch from '2026-07-10 17:44:27'::timestamp) - extract(epoch from '2026-07-10 17:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123473)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123482)'))) / (select extract(epoch from '2026-07-10 17:44:27'::timestamp) - extract(epoch from '2026-07-10 17:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13818 -3.123485)', '2026-07-10 17:44:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123482)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123485)'))) / (select extract(epoch from '2026-07-10 17:44:28'::timestamp) - extract(epoch from '2026-07-10 17:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123482)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123485)'))) / (select extract(epoch from '2026-07-10 17:44:28'::timestamp) - extract(epoch from '2026-07-10 17:44: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.138183 -3.123476)', '2026-07-10 17:44:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123485)'), GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123476)'))) / (select extract(epoch from '2026-07-10 17:44:32'::timestamp) - extract(epoch from '2026-07-10 17:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123485)'), GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123476)'))) / (select extract(epoch from '2026-07-10 17:44:32'::timestamp) - extract(epoch from '2026-07-10 17:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138191 -3.123475)', '2026-07-10 17:44:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123476)'), GeomFromEWKT('SRID=4674;POINT (-39.138191 -3.123475)'))) / (select extract(epoch from '2026-07-10 17:44:33'::timestamp) - extract(epoch from '2026-07-10 17:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123476)'), GeomFromEWKT('SRID=4674;POINT (-39.138191 -3.123475)'))) / (select extract(epoch from '2026-07-10 17:44:33'::timestamp) - extract(epoch from '2026-07-10 17:44: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.13818 -3.123478)', '2026-07-10 17:44:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138191 -3.123475)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123478)'))) / (select extract(epoch from '2026-07-10 17:44:39'::timestamp) - extract(epoch from '2026-07-10 17:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138191 -3.123475)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123478)'))) / (select extract(epoch from '2026-07-10 17:44:39'::timestamp) - extract(epoch from '2026-07-10 17:44: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.138182 -3.123472)', '2026-07-10 17:44:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123478)'), GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123472)'))) / (select extract(epoch from '2026-07-10 17:44:51'::timestamp) - extract(epoch from '2026-07-10 17:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123478)'), GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123472)'))) / (select extract(epoch from '2026-07-10 17:44:51'::timestamp) - extract(epoch from '2026-07-10 17:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13818 -3.123467)', '2026-07-10 17:44:57', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123472)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123467)'))) / (select extract(epoch from '2026-07-10 17:44:57'::timestamp) - extract(epoch from '2026-07-10 17:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123472)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123467)'))) / (select extract(epoch from '2026-07-10 17:44:57'::timestamp) - extract(epoch from '2026-07-10 17:44: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.138174 -3.123463)', '2026-07-10 17:45:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123467)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123463)'))) / (select extract(epoch from '2026-07-10 17:45:07'::timestamp) - extract(epoch from '2026-07-10 17:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123467)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123463)'))) / (select extract(epoch from '2026-07-10 17:45:07'::timestamp) - extract(epoch from '2026-07-10 17:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138168 -3.123463)', '2026-07-10 17:45:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123463)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123463)'))) / (select extract(epoch from '2026-07-10 17:45:14'::timestamp) - extract(epoch from '2026-07-10 17:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123463)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123463)'))) / (select extract(epoch from '2026-07-10 17:45:14'::timestamp) - extract(epoch from '2026-07-10 17:45:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138163 -3.123468)', '2026-07-10 17:45:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123463)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123468)'))) / (select extract(epoch from '2026-07-10 17:45:25'::timestamp) - extract(epoch from '2026-07-10 17:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123463)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123468)'))) / (select extract(epoch from '2026-07-10 17:45:25'::timestamp) - extract(epoch from '2026-07-10 17:45: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.13817 -3.123466)', '2026-07-10 17:45:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123468)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123466)'))) / (select extract(epoch from '2026-07-10 17:45:31'::timestamp) - extract(epoch from '2026-07-10 17:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123468)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123466)'))) / (select extract(epoch from '2026-07-10 17:45:31'::timestamp) - extract(epoch from '2026-07-10 17:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138163 -3.123466)', '2026-07-10 17:45:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123466)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123466)'))) / (select extract(epoch from '2026-07-10 17:45:39'::timestamp) - extract(epoch from '2026-07-10 17:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123466)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123466)'))) / (select extract(epoch from '2026-07-10 17:45:39'::timestamp) - extract(epoch from '2026-07-10 17:45: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.138162 -3.123459)', '2026-07-10 17:45:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123466)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123459)'))) / (select extract(epoch from '2026-07-10 17:45:49'::timestamp) - extract(epoch from '2026-07-10 17:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123466)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123459)'))) / (select extract(epoch from '2026-07-10 17:45:49'::timestamp) - extract(epoch from '2026-07-10 17: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.138159 -3.123467)', '2026-07-10 17:45:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123459)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123467)'))) / (select extract(epoch from '2026-07-10 17:45:57'::timestamp) - extract(epoch from '2026-07-10 17:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123459)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123467)'))) / (select extract(epoch from '2026-07-10 17:45:57'::timestamp) - extract(epoch from '2026-07-10 17:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138152 -3.123466)', '2026-07-10 17:46:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123467)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123466)'))) / (select extract(epoch from '2026-07-10 17:46:03'::timestamp) - extract(epoch from '2026-07-10 17:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123467)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123466)'))) / (select extract(epoch from '2026-07-10 17:46:03'::timestamp) - extract(epoch from '2026-07-10 17:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138153 -3.123464)', '2026-07-10 17:46:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123466)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123464)'))) / (select extract(epoch from '2026-07-10 17:46:13'::timestamp) - extract(epoch from '2026-07-10 17:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123466)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123464)'))) / (select extract(epoch from '2026-07-10 17:46:13'::timestamp) - extract(epoch from '2026-07-10 17:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138151 -3.123469)', '2026-07-10 17:46:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123464)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123469)'))) / (select extract(epoch from '2026-07-10 17:46:21'::timestamp) - extract(epoch from '2026-07-10 17:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123464)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123469)'))) / (select extract(epoch from '2026-07-10 17:46:21'::timestamp) - extract(epoch from '2026-07-10 17:46: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.13815 -3.123474)', '2026-07-10 17:46:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123469)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:46:29'::timestamp) - extract(epoch from '2026-07-10 17:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123469)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:46:29'::timestamp) - extract(epoch from '2026-07-10 17: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.138145 -3.123474)', '2026-07-10 17:46:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:46:35'::timestamp) - extract(epoch from '2026-07-10 17:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:46:35'::timestamp) - extract(epoch from '2026-07-10 17:46: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.138152 -3.123476)', '2026-07-10 17:46:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123476)'))) / (select extract(epoch from '2026-07-10 17:46:41'::timestamp) - extract(epoch from '2026-07-10 17:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123476)'))) / (select extract(epoch from '2026-07-10 17:46:41'::timestamp) - extract(epoch from '2026-07-10 17:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138157 -3.123473)', '2026-07-10 17:46:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123476)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123473)'))) / (select extract(epoch from '2026-07-10 17:46:52'::timestamp) - extract(epoch from '2026-07-10 17:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123476)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123473)'))) / (select extract(epoch from '2026-07-10 17:46:52'::timestamp) - extract(epoch from '2026-07-10 17:46: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.138161 -3.123477)', '2026-07-10 17:46:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123473)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:46:57'::timestamp) - extract(epoch from '2026-07-10 17:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123473)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:46:57'::timestamp) - extract(epoch from '2026-07-10 17:46: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.138164 -3.123482)', '2026-07-10 17:47:02', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123482)'))) / (select extract(epoch from '2026-07-10 17:47:02'::timestamp) - extract(epoch from '2026-07-10 17:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123482)'))) / (select extract(epoch from '2026-07-10 17:47:02'::timestamp) - extract(epoch from '2026-07-10 17:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138159 -3.123484)', '2026-07-10 17:47:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123482)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123484)'))) / (select extract(epoch from '2026-07-10 17:47:10'::timestamp) - extract(epoch from '2026-07-10 17:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123482)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123484)'))) / (select extract(epoch from '2026-07-10 17:47:10'::timestamp) - extract(epoch from '2026-07-10 17:47: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.138151 -3.123487)', '2026-07-10 17:47:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123484)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123487)'))) / (select extract(epoch from '2026-07-10 17:47:18'::timestamp) - extract(epoch from '2026-07-10 17:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123484)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123487)'))) / (select extract(epoch from '2026-07-10 17:47:18'::timestamp) - extract(epoch from '2026-07-10 17:47: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.138148 -3.12349)', '2026-07-10 17:47:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123487)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.12349)'))) / (select extract(epoch from '2026-07-10 17:47:26'::timestamp) - extract(epoch from '2026-07-10 17:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123487)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.12349)'))) / (select extract(epoch from '2026-07-10 17:47:26'::timestamp) - extract(epoch from '2026-07-10 17:47: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.138145 -3.123486)', '2026-07-10 17:47:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.12349)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123486)'))) / (select extract(epoch from '2026-07-10 17:47:35'::timestamp) - extract(epoch from '2026-07-10 17:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.12349)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123486)'))) / (select extract(epoch from '2026-07-10 17:47:35'::timestamp) - extract(epoch from '2026-07-10 17:47: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.138146 -3.123487)', '2026-07-10 17:47:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123486)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123487)'))) / (select extract(epoch from '2026-07-10 17:47:41'::timestamp) - extract(epoch from '2026-07-10 17:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123486)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123487)'))) / (select extract(epoch from '2026-07-10 17:47:41'::timestamp) - extract(epoch from '2026-07-10 17:47: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.138155 -3.123488)', '2026-07-10 17:47:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123487)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123488)'))) / (select extract(epoch from '2026-07-10 17:47:48'::timestamp) - extract(epoch from '2026-07-10 17:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123487)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123488)'))) / (select extract(epoch from '2026-07-10 17:47:48'::timestamp) - extract(epoch from '2026-07-10 17:47: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.13815 -3.123485)', '2026-07-10 17:47:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123488)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123485)'))) / (select extract(epoch from '2026-07-10 17:47:59'::timestamp) - extract(epoch from '2026-07-10 17:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123488)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123485)'))) / (select extract(epoch from '2026-07-10 17:47:59'::timestamp) - extract(epoch from '2026-07-10 17:47: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.138152 -3.123485)', '2026-07-10 17:48:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123485)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123485)'))) / (select extract(epoch from '2026-07-10 17:48:08'::timestamp) - extract(epoch from '2026-07-10 17:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123485)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123485)'))) / (select extract(epoch from '2026-07-10 17:48:08'::timestamp) - extract(epoch from '2026-07-10 17:47:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13815 -3.123484)', '2026-07-10 17:48:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123485)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123484)'))) / (select extract(epoch from '2026-07-10 17:48:15'::timestamp) - extract(epoch from '2026-07-10 17:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123485)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123484)'))) / (select extract(epoch from '2026-07-10 17:48:15'::timestamp) - extract(epoch from '2026-07-10 17:48: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.138155 -3.12348)', '2026-07-10 17:48:21', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123484)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:48:21'::timestamp) - extract(epoch from '2026-07-10 17:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123484)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:48:21'::timestamp) - extract(epoch from '2026-07-10 17: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.138158 -3.12348)', '2026-07-10 17:48:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:48:30'::timestamp) - extract(epoch from '2026-07-10 17:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:48:30'::timestamp) - extract(epoch from '2026-07-10 17:48: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.13816 -3.123476)', '2026-07-10 17:48:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123476)'))) / (select extract(epoch from '2026-07-10 17:48:42'::timestamp) - extract(epoch from '2026-07-10 17:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123476)'))) / (select extract(epoch from '2026-07-10 17:48:42'::timestamp) - extract(epoch from '2026-07-10 17:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138158 -3.123479)', '2026-07-10 17:48:47', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123476)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123479)'))) / (select extract(epoch from '2026-07-10 17:48:47'::timestamp) - extract(epoch from '2026-07-10 17:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123476)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123479)'))) / (select extract(epoch from '2026-07-10 17:48:47'::timestamp) - extract(epoch from '2026-07-10 17:48: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.138153 -3.12348)', '2026-07-10 17:48:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123479)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:48:55'::timestamp) - extract(epoch from '2026-07-10 17:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123479)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:48:55'::timestamp) - extract(epoch from '2026-07-10 17:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138156 -3.123482)', '2026-07-10 17:49:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123482)'))) / (select extract(epoch from '2026-07-10 17:49:00'::timestamp) - extract(epoch from '2026-07-10 17:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123482)'))) / (select extract(epoch from '2026-07-10 17:49:00'::timestamp) - extract(epoch from '2026-07-10 17:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13815 -3.123477)', '2026-07-10 17:49:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123482)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:49:07'::timestamp) - extract(epoch from '2026-07-10 17:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123482)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:49:07'::timestamp) - extract(epoch from '2026-07-10 17:49: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.138142 -3.123477)', '2026-07-10 17:49:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:49:15'::timestamp) - extract(epoch from '2026-07-10 17:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:49:15'::timestamp) - extract(epoch from '2026-07-10 17:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138141 -3.12347)', '2026-07-10 17:49:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12347)'))) / (select extract(epoch from '2026-07-10 17:49:29'::timestamp) - extract(epoch from '2026-07-10 17:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12347)'))) / (select extract(epoch from '2026-07-10 17:49:29'::timestamp) - extract(epoch from '2026-07-10 17: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.138137 -3.123467)', '2026-07-10 17:49:41', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12347)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123467)'))) / (select extract(epoch from '2026-07-10 17:49:41'::timestamp) - extract(epoch from '2026-07-10 17:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12347)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123467)'))) / (select extract(epoch from '2026-07-10 17:49:41'::timestamp) - extract(epoch from '2026-07-10 17:49: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.138143 -3.123461)', '2026-07-10 17:49:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123467)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123461)'))) / (select extract(epoch from '2026-07-10 17:49:54'::timestamp) - extract(epoch from '2026-07-10 17:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123467)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123461)'))) / (select extract(epoch from '2026-07-10 17:49:54'::timestamp) - extract(epoch from '2026-07-10 17: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.138141 -3.123455)', '2026-07-10 17:50:04', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123461)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123455)'))) / (select extract(epoch from '2026-07-10 17:50:04'::timestamp) - extract(epoch from '2026-07-10 17:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123461)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123455)'))) / (select extract(epoch from '2026-07-10 17:50:04'::timestamp) - extract(epoch from '2026-07-10 17: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.138143 -3.123457)', '2026-07-10 17:50:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123455)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123457)'))) / (select extract(epoch from '2026-07-10 17:50:13'::timestamp) - extract(epoch from '2026-07-10 17:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123455)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123457)'))) / (select extract(epoch from '2026-07-10 17:50:13'::timestamp) - extract(epoch from '2026-07-10 17:50:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138145 -3.123458)', '2026-07-10 17:50:23', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123457)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123458)'))) / (select extract(epoch from '2026-07-10 17:50:23'::timestamp) - extract(epoch from '2026-07-10 17:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123457)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123458)'))) / (select extract(epoch from '2026-07-10 17:50:23'::timestamp) - extract(epoch from '2026-07-10 17:50: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.138147 -3.12346)', '2026-07-10 17:50:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123458)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.12346)'))) / (select extract(epoch from '2026-07-10 17:50:36'::timestamp) - extract(epoch from '2026-07-10 17:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123458)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.12346)'))) / (select extract(epoch from '2026-07-10 17:50:36'::timestamp) - extract(epoch from '2026-07-10 17:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138143 -3.123463)', '2026-07-10 17:50:43', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.12346)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123463)'))) / (select extract(epoch from '2026-07-10 17:50:43'::timestamp) - extract(epoch from '2026-07-10 17:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.12346)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123463)'))) / (select extract(epoch from '2026-07-10 17:50:43'::timestamp) - extract(epoch from '2026-07-10 17:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138148 -3.123467)', '2026-07-10 17:50:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123463)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123467)'))) / (select extract(epoch from '2026-07-10 17:50:49'::timestamp) - extract(epoch from '2026-07-10 17:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123463)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123467)'))) / (select extract(epoch from '2026-07-10 17:50:49'::timestamp) - extract(epoch from '2026-07-10 17:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138147 -3.123465)', '2026-07-10 17:50:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123467)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123465)'))) / (select extract(epoch from '2026-07-10 17:50:56'::timestamp) - extract(epoch from '2026-07-10 17:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123467)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123465)'))) / (select extract(epoch from '2026-07-10 17:50:56'::timestamp) - extract(epoch from '2026-07-10 17:50:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138147 -3.123464)', '2026-07-10 17:51:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123465)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123464)'))) / (select extract(epoch from '2026-07-10 17:51:05'::timestamp) - extract(epoch from '2026-07-10 17:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123465)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123464)'))) / (select extract(epoch from '2026-07-10 17:51:05'::timestamp) - extract(epoch from '2026-07-10 17:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138157 -3.123471)', '2026-07-10 17:51:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123464)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123471)'))) / (select extract(epoch from '2026-07-10 17:51:12'::timestamp) - extract(epoch from '2026-07-10 17:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123464)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123471)'))) / (select extract(epoch from '2026-07-10 17:51:12'::timestamp) - extract(epoch from '2026-07-10 17:51:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138162 -3.12347)', '2026-07-10 17:51:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123471)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.12347)'))) / (select extract(epoch from '2026-07-10 17:51:19'::timestamp) - extract(epoch from '2026-07-10 17:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123471)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.12347)'))) / (select extract(epoch from '2026-07-10 17:51:19'::timestamp) - extract(epoch from '2026-07-10 17:51: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.138173 -3.12347)', '2026-07-10 17:51:28', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.12347)'), GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.12347)'))) / (select extract(epoch from '2026-07-10 17:51:28'::timestamp) - extract(epoch from '2026-07-10 17:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.12347)'), GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.12347)'))) / (select extract(epoch from '2026-07-10 17:51:28'::timestamp) - extract(epoch from '2026-07-10 17:51: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.138182 -3.123473)', '2026-07-10 17:51:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.12347)'), GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123473)'))) / (select extract(epoch from '2026-07-10 17:51:34'::timestamp) - extract(epoch from '2026-07-10 17:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.12347)'), GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123473)'))) / (select extract(epoch from '2026-07-10 17:51:34'::timestamp) - extract(epoch from '2026-07-10 17:51: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.13818 -3.123476)', '2026-07-10 17:51:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123473)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123476)'))) / (select extract(epoch from '2026-07-10 17:51:44'::timestamp) - extract(epoch from '2026-07-10 17:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123473)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123476)'))) / (select extract(epoch from '2026-07-10 17:51:44'::timestamp) - extract(epoch from '2026-07-10 17:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138181 -3.123482)', '2026-07-10 17:51:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123476)'), GeomFromEWKT('SRID=4674;POINT (-39.138181 -3.123482)'))) / (select extract(epoch from '2026-07-10 17:51:53'::timestamp) - extract(epoch from '2026-07-10 17:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123476)'), GeomFromEWKT('SRID=4674;POINT (-39.138181 -3.123482)'))) / (select extract(epoch from '2026-07-10 17:51:53'::timestamp) - extract(epoch from '2026-07-10 17:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138182 -3.12348)', '2026-07-10 17:52:03', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138181 -3.123482)'), GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:52:03'::timestamp) - extract(epoch from '2026-07-10 17:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138181 -3.123482)'), GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:52:03'::timestamp) - extract(epoch from '2026-07-10 17:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138193 -3.123481)', '2026-07-10 17:52:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.138193 -3.123481)'))) / (select extract(epoch from '2026-07-10 17:52:08'::timestamp) - extract(epoch from '2026-07-10 17:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.138193 -3.123481)'))) / (select extract(epoch from '2026-07-10 17:52:08'::timestamp) - extract(epoch from '2026-07-10 17:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138188 -3.123477)', '2026-07-10 17:52:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138193 -3.123481)'), GeomFromEWKT('SRID=4674;POINT (-39.138188 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:52:12'::timestamp) - extract(epoch from '2026-07-10 17:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138193 -3.123481)'), GeomFromEWKT('SRID=4674;POINT (-39.138188 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:52:12'::timestamp) - extract(epoch from '2026-07-10 17:52: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.138192 -3.123484)', '2026-07-10 17:52:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138188 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138192 -3.123484)'))) / (select extract(epoch from '2026-07-10 17:52:17'::timestamp) - extract(epoch from '2026-07-10 17:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138188 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138192 -3.123484)'))) / (select extract(epoch from '2026-07-10 17:52:17'::timestamp) - extract(epoch from '2026-07-10 17:52: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.138192 -3.123494)', '2026-07-10 17:52:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138192 -3.123484)'), GeomFromEWKT('SRID=4674;POINT (-39.138192 -3.123494)'))) / (select extract(epoch from '2026-07-10 17:52:23'::timestamp) - extract(epoch from '2026-07-10 17:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138192 -3.123484)'), GeomFromEWKT('SRID=4674;POINT (-39.138192 -3.123494)'))) / (select extract(epoch from '2026-07-10 17:52:23'::timestamp) - extract(epoch from '2026-07-10 17:52: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.138191 -3.123505)', '2026-07-10 17:52:30', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138192 -3.123494)'), GeomFromEWKT('SRID=4674;POINT (-39.138191 -3.123505)'))) / (select extract(epoch from '2026-07-10 17:52:30'::timestamp) - extract(epoch from '2026-07-10 17:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138192 -3.123494)'), GeomFromEWKT('SRID=4674;POINT (-39.138191 -3.123505)'))) / (select extract(epoch from '2026-07-10 17:52:30'::timestamp) - extract(epoch from '2026-07-10 17:52: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.138183 -3.123496)', '2026-07-10 17:52:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138191 -3.123505)'), GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123496)'))) / (select extract(epoch from '2026-07-10 17:52:39'::timestamp) - extract(epoch from '2026-07-10 17:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138191 -3.123505)'), GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123496)'))) / (select extract(epoch from '2026-07-10 17:52:39'::timestamp) - extract(epoch from '2026-07-10 17:52: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.138184 -3.123484)', '2026-07-10 17:52:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.123484)'))) / (select extract(epoch from '2026-07-10 17:52:52'::timestamp) - extract(epoch from '2026-07-10 17:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.123484)'))) / (select extract(epoch from '2026-07-10 17:52:52'::timestamp) - extract(epoch from '2026-07-10 17:52: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.138186 -3.123476)', '2026-07-10 17:52:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.123484)'), GeomFromEWKT('SRID=4674;POINT (-39.138186 -3.123476)'))) / (select extract(epoch from '2026-07-10 17:52:59'::timestamp) - extract(epoch from '2026-07-10 17:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.123484)'), GeomFromEWKT('SRID=4674;POINT (-39.138186 -3.123476)'))) / (select extract(epoch from '2026-07-10 17:52:59'::timestamp) - extract(epoch from '2026-07-10 17:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138173 -3.123474)', '2026-07-10 17:53:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138186 -3.123476)'), GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:53:08'::timestamp) - extract(epoch from '2026-07-10 17:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138186 -3.123476)'), GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:53:08'::timestamp) - extract(epoch from '2026-07-10 17:52:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138184 -3.12348)', '2026-07-10 17:53:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:53:20'::timestamp) - extract(epoch from '2026-07-10 17:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:53:20'::timestamp) - extract(epoch from '2026-07-10 17:53:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138177 -3.12348)', '2026-07-10 17:53:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:53:25'::timestamp) - extract(epoch from '2026-07-10 17:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.12348)'))) / (select extract(epoch from '2026-07-10 17:53:25'::timestamp) - extract(epoch from '2026-07-10 17:53:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138185 -3.123477)', '2026-07-10 17:53:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:53:32'::timestamp) - extract(epoch from '2026-07-10 17:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.12348)'), GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:53:32'::timestamp) - extract(epoch from '2026-07-10 17:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138182 -3.123474)', '2026-07-10 17:53:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:53:42'::timestamp) - extract(epoch from '2026-07-10 17:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:53:42'::timestamp) - extract(epoch from '2026-07-10 17:53: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.138187 -3.123477)', '2026-07-10 17:53:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:53:54'::timestamp) - extract(epoch from '2026-07-10 17:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:53:54'::timestamp) - extract(epoch from '2026-07-10 17:53: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.138178 -3.123482)', '2026-07-10 17:54:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123482)'))) / (select extract(epoch from '2026-07-10 17:54:04'::timestamp) - extract(epoch from '2026-07-10 17:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123482)'))) / (select extract(epoch from '2026-07-10 17:54:04'::timestamp) - extract(epoch from '2026-07-10 17:53:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13818 -3.123486)', '2026-07-10 17:54:12', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123482)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123486)'))) / (select extract(epoch from '2026-07-10 17:54:12'::timestamp) - extract(epoch from '2026-07-10 17:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123482)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123486)'))) / (select extract(epoch from '2026-07-10 17:54:12'::timestamp) - extract(epoch from '2026-07-10 17: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.138185 -3.123479)', '2026-07-10 17:54:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123486)'), GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123479)'))) / (select extract(epoch from '2026-07-10 17:54:25'::timestamp) - extract(epoch from '2026-07-10 17:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123486)'), GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123479)'))) / (select extract(epoch from '2026-07-10 17:54:25'::timestamp) - extract(epoch from '2026-07-10 17:54: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.138187 -3.123474)', '2026-07-10 17:54:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123479)'), GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:54:36'::timestamp) - extract(epoch from '2026-07-10 17:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123479)'), GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:54:36'::timestamp) - extract(epoch from '2026-07-10 17:54: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.138195 -3.123466)', '2026-07-10 17:54:44', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138195 -3.123466)'))) / (select extract(epoch from '2026-07-10 17:54:44'::timestamp) - extract(epoch from '2026-07-10 17:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138195 -3.123466)'))) / (select extract(epoch from '2026-07-10 17:54:44'::timestamp) - extract(epoch from '2026-07-10 17:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138198 -3.123469)', '2026-07-10 17:54:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138195 -3.123466)'), GeomFromEWKT('SRID=4674;POINT (-39.138198 -3.123469)'))) / (select extract(epoch from '2026-07-10 17:54:52'::timestamp) - extract(epoch from '2026-07-10 17:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138195 -3.123466)'), GeomFromEWKT('SRID=4674;POINT (-39.138198 -3.123469)'))) / (select extract(epoch from '2026-07-10 17:54:52'::timestamp) - extract(epoch from '2026-07-10 17:54: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.138206 -3.123477)', '2026-07-10 17:54:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138198 -3.123469)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:54:59'::timestamp) - extract(epoch from '2026-07-10 17:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138198 -3.123469)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:54:59'::timestamp) - extract(epoch from '2026-07-10 17:54: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.138211 -3.123474)', '2026-07-10 17:55:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:55:05'::timestamp) - extract(epoch from '2026-07-10 17:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:55:05'::timestamp) - extract(epoch from '2026-07-10 17:54:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138215 -3.123474)', '2026-07-10 17:55:12', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:55:12'::timestamp) - extract(epoch from '2026-07-10 17:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123474)'))) / (select extract(epoch from '2026-07-10 17:55:12'::timestamp) - extract(epoch from '2026-07-10 17:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138211 -3.123468)', '2026-07-10 17:55:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123468)'))) / (select extract(epoch from '2026-07-10 17:55:22'::timestamp) - extract(epoch from '2026-07-10 17:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123468)'))) / (select extract(epoch from '2026-07-10 17:55:22'::timestamp) - extract(epoch from '2026-07-10 17:55: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.138202 -3.123464)', '2026-07-10 17:55:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123468)'), GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123464)'))) / (select extract(epoch from '2026-07-10 17:55:29'::timestamp) - extract(epoch from '2026-07-10 17:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123468)'), GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123464)'))) / (select extract(epoch from '2026-07-10 17:55:29'::timestamp) - extract(epoch from '2026-07-10 17:55: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.138206 -3.123472)', '2026-07-10 17:55:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123464)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123472)'))) / (select extract(epoch from '2026-07-10 17:55:34'::timestamp) - extract(epoch from '2026-07-10 17:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123464)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123472)'))) / (select extract(epoch from '2026-07-10 17:55:34'::timestamp) - extract(epoch from '2026-07-10 17: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.138211 -3.123484)', '2026-07-10 17:55:47', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123472)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123484)'))) / (select extract(epoch from '2026-07-10 17:55:47'::timestamp) - extract(epoch from '2026-07-10 17:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123472)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123484)'))) / (select extract(epoch from '2026-07-10 17:55:47'::timestamp) - extract(epoch from '2026-07-10 17:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13821 -3.123486)', '2026-07-10 17:56:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123484)'), GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123486)'))) / (select extract(epoch from '2026-07-10 17:56:01'::timestamp) - extract(epoch from '2026-07-10 17:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123484)'), GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123486)'))) / (select extract(epoch from '2026-07-10 17:56:01'::timestamp) - extract(epoch from '2026-07-10 17:55: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.138209 -3.123489)', '2026-07-10 17:56:10', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123486)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123489)'))) / (select extract(epoch from '2026-07-10 17:56:10'::timestamp) - extract(epoch from '2026-07-10 17:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123486)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123489)'))) / (select extract(epoch from '2026-07-10 17:56:10'::timestamp) - extract(epoch from '2026-07-10 17:56: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.138215 -3.123487)', '2026-07-10 17:56:18', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123489)'), GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123487)'))) / (select extract(epoch from '2026-07-10 17:56:18'::timestamp) - extract(epoch from '2026-07-10 17:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123489)'), GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123487)'))) / (select extract(epoch from '2026-07-10 17:56:18'::timestamp) - extract(epoch from '2026-07-10 17:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13821 -3.123477)', '2026-07-10 17:56:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123487)'), GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:56:29'::timestamp) - extract(epoch from '2026-07-10 17:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123487)'), GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123477)'))) / (select extract(epoch from '2026-07-10 17:56:29'::timestamp) - extract(epoch from '2026-07-10 17:56: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.138204 -3.123473)', '2026-07-10 17:56:38', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123473)'))) / (select extract(epoch from '2026-07-10 17:56:38'::timestamp) - extract(epoch from '2026-07-10 17:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123477)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123473)'))) / (select extract(epoch from '2026-07-10 17:56:38'::timestamp) - extract(epoch from '2026-07-10 17:56: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.138213 -3.123475)', '2026-07-10 17:56:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123473)'), GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123475)'))) / (select extract(epoch from '2026-07-10 17:56:45'::timestamp) - extract(epoch from '2026-07-10 17:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123473)'), GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123475)'))) / (select extract(epoch from '2026-07-10 17:56:45'::timestamp) - extract(epoch from '2026-07-10 17:56: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.138213 -3.123489)', '2026-07-10 17:56:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123475)'), GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123489)'))) / (select extract(epoch from '2026-07-10 17:56:57'::timestamp) - extract(epoch from '2026-07-10 17:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123475)'), GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123489)'))) / (select extract(epoch from '2026-07-10 17:56:57'::timestamp) - extract(epoch from '2026-07-10 17:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138204 -3.123486)', '2026-07-10 17:57:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123489)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123486)'))) / (select extract(epoch from '2026-07-10 17:57:03'::timestamp) - extract(epoch from '2026-07-10 17:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123489)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123486)'))) / (select extract(epoch from '2026-07-10 17:57:03'::timestamp) - extract(epoch from '2026-07-10 17: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.138206 -3.123491)', '2026-07-10 17:57:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123486)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123491)'))) / (select extract(epoch from '2026-07-10 17:57:13'::timestamp) - extract(epoch from '2026-07-10 17:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123486)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123491)'))) / (select extract(epoch from '2026-07-10 17:57:13'::timestamp) - extract(epoch from '2026-07-10 17:57:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138213 -3.123499)', '2026-07-10 17:57:21', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123491)'), GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123499)'))) / (select extract(epoch from '2026-07-10 17:57:21'::timestamp) - extract(epoch from '2026-07-10 17:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123491)'), GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123499)'))) / (select extract(epoch from '2026-07-10 17:57:21'::timestamp) - extract(epoch from '2026-07-10 17:57:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138209 -3.123504)', '2026-07-10 17:57:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123499)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123504)'))) / (select extract(epoch from '2026-07-10 17:57:32'::timestamp) - extract(epoch from '2026-07-10 17:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123499)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123504)'))) / (select extract(epoch from '2026-07-10 17:57:32'::timestamp) - extract(epoch from '2026-07-10 17:57: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.138207 -3.123513)', '2026-07-10 17:57:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123504)'), GeomFromEWKT('SRID=4674;POINT (-39.138207 -3.123513)'))) / (select extract(epoch from '2026-07-10 17:57:40'::timestamp) - extract(epoch from '2026-07-10 17:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123504)'), GeomFromEWKT('SRID=4674;POINT (-39.138207 -3.123513)'))) / (select extract(epoch from '2026-07-10 17:57:40'::timestamp) - extract(epoch from '2026-07-10 17: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.138205 -3.123496)', '2026-07-10 17:57:54', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138207 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123496)'))) / (select extract(epoch from '2026-07-10 17:57:54'::timestamp) - extract(epoch from '2026-07-10 17:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138207 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123496)'))) / (select extract(epoch from '2026-07-10 17:57:54'::timestamp) - extract(epoch from '2026-07-10 17:57:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138208 -3.123492)', '2026-07-10 17:58:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123492)'))) / (select extract(epoch from '2026-07-10 17:58:02'::timestamp) - extract(epoch from '2026-07-10 17:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123492)'))) / (select extract(epoch from '2026-07-10 17:58:02'::timestamp) - extract(epoch from '2026-07-10 17:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138194 -3.123495)', '2026-07-10 17:58:11', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123492)'), GeomFromEWKT('SRID=4674;POINT (-39.138194 -3.123495)'))) / (select extract(epoch from '2026-07-10 17:58:11'::timestamp) - extract(epoch from '2026-07-10 17:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123492)'), GeomFromEWKT('SRID=4674;POINT (-39.138194 -3.123495)'))) / (select extract(epoch from '2026-07-10 17:58:11'::timestamp) - extract(epoch from '2026-07-10 17:58: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.138188 -3.1235)', '2026-07-10 17:58:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138194 -3.123495)'), GeomFromEWKT('SRID=4674;POINT (-39.138188 -3.1235)'))) / (select extract(epoch from '2026-07-10 17:58:20'::timestamp) - extract(epoch from '2026-07-10 17:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138194 -3.123495)'), GeomFromEWKT('SRID=4674;POINT (-39.138188 -3.1235)'))) / (select extract(epoch from '2026-07-10 17:58:20'::timestamp) - extract(epoch from '2026-07-10 17:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138194 -3.12349)', '2026-07-10 17:58:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138188 -3.1235)'), GeomFromEWKT('SRID=4674;POINT (-39.138194 -3.12349)'))) / (select extract(epoch from '2026-07-10 17:58:30'::timestamp) - extract(epoch from '2026-07-10 17:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138188 -3.1235)'), GeomFromEWKT('SRID=4674;POINT (-39.138194 -3.12349)'))) / (select extract(epoch from '2026-07-10 17:58:30'::timestamp) - extract(epoch from '2026-07-10 17:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138201 -3.123492)', '2026-07-10 17:58:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138194 -3.12349)'), GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123492)'))) / (select extract(epoch from '2026-07-10 17:58:40'::timestamp) - extract(epoch from '2026-07-10 17:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138194 -3.12349)'), GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123492)'))) / (select extract(epoch from '2026-07-10 17:58:40'::timestamp) - extract(epoch from '2026-07-10 17:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138201 -3.123495)', '2026-07-10 17:58:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123492)'), GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123495)'))) / (select extract(epoch from '2026-07-10 17:58:50'::timestamp) - extract(epoch from '2026-07-10 17:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123492)'), GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123495)'))) / (select extract(epoch from '2026-07-10 17:58:50'::timestamp) - extract(epoch from '2026-07-10 17:58: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.138204 -3.123503)', '2026-07-10 17:59:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123495)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123503)'))) / (select extract(epoch from '2026-07-10 17:59:05'::timestamp) - extract(epoch from '2026-07-10 17:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123495)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123503)'))) / (select extract(epoch from '2026-07-10 17:59:05'::timestamp) - extract(epoch from '2026-07-10 17:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138212 -3.123496)', '2026-07-10 17:59:11', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123503)'), GeomFromEWKT('SRID=4674;POINT (-39.138212 -3.123496)'))) / (select extract(epoch from '2026-07-10 17:59:11'::timestamp) - extract(epoch from '2026-07-10 17:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123503)'), GeomFromEWKT('SRID=4674;POINT (-39.138212 -3.123496)'))) / (select extract(epoch from '2026-07-10 17:59:11'::timestamp) - extract(epoch from '2026-07-10 17:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138211 -3.123496)', '2026-07-10 17:59:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138212 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123496)'))) / (select extract(epoch from '2026-07-10 17:59:20'::timestamp) - extract(epoch from '2026-07-10 17:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138212 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123496)'))) / (select extract(epoch from '2026-07-10 17:59:20'::timestamp) - extract(epoch from '2026-07-10 17:59: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.138209 -3.123494)', '2026-07-10 17:59:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123494)'))) / (select extract(epoch from '2026-07-10 17:59:25'::timestamp) - extract(epoch from '2026-07-10 17:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123494)'))) / (select extract(epoch from '2026-07-10 17:59:25'::timestamp) - extract(epoch from '2026-07-10 17:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138213 -3.123495)', '2026-07-10 17:59:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123494)'), GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123495)'))) / (select extract(epoch from '2026-07-10 17:59:33'::timestamp) - extract(epoch from '2026-07-10 17:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123494)'), GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123495)'))) / (select extract(epoch from '2026-07-10 17:59:33'::timestamp) - extract(epoch from '2026-07-10 17:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138215 -3.123483)', '2026-07-10 17:59:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123495)'), GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123483)'))) / (select extract(epoch from '2026-07-10 17:59:40'::timestamp) - extract(epoch from '2026-07-10 17:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123495)'), GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123483)'))) / (select extract(epoch from '2026-07-10 17:59:40'::timestamp) - extract(epoch from '2026-07-10 17:59: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.138221 -3.123487)', '2026-07-10 17:59:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123483)'), GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123487)'))) / (select extract(epoch from '2026-07-10 17:59:48'::timestamp) - extract(epoch from '2026-07-10 17:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123483)'), GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123487)'))) / (select extract(epoch from '2026-07-10 17:59:48'::timestamp) - extract(epoch from '2026-07-10 17:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138219 -3.123497)', '2026-07-10 17:59:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123487)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123497)'))) / (select extract(epoch from '2026-07-10 17:59:56'::timestamp) - extract(epoch from '2026-07-10 17:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123487)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123497)'))) / (select extract(epoch from '2026-07-10 17:59:56'::timestamp) - extract(epoch from '2026-07-10 17:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138218 -3.123489)', '2026-07-10 18:00:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123497)'), GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123489)'))) / (select extract(epoch from '2026-07-10 18:00:03'::timestamp) - extract(epoch from '2026-07-10 17:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123497)'), GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123489)'))) / (select extract(epoch from '2026-07-10 18:00:03'::timestamp) - extract(epoch from '2026-07-10 17:59: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.138215 -3.123489)', '2026-07-10 18:00:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123489)'), GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123489)'))) / (select extract(epoch from '2026-07-10 18:00:09'::timestamp) - extract(epoch from '2026-07-10 18:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123489)'), GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123489)'))) / (select extract(epoch from '2026-07-10 18:00:09'::timestamp) - extract(epoch from '2026-07-10 18:00: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.138219 -3.123493)', '2026-07-10 18:00:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123489)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123493)'))) / (select extract(epoch from '2026-07-10 18:00:23'::timestamp) - extract(epoch from '2026-07-10 18:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.123489)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123493)'))) / (select extract(epoch from '2026-07-10 18:00:23'::timestamp) - extract(epoch from '2026-07-10 18:00: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.138224 -3.123491)', '2026-07-10 18:00:30', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123493)'), GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123491)'))) / (select extract(epoch from '2026-07-10 18:00:30'::timestamp) - extract(epoch from '2026-07-10 18:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123493)'), GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123491)'))) / (select extract(epoch from '2026-07-10 18:00:30'::timestamp) - extract(epoch from '2026-07-10 18:00: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.138229 -3.123501)', '2026-07-10 18:00:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123491)'), GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.123501)'))) / (select extract(epoch from '2026-07-10 18:00:45'::timestamp) - extract(epoch from '2026-07-10 18:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123491)'), GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.123501)'))) / (select extract(epoch from '2026-07-10 18:00:45'::timestamp) - extract(epoch from '2026-07-10 18:00:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138229 -3.1235)', '2026-07-10 18:00:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.123501)'), GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.1235)'))) / (select extract(epoch from '2026-07-10 18:00:52'::timestamp) - extract(epoch from '2026-07-10 18:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.123501)'), GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.1235)'))) / (select extract(epoch from '2026-07-10 18:00:52'::timestamp) - extract(epoch from '2026-07-10 18:00: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.138224 -3.123512)', '2026-07-10 18:00:58', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.1235)'), GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:00:58'::timestamp) - extract(epoch from '2026-07-10 18:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.1235)'), GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:00:58'::timestamp) - extract(epoch from '2026-07-10 18: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.138219 -3.123518)', '2026-07-10 18:01:12', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:01:12'::timestamp) - extract(epoch from '2026-07-10 18:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:01:12'::timestamp) - extract(epoch from '2026-07-10 18:00: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.138212 -3.123521)', '2026-07-10 18:01:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138212 -3.123521)'))) / (select extract(epoch from '2026-07-10 18:01:23'::timestamp) - extract(epoch from '2026-07-10 18:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138212 -3.123521)'))) / (select extract(epoch from '2026-07-10 18:01:23'::timestamp) - extract(epoch from '2026-07-10 18:01: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.138213 -3.123514)', '2026-07-10 18:01:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138212 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123514)'))) / (select extract(epoch from '2026-07-10 18:01:31'::timestamp) - extract(epoch from '2026-07-10 18:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138212 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123514)'))) / (select extract(epoch from '2026-07-10 18:01:31'::timestamp) - extract(epoch from '2026-07-10 18:01: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.138211 -3.123511)', '2026-07-10 18:01:38', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123514)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:01:38'::timestamp) - extract(epoch from '2026-07-10 18:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138213 -3.123514)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:01:38'::timestamp) - extract(epoch from '2026-07-10 18:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13821 -3.123505)', '2026-07-10 18:01:47', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123505)'))) / (select extract(epoch from '2026-07-10 18:01:47'::timestamp) - extract(epoch from '2026-07-10 18:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123505)'))) / (select extract(epoch from '2026-07-10 18:01:47'::timestamp) - extract(epoch from '2026-07-10 18:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138218 -3.123499)', '2026-07-10 18:01:56', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123505)'), GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123499)'))) / (select extract(epoch from '2026-07-10 18:01:56'::timestamp) - extract(epoch from '2026-07-10 18:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123505)'), GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123499)'))) / (select extract(epoch from '2026-07-10 18:01:56'::timestamp) - extract(epoch from '2026-07-10 18:01: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.138219 -3.123501)', '2026-07-10 18:02:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123499)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123501)'))) / (select extract(epoch from '2026-07-10 18:02:05'::timestamp) - extract(epoch from '2026-07-10 18:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123499)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123501)'))) / (select extract(epoch from '2026-07-10 18:02:05'::timestamp) - extract(epoch from '2026-07-10 18:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13821 -3.123512)', '2026-07-10 18:02:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123501)'), GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:02:14'::timestamp) - extract(epoch from '2026-07-10 18:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123501)'), GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:02:14'::timestamp) - extract(epoch from '2026-07-10 18:02: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.138218 -3.123512)', '2026-07-10 18:02:23', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:02:23'::timestamp) - extract(epoch from '2026-07-10 18:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:02:23'::timestamp) - extract(epoch from '2026-07-10 18:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138216 -3.123522)', '2026-07-10 18:02:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123522)'))) / (select extract(epoch from '2026-07-10 18:02:36'::timestamp) - extract(epoch from '2026-07-10 18:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123522)'))) / (select extract(epoch from '2026-07-10 18:02:36'::timestamp) - extract(epoch from '2026-07-10 18:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138219 -3.123523)', '2026-07-10 18:02:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123522)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:02:41'::timestamp) - extract(epoch from '2026-07-10 18:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123522)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:02:41'::timestamp) - extract(epoch from '2026-07-10 18:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138228 -3.123517)', '2026-07-10 18:02:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:02:48'::timestamp) - extract(epoch from '2026-07-10 18:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:02:48'::timestamp) - extract(epoch from '2026-07-10 18:02: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.138216 -3.123515)', '2026-07-10 18:02:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123515)'))) / (select extract(epoch from '2026-07-10 18:02:55'::timestamp) - extract(epoch from '2026-07-10 18:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123515)'))) / (select extract(epoch from '2026-07-10 18:02:55'::timestamp) - extract(epoch from '2026-07-10 18:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138214 -3.123506)', '2026-07-10 18:03:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123515)'), GeomFromEWKT('SRID=4674;POINT (-39.138214 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:03:05'::timestamp) - extract(epoch from '2026-07-10 18:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123515)'), GeomFromEWKT('SRID=4674;POINT (-39.138214 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:03:05'::timestamp) - extract(epoch from '2026-07-10 18:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138216 -3.123508)', '2026-07-10 18:03:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138214 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123508)'))) / (select extract(epoch from '2026-07-10 18:03:10'::timestamp) - extract(epoch from '2026-07-10 18:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138214 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123508)'))) / (select extract(epoch from '2026-07-10 18:03:10'::timestamp) - extract(epoch from '2026-07-10 18:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138208 -3.123507)', '2026-07-10 18:03:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123508)'), GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:03:12'::timestamp) - extract(epoch from '2026-07-10 18:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123508)'), GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:03:12'::timestamp) - extract(epoch from '2026-07-10 18:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138209 -3.123518)', '2026-07-10 18:03:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:03:22'::timestamp) - extract(epoch from '2026-07-10 18:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:03:22'::timestamp) - extract(epoch from '2026-07-10 18:03: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.138211 -3.123504)', '2026-07-10 18:03:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123504)'))) / (select extract(epoch from '2026-07-10 18:03:37'::timestamp) - extract(epoch from '2026-07-10 18:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123504)'))) / (select extract(epoch from '2026-07-10 18:03:37'::timestamp) - extract(epoch from '2026-07-10 18:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138208 -3.123502)', '2026-07-10 18:03:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123504)'), GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123502)'))) / (select extract(epoch from '2026-07-10 18:03:46'::timestamp) - extract(epoch from '2026-07-10 18:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123504)'), GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123502)'))) / (select extract(epoch from '2026-07-10 18:03:46'::timestamp) - extract(epoch from '2026-07-10 18:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138206 -3.123499)', '2026-07-10 18:03:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123502)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123499)'))) / (select extract(epoch from '2026-07-10 18:03:55'::timestamp) - extract(epoch from '2026-07-10 18:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138208 -3.123502)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123499)'))) / (select extract(epoch from '2026-07-10 18:03:55'::timestamp) - extract(epoch from '2026-07-10 18: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.138211 -3.123508)', '2026-07-10 18:04:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123499)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123508)'))) / (select extract(epoch from '2026-07-10 18:04:06'::timestamp) - extract(epoch from '2026-07-10 18:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123499)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123508)'))) / (select extract(epoch from '2026-07-10 18:04:06'::timestamp) - extract(epoch from '2026-07-10 18:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138207 -3.123505)', '2026-07-10 18:04:16', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123508)'), GeomFromEWKT('SRID=4674;POINT (-39.138207 -3.123505)'))) / (select extract(epoch from '2026-07-10 18:04:16'::timestamp) - extract(epoch from '2026-07-10 18:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123508)'), GeomFromEWKT('SRID=4674;POINT (-39.138207 -3.123505)'))) / (select extract(epoch from '2026-07-10 18:04:16'::timestamp) - extract(epoch from '2026-07-10 18: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.138203 -3.123511)', '2026-07-10 18:04:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138207 -3.123505)'), GeomFromEWKT('SRID=4674;POINT (-39.138203 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:04:22'::timestamp) - extract(epoch from '2026-07-10 18:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138207 -3.123505)'), GeomFromEWKT('SRID=4674;POINT (-39.138203 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:04:22'::timestamp) - extract(epoch from '2026-07-10 18:04: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.138203 -3.123507)', '2026-07-10 18:04:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138203 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138203 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:04:33'::timestamp) - extract(epoch from '2026-07-10 18:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138203 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138203 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:04:33'::timestamp) - extract(epoch from '2026-07-10 18:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138202 -3.123507)', '2026-07-10 18:04:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138203 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:04:40'::timestamp) - extract(epoch from '2026-07-10 18:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138203 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:04:40'::timestamp) - extract(epoch from '2026-07-10 18:04: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.138202 -3.123506)', '2026-07-10 18:04:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:04:46'::timestamp) - extract(epoch from '2026-07-10 18:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:04:46'::timestamp) - extract(epoch from '2026-07-10 18:04: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.138197 -3.123501)', '2026-07-10 18:04:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.138197 -3.123501)'))) / (select extract(epoch from '2026-07-10 18:04:58'::timestamp) - extract(epoch from '2026-07-10 18:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138202 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.138197 -3.123501)'))) / (select extract(epoch from '2026-07-10 18:04:58'::timestamp) - extract(epoch from '2026-07-10 18:04: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.138198 -3.123504)', '2026-07-10 18:05:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138197 -3.123501)'), GeomFromEWKT('SRID=4674;POINT (-39.138198 -3.123504)'))) / (select extract(epoch from '2026-07-10 18:05:02'::timestamp) - extract(epoch from '2026-07-10 18:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138197 -3.123501)'), GeomFromEWKT('SRID=4674;POINT (-39.138198 -3.123504)'))) / (select extract(epoch from '2026-07-10 18:05:02'::timestamp) - extract(epoch from '2026-07-10 18:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138201 -3.123509)', '2026-07-10 18:05:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138198 -3.123504)'), GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123509)'))) / (select extract(epoch from '2026-07-10 18:05:08'::timestamp) - extract(epoch from '2026-07-10 18:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138198 -3.123504)'), GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123509)'))) / (select extract(epoch from '2026-07-10 18:05:08'::timestamp) - extract(epoch from '2026-07-10 18:05:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138204 -3.123516)', '2026-07-10 18:05:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123509)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:05:20'::timestamp) - extract(epoch from '2026-07-10 18:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138201 -3.123509)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:05:20'::timestamp) - extract(epoch from '2026-07-10 18:05: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.138211 -3.123523)', '2026-07-10 18:05:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:05:31'::timestamp) - extract(epoch from '2026-07-10 18:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:05:31'::timestamp) - extract(epoch from '2026-07-10 18: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.138206 -3.123525)', '2026-07-10 18:05:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:05:40'::timestamp) - extract(epoch from '2026-07-10 18:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138211 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:05:40'::timestamp) - extract(epoch from '2026-07-10 18:05: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.138205 -3.123523)', '2026-07-10 18:05:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:05:51'::timestamp) - extract(epoch from '2026-07-10 18:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:05:51'::timestamp) - extract(epoch from '2026-07-10 18:05: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.138205 -3.123517)', '2026-07-10 18:05:58', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:05:58'::timestamp) - extract(epoch from '2026-07-10 18:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:05:58'::timestamp) - extract(epoch from '2026-07-10 18:05: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.138204 -3.12352)', '2026-07-10 18:06:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.12352)'))) / (select extract(epoch from '2026-07-10 18:06:09'::timestamp) - extract(epoch from '2026-07-10 18:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138205 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.12352)'))) / (select extract(epoch from '2026-07-10 18:06:09'::timestamp) - extract(epoch from '2026-07-10 18: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.138206 -3.123519)', '2026-07-10 18:06:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.12352)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123519)'))) / (select extract(epoch from '2026-07-10 18:06:21'::timestamp) - extract(epoch from '2026-07-10 18:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.12352)'), GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123519)'))) / (select extract(epoch from '2026-07-10 18:06:21'::timestamp) - extract(epoch from '2026-07-10 18:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138204 -3.123516)', '2026-07-10 18:06:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123519)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:06:30'::timestamp) - extract(epoch from '2026-07-10 18:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138206 -3.123519)'), GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:06:30'::timestamp) - extract(epoch from '2026-07-10 18:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138215 -3.12351)', '2026-07-10 18:06:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.12351)'))) / (select extract(epoch from '2026-07-10 18:06:38'::timestamp) - extract(epoch from '2026-07-10 18:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138204 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.12351)'))) / (select extract(epoch from '2026-07-10 18:06:38'::timestamp) - extract(epoch from '2026-07-10 18:06: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.138224 -3.123508)', '2026-07-10 18:06:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.12351)'), GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123508)'))) / (select extract(epoch from '2026-07-10 18:06:44'::timestamp) - extract(epoch from '2026-07-10 18:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138215 -3.12351)'), GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123508)'))) / (select extract(epoch from '2026-07-10 18:06:44'::timestamp) - extract(epoch from '2026-07-10 18:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138222 -3.123507)', '2026-07-10 18:06:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123508)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:06:49'::timestamp) - extract(epoch from '2026-07-10 18:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123508)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:06:49'::timestamp) - extract(epoch from '2026-07-10 18:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138209 -3.123506)', '2026-07-10 18:06:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:06:59'::timestamp) - extract(epoch from '2026-07-10 18:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:06:59'::timestamp) - extract(epoch from '2026-07-10 18:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138216 -3.123518)', '2026-07-10 18:07:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:07:08'::timestamp) - extract(epoch from '2026-07-10 18:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:07:08'::timestamp) - extract(epoch from '2026-07-10 18:06: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.138222 -3.123516)', '2026-07-10 18:07:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:07:16'::timestamp) - extract(epoch from '2026-07-10 18:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138216 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:07:16'::timestamp) - extract(epoch from '2026-07-10 18:07: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.138234 -3.123518)', '2026-07-10 18:07:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:07:24'::timestamp) - extract(epoch from '2026-07-10 18:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:07:24'::timestamp) - extract(epoch from '2026-07-10 18:07:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138241 -3.123511)', '2026-07-10 18:07:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:07:31'::timestamp) - extract(epoch from '2026-07-10 18:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:07:31'::timestamp) - extract(epoch from '2026-07-10 18: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.138238 -3.123518)', '2026-07-10 18:07:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:07:36'::timestamp) - extract(epoch from '2026-07-10 18:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:07:36'::timestamp) - extract(epoch from '2026-07-10 18:07: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.138233 -3.123514)', '2026-07-10 18:07:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123514)'))) / (select extract(epoch from '2026-07-10 18:07:41'::timestamp) - extract(epoch from '2026-07-10 18:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123514)'))) / (select extract(epoch from '2026-07-10 18:07:41'::timestamp) - extract(epoch from '2026-07-10 18:07: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.138232 -3.123517)', '2026-07-10 18:07:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123514)'), GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:07:50'::timestamp) - extract(epoch from '2026-07-10 18:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123514)'), GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:07:50'::timestamp) - extract(epoch from '2026-07-10 18:07: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.138239 -3.123512)', '2026-07-10 18:08:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:08:00'::timestamp) - extract(epoch from '2026-07-10 18:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:08:00'::timestamp) - extract(epoch from '2026-07-10 18:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138235 -3.123521)', '2026-07-10 18:08:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123521)'))) / (select extract(epoch from '2026-07-10 18:08:04'::timestamp) - extract(epoch from '2026-07-10 18:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123521)'))) / (select extract(epoch from '2026-07-10 18:08:04'::timestamp) - extract(epoch from '2026-07-10 18:08: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.138226 -3.123527)', '2026-07-10 18:08:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123527)'))) / (select extract(epoch from '2026-07-10 18:08:12'::timestamp) - extract(epoch from '2026-07-10 18:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123527)'))) / (select extract(epoch from '2026-07-10 18:08:12'::timestamp) - extract(epoch from '2026-07-10 18:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138229 -3.123525)', '2026-07-10 18:08:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123527)'), GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:08:20'::timestamp) - extract(epoch from '2026-07-10 18:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123527)'), GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:08:20'::timestamp) - extract(epoch from '2026-07-10 18:08: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.138227 -3.123526)', '2026-07-10 18:08:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123526)'))) / (select extract(epoch from '2026-07-10 18:08:33'::timestamp) - extract(epoch from '2026-07-10 18:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138229 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123526)'))) / (select extract(epoch from '2026-07-10 18:08:33'::timestamp) - extract(epoch from '2026-07-10 18:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138231 -3.123535)', '2026-07-10 18:08:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123526)'), GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123535)'))) / (select extract(epoch from '2026-07-10 18:08:40'::timestamp) - extract(epoch from '2026-07-10 18:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123526)'), GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123535)'))) / (select extract(epoch from '2026-07-10 18:08:40'::timestamp) - extract(epoch from '2026-07-10 18:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138235 -3.123549)', '2026-07-10 18:08:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123535)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123549)'))) / (select extract(epoch from '2026-07-10 18:08:47'::timestamp) - extract(epoch from '2026-07-10 18:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123535)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123549)'))) / (select extract(epoch from '2026-07-10 18:08:47'::timestamp) - extract(epoch from '2026-07-10 18:08:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138231 -3.12355)', '2026-07-10 18:08:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123549)'), GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.12355)'))) / (select extract(epoch from '2026-07-10 18:08:48'::timestamp) - extract(epoch from '2026-07-10 18:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123549)'), GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.12355)'))) / (select extract(epoch from '2026-07-10 18:08:48'::timestamp) - extract(epoch from '2026-07-10 18:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138233 -3.123549)', '2026-07-10 18:08:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.12355)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123549)'))) / (select extract(epoch from '2026-07-10 18:08:51'::timestamp) - extract(epoch from '2026-07-10 18:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.12355)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123549)'))) / (select extract(epoch from '2026-07-10 18:08:51'::timestamp) - extract(epoch from '2026-07-10 18:08:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138225 -3.123543)', '2026-07-10 18:09:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123549)'), GeomFromEWKT('SRID=4674;POINT (-39.138225 -3.123543)'))) / (select extract(epoch from '2026-07-10 18:09:02'::timestamp) - extract(epoch from '2026-07-10 18:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123549)'), GeomFromEWKT('SRID=4674;POINT (-39.138225 -3.123543)'))) / (select extract(epoch from '2026-07-10 18:09:02'::timestamp) - extract(epoch from '2026-07-10 18:08:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138217 -3.123546)', '2026-07-10 18:09:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138225 -3.123543)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123546)'))) / (select extract(epoch from '2026-07-10 18:09:15'::timestamp) - extract(epoch from '2026-07-10 18:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138225 -3.123543)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123546)'))) / (select extract(epoch from '2026-07-10 18:09:15'::timestamp) - extract(epoch from '2026-07-10 18:09: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.138227 -3.123537)', '2026-07-10 18:09:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123546)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123537)'))) / (select extract(epoch from '2026-07-10 18:09:22'::timestamp) - extract(epoch from '2026-07-10 18:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123546)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123537)'))) / (select extract(epoch from '2026-07-10 18:09:22'::timestamp) - extract(epoch from '2026-07-10 18:09: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.138224 -3.123523)', '2026-07-10 18:09:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123537)'), GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:09:32'::timestamp) - extract(epoch from '2026-07-10 18:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123537)'), GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:09:32'::timestamp) - extract(epoch from '2026-07-10 18:09:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138227 -3.123517)', '2026-07-10 18:09:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:09:38'::timestamp) - extract(epoch from '2026-07-10 18:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:09:38'::timestamp) - extract(epoch from '2026-07-10 18:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138222 -3.123512)', '2026-07-10 18:09:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:09:47'::timestamp) - extract(epoch from '2026-07-10 18:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:09:47'::timestamp) - extract(epoch from '2026-07-10 18:09:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138219 -3.123509)', '2026-07-10 18:09:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123509)'))) / (select extract(epoch from '2026-07-10 18:09:55'::timestamp) - extract(epoch from '2026-07-10 18:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123509)'))) / (select extract(epoch from '2026-07-10 18:09:55'::timestamp) - extract(epoch from '2026-07-10 18:09: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.138222 -3.123506)', '2026-07-10 18:10:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123509)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:10:01'::timestamp) - extract(epoch from '2026-07-10 18:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123509)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:10:01'::timestamp) - extract(epoch from '2026-07-10 18:09: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.138214 -3.123507)', '2026-07-10 18:10:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.138214 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:10:09'::timestamp) - extract(epoch from '2026-07-10 18:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.138214 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:10:09'::timestamp) - extract(epoch from '2026-07-10 18:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138209 -3.123507)', '2026-07-10 18:10:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138214 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:10:23'::timestamp) - extract(epoch from '2026-07-10 18:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138214 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:10:23'::timestamp) - extract(epoch from '2026-07-10 18:10: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.138217 -3.123511)', '2026-07-10 18:10:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:10:32'::timestamp) - extract(epoch from '2026-07-10 18:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138209 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:10:32'::timestamp) - extract(epoch from '2026-07-10 18:10: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.138219 -3.123507)', '2026-07-10 18:10:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:10:43'::timestamp) - extract(epoch from '2026-07-10 18:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:10:43'::timestamp) - extract(epoch from '2026-07-10 18:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13821 -3.12351)', '2026-07-10 18:10:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.12351)'))) / (select extract(epoch from '2026-07-10 18:10:51'::timestamp) - extract(epoch from '2026-07-10 18:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.12351)'))) / (select extract(epoch from '2026-07-10 18:10:51'::timestamp) - extract(epoch from '2026-07-10 18:10:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138217 -3.123518)', '2026-07-10 18:10:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.12351)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:10:57'::timestamp) - extract(epoch from '2026-07-10 18:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13821 -3.12351)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:10:57'::timestamp) - extract(epoch from '2026-07-10 18:10: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.138222 -3.123523)', '2026-07-10 18:10:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:10:59'::timestamp) - extract(epoch from '2026-07-10 18:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:10:59'::timestamp) - extract(epoch from '2026-07-10 18: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.138218 -3.123527)', '2026-07-10 18:11:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123527)'))) / (select extract(epoch from '2026-07-10 18:11:04'::timestamp) - extract(epoch from '2026-07-10 18:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123527)'))) / (select extract(epoch from '2026-07-10 18:11:04'::timestamp) - extract(epoch from '2026-07-10 18:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138217 -3.12353)', '2026-07-10 18:11:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123527)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.12353)'))) / (select extract(epoch from '2026-07-10 18:11:14'::timestamp) - extract(epoch from '2026-07-10 18:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123527)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.12353)'))) / (select extract(epoch from '2026-07-10 18:11:14'::timestamp) - extract(epoch from '2026-07-10 18:11:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138217 -3.123529)', '2026-07-10 18:11:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.12353)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123529)'))) / (select extract(epoch from '2026-07-10 18:11:24'::timestamp) - extract(epoch from '2026-07-10 18:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.12353)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123529)'))) / (select extract(epoch from '2026-07-10 18:11:24'::timestamp) - extract(epoch from '2026-07-10 18:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138227 -3.123541)', '2026-07-10 18:11:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123529)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123541)'))) / (select extract(epoch from '2026-07-10 18:11:29'::timestamp) - extract(epoch from '2026-07-10 18:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123529)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123541)'))) / (select extract(epoch from '2026-07-10 18:11:29'::timestamp) - extract(epoch from '2026-07-10 18:11: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.138228 -3.123537)', '2026-07-10 18:11:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123541)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123537)'))) / (select extract(epoch from '2026-07-10 18:11:37'::timestamp) - extract(epoch from '2026-07-10 18:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123541)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123537)'))) / (select extract(epoch from '2026-07-10 18:11:37'::timestamp) - extract(epoch from '2026-07-10 18:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138226 -3.123544)', '2026-07-10 18:11:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123537)'), GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123544)'))) / (select extract(epoch from '2026-07-10 18:11:42'::timestamp) - extract(epoch from '2026-07-10 18:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123537)'), GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123544)'))) / (select extract(epoch from '2026-07-10 18:11:42'::timestamp) - extract(epoch from '2026-07-10 18: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.138234 -3.123544)', '2026-07-10 18:11:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123544)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123544)'))) / (select extract(epoch from '2026-07-10 18:11:46'::timestamp) - extract(epoch from '2026-07-10 18:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123544)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123544)'))) / (select extract(epoch from '2026-07-10 18:11:46'::timestamp) - extract(epoch from '2026-07-10 18:11: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.138228 -3.123543)', '2026-07-10 18:11:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123544)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123543)'))) / (select extract(epoch from '2026-07-10 18:11:47'::timestamp) - extract(epoch from '2026-07-10 18:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123544)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123543)'))) / (select extract(epoch from '2026-07-10 18:11:47'::timestamp) - extract(epoch from '2026-07-10 18:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13823 -3.123549)', '2026-07-10 18:11:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123543)'), GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123549)'))) / (select extract(epoch from '2026-07-10 18:11:51'::timestamp) - extract(epoch from '2026-07-10 18:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123543)'), GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123549)'))) / (select extract(epoch from '2026-07-10 18:11:51'::timestamp) - extract(epoch from '2026-07-10 18:11: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.138232 -3.123545)', '2026-07-10 18:12:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123549)'), GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123545)'))) / (select extract(epoch from '2026-07-10 18:12:00'::timestamp) - extract(epoch from '2026-07-10 18:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123549)'), GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123545)'))) / (select extract(epoch from '2026-07-10 18:12:00'::timestamp) - extract(epoch from '2026-07-10 18:11: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.138236 -3.123542)', '2026-07-10 18:12:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123545)'), GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123542)'))) / (select extract(epoch from '2026-07-10 18:12:10'::timestamp) - extract(epoch from '2026-07-10 18:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123545)'), GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123542)'))) / (select extract(epoch from '2026-07-10 18:12:10'::timestamp) - extract(epoch from '2026-07-10 18:12: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.138238 -3.123547)', '2026-07-10 18:12:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123542)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123547)'))) / (select extract(epoch from '2026-07-10 18:12:14'::timestamp) - extract(epoch from '2026-07-10 18:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123542)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123547)'))) / (select extract(epoch from '2026-07-10 18:12:14'::timestamp) - extract(epoch from '2026-07-10 18:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138237 -3.123533)', '2026-07-10 18:12:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123547)'), GeomFromEWKT('SRID=4674;POINT (-39.138237 -3.123533)'))) / (select extract(epoch from '2026-07-10 18:12:22'::timestamp) - extract(epoch from '2026-07-10 18:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123547)'), GeomFromEWKT('SRID=4674;POINT (-39.138237 -3.123533)'))) / (select extract(epoch from '2026-07-10 18:12:22'::timestamp) - extract(epoch from '2026-07-10 18:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138236 -3.123522)', '2026-07-10 18:12:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138237 -3.123533)'), GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123522)'))) / (select extract(epoch from '2026-07-10 18:12:30'::timestamp) - extract(epoch from '2026-07-10 18:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138237 -3.123533)'), GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123522)'))) / (select extract(epoch from '2026-07-10 18:12:30'::timestamp) - extract(epoch from '2026-07-10 18:12: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.138232 -3.123523)', '2026-07-10 18:12:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123522)'), GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:12:39'::timestamp) - extract(epoch from '2026-07-10 18:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123522)'), GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:12:39'::timestamp) - extract(epoch from '2026-07-10 18:12: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.138228 -3.123523)', '2026-07-10 18:12:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:12:46'::timestamp) - extract(epoch from '2026-07-10 18:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:12:46'::timestamp) - extract(epoch from '2026-07-10 18:12: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.13823 -3.123524)', '2026-07-10 18:12:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:12:53'::timestamp) - extract(epoch from '2026-07-10 18:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:12:53'::timestamp) - extract(epoch from '2026-07-10 18:12: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.138235 -3.123526)', '2026-07-10 18:13:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123526)'))) / (select extract(epoch from '2026-07-10 18:13:01'::timestamp) - extract(epoch from '2026-07-10 18:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123526)'))) / (select extract(epoch from '2026-07-10 18:13:01'::timestamp) - extract(epoch from '2026-07-10 18:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13823 -3.123521)', '2026-07-10 18:13:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123526)'), GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123521)'))) / (select extract(epoch from '2026-07-10 18:13:10'::timestamp) - extract(epoch from '2026-07-10 18:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123526)'), GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123521)'))) / (select extract(epoch from '2026-07-10 18:13:10'::timestamp) - extract(epoch from '2026-07-10 18:13: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.138234 -3.123516)', '2026-07-10 18:13:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:13:21'::timestamp) - extract(epoch from '2026-07-10 18:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13823 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:13:21'::timestamp) - extract(epoch from '2026-07-10 18:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138228 -3.123528)', '2026-07-10 18:13:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123528)'))) / (select extract(epoch from '2026-07-10 18:13:30'::timestamp) - extract(epoch from '2026-07-10 18:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123528)'))) / (select extract(epoch from '2026-07-10 18:13:30'::timestamp) - extract(epoch from '2026-07-10 18:13: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.138224 -3.123525)', '2026-07-10 18:13:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123528)'), GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:13:41'::timestamp) - extract(epoch from '2026-07-10 18:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123528)'), GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:13:41'::timestamp) - extract(epoch from '2026-07-10 18:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138226 -3.123517)', '2026-07-10 18:13:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:13:50'::timestamp) - extract(epoch from '2026-07-10 18:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138224 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:13:50'::timestamp) - extract(epoch from '2026-07-10 18:13: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.138218 -3.123515)', '2026-07-10 18:14:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123515)'))) / (select extract(epoch from '2026-07-10 18:14:03'::timestamp) - extract(epoch from '2026-07-10 18:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123515)'))) / (select extract(epoch from '2026-07-10 18:14:03'::timestamp) - extract(epoch from '2026-07-10 18:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138228 -3.123521)', '2026-07-10 18:14:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123515)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123521)'))) / (select extract(epoch from '2026-07-10 18:14:11'::timestamp) - extract(epoch from '2026-07-10 18:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138218 -3.123515)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123521)'))) / (select extract(epoch from '2026-07-10 18:14:11'::timestamp) - extract(epoch from '2026-07-10 18:14: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.138226 -3.123524)', '2026-07-10 18:14:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:14:17'::timestamp) - extract(epoch from '2026-07-10 18:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:14:17'::timestamp) - extract(epoch from '2026-07-10 18:14: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.138217 -3.123521)', '2026-07-10 18:14:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123521)'))) / (select extract(epoch from '2026-07-10 18:14:18'::timestamp) - extract(epoch from '2026-07-10 18:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138226 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123521)'))) / (select extract(epoch from '2026-07-10 18:14:18'::timestamp) - extract(epoch from '2026-07-10 18:14: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.138219 -3.123523)', '2026-07-10 18:14:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:14:22'::timestamp) - extract(epoch from '2026-07-10 18:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138217 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:14:22'::timestamp) - extract(epoch from '2026-07-10 18:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138221 -3.123515)', '2026-07-10 18:14:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123515)'))) / (select extract(epoch from '2026-07-10 18:14:30'::timestamp) - extract(epoch from '2026-07-10 18:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123515)'))) / (select extract(epoch from '2026-07-10 18:14:30'::timestamp) - extract(epoch from '2026-07-10 18:14: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.138222 -3.123516)', '2026-07-10 18:14:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123515)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:14:43'::timestamp) - extract(epoch from '2026-07-10 18:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123515)'), GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:14:43'::timestamp) - extract(epoch from '2026-07-10 18:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138227 -3.123524)', '2026-07-10 18:14:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:14:50'::timestamp) - extract(epoch from '2026-07-10 18:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138222 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:14:50'::timestamp) - extract(epoch from '2026-07-10 18:14:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138233 -3.12352)', '2026-07-10 18:15:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.12352)'))) / (select extract(epoch from '2026-07-10 18:15:03'::timestamp) - extract(epoch from '2026-07-10 18:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.12352)'))) / (select extract(epoch from '2026-07-10 18:15:03'::timestamp) - extract(epoch from '2026-07-10 18:14: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.138234 -3.123525)', '2026-07-10 18:15:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.12352)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:15:08'::timestamp) - extract(epoch from '2026-07-10 18:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.12352)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:15:08'::timestamp) - extract(epoch from '2026-07-10 18:15: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.138234 -3.123525)', '2026-07-10 18:15:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:15:19'::timestamp) - extract(epoch from '2026-07-10 18:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:15:19'::timestamp) - extract(epoch from '2026-07-10 18:15: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.13824 -3.123524)', '2026-07-10 18:15:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.13824 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:15:29'::timestamp) - extract(epoch from '2026-07-10 18:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.13824 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:15:29'::timestamp) - extract(epoch from '2026-07-10 18:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138245 -3.123531)', '2026-07-10 18:15:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13824 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138245 -3.123531)'))) / (select extract(epoch from '2026-07-10 18:15:35'::timestamp) - extract(epoch from '2026-07-10 18:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13824 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138245 -3.123531)'))) / (select extract(epoch from '2026-07-10 18:15:35'::timestamp) - extract(epoch from '2026-07-10 18:15: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.138246 -3.123522)', '2026-07-10 18:15:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138245 -3.123531)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123522)'))) / (select extract(epoch from '2026-07-10 18:15:44'::timestamp) - extract(epoch from '2026-07-10 18:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138245 -3.123531)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123522)'))) / (select extract(epoch from '2026-07-10 18:15:44'::timestamp) - extract(epoch from '2026-07-10 18:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138244 -3.123524)', '2026-07-10 18:15:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123522)'), GeomFromEWKT('SRID=4674;POINT (-39.138244 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:15:58'::timestamp) - extract(epoch from '2026-07-10 18:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123522)'), GeomFromEWKT('SRID=4674;POINT (-39.138244 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:15:58'::timestamp) - extract(epoch from '2026-07-10 18:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138246 -3.123524)', '2026-07-10 18:16:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138244 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:16:10'::timestamp) - extract(epoch from '2026-07-10 18:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138244 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:16:10'::timestamp) - extract(epoch from '2026-07-10 18:15: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.138247 -3.123523)', '2026-07-10 18:16:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:16:22'::timestamp) - extract(epoch from '2026-07-10 18:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:16:22'::timestamp) - extract(epoch from '2026-07-10 18:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138242 -3.123523)', '2026-07-10 18:16:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138242 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:16:29'::timestamp) - extract(epoch from '2026-07-10 18:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138242 -3.123523)'))) / (select extract(epoch from '2026-07-10 18:16:29'::timestamp) - extract(epoch from '2026-07-10 18: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.138244 -3.123522)', '2026-07-10 18:16:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138242 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138244 -3.123522)'))) / (select extract(epoch from '2026-07-10 18:16:37'::timestamp) - extract(epoch from '2026-07-10 18:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138242 -3.123523)'), GeomFromEWKT('SRID=4674;POINT (-39.138244 -3.123522)'))) / (select extract(epoch from '2026-07-10 18:16:37'::timestamp) - extract(epoch from '2026-07-10 18:16: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.138241 -3.123511)', '2026-07-10 18:16:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138244 -3.123522)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:16:49'::timestamp) - extract(epoch from '2026-07-10 18:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138244 -3.123522)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:16:49'::timestamp) - extract(epoch from '2026-07-10 18:16: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.138241 -3.12351)', '2026-07-10 18:16:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.12351)'))) / (select extract(epoch from '2026-07-10 18:16:59'::timestamp) - extract(epoch from '2026-07-10 18:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.12351)'))) / (select extract(epoch from '2026-07-10 18:16:59'::timestamp) - extract(epoch from '2026-07-10 18: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.138239 -3.123515)', '2026-07-10 18:17:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.12351)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123515)'))) / (select extract(epoch from '2026-07-10 18:17:09'::timestamp) - extract(epoch from '2026-07-10 18:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.12351)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123515)'))) / (select extract(epoch from '2026-07-10 18:17:09'::timestamp) - extract(epoch from '2026-07-10 18:16: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.138241 -3.123515)', '2026-07-10 18:17:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123515)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123515)'))) / (select extract(epoch from '2026-07-10 18:17:19'::timestamp) - extract(epoch from '2026-07-10 18:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123515)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123515)'))) / (select extract(epoch from '2026-07-10 18:17:19'::timestamp) - extract(epoch from '2026-07-10 18:17: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.138239 -3.123511)', '2026-07-10 18:17:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123515)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:17:26'::timestamp) - extract(epoch from '2026-07-10 18:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123515)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:17:26'::timestamp) - extract(epoch from '2026-07-10 18:17: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.138231 -3.123508)', '2026-07-10 18:17:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123508)'))) / (select extract(epoch from '2026-07-10 18:17:36'::timestamp) - extract(epoch from '2026-07-10 18:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123508)'))) / (select extract(epoch from '2026-07-10 18:17:36'::timestamp) - extract(epoch from '2026-07-10 18:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138228 -3.123506)', '2026-07-10 18:17:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123508)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:17:41'::timestamp) - extract(epoch from '2026-07-10 18:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123508)'), GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:17:41'::timestamp) - extract(epoch from '2026-07-10 18:17: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.138233 -3.123492)', '2026-07-10 18:17:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123492)'))) / (select extract(epoch from '2026-07-10 18:17:51'::timestamp) - extract(epoch from '2026-07-10 18:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138228 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123492)'))) / (select extract(epoch from '2026-07-10 18:17:51'::timestamp) - extract(epoch from '2026-07-10 18: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.138234 -3.123486)', '2026-07-10 18:18:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123492)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123486)'))) / (select extract(epoch from '2026-07-10 18:18:00'::timestamp) - extract(epoch from '2026-07-10 18:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123492)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123486)'))) / (select extract(epoch from '2026-07-10 18:18:00'::timestamp) - extract(epoch from '2026-07-10 18:17: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.138231 -3.123493)', '2026-07-10 18:18:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123486)'), GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123493)'))) / (select extract(epoch from '2026-07-10 18:18:06'::timestamp) - extract(epoch from '2026-07-10 18:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123486)'), GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123493)'))) / (select extract(epoch from '2026-07-10 18:18:06'::timestamp) - extract(epoch from '2026-07-10 18:18: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.138234 -3.123496)', '2026-07-10 18:18:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123493)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123496)'))) / (select extract(epoch from '2026-07-10 18:18:18'::timestamp) - extract(epoch from '2026-07-10 18:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138231 -3.123493)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123496)'))) / (select extract(epoch from '2026-07-10 18:18:18'::timestamp) - extract(epoch from '2026-07-10 18:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138233 -3.12349)', '2026-07-10 18:18:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.12349)'))) / (select extract(epoch from '2026-07-10 18:18:27'::timestamp) - extract(epoch from '2026-07-10 18:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.12349)'))) / (select extract(epoch from '2026-07-10 18:18:27'::timestamp) - extract(epoch from '2026-07-10 18:18: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.138235 -3.123493)', '2026-07-10 18:18:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.12349)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123493)'))) / (select extract(epoch from '2026-07-10 18:18:39'::timestamp) - extract(epoch from '2026-07-10 18:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.12349)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123493)'))) / (select extract(epoch from '2026-07-10 18:18:39'::timestamp) - extract(epoch from '2026-07-10 18:18: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.138227 -3.123502)', '2026-07-10 18:18:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123493)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123502)'))) / (select extract(epoch from '2026-07-10 18:18:44'::timestamp) - extract(epoch from '2026-07-10 18:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123493)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123502)'))) / (select extract(epoch from '2026-07-10 18:18:44'::timestamp) - extract(epoch from '2026-07-10 18:18: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.138235 -3.123502)', '2026-07-10 18:18:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123502)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123502)'))) / (select extract(epoch from '2026-07-10 18:18:53'::timestamp) - extract(epoch from '2026-07-10 18:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123502)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123502)'))) / (select extract(epoch from '2026-07-10 18:18:53'::timestamp) - extract(epoch from '2026-07-10 18:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138238 -3.123511)', '2026-07-10 18:19:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123502)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:19:02'::timestamp) - extract(epoch from '2026-07-10 18:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123502)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123511)'))) / (select extract(epoch from '2026-07-10 18:19:02'::timestamp) - extract(epoch from '2026-07-10 18: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.138233 -3.123513)', '2026-07-10 18:19:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123513)'))) / (select extract(epoch from '2026-07-10 18:19:07'::timestamp) - extract(epoch from '2026-07-10 18:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123511)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123513)'))) / (select extract(epoch from '2026-07-10 18:19:07'::timestamp) - extract(epoch from '2026-07-10 18: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.138242 -3.123516)', '2026-07-10 18:19:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.138242 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:19:09'::timestamp) - extract(epoch from '2026-07-10 18:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.138242 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:19:09'::timestamp) - extract(epoch from '2026-07-10 18:19: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.138234 -3.123516)', '2026-07-10 18:19:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138242 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:19:14'::timestamp) - extract(epoch from '2026-07-10 18:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138242 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:19:14'::timestamp) - extract(epoch from '2026-07-10 18:19: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.138239 -3.123512)', '2026-07-10 18:19:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:19:22'::timestamp) - extract(epoch from '2026-07-10 18:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:19:22'::timestamp) - extract(epoch from '2026-07-10 18: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.138235 -3.123519)', '2026-07-10 18:19:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123519)'))) / (select extract(epoch from '2026-07-10 18:19:33'::timestamp) - extract(epoch from '2026-07-10 18:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123519)'))) / (select extract(epoch from '2026-07-10 18:19:33'::timestamp) - extract(epoch from '2026-07-10 18:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138238 -3.123512)', '2026-07-10 18:19:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123519)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:19:43'::timestamp) - extract(epoch from '2026-07-10 18:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138235 -3.123519)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:19:43'::timestamp) - extract(epoch from '2026-07-10 18: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.138241 -3.123518)', '2026-07-10 18:19:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:19:51'::timestamp) - extract(epoch from '2026-07-10 18:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:19:51'::timestamp) - extract(epoch from '2026-07-10 18:19: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.138239 -3.123512)', '2026-07-10 18:19:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:19:56'::timestamp) - extract(epoch from '2026-07-10 18:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'))) / (select extract(epoch from '2026-07-10 18:19:56'::timestamp) - extract(epoch from '2026-07-10 18: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.138233 -3.123519)', '2026-07-10 18:20:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123519)'))) / (select extract(epoch from '2026-07-10 18:20:04'::timestamp) - extract(epoch from '2026-07-10 18:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123519)'))) / (select extract(epoch from '2026-07-10 18:20:04'::timestamp) - extract(epoch from '2026-07-10 18: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.138238 -3.123517)', '2026-07-10 18:20:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123519)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:20:13'::timestamp) - extract(epoch from '2026-07-10 18:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138233 -3.123519)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:20:13'::timestamp) - extract(epoch from '2026-07-10 18:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138238 -3.123516)', '2026-07-10 18:20:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:20:18'::timestamp) - extract(epoch from '2026-07-10 18:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:20:18'::timestamp) - extract(epoch from '2026-07-10 18:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138239 -3.123516)', '2026-07-10 18:20:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:20:27'::timestamp) - extract(epoch from '2026-07-10 18:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123516)'))) / (select extract(epoch from '2026-07-10 18:20:27'::timestamp) - extract(epoch from '2026-07-10 18: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.138239 -3.123524)', '2026-07-10 18:20:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:20:33'::timestamp) - extract(epoch from '2026-07-10 18:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123516)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:20:33'::timestamp) - extract(epoch from '2026-07-10 18:20: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.138234 -3.123528)', '2026-07-10 18:20:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123528)'))) / (select extract(epoch from '2026-07-10 18:20:41'::timestamp) - extract(epoch from '2026-07-10 18:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123528)'))) / (select extract(epoch from '2026-07-10 18:20:41'::timestamp) - extract(epoch from '2026-07-10 18: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.138236 -3.123531)', '2026-07-10 18:20:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123528)'), GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123531)'))) / (select extract(epoch from '2026-07-10 18:20:47'::timestamp) - extract(epoch from '2026-07-10 18:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138234 -3.123528)'), GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123531)'))) / (select extract(epoch from '2026-07-10 18:20:47'::timestamp) - extract(epoch from '2026-07-10 18:20: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.138232 -3.123527)', '2026-07-10 18:20:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123531)'), GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123527)'))) / (select extract(epoch from '2026-07-10 18:20:55'::timestamp) - extract(epoch from '2026-07-10 18:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123531)'), GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123527)'))) / (select extract(epoch from '2026-07-10 18:20:55'::timestamp) - extract(epoch from '2026-07-10 18:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138239 -3.123522)', '2026-07-10 18:21:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123527)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123522)'))) / (select extract(epoch from '2026-07-10 18:21:04'::timestamp) - extract(epoch from '2026-07-10 18:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123527)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123522)'))) / (select extract(epoch from '2026-07-10 18:21:04'::timestamp) - extract(epoch from '2026-07-10 18:20: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.138239 -3.12352)', '2026-07-10 18:21:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123522)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.12352)'))) / (select extract(epoch from '2026-07-10 18:21:12'::timestamp) - extract(epoch from '2026-07-10 18:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.123522)'), GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.12352)'))) / (select extract(epoch from '2026-07-10 18:21:12'::timestamp) - extract(epoch from '2026-07-10 18:21: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.138238 -3.123513)', '2026-07-10 18:21:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.12352)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123513)'))) / (select extract(epoch from '2026-07-10 18:21:24'::timestamp) - extract(epoch from '2026-07-10 18:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138239 -3.12352)'), GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123513)'))) / (select extract(epoch from '2026-07-10 18:21:24'::timestamp) - extract(epoch from '2026-07-10 18:21: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.138227 -3.123513)', '2026-07-10 18:21:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123513)'))) / (select extract(epoch from '2026-07-10 18:21:34'::timestamp) - extract(epoch from '2026-07-10 18:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138238 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123513)'))) / (select extract(epoch from '2026-07-10 18:21:34'::timestamp) - extract(epoch from '2026-07-10 18: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.138221 -3.123517)', '2026-07-10 18:21:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:21:40'::timestamp) - extract(epoch from '2026-07-10 18:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138227 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:21:40'::timestamp) - extract(epoch from '2026-07-10 18:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138219 -3.123518)', '2026-07-10 18:21:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:21:45'::timestamp) - extract(epoch from '2026-07-10 18:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138221 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123518)'))) / (select extract(epoch from '2026-07-10 18:21:45'::timestamp) - extract(epoch from '2026-07-10 18:21: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.138232 -3.123513)', '2026-07-10 18:21:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123513)'))) / (select extract(epoch from '2026-07-10 18:21:56'::timestamp) - extract(epoch from '2026-07-10 18:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138219 -3.123518)'), GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123513)'))) / (select extract(epoch from '2026-07-10 18:21:56'::timestamp) - extract(epoch from '2026-07-10 18:21: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.138236 -3.123514)', '2026-07-10 18:22:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123514)'))) / (select extract(epoch from '2026-07-10 18:22:05'::timestamp) - extract(epoch from '2026-07-10 18:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138232 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123514)'))) / (select extract(epoch from '2026-07-10 18:22:05'::timestamp) - extract(epoch from '2026-07-10 18:21: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.138241 -3.123506)', '2026-07-10 18:22:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123514)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:22:16'::timestamp) - extract(epoch from '2026-07-10 18:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138236 -3.123514)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123506)'))) / (select extract(epoch from '2026-07-10 18:22:16'::timestamp) - extract(epoch from '2026-07-10 18:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13825 -3.123495)', '2026-07-10 18:22:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.13825 -3.123495)'))) / (select extract(epoch from '2026-07-10 18:22:33'::timestamp) - extract(epoch from '2026-07-10 18:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123506)'), GeomFromEWKT('SRID=4674;POINT (-39.13825 -3.123495)'))) / (select extract(epoch from '2026-07-10 18:22:33'::timestamp) - extract(epoch from '2026-07-10 18:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138241 -3.123494)', '2026-07-10 18:22:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13825 -3.123495)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123494)'))) / (select extract(epoch from '2026-07-10 18:22:40'::timestamp) - extract(epoch from '2026-07-10 18:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13825 -3.123495)'), GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123494)'))) / (select extract(epoch from '2026-07-10 18:22:40'::timestamp) - extract(epoch from '2026-07-10 18:22:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138246 -3.123497)', '2026-07-10 18:22:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123494)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123497)'))) / (select extract(epoch from '2026-07-10 18:22:54'::timestamp) - extract(epoch from '2026-07-10 18:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138241 -3.123494)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123497)'))) / (select extract(epoch from '2026-07-10 18:22:54'::timestamp) - extract(epoch from '2026-07-10 18:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138246 -3.123508)', '2026-07-10 18:23:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123497)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123508)'))) / (select extract(epoch from '2026-07-10 18:23:00'::timestamp) - extract(epoch from '2026-07-10 18:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123497)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123508)'))) / (select extract(epoch from '2026-07-10 18:23:00'::timestamp) - extract(epoch from '2026-07-10 18:22: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.138249 -3.123507)', '2026-07-10 18:23:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123508)'), GeomFromEWKT('SRID=4674;POINT (-39.138249 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:23:09'::timestamp) - extract(epoch from '2026-07-10 18:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123508)'), GeomFromEWKT('SRID=4674;POINT (-39.138249 -3.123507)'))) / (select extract(epoch from '2026-07-10 18:23:09'::timestamp) - extract(epoch from '2026-07-10 18:23: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.138246 -3.123504)', '2026-07-10 18:23:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138249 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123504)'))) / (select extract(epoch from '2026-07-10 18:23:19'::timestamp) - extract(epoch from '2026-07-10 18:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138249 -3.123507)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123504)'))) / (select extract(epoch from '2026-07-10 18:23:19'::timestamp) - extract(epoch from '2026-07-10 18:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13824 -3.123496)', '2026-07-10 18:23:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123504)'), GeomFromEWKT('SRID=4674;POINT (-39.13824 -3.123496)'))) / (select extract(epoch from '2026-07-10 18:23:30'::timestamp) - extract(epoch from '2026-07-10 18:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123504)'), GeomFromEWKT('SRID=4674;POINT (-39.13824 -3.123496)'))) / (select extract(epoch from '2026-07-10 18:23:30'::timestamp) - extract(epoch from '2026-07-10 18:23: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.138248 -3.123498)', '2026-07-10 18:23:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13824 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138248 -3.123498)'))) / (select extract(epoch from '2026-07-10 18:23:36'::timestamp) - extract(epoch from '2026-07-10 18:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13824 -3.123496)'), GeomFromEWKT('SRID=4674;POINT (-39.138248 -3.123498)'))) / (select extract(epoch from '2026-07-10 18:23:36'::timestamp) - extract(epoch from '2026-07-10 18:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138257 -3.123509)', '2026-07-10 18:23:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138248 -3.123498)'), GeomFromEWKT('SRID=4674;POINT (-39.138257 -3.123509)'))) / (select extract(epoch from '2026-07-10 18:23:50'::timestamp) - extract(epoch from '2026-07-10 18:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138248 -3.123498)'), GeomFromEWKT('SRID=4674;POINT (-39.138257 -3.123509)'))) / (select extract(epoch from '2026-07-10 18:23:50'::timestamp) - extract(epoch from '2026-07-10 18:23: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.138254 -3.123514)', '2026-07-10 18:24:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138257 -3.123509)'), GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123514)'))) / (select extract(epoch from '2026-07-10 18:24:01'::timestamp) - extract(epoch from '2026-07-10 18:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138257 -3.123509)'), GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123514)'))) / (select extract(epoch from '2026-07-10 18:24:01'::timestamp) - extract(epoch from '2026-07-10 18: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.138254 -3.123517)', '2026-07-10 18:24:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123514)'), GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:24:12'::timestamp) - extract(epoch from '2026-07-10 18:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123514)'), GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:24:12'::timestamp) - extract(epoch from '2026-07-10 18:24: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.138256 -3.123517)', '2026-07-10 18:24:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:24:20'::timestamp) - extract(epoch from '2026-07-10 18:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123517)'))) / (select extract(epoch from '2026-07-10 18:24:20'::timestamp) - extract(epoch from '2026-07-10 18: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.138254 -3.123531)', '2026-07-10 18:24:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123531)'))) / (select extract(epoch from '2026-07-10 18:24:27'::timestamp) - extract(epoch from '2026-07-10 18:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123517)'), GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123531)'))) / (select extract(epoch from '2026-07-10 18:24:27'::timestamp) - extract(epoch from '2026-07-10 18:24: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.13825 -3.123526)', '2026-07-10 18:24:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123531)'), GeomFromEWKT('SRID=4674;POINT (-39.13825 -3.123526)'))) / (select extract(epoch from '2026-07-10 18:24:39'::timestamp) - extract(epoch from '2026-07-10 18:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123531)'), GeomFromEWKT('SRID=4674;POINT (-39.13825 -3.123526)'))) / (select extract(epoch from '2026-07-10 18:24:39'::timestamp) - extract(epoch from '2026-07-10 18:24: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.138252 -3.123527)', '2026-07-10 18:24:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13825 -3.123526)'), GeomFromEWKT('SRID=4674;POINT (-39.138252 -3.123527)'))) / (select extract(epoch from '2026-07-10 18:24:48'::timestamp) - extract(epoch from '2026-07-10 18:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13825 -3.123526)'), GeomFromEWKT('SRID=4674;POINT (-39.138252 -3.123527)'))) / (select extract(epoch from '2026-07-10 18:24:48'::timestamp) - extract(epoch from '2026-07-10 18: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.138246 -3.12353)', '2026-07-10 18:24:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138252 -3.123527)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.12353)'))) / (select extract(epoch from '2026-07-10 18:24:57'::timestamp) - extract(epoch from '2026-07-10 18:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138252 -3.123527)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.12353)'))) / (select extract(epoch from '2026-07-10 18:24:57'::timestamp) - extract(epoch from '2026-07-10 18: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.138247 -3.123528)', '2026-07-10 18:25:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.12353)'), GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123528)'))) / (select extract(epoch from '2026-07-10 18:25:08'::timestamp) - extract(epoch from '2026-07-10 18:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.12353)'), GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123528)'))) / (select extract(epoch from '2026-07-10 18:25:08'::timestamp) - extract(epoch from '2026-07-10 18: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.138246 -3.123533)', '2026-07-10 18:25:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123528)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123533)'))) / (select extract(epoch from '2026-07-10 18:25:16'::timestamp) - extract(epoch from '2026-07-10 18:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123528)'), GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123533)'))) / (select extract(epoch from '2026-07-10 18:25:16'::timestamp) - extract(epoch from '2026-07-10 18:25: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.138245 -3.123542)', '2026-07-10 18:25:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123533)'), GeomFromEWKT('SRID=4674;POINT (-39.138245 -3.123542)'))) / (select extract(epoch from '2026-07-10 18:25:31'::timestamp) - extract(epoch from '2026-07-10 18:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138246 -3.123533)'), GeomFromEWKT('SRID=4674;POINT (-39.138245 -3.123542)'))) / (select extract(epoch from '2026-07-10 18:25:31'::timestamp) - extract(epoch from '2026-07-10 18:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138247 -3.123544)', '2026-07-10 18:25:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138245 -3.123542)'), GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123544)'))) / (select extract(epoch from '2026-07-10 18:25:38'::timestamp) - extract(epoch from '2026-07-10 18:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138245 -3.123542)'), GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123544)'))) / (select extract(epoch from '2026-07-10 18:25:38'::timestamp) - extract(epoch from '2026-07-10 18:25: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.138253 -3.123543)', '2026-07-10 18:25:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123544)'), GeomFromEWKT('SRID=4674;POINT (-39.138253 -3.123543)'))) / (select extract(epoch from '2026-07-10 18:25:46'::timestamp) - extract(epoch from '2026-07-10 18:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138247 -3.123544)'), GeomFromEWKT('SRID=4674;POINT (-39.138253 -3.123543)'))) / (select extract(epoch from '2026-07-10 18:25:46'::timestamp) - extract(epoch from '2026-07-10 18:25: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.138254 -3.123528)', '2026-07-10 18:26:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138253 -3.123543)'), GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123528)'))) / (select extract(epoch from '2026-07-10 18:26:00'::timestamp) - extract(epoch from '2026-07-10 18:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138253 -3.123543)'), GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123528)'))) / (select extract(epoch from '2026-07-10 18:26:00'::timestamp) - extract(epoch from '2026-07-10 18:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138262 -3.12353)', '2026-07-10 18:26:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123528)'), GeomFromEWKT('SRID=4674;POINT (-39.138262 -3.12353)'))) / (select extract(epoch from '2026-07-10 18:26:05'::timestamp) - extract(epoch from '2026-07-10 18:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138254 -3.123528)'), GeomFromEWKT('SRID=4674;POINT (-39.138262 -3.12353)'))) / (select extract(epoch from '2026-07-10 18:26:05'::timestamp) - extract(epoch from '2026-07-10 18:26: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.138264 -3.123525)', '2026-07-10 18:26:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138262 -3.12353)'), GeomFromEWKT('SRID=4674;POINT (-39.138264 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:26:12'::timestamp) - extract(epoch from '2026-07-10 18:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138262 -3.12353)'), GeomFromEWKT('SRID=4674;POINT (-39.138264 -3.123525)'))) / (select extract(epoch from '2026-07-10 18:26:12'::timestamp) - extract(epoch from '2026-07-10 18:26: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.138261 -3.12352)', '2026-07-10 18:26:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138264 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.12352)'))) / (select extract(epoch from '2026-07-10 18:26:22'::timestamp) - extract(epoch from '2026-07-10 18:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138264 -3.123525)'), GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.12352)'))) / (select extract(epoch from '2026-07-10 18:26:22'::timestamp) - extract(epoch from '2026-07-10 18: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.138266 -3.123524)', '2026-07-10 18:26:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.12352)'), GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:26:30'::timestamp) - extract(epoch from '2026-07-10 18:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.12352)'), GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123524)'))) / (select extract(epoch from '2026-07-10 18:26:30'::timestamp) - extract(epoch from '2026-07-10 18:26: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.138265 -3.123529)', '2026-07-10 18:26:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123529)'))) / (select extract(epoch from '2026-07-10 18:26:39'::timestamp) - extract(epoch from '2026-07-10 18:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123524)'), GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123529)'))) / (select extract(epoch from '2026-07-10 18:26:39'::timestamp) - extract(epoch from '2026-07-10 18: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.138266 -3.123531)', '2026-07-10 18:26:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123529)'), GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123531)'))) / (select extract(epoch from '2026-07-10 18:26:47'::timestamp) - extract(epoch from '2026-07-10 18:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123529)'), GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123531)'))) / (select extract(epoch from '2026-07-10 18:26:47'::timestamp) - extract(epoch from '2026-07-10 18: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.138263 -3.123539)', '2026-07-10 18:26:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123531)'), GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123539)'))) / (select extract(epoch from '2026-07-10 18:26:57'::timestamp) - extract(epoch from '2026-07-10 18:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123531)'), GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123539)'))) / (select extract(epoch from '2026-07-10 18:26:57'::timestamp) - extract(epoch from '2026-07-10 18:26: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.138265 -3.123541)', '2026-07-10 18:27:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123539)'), GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123541)'))) / (select extract(epoch from '2026-07-10 18:27:03'::timestamp) - extract(epoch from '2026-07-10 18:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123539)'), GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123541)'))) / (select extract(epoch from '2026-07-10 18:27:03'::timestamp) - extract(epoch from '2026-07-10 18:26: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.138259 -3.12354)', '2026-07-10 18:27:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123541)'), GeomFromEWKT('SRID=4674;POINT (-39.138259 -3.12354)'))) / (select extract(epoch from '2026-07-10 18:27:14'::timestamp) - extract(epoch from '2026-07-10 18:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123541)'), GeomFromEWKT('SRID=4674;POINT (-39.138259 -3.12354)'))) / (select extract(epoch from '2026-07-10 18:27:14'::timestamp) - extract(epoch from '2026-07-10 18:27: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.138255 -3.123536)', '2026-07-10 18:27:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138259 -3.12354)'), GeomFromEWKT('SRID=4674;POINT (-39.138255 -3.123536)'))) / (select extract(epoch from '2026-07-10 18:27:19'::timestamp) - extract(epoch from '2026-07-10 18:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138259 -3.12354)'), GeomFromEWKT('SRID=4674;POINT (-39.138255 -3.123536)'))) / (select extract(epoch from '2026-07-10 18:27:19'::timestamp) - extract(epoch from '2026-07-10 18:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138251 -3.123536)', '2026-07-10 18:27:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138255 -3.123536)'), GeomFromEWKT('SRID=4674;POINT (-39.138251 -3.123536)'))) / (select extract(epoch from '2026-07-10 18:27:25'::timestamp) - extract(epoch from '2026-07-10 18:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138255 -3.123536)'), GeomFromEWKT('SRID=4674;POINT (-39.138251 -3.123536)'))) / (select extract(epoch from '2026-07-10 18:27:25'::timestamp) - extract(epoch from '2026-07-10 18: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.138265 -3.123528)', '2026-07-10 18:27:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138251 -3.123536)'), GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123528)'))) / (select extract(epoch from '2026-07-10 18:27:34'::timestamp) - extract(epoch from '2026-07-10 18:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138251 -3.123536)'), GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123528)'))) / (select extract(epoch from '2026-07-10 18:27:34'::timestamp) - extract(epoch from '2026-07-10 18:27: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.138263 -3.123531)', '2026-07-10 18:27:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123528)'), GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123531)'))) / (select extract(epoch from '2026-07-10 18:27:41'::timestamp) - extract(epoch from '2026-07-10 18:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123528)'), GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123531)'))) / (select extract(epoch from '2026-07-10 18:27:41'::timestamp) - extract(epoch from '2026-07-10 18:27: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.138256 -3.123538)', '2026-07-10 18:27:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123531)'), GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123538)'))) / (select extract(epoch from '2026-07-10 18:27:53'::timestamp) - extract(epoch from '2026-07-10 18:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123531)'), GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123538)'))) / (select extract(epoch from '2026-07-10 18:27:53'::timestamp) - extract(epoch from '2026-07-10 18:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13826 -3.123539)', '2026-07-10 18:28:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123538)'), GeomFromEWKT('SRID=4674;POINT (-39.13826 -3.123539)'))) / (select extract(epoch from '2026-07-10 18:28:05'::timestamp) - extract(epoch from '2026-07-10 18:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123538)'), GeomFromEWKT('SRID=4674;POINT (-39.13826 -3.123539)'))) / (select extract(epoch from '2026-07-10 18:28:05'::timestamp) - extract(epoch from '2026-07-10 18:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138262 -3.123537)', '2026-07-10 18:28:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13826 -3.123539)'), GeomFromEWKT('SRID=4674;POINT (-39.138262 -3.123537)'))) / (select extract(epoch from '2026-07-10 18:28:10'::timestamp) - extract(epoch from '2026-07-10 18:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13826 -3.123539)'), GeomFromEWKT('SRID=4674;POINT (-39.138262 -3.123537)'))) / (select extract(epoch from '2026-07-10 18:28:10'::timestamp) - extract(epoch from '2026-07-10 18:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138265 -3.123544)', '2026-07-10 18:28:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138262 -3.123537)'), GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123544)'))) / (select extract(epoch from '2026-07-10 18:28:18'::timestamp) - extract(epoch from '2026-07-10 18:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138262 -3.123537)'), GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123544)'))) / (select extract(epoch from '2026-07-10 18:28:18'::timestamp) - extract(epoch from '2026-07-10 18:28:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13827 -3.123553)', '2026-07-10 18:28:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123544)'), GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123553)'))) / (select extract(epoch from '2026-07-10 18:28:26'::timestamp) - extract(epoch from '2026-07-10 18:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123544)'), GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123553)'))) / (select extract(epoch from '2026-07-10 18:28:26'::timestamp) - extract(epoch from '2026-07-10 18: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.138269 -3.123551)', '2026-07-10 18:28:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123553)'), GeomFromEWKT('SRID=4674;POINT (-39.138269 -3.123551)'))) / (select extract(epoch from '2026-07-10 18:28:33'::timestamp) - extract(epoch from '2026-07-10 18:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123553)'), GeomFromEWKT('SRID=4674;POINT (-39.138269 -3.123551)'))) / (select extract(epoch from '2026-07-10 18:28:33'::timestamp) - extract(epoch from '2026-07-10 18: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.138268 -3.123556)', '2026-07-10 18:28:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138269 -3.123551)'), GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123556)'))) / (select extract(epoch from '2026-07-10 18:28:39'::timestamp) - extract(epoch from '2026-07-10 18:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138269 -3.123551)'), GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123556)'))) / (select extract(epoch from '2026-07-10 18:28:39'::timestamp) - extract(epoch from '2026-07-10 18:28:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13827 -3.123555)', '2026-07-10 18:28:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123556)'), GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123555)'))) / (select extract(epoch from '2026-07-10 18:28:46'::timestamp) - extract(epoch from '2026-07-10 18:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123556)'), GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123555)'))) / (select extract(epoch from '2026-07-10 18:28:46'::timestamp) - extract(epoch from '2026-07-10 18:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138264 -3.123549)', '2026-07-10 18:28:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123555)'), GeomFromEWKT('SRID=4674;POINT (-39.138264 -3.123549)'))) / (select extract(epoch from '2026-07-10 18:28:56'::timestamp) - extract(epoch from '2026-07-10 18:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123555)'), GeomFromEWKT('SRID=4674;POINT (-39.138264 -3.123549)'))) / (select extract(epoch from '2026-07-10 18:28:56'::timestamp) - extract(epoch from '2026-07-10 18: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.138256 -3.123546)', '2026-07-10 18:29:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138264 -3.123549)'), GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123546)'))) / (select extract(epoch from '2026-07-10 18:29:04'::timestamp) - extract(epoch from '2026-07-10 18:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138264 -3.123549)'), GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123546)'))) / (select extract(epoch from '2026-07-10 18:29:04'::timestamp) - extract(epoch from '2026-07-10 18:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138257 -3.123557)', '2026-07-10 18:29:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123546)'), GeomFromEWKT('SRID=4674;POINT (-39.138257 -3.123557)'))) / (select extract(epoch from '2026-07-10 18:29:17'::timestamp) - extract(epoch from '2026-07-10 18:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138256 -3.123546)'), GeomFromEWKT('SRID=4674;POINT (-39.138257 -3.123557)'))) / (select extract(epoch from '2026-07-10 18:29:17'::timestamp) - extract(epoch from '2026-07-10 18:29:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138255 -3.123558)', '2026-07-10 18:29:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138257 -3.123557)'), GeomFromEWKT('SRID=4674;POINT (-39.138255 -3.123558)'))) / (select extract(epoch from '2026-07-10 18:29:22'::timestamp) - extract(epoch from '2026-07-10 18:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138257 -3.123557)'), GeomFromEWKT('SRID=4674;POINT (-39.138255 -3.123558)'))) / (select extract(epoch from '2026-07-10 18:29:22'::timestamp) - extract(epoch from '2026-07-10 18:29: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.138252 -3.123553)', '2026-07-10 18:29:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138255 -3.123558)'), GeomFromEWKT('SRID=4674;POINT (-39.138252 -3.123553)'))) / (select extract(epoch from '2026-07-10 18:29:33'::timestamp) - extract(epoch from '2026-07-10 18:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138255 -3.123558)'), GeomFromEWKT('SRID=4674;POINT (-39.138252 -3.123553)'))) / (select extract(epoch from '2026-07-10 18:29:33'::timestamp) - extract(epoch from '2026-07-10 18:29: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.138261 -3.123538)', '2026-07-10 18:29:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138252 -3.123553)'), GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.123538)'))) / (select extract(epoch from '2026-07-10 18:29:41'::timestamp) - extract(epoch from '2026-07-10 18:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138252 -3.123553)'), GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.123538)'))) / (select extract(epoch from '2026-07-10 18:29:41'::timestamp) - extract(epoch from '2026-07-10 18:29: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.138265 -3.123546)', '2026-07-10 18:29:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.123538)'), GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123546)'))) / (select extract(epoch from '2026-07-10 18:29:47'::timestamp) - extract(epoch from '2026-07-10 18:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.123538)'), GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123546)'))) / (select extract(epoch from '2026-07-10 18:29:47'::timestamp) - extract(epoch from '2026-07-10 18:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138266 -3.123538)', '2026-07-10 18:29:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123546)'), GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123538)'))) / (select extract(epoch from '2026-07-10 18:29:56'::timestamp) - extract(epoch from '2026-07-10 18:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138265 -3.123546)'), GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123538)'))) / (select extract(epoch from '2026-07-10 18:29:56'::timestamp) - extract(epoch from '2026-07-10 18: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.138268 -3.123545)', '2026-07-10 18:30:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123538)'), GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123545)'))) / (select extract(epoch from '2026-07-10 18:30:11'::timestamp) - extract(epoch from '2026-07-10 18:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123538)'), GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123545)'))) / (select extract(epoch from '2026-07-10 18:30:11'::timestamp) - extract(epoch from '2026-07-10 18: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.13827 -3.123555)', '2026-07-10 18:30:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123545)'), GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123555)'))) / (select extract(epoch from '2026-07-10 18:30:21'::timestamp) - extract(epoch from '2026-07-10 18:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123545)'), GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123555)'))) / (select extract(epoch from '2026-07-10 18:30:21'::timestamp) - extract(epoch from '2026-07-10 18:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138266 -3.123562)', '2026-07-10 18:30:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123555)'), GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123562)'))) / (select extract(epoch from '2026-07-10 18:30:28'::timestamp) - extract(epoch from '2026-07-10 18:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123555)'), GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123562)'))) / (select extract(epoch from '2026-07-10 18:30:28'::timestamp) - extract(epoch from '2026-07-10 18:30: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.138263 -3.123574)', '2026-07-10 18:30:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123562)'), GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123574)'))) / (select extract(epoch from '2026-07-10 18:30:36'::timestamp) - extract(epoch from '2026-07-10 18:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.123562)'), GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123574)'))) / (select extract(epoch from '2026-07-10 18:30:36'::timestamp) - extract(epoch from '2026-07-10 18:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138268 -3.123582)', '2026-07-10 18:30:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123582)'))) / (select extract(epoch from '2026-07-10 18:30:42'::timestamp) - extract(epoch from '2026-07-10 18:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138263 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123582)'))) / (select extract(epoch from '2026-07-10 18:30:42'::timestamp) - extract(epoch from '2026-07-10 18:30: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.138261 -3.123589)', '2026-07-10 18:30:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.123589)'))) / (select extract(epoch from '2026-07-10 18:30:48'::timestamp) - extract(epoch from '2026-07-10 18:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.123589)'))) / (select extract(epoch from '2026-07-10 18:30:48'::timestamp) - extract(epoch from '2026-07-10 18:30: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.138268 -3.123592)', '2026-07-10 18:30:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123592)'))) / (select extract(epoch from '2026-07-10 18:30:56'::timestamp) - extract(epoch from '2026-07-10 18:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138261 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123592)'))) / (select extract(epoch from '2026-07-10 18:30:56'::timestamp) - extract(epoch from '2026-07-10 18: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.13826 -3.123588)', '2026-07-10 18:31:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.13826 -3.123588)'))) / (select extract(epoch from '2026-07-10 18:31:05'::timestamp) - extract(epoch from '2026-07-10 18:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138268 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.13826 -3.123588)'))) / (select extract(epoch from '2026-07-10 18:31:05'::timestamp) - extract(epoch from '2026-07-10 18:30: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.138266 -3.12359)', '2026-07-10 18:31:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13826 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.12359)'))) / (select extract(epoch from '2026-07-10 18:31:19'::timestamp) - extract(epoch from '2026-07-10 18:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13826 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.12359)'))) / (select extract(epoch from '2026-07-10 18:31:19'::timestamp) - extract(epoch from '2026-07-10 18:31: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.13827 -3.123588)', '2026-07-10 18:31:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123588)'))) / (select extract(epoch from '2026-07-10 18:31:28'::timestamp) - extract(epoch from '2026-07-10 18:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138266 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123588)'))) / (select extract(epoch from '2026-07-10 18:31:28'::timestamp) - extract(epoch from '2026-07-10 18:31: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.138285 -3.123588)', '2026-07-10 18:31:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138285 -3.123588)'))) / (select extract(epoch from '2026-07-10 18:31:36'::timestamp) - extract(epoch from '2026-07-10 18:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13827 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138285 -3.123588)'))) / (select extract(epoch from '2026-07-10 18:31:36'::timestamp) - extract(epoch from '2026-07-10 18:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138282 -3.123595)', '2026-07-10 18:31:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138285 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123595)'))) / (select extract(epoch from '2026-07-10 18:31:42'::timestamp) - extract(epoch from '2026-07-10 18:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138285 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123595)'))) / (select extract(epoch from '2026-07-10 18:31:42'::timestamp) - extract(epoch from '2026-07-10 18:31: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.138278 -3.123601)', '2026-07-10 18:31:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138278 -3.123601)'))) / (select extract(epoch from '2026-07-10 18:31:46'::timestamp) - extract(epoch from '2026-07-10 18:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138278 -3.123601)'))) / (select extract(epoch from '2026-07-10 18:31:46'::timestamp) - extract(epoch from '2026-07-10 18:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138289 -3.123593)', '2026-07-10 18:31:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138278 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.138289 -3.123593)'))) / (select extract(epoch from '2026-07-10 18:31:53'::timestamp) - extract(epoch from '2026-07-10 18:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138278 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.138289 -3.123593)'))) / (select extract(epoch from '2026-07-10 18:31:53'::timestamp) - extract(epoch from '2026-07-10 18:31: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.138283 -3.123589)', '2026-07-10 18:32:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138289 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123589)'))) / (select extract(epoch from '2026-07-10 18:32:05'::timestamp) - extract(epoch from '2026-07-10 18:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138289 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123589)'))) / (select extract(epoch from '2026-07-10 18:32:05'::timestamp) - extract(epoch from '2026-07-10 18:31: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.13829 -3.123579)', '2026-07-10 18:32:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.123579)'))) / (select extract(epoch from '2026-07-10 18:32:16'::timestamp) - extract(epoch from '2026-07-10 18:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.123579)'))) / (select extract(epoch from '2026-07-10 18:32:16'::timestamp) - extract(epoch from '2026-07-10 18:32: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.138289 -3.123578)', '2026-07-10 18:32:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.138289 -3.123578)'))) / (select extract(epoch from '2026-07-10 18:32:28'::timestamp) - extract(epoch from '2026-07-10 18:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.138289 -3.123578)'))) / (select extract(epoch from '2026-07-10 18:32:28'::timestamp) - extract(epoch from '2026-07-10 18:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.1383 -3.123585)', '2026-07-10 18:32:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138289 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.1383 -3.123585)'))) / (select extract(epoch from '2026-07-10 18:32:35'::timestamp) - extract(epoch from '2026-07-10 18:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138289 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.1383 -3.123585)'))) / (select extract(epoch from '2026-07-10 18:32:35'::timestamp) - extract(epoch from '2026-07-10 18:32: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.138293 -3.123591)', '2026-07-10 18:32:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1383 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138293 -3.123591)'))) / (select extract(epoch from '2026-07-10 18:32:39'::timestamp) - extract(epoch from '2026-07-10 18:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1383 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138293 -3.123591)'))) / (select extract(epoch from '2026-07-10 18:32:39'::timestamp) - extract(epoch from '2026-07-10 18:32: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.138291 -3.123594)', '2026-07-10 18:32:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138293 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123594)'))) / (select extract(epoch from '2026-07-10 18:32:50'::timestamp) - extract(epoch from '2026-07-10 18:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138293 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123594)'))) / (select extract(epoch from '2026-07-10 18:32:50'::timestamp) - extract(epoch from '2026-07-10 18: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.138288 -3.123594)', '2026-07-10 18:32:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138288 -3.123594)'))) / (select extract(epoch from '2026-07-10 18:32:58'::timestamp) - extract(epoch from '2026-07-10 18:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138288 -3.123594)'))) / (select extract(epoch from '2026-07-10 18:32:58'::timestamp) - extract(epoch from '2026-07-10 18: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.138291 -3.123595)', '2026-07-10 18:33:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138288 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123595)'))) / (select extract(epoch from '2026-07-10 18:33:09'::timestamp) - extract(epoch from '2026-07-10 18:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138288 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123595)'))) / (select extract(epoch from '2026-07-10 18:33:09'::timestamp) - extract(epoch from '2026-07-10 18: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.138287 -3.123586)', '2026-07-10 18:33:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138287 -3.123586)'))) / (select extract(epoch from '2026-07-10 18:33:21'::timestamp) - extract(epoch from '2026-07-10 18:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138287 -3.123586)'))) / (select extract(epoch from '2026-07-10 18:33:21'::timestamp) - extract(epoch from '2026-07-10 18:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138283 -3.123585)', '2026-07-10 18:33:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138287 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123585)'))) / (select extract(epoch from '2026-07-10 18:33:32'::timestamp) - extract(epoch from '2026-07-10 18:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138287 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123585)'))) / (select extract(epoch from '2026-07-10 18:33:32'::timestamp) - extract(epoch from '2026-07-10 18:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138296 -3.12359)', '2026-07-10 18:33:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138296 -3.12359)'))) / (select extract(epoch from '2026-07-10 18:33:41'::timestamp) - extract(epoch from '2026-07-10 18:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138296 -3.12359)'))) / (select extract(epoch from '2026-07-10 18:33:41'::timestamp) - extract(epoch from '2026-07-10 18:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138286 -3.123581)', '2026-07-10 18:33:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138296 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'))) / (select extract(epoch from '2026-07-10 18:33:48'::timestamp) - extract(epoch from '2026-07-10 18:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138296 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'))) / (select extract(epoch from '2026-07-10 18:33:48'::timestamp) - extract(epoch from '2026-07-10 18:33: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.138281 -3.123583)', '2026-07-10 18:33:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138281 -3.123583)'))) / (select extract(epoch from '2026-07-10 18:33:55'::timestamp) - extract(epoch from '2026-07-10 18:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138281 -3.123583)'))) / (select extract(epoch from '2026-07-10 18:33:55'::timestamp) - extract(epoch from '2026-07-10 18:33: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.138282 -3.123581)', '2026-07-10 18:34:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138281 -3.123583)'), GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123581)'))) / (select extract(epoch from '2026-07-10 18:34:03'::timestamp) - extract(epoch from '2026-07-10 18:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138281 -3.123583)'), GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123581)'))) / (select extract(epoch from '2026-07-10 18:34:03'::timestamp) - extract(epoch from '2026-07-10 18:33: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.138283 -3.12359)', '2026-07-10 18:34:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.12359)'))) / (select extract(epoch from '2026-07-10 18:34:19'::timestamp) - extract(epoch from '2026-07-10 18:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.12359)'))) / (select extract(epoch from '2026-07-10 18:34:19'::timestamp) - extract(epoch from '2026-07-10 18:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13829 -3.12358)', '2026-07-10 18:34:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.12358)'))) / (select extract(epoch from '2026-07-10 18:34:31'::timestamp) - extract(epoch from '2026-07-10 18:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.12358)'))) / (select extract(epoch from '2026-07-10 18:34:31'::timestamp) - extract(epoch from '2026-07-10 18:34: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.138282 -3.123581)', '2026-07-10 18:34:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.12358)'), GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123581)'))) / (select extract(epoch from '2026-07-10 18:34:38'::timestamp) - extract(epoch from '2026-07-10 18:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.12358)'), GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123581)'))) / (select extract(epoch from '2026-07-10 18:34:38'::timestamp) - extract(epoch from '2026-07-10 18:34:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138286 -3.123581)', '2026-07-10 18:34:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'))) / (select extract(epoch from '2026-07-10 18:34:47'::timestamp) - extract(epoch from '2026-07-10 18:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138282 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'))) / (select extract(epoch from '2026-07-10 18:34:47'::timestamp) - extract(epoch from '2026-07-10 18:34:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138286 -3.123581)', '2026-07-10 18:34:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'))) / (select extract(epoch from '2026-07-10 18:34:57'::timestamp) - extract(epoch from '2026-07-10 18:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'))) / (select extract(epoch from '2026-07-10 18:34:57'::timestamp) - extract(epoch from '2026-07-10 18:34: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.138283 -3.123589)', '2026-07-10 18:35:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123589)'))) / (select extract(epoch from '2026-07-10 18:35:07'::timestamp) - extract(epoch from '2026-07-10 18:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138286 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123589)'))) / (select extract(epoch from '2026-07-10 18:35:07'::timestamp) - extract(epoch from '2026-07-10 18:34: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.138287 -3.123594)', '2026-07-10 18:35:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.138287 -3.123594)'))) / (select extract(epoch from '2026-07-10 18:35:20'::timestamp) - extract(epoch from '2026-07-10 18:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.138287 -3.123594)'))) / (select extract(epoch from '2026-07-10 18:35:20'::timestamp) - extract(epoch from '2026-07-10 18:35: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.138291 -3.123598)', '2026-07-10 18:35:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138287 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123598)'))) / (select extract(epoch from '2026-07-10 18:35:28'::timestamp) - extract(epoch from '2026-07-10 18:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138287 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123598)'))) / (select extract(epoch from '2026-07-10 18:35:28'::timestamp) - extract(epoch from '2026-07-10 18:35: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.138283 -3.123599)', '2026-07-10 18:35:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123599)'))) / (select extract(epoch from '2026-07-10 18:35:39'::timestamp) - extract(epoch from '2026-07-10 18:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138291 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123599)'))) / (select extract(epoch from '2026-07-10 18:35:39'::timestamp) - extract(epoch from '2026-07-10 18:35:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13829 -3.123602)', '2026-07-10 18:35:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123599)'), GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.123602)'))) / (select extract(epoch from '2026-07-10 18:35:47'::timestamp) - extract(epoch from '2026-07-10 18:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138283 -3.123599)'), GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.123602)'))) / (select extract(epoch from '2026-07-10 18:35:47'::timestamp) - extract(epoch from '2026-07-10 18:35:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138285 -3.123606)', '2026-07-10 18:35:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.123602)'), GeomFromEWKT('SRID=4674;POINT (-39.138285 -3.123606)'))) / (select extract(epoch from '2026-07-10 18:35:55'::timestamp) - extract(epoch from '2026-07-10 18:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13829 -3.123602)'), GeomFromEWKT('SRID=4674;POINT (-39.138285 -3.123606)'))) / (select extract(epoch from '2026-07-10 18:35:55'::timestamp) - extract(epoch from '2026-07-10 18:35: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.138281 -3.123617)', '2026-07-10 18:36:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138285 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138281 -3.123617)'))) / (select extract(epoch from '2026-07-10 18:36:07'::timestamp) - extract(epoch from '2026-07-10 18:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138285 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138281 -3.123617)'))) / (select extract(epoch from '2026-07-10 18:36:07'::timestamp) - extract(epoch from '2026-07-10 18:35:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
