 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034195 -2.963653)', '2026-06-21 15:25:27', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034193 -2.963655)'), GeomFromEWKT('SRID=4674;POINT (-39.034195 -2.963653)'))) / (select extract(epoch from '2026-06-21 15:25:27'::timestamp) - extract(epoch from '2026-06-21 15:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034193 -2.963655)'), GeomFromEWKT('SRID=4674;POINT (-39.034195 -2.963653)'))) / (select extract(epoch from '2026-06-21 15:25:27'::timestamp) - extract(epoch from '2026-06-21 15:25: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'), 46674, 'SRID=4674;POINT (-39.034195 -2.963645)', '2026-06-21 15:26:23', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034195 -2.963653)'), GeomFromEWKT('SRID=4674;POINT (-39.034195 -2.963645)'))) / (select extract(epoch from '2026-06-21 15:26:23'::timestamp) - extract(epoch from '2026-06-21 15:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034195 -2.963653)'), GeomFromEWKT('SRID=4674;POINT (-39.034195 -2.963645)'))) / (select extract(epoch from '2026-06-21 15:26:23'::timestamp) - extract(epoch from '2026-06-21 15:25: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'), 46674, 'SRID=4674;POINT (-39.034162 -2.963616)', '2026-06-21 15:27:21', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034195 -2.963645)'), GeomFromEWKT('SRID=4674;POINT (-39.034162 -2.963616)'))) / (select extract(epoch from '2026-06-21 15:27:21'::timestamp) - extract(epoch from '2026-06-21 15:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034195 -2.963645)'), GeomFromEWKT('SRID=4674;POINT (-39.034162 -2.963616)'))) / (select extract(epoch from '2026-06-21 15:27:21'::timestamp) - extract(epoch from '2026-06-21 15:26: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'), 46674, 'SRID=4674;POINT (-39.034166 -2.963616)', '2026-06-21 15:28:26', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034162 -2.963616)'), GeomFromEWKT('SRID=4674;POINT (-39.034166 -2.963616)'))) / (select extract(epoch from '2026-06-21 15:28:26'::timestamp) - extract(epoch from '2026-06-21 15:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034162 -2.963616)'), GeomFromEWKT('SRID=4674;POINT (-39.034166 -2.963616)'))) / (select extract(epoch from '2026-06-21 15:28:26'::timestamp) - extract(epoch from '2026-06-21 15:27: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'), 46674, 'SRID=4674;POINT (-39.034173 -2.963626)', '2026-06-21 15:29:23', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034166 -2.963616)'), GeomFromEWKT('SRID=4674;POINT (-39.034173 -2.963626)'))) / (select extract(epoch from '2026-06-21 15:29:23'::timestamp) - extract(epoch from '2026-06-21 15:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034166 -2.963616)'), GeomFromEWKT('SRID=4674;POINT (-39.034173 -2.963626)'))) / (select extract(epoch from '2026-06-21 15:29:23'::timestamp) - extract(epoch from '2026-06-21 15:28:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034172 -2.963631)', '2026-06-21 15:29:49', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034173 -2.963626)'), GeomFromEWKT('SRID=4674;POINT (-39.034172 -2.963631)'))) / (select extract(epoch from '2026-06-21 15:29:49'::timestamp) - extract(epoch from '2026-06-21 15:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034173 -2.963626)'), GeomFromEWKT('SRID=4674;POINT (-39.034172 -2.963631)'))) / (select extract(epoch from '2026-06-21 15:29:49'::timestamp) - extract(epoch from '2026-06-21 15:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034191 -2.96363)', '2026-06-21 15:31:37', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034172 -2.963631)'), GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.96363)'))) / (select extract(epoch from '2026-06-21 15:31:37'::timestamp) - extract(epoch from '2026-06-21 15:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034172 -2.963631)'), GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.96363)'))) / (select extract(epoch from '2026-06-21 15:31:37'::timestamp) - extract(epoch from '2026-06-21 15:29: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'), 46674, 'SRID=4674;POINT (-39.0342 -2.963647)', '2026-06-21 15:32:26', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.96363)'), GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.963647)'))) / (select extract(epoch from '2026-06-21 15:32:26'::timestamp) - extract(epoch from '2026-06-21 15:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.96363)'), GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.963647)'))) / (select extract(epoch from '2026-06-21 15:32:26'::timestamp) - extract(epoch from '2026-06-21 15:31: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'), 46674, 'SRID=4674;POINT (-39.034193 -2.963628)', '2026-06-21 15:33:05', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.963647)'), GeomFromEWKT('SRID=4674;POINT (-39.034193 -2.963628)'))) / (select extract(epoch from '2026-06-21 15:33:05'::timestamp) - extract(epoch from '2026-06-21 15:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.963647)'), GeomFromEWKT('SRID=4674;POINT (-39.034193 -2.963628)'))) / (select extract(epoch from '2026-06-21 15:33:05'::timestamp) - extract(epoch from '2026-06-21 15:32: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'), 46674, 'SRID=4674;POINT (-39.034187 -2.963619)', '2026-06-21 15:33:17', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034193 -2.963628)'), GeomFromEWKT('SRID=4674;POINT (-39.034187 -2.963619)'))) / (select extract(epoch from '2026-06-21 15:33:17'::timestamp) - extract(epoch from '2026-06-21 15:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034193 -2.963628)'), GeomFromEWKT('SRID=4674;POINT (-39.034187 -2.963619)'))) / (select extract(epoch from '2026-06-21 15:33:17'::timestamp) - extract(epoch from '2026-06-21 15:33: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'), 46674, 'SRID=4674;POINT (-39.034183 -2.963619)', '2026-06-21 15:33:28', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034187 -2.963619)'), GeomFromEWKT('SRID=4674;POINT (-39.034183 -2.963619)'))) / (select extract(epoch from '2026-06-21 15:33:28'::timestamp) - extract(epoch from '2026-06-21 15:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034187 -2.963619)'), GeomFromEWKT('SRID=4674;POINT (-39.034183 -2.963619)'))) / (select extract(epoch from '2026-06-21 15:33:28'::timestamp) - extract(epoch from '2026-06-21 15:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034191 -2.963639)', '2026-06-21 15:34:40', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034183 -2.963619)'), GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963639)'))) / (select extract(epoch from '2026-06-21 15:34:40'::timestamp) - extract(epoch from '2026-06-21 15:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034183 -2.963619)'), GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963639)'))) / (select extract(epoch from '2026-06-21 15:34:40'::timestamp) - extract(epoch from '2026-06-21 15:33:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03418 -2.963642)', '2026-06-21 15:35:15', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963639)'), GeomFromEWKT('SRID=4674;POINT (-39.03418 -2.963642)'))) / (select extract(epoch from '2026-06-21 15:35:15'::timestamp) - extract(epoch from '2026-06-21 15:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963639)'), GeomFromEWKT('SRID=4674;POINT (-39.03418 -2.963642)'))) / (select extract(epoch from '2026-06-21 15:35:15'::timestamp) - extract(epoch from '2026-06-21 15:34: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'), 46674, 'SRID=4674;POINT (-39.034191 -2.963648)', '2026-06-21 15:35:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03418 -2.963642)'), GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963648)'))) / (select extract(epoch from '2026-06-21 15:35:27'::timestamp) - extract(epoch from '2026-06-21 15:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03418 -2.963642)'), GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963648)'))) / (select extract(epoch from '2026-06-21 15:35:27'::timestamp) - extract(epoch from '2026-06-21 15:35: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'), 46674, 'SRID=4674;POINT (-39.034203 -2.963658)', '2026-06-21 15:36:24', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963648)'), GeomFromEWKT('SRID=4674;POINT (-39.034203 -2.963658)'))) / (select extract(epoch from '2026-06-21 15:36:24'::timestamp) - extract(epoch from '2026-06-21 15:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963648)'), GeomFromEWKT('SRID=4674;POINT (-39.034203 -2.963658)'))) / (select extract(epoch from '2026-06-21 15:36:24'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46674, 'SRID=4674;POINT (-39.034208 -2.963672)', '2026-06-21 15:37:04', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034203 -2.963658)'), GeomFromEWKT('SRID=4674;POINT (-39.034208 -2.963672)'))) / (select extract(epoch from '2026-06-21 15:37:04'::timestamp) - extract(epoch from '2026-06-21 15:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034203 -2.963658)'), GeomFromEWKT('SRID=4674;POINT (-39.034208 -2.963672)'))) / (select extract(epoch from '2026-06-21 15:37:04'::timestamp) - extract(epoch from '2026-06-21 15:36: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'), 46674, 'SRID=4674;POINT (-39.034214 -2.96367)', '2026-06-21 15:37:10', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034208 -2.963672)'), GeomFromEWKT('SRID=4674;POINT (-39.034214 -2.96367)'))) / (select extract(epoch from '2026-06-21 15:37:10'::timestamp) - extract(epoch from '2026-06-21 15:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034208 -2.963672)'), GeomFromEWKT('SRID=4674;POINT (-39.034214 -2.96367)'))) / (select extract(epoch from '2026-06-21 15:37:10'::timestamp) - extract(epoch from '2026-06-21 15:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034216 -2.963678)', '2026-06-21 15:39:12', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034214 -2.96367)'), GeomFromEWKT('SRID=4674;POINT (-39.034216 -2.963678)'))) / (select extract(epoch from '2026-06-21 15:39:12'::timestamp) - extract(epoch from '2026-06-21 15:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034214 -2.96367)'), GeomFromEWKT('SRID=4674;POINT (-39.034216 -2.963678)'))) / (select extract(epoch from '2026-06-21 15:39:12'::timestamp) - extract(epoch from '2026-06-21 15:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034208 -2.963688)', '2026-06-21 15:42:01', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034216 -2.963678)'), GeomFromEWKT('SRID=4674;POINT (-39.034208 -2.963688)'))) / (select extract(epoch from '2026-06-21 15:42:01'::timestamp) - extract(epoch from '2026-06-21 15:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034216 -2.963678)'), GeomFromEWKT('SRID=4674;POINT (-39.034208 -2.963688)'))) / (select extract(epoch from '2026-06-21 15:42:01'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46674, 'SRID=4674;POINT (-39.034192 -2.963674)', '2026-06-21 15:42:45', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034208 -2.963688)'), GeomFromEWKT('SRID=4674;POINT (-39.034192 -2.963674)'))) / (select extract(epoch from '2026-06-21 15:42:45'::timestamp) - extract(epoch from '2026-06-21 15:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034208 -2.963688)'), GeomFromEWKT('SRID=4674;POINT (-39.034192 -2.963674)'))) / (select extract(epoch from '2026-06-21 15:42:45'::timestamp) - extract(epoch from '2026-06-21 15:42: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'), 46674, 'SRID=4674;POINT (-39.034212 -2.963682)', '2026-06-21 15:43:34', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034192 -2.963674)'), GeomFromEWKT('SRID=4674;POINT (-39.034212 -2.963682)'))) / (select extract(epoch from '2026-06-21 15:43:34'::timestamp) - extract(epoch from '2026-06-21 15:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034192 -2.963674)'), GeomFromEWKT('SRID=4674;POINT (-39.034212 -2.963682)'))) / (select extract(epoch from '2026-06-21 15:43:34'::timestamp) - extract(epoch from '2026-06-21 15:42:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034211 -2.963688)', '2026-06-21 15:43:37', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034212 -2.963682)'), GeomFromEWKT('SRID=4674;POINT (-39.034211 -2.963688)'))) / (select extract(epoch from '2026-06-21 15:43:37'::timestamp) - extract(epoch from '2026-06-21 15:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034212 -2.963682)'), GeomFromEWKT('SRID=4674;POINT (-39.034211 -2.963688)'))) / (select extract(epoch from '2026-06-21 15:43:37'::timestamp) - extract(epoch from '2026-06-21 15:43: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'), 46674, 'SRID=4674;POINT (-39.0342 -2.963711)', '2026-06-21 15:44:55', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034211 -2.963688)'), GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.963711)'))) / (select extract(epoch from '2026-06-21 15:44:55'::timestamp) - extract(epoch from '2026-06-21 15:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034211 -2.963688)'), GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.963711)'))) / (select extract(epoch from '2026-06-21 15:44:55'::timestamp) - extract(epoch from '2026-06-21 15:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034207 -2.963723)', '2026-06-21 15:47:34', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.963711)'), GeomFromEWKT('SRID=4674;POINT (-39.034207 -2.963723)'))) / (select extract(epoch from '2026-06-21 15:47:34'::timestamp) - extract(epoch from '2026-06-21 15:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.963711)'), GeomFromEWKT('SRID=4674;POINT (-39.034207 -2.963723)'))) / (select extract(epoch from '2026-06-21 15:47:34'::timestamp) - extract(epoch from '2026-06-21 15:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.0342 -2.96373)', '2026-06-21 15:48:32', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034207 -2.963723)'), GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.96373)'))) / (select extract(epoch from '2026-06-21 15:48:32'::timestamp) - extract(epoch from '2026-06-21 15:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034207 -2.963723)'), GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.96373)'))) / (select extract(epoch from '2026-06-21 15:48:32'::timestamp) - extract(epoch from '2026-06-21 15:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034185 -2.963737)', '2026-06-21 15:49:04', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.96373)'), GeomFromEWKT('SRID=4674;POINT (-39.034185 -2.963737)'))) / (select extract(epoch from '2026-06-21 15:49:04'::timestamp) - extract(epoch from '2026-06-21 15:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0342 -2.96373)'), GeomFromEWKT('SRID=4674;POINT (-39.034185 -2.963737)'))) / (select extract(epoch from '2026-06-21 15:49:04'::timestamp) - extract(epoch from '2026-06-21 15:48: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'), 46674, 'SRID=4674;POINT (-39.034191 -2.963722)', '2026-06-21 15:51:17', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034185 -2.963737)'), GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963722)'))) / (select extract(epoch from '2026-06-21 15:51:17'::timestamp) - extract(epoch from '2026-06-21 15:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034185 -2.963737)'), GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963722)'))) / (select extract(epoch from '2026-06-21 15:51:17'::timestamp) - extract(epoch from '2026-06-21 15:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034202 -2.96372)', '2026-06-21 15:51:24', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963722)'), GeomFromEWKT('SRID=4674;POINT (-39.034202 -2.96372)'))) / (select extract(epoch from '2026-06-21 15:51:24'::timestamp) - extract(epoch from '2026-06-21 15:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034191 -2.963722)'), GeomFromEWKT('SRID=4674;POINT (-39.034202 -2.96372)'))) / (select extract(epoch from '2026-06-21 15:51:24'::timestamp) - extract(epoch from '2026-06-21 15:51: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'), 46674, 'SRID=4674;POINT (-39.034206 -2.963715)', '2026-06-21 15:51:25', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034202 -2.96372)'), GeomFromEWKT('SRID=4674;POINT (-39.034206 -2.963715)'))) / (select extract(epoch from '2026-06-21 15:51:25'::timestamp) - extract(epoch from '2026-06-21 15:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034202 -2.96372)'), GeomFromEWKT('SRID=4674;POINT (-39.034206 -2.963715)'))) / (select extract(epoch from '2026-06-21 15:51:25'::timestamp) - extract(epoch from '2026-06-21 15:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03421 -2.96372)', '2026-06-21 15:51:29', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034206 -2.963715)'), GeomFromEWKT('SRID=4674;POINT (-39.03421 -2.96372)'))) / (select extract(epoch from '2026-06-21 15:51:29'::timestamp) - extract(epoch from '2026-06-21 15:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034206 -2.963715)'), GeomFromEWKT('SRID=4674;POINT (-39.03421 -2.96372)'))) / (select extract(epoch from '2026-06-21 15:51:29'::timestamp) - extract(epoch from '2026-06-21 15:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034193 -2.963684)', '2026-06-21 15:52:34', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03421 -2.96372)'), GeomFromEWKT('SRID=4674;POINT (-39.034193 -2.963684)'))) / (select extract(epoch from '2026-06-21 15:52:34'::timestamp) - extract(epoch from '2026-06-21 15:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03421 -2.96372)'), GeomFromEWKT('SRID=4674;POINT (-39.034193 -2.963684)'))) / (select extract(epoch from '2026-06-21 15:52:34'::timestamp) - extract(epoch from '2026-06-21 15:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034186 -2.96369)', '2026-06-21 15:52:46', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034193 -2.963684)'), GeomFromEWKT('SRID=4674;POINT (-39.034186 -2.96369)'))) / (select extract(epoch from '2026-06-21 15:52:46'::timestamp) - extract(epoch from '2026-06-21 15:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034193 -2.963684)'), GeomFromEWKT('SRID=4674;POINT (-39.034186 -2.96369)'))) / (select extract(epoch from '2026-06-21 15:52:46'::timestamp) - extract(epoch from '2026-06-21 15:52: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'), 46674, 'SRID=4674;POINT (-39.034187 -2.963694)', '2026-06-21 15:52:52', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034186 -2.96369)'), GeomFromEWKT('SRID=4674;POINT (-39.034187 -2.963694)'))) / (select extract(epoch from '2026-06-21 15:52:52'::timestamp) - extract(epoch from '2026-06-21 15:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034186 -2.96369)'), GeomFromEWKT('SRID=4674;POINT (-39.034187 -2.963694)'))) / (select extract(epoch from '2026-06-21 15:52:52'::timestamp) - extract(epoch from '2026-06-21 15:52: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'), 46674, 'SRID=4674;POINT (-39.034204 -2.963692)', '2026-06-21 15:53:27', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034187 -2.963694)'), GeomFromEWKT('SRID=4674;POINT (-39.034204 -2.963692)'))) / (select extract(epoch from '2026-06-21 15:53:27'::timestamp) - extract(epoch from '2026-06-21 15:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034187 -2.963694)'), GeomFromEWKT('SRID=4674;POINT (-39.034204 -2.963692)'))) / (select extract(epoch from '2026-06-21 15:53:27'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46674, 'SRID=4674;POINT (-39.034198 -2.96369)', '2026-06-21 15:53:42', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034204 -2.963692)'), GeomFromEWKT('SRID=4674;POINT (-39.034198 -2.96369)'))) / (select extract(epoch from '2026-06-21 15:53:42'::timestamp) - extract(epoch from '2026-06-21 15:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034204 -2.963692)'), GeomFromEWKT('SRID=4674;POINT (-39.034198 -2.96369)'))) / (select extract(epoch from '2026-06-21 15:53:42'::timestamp) - extract(epoch from '2026-06-21 15:53:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034203 -2.963719)', '2026-06-21 15:57:01', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034198 -2.96369)'), GeomFromEWKT('SRID=4674;POINT (-39.034203 -2.963719)'))) / (select extract(epoch from '2026-06-21 15:57:01'::timestamp) - extract(epoch from '2026-06-21 15:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034198 -2.96369)'), GeomFromEWKT('SRID=4674;POINT (-39.034203 -2.963719)'))) / (select extract(epoch from '2026-06-21 15:57:01'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46674, 'SRID=4674;POINT (-39.034182 -2.963719)', '2026-06-21 15:58:54', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034203 -2.963719)'), GeomFromEWKT('SRID=4674;POINT (-39.034182 -2.963719)'))) / (select extract(epoch from '2026-06-21 15:58:54'::timestamp) - extract(epoch from '2026-06-21 15:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034203 -2.963719)'), GeomFromEWKT('SRID=4674;POINT (-39.034182 -2.963719)'))) / (select extract(epoch from '2026-06-21 15:58:54'::timestamp) - extract(epoch from '2026-06-21 15:57: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'), 46674, 'SRID=4674;POINT (-39.034205 -2.963728)', '2026-06-21 15:59:46', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034182 -2.963719)'), GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.963728)'))) / (select extract(epoch from '2026-06-21 15:59:46'::timestamp) - extract(epoch from '2026-06-21 15:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034182 -2.963719)'), GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.963728)'))) / (select extract(epoch from '2026-06-21 15:59:46'::timestamp) - extract(epoch from '2026-06-21 15:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034211 -2.963731)', '2026-06-21 15:59:54', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.963728)'), GeomFromEWKT('SRID=4674;POINT (-39.034211 -2.963731)'))) / (select extract(epoch from '2026-06-21 15:59:54'::timestamp) - extract(epoch from '2026-06-21 15:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.963728)'), GeomFromEWKT('SRID=4674;POINT (-39.034211 -2.963731)'))) / (select extract(epoch from '2026-06-21 15:59:54'::timestamp) - extract(epoch from '2026-06-21 15:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034219 -2.963733)', '2026-06-21 15:59:55', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034211 -2.963731)'), GeomFromEWKT('SRID=4674;POINT (-39.034219 -2.963733)'))) / (select extract(epoch from '2026-06-21 15:59:55'::timestamp) - extract(epoch from '2026-06-21 15:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034211 -2.963731)'), GeomFromEWKT('SRID=4674;POINT (-39.034219 -2.963733)'))) / (select extract(epoch from '2026-06-21 15:59:55'::timestamp) - extract(epoch from '2026-06-21 15:59: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'), 46674, 'SRID=4674;POINT (-39.034229 -2.963731)', '2026-06-21 16:00:01', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034219 -2.963733)'), GeomFromEWKT('SRID=4674;POINT (-39.034229 -2.963731)'))) / (select extract(epoch from '2026-06-21 16:00:01'::timestamp) - extract(epoch from '2026-06-21 15:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034219 -2.963733)'), GeomFromEWKT('SRID=4674;POINT (-39.034229 -2.963731)'))) / (select extract(epoch from '2026-06-21 16:00:01'::timestamp) - extract(epoch from '2026-06-21 15:59: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'), 46674, 'SRID=4674;POINT (-39.034216 -2.963771)', '2026-06-21 16:02:07', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034229 -2.963731)'), GeomFromEWKT('SRID=4674;POINT (-39.034216 -2.963771)'))) / (select extract(epoch from '2026-06-21 16:02:07'::timestamp) - extract(epoch from '2026-06-21 16:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034229 -2.963731)'), GeomFromEWKT('SRID=4674;POINT (-39.034216 -2.963771)'))) / (select extract(epoch from '2026-06-21 16:02:07'::timestamp) - extract(epoch from '2026-06-21 16:00: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'), 46674, 'SRID=4674;POINT (-39.034205 -2.963788)', '2026-06-21 16:02:34', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034216 -2.963771)'), GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.963788)'))) / (select extract(epoch from '2026-06-21 16:02:34'::timestamp) - extract(epoch from '2026-06-21 16:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034216 -2.963771)'), GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.963788)'))) / (select extract(epoch from '2026-06-21 16:02:34'::timestamp) - extract(epoch from '2026-06-21 16:02:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034205 -2.9638)', '2026-06-21 16:02:45', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.963788)'), GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.9638)'))) / (select extract(epoch from '2026-06-21 16:02:45'::timestamp) - extract(epoch from '2026-06-21 16:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.963788)'), GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.9638)'))) / (select extract(epoch from '2026-06-21 16:02:45'::timestamp) - extract(epoch from '2026-06-21 16:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03424 -2.963807)', '2026-06-21 16:04:47', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.9638)'), GeomFromEWKT('SRID=4674;POINT (-39.03424 -2.963807)'))) / (select extract(epoch from '2026-06-21 16:04:47'::timestamp) - extract(epoch from '2026-06-21 16:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034205 -2.9638)'), GeomFromEWKT('SRID=4674;POINT (-39.03424 -2.963807)'))) / (select extract(epoch from '2026-06-21 16:04:47'::timestamp) - extract(epoch from '2026-06-21 16:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034242 -2.963803)', '2026-06-21 16:06:53', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03424 -2.963807)'), GeomFromEWKT('SRID=4674;POINT (-39.034242 -2.963803)'))) / (select extract(epoch from '2026-06-21 16:06:53'::timestamp) - extract(epoch from '2026-06-21 16:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03424 -2.963807)'), GeomFromEWKT('SRID=4674;POINT (-39.034242 -2.963803)'))) / (select extract(epoch from '2026-06-21 16:06:53'::timestamp) - extract(epoch from '2026-06-21 16:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034235 -2.963823)', '2026-06-21 16:07:42', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034242 -2.963803)'), GeomFromEWKT('SRID=4674;POINT (-39.034235 -2.963823)'))) / (select extract(epoch from '2026-06-21 16:07:42'::timestamp) - extract(epoch from '2026-06-21 16:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034242 -2.963803)'), GeomFromEWKT('SRID=4674;POINT (-39.034235 -2.963823)'))) / (select extract(epoch from '2026-06-21 16:07:42'::timestamp) - extract(epoch from '2026-06-21 16:06: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'), 46674, 'SRID=4674;POINT (-39.034244 -2.963832)', '2026-06-21 16:08:50', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034235 -2.963823)'), GeomFromEWKT('SRID=4674;POINT (-39.034244 -2.963832)'))) / (select extract(epoch from '2026-06-21 16:08:50'::timestamp) - extract(epoch from '2026-06-21 16:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034235 -2.963823)'), GeomFromEWKT('SRID=4674;POINT (-39.034244 -2.963832)'))) / (select extract(epoch from '2026-06-21 16:08:50'::timestamp) - extract(epoch from '2026-06-21 16:07: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'), 46674, 'SRID=4674;POINT (-39.03424 -2.963835)', '2026-06-21 16:08:56', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034244 -2.963832)'), GeomFromEWKT('SRID=4674;POINT (-39.03424 -2.963835)'))) / (select extract(epoch from '2026-06-21 16:08:56'::timestamp) - extract(epoch from '2026-06-21 16:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034244 -2.963832)'), GeomFromEWKT('SRID=4674;POINT (-39.03424 -2.963835)'))) / (select extract(epoch from '2026-06-21 16:08:56'::timestamp) - extract(epoch from '2026-06-21 16:08: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'), 46674, 'SRID=4674;POINT (-39.034249 -2.963825)', '2026-06-21 16:10:49', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03424 -2.963835)'), GeomFromEWKT('SRID=4674;POINT (-39.034249 -2.963825)'))) / (select extract(epoch from '2026-06-21 16:10:49'::timestamp) - extract(epoch from '2026-06-21 16:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03424 -2.963835)'), GeomFromEWKT('SRID=4674;POINT (-39.034249 -2.963825)'))) / (select extract(epoch from '2026-06-21 16:10:49'::timestamp) - extract(epoch from '2026-06-21 16:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034263 -2.963845)', '2026-06-21 16:11:07', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034249 -2.963825)'), GeomFromEWKT('SRID=4674;POINT (-39.034263 -2.963845)'))) / (select extract(epoch from '2026-06-21 16:11:07'::timestamp) - extract(epoch from '2026-06-21 16:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034249 -2.963825)'), GeomFromEWKT('SRID=4674;POINT (-39.034263 -2.963845)'))) / (select extract(epoch from '2026-06-21 16:11:07'::timestamp) - extract(epoch from '2026-06-21 16:10: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'), 46674, 'SRID=4674;POINT (-39.034246 -2.963841)', '2026-06-21 16:11:29', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034263 -2.963845)'), GeomFromEWKT('SRID=4674;POINT (-39.034246 -2.963841)'))) / (select extract(epoch from '2026-06-21 16:11:29'::timestamp) - extract(epoch from '2026-06-21 16:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034263 -2.963845)'), GeomFromEWKT('SRID=4674;POINT (-39.034246 -2.963841)'))) / (select extract(epoch from '2026-06-21 16:11:29'::timestamp) - extract(epoch from '2026-06-21 16:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034266 -2.963838)', '2026-06-21 16:13:31', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034246 -2.963841)'), GeomFromEWKT('SRID=4674;POINT (-39.034266 -2.963838)'))) / (select extract(epoch from '2026-06-21 16:13:31'::timestamp) - extract(epoch from '2026-06-21 16:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034246 -2.963841)'), GeomFromEWKT('SRID=4674;POINT (-39.034266 -2.963838)'))) / (select extract(epoch from '2026-06-21 16:13:31'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46674, 'SRID=4674;POINT (-39.034264 -2.963837)', '2026-06-21 16:14:03', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034266 -2.963838)'), GeomFromEWKT('SRID=4674;POINT (-39.034264 -2.963837)'))) / (select extract(epoch from '2026-06-21 16:14:03'::timestamp) - extract(epoch from '2026-06-21 16:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034266 -2.963838)'), GeomFromEWKT('SRID=4674;POINT (-39.034264 -2.963837)'))) / (select extract(epoch from '2026-06-21 16:14:03'::timestamp) - extract(epoch from '2026-06-21 16:13: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'), 46674, 'SRID=4674;POINT (-39.034278 -2.963875)', '2026-06-21 16:14:47', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034264 -2.963837)'), GeomFromEWKT('SRID=4674;POINT (-39.034278 -2.963875)'))) / (select extract(epoch from '2026-06-21 16:14:47'::timestamp) - extract(epoch from '2026-06-21 16:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034264 -2.963837)'), GeomFromEWKT('SRID=4674;POINT (-39.034278 -2.963875)'))) / (select extract(epoch from '2026-06-21 16:14:47'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46674, 'SRID=4674;POINT (-39.034286 -2.963892)', '2026-06-21 16:15:28', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034278 -2.963875)'), GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963892)'))) / (select extract(epoch from '2026-06-21 16:15:28'::timestamp) - extract(epoch from '2026-06-21 16:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034278 -2.963875)'), GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963892)'))) / (select extract(epoch from '2026-06-21 16:15:28'::timestamp) - extract(epoch from '2026-06-21 16:14: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'), 46674, 'SRID=4674;POINT (-39.034261 -2.963884)', '2026-06-21 16:16:07', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963892)'), GeomFromEWKT('SRID=4674;POINT (-39.034261 -2.963884)'))) / (select extract(epoch from '2026-06-21 16:16:07'::timestamp) - extract(epoch from '2026-06-21 16:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963892)'), GeomFromEWKT('SRID=4674;POINT (-39.034261 -2.963884)'))) / (select extract(epoch from '2026-06-21 16:16:07'::timestamp) - extract(epoch from '2026-06-21 16:15: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'), 46674, 'SRID=4674;POINT (-39.034267 -2.9639)', '2026-06-21 16:17:49', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034261 -2.963884)'), GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.9639)'))) / (select extract(epoch from '2026-06-21 16:17:49'::timestamp) - extract(epoch from '2026-06-21 16:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034261 -2.963884)'), GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.9639)'))) / (select extract(epoch from '2026-06-21 16:17:49'::timestamp) - extract(epoch from '2026-06-21 16:16: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'), 46674, 'SRID=4674;POINT (-39.034266 -2.963886)', '2026-06-21 16:18:29', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.9639)'), GeomFromEWKT('SRID=4674;POINT (-39.034266 -2.963886)'))) / (select extract(epoch from '2026-06-21 16:18:29'::timestamp) - extract(epoch from '2026-06-21 16:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.9639)'), GeomFromEWKT('SRID=4674;POINT (-39.034266 -2.963886)'))) / (select extract(epoch from '2026-06-21 16:18:29'::timestamp) - extract(epoch from '2026-06-21 16:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034262 -2.96387)', '2026-06-21 16:19:48', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034266 -2.963886)'), GeomFromEWKT('SRID=4674;POINT (-39.034262 -2.96387)'))) / (select extract(epoch from '2026-06-21 16:19:48'::timestamp) - extract(epoch from '2026-06-21 16:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034266 -2.963886)'), GeomFromEWKT('SRID=4674;POINT (-39.034262 -2.96387)'))) / (select extract(epoch from '2026-06-21 16:19:48'::timestamp) - extract(epoch from '2026-06-21 16:18: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'), 46674, 'SRID=4674;POINT (-39.034251 -2.963869)', '2026-06-21 16:20:34', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034262 -2.96387)'), GeomFromEWKT('SRID=4674;POINT (-39.034251 -2.963869)'))) / (select extract(epoch from '2026-06-21 16:20:34'::timestamp) - extract(epoch from '2026-06-21 16:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034262 -2.96387)'), GeomFromEWKT('SRID=4674;POINT (-39.034251 -2.963869)'))) / (select extract(epoch from '2026-06-21 16:20:34'::timestamp) - extract(epoch from '2026-06-21 16:19: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'), 46674, 'SRID=4674;POINT (-39.034257 -2.963869)', '2026-06-21 16:21:28', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034251 -2.963869)'), GeomFromEWKT('SRID=4674;POINT (-39.034257 -2.963869)'))) / (select extract(epoch from '2026-06-21 16:21:28'::timestamp) - extract(epoch from '2026-06-21 16:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034251 -2.963869)'), GeomFromEWKT('SRID=4674;POINT (-39.034257 -2.963869)'))) / (select extract(epoch from '2026-06-21 16:21:28'::timestamp) - extract(epoch from '2026-06-21 16:20: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'), 46674, 'SRID=4674;POINT (-39.03426 -2.963864)', '2026-06-21 16:22:36', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034257 -2.963869)'), GeomFromEWKT('SRID=4674;POINT (-39.03426 -2.963864)'))) / (select extract(epoch from '2026-06-21 16:22:36'::timestamp) - extract(epoch from '2026-06-21 16:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034257 -2.963869)'), GeomFromEWKT('SRID=4674;POINT (-39.03426 -2.963864)'))) / (select extract(epoch from '2026-06-21 16:22:36'::timestamp) - extract(epoch from '2026-06-21 16:21: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'), 46674, 'SRID=4674;POINT (-39.034265 -2.963867)', '2026-06-21 16:24:08', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03426 -2.963864)'), GeomFromEWKT('SRID=4674;POINT (-39.034265 -2.963867)'))) / (select extract(epoch from '2026-06-21 16:24:08'::timestamp) - extract(epoch from '2026-06-21 16:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03426 -2.963864)'), GeomFromEWKT('SRID=4674;POINT (-39.034265 -2.963867)'))) / (select extract(epoch from '2026-06-21 16:24:08'::timestamp) - extract(epoch from '2026-06-21 16:22: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'), 46674, 'SRID=4674;POINT (-39.034271 -2.963856)', '2026-06-21 16:24:27', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034265 -2.963867)'), GeomFromEWKT('SRID=4674;POINT (-39.034271 -2.963856)'))) / (select extract(epoch from '2026-06-21 16:24:27'::timestamp) - extract(epoch from '2026-06-21 16:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034265 -2.963867)'), GeomFromEWKT('SRID=4674;POINT (-39.034271 -2.963856)'))) / (select extract(epoch from '2026-06-21 16:24:27'::timestamp) - extract(epoch from '2026-06-21 16:24: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'), 46674, 'SRID=4674;POINT (-39.03427 -2.963866)', '2026-06-21 16:24:51', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034271 -2.963856)'), GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.963866)'))) / (select extract(epoch from '2026-06-21 16:24:51'::timestamp) - extract(epoch from '2026-06-21 16:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034271 -2.963856)'), GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.963866)'))) / (select extract(epoch from '2026-06-21 16:24:51'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46674, 'SRID=4674;POINT (-39.03426 -2.963863)', '2026-06-21 16:25:13', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.963866)'), GeomFromEWKT('SRID=4674;POINT (-39.03426 -2.963863)'))) / (select extract(epoch from '2026-06-21 16:25:13'::timestamp) - extract(epoch from '2026-06-21 16:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.963866)'), GeomFromEWKT('SRID=4674;POINT (-39.03426 -2.963863)'))) / (select extract(epoch from '2026-06-21 16:25:13'::timestamp) - extract(epoch from '2026-06-21 16:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034267 -2.963897)', '2026-06-21 16:26:30', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03426 -2.963863)'), GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.963897)'))) / (select extract(epoch from '2026-06-21 16:26:30'::timestamp) - extract(epoch from '2026-06-21 16:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03426 -2.963863)'), GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.963897)'))) / (select extract(epoch from '2026-06-21 16:26:30'::timestamp) - extract(epoch from '2026-06-21 16:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034258 -2.96388)', '2026-06-21 16:27:32', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.963897)'), GeomFromEWKT('SRID=4674;POINT (-39.034258 -2.96388)'))) / (select extract(epoch from '2026-06-21 16:27:32'::timestamp) - extract(epoch from '2026-06-21 16:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.963897)'), GeomFromEWKT('SRID=4674;POINT (-39.034258 -2.96388)'))) / (select extract(epoch from '2026-06-21 16:27:32'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46674, 'SRID=4674;POINT (-39.034269 -2.963864)', '2026-06-21 16:27:57', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034258 -2.96388)'), GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.963864)'))) / (select extract(epoch from '2026-06-21 16:27:57'::timestamp) - extract(epoch from '2026-06-21 16:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034258 -2.96388)'), GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.963864)'))) / (select extract(epoch from '2026-06-21 16:27:57'::timestamp) - extract(epoch from '2026-06-21 16:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034258 -2.963813)', '2026-06-21 16:30:07', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.963864)'), GeomFromEWKT('SRID=4674;POINT (-39.034258 -2.963813)'))) / (select extract(epoch from '2026-06-21 16:30:07'::timestamp) - extract(epoch from '2026-06-21 16:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.963864)'), GeomFromEWKT('SRID=4674;POINT (-39.034258 -2.963813)'))) / (select extract(epoch from '2026-06-21 16:30:07'::timestamp) - extract(epoch from '2026-06-21 16:27: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'), 46674, 'SRID=4674;POINT (-39.034262 -2.963824)', '2026-06-21 16:30:30', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034258 -2.963813)'), GeomFromEWKT('SRID=4674;POINT (-39.034262 -2.963824)'))) / (select extract(epoch from '2026-06-21 16:30:30'::timestamp) - extract(epoch from '2026-06-21 16:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034258 -2.963813)'), GeomFromEWKT('SRID=4674;POINT (-39.034262 -2.963824)'))) / (select extract(epoch from '2026-06-21 16:30:30'::timestamp) - extract(epoch from '2026-06-21 16:30: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'), 46674, 'SRID=4674;POINT (-39.034255 -2.96383)', '2026-06-21 16:31:20', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034262 -2.963824)'), GeomFromEWKT('SRID=4674;POINT (-39.034255 -2.96383)'))) / (select extract(epoch from '2026-06-21 16:31:20'::timestamp) - extract(epoch from '2026-06-21 16:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034262 -2.963824)'), GeomFromEWKT('SRID=4674;POINT (-39.034255 -2.96383)'))) / (select extract(epoch from '2026-06-21 16:31:20'::timestamp) - extract(epoch from '2026-06-21 16:30: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'), 46674, 'SRID=4674;POINT (-39.034277 -2.963832)', '2026-06-21 16:31:55', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034255 -2.96383)'), GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.963832)'))) / (select extract(epoch from '2026-06-21 16:31:55'::timestamp) - extract(epoch from '2026-06-21 16:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034255 -2.96383)'), GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.963832)'))) / (select extract(epoch from '2026-06-21 16:31:55'::timestamp) - extract(epoch from '2026-06-21 16:31: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'), 46674, 'SRID=4674;POINT (-39.034254 -2.963847)', '2026-06-21 16:32:37', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.963832)'), GeomFromEWKT('SRID=4674;POINT (-39.034254 -2.963847)'))) / (select extract(epoch from '2026-06-21 16:32:37'::timestamp) - extract(epoch from '2026-06-21 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.963832)'), GeomFromEWKT('SRID=4674;POINT (-39.034254 -2.963847)'))) / (select extract(epoch from '2026-06-21 16:32:37'::timestamp) - extract(epoch from '2026-06-21 16:31: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'), 46674, 'SRID=4674;POINT (-39.034255 -2.963849)', '2026-06-21 16:32:48', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034254 -2.963847)'), GeomFromEWKT('SRID=4674;POINT (-39.034255 -2.963849)'))) / (select extract(epoch from '2026-06-21 16:32:48'::timestamp) - extract(epoch from '2026-06-21 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034254 -2.963847)'), GeomFromEWKT('SRID=4674;POINT (-39.034255 -2.963849)'))) / (select extract(epoch from '2026-06-21 16:32:48'::timestamp) - extract(epoch from '2026-06-21 16:32: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'), 46674, 'SRID=4674;POINT (-39.034288 -2.963893)', '2026-06-21 16:34:01', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034255 -2.963849)'), GeomFromEWKT('SRID=4674;POINT (-39.034288 -2.963893)'))) / (select extract(epoch from '2026-06-21 16:34:01'::timestamp) - extract(epoch from '2026-06-21 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034255 -2.963849)'), GeomFromEWKT('SRID=4674;POINT (-39.034288 -2.963893)'))) / (select extract(epoch from '2026-06-21 16:34:01'::timestamp) - extract(epoch from '2026-06-21 16:32: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'), 46674, 'SRID=4674;POINT (-39.034287 -2.963897)', '2026-06-21 16:34:09', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034288 -2.963893)'), GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.963897)'))) / (select extract(epoch from '2026-06-21 16:34:09'::timestamp) - extract(epoch from '2026-06-21 16:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034288 -2.963893)'), GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.963897)'))) / (select extract(epoch from '2026-06-21 16:34:09'::timestamp) - extract(epoch from '2026-06-21 16:34: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'), 46674, 'SRID=4674;POINT (-39.034275 -2.963909)', '2026-06-21 16:34:23', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.963897)'), GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963909)'))) / (select extract(epoch from '2026-06-21 16:34:23'::timestamp) - extract(epoch from '2026-06-21 16:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.963897)'), GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963909)'))) / (select extract(epoch from '2026-06-21 16:34:23'::timestamp) - extract(epoch from '2026-06-21 16:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034272 -2.963909)', '2026-06-21 16:34:30', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963909)'), GeomFromEWKT('SRID=4674;POINT (-39.034272 -2.963909)'))) / (select extract(epoch from '2026-06-21 16:34:30'::timestamp) - extract(epoch from '2026-06-21 16:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963909)'), GeomFromEWKT('SRID=4674;POINT (-39.034272 -2.963909)'))) / (select extract(epoch from '2026-06-21 16:34:30'::timestamp) - extract(epoch from '2026-06-21 16:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.0343 -2.963895)', '2026-06-21 16:34:38', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034272 -2.963909)'), GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963895)'))) / (select extract(epoch from '2026-06-21 16:34:38'::timestamp) - extract(epoch from '2026-06-21 16:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034272 -2.963909)'), GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963895)'))) / (select extract(epoch from '2026-06-21 16:34:38'::timestamp) - extract(epoch from '2026-06-21 16:34: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'), 46674, 'SRID=4674;POINT (-39.03429 -2.9639)', '2026-06-21 16:34:55', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963895)'), GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.9639)'))) / (select extract(epoch from '2026-06-21 16:34:55'::timestamp) - extract(epoch from '2026-06-21 16:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963895)'), GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.9639)'))) / (select extract(epoch from '2026-06-21 16:34:55'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46674, 'SRID=4674;POINT (-39.03427 -2.963913)', '2026-06-21 16:35:05', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.9639)'), GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.963913)'))) / (select extract(epoch from '2026-06-21 16:35:05'::timestamp) - extract(epoch from '2026-06-21 16:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.9639)'), GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.963913)'))) / (select extract(epoch from '2026-06-21 16:35:05'::timestamp) - extract(epoch from '2026-06-21 16:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034283 -2.963924)', '2026-06-21 16:36:30', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.963913)'), GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.963924)'))) / (select extract(epoch from '2026-06-21 16:36:30'::timestamp) - extract(epoch from '2026-06-21 16:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.963913)'), GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.963924)'))) / (select extract(epoch from '2026-06-21 16:36:30'::timestamp) - extract(epoch from '2026-06-21 16:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034286 -2.963924)', '2026-06-21 16:36:40', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.963924)'), GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963924)'))) / (select extract(epoch from '2026-06-21 16:36:40'::timestamp) - extract(epoch from '2026-06-21 16:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.963924)'), GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963924)'))) / (select extract(epoch from '2026-06-21 16:36:40'::timestamp) - extract(epoch from '2026-06-21 16:36: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'), 46674, 'SRID=4674;POINT (-39.034304 -2.963924)', '2026-06-21 16:37:14', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963924)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963924)'))) / (select extract(epoch from '2026-06-21 16:37:14'::timestamp) - extract(epoch from '2026-06-21 16:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963924)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963924)'))) / (select extract(epoch from '2026-06-21 16:37:14'::timestamp) - extract(epoch from '2026-06-21 16:36: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'), 46674, 'SRID=4674;POINT (-39.034297 -2.96396)', '2026-06-21 16:38:31', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963924)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96396)'))) / (select extract(epoch from '2026-06-21 16:38:31'::timestamp) - extract(epoch from '2026-06-21 16:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963924)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96396)'))) / (select extract(epoch from '2026-06-21 16:38:31'::timestamp) - extract(epoch from '2026-06-21 16:37:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034289 -2.963949)', '2026-06-21 16:39:03', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96396)'), GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963949)'))) / (select extract(epoch from '2026-06-21 16:39:03'::timestamp) - extract(epoch from '2026-06-21 16:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96396)'), GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963949)'))) / (select extract(epoch from '2026-06-21 16:39:03'::timestamp) - extract(epoch from '2026-06-21 16:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034295 -2.963948)', '2026-06-21 16:39:14', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963949)'), GeomFromEWKT('SRID=4674;POINT (-39.034295 -2.963948)'))) / (select extract(epoch from '2026-06-21 16:39:14'::timestamp) - extract(epoch from '2026-06-21 16:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963949)'), GeomFromEWKT('SRID=4674;POINT (-39.034295 -2.963948)'))) / (select extract(epoch from '2026-06-21 16:39:14'::timestamp) - extract(epoch from '2026-06-21 16:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034289 -2.963942)', '2026-06-21 16:39:35', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034295 -2.963948)'), GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963942)'))) / (select extract(epoch from '2026-06-21 16:39:35'::timestamp) - extract(epoch from '2026-06-21 16:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034295 -2.963948)'), GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963942)'))) / (select extract(epoch from '2026-06-21 16:39:35'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46674, 'SRID=4674;POINT (-39.034294 -2.963946)', '2026-06-21 16:39:56', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963942)'), GeomFromEWKT('SRID=4674;POINT (-39.034294 -2.963946)'))) / (select extract(epoch from '2026-06-21 16:39:56'::timestamp) - extract(epoch from '2026-06-21 16:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963942)'), GeomFromEWKT('SRID=4674;POINT (-39.034294 -2.963946)'))) / (select extract(epoch from '2026-06-21 16:39:56'::timestamp) - extract(epoch from '2026-06-21 16:39: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'), 46674, 'SRID=4674;POINT (-39.034316 -2.963973)', '2026-06-21 16:40:16', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034294 -2.963946)'), GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.963973)'))) / (select extract(epoch from '2026-06-21 16:40:16'::timestamp) - extract(epoch from '2026-06-21 16:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034294 -2.963946)'), GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.963973)'))) / (select extract(epoch from '2026-06-21 16:40:16'::timestamp) - extract(epoch from '2026-06-21 16:39: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'), 46674, 'SRID=4674;POINT (-39.034318 -2.963988)', '2026-06-21 16:40:51', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.963973)'), GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.963988)'))) / (select extract(epoch from '2026-06-21 16:40:51'::timestamp) - extract(epoch from '2026-06-21 16:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.963973)'), GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.963988)'))) / (select extract(epoch from '2026-06-21 16:40:51'::timestamp) - extract(epoch from '2026-06-21 16:40: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'), 46674, 'SRID=4674;POINT (-39.034323 -2.96397)', '2026-06-21 16:41:07', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.963988)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.96397)'))) / (select extract(epoch from '2026-06-21 16:41:07'::timestamp) - extract(epoch from '2026-06-21 16:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.963988)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.96397)'))) / (select extract(epoch from '2026-06-21 16:41:07'::timestamp) - extract(epoch from '2026-06-21 16:40: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'), 46674, 'SRID=4674;POINT (-39.034298 -2.963989)', '2026-06-21 16:41:38', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.96397)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.963989)'))) / (select extract(epoch from '2026-06-21 16:41:38'::timestamp) - extract(epoch from '2026-06-21 16:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.96397)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.963989)'))) / (select extract(epoch from '2026-06-21 16:41:38'::timestamp) - extract(epoch from '2026-06-21 16:41: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'), 46674, 'SRID=4674;POINT (-39.034308 -2.963989)', '2026-06-21 16:41:59', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.963989)'), GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.963989)'))) / (select extract(epoch from '2026-06-21 16:41:59'::timestamp) - extract(epoch from '2026-06-21 16:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.963989)'), GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.963989)'))) / (select extract(epoch from '2026-06-21 16:41:59'::timestamp) - extract(epoch from '2026-06-21 16:41: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'), 46674, 'SRID=4674;POINT (-39.034323 -2.963988)', '2026-06-21 16:42:12', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.963989)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.963988)'))) / (select extract(epoch from '2026-06-21 16:42:12'::timestamp) - extract(epoch from '2026-06-21 16:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.963989)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.963988)'))) / (select extract(epoch from '2026-06-21 16:42:12'::timestamp) - extract(epoch from '2026-06-21 16:41: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'), 46674, 'SRID=4674;POINT (-39.034304 -2.96399)', '2026-06-21 16:42:33', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.963988)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.96399)'))) / (select extract(epoch from '2026-06-21 16:42:33'::timestamp) - extract(epoch from '2026-06-21 16:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.963988)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.96399)'))) / (select extract(epoch from '2026-06-21 16:42:33'::timestamp) - extract(epoch from '2026-06-21 16:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034299 -2.963997)', '2026-06-21 16:42:49', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.96399)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963997)'))) / (select extract(epoch from '2026-06-21 16:42:49'::timestamp) - extract(epoch from '2026-06-21 16:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.96399)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963997)'))) / (select extract(epoch from '2026-06-21 16:42:49'::timestamp) - extract(epoch from '2026-06-21 16:42: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'), 46674, 'SRID=4674;POINT (-39.034299 -2.963968)', '2026-06-21 16:43:29', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963997)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963968)'))) / (select extract(epoch from '2026-06-21 16:43:29'::timestamp) - extract(epoch from '2026-06-21 16:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963997)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963968)'))) / (select extract(epoch from '2026-06-21 16:43:29'::timestamp) - extract(epoch from '2026-06-21 16:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034299 -2.963981)', '2026-06-21 16:43:57', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963968)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963981)'))) / (select extract(epoch from '2026-06-21 16:43:57'::timestamp) - extract(epoch from '2026-06-21 16:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963968)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963981)'))) / (select extract(epoch from '2026-06-21 16:43:57'::timestamp) - extract(epoch from '2026-06-21 16:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034304 -2.963991)', '2026-06-21 16:44:35', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963981)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963991)'))) / (select extract(epoch from '2026-06-21 16:44:35'::timestamp) - extract(epoch from '2026-06-21 16:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963981)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963991)'))) / (select extract(epoch from '2026-06-21 16:44:35'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46674, 'SRID=4674;POINT (-39.03431 -2.963988)', '2026-06-21 16:44:56', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963991)'), GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963988)'))) / (select extract(epoch from '2026-06-21 16:44:56'::timestamp) - extract(epoch from '2026-06-21 16:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963991)'), GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963988)'))) / (select extract(epoch from '2026-06-21 16:44:56'::timestamp) - extract(epoch from '2026-06-21 16:44: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'), 46674, 'SRID=4674;POINT (-39.034326 -2.963989)', '2026-06-21 16:45:04', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963988)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963989)'))) / (select extract(epoch from '2026-06-21 16:45:04'::timestamp) - extract(epoch from '2026-06-21 16:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963988)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963989)'))) / (select extract(epoch from '2026-06-21 16:45:04'::timestamp) - extract(epoch from '2026-06-21 16:44: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'), 46674, 'SRID=4674;POINT (-39.034326 -2.963979)', '2026-06-21 16:45:13', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963989)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963979)'))) / (select extract(epoch from '2026-06-21 16:45:13'::timestamp) - extract(epoch from '2026-06-21 16:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963989)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963979)'))) / (select extract(epoch from '2026-06-21 16:45:13'::timestamp) - extract(epoch from '2026-06-21 16:45: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'), 46674, 'SRID=4674;POINT (-39.034326 -2.963997)', '2026-06-21 16:45:22', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963979)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963997)'))) / (select extract(epoch from '2026-06-21 16:45:22'::timestamp) - extract(epoch from '2026-06-21 16:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963979)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963997)'))) / (select extract(epoch from '2026-06-21 16:45:22'::timestamp) - extract(epoch from '2026-06-21 16:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03433 -2.964004)', '2026-06-21 16:45:25', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963997)'), GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.964004)'))) / (select extract(epoch from '2026-06-21 16:45:25'::timestamp) - extract(epoch from '2026-06-21 16:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.963997)'), GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.964004)'))) / (select extract(epoch from '2026-06-21 16:45:25'::timestamp) - extract(epoch from '2026-06-21 16:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034327 -2.964003)', '2026-06-21 16:45:34', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.964004)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964003)'))) / (select extract(epoch from '2026-06-21 16:45:34'::timestamp) - extract(epoch from '2026-06-21 16:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.964004)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964003)'))) / (select extract(epoch from '2026-06-21 16:45:34'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46674, 'SRID=4674;POINT (-39.034311 -2.964007)', '2026-06-21 16:45:43', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964003)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964007)'))) / (select extract(epoch from '2026-06-21 16:45:43'::timestamp) - extract(epoch from '2026-06-21 16:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964003)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964007)'))) / (select extract(epoch from '2026-06-21 16:45:43'::timestamp) - extract(epoch from '2026-06-21 16:45: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'), 46674, 'SRID=4674;POINT (-39.03431 -2.963994)', '2026-06-21 16:46:00', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964007)'), GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963994)'))) / (select extract(epoch from '2026-06-21 16:46:00'::timestamp) - extract(epoch from '2026-06-21 16:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964007)'), GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963994)'))) / (select extract(epoch from '2026-06-21 16:46:00'::timestamp) - extract(epoch from '2026-06-21 16:45: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'), 46674, 'SRID=4674;POINT (-39.034314 -2.963993)', '2026-06-21 16:46:06', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963994)'), GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.963993)'))) / (select extract(epoch from '2026-06-21 16:46:06'::timestamp) - extract(epoch from '2026-06-21 16:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963994)'), GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.963993)'))) / (select extract(epoch from '2026-06-21 16:46:06'::timestamp) - extract(epoch from '2026-06-21 16:46: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'), 46674, 'SRID=4674;POINT (-39.03431 -2.963998)', '2026-06-21 16:47:02', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.963993)'), GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963998)'))) / (select extract(epoch from '2026-06-21 16:47:02'::timestamp) - extract(epoch from '2026-06-21 16:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.963993)'), GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963998)'))) / (select extract(epoch from '2026-06-21 16:47:02'::timestamp) - extract(epoch from '2026-06-21 16:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034297 -2.964015)', '2026-06-21 16:48:40', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963998)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964015)'))) / (select extract(epoch from '2026-06-21 16:48:40'::timestamp) - extract(epoch from '2026-06-21 16:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03431 -2.963998)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964015)'))) / (select extract(epoch from '2026-06-21 16:48:40'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46674, 'SRID=4674;POINT (-39.034297 -2.963991)', '2026-06-21 16:49:34', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964015)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.963991)'))) / (select extract(epoch from '2026-06-21 16:49:34'::timestamp) - extract(epoch from '2026-06-21 16:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964015)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.963991)'))) / (select extract(epoch from '2026-06-21 16:49:34'::timestamp) - extract(epoch from '2026-06-21 16:48: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'), 46674, 'SRID=4674;POINT (-39.034299 -2.963987)', '2026-06-21 16:49:39', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.963991)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963987)'))) / (select extract(epoch from '2026-06-21 16:49:39'::timestamp) - extract(epoch from '2026-06-21 16:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.963991)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963987)'))) / (select extract(epoch from '2026-06-21 16:49:39'::timestamp) - extract(epoch from '2026-06-21 16:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034288 -2.964002)', '2026-06-21 16:51:08', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963987)'), GeomFromEWKT('SRID=4674;POINT (-39.034288 -2.964002)'))) / (select extract(epoch from '2026-06-21 16:51:08'::timestamp) - extract(epoch from '2026-06-21 16:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963987)'), GeomFromEWKT('SRID=4674;POINT (-39.034288 -2.964002)'))) / (select extract(epoch from '2026-06-21 16:51:08'::timestamp) - extract(epoch from '2026-06-21 16:49: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'), 46674, 'SRID=4674;POINT (-39.034292 -2.964003)', '2026-06-21 16:52:07', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034288 -2.964002)'), GeomFromEWKT('SRID=4674;POINT (-39.034292 -2.964003)'))) / (select extract(epoch from '2026-06-21 16:52:07'::timestamp) - extract(epoch from '2026-06-21 16:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034288 -2.964002)'), GeomFromEWKT('SRID=4674;POINT (-39.034292 -2.964003)'))) / (select extract(epoch from '2026-06-21 16:52:07'::timestamp) - extract(epoch from '2026-06-21 16:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034299 -2.963985)', '2026-06-21 16:52:26', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034292 -2.964003)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963985)'))) / (select extract(epoch from '2026-06-21 16:52:26'::timestamp) - extract(epoch from '2026-06-21 16:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034292 -2.964003)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963985)'))) / (select extract(epoch from '2026-06-21 16:52:26'::timestamp) - extract(epoch from '2026-06-21 16:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03429 -2.963973)', '2026-06-21 16:53:37', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963985)'), GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.963973)'))) / (select extract(epoch from '2026-06-21 16:53:37'::timestamp) - extract(epoch from '2026-06-21 16:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.963985)'), GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.963973)'))) / (select extract(epoch from '2026-06-21 16:53:37'::timestamp) - extract(epoch from '2026-06-21 16:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034306 -2.963945)', '2026-06-21 16:55:05', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.963973)'), GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.963945)'))) / (select extract(epoch from '2026-06-21 16:55:05'::timestamp) - extract(epoch from '2026-06-21 16:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.963973)'), GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.963945)'))) / (select extract(epoch from '2026-06-21 16:55:05'::timestamp) - extract(epoch from '2026-06-21 16:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034275 -2.963937)', '2026-06-21 16:56:28', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.963945)'), GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963937)'))) / (select extract(epoch from '2026-06-21 16:56:28'::timestamp) - extract(epoch from '2026-06-21 16:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.963945)'), GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963937)'))) / (select extract(epoch from '2026-06-21 16:56:28'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46674, 'SRID=4674;POINT (-39.034284 -2.96392)', '2026-06-21 16:56:42', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963937)'), GeomFromEWKT('SRID=4674;POINT (-39.034284 -2.96392)'))) / (select extract(epoch from '2026-06-21 16:56:42'::timestamp) - extract(epoch from '2026-06-21 16:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963937)'), GeomFromEWKT('SRID=4674;POINT (-39.034284 -2.96392)'))) / (select extract(epoch from '2026-06-21 16:56:42'::timestamp) - extract(epoch from '2026-06-21 16:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034289 -2.963914)', '2026-06-21 16:56:52', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034284 -2.96392)'), GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963914)'))) / (select extract(epoch from '2026-06-21 16:56:52'::timestamp) - extract(epoch from '2026-06-21 16:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034284 -2.96392)'), GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963914)'))) / (select extract(epoch from '2026-06-21 16:56:52'::timestamp) - extract(epoch from '2026-06-21 16:56: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'), 46674, 'SRID=4674;POINT (-39.034286 -2.963932)', '2026-06-21 16:58:16', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963914)'), GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963932)'))) / (select extract(epoch from '2026-06-21 16:58:16'::timestamp) - extract(epoch from '2026-06-21 16:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.963914)'), GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963932)'))) / (select extract(epoch from '2026-06-21 16:58:16'::timestamp) - extract(epoch from '2026-06-21 16:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034277 -2.963935)', '2026-06-21 16:58:59', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963932)'), GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.963935)'))) / (select extract(epoch from '2026-06-21 16:58:59'::timestamp) - extract(epoch from '2026-06-21 16:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.963932)'), GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.963935)'))) / (select extract(epoch from '2026-06-21 16:58:59'::timestamp) - extract(epoch from '2026-06-21 16:58: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'), 46674, 'SRID=4674;POINT (-39.03428 -2.963931)', '2026-06-21 16:59:05', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.963935)'), GeomFromEWKT('SRID=4674;POINT (-39.03428 -2.963931)'))) / (select extract(epoch from '2026-06-21 16:59:05'::timestamp) - extract(epoch from '2026-06-21 16:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.963935)'), GeomFromEWKT('SRID=4674;POINT (-39.03428 -2.963931)'))) / (select extract(epoch from '2026-06-21 16:59:05'::timestamp) - extract(epoch from '2026-06-21 16:58: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'), 46674, 'SRID=4674;POINT (-39.034269 -2.963916)', '2026-06-21 16:59:51', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03428 -2.963931)'), GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.963916)'))) / (select extract(epoch from '2026-06-21 16:59:51'::timestamp) - extract(epoch from '2026-06-21 16:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03428 -2.963931)'), GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.963916)'))) / (select extract(epoch from '2026-06-21 16:59:51'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46674, 'SRID=4674;POINT (-39.034275 -2.963906)', '2026-06-21 17:00:29', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.963916)'), GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963906)'))) / (select extract(epoch from '2026-06-21 17:00:29'::timestamp) - extract(epoch from '2026-06-21 16:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.963916)'), GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963906)'))) / (select extract(epoch from '2026-06-21 17:00:29'::timestamp) - extract(epoch from '2026-06-21 16:59: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'), 46674, 'SRID=4674;POINT (-39.034278 -2.963906)', '2026-06-21 17:00:35', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963906)'), GeomFromEWKT('SRID=4674;POINT (-39.034278 -2.963906)'))) / (select extract(epoch from '2026-06-21 17:00:35'::timestamp) - extract(epoch from '2026-06-21 17:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034275 -2.963906)'), GeomFromEWKT('SRID=4674;POINT (-39.034278 -2.963906)'))) / (select extract(epoch from '2026-06-21 17:00:35'::timestamp) - extract(epoch from '2026-06-21 17:00:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034273 -2.963922)', '2026-06-21 17:00:53', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034278 -2.963906)'), GeomFromEWKT('SRID=4674;POINT (-39.034273 -2.963922)'))) / (select extract(epoch from '2026-06-21 17:00:53'::timestamp) - extract(epoch from '2026-06-21 17:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034278 -2.963906)'), GeomFromEWKT('SRID=4674;POINT (-39.034273 -2.963922)'))) / (select extract(epoch from '2026-06-21 17:00:53'::timestamp) - extract(epoch from '2026-06-21 17:00: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'), 46674, 'SRID=4674;POINT (-39.034291 -2.96396)', '2026-06-21 17:03:03', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034273 -2.963922)'), GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.96396)'))) / (select extract(epoch from '2026-06-21 17:03:03'::timestamp) - extract(epoch from '2026-06-21 17:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034273 -2.963922)'), GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.96396)'))) / (select extract(epoch from '2026-06-21 17:03:03'::timestamp) - extract(epoch from '2026-06-21 17:00: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'), 46674, 'SRID=4674;POINT (-39.034297 -2.96395)', '2026-06-21 17:03:09', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.96396)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96395)'))) / (select extract(epoch from '2026-06-21 17:03:09'::timestamp) - extract(epoch from '2026-06-21 17:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.96396)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96395)'))) / (select extract(epoch from '2026-06-21 17:03:09'::timestamp) - extract(epoch from '2026-06-21 17:03: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'), 46674, 'SRID=4674;POINT (-39.0343 -2.963953)', '2026-06-21 17:03:47', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96395)'), GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963953)'))) / (select extract(epoch from '2026-06-21 17:03:47'::timestamp) - extract(epoch from '2026-06-21 17:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96395)'), GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963953)'))) / (select extract(epoch from '2026-06-21 17:03:47'::timestamp) - extract(epoch from '2026-06-21 17:03: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'), 46674, 'SRID=4674;POINT (-39.034304 -2.963951)', '2026-06-21 17:03:54', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963953)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963951)'))) / (select extract(epoch from '2026-06-21 17:03:54'::timestamp) - extract(epoch from '2026-06-21 17:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963953)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963951)'))) / (select extract(epoch from '2026-06-21 17:03:54'::timestamp) - extract(epoch from '2026-06-21 17:03: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'), 46674, 'SRID=4674;POINT (-39.034281 -2.963942)', '2026-06-21 17:04:12', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963951)'), GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.963942)'))) / (select extract(epoch from '2026-06-21 17:04:12'::timestamp) - extract(epoch from '2026-06-21 17:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.963951)'), GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.963942)'))) / (select extract(epoch from '2026-06-21 17:04:12'::timestamp) - extract(epoch from '2026-06-21 17:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034279 -2.963935)', '2026-06-21 17:04:24', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.963942)'), GeomFromEWKT('SRID=4674;POINT (-39.034279 -2.963935)'))) / (select extract(epoch from '2026-06-21 17:04:24'::timestamp) - extract(epoch from '2026-06-21 17:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.963942)'), GeomFromEWKT('SRID=4674;POINT (-39.034279 -2.963935)'))) / (select extract(epoch from '2026-06-21 17:04:24'::timestamp) - extract(epoch from '2026-06-21 17:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034287 -2.963966)', '2026-06-21 17:05:09', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034279 -2.963935)'), GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.963966)'))) / (select extract(epoch from '2026-06-21 17:05:09'::timestamp) - extract(epoch from '2026-06-21 17:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034279 -2.963935)'), GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.963966)'))) / (select extract(epoch from '2026-06-21 17:05:09'::timestamp) - extract(epoch from '2026-06-21 17:04: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'), 46674, 'SRID=4674;POINT (-39.0343 -2.963967)', '2026-06-21 17:05:15', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.963966)'), GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963967)'))) / (select extract(epoch from '2026-06-21 17:05:15'::timestamp) - extract(epoch from '2026-06-21 17:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.963966)'), GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963967)'))) / (select extract(epoch from '2026-06-21 17:05:15'::timestamp) - extract(epoch from '2026-06-21 17:05:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034298 -2.963961)', '2026-06-21 17:05:27', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963967)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.963961)'))) / (select extract(epoch from '2026-06-21 17:05:27'::timestamp) - extract(epoch from '2026-06-21 17:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.963967)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.963961)'))) / (select extract(epoch from '2026-06-21 17:05:27'::timestamp) - extract(epoch from '2026-06-21 17:05: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'), 46674, 'SRID=4674;POINT (-39.034293 -2.963973)', '2026-06-21 17:06:05', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.963961)'), GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.963973)'))) / (select extract(epoch from '2026-06-21 17:06:05'::timestamp) - extract(epoch from '2026-06-21 17:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.963961)'), GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.963973)'))) / (select extract(epoch from '2026-06-21 17:06:05'::timestamp) - extract(epoch from '2026-06-21 17:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034303 -2.964001)', '2026-06-21 17:06:26', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.963973)'), GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964001)'))) / (select extract(epoch from '2026-06-21 17:06:26'::timestamp) - extract(epoch from '2026-06-21 17:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.963973)'), GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964001)'))) / (select extract(epoch from '2026-06-21 17:06:26'::timestamp) - extract(epoch from '2026-06-21 17:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034296 -2.96401)', '2026-06-21 17:06:55', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964001)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.96401)'))) / (select extract(epoch from '2026-06-21 17:06:55'::timestamp) - extract(epoch from '2026-06-21 17:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964001)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.96401)'))) / (select extract(epoch from '2026-06-21 17:06:55'::timestamp) - extract(epoch from '2026-06-21 17:06: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'), 46674, 'SRID=4674;POINT (-39.034281 -2.964026)', '2026-06-21 17:07:25', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.96401)'), GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964026)'))) / (select extract(epoch from '2026-06-21 17:07:25'::timestamp) - extract(epoch from '2026-06-21 17:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.96401)'), GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964026)'))) / (select extract(epoch from '2026-06-21 17:07:25'::timestamp) - extract(epoch from '2026-06-21 17:06:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034313 -2.964043)', '2026-06-21 17:08:00', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964026)'), GeomFromEWKT('SRID=4674;POINT (-39.034313 -2.964043)'))) / (select extract(epoch from '2026-06-21 17:08:00'::timestamp) - extract(epoch from '2026-06-21 17:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964026)'), GeomFromEWKT('SRID=4674;POINT (-39.034313 -2.964043)'))) / (select extract(epoch from '2026-06-21 17:08:00'::timestamp) - extract(epoch from '2026-06-21 17:07: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'), 46674, 'SRID=4674;POINT (-39.034296 -2.964037)', '2026-06-21 17:08:22', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034313 -2.964043)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964037)'))) / (select extract(epoch from '2026-06-21 17:08:22'::timestamp) - extract(epoch from '2026-06-21 17:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034313 -2.964043)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964037)'))) / (select extract(epoch from '2026-06-21 17:08:22'::timestamp) - extract(epoch from '2026-06-21 17: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'), 46674, 'SRID=4674;POINT (-39.034297 -2.96404)', '2026-06-21 17:08:35', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964037)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96404)'))) / (select extract(epoch from '2026-06-21 17:08:35'::timestamp) - extract(epoch from '2026-06-21 17:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964037)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96404)'))) / (select extract(epoch from '2026-06-21 17:08:35'::timestamp) - extract(epoch from '2026-06-21 17:08: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'), 46674, 'SRID=4674;POINT (-39.034293 -2.964049)', '2026-06-21 17:08:49', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96404)'), GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.964049)'))) / (select extract(epoch from '2026-06-21 17:08:49'::timestamp) - extract(epoch from '2026-06-21 17:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96404)'), GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.964049)'))) / (select extract(epoch from '2026-06-21 17:08:49'::timestamp) - extract(epoch from '2026-06-21 17:08: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'), 46674, 'SRID=4674;POINT (-39.034283 -2.964046)', '2026-06-21 17:08:56', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.964049)'), GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.964046)'))) / (select extract(epoch from '2026-06-21 17:08:56'::timestamp) - extract(epoch from '2026-06-21 17:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.964049)'), GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.964046)'))) / (select extract(epoch from '2026-06-21 17:08:56'::timestamp) - extract(epoch from '2026-06-21 17:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034313 -2.964086)', '2026-06-21 17:09:18', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.964046)'), GeomFromEWKT('SRID=4674;POINT (-39.034313 -2.964086)'))) / (select extract(epoch from '2026-06-21 17:09:18'::timestamp) - extract(epoch from '2026-06-21 17:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.964046)'), GeomFromEWKT('SRID=4674;POINT (-39.034313 -2.964086)'))) / (select extract(epoch from '2026-06-21 17:09:18'::timestamp) - extract(epoch from '2026-06-21 17:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034302 -2.964081)', '2026-06-21 17:09:35', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034313 -2.964086)'), GeomFromEWKT('SRID=4674;POINT (-39.034302 -2.964081)'))) / (select extract(epoch from '2026-06-21 17:09:35'::timestamp) - extract(epoch from '2026-06-21 17:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034313 -2.964086)'), GeomFromEWKT('SRID=4674;POINT (-39.034302 -2.964081)'))) / (select extract(epoch from '2026-06-21 17:09:35'::timestamp) - extract(epoch from '2026-06-21 17:09: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'), 46674, 'SRID=4674;POINT (-39.034312 -2.964083)', '2026-06-21 17:09:45', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034302 -2.964081)'), GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964083)'))) / (select extract(epoch from '2026-06-21 17:09:45'::timestamp) - extract(epoch from '2026-06-21 17:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034302 -2.964081)'), GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964083)'))) / (select extract(epoch from '2026-06-21 17:09:45'::timestamp) - extract(epoch from '2026-06-21 17:09: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'), 46674, 'SRID=4674;POINT (-39.034311 -2.964075)', '2026-06-21 17:11:04', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964083)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964075)'))) / (select extract(epoch from '2026-06-21 17:11:04'::timestamp) - extract(epoch from '2026-06-21 17:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964083)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964075)'))) / (select extract(epoch from '2026-06-21 17:11:04'::timestamp) - extract(epoch from '2026-06-21 17:09: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'), 46674, 'SRID=4674;POINT (-39.034307 -2.96407)', '2026-06-21 17:11:09', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964075)'), GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.96407)'))) / (select extract(epoch from '2026-06-21 17:11:09'::timestamp) - extract(epoch from '2026-06-21 17:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964075)'), GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.96407)'))) / (select extract(epoch from '2026-06-21 17:11:09'::timestamp) - extract(epoch from '2026-06-21 17: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'), 46674, 'SRID=4674;POINT (-39.034303 -2.964097)', '2026-06-21 17:11:39', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.96407)'), GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964097)'))) / (select extract(epoch from '2026-06-21 17:11:39'::timestamp) - extract(epoch from '2026-06-21 17:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.96407)'), GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964097)'))) / (select extract(epoch from '2026-06-21 17:11:39'::timestamp) - extract(epoch from '2026-06-21 17:11: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'), 46674, 'SRID=4674;POINT (-39.0343 -2.964106)', '2026-06-21 17:11:48', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964097)'), GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.964106)'))) / (select extract(epoch from '2026-06-21 17:11:48'::timestamp) - extract(epoch from '2026-06-21 17:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964097)'), GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.964106)'))) / (select extract(epoch from '2026-06-21 17:11:48'::timestamp) - extract(epoch from '2026-06-21 17:11: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'), 46674, 'SRID=4674;POINT (-39.034321 -2.964105)', '2026-06-21 17:12:31', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.964106)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964105)'))) / (select extract(epoch from '2026-06-21 17:12:31'::timestamp) - extract(epoch from '2026-06-21 17:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0343 -2.964106)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964105)'))) / (select extract(epoch from '2026-06-21 17:12:31'::timestamp) - extract(epoch from '2026-06-21 17:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034307 -2.964117)', '2026-06-21 17:13:44', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964105)'), GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964117)'))) / (select extract(epoch from '2026-06-21 17:13:44'::timestamp) - extract(epoch from '2026-06-21 17:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964105)'), GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964117)'))) / (select extract(epoch from '2026-06-21 17:13:44'::timestamp) - extract(epoch from '2026-06-21 17:12: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'), 46674, 'SRID=4674;POINT (-39.034312 -2.964121)', '2026-06-21 17:13:50', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964117)'), GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964121)'))) / (select extract(epoch from '2026-06-21 17:13:50'::timestamp) - extract(epoch from '2026-06-21 17:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964117)'), GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964121)'))) / (select extract(epoch from '2026-06-21 17:13:50'::timestamp) - extract(epoch from '2026-06-21 17:13: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'), 46674, 'SRID=4674;POINT (-39.034309 -2.964126)', '2026-06-21 17:14:07', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964121)'), GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964126)'))) / (select extract(epoch from '2026-06-21 17:14:07'::timestamp) - extract(epoch from '2026-06-21 17:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964121)'), GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964126)'))) / (select extract(epoch from '2026-06-21 17:14:07'::timestamp) - extract(epoch from '2026-06-21 17: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'), 46674, 'SRID=4674;POINT (-39.034307 -2.964122)', '2026-06-21 17:14:24', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964126)'), GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964122)'))) / (select extract(epoch from '2026-06-21 17:14:24'::timestamp) - extract(epoch from '2026-06-21 17:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964126)'), GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964122)'))) / (select extract(epoch from '2026-06-21 17:14:24'::timestamp) - extract(epoch from '2026-06-21 17:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034302 -2.964114)', '2026-06-21 17:14:38', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964122)'), GeomFromEWKT('SRID=4674;POINT (-39.034302 -2.964114)'))) / (select extract(epoch from '2026-06-21 17:14:38'::timestamp) - extract(epoch from '2026-06-21 17:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964122)'), GeomFromEWKT('SRID=4674;POINT (-39.034302 -2.964114)'))) / (select extract(epoch from '2026-06-21 17:14:38'::timestamp) - extract(epoch from '2026-06-21 17:14:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034304 -2.964118)', '2026-06-21 17:14:44', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034302 -2.964114)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.964118)'))) / (select extract(epoch from '2026-06-21 17:14:44'::timestamp) - extract(epoch from '2026-06-21 17:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034302 -2.964114)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.964118)'))) / (select extract(epoch from '2026-06-21 17:14:44'::timestamp) - extract(epoch from '2026-06-21 17:14: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'), 46674, 'SRID=4674;POINT (-39.034282 -2.964073)', '2026-06-21 17:15:30', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.964118)'), GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964073)'))) / (select extract(epoch from '2026-06-21 17:15:30'::timestamp) - extract(epoch from '2026-06-21 17:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.964118)'), GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964073)'))) / (select extract(epoch from '2026-06-21 17:15:30'::timestamp) - extract(epoch from '2026-06-21 17:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034304 -2.964084)', '2026-06-21 17:15:56', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964073)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.964084)'))) / (select extract(epoch from '2026-06-21 17:15:56'::timestamp) - extract(epoch from '2026-06-21 17:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964073)'), GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.964084)'))) / (select extract(epoch from '2026-06-21 17:15:56'::timestamp) - extract(epoch from '2026-06-21 17:15: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'), 46674, 'SRID=4674;POINT (-39.03429 -2.964075)', '2026-06-21 17:16:11', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.964084)'), GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.964075)'))) / (select extract(epoch from '2026-06-21 17:16:11'::timestamp) - extract(epoch from '2026-06-21 17:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034304 -2.964084)'), GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.964075)'))) / (select extract(epoch from '2026-06-21 17:16:11'::timestamp) - extract(epoch from '2026-06-21 17:15: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'), 46674, 'SRID=4674;POINT (-39.034305 -2.964075)', '2026-06-21 17:16:48', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.964075)'), GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964075)'))) / (select extract(epoch from '2026-06-21 17:16:48'::timestamp) - extract(epoch from '2026-06-21 17:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03429 -2.964075)'), GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964075)'))) / (select extract(epoch from '2026-06-21 17:16:48'::timestamp) - extract(epoch from '2026-06-21 17:16: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'), 46674, 'SRID=4674;POINT (-39.034305 -2.964075)', '2026-06-21 17:16:54', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964075)'), GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964075)'))) / (select extract(epoch from '2026-06-21 17:16:54'::timestamp) - extract(epoch from '2026-06-21 17:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964075)'), GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964075)'))) / (select extract(epoch from '2026-06-21 17:16:54'::timestamp) - extract(epoch from '2026-06-21 17:16: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'), 46674, 'SRID=4674;POINT (-39.034316 -2.964111)', '2026-06-21 17:17:19', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964075)'), GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.964111)'))) / (select extract(epoch from '2026-06-21 17:17:19'::timestamp) - extract(epoch from '2026-06-21 17:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964075)'), GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.964111)'))) / (select extract(epoch from '2026-06-21 17:17:19'::timestamp) - extract(epoch from '2026-06-21 17:16: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'), 46674, 'SRID=4674;POINT (-39.034311 -2.964145)', '2026-06-21 17:18:27', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.964111)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964145)'))) / (select extract(epoch from '2026-06-21 17:18:27'::timestamp) - extract(epoch from '2026-06-21 17:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.964111)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964145)'))) / (select extract(epoch from '2026-06-21 17:18:27'::timestamp) - extract(epoch from '2026-06-21 17: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'), 46674, 'SRID=4674;POINT (-39.034297 -2.964135)', '2026-06-21 17:19:01', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964145)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964135)'))) / (select extract(epoch from '2026-06-21 17:19:01'::timestamp) - extract(epoch from '2026-06-21 17:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964145)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964135)'))) / (select extract(epoch from '2026-06-21 17:19:01'::timestamp) - extract(epoch from '2026-06-21 17: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'), 46674, 'SRID=4674;POINT (-39.034298 -2.964138)', '2026-06-21 17:19:16', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964135)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.964138)'))) / (select extract(epoch from '2026-06-21 17:19:16'::timestamp) - extract(epoch from '2026-06-21 17:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964135)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.964138)'))) / (select extract(epoch from '2026-06-21 17:19:16'::timestamp) - extract(epoch from '2026-06-21 17:19: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'), 46674, 'SRID=4674;POINT (-39.034305 -2.964169)', '2026-06-21 17:20:46', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.964138)'), GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964169)'))) / (select extract(epoch from '2026-06-21 17:20:46'::timestamp) - extract(epoch from '2026-06-21 17:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.964138)'), GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964169)'))) / (select extract(epoch from '2026-06-21 17:20:46'::timestamp) - extract(epoch from '2026-06-21 17:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034327 -2.964153)', '2026-06-21 17:20:54', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964169)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964153)'))) / (select extract(epoch from '2026-06-21 17:20:54'::timestamp) - extract(epoch from '2026-06-21 17:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964169)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964153)'))) / (select extract(epoch from '2026-06-21 17:20:54'::timestamp) - extract(epoch from '2026-06-21 17:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034314 -2.964144)', '2026-06-21 17:21:21', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964153)'), GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964144)'))) / (select extract(epoch from '2026-06-21 17:21:21'::timestamp) - extract(epoch from '2026-06-21 17:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964153)'), GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964144)'))) / (select extract(epoch from '2026-06-21 17:21:21'::timestamp) - extract(epoch from '2026-06-21 17:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034297 -2.964138)', '2026-06-21 17:21:43', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964144)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964138)'))) / (select extract(epoch from '2026-06-21 17:21:43'::timestamp) - extract(epoch from '2026-06-21 17:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964144)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964138)'))) / (select extract(epoch from '2026-06-21 17:21:43'::timestamp) - extract(epoch from '2026-06-21 17:21: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'), 46674, 'SRID=4674;POINT (-39.034296 -2.964148)', '2026-06-21 17:21:52', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964138)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964148)'))) / (select extract(epoch from '2026-06-21 17:21:52'::timestamp) - extract(epoch from '2026-06-21 17:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.964138)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964148)'))) / (select extract(epoch from '2026-06-21 17:21:52'::timestamp) - extract(epoch from '2026-06-21 17:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034333 -2.964151)', '2026-06-21 17:22:08', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964148)'), GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964151)'))) / (select extract(epoch from '2026-06-21 17:22:08'::timestamp) - extract(epoch from '2026-06-21 17:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964148)'), GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964151)'))) / (select extract(epoch from '2026-06-21 17:22:08'::timestamp) - extract(epoch from '2026-06-21 17:21: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'), 46674, 'SRID=4674;POINT (-39.034346 -2.964145)', '2026-06-21 17:22:19', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964151)'), GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964145)'))) / (select extract(epoch from '2026-06-21 17:22:19'::timestamp) - extract(epoch from '2026-06-21 17:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964151)'), GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964145)'))) / (select extract(epoch from '2026-06-21 17:22:19'::timestamp) - extract(epoch from '2026-06-21 17:22: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'), 46674, 'SRID=4674;POINT (-39.034339 -2.964166)', '2026-06-21 17:22:31', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964145)'), GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964166)'))) / (select extract(epoch from '2026-06-21 17:22:31'::timestamp) - extract(epoch from '2026-06-21 17:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964145)'), GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964166)'))) / (select extract(epoch from '2026-06-21 17:22:31'::timestamp) - extract(epoch from '2026-06-21 17:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034333 -2.964171)', '2026-06-21 17:25:42', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964166)'), GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964171)'))) / (select extract(epoch from '2026-06-21 17:25:42'::timestamp) - extract(epoch from '2026-06-21 17:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964166)'), GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964171)'))) / (select extract(epoch from '2026-06-21 17:25:42'::timestamp) - extract(epoch from '2026-06-21 17:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034325 -2.964159)', '2026-06-21 17:26:39', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964171)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964159)'))) / (select extract(epoch from '2026-06-21 17:26:39'::timestamp) - extract(epoch from '2026-06-21 17:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964171)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964159)'))) / (select extract(epoch from '2026-06-21 17:26:39'::timestamp) - extract(epoch from '2026-06-21 17:25: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'), 46674, 'SRID=4674;POINT (-39.034307 -2.964186)', '2026-06-21 17:28:17', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964159)'), GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964186)'))) / (select extract(epoch from '2026-06-21 17:28:17'::timestamp) - extract(epoch from '2026-06-21 17:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964159)'), GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964186)'))) / (select extract(epoch from '2026-06-21 17:28:17'::timestamp) - extract(epoch from '2026-06-21 17: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'), 46674, 'SRID=4674;POINT (-39.034303 -2.964151)', '2026-06-21 17:29:01', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964186)'), GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964151)'))) / (select extract(epoch from '2026-06-21 17:29:01'::timestamp) - extract(epoch from '2026-06-21 17:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034307 -2.964186)'), GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964151)'))) / (select extract(epoch from '2026-06-21 17:29:01'::timestamp) - extract(epoch from '2026-06-21 17:28:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034282 -2.964141)', '2026-06-21 17:29:25', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964151)'), GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964141)'))) / (select extract(epoch from '2026-06-21 17:29:25'::timestamp) - extract(epoch from '2026-06-21 17:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.964151)'), GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964141)'))) / (select extract(epoch from '2026-06-21 17:29:25'::timestamp) - extract(epoch from '2026-06-21 17:29:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034287 -2.96414)', '2026-06-21 17:29:45', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964141)'), GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.96414)'))) / (select extract(epoch from '2026-06-21 17:29:45'::timestamp) - extract(epoch from '2026-06-21 17:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964141)'), GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.96414)'))) / (select extract(epoch from '2026-06-21 17:29:45'::timestamp) - extract(epoch from '2026-06-21 17:29: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'), 46674, 'SRID=4674;POINT (-39.034312 -2.964164)', '2026-06-21 17:31:02', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.96414)'), GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964164)'))) / (select extract(epoch from '2026-06-21 17:31:02'::timestamp) - extract(epoch from '2026-06-21 17:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034287 -2.96414)'), GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964164)'))) / (select extract(epoch from '2026-06-21 17:31:02'::timestamp) - extract(epoch from '2026-06-21 17:29: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'), 46674, 'SRID=4674;POINT (-39.034321 -2.964171)', '2026-06-21 17:31:22', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964164)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964171)'))) / (select extract(epoch from '2026-06-21 17:31:22'::timestamp) - extract(epoch from '2026-06-21 17:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964164)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964171)'))) / (select extract(epoch from '2026-06-21 17:31:22'::timestamp) - extract(epoch from '2026-06-21 17:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03432 -2.964176)', '2026-06-21 17:31:28', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964171)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964176)'))) / (select extract(epoch from '2026-06-21 17:31:28'::timestamp) - extract(epoch from '2026-06-21 17:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964171)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964176)'))) / (select extract(epoch from '2026-06-21 17:31:28'::timestamp) - extract(epoch from '2026-06-21 17:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034315 -2.96415)', '2026-06-21 17:36:08', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964176)'), GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.96415)'))) / (select extract(epoch from '2026-06-21 17:36:08'::timestamp) - extract(epoch from '2026-06-21 17:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964176)'), GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.96415)'))) / (select extract(epoch from '2026-06-21 17:36:08'::timestamp) - extract(epoch from '2026-06-21 17: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'), 46674, 'SRID=4674;POINT (-39.034334 -2.964135)', '2026-06-21 17:37:05', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.96415)'), GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964135)'))) / (select extract(epoch from '2026-06-21 17:37:05'::timestamp) - extract(epoch from '2026-06-21 17:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.96415)'), GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964135)'))) / (select extract(epoch from '2026-06-21 17:37:05'::timestamp) - extract(epoch from '2026-06-21 17:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034326 -2.964121)', '2026-06-21 17:37:27', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964135)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964121)'))) / (select extract(epoch from '2026-06-21 17:37:27'::timestamp) - extract(epoch from '2026-06-21 17:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964135)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964121)'))) / (select extract(epoch from '2026-06-21 17:37:27'::timestamp) - extract(epoch from '2026-06-21 17:37: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'), 46674, 'SRID=4674;POINT (-39.034324 -2.964134)', '2026-06-21 17:37:54', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964121)'), GeomFromEWKT('SRID=4674;POINT (-39.034324 -2.964134)'))) / (select extract(epoch from '2026-06-21 17:37:54'::timestamp) - extract(epoch from '2026-06-21 17:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964121)'), GeomFromEWKT('SRID=4674;POINT (-39.034324 -2.964134)'))) / (select extract(epoch from '2026-06-21 17:37:54'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034323 -2.964136)', '2026-06-21 17:38:00', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034324 -2.964134)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964136)'))) / (select extract(epoch from '2026-06-21 17:38:00'::timestamp) - extract(epoch from '2026-06-21 17:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034324 -2.964134)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964136)'))) / (select extract(epoch from '2026-06-21 17:38:00'::timestamp) - extract(epoch from '2026-06-21 17:37: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'), 46674, 'SRID=4674;POINT (-39.034308 -2.964132)', '2026-06-21 17:38:11', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964136)'), GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964132)'))) / (select extract(epoch from '2026-06-21 17:38:11'::timestamp) - extract(epoch from '2026-06-21 17:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964136)'), GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964132)'))) / (select extract(epoch from '2026-06-21 17:38:11'::timestamp) - extract(epoch from '2026-06-21 17:38:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034317 -2.964181)', '2026-06-21 17:39:39', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964132)'), GeomFromEWKT('SRID=4674;POINT (-39.034317 -2.964181)'))) / (select extract(epoch from '2026-06-21 17:39:39'::timestamp) - extract(epoch from '2026-06-21 17:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964132)'), GeomFromEWKT('SRID=4674;POINT (-39.034317 -2.964181)'))) / (select extract(epoch from '2026-06-21 17:39:39'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034312 -2.964182)', '2026-06-21 17:39:58', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034317 -2.964181)'), GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964182)'))) / (select extract(epoch from '2026-06-21 17:39:58'::timestamp) - extract(epoch from '2026-06-21 17:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034317 -2.964181)'), GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964182)'))) / (select extract(epoch from '2026-06-21 17:39:58'::timestamp) - extract(epoch from '2026-06-21 17:39: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'), 46674, 'SRID=4674;POINT (-39.034324 -2.964215)', '2026-06-21 17:40:57', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964182)'), GeomFromEWKT('SRID=4674;POINT (-39.034324 -2.964215)'))) / (select extract(epoch from '2026-06-21 17:40:57'::timestamp) - extract(epoch from '2026-06-21 17:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964182)'), GeomFromEWKT('SRID=4674;POINT (-39.034324 -2.964215)'))) / (select extract(epoch from '2026-06-21 17:40:57'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034332 -2.964191)', '2026-06-21 17:44:09', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034324 -2.964215)'), GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964191)'))) / (select extract(epoch from '2026-06-21 17:44:09'::timestamp) - extract(epoch from '2026-06-21 17:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034324 -2.964215)'), GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964191)'))) / (select extract(epoch from '2026-06-21 17:44:09'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.03432 -2.964199)', '2026-06-21 17:44:18', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964191)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964199)'))) / (select extract(epoch from '2026-06-21 17:44:18'::timestamp) - extract(epoch from '2026-06-21 17:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964191)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964199)'))) / (select extract(epoch from '2026-06-21 17:44:18'::timestamp) - extract(epoch from '2026-06-21 17:44: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'), 46674, 'SRID=4674;POINT (-39.034329 -2.964192)', '2026-06-21 17:44:43', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964199)'), GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964192)'))) / (select extract(epoch from '2026-06-21 17:44:43'::timestamp) - extract(epoch from '2026-06-21 17:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964199)'), GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964192)'))) / (select extract(epoch from '2026-06-21 17:44:43'::timestamp) - extract(epoch from '2026-06-21 17:44: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'), 46674, 'SRID=4674;POINT (-39.034339 -2.964201)', '2026-06-21 17:44:54', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964192)'), GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964201)'))) / (select extract(epoch from '2026-06-21 17:44:54'::timestamp) - extract(epoch from '2026-06-21 17:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964192)'), GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964201)'))) / (select extract(epoch from '2026-06-21 17:44:54'::timestamp) - extract(epoch from '2026-06-21 17:44: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'), 46674, 'SRID=4674;POINT (-39.034339 -2.964201)', '2026-06-21 17:45:13', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964201)'), GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964201)'))) / (select extract(epoch from '2026-06-21 17:45:13'::timestamp) - extract(epoch from '2026-06-21 17:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964201)'), GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964201)'))) / (select extract(epoch from '2026-06-21 17:45:13'::timestamp) - extract(epoch from '2026-06-21 17:44: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'), 46674, 'SRID=4674;POINT (-39.034321 -2.964236)', '2026-06-21 17:46:18', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964201)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964236)'))) / (select extract(epoch from '2026-06-21 17:46:18'::timestamp) - extract(epoch from '2026-06-21 17:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964201)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964236)'))) / (select extract(epoch from '2026-06-21 17:46:18'::timestamp) - extract(epoch from '2026-06-21 17:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034323 -2.96424)', '2026-06-21 17:46:20', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964236)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.96424)'))) / (select extract(epoch from '2026-06-21 17:46:20'::timestamp) - extract(epoch from '2026-06-21 17:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964236)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.96424)'))) / (select extract(epoch from '2026-06-21 17:46:20'::timestamp) - extract(epoch from '2026-06-21 17:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034325 -2.964252)', '2026-06-21 17:46:57', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.96424)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964252)'))) / (select extract(epoch from '2026-06-21 17:46:57'::timestamp) - extract(epoch from '2026-06-21 17:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.96424)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964252)'))) / (select extract(epoch from '2026-06-21 17:46:57'::timestamp) - extract(epoch from '2026-06-21 17:46: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'), 46674, 'SRID=4674;POINT (-39.034332 -2.964256)', '2026-06-21 17:47:08', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964252)'), GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964256)'))) / (select extract(epoch from '2026-06-21 17:47:08'::timestamp) - extract(epoch from '2026-06-21 17:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964252)'), GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964256)'))) / (select extract(epoch from '2026-06-21 17:47:08'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034314 -2.964274)', '2026-06-21 17:48:02', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964256)'), GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964274)'))) / (select extract(epoch from '2026-06-21 17:48:02'::timestamp) - extract(epoch from '2026-06-21 17:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964256)'), GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964274)'))) / (select extract(epoch from '2026-06-21 17:48:02'::timestamp) - extract(epoch from '2026-06-21 17:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034335 -2.964276)', '2026-06-21 17:49:08', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964274)'), GeomFromEWKT('SRID=4674;POINT (-39.034335 -2.964276)'))) / (select extract(epoch from '2026-06-21 17:49:08'::timestamp) - extract(epoch from '2026-06-21 17:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964274)'), GeomFromEWKT('SRID=4674;POINT (-39.034335 -2.964276)'))) / (select extract(epoch from '2026-06-21 17:49:08'::timestamp) - extract(epoch from '2026-06-21 17:48: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'), 46674, 'SRID=4674;POINT (-39.034319 -2.964285)', '2026-06-21 17:50:15', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034335 -2.964276)'), GeomFromEWKT('SRID=4674;POINT (-39.034319 -2.964285)'))) / (select extract(epoch from '2026-06-21 17:50:15'::timestamp) - extract(epoch from '2026-06-21 17:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034335 -2.964276)'), GeomFromEWKT('SRID=4674;POINT (-39.034319 -2.964285)'))) / (select extract(epoch from '2026-06-21 17:50:15'::timestamp) - extract(epoch from '2026-06-21 17:49: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'), 46674, 'SRID=4674;POINT (-39.034323 -2.964282)', '2026-06-21 17:50:28', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034319 -2.964285)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964282)'))) / (select extract(epoch from '2026-06-21 17:50:28'::timestamp) - extract(epoch from '2026-06-21 17:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034319 -2.964285)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964282)'))) / (select extract(epoch from '2026-06-21 17:50:28'::timestamp) - extract(epoch from '2026-06-21 17:50: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'), 46674, 'SRID=4674;POINT (-39.034321 -2.96429)', '2026-06-21 17:50:40', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964282)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.96429)'))) / (select extract(epoch from '2026-06-21 17:50:40'::timestamp) - extract(epoch from '2026-06-21 17:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964282)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.96429)'))) / (select extract(epoch from '2026-06-21 17:50:40'::timestamp) - extract(epoch from '2026-06-21 17:50: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'), 46674, 'SRID=4674;POINT (-39.034318 -2.964286)', '2026-06-21 17:51:03', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.96429)'), GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.964286)'))) / (select extract(epoch from '2026-06-21 17:51:03'::timestamp) - extract(epoch from '2026-06-21 17:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.96429)'), GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.964286)'))) / (select extract(epoch from '2026-06-21 17:51:03'::timestamp) - extract(epoch from '2026-06-21 17:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034311 -2.964284)', '2026-06-21 17:51:36', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.964286)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964284)'))) / (select extract(epoch from '2026-06-21 17:51:36'::timestamp) - extract(epoch from '2026-06-21 17:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.964286)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964284)'))) / (select extract(epoch from '2026-06-21 17:51:36'::timestamp) - extract(epoch from '2026-06-21 17:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034336 -2.964309)', '2026-06-21 17:53:02', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964284)'), GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.964309)'))) / (select extract(epoch from '2026-06-21 17:53:02'::timestamp) - extract(epoch from '2026-06-21 17:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964284)'), GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.964309)'))) / (select extract(epoch from '2026-06-21 17:53:02'::timestamp) - extract(epoch from '2026-06-21 17:51:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034334 -2.964326)', '2026-06-21 17:54:09', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.964309)'), GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964326)'))) / (select extract(epoch from '2026-06-21 17:54:09'::timestamp) - extract(epoch from '2026-06-21 17:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.964309)'), GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964326)'))) / (select extract(epoch from '2026-06-21 17:54:09'::timestamp) - extract(epoch from '2026-06-21 17:53: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'), 46674, 'SRID=4674;POINT (-39.03434 -2.964347)', '2026-06-21 17:55:54', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964326)'), GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964347)'))) / (select extract(epoch from '2026-06-21 17:55:54'::timestamp) - extract(epoch from '2026-06-21 17:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964326)'), GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964347)'))) / (select extract(epoch from '2026-06-21 17:55:54'::timestamp) - extract(epoch from '2026-06-21 17:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034322 -2.964323)', '2026-06-21 17:56:36', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964347)'), GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964323)'))) / (select extract(epoch from '2026-06-21 17:56:36'::timestamp) - extract(epoch from '2026-06-21 17:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964347)'), GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964323)'))) / (select extract(epoch from '2026-06-21 17:56:36'::timestamp) - extract(epoch from '2026-06-21 17:55: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'), 46674, 'SRID=4674;POINT (-39.034298 -2.964318)', '2026-06-21 17:56:47', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964323)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.964318)'))) / (select extract(epoch from '2026-06-21 17:56:47'::timestamp) - extract(epoch from '2026-06-21 17:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964323)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.964318)'))) / (select extract(epoch from '2026-06-21 17:56:47'::timestamp) - extract(epoch from '2026-06-21 17:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034299 -2.96431)', '2026-06-21 17:57:31', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.964318)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.96431)'))) / (select extract(epoch from '2026-06-21 17:57:31'::timestamp) - extract(epoch from '2026-06-21 17:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034298 -2.964318)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.96431)'))) / (select extract(epoch from '2026-06-21 17:57:31'::timestamp) - extract(epoch from '2026-06-21 17:56: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'), 46674, 'SRID=4674;POINT (-39.034296 -2.964304)', '2026-06-21 17:57:50', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.96431)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964304)'))) / (select extract(epoch from '2026-06-21 17:57:50'::timestamp) - extract(epoch from '2026-06-21 17:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.96431)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964304)'))) / (select extract(epoch from '2026-06-21 17:57:50'::timestamp) - extract(epoch from '2026-06-21 17:57:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034273 -2.964301)', '2026-06-21 17:57:57', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964304)'), GeomFromEWKT('SRID=4674;POINT (-39.034273 -2.964301)'))) / (select extract(epoch from '2026-06-21 17:57:57'::timestamp) - extract(epoch from '2026-06-21 17:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964304)'), GeomFromEWKT('SRID=4674;POINT (-39.034273 -2.964301)'))) / (select extract(epoch from '2026-06-21 17:57:57'::timestamp) - extract(epoch from '2026-06-21 17:57: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'), 46674, 'SRID=4674;POINT (-39.034267 -2.964299)', '2026-06-21 17:58:09', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034273 -2.964301)'), GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.964299)'))) / (select extract(epoch from '2026-06-21 17:58:09'::timestamp) - extract(epoch from '2026-06-21 17:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034273 -2.964301)'), GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.964299)'))) / (select extract(epoch from '2026-06-21 17:58:09'::timestamp) - extract(epoch from '2026-06-21 17:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034269 -2.96429)', '2026-06-21 17:59:25', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.964299)'), GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.96429)'))) / (select extract(epoch from '2026-06-21 17:59:25'::timestamp) - extract(epoch from '2026-06-21 17:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034267 -2.964299)'), GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.96429)'))) / (select extract(epoch from '2026-06-21 17:59:25'::timestamp) - extract(epoch from '2026-06-21 17:58: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'), 46674, 'SRID=4674;POINT (-39.034284 -2.964306)', '2026-06-21 18:00:38', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.96429)'), GeomFromEWKT('SRID=4674;POINT (-39.034284 -2.964306)'))) / (select extract(epoch from '2026-06-21 18:00:38'::timestamp) - extract(epoch from '2026-06-21 17:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034269 -2.96429)'), GeomFromEWKT('SRID=4674;POINT (-39.034284 -2.964306)'))) / (select extract(epoch from '2026-06-21 18:00:38'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034286 -2.964264)', '2026-06-21 18:01:20', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034284 -2.964306)'), GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.964264)'))) / (select extract(epoch from '2026-06-21 18:01:20'::timestamp) - extract(epoch from '2026-06-21 18:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034284 -2.964306)'), GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.964264)'))) / (select extract(epoch from '2026-06-21 18:01:20'::timestamp) - extract(epoch from '2026-06-21 18:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034303 -2.96427)', '2026-06-21 18:01:31', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.964264)'), GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.96427)'))) / (select extract(epoch from '2026-06-21 18:01:31'::timestamp) - extract(epoch from '2026-06-21 18:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034286 -2.964264)'), GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.96427)'))) / (select extract(epoch from '2026-06-21 18:01:31'::timestamp) - extract(epoch from '2026-06-21 18:01: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'), 46674, 'SRID=4674;POINT (-39.034322 -2.9643)', '2026-06-21 18:02:43', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.96427)'), GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.9643)'))) / (select extract(epoch from '2026-06-21 18:02:43'::timestamp) - extract(epoch from '2026-06-21 18:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034303 -2.96427)'), GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.9643)'))) / (select extract(epoch from '2026-06-21 18:02:43'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034323 -2.964289)', '2026-06-21 18:02:56', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.9643)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964289)'))) / (select extract(epoch from '2026-06-21 18:02:56'::timestamp) - extract(epoch from '2026-06-21 18:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.9643)'), GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964289)'))) / (select extract(epoch from '2026-06-21 18:02:56'::timestamp) - extract(epoch from '2026-06-21 18:02: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'), 46674, 'SRID=4674;POINT (-39.03432 -2.964285)', '2026-06-21 18:03:34', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964289)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964285)'))) / (select extract(epoch from '2026-06-21 18:03:34'::timestamp) - extract(epoch from '2026-06-21 18:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034323 -2.964289)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964285)'))) / (select extract(epoch from '2026-06-21 18:03:34'::timestamp) - extract(epoch from '2026-06-21 18:02: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'), 46674, 'SRID=4674;POINT (-39.034299 -2.964299)', '2026-06-21 18:04:22', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964285)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.964299)'))) / (select extract(epoch from '2026-06-21 18:04:22'::timestamp) - extract(epoch from '2026-06-21 18:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964285)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.964299)'))) / (select extract(epoch from '2026-06-21 18:04:22'::timestamp) - extract(epoch from '2026-06-21 18:03: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'), 46674, 'SRID=4674;POINT (-39.034309 -2.964292)', '2026-06-21 18:04:28', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.964299)'), GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964292)'))) / (select extract(epoch from '2026-06-21 18:04:28'::timestamp) - extract(epoch from '2026-06-21 18:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.964299)'), GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964292)'))) / (select extract(epoch from '2026-06-21 18:04:28'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034314 -2.964292)', '2026-06-21 18:04:34', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964292)'), GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964292)'))) / (select extract(epoch from '2026-06-21 18:04:34'::timestamp) - extract(epoch from '2026-06-21 18:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964292)'), GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964292)'))) / (select extract(epoch from '2026-06-21 18:04:34'::timestamp) - extract(epoch from '2026-06-21 18:04:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034329 -2.964299)', '2026-06-21 18:04:42', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964292)'), GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964299)'))) / (select extract(epoch from '2026-06-21 18:04:42'::timestamp) - extract(epoch from '2026-06-21 18:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964292)'), GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964299)'))) / (select extract(epoch from '2026-06-21 18:04:42'::timestamp) - extract(epoch from '2026-06-21 18:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03432 -2.964303)', '2026-06-21 18:04:56', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964299)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964303)'))) / (select extract(epoch from '2026-06-21 18:04:56'::timestamp) - extract(epoch from '2026-06-21 18:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964299)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964303)'))) / (select extract(epoch from '2026-06-21 18:04:56'::timestamp) - extract(epoch from '2026-06-21 18:04:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03432 -2.964337)', '2026-06-21 18:06:44', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964303)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964337)'))) / (select extract(epoch from '2026-06-21 18:06:44'::timestamp) - extract(epoch from '2026-06-21 18:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964303)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964337)'))) / (select extract(epoch from '2026-06-21 18:06:44'::timestamp) - extract(epoch from '2026-06-21 18:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034351 -2.964311)', '2026-06-21 18:07:27', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964337)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964311)'))) / (select extract(epoch from '2026-06-21 18:07:27'::timestamp) - extract(epoch from '2026-06-21 18:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964337)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964311)'))) / (select extract(epoch from '2026-06-21 18:07:27'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034345 -2.964299)', '2026-06-21 18:07:36', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964311)'), GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964299)'))) / (select extract(epoch from '2026-06-21 18:07:36'::timestamp) - extract(epoch from '2026-06-21 18:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964311)'), GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964299)'))) / (select extract(epoch from '2026-06-21 18:07:36'::timestamp) - extract(epoch from '2026-06-21 18:07: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'), 46674, 'SRID=4674;POINT (-39.034334 -2.964299)', '2026-06-21 18:07:41', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964299)'), GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964299)'))) / (select extract(epoch from '2026-06-21 18:07:41'::timestamp) - extract(epoch from '2026-06-21 18:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964299)'), GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964299)'))) / (select extract(epoch from '2026-06-21 18:07:41'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034322 -2.964298)', '2026-06-21 18:07:51', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964299)'), GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964298)'))) / (select extract(epoch from '2026-06-21 18:07:51'::timestamp) - extract(epoch from '2026-06-21 18:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.964299)'), GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964298)'))) / (select extract(epoch from '2026-06-21 18:07:51'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034336 -2.964317)', '2026-06-21 18:08:17', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964298)'), GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.964317)'))) / (select extract(epoch from '2026-06-21 18:08:17'::timestamp) - extract(epoch from '2026-06-21 18:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964298)'), GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.964317)'))) / (select extract(epoch from '2026-06-21 18:08:17'::timestamp) - extract(epoch from '2026-06-21 18:07: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'), 46674, 'SRID=4674;POINT (-39.034332 -2.964344)', '2026-06-21 18:09:24', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.964317)'), GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964344)'))) / (select extract(epoch from '2026-06-21 18:09:24'::timestamp) - extract(epoch from '2026-06-21 18:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.964317)'), GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964344)'))) / (select extract(epoch from '2026-06-21 18:09:24'::timestamp) - extract(epoch from '2026-06-21 18:08: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'), 46674, 'SRID=4674;POINT (-39.034306 -2.964332)', '2026-06-21 18:10:26', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964344)'), GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964332)'))) / (select extract(epoch from '2026-06-21 18:10:26'::timestamp) - extract(epoch from '2026-06-21 18:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034332 -2.964344)'), GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964332)'))) / (select extract(epoch from '2026-06-21 18:10:26'::timestamp) - extract(epoch from '2026-06-21 18:09: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'), 46674, 'SRID=4674;POINT (-39.034308 -2.964336)', '2026-06-21 18:11:20', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964332)'), GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964336)'))) / (select extract(epoch from '2026-06-21 18:11:20'::timestamp) - extract(epoch from '2026-06-21 18:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964332)'), GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964336)'))) / (select extract(epoch from '2026-06-21 18:11:20'::timestamp) - extract(epoch from '2026-06-21 18:10: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'), 46674, 'SRID=4674;POINT (-39.03427 -2.96435)', '2026-06-21 18:12:55', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964336)'), GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.96435)'))) / (select extract(epoch from '2026-06-21 18:12:55'::timestamp) - extract(epoch from '2026-06-21 18:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964336)'), GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.96435)'))) / (select extract(epoch from '2026-06-21 18:12:55'::timestamp) - extract(epoch from '2026-06-21 18:11: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'), 46674, 'SRID=4674;POINT (-39.034277 -2.964349)', '2026-06-21 18:13:21', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.96435)'), GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.964349)'))) / (select extract(epoch from '2026-06-21 18:13:21'::timestamp) - extract(epoch from '2026-06-21 18:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03427 -2.96435)'), GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.964349)'))) / (select extract(epoch from '2026-06-21 18:13:21'::timestamp) - extract(epoch from '2026-06-21 18:12: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'), 46674, 'SRID=4674;POINT (-39.034296 -2.964352)', '2026-06-21 18:13:48', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.964349)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964352)'))) / (select extract(epoch from '2026-06-21 18:13:48'::timestamp) - extract(epoch from '2026-06-21 18:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034277 -2.964349)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964352)'))) / (select extract(epoch from '2026-06-21 18:13:48'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034291 -2.964365)', '2026-06-21 18:13:59', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964352)'), GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.964365)'))) / (select extract(epoch from '2026-06-21 18:13:59'::timestamp) - extract(epoch from '2026-06-21 18:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964352)'), GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.964365)'))) / (select extract(epoch from '2026-06-21 18:13:59'::timestamp) - extract(epoch from '2026-06-21 18:13: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'), 46674, 'SRID=4674;POINT (-39.034289 -2.964369)', '2026-06-21 18:14:42', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.964365)'), GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.964369)'))) / (select extract(epoch from '2026-06-21 18:14:42'::timestamp) - extract(epoch from '2026-06-21 18:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.964365)'), GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.964369)'))) / (select extract(epoch from '2026-06-21 18:14:42'::timestamp) - extract(epoch from '2026-06-21 18:13: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'), 46674, 'SRID=4674;POINT (-39.034281 -2.964374)', '2026-06-21 18:15:01', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.964369)'), GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964374)'))) / (select extract(epoch from '2026-06-21 18:15:01'::timestamp) - extract(epoch from '2026-06-21 18:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034289 -2.964369)'), GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964374)'))) / (select extract(epoch from '2026-06-21 18:15:01'::timestamp) - extract(epoch from '2026-06-21 18:14: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'), 46674, 'SRID=4674;POINT (-39.034301 -2.964382)', '2026-06-21 18:17:25', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964374)'), GeomFromEWKT('SRID=4674;POINT (-39.034301 -2.964382)'))) / (select extract(epoch from '2026-06-21 18:17:25'::timestamp) - extract(epoch from '2026-06-21 18:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964374)'), GeomFromEWKT('SRID=4674;POINT (-39.034301 -2.964382)'))) / (select extract(epoch from '2026-06-21 18:17:25'::timestamp) - extract(epoch from '2026-06-21 18:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034296 -2.964389)', '2026-06-21 18:18:38', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034301 -2.964382)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964389)'))) / (select extract(epoch from '2026-06-21 18:18:38'::timestamp) - extract(epoch from '2026-06-21 18:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034301 -2.964382)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964389)'))) / (select extract(epoch from '2026-06-21 18:18:38'::timestamp) - extract(epoch from '2026-06-21 18:17: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'), 46674, 'SRID=4674;POINT (-39.034282 -2.964397)', '2026-06-21 18:18:47', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964389)'), GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964397)'))) / (select extract(epoch from '2026-06-21 18:18:47'::timestamp) - extract(epoch from '2026-06-21 18:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964389)'), GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964397)'))) / (select extract(epoch from '2026-06-21 18:18:47'::timestamp) - extract(epoch from '2026-06-21 18:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034295 -2.964366)', '2026-06-21 18:19:16', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964397)'), GeomFromEWKT('SRID=4674;POINT (-39.034295 -2.964366)'))) / (select extract(epoch from '2026-06-21 18:19:16'::timestamp) - extract(epoch from '2026-06-21 18:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034282 -2.964397)'), GeomFromEWKT('SRID=4674;POINT (-39.034295 -2.964366)'))) / (select extract(epoch from '2026-06-21 18:19:16'::timestamp) - extract(epoch from '2026-06-21 18:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034281 -2.964373)', '2026-06-21 18:19:26', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034295 -2.964366)'), GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964373)'))) / (select extract(epoch from '2026-06-21 18:19:26'::timestamp) - extract(epoch from '2026-06-21 18:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034295 -2.964366)'), GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964373)'))) / (select extract(epoch from '2026-06-21 18:19:26'::timestamp) - extract(epoch from '2026-06-21 18:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034283 -2.964376)', '2026-06-21 18:19:35', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964373)'), GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.964376)'))) / (select extract(epoch from '2026-06-21 18:19:35'::timestamp) - extract(epoch from '2026-06-21 18:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034281 -2.964373)'), GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.964376)'))) / (select extract(epoch from '2026-06-21 18:19:35'::timestamp) - extract(epoch from '2026-06-21 18:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03433 -2.964378)', '2026-06-21 18:20:27', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.964376)'), GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.964378)'))) / (select extract(epoch from '2026-06-21 18:20:27'::timestamp) - extract(epoch from '2026-06-21 18:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034283 -2.964376)'), GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.964378)'))) / (select extract(epoch from '2026-06-21 18:20:27'::timestamp) - extract(epoch from '2026-06-21 18:19:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034322 -2.96438)', '2026-06-21 18:20:37', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.964378)'), GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.96438)'))) / (select extract(epoch from '2026-06-21 18:20:37'::timestamp) - extract(epoch from '2026-06-21 18:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.964378)'), GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.96438)'))) / (select extract(epoch from '2026-06-21 18:20:37'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034297 -2.96437)', '2026-06-21 18:20:52', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.96438)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96437)'))) / (select extract(epoch from '2026-06-21 18:20:52'::timestamp) - extract(epoch from '2026-06-21 18:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.96438)'), GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96437)'))) / (select extract(epoch from '2026-06-21 18:20:52'::timestamp) - extract(epoch from '2026-06-21 18:20: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'), 46674, 'SRID=4674;POINT (-39.034285 -2.964367)', '2026-06-21 18:21:07', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96437)'), GeomFromEWKT('SRID=4674;POINT (-39.034285 -2.964367)'))) / (select extract(epoch from '2026-06-21 18:21:07'::timestamp) - extract(epoch from '2026-06-21 18:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034297 -2.96437)'), GeomFromEWKT('SRID=4674;POINT (-39.034285 -2.964367)'))) / (select extract(epoch from '2026-06-21 18:21:07'::timestamp) - extract(epoch from '2026-06-21 18:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034306 -2.964356)', '2026-06-21 18:21:25', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034285 -2.964367)'), GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964356)'))) / (select extract(epoch from '2026-06-21 18:21:25'::timestamp) - extract(epoch from '2026-06-21 18:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034285 -2.964367)'), GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964356)'))) / (select extract(epoch from '2026-06-21 18:21:25'::timestamp) - extract(epoch from '2026-06-21 18:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034306 -2.964352)', '2026-06-21 18:21:47', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964356)'), GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964352)'))) / (select extract(epoch from '2026-06-21 18:21:47'::timestamp) - extract(epoch from '2026-06-21 18:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964356)'), GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964352)'))) / (select extract(epoch from '2026-06-21 18:21:47'::timestamp) - extract(epoch from '2026-06-21 18:21: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'), 46674, 'SRID=4674;POINT (-39.03432 -2.964375)', '2026-06-21 18:22:57', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964352)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964375)'))) / (select extract(epoch from '2026-06-21 18:22:57'::timestamp) - extract(epoch from '2026-06-21 18:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034306 -2.964352)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964375)'))) / (select extract(epoch from '2026-06-21 18:22:57'::timestamp) - extract(epoch from '2026-06-21 18:21: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'), 46674, 'SRID=4674;POINT (-39.034312 -2.964377)', '2026-06-21 18:23:00', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964375)'), GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964377)'))) / (select extract(epoch from '2026-06-21 18:23:00'::timestamp) - extract(epoch from '2026-06-21 18:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964375)'), GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964377)'))) / (select extract(epoch from '2026-06-21 18:23:00'::timestamp) - extract(epoch from '2026-06-21 18:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034296 -2.964391)', '2026-06-21 18:23:28', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964377)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964391)'))) / (select extract(epoch from '2026-06-21 18:23:28'::timestamp) - extract(epoch from '2026-06-21 18:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034312 -2.964377)'), GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964391)'))) / (select extract(epoch from '2026-06-21 18:23:28'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034308 -2.964394)', '2026-06-21 18:23:36', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964391)'), GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964394)'))) / (select extract(epoch from '2026-06-21 18:23:36'::timestamp) - extract(epoch from '2026-06-21 18:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034296 -2.964391)'), GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964394)'))) / (select extract(epoch from '2026-06-21 18:23:36'::timestamp) - extract(epoch from '2026-06-21 18:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034293 -2.964412)', '2026-06-21 18:24:58', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964394)'), GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.964412)'))) / (select extract(epoch from '2026-06-21 18:24:58'::timestamp) - extract(epoch from '2026-06-21 18:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034308 -2.964394)'), GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.964412)'))) / (select extract(epoch from '2026-06-21 18:24:58'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034305 -2.964418)', '2026-06-21 18:25:13', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.964412)'), GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964418)'))) / (select extract(epoch from '2026-06-21 18:25:13'::timestamp) - extract(epoch from '2026-06-21 18:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034293 -2.964412)'), GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964418)'))) / (select extract(epoch from '2026-06-21 18:25:13'::timestamp) - extract(epoch from '2026-06-21 18:24: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'), 46674, 'SRID=4674;POINT (-39.034299 -2.964421)', '2026-06-21 18:25:24', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964418)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.964421)'))) / (select extract(epoch from '2026-06-21 18:25:24'::timestamp) - extract(epoch from '2026-06-21 18:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.964418)'), GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.964421)'))) / (select extract(epoch from '2026-06-21 18:25:24'::timestamp) - extract(epoch from '2026-06-21 18:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034291 -2.964402)', '2026-06-21 18:27:25', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.964421)'), GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.964402)'))) / (select extract(epoch from '2026-06-21 18:27:25'::timestamp) - extract(epoch from '2026-06-21 18:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034299 -2.964421)'), GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.964402)'))) / (select extract(epoch from '2026-06-21 18:27:25'::timestamp) - extract(epoch from '2026-06-21 18:25: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'), 46674, 'SRID=4674;POINT (-39.034311 -2.964411)', '2026-06-21 18:28:09', 31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.964402)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964411)'))) / (select extract(epoch from '2026-06-21 18:28:09'::timestamp) - extract(epoch from '2026-06-21 18:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034291 -2.964402)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964411)'))) / (select extract(epoch from '2026-06-21 18:28:09'::timestamp) - extract(epoch from '2026-06-21 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'), 46674, 'SRID=4674;POINT (-39.034329 -2.964424)', '2026-06-21 18:29:38', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964411)'), GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964424)'))) / (select extract(epoch from '2026-06-21 18:29:38'::timestamp) - extract(epoch from '2026-06-21 18:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964411)'), GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964424)'))) / (select extract(epoch from '2026-06-21 18:29:38'::timestamp) - extract(epoch from '2026-06-21 18:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034321 -2.964426)', '2026-06-21 18:30:12', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964424)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964426)'))) / (select extract(epoch from '2026-06-21 18:30:12'::timestamp) - extract(epoch from '2026-06-21 18:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964424)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964426)'))) / (select extract(epoch from '2026-06-21 18:30:12'::timestamp) - extract(epoch from '2026-06-21 18:29: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'), 46674, 'SRID=4674;POINT (-39.034326 -2.964446)', '2026-06-21 18:31:23', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964426)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964446)'))) / (select extract(epoch from '2026-06-21 18:31:23'::timestamp) - extract(epoch from '2026-06-21 18:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964426)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964446)'))) / (select extract(epoch from '2026-06-21 18:31:23'::timestamp) - extract(epoch from '2026-06-21 18:30: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'), 46674, 'SRID=4674;POINT (-39.034314 -2.964449)', '2026-06-21 18:31:30', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964446)'), GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964449)'))) / (select extract(epoch from '2026-06-21 18:31:30'::timestamp) - extract(epoch from '2026-06-21 18:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964446)'), GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964449)'))) / (select extract(epoch from '2026-06-21 18:31:30'::timestamp) - extract(epoch from '2026-06-21 18: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'), 46674, 'SRID=4674;POINT (-39.034337 -2.964451)', '2026-06-21 18:31:44', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964449)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964451)'))) / (select extract(epoch from '2026-06-21 18:31:44'::timestamp) - extract(epoch from '2026-06-21 18:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034314 -2.964449)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964451)'))) / (select extract(epoch from '2026-06-21 18:31:44'::timestamp) - extract(epoch from '2026-06-21 18: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'), 46674, 'SRID=4674;POINT (-39.034344 -2.964458)', '2026-06-21 18:32:55', 32.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964451)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964458)'))) / (select extract(epoch from '2026-06-21 18:32:55'::timestamp) - extract(epoch from '2026-06-21 18:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964451)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964458)'))) / (select extract(epoch from '2026-06-21 18:32:55'::timestamp) - extract(epoch from '2026-06-21 18:31: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'), 46674, 'SRID=4674;POINT (-39.034345 -2.964456)', '2026-06-21 18:33:05', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964458)'), GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964456)'))) / (select extract(epoch from '2026-06-21 18:33:05'::timestamp) - extract(epoch from '2026-06-21 18:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964458)'), GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964456)'))) / (select extract(epoch from '2026-06-21 18:33:05'::timestamp) - extract(epoch from '2026-06-21 18:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034321 -2.964466)', '2026-06-21 18:36:23', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964456)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964466)'))) / (select extract(epoch from '2026-06-21 18:36:23'::timestamp) - extract(epoch from '2026-06-21 18:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964456)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964466)'))) / (select extract(epoch from '2026-06-21 18:36:23'::timestamp) - extract(epoch from '2026-06-21 18:33: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'), 46674, 'SRID=4674;POINT (-39.034315 -2.964464)', '2026-06-21 18:36:38', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964466)'), GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964464)'))) / (select extract(epoch from '2026-06-21 18:36:38'::timestamp) - extract(epoch from '2026-06-21 18:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964466)'), GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964464)'))) / (select extract(epoch from '2026-06-21 18:36:38'::timestamp) - extract(epoch from '2026-06-21 18:36: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'), 46674, 'SRID=4674;POINT (-39.034305 -2.96446)', '2026-06-21 18:37:18', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964464)'), GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.96446)'))) / (select extract(epoch from '2026-06-21 18:37:18'::timestamp) - extract(epoch from '2026-06-21 18:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964464)'), GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.96446)'))) / (select extract(epoch from '2026-06-21 18:37:18'::timestamp) - extract(epoch from '2026-06-21 18:36: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'), 46674, 'SRID=4674;POINT (-39.034325 -2.964463)', '2026-06-21 18:37:50', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.96446)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964463)'))) / (select extract(epoch from '2026-06-21 18:37:50'::timestamp) - extract(epoch from '2026-06-21 18:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034305 -2.96446)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964463)'))) / (select extract(epoch from '2026-06-21 18:37:50'::timestamp) - extract(epoch from '2026-06-21 18:37: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'), 46674, 'SRID=4674;POINT (-39.034326 -2.964441)', '2026-06-21 18:38:30', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964463)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964441)'))) / (select extract(epoch from '2026-06-21 18:38:30'::timestamp) - extract(epoch from '2026-06-21 18:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964463)'), GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964441)'))) / (select extract(epoch from '2026-06-21 18:38:30'::timestamp) - extract(epoch from '2026-06-21 18:37: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'), 46674, 'SRID=4674;POINT (-39.034318 -2.964445)', '2026-06-21 18:38:54', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964441)'), GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.964445)'))) / (select extract(epoch from '2026-06-21 18:38:54'::timestamp) - extract(epoch from '2026-06-21 18:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034326 -2.964441)'), GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.964445)'))) / (select extract(epoch from '2026-06-21 18:38:54'::timestamp) - extract(epoch from '2026-06-21 18: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'), 46674, 'SRID=4674;POINT (-39.034309 -2.964454)', '2026-06-21 18:39:35', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.964445)'), GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964454)'))) / (select extract(epoch from '2026-06-21 18:39:35'::timestamp) - extract(epoch from '2026-06-21 18:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034318 -2.964445)'), GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964454)'))) / (select extract(epoch from '2026-06-21 18:39:35'::timestamp) - extract(epoch from '2026-06-21 18:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03432 -2.964488)', '2026-06-21 18:40:32', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964454)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964488)'))) / (select extract(epoch from '2026-06-21 18:40:32'::timestamp) - extract(epoch from '2026-06-21 18:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034309 -2.964454)'), GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964488)'))) / (select extract(epoch from '2026-06-21 18:40:32'::timestamp) - extract(epoch from '2026-06-21 18:39: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'), 46674, 'SRID=4674;POINT (-39.034315 -2.964501)', '2026-06-21 18:40:43', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964488)'), GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964501)'))) / (select extract(epoch from '2026-06-21 18:40:43'::timestamp) - extract(epoch from '2026-06-21 18:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03432 -2.964488)'), GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964501)'))) / (select extract(epoch from '2026-06-21 18:40:43'::timestamp) - extract(epoch from '2026-06-21 18:40:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034348 -2.964539)', '2026-06-21 18:42:06', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964501)'), GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.964539)'))) / (select extract(epoch from '2026-06-21 18:42:06'::timestamp) - extract(epoch from '2026-06-21 18:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964501)'), GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.964539)'))) / (select extract(epoch from '2026-06-21 18:42:06'::timestamp) - extract(epoch from '2026-06-21 18: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'), 46674, 'SRID=4674;POINT (-39.034335 -2.964511)', '2026-06-21 18:42:59', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.964539)'), GeomFromEWKT('SRID=4674;POINT (-39.034335 -2.964511)'))) / (select extract(epoch from '2026-06-21 18:42:59'::timestamp) - extract(epoch from '2026-06-21 18:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.964539)'), GeomFromEWKT('SRID=4674;POINT (-39.034335 -2.964511)'))) / (select extract(epoch from '2026-06-21 18:42:59'::timestamp) - extract(epoch from '2026-06-21 18:42:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03433 -2.96451)', '2026-06-21 18:43:08', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034335 -2.964511)'), GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.96451)'))) / (select extract(epoch from '2026-06-21 18:43:08'::timestamp) - extract(epoch from '2026-06-21 18:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034335 -2.964511)'), GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.96451)'))) / (select extract(epoch from '2026-06-21 18:43:08'::timestamp) - extract(epoch from '2026-06-21 18: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'), 46674, 'SRID=4674;POINT (-39.034334 -2.96453)', '2026-06-21 18:43:28', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.96451)'), GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.96453)'))) / (select extract(epoch from '2026-06-21 18:43:28'::timestamp) - extract(epoch from '2026-06-21 18:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03433 -2.96451)'), GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.96453)'))) / (select extract(epoch from '2026-06-21 18:43:28'::timestamp) - extract(epoch from '2026-06-21 18: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'), 46674, 'SRID=4674;POINT (-39.034327 -2.964521)', '2026-06-21 18:44:59', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.96453)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964521)'))) / (select extract(epoch from '2026-06-21 18:44:59'::timestamp) - extract(epoch from '2026-06-21 18:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034334 -2.96453)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964521)'))) / (select extract(epoch from '2026-06-21 18:44:59'::timestamp) - extract(epoch from '2026-06-21 18:43: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'), 46674, 'SRID=4674;POINT (-39.034342 -2.96452)', '2026-06-21 18:45:00', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964521)'), GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.96452)'))) / (select extract(epoch from '2026-06-21 18:45:00'::timestamp) - extract(epoch from '2026-06-21 18:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964521)'), GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.96452)'))) / (select extract(epoch from '2026-06-21 18:45:00'::timestamp) - extract(epoch from '2026-06-21 18:44: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'), 46674, 'SRID=4674;POINT (-39.034362 -2.964523)', '2026-06-21 18:45:05', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.96452)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964523)'))) / (select extract(epoch from '2026-06-21 18:45:05'::timestamp) - extract(epoch from '2026-06-21 18:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.96452)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964523)'))) / (select extract(epoch from '2026-06-21 18:45:05'::timestamp) - extract(epoch from '2026-06-21 18:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034369 -2.964556)', '2026-06-21 18:45:53', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964523)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964556)'))) / (select extract(epoch from '2026-06-21 18:45:53'::timestamp) - extract(epoch from '2026-06-21 18:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964523)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964556)'))) / (select extract(epoch from '2026-06-21 18:45:53'::timestamp) - extract(epoch from '2026-06-21 18:45: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'), 46674, 'SRID=4674;POINT (-39.034366 -2.96452)', '2026-06-21 18:47:25', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964556)'), GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.96452)'))) / (select extract(epoch from '2026-06-21 18:47:25'::timestamp) - extract(epoch from '2026-06-21 18:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964556)'), GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.96452)'))) / (select extract(epoch from '2026-06-21 18:47:25'::timestamp) - extract(epoch from '2026-06-21 18:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034352 -2.964538)', '2026-06-21 18:47:57', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.96452)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964538)'))) / (select extract(epoch from '2026-06-21 18:47:57'::timestamp) - extract(epoch from '2026-06-21 18:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.96452)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964538)'))) / (select extract(epoch from '2026-06-21 18:47:57'::timestamp) - extract(epoch from '2026-06-21 18:47: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'), 46674, 'SRID=4674;POINT (-39.034355 -2.964537)', '2026-06-21 18:48:25', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964538)'), GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964537)'))) / (select extract(epoch from '2026-06-21 18:48:25'::timestamp) - extract(epoch from '2026-06-21 18:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964538)'), GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964537)'))) / (select extract(epoch from '2026-06-21 18:48:25'::timestamp) - extract(epoch from '2026-06-21 18:47:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034356 -2.96456)', '2026-06-21 18:48:41', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964537)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.96456)'))) / (select extract(epoch from '2026-06-21 18:48:41'::timestamp) - extract(epoch from '2026-06-21 18:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964537)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.96456)'))) / (select extract(epoch from '2026-06-21 18:48:41'::timestamp) - extract(epoch from '2026-06-21 18:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034349 -2.964559)', '2026-06-21 18:48:54', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.96456)'), GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964559)'))) / (select extract(epoch from '2026-06-21 18:48:54'::timestamp) - extract(epoch from '2026-06-21 18:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.96456)'), GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964559)'))) / (select extract(epoch from '2026-06-21 18:48:54'::timestamp) - extract(epoch from '2026-06-21 18:48:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034351 -2.964546)', '2026-06-21 18:50:36', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964559)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964546)'))) / (select extract(epoch from '2026-06-21 18:50:36'::timestamp) - extract(epoch from '2026-06-21 18:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964559)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964546)'))) / (select extract(epoch from '2026-06-21 18:50:36'::timestamp) - extract(epoch from '2026-06-21 18:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034358 -2.964544)', '2026-06-21 18:50:42', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964546)'), GeomFromEWKT('SRID=4674;POINT (-39.034358 -2.964544)'))) / (select extract(epoch from '2026-06-21 18:50:42'::timestamp) - extract(epoch from '2026-06-21 18:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964546)'), GeomFromEWKT('SRID=4674;POINT (-39.034358 -2.964544)'))) / (select extract(epoch from '2026-06-21 18:50:42'::timestamp) - extract(epoch from '2026-06-21 18: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'), 46674, 'SRID=4674;POINT (-39.034351 -2.96455)', '2026-06-21 18:51:04', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034358 -2.964544)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.96455)'))) / (select extract(epoch from '2026-06-21 18:51:04'::timestamp) - extract(epoch from '2026-06-21 18:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034358 -2.964544)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.96455)'))) / (select extract(epoch from '2026-06-21 18:51:04'::timestamp) - extract(epoch from '2026-06-21 18:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034359 -2.964558)', '2026-06-21 18:51:10', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.96455)'), GeomFromEWKT('SRID=4674;POINT (-39.034359 -2.964558)'))) / (select extract(epoch from '2026-06-21 18:51:10'::timestamp) - extract(epoch from '2026-06-21 18:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.96455)'), GeomFromEWKT('SRID=4674;POINT (-39.034359 -2.964558)'))) / (select extract(epoch from '2026-06-21 18:51:10'::timestamp) - extract(epoch from '2026-06-21 18:51: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'), 46674, 'SRID=4674;POINT (-39.034352 -2.96457)', '2026-06-21 18:51:17', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034359 -2.964558)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.96457)'))) / (select extract(epoch from '2026-06-21 18:51:17'::timestamp) - extract(epoch from '2026-06-21 18:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034359 -2.964558)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.96457)'))) / (select extract(epoch from '2026-06-21 18:51:17'::timestamp) - extract(epoch from '2026-06-21 18:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034364 -2.964567)', '2026-06-21 18:51:21', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.96457)'), GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964567)'))) / (select extract(epoch from '2026-06-21 18:51:21'::timestamp) - extract(epoch from '2026-06-21 18:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.96457)'), GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964567)'))) / (select extract(epoch from '2026-06-21 18:51:21'::timestamp) - extract(epoch from '2026-06-21 18:51: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'), 46674, 'SRID=4674;POINT (-39.034327 -2.964547)', '2026-06-21 18:52:08', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964567)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964547)'))) / (select extract(epoch from '2026-06-21 18:52:08'::timestamp) - extract(epoch from '2026-06-21 18:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964567)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964547)'))) / (select extract(epoch from '2026-06-21 18:52:08'::timestamp) - extract(epoch from '2026-06-21 18:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034354 -2.964562)', '2026-06-21 18:52:32', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964547)'), GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964562)'))) / (select extract(epoch from '2026-06-21 18:52:32'::timestamp) - extract(epoch from '2026-06-21 18:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964547)'), GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964562)'))) / (select extract(epoch from '2026-06-21 18:52:32'::timestamp) - extract(epoch from '2026-06-21 18: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'), 46674, 'SRID=4674;POINT (-39.034363 -2.96456)', '2026-06-21 18:52:44', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964562)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.96456)'))) / (select extract(epoch from '2026-06-21 18:52:44'::timestamp) - extract(epoch from '2026-06-21 18:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964562)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.96456)'))) / (select extract(epoch from '2026-06-21 18:52:44'::timestamp) - extract(epoch from '2026-06-21 18:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034345 -2.96454)', '2026-06-21 18:52:54', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.96456)'), GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.96454)'))) / (select extract(epoch from '2026-06-21 18:52:54'::timestamp) - extract(epoch from '2026-06-21 18:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.96456)'), GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.96454)'))) / (select extract(epoch from '2026-06-21 18:52:54'::timestamp) - extract(epoch from '2026-06-21 18:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034336 -2.96454)', '2026-06-21 18:53:03', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.96454)'), GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.96454)'))) / (select extract(epoch from '2026-06-21 18:53:03'::timestamp) - extract(epoch from '2026-06-21 18:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.96454)'), GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.96454)'))) / (select extract(epoch from '2026-06-21 18:53:03'::timestamp) - extract(epoch from '2026-06-21 18:52: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'), 46674, 'SRID=4674;POINT (-39.034337 -2.964551)', '2026-06-21 18:53:16', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.96454)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964551)'))) / (select extract(epoch from '2026-06-21 18:53:16'::timestamp) - extract(epoch from '2026-06-21 18:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034336 -2.96454)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964551)'))) / (select extract(epoch from '2026-06-21 18:53:16'::timestamp) - extract(epoch from '2026-06-21 18:53: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'), 46674, 'SRID=4674;POINT (-39.034343 -2.964551)', '2026-06-21 18:53:22', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964551)'), GeomFromEWKT('SRID=4674;POINT (-39.034343 -2.964551)'))) / (select extract(epoch from '2026-06-21 18:53:22'::timestamp) - extract(epoch from '2026-06-21 18:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964551)'), GeomFromEWKT('SRID=4674;POINT (-39.034343 -2.964551)'))) / (select extract(epoch from '2026-06-21 18:53:22'::timestamp) - extract(epoch from '2026-06-21 18:53: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'), 46674, 'SRID=4674;POINT (-39.034369 -2.964524)', '2026-06-21 18:53:58', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034343 -2.964551)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964524)'))) / (select extract(epoch from '2026-06-21 18:53:58'::timestamp) - extract(epoch from '2026-06-21 18:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034343 -2.964551)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964524)'))) / (select extract(epoch from '2026-06-21 18:53:58'::timestamp) - extract(epoch from '2026-06-21 18:53: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'), 46674, 'SRID=4674;POINT (-39.034383 -2.964515)', '2026-06-21 18:54:19', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964524)'), GeomFromEWKT('SRID=4674;POINT (-39.034383 -2.964515)'))) / (select extract(epoch from '2026-06-21 18:54:19'::timestamp) - extract(epoch from '2026-06-21 18:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964524)'), GeomFromEWKT('SRID=4674;POINT (-39.034383 -2.964515)'))) / (select extract(epoch from '2026-06-21 18:54:19'::timestamp) - extract(epoch from '2026-06-21 18:53: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'), 46674, 'SRID=4674;POINT (-39.034366 -2.964513)', '2026-06-21 18:54:47', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034383 -2.964515)'), GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964513)'))) / (select extract(epoch from '2026-06-21 18:54:47'::timestamp) - extract(epoch from '2026-06-21 18:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034383 -2.964515)'), GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964513)'))) / (select extract(epoch from '2026-06-21 18:54:47'::timestamp) - extract(epoch from '2026-06-21 18:54: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'), 46674, 'SRID=4674;POINT (-39.034366 -2.964517)', '2026-06-21 18:54:54', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964513)'), GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964517)'))) / (select extract(epoch from '2026-06-21 18:54:54'::timestamp) - extract(epoch from '2026-06-21 18:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964513)'), GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964517)'))) / (select extract(epoch from '2026-06-21 18:54:54'::timestamp) - extract(epoch from '2026-06-21 18:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034352 -2.964519)', '2026-06-21 18:55:20', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964517)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964519)'))) / (select extract(epoch from '2026-06-21 18:55:20'::timestamp) - extract(epoch from '2026-06-21 18:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964517)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964519)'))) / (select extract(epoch from '2026-06-21 18:55:20'::timestamp) - extract(epoch from '2026-06-21 18:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034346 -2.964525)', '2026-06-21 18:56:36', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964519)'), GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964525)'))) / (select extract(epoch from '2026-06-21 18:56:36'::timestamp) - extract(epoch from '2026-06-21 18:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964519)'), GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964525)'))) / (select extract(epoch from '2026-06-21 18:56:36'::timestamp) - extract(epoch from '2026-06-21 18:55: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'), 46674, 'SRID=4674;POINT (-39.034341 -2.964518)', '2026-06-21 18:56:52', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964525)'), GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964518)'))) / (select extract(epoch from '2026-06-21 18:56:52'::timestamp) - extract(epoch from '2026-06-21 18:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964525)'), GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964518)'))) / (select extract(epoch from '2026-06-21 18:56:52'::timestamp) - extract(epoch from '2026-06-21 18:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034344 -2.964526)', '2026-06-21 18:57:13', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964518)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964526)'))) / (select extract(epoch from '2026-06-21 18:57:13'::timestamp) - extract(epoch from '2026-06-21 18:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964518)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964526)'))) / (select extract(epoch from '2026-06-21 18:57:13'::timestamp) - extract(epoch from '2026-06-21 18:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034353 -2.964529)', '2026-06-21 18:57:32', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964526)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964529)'))) / (select extract(epoch from '2026-06-21 18:57:32'::timestamp) - extract(epoch from '2026-06-21 18:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964526)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964529)'))) / (select extract(epoch from '2026-06-21 18:57:32'::timestamp) - extract(epoch from '2026-06-21 18: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'), 46674, 'SRID=4674;POINT (-39.03437 -2.964524)', '2026-06-21 18:58:19', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964529)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964524)'))) / (select extract(epoch from '2026-06-21 18:58:19'::timestamp) - extract(epoch from '2026-06-21 18:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964529)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964524)'))) / (select extract(epoch from '2026-06-21 18:58:19'::timestamp) - extract(epoch from '2026-06-21 18: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'), 46674, 'SRID=4674;POINT (-39.03437 -2.964515)', '2026-06-21 18:59:01', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964524)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964515)'))) / (select extract(epoch from '2026-06-21 18:59:01'::timestamp) - extract(epoch from '2026-06-21 18:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964524)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964515)'))) / (select extract(epoch from '2026-06-21 18:59:01'::timestamp) - extract(epoch from '2026-06-21 18:58: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'), 46674, 'SRID=4674;POINT (-39.034372 -2.964565)', '2026-06-21 19:00:03', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964515)'), GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964565)'))) / (select extract(epoch from '2026-06-21 19:00:03'::timestamp) - extract(epoch from '2026-06-21 18:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964515)'), GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964565)'))) / (select extract(epoch from '2026-06-21 19:00:03'::timestamp) - extract(epoch from '2026-06-21 18:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034354 -2.964571)', '2026-06-21 19:00:20', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964565)'), GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964571)'))) / (select extract(epoch from '2026-06-21 19:00:20'::timestamp) - extract(epoch from '2026-06-21 19:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964565)'), GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964571)'))) / (select extract(epoch from '2026-06-21 19:00:20'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034373 -2.964577)', '2026-06-21 19:01:19', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964571)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964577)'))) / (select extract(epoch from '2026-06-21 19:01:19'::timestamp) - extract(epoch from '2026-06-21 19:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964571)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964577)'))) / (select extract(epoch from '2026-06-21 19:01:19'::timestamp) - extract(epoch from '2026-06-21 19:00: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'), 46674, 'SRID=4674;POINT (-39.034383 -2.96456)', '2026-06-21 19:01:38', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964577)'), GeomFromEWKT('SRID=4674;POINT (-39.034383 -2.96456)'))) / (select extract(epoch from '2026-06-21 19:01:38'::timestamp) - extract(epoch from '2026-06-21 19:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964577)'), GeomFromEWKT('SRID=4674;POINT (-39.034383 -2.96456)'))) / (select extract(epoch from '2026-06-21 19:01:38'::timestamp) - extract(epoch from '2026-06-21 19:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034386 -2.964562)', '2026-06-21 19:01:46', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034383 -2.96456)'), GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964562)'))) / (select extract(epoch from '2026-06-21 19:01:46'::timestamp) - extract(epoch from '2026-06-21 19:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034383 -2.96456)'), GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964562)'))) / (select extract(epoch from '2026-06-21 19:01:46'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034377 -2.964564)', '2026-06-21 19:01:58', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964562)'), GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964564)'))) / (select extract(epoch from '2026-06-21 19:01:58'::timestamp) - extract(epoch from '2026-06-21 19:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964562)'), GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964564)'))) / (select extract(epoch from '2026-06-21 19:01:58'::timestamp) - extract(epoch from '2026-06-21 19:01: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'), 46674, 'SRID=4674;POINT (-39.034377 -2.964571)', '2026-06-21 19:04:23', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964564)'), GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964571)'))) / (select extract(epoch from '2026-06-21 19:04:23'::timestamp) - extract(epoch from '2026-06-21 19:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964564)'), GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964571)'))) / (select extract(epoch from '2026-06-21 19:04:23'::timestamp) - extract(epoch from '2026-06-21 19:01: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'), 46674, 'SRID=4674;POINT (-39.034349 -2.964568)', '2026-06-21 19:05:25', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964571)'), GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964568)'))) / (select extract(epoch from '2026-06-21 19:05:25'::timestamp) - extract(epoch from '2026-06-21 19:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964571)'), GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964568)'))) / (select extract(epoch from '2026-06-21 19:05:25'::timestamp) - extract(epoch from '2026-06-21 19:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034351 -2.964576)', '2026-06-21 19:05:34', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964568)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964576)'))) / (select extract(epoch from '2026-06-21 19:05:34'::timestamp) - extract(epoch from '2026-06-21 19:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964568)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964576)'))) / (select extract(epoch from '2026-06-21 19:05:34'::timestamp) - extract(epoch from '2026-06-21 19:05: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'), 46674, 'SRID=4674;POINT (-39.034348 -2.96459)', '2026-06-21 19:05:54', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964576)'), GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.96459)'))) / (select extract(epoch from '2026-06-21 19:05:54'::timestamp) - extract(epoch from '2026-06-21 19:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964576)'), GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.96459)'))) / (select extract(epoch from '2026-06-21 19:05:54'::timestamp) - extract(epoch from '2026-06-21 19:05: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'), 46674, 'SRID=4674;POINT (-39.034348 -2.964593)', '2026-06-21 19:06:00', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.96459)'), GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.964593)'))) / (select extract(epoch from '2026-06-21 19:06:00'::timestamp) - extract(epoch from '2026-06-21 19:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.96459)'), GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.964593)'))) / (select extract(epoch from '2026-06-21 19:06:00'::timestamp) - extract(epoch from '2026-06-21 19:05: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'), 46674, 'SRID=4674;POINT (-39.034342 -2.964589)', '2026-06-21 19:06:23', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.964593)'), GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.964589)'))) / (select extract(epoch from '2026-06-21 19:06:23'::timestamp) - extract(epoch from '2026-06-21 19:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034348 -2.964593)'), GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.964589)'))) / (select extract(epoch from '2026-06-21 19:06:23'::timestamp) - extract(epoch from '2026-06-21 19:06: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'), 46674, 'SRID=4674;POINT (-39.034337 -2.964588)', '2026-06-21 19:06:38', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.964589)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964588)'))) / (select extract(epoch from '2026-06-21 19:06:38'::timestamp) - extract(epoch from '2026-06-21 19:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.964589)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964588)'))) / (select extract(epoch from '2026-06-21 19:06:38'::timestamp) - extract(epoch from '2026-06-21 19:06: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'), 46674, 'SRID=4674;POINT (-39.034344 -2.9646)', '2026-06-21 19:07:38', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964588)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.9646)'))) / (select extract(epoch from '2026-06-21 19:07:38'::timestamp) - extract(epoch from '2026-06-21 19:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964588)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.9646)'))) / (select extract(epoch from '2026-06-21 19:07:38'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034349 -2.964611)', '2026-06-21 19:08:03', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.9646)'), GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964611)'))) / (select extract(epoch from '2026-06-21 19:08:03'::timestamp) - extract(epoch from '2026-06-21 19:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.9646)'), GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964611)'))) / (select extract(epoch from '2026-06-21 19:08:03'::timestamp) - extract(epoch from '2026-06-21 19:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034341 -2.964617)', '2026-06-21 19:08:31', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964611)'), GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964617)'))) / (select extract(epoch from '2026-06-21 19:08:31'::timestamp) - extract(epoch from '2026-06-21 19:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964611)'), GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964617)'))) / (select extract(epoch from '2026-06-21 19:08:31'::timestamp) - extract(epoch from '2026-06-21 19:08: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'), 46674, 'SRID=4674;POINT (-39.034369 -2.964638)', '2026-06-21 19:09:14', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964617)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964638)'))) / (select extract(epoch from '2026-06-21 19:09:14'::timestamp) - extract(epoch from '2026-06-21 19:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964617)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964638)'))) / (select extract(epoch from '2026-06-21 19:09:14'::timestamp) - extract(epoch from '2026-06-21 19:08: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'), 46674, 'SRID=4674;POINT (-39.034367 -2.964644)', '2026-06-21 19:09:43', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964638)'), GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964644)'))) / (select extract(epoch from '2026-06-21 19:09:43'::timestamp) - extract(epoch from '2026-06-21 19:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964638)'), GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964644)'))) / (select extract(epoch from '2026-06-21 19:09:43'::timestamp) - extract(epoch from '2026-06-21 19:09: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'), 46674, 'SRID=4674;POINT (-39.03438 -2.96464)', '2026-06-21 19:09:44', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964644)'), GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.96464)'))) / (select extract(epoch from '2026-06-21 19:09:44'::timestamp) - extract(epoch from '2026-06-21 19:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964644)'), GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.96464)'))) / (select extract(epoch from '2026-06-21 19:09:44'::timestamp) - extract(epoch from '2026-06-21 19:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034386 -2.964627)', '2026-06-21 19:09:49', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.96464)'), GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964627)'))) / (select extract(epoch from '2026-06-21 19:09:49'::timestamp) - extract(epoch from '2026-06-21 19:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.96464)'), GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964627)'))) / (select extract(epoch from '2026-06-21 19:09:49'::timestamp) - extract(epoch from '2026-06-21 19:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034373 -2.964627)', '2026-06-21 19:10:06', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964627)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964627)'))) / (select extract(epoch from '2026-06-21 19:10:06'::timestamp) - extract(epoch from '2026-06-21 19:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964627)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964627)'))) / (select extract(epoch from '2026-06-21 19:10:06'::timestamp) - extract(epoch from '2026-06-21 19:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034362 -2.964629)', '2026-06-21 19:10:17', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964627)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964629)'))) / (select extract(epoch from '2026-06-21 19:10:17'::timestamp) - extract(epoch from '2026-06-21 19:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964627)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964629)'))) / (select extract(epoch from '2026-06-21 19:10:17'::timestamp) - extract(epoch from '2026-06-21 19:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034362 -2.964632)', '2026-06-21 19:10:37', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964629)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964632)'))) / (select extract(epoch from '2026-06-21 19:10:37'::timestamp) - extract(epoch from '2026-06-21 19:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964629)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964632)'))) / (select extract(epoch from '2026-06-21 19:10:37'::timestamp) - extract(epoch from '2026-06-21 19:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034368 -2.964626)', '2026-06-21 19:11:03', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964632)'), GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964626)'))) / (select extract(epoch from '2026-06-21 19:11:03'::timestamp) - extract(epoch from '2026-06-21 19:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964632)'), GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964626)'))) / (select extract(epoch from '2026-06-21 19:11:03'::timestamp) - extract(epoch from '2026-06-21 19:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034347 -2.964637)', '2026-06-21 19:11:52', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964626)'), GeomFromEWKT('SRID=4674;POINT (-39.034347 -2.964637)'))) / (select extract(epoch from '2026-06-21 19:11:52'::timestamp) - extract(epoch from '2026-06-21 19:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964626)'), GeomFromEWKT('SRID=4674;POINT (-39.034347 -2.964637)'))) / (select extract(epoch from '2026-06-21 19:11:52'::timestamp) - extract(epoch from '2026-06-21 19:11: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'), 46674, 'SRID=4674;POINT (-39.034359 -2.964634)', '2026-06-21 19:12:32', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034347 -2.964637)'), GeomFromEWKT('SRID=4674;POINT (-39.034359 -2.964634)'))) / (select extract(epoch from '2026-06-21 19:12:32'::timestamp) - extract(epoch from '2026-06-21 19:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034347 -2.964637)'), GeomFromEWKT('SRID=4674;POINT (-39.034359 -2.964634)'))) / (select extract(epoch from '2026-06-21 19:12:32'::timestamp) - extract(epoch from '2026-06-21 19:11: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'), 46674, 'SRID=4674;POINT (-39.034371 -2.964647)', '2026-06-21 19:12:40', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034359 -2.964634)'), GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964647)'))) / (select extract(epoch from '2026-06-21 19:12:40'::timestamp) - extract(epoch from '2026-06-21 19:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034359 -2.964634)'), GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964647)'))) / (select extract(epoch from '2026-06-21 19:12:40'::timestamp) - extract(epoch from '2026-06-21 19:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03436 -2.964654)', '2026-06-21 19:14:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964647)'), GeomFromEWKT('SRID=4674;POINT (-39.03436 -2.964654)'))) / (select extract(epoch from '2026-06-21 19:14:18'::timestamp) - extract(epoch from '2026-06-21 19:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964647)'), GeomFromEWKT('SRID=4674;POINT (-39.03436 -2.964654)'))) / (select extract(epoch from '2026-06-21 19:14:18'::timestamp) - extract(epoch from '2026-06-21 19:12: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'), 46674, 'SRID=4674;POINT (-39.034361 -2.964657)', '2026-06-21 19:14:24', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03436 -2.964654)'), GeomFromEWKT('SRID=4674;POINT (-39.034361 -2.964657)'))) / (select extract(epoch from '2026-06-21 19:14:24'::timestamp) - extract(epoch from '2026-06-21 19:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03436 -2.964654)'), GeomFromEWKT('SRID=4674;POINT (-39.034361 -2.964657)'))) / (select extract(epoch from '2026-06-21 19:14:24'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034363 -2.964658)', '2026-06-21 19:14:34', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034361 -2.964657)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964658)'))) / (select extract(epoch from '2026-06-21 19:14:34'::timestamp) - extract(epoch from '2026-06-21 19:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034361 -2.964657)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964658)'))) / (select extract(epoch from '2026-06-21 19:14:34'::timestamp) - extract(epoch from '2026-06-21 19:14:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034377 -2.964649)', '2026-06-21 19:14:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964658)'), GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964649)'))) / (select extract(epoch from '2026-06-21 19:14:47'::timestamp) - extract(epoch from '2026-06-21 19:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964658)'), GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964649)'))) / (select extract(epoch from '2026-06-21 19:14:47'::timestamp) - extract(epoch from '2026-06-21 19:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034372 -2.964656)', '2026-06-21 19:15:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964656)'))) / (select extract(epoch from '2026-06-21 19:15:13'::timestamp) - extract(epoch from '2026-06-21 19:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034377 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964656)'))) / (select extract(epoch from '2026-06-21 19:15:13'::timestamp) - extract(epoch from '2026-06-21 19:14: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'), 46674, 'SRID=4674;POINT (-39.034362 -2.964608)', '2026-06-21 19:16:11', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964656)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964608)'))) / (select extract(epoch from '2026-06-21 19:16:11'::timestamp) - extract(epoch from '2026-06-21 19:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964656)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964608)'))) / (select extract(epoch from '2026-06-21 19:16:11'::timestamp) - extract(epoch from '2026-06-21 19:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034354 -2.964617)', '2026-06-21 19:16:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964608)'), GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964617)'))) / (select extract(epoch from '2026-06-21 19:16:29'::timestamp) - extract(epoch from '2026-06-21 19:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964608)'), GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964617)'))) / (select extract(epoch from '2026-06-21 19:16:29'::timestamp) - extract(epoch from '2026-06-21 19:16: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'), 46674, 'SRID=4674;POINT (-39.034346 -2.964614)', '2026-06-21 19:17:17', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964617)'), GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964614)'))) / (select extract(epoch from '2026-06-21 19:17:17'::timestamp) - extract(epoch from '2026-06-21 19:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964617)'), GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964614)'))) / (select extract(epoch from '2026-06-21 19:17:17'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034337 -2.964612)', '2026-06-21 19:17:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964614)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964612)'))) / (select extract(epoch from '2026-06-21 19:17:24'::timestamp) - extract(epoch from '2026-06-21 19:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034346 -2.964614)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964612)'))) / (select extract(epoch from '2026-06-21 19:17:24'::timestamp) - extract(epoch from '2026-06-21 19:17: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'), 46674, 'SRID=4674;POINT (-39.034362 -2.964606)', '2026-06-21 19:17:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964612)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964606)'))) / (select extract(epoch from '2026-06-21 19:17:52'::timestamp) - extract(epoch from '2026-06-21 19:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964612)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964606)'))) / (select extract(epoch from '2026-06-21 19:17:52'::timestamp) - extract(epoch from '2026-06-21 19:17: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'), 46674, 'SRID=4674;POINT (-39.034355 -2.964607)', '2026-06-21 19:17:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964606)'), GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964607)'))) / (select extract(epoch from '2026-06-21 19:17:59'::timestamp) - extract(epoch from '2026-06-21 19:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964606)'), GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964607)'))) / (select extract(epoch from '2026-06-21 19:17:59'::timestamp) - extract(epoch from '2026-06-21 19:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03434 -2.964613)', '2026-06-21 19:19:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964607)'), GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964613)'))) / (select extract(epoch from '2026-06-21 19:19:52'::timestamp) - extract(epoch from '2026-06-21 19:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964607)'), GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964613)'))) / (select extract(epoch from '2026-06-21 19:19:52'::timestamp) - extract(epoch from '2026-06-21 19:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034345 -2.964617)', '2026-06-21 19:19:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964613)'), GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964617)'))) / (select extract(epoch from '2026-06-21 19:19:58'::timestamp) - extract(epoch from '2026-06-21 19:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964613)'), GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964617)'))) / (select extract(epoch from '2026-06-21 19:19:58'::timestamp) - extract(epoch from '2026-06-21 19:19: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'), 46674, 'SRID=4674;POINT (-39.034351 -2.964624)', '2026-06-21 19:20:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964617)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964624)'))) / (select extract(epoch from '2026-06-21 19:20:36'::timestamp) - extract(epoch from '2026-06-21 19:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964617)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964624)'))) / (select extract(epoch from '2026-06-21 19:20:36'::timestamp) - extract(epoch from '2026-06-21 19:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034368 -2.964628)', '2026-06-21 19:21:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964624)'), GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964628)'))) / (select extract(epoch from '2026-06-21 19:21:07'::timestamp) - extract(epoch from '2026-06-21 19:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.964624)'), GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964628)'))) / (select extract(epoch from '2026-06-21 19:21:07'::timestamp) - extract(epoch from '2026-06-21 19:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034364 -2.964635)', '2026-06-21 19:21:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964628)'), GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964635)'))) / (select extract(epoch from '2026-06-21 19:21:18'::timestamp) - extract(epoch from '2026-06-21 19:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964628)'), GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964635)'))) / (select extract(epoch from '2026-06-21 19:21:18'::timestamp) - extract(epoch from '2026-06-21 19:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03436 -2.964651)', '2026-06-21 19:21:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964635)'), GeomFromEWKT('SRID=4674;POINT (-39.03436 -2.964651)'))) / (select extract(epoch from '2026-06-21 19:21:24'::timestamp) - extract(epoch from '2026-06-21 19:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964635)'), GeomFromEWKT('SRID=4674;POINT (-39.03436 -2.964651)'))) / (select extract(epoch from '2026-06-21 19:21:24'::timestamp) - extract(epoch from '2026-06-21 19:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034361 -2.964654)', '2026-06-21 19:21:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03436 -2.964651)'), GeomFromEWKT('SRID=4674;POINT (-39.034361 -2.964654)'))) / (select extract(epoch from '2026-06-21 19:21:32'::timestamp) - extract(epoch from '2026-06-21 19:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03436 -2.964651)'), GeomFromEWKT('SRID=4674;POINT (-39.034361 -2.964654)'))) / (select extract(epoch from '2026-06-21 19:21:32'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034337 -2.964638)', '2026-06-21 19:22:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034361 -2.964654)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964638)'))) / (select extract(epoch from '2026-06-21 19:22:03'::timestamp) - extract(epoch from '2026-06-21 19:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034361 -2.964654)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964638)'))) / (select extract(epoch from '2026-06-21 19:22:03'::timestamp) - extract(epoch from '2026-06-21 19:21: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'), 46674, 'SRID=4674;POINT (-39.034325 -2.964642)', '2026-06-21 19:22:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964638)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964642)'))) / (select extract(epoch from '2026-06-21 19:22:26'::timestamp) - extract(epoch from '2026-06-21 19:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964638)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964642)'))) / (select extract(epoch from '2026-06-21 19:22:26'::timestamp) - extract(epoch from '2026-06-21 19:22:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034331 -2.964643)', '2026-06-21 19:22:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964642)'), GeomFromEWKT('SRID=4674;POINT (-39.034331 -2.964643)'))) / (select extract(epoch from '2026-06-21 19:22:36'::timestamp) - extract(epoch from '2026-06-21 19:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964642)'), GeomFromEWKT('SRID=4674;POINT (-39.034331 -2.964643)'))) / (select extract(epoch from '2026-06-21 19:22:36'::timestamp) - extract(epoch from '2026-06-21 19:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034349 -2.964641)', '2026-06-21 19:23:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034331 -2.964643)'), GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964641)'))) / (select extract(epoch from '2026-06-21 19:23:53'::timestamp) - extract(epoch from '2026-06-21 19:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034331 -2.964643)'), GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964641)'))) / (select extract(epoch from '2026-06-21 19:23:53'::timestamp) - extract(epoch from '2026-06-21 19:22: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'), 46674, 'SRID=4674;POINT (-39.034339 -2.964656)', '2026-06-21 19:24:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964641)'), GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964656)'))) / (select extract(epoch from '2026-06-21 19:24:09'::timestamp) - extract(epoch from '2026-06-21 19:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034349 -2.964641)'), GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964656)'))) / (select extract(epoch from '2026-06-21 19:24:09'::timestamp) - extract(epoch from '2026-06-21 19:23: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'), 46674, 'SRID=4674;POINT (-39.034342 -2.964667)', '2026-06-21 19:24:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964656)'), GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.964667)'))) / (select extract(epoch from '2026-06-21 19:24:39'::timestamp) - extract(epoch from '2026-06-21 19:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964656)'), GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.964667)'))) / (select extract(epoch from '2026-06-21 19:24:39'::timestamp) - extract(epoch from '2026-06-21 19:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034344 -2.964643)', '2026-06-21 19:24:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.964667)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964643)'))) / (select extract(epoch from '2026-06-21 19:24:59'::timestamp) - extract(epoch from '2026-06-21 19:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034342 -2.964667)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964643)'))) / (select extract(epoch from '2026-06-21 19:24:59'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034333 -2.964647)', '2026-06-21 19:25:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964643)'), GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964647)'))) / (select extract(epoch from '2026-06-21 19:25:27'::timestamp) - extract(epoch from '2026-06-21 19:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964643)'), GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964647)'))) / (select extract(epoch from '2026-06-21 19:25:27'::timestamp) - extract(epoch from '2026-06-21 19:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034327 -2.964662)', '2026-06-21 19:26:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964647)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964662)'))) / (select extract(epoch from '2026-06-21 19:26:06'::timestamp) - extract(epoch from '2026-06-21 19:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034333 -2.964647)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964662)'))) / (select extract(epoch from '2026-06-21 19:26:06'::timestamp) - extract(epoch from '2026-06-21 19:25: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'), 46674, 'SRID=4674;POINT (-39.034339 -2.964661)', '2026-06-21 19:26:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964662)'), GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964661)'))) / (select extract(epoch from '2026-06-21 19:26:37'::timestamp) - extract(epoch from '2026-06-21 19:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964662)'), GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964661)'))) / (select extract(epoch from '2026-06-21 19:26:37'::timestamp) - extract(epoch from '2026-06-21 19:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034341 -2.964662)', '2026-06-21 19:26:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964661)'), GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964662)'))) / (select extract(epoch from '2026-06-21 19:26:56'::timestamp) - extract(epoch from '2026-06-21 19:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034339 -2.964661)'), GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964662)'))) / (select extract(epoch from '2026-06-21 19:26:56'::timestamp) - extract(epoch from '2026-06-21 19:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034369 -2.964668)', '2026-06-21 19:27:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964662)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964668)'))) / (select extract(epoch from '2026-06-21 19:27:29'::timestamp) - extract(epoch from '2026-06-21 19:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034341 -2.964662)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964668)'))) / (select extract(epoch from '2026-06-21 19:27:29'::timestamp) - extract(epoch from '2026-06-21 19:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034365 -2.964676)', '2026-06-21 19:27:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964668)'), GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964676)'))) / (select extract(epoch from '2026-06-21 19:27:46'::timestamp) - extract(epoch from '2026-06-21 19:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964668)'), GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964676)'))) / (select extract(epoch from '2026-06-21 19:27:46'::timestamp) - extract(epoch from '2026-06-21 19:27: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'), 46674, 'SRID=4674;POINT (-39.034356 -2.964672)', '2026-06-21 19:30:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964676)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964672)'))) / (select extract(epoch from '2026-06-21 19:30:11'::timestamp) - extract(epoch from '2026-06-21 19:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964676)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964672)'))) / (select extract(epoch from '2026-06-21 19:30:11'::timestamp) - extract(epoch from '2026-06-21 19:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034337 -2.964671)', '2026-06-21 19:30:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964672)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964671)'))) / (select extract(epoch from '2026-06-21 19:30:59'::timestamp) - extract(epoch from '2026-06-21 19:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964672)'), GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964671)'))) / (select extract(epoch from '2026-06-21 19:30:59'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034329 -2.964666)', '2026-06-21 19:31:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964671)'), GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964666)'))) / (select extract(epoch from '2026-06-21 19:31:09'::timestamp) - extract(epoch from '2026-06-21 19:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034337 -2.964671)'), GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964666)'))) / (select extract(epoch from '2026-06-21 19:31:09'::timestamp) - extract(epoch from '2026-06-21 19:30: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'), 46674, 'SRID=4674;POINT (-39.034353 -2.964635)', '2026-06-21 19:32:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964666)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964635)'))) / (select extract(epoch from '2026-06-21 19:32:07'::timestamp) - extract(epoch from '2026-06-21 19:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034329 -2.964666)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964635)'))) / (select extract(epoch from '2026-06-21 19:32:07'::timestamp) - extract(epoch from '2026-06-21 19:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034358 -2.964644)', '2026-06-21 19:32:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964635)'), GeomFromEWKT('SRID=4674;POINT (-39.034358 -2.964644)'))) / (select extract(epoch from '2026-06-21 19:32:12'::timestamp) - extract(epoch from '2026-06-21 19:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964635)'), GeomFromEWKT('SRID=4674;POINT (-39.034358 -2.964644)'))) / (select extract(epoch from '2026-06-21 19:32:12'::timestamp) - extract(epoch from '2026-06-21 19:32: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'), 46674, 'SRID=4674;POINT (-39.034364 -2.964649)', '2026-06-21 19:32:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034358 -2.964644)'), GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964649)'))) / (select extract(epoch from '2026-06-21 19:32:14'::timestamp) - extract(epoch from '2026-06-21 19:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034358 -2.964644)'), GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964649)'))) / (select extract(epoch from '2026-06-21 19:32:14'::timestamp) - extract(epoch from '2026-06-21 19:32: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'), 46674, 'SRID=4674;POINT (-39.03434 -2.96462)', '2026-06-21 19:33:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.96462)'))) / (select extract(epoch from '2026-06-21 19:33:54'::timestamp) - extract(epoch from '2026-06-21 19:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.96462)'))) / (select extract(epoch from '2026-06-21 19:33:54'::timestamp) - extract(epoch from '2026-06-21 19:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034356 -2.96458)', '2026-06-21 19:36:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.96462)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.96458)'))) / (select extract(epoch from '2026-06-21 19:36:27'::timestamp) - extract(epoch from '2026-06-21 19:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.96462)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.96458)'))) / (select extract(epoch from '2026-06-21 19:36:27'::timestamp) - extract(epoch from '2026-06-21 19:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034353 -2.964612)', '2026-06-21 19:37:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.96458)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964612)'))) / (select extract(epoch from '2026-06-21 19:37:27'::timestamp) - extract(epoch from '2026-06-21 19:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.96458)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964612)'))) / (select extract(epoch from '2026-06-21 19:37:27'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034365 -2.964631)', '2026-06-21 19:37:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964612)'), GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964631)'))) / (select extract(epoch from '2026-06-21 19:37:32'::timestamp) - extract(epoch from '2026-06-21 19:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964612)'), GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964631)'))) / (select extract(epoch from '2026-06-21 19:37:32'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034369 -2.964635)', '2026-06-21 19:37:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964631)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964635)'))) / (select extract(epoch from '2026-06-21 19:37:38'::timestamp) - extract(epoch from '2026-06-21 19:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964631)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964635)'))) / (select extract(epoch from '2026-06-21 19:37:38'::timestamp) - extract(epoch from '2026-06-21 19:37: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'), 46674, 'SRID=4674;POINT (-39.034364 -2.964628)', '2026-06-21 19:37:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964635)'), GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964628)'))) / (select extract(epoch from '2026-06-21 19:37:58'::timestamp) - extract(epoch from '2026-06-21 19:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964635)'), GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964628)'))) / (select extract(epoch from '2026-06-21 19:37:58'::timestamp) - extract(epoch from '2026-06-21 19:37: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'), 46674, 'SRID=4674;POINT (-39.034344 -2.964642)', '2026-06-21 19:38:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964628)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964642)'))) / (select extract(epoch from '2026-06-21 19:38:17'::timestamp) - extract(epoch from '2026-06-21 19:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.964628)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964642)'))) / (select extract(epoch from '2026-06-21 19:38:17'::timestamp) - extract(epoch from '2026-06-21 19:37: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'), 46674, 'SRID=4674;POINT (-39.034357 -2.964649)', '2026-06-21 19:38:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964642)'), GeomFromEWKT('SRID=4674;POINT (-39.034357 -2.964649)'))) / (select extract(epoch from '2026-06-21 19:38:24'::timestamp) - extract(epoch from '2026-06-21 19:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964642)'), GeomFromEWKT('SRID=4674;POINT (-39.034357 -2.964649)'))) / (select extract(epoch from '2026-06-21 19:38:24'::timestamp) - extract(epoch from '2026-06-21 19:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034373 -2.964634)', '2026-06-21 19:40:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034357 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964634)'))) / (select extract(epoch from '2026-06-21 19:40:57'::timestamp) - extract(epoch from '2026-06-21 19:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034357 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964634)'))) / (select extract(epoch from '2026-06-21 19:40:57'::timestamp) - extract(epoch from '2026-06-21 19:38: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'), 46674, 'SRID=4674;POINT (-39.034356 -2.964633)', '2026-06-21 19:43:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964634)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964633)'))) / (select extract(epoch from '2026-06-21 19:43:26'::timestamp) - extract(epoch from '2026-06-21 19:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964634)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964633)'))) / (select extract(epoch from '2026-06-21 19:43:26'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034366 -2.964627)', '2026-06-21 19:44:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964633)'), GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964627)'))) / (select extract(epoch from '2026-06-21 19:44:29'::timestamp) - extract(epoch from '2026-06-21 19:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964633)'), GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964627)'))) / (select extract(epoch from '2026-06-21 19:44:29'::timestamp) - extract(epoch from '2026-06-21 19:43: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'), 46674, 'SRID=4674;POINT (-39.034352 -2.964615)', '2026-06-21 19:45:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964627)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964615)'))) / (select extract(epoch from '2026-06-21 19:45:02'::timestamp) - extract(epoch from '2026-06-21 19:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034366 -2.964627)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964615)'))) / (select extract(epoch from '2026-06-21 19:45:02'::timestamp) - extract(epoch from '2026-06-21 19:44: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'), 46674, 'SRID=4674;POINT (-39.034353 -2.964612)', '2026-06-21 19:45:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964615)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964612)'))) / (select extract(epoch from '2026-06-21 19:45:10'::timestamp) - extract(epoch from '2026-06-21 19:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964615)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964612)'))) / (select extract(epoch from '2026-06-21 19:45:10'::timestamp) - extract(epoch from '2026-06-21 19:45: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'), 46674, 'SRID=4674;POINT (-39.034345 -2.964604)', '2026-06-21 19:45:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964612)'), GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964604)'))) / (select extract(epoch from '2026-06-21 19:45:13'::timestamp) - extract(epoch from '2026-06-21 19:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964612)'), GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964604)'))) / (select extract(epoch from '2026-06-21 19:45:13'::timestamp) - extract(epoch from '2026-06-21 19:45: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'), 46674, 'SRID=4674;POINT (-39.034364 -2.96459)', '2026-06-21 19:45:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964604)'), GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.96459)'))) / (select extract(epoch from '2026-06-21 19:45:41'::timestamp) - extract(epoch from '2026-06-21 19:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034345 -2.964604)'), GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.96459)'))) / (select extract(epoch from '2026-06-21 19:45:41'::timestamp) - extract(epoch from '2026-06-21 19:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034365 -2.964594)', '2026-06-21 19:45:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.96459)'), GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964594)'))) / (select extract(epoch from '2026-06-21 19:45:48'::timestamp) - extract(epoch from '2026-06-21 19:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034364 -2.96459)'), GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964594)'))) / (select extract(epoch from '2026-06-21 19:45:48'::timestamp) - extract(epoch from '2026-06-21 19:45: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'), 46674, 'SRID=4674;POINT (-39.034371 -2.964603)', '2026-06-21 19:45:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964594)'), GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964603)'))) / (select extract(epoch from '2026-06-21 19:45:55'::timestamp) - extract(epoch from '2026-06-21 19:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964594)'), GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964603)'))) / (select extract(epoch from '2026-06-21 19:45:55'::timestamp) - extract(epoch from '2026-06-21 19:45: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'), 46674, 'SRID=4674;POINT (-39.034394 -2.964599)', '2026-06-21 19:46:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964603)'), GeomFromEWKT('SRID=4674;POINT (-39.034394 -2.964599)'))) / (select extract(epoch from '2026-06-21 19:46:09'::timestamp) - extract(epoch from '2026-06-21 19:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964603)'), GeomFromEWKT('SRID=4674;POINT (-39.034394 -2.964599)'))) / (select extract(epoch from '2026-06-21 19:46:09'::timestamp) - extract(epoch from '2026-06-21 19:45: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'), 46674, 'SRID=4674;POINT (-39.034392 -2.964594)', '2026-06-21 19:46:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034394 -2.964599)'), GeomFromEWKT('SRID=4674;POINT (-39.034392 -2.964594)'))) / (select extract(epoch from '2026-06-21 19:46:27'::timestamp) - extract(epoch from '2026-06-21 19:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034394 -2.964599)'), GeomFromEWKT('SRID=4674;POINT (-39.034392 -2.964594)'))) / (select extract(epoch from '2026-06-21 19:46:27'::timestamp) - extract(epoch from '2026-06-21 19:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034365 -2.964589)', '2026-06-21 19:46:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034392 -2.964594)'), GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964589)'))) / (select extract(epoch from '2026-06-21 19:46:34'::timestamp) - extract(epoch from '2026-06-21 19:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034392 -2.964594)'), GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964589)'))) / (select extract(epoch from '2026-06-21 19:46:34'::timestamp) - extract(epoch from '2026-06-21 19:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034356 -2.964601)', '2026-06-21 19:46:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964589)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964601)'))) / (select extract(epoch from '2026-06-21 19:46:54'::timestamp) - extract(epoch from '2026-06-21 19:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964589)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964601)'))) / (select extract(epoch from '2026-06-21 19:46:54'::timestamp) - extract(epoch from '2026-06-21 19:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034363 -2.964602)', '2026-06-21 19:47:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964601)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964602)'))) / (select extract(epoch from '2026-06-21 19:47:00'::timestamp) - extract(epoch from '2026-06-21 19:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964601)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964602)'))) / (select extract(epoch from '2026-06-21 19:47:00'::timestamp) - extract(epoch from '2026-06-21 19:46: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'), 46674, 'SRID=4674;POINT (-39.03437 -2.964615)', '2026-06-21 19:47:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964602)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964615)'))) / (select extract(epoch from '2026-06-21 19:47:44'::timestamp) - extract(epoch from '2026-06-21 19:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964602)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964615)'))) / (select extract(epoch from '2026-06-21 19:47:44'::timestamp) - extract(epoch from '2026-06-21 19:47: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'), 46674, 'SRID=4674;POINT (-39.034376 -2.964622)', '2026-06-21 19:48:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964615)'), GeomFromEWKT('SRID=4674;POINT (-39.034376 -2.964622)'))) / (select extract(epoch from '2026-06-21 19:48:08'::timestamp) - extract(epoch from '2026-06-21 19:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964615)'), GeomFromEWKT('SRID=4674;POINT (-39.034376 -2.964622)'))) / (select extract(epoch from '2026-06-21 19:48:08'::timestamp) - extract(epoch from '2026-06-21 19:47: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'), 46674, 'SRID=4674;POINT (-39.034372 -2.964629)', '2026-06-21 19:48:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034376 -2.964622)'), GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964629)'))) / (select extract(epoch from '2026-06-21 19:48:22'::timestamp) - extract(epoch from '2026-06-21 19:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034376 -2.964622)'), GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964629)'))) / (select extract(epoch from '2026-06-21 19:48:22'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.034379 -2.96462)', '2026-06-21 19:48:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964629)'), GeomFromEWKT('SRID=4674;POINT (-39.034379 -2.96462)'))) / (select extract(epoch from '2026-06-21 19:48:28'::timestamp) - extract(epoch from '2026-06-21 19:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964629)'), GeomFromEWKT('SRID=4674;POINT (-39.034379 -2.96462)'))) / (select extract(epoch from '2026-06-21 19:48:28'::timestamp) - extract(epoch from '2026-06-21 19:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034391 -2.964662)', '2026-06-21 19:49:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034379 -2.96462)'), GeomFromEWKT('SRID=4674;POINT (-39.034391 -2.964662)'))) / (select extract(epoch from '2026-06-21 19:49:37'::timestamp) - extract(epoch from '2026-06-21 19:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034379 -2.96462)'), GeomFromEWKT('SRID=4674;POINT (-39.034391 -2.964662)'))) / (select extract(epoch from '2026-06-21 19:49:37'::timestamp) - extract(epoch from '2026-06-21 19:48: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'), 46674, 'SRID=4674;POINT (-39.034386 -2.964649)', '2026-06-21 19:49:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034391 -2.964662)'), GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964649)'))) / (select extract(epoch from '2026-06-21 19:49:51'::timestamp) - extract(epoch from '2026-06-21 19:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034391 -2.964662)'), GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964649)'))) / (select extract(epoch from '2026-06-21 19:49:51'::timestamp) - extract(epoch from '2026-06-21 19:49: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'), 46674, 'SRID=4674;POINT (-39.034384 -2.964646)', '2026-06-21 19:49:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.034384 -2.964646)'))) / (select extract(epoch from '2026-06-21 19:49:57'::timestamp) - extract(epoch from '2026-06-21 19:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034386 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.034384 -2.964646)'))) / (select extract(epoch from '2026-06-21 19:49:57'::timestamp) - extract(epoch from '2026-06-21 19:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03438 -2.964633)', '2026-06-21 19:50:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034384 -2.964646)'), GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.964633)'))) / (select extract(epoch from '2026-06-21 19:50:15'::timestamp) - extract(epoch from '2026-06-21 19:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034384 -2.964646)'), GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.964633)'))) / (select extract(epoch from '2026-06-21 19:50:15'::timestamp) - extract(epoch from '2026-06-21 19:49: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'), 46674, 'SRID=4674;POINT (-39.034399 -2.964648)', '2026-06-21 19:51:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.964633)'), GeomFromEWKT('SRID=4674;POINT (-39.034399 -2.964648)'))) / (select extract(epoch from '2026-06-21 19:51:01'::timestamp) - extract(epoch from '2026-06-21 19:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.964633)'), GeomFromEWKT('SRID=4674;POINT (-39.034399 -2.964648)'))) / (select extract(epoch from '2026-06-21 19:51:01'::timestamp) - extract(epoch from '2026-06-21 19:50: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'), 46674, 'SRID=4674;POINT (-39.034398 -2.964653)', '2026-06-21 19:51:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034399 -2.964648)'), GeomFromEWKT('SRID=4674;POINT (-39.034398 -2.964653)'))) / (select extract(epoch from '2026-06-21 19:51:14'::timestamp) - extract(epoch from '2026-06-21 19:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034399 -2.964648)'), GeomFromEWKT('SRID=4674;POINT (-39.034398 -2.964653)'))) / (select extract(epoch from '2026-06-21 19:51:14'::timestamp) - extract(epoch from '2026-06-21 19:51: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'), 46674, 'SRID=4674;POINT (-39.034371 -2.964667)', '2026-06-21 19:52:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034398 -2.964653)'), GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964667)'))) / (select extract(epoch from '2026-06-21 19:52:13'::timestamp) - extract(epoch from '2026-06-21 19:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034398 -2.964653)'), GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964667)'))) / (select extract(epoch from '2026-06-21 19:52:13'::timestamp) - extract(epoch from '2026-06-21 19:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034367 -2.964687)', '2026-06-21 19:52:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964667)'), GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964687)'))) / (select extract(epoch from '2026-06-21 19:52:26'::timestamp) - extract(epoch from '2026-06-21 19:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034371 -2.964667)'), GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964687)'))) / (select extract(epoch from '2026-06-21 19:52:26'::timestamp) - extract(epoch from '2026-06-21 19:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03437 -2.964685)', '2026-06-21 19:52:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964687)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964685)'))) / (select extract(epoch from '2026-06-21 19:52:36'::timestamp) - extract(epoch from '2026-06-21 19:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964687)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964685)'))) / (select extract(epoch from '2026-06-21 19:52:36'::timestamp) - extract(epoch from '2026-06-21 19:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034397 -2.964672)', '2026-06-21 19:53:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964685)'), GeomFromEWKT('SRID=4674;POINT (-39.034397 -2.964672)'))) / (select extract(epoch from '2026-06-21 19:53:01'::timestamp) - extract(epoch from '2026-06-21 19:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964685)'), GeomFromEWKT('SRID=4674;POINT (-39.034397 -2.964672)'))) / (select extract(epoch from '2026-06-21 19:53:01'::timestamp) - extract(epoch from '2026-06-21 19:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034373 -2.964677)', '2026-06-21 19:53:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034397 -2.964672)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964677)'))) / (select extract(epoch from '2026-06-21 19:53:33'::timestamp) - extract(epoch from '2026-06-21 19:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034397 -2.964672)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964677)'))) / (select extract(epoch from '2026-06-21 19:53:33'::timestamp) - extract(epoch from '2026-06-21 19:53: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'), 46674, 'SRID=4674;POINT (-39.034365 -2.964676)', '2026-06-21 19:53:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964677)'), GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964676)'))) / (select extract(epoch from '2026-06-21 19:53:52'::timestamp) - extract(epoch from '2026-06-21 19:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964677)'), GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964676)'))) / (select extract(epoch from '2026-06-21 19:53:52'::timestamp) - extract(epoch from '2026-06-21 19:53: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'), 46674, 'SRID=4674;POINT (-39.034382 -2.964684)', '2026-06-21 19:54:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964676)'), GeomFromEWKT('SRID=4674;POINT (-39.034382 -2.964684)'))) / (select extract(epoch from '2026-06-21 19:54:45'::timestamp) - extract(epoch from '2026-06-21 19:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034365 -2.964676)'), GeomFromEWKT('SRID=4674;POINT (-39.034382 -2.964684)'))) / (select extract(epoch from '2026-06-21 19:54:45'::timestamp) - extract(epoch from '2026-06-21 19:53:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034373 -2.964688)', '2026-06-21 19:55:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034382 -2.964684)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964688)'))) / (select extract(epoch from '2026-06-21 19:55:00'::timestamp) - extract(epoch from '2026-06-21 19:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034382 -2.964684)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964688)'))) / (select extract(epoch from '2026-06-21 19:55:00'::timestamp) - extract(epoch from '2026-06-21 19:54: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'), 46674, 'SRID=4674;POINT (-39.034385 -2.964703)', '2026-06-21 19:56:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964688)'), GeomFromEWKT('SRID=4674;POINT (-39.034385 -2.964703)'))) / (select extract(epoch from '2026-06-21 19:56:07'::timestamp) - extract(epoch from '2026-06-21 19:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964688)'), GeomFromEWKT('SRID=4674;POINT (-39.034385 -2.964703)'))) / (select extract(epoch from '2026-06-21 19:56:07'::timestamp) - extract(epoch from '2026-06-21 19:55: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'), 46674, 'SRID=4674;POINT (-39.034387 -2.964701)', '2026-06-21 19:56:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034385 -2.964703)'), GeomFromEWKT('SRID=4674;POINT (-39.034387 -2.964701)'))) / (select extract(epoch from '2026-06-21 19:56:10'::timestamp) - extract(epoch from '2026-06-21 19:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034385 -2.964703)'), GeomFromEWKT('SRID=4674;POINT (-39.034387 -2.964701)'))) / (select extract(epoch from '2026-06-21 19:56:10'::timestamp) - extract(epoch from '2026-06-21 19:56: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'), 46674, 'SRID=4674;POINT (-39.034382 -2.964696)', '2026-06-21 19:56:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034387 -2.964701)'), GeomFromEWKT('SRID=4674;POINT (-39.034382 -2.964696)'))) / (select extract(epoch from '2026-06-21 19:56:23'::timestamp) - extract(epoch from '2026-06-21 19:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034387 -2.964701)'), GeomFromEWKT('SRID=4674;POINT (-39.034382 -2.964696)'))) / (select extract(epoch from '2026-06-21 19:56:23'::timestamp) - extract(epoch from '2026-06-21 19:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03438 -2.964687)', '2026-06-21 19:57:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034382 -2.964696)'), GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.964687)'))) / (select extract(epoch from '2026-06-21 19:57:14'::timestamp) - extract(epoch from '2026-06-21 19:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034382 -2.964696)'), GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.964687)'))) / (select extract(epoch from '2026-06-21 19:57:14'::timestamp) - extract(epoch from '2026-06-21 19:56: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'), 46674, 'SRID=4674;POINT (-39.034373 -2.964709)', '2026-06-21 19:58:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.964687)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964709)'))) / (select extract(epoch from '2026-06-21 19:58:15'::timestamp) - extract(epoch from '2026-06-21 19:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03438 -2.964687)'), GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964709)'))) / (select extract(epoch from '2026-06-21 19:58:15'::timestamp) - extract(epoch from '2026-06-21 19:57:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034353 -2.964702)', '2026-06-21 19:59:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964709)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964702)'))) / (select extract(epoch from '2026-06-21 19:59:05'::timestamp) - extract(epoch from '2026-06-21 19:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034373 -2.964709)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964702)'))) / (select extract(epoch from '2026-06-21 19:59:05'::timestamp) - extract(epoch from '2026-06-21 19:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034354 -2.964696)', '2026-06-21 19:59:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964702)'), GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964696)'))) / (select extract(epoch from '2026-06-21 19:59:08'::timestamp) - extract(epoch from '2026-06-21 19:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964702)'), GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964696)'))) / (select extract(epoch from '2026-06-21 19:59:08'::timestamp) - extract(epoch from '2026-06-21 19: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'), 46674, 'SRID=4674;POINT (-39.03437 -2.964695)', '2026-06-21 19:59:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964696)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964695)'))) / (select extract(epoch from '2026-06-21 19:59:36'::timestamp) - extract(epoch from '2026-06-21 19:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034354 -2.964696)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964695)'))) / (select extract(epoch from '2026-06-21 19:59:36'::timestamp) - extract(epoch from '2026-06-21 19:59: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'), 46674, 'SRID=4674;POINT (-39.034347 -2.964699)', '2026-06-21 20:00:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964695)'), GeomFromEWKT('SRID=4674;POINT (-39.034347 -2.964699)'))) / (select extract(epoch from '2026-06-21 20:00:16'::timestamp) - extract(epoch from '2026-06-21 19:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.964695)'), GeomFromEWKT('SRID=4674;POINT (-39.034347 -2.964699)'))) / (select extract(epoch from '2026-06-21 20:00:16'::timestamp) - extract(epoch from '2026-06-21 19:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034363 -2.964695)', '2026-06-21 20:01:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034347 -2.964699)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964695)'))) / (select extract(epoch from '2026-06-21 20:01:01'::timestamp) - extract(epoch from '2026-06-21 20:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034347 -2.964699)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964695)'))) / (select extract(epoch from '2026-06-21 20:01:01'::timestamp) - extract(epoch from '2026-06-21 20:00: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'), 46674, 'SRID=4674;POINT (-39.034369 -2.964652)', '2026-06-21 20:01:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964695)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964652)'))) / (select extract(epoch from '2026-06-21 20:01:59'::timestamp) - extract(epoch from '2026-06-21 20:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964695)'), GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964652)'))) / (select extract(epoch from '2026-06-21 20:01:59'::timestamp) - extract(epoch from '2026-06-21 20:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034391 -2.964659)', '2026-06-21 20:02:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964652)'), GeomFromEWKT('SRID=4674;POINT (-39.034391 -2.964659)'))) / (select extract(epoch from '2026-06-21 20:02:42'::timestamp) - extract(epoch from '2026-06-21 20:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034369 -2.964652)'), GeomFromEWKT('SRID=4674;POINT (-39.034391 -2.964659)'))) / (select extract(epoch from '2026-06-21 20:02:42'::timestamp) - extract(epoch from '2026-06-21 20:01:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034376 -2.964681)', '2026-06-21 20:03:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034391 -2.964659)'), GeomFromEWKT('SRID=4674;POINT (-39.034376 -2.964681)'))) / (select extract(epoch from '2026-06-21 20:03:05'::timestamp) - extract(epoch from '2026-06-21 20:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034391 -2.964659)'), GeomFromEWKT('SRID=4674;POINT (-39.034376 -2.964681)'))) / (select extract(epoch from '2026-06-21 20:03:05'::timestamp) - extract(epoch from '2026-06-21 20:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034407 -2.964704)', '2026-06-21 20:03:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034376 -2.964681)'), GeomFromEWKT('SRID=4674;POINT (-39.034407 -2.964704)'))) / (select extract(epoch from '2026-06-21 20:03:17'::timestamp) - extract(epoch from '2026-06-21 20:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034376 -2.964681)'), GeomFromEWKT('SRID=4674;POINT (-39.034407 -2.964704)'))) / (select extract(epoch from '2026-06-21 20:03:17'::timestamp) - extract(epoch from '2026-06-21 20: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'), 46674, 'SRID=4674;POINT (-39.034381 -2.964697)', '2026-06-21 20:03:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034407 -2.964704)'), GeomFromEWKT('SRID=4674;POINT (-39.034381 -2.964697)'))) / (select extract(epoch from '2026-06-21 20:03:31'::timestamp) - extract(epoch from '2026-06-21 20:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034407 -2.964704)'), GeomFromEWKT('SRID=4674;POINT (-39.034381 -2.964697)'))) / (select extract(epoch from '2026-06-21 20:03:31'::timestamp) - extract(epoch from '2026-06-21 20:03: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'), 46674, 'SRID=4674;POINT (-39.034368 -2.964699)', '2026-06-21 20:03:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034381 -2.964697)'), GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964699)'))) / (select extract(epoch from '2026-06-21 20:03:42'::timestamp) - extract(epoch from '2026-06-21 20:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034381 -2.964697)'), GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964699)'))) / (select extract(epoch from '2026-06-21 20:03:42'::timestamp) - extract(epoch from '2026-06-21 20:03: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'), 46674, 'SRID=4674;POINT (-39.034378 -2.964677)', '2026-06-21 20:05:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964699)'), GeomFromEWKT('SRID=4674;POINT (-39.034378 -2.964677)'))) / (select extract(epoch from '2026-06-21 20:05:04'::timestamp) - extract(epoch from '2026-06-21 20:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034368 -2.964699)'), GeomFromEWKT('SRID=4674;POINT (-39.034378 -2.964677)'))) / (select extract(epoch from '2026-06-21 20:05:04'::timestamp) - extract(epoch from '2026-06-21 20:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034351 -2.96462)', '2026-06-21 20:08:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034378 -2.964677)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.96462)'))) / (select extract(epoch from '2026-06-21 20:08:19'::timestamp) - extract(epoch from '2026-06-21 20:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034378 -2.964677)'), GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.96462)'))) / (select extract(epoch from '2026-06-21 20:08:19'::timestamp) - extract(epoch from '2026-06-21 20:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034385 -2.96459)', '2026-06-21 20:08:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.96462)'), GeomFromEWKT('SRID=4674;POINT (-39.034385 -2.96459)'))) / (select extract(epoch from '2026-06-21 20:08:35'::timestamp) - extract(epoch from '2026-06-21 20:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034351 -2.96462)'), GeomFromEWKT('SRID=4674;POINT (-39.034385 -2.96459)'))) / (select extract(epoch from '2026-06-21 20:08:35'::timestamp) - extract(epoch from '2026-06-21 20:08: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'), 46674, 'SRID=4674;POINT (-39.034372 -2.964621)', '2026-06-21 20:10:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034385 -2.96459)'), GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964621)'))) / (select extract(epoch from '2026-06-21 20:10:09'::timestamp) - extract(epoch from '2026-06-21 20:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034385 -2.96459)'), GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964621)'))) / (select extract(epoch from '2026-06-21 20:10:09'::timestamp) - extract(epoch from '2026-06-21 20:08: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'), 46674, 'SRID=4674;POINT (-39.034367 -2.964626)', '2026-06-21 20:10:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964621)'), GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964626)'))) / (select extract(epoch from '2026-06-21 20:10:13'::timestamp) - extract(epoch from '2026-06-21 20:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034372 -2.964621)'), GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964626)'))) / (select extract(epoch from '2026-06-21 20:10:13'::timestamp) - extract(epoch from '2026-06-21 20: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'), 46674, 'SRID=4674;POINT (-39.034355 -2.964653)', '2026-06-21 20:11:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964626)'), GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964653)'))) / (select extract(epoch from '2026-06-21 20:11:07'::timestamp) - extract(epoch from '2026-06-21 20:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034367 -2.964626)'), GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964653)'))) / (select extract(epoch from '2026-06-21 20:11:07'::timestamp) - extract(epoch from '2026-06-21 20:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034352 -2.964655)', '2026-06-21 20:11:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964653)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964655)'))) / (select extract(epoch from '2026-06-21 20:11:41'::timestamp) - extract(epoch from '2026-06-21 20:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964653)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964655)'))) / (select extract(epoch from '2026-06-21 20:11:41'::timestamp) - extract(epoch from '2026-06-21 20:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034344 -2.964649)', '2026-06-21 20:11:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964655)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964649)'))) / (select extract(epoch from '2026-06-21 20:11:47'::timestamp) - extract(epoch from '2026-06-21 20:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964655)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964649)'))) / (select extract(epoch from '2026-06-21 20:11:47'::timestamp) - extract(epoch from '2026-06-21 20:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034374 -2.964661)', '2026-06-21 20:12:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.034374 -2.964661)'))) / (select extract(epoch from '2026-06-21 20:12:10'::timestamp) - extract(epoch from '2026-06-21 20:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.034374 -2.964661)'))) / (select extract(epoch from '2026-06-21 20:12:10'::timestamp) - extract(epoch from '2026-06-21 20: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'), 46674, 'SRID=4674;POINT (-39.034356 -2.964658)', '2026-06-21 20:12:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034374 -2.964661)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964658)'))) / (select extract(epoch from '2026-06-21 20:12:20'::timestamp) - extract(epoch from '2026-06-21 20:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034374 -2.964661)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964658)'))) / (select extract(epoch from '2026-06-21 20:12:20'::timestamp) - extract(epoch from '2026-06-21 20:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034344 -2.964649)', '2026-06-21 20:12:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964658)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964649)'))) / (select extract(epoch from '2026-06-21 20:12:33'::timestamp) - extract(epoch from '2026-06-21 20:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -2.964658)'), GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964649)'))) / (select extract(epoch from '2026-06-21 20:12:33'::timestamp) - extract(epoch from '2026-06-21 20:12: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'), 46674, 'SRID=4674;POINT (-39.034352 -2.964641)', '2026-06-21 20:12:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964641)'))) / (select extract(epoch from '2026-06-21 20:12:47'::timestamp) - extract(epoch from '2026-06-21 20:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034344 -2.964649)'), GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964641)'))) / (select extract(epoch from '2026-06-21 20:12:47'::timestamp) - extract(epoch from '2026-06-21 20:12: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'), 46674, 'SRID=4674;POINT (-39.034363 -2.964681)', '2026-06-21 20:13:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964641)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964681)'))) / (select extract(epoch from '2026-06-21 20:13:00'::timestamp) - extract(epoch from '2026-06-21 20:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034352 -2.964641)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964681)'))) / (select extract(epoch from '2026-06-21 20:13:00'::timestamp) - extract(epoch from '2026-06-21 20:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034362 -2.964672)', '2026-06-21 20:14:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964681)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964672)'))) / (select extract(epoch from '2026-06-21 20:14:13'::timestamp) - extract(epoch from '2026-06-21 20:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -2.964681)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964672)'))) / (select extract(epoch from '2026-06-21 20:14:13'::timestamp) - extract(epoch from '2026-06-21 20:13: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'), 46674, 'SRID=4674;POINT (-39.034353 -2.964709)', '2026-06-21 20:15:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964672)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964709)'))) / (select extract(epoch from '2026-06-21 20:15:41'::timestamp) - extract(epoch from '2026-06-21 20:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -2.964672)'), GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964709)'))) / (select extract(epoch from '2026-06-21 20:15:41'::timestamp) - extract(epoch from '2026-06-21 20:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.03437 -2.96474)', '2026-06-21 20:16:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964709)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.96474)'))) / (select extract(epoch from '2026-06-21 20:16:26'::timestamp) - extract(epoch from '2026-06-21 20:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034353 -2.964709)'), GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.96474)'))) / (select extract(epoch from '2026-06-21 20:16:26'::timestamp) - extract(epoch from '2026-06-21 20:15: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'), 46674, 'SRID=4674;POINT (-39.034355 -2.964742)', '2026-06-21 20:16:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.96474)'), GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964742)'))) / (select extract(epoch from '2026-06-21 20:16:35'::timestamp) - extract(epoch from '2026-06-21 20:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03437 -2.96474)'), GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964742)'))) / (select extract(epoch from '2026-06-21 20:16:35'::timestamp) - extract(epoch from '2026-06-21 20:16: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'), 46674, 'SRID=4674;POINT (-39.03434 -2.964734)', '2026-06-21 20:16:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964742)'), GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964734)'))) / (select extract(epoch from '2026-06-21 20:16:42'::timestamp) - extract(epoch from '2026-06-21 20:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034355 -2.964742)'), GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964734)'))) / (select extract(epoch from '2026-06-21 20:16:42'::timestamp) - extract(epoch from '2026-06-21 20:16: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'), 46674, 'SRID=4674;POINT (-39.034319 -2.964703)', '2026-06-21 20:17:38', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964734)'), GeomFromEWKT('SRID=4674;POINT (-39.034319 -2.964703)'))) / (select extract(epoch from '2026-06-21 20:17:38'::timestamp) - extract(epoch from '2026-06-21 20:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03434 -2.964734)'), GeomFromEWKT('SRID=4674;POINT (-39.034319 -2.964703)'))) / (select extract(epoch from '2026-06-21 20:17:38'::timestamp) - extract(epoch from '2026-06-21 20:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034316 -2.964705)', '2026-06-21 20:17:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034319 -2.964703)'), GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.964705)'))) / (select extract(epoch from '2026-06-21 20:17:46'::timestamp) - extract(epoch from '2026-06-21 20:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034319 -2.964703)'), GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.964705)'))) / (select extract(epoch from '2026-06-21 20:17:46'::timestamp) - extract(epoch from '2026-06-21 20:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034315 -2.964708)', '2026-06-21 20:17:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.964705)'), GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964708)'))) / (select extract(epoch from '2026-06-21 20:17:54'::timestamp) - extract(epoch from '2026-06-21 20:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034316 -2.964705)'), GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964708)'))) / (select extract(epoch from '2026-06-21 20:17:54'::timestamp) - extract(epoch from '2026-06-21 20:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034321 -2.964705)', '2026-06-21 20:18:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964708)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964705)'))) / (select extract(epoch from '2026-06-21 20:18:02'::timestamp) - extract(epoch from '2026-06-21 20:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964708)'), GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964705)'))) / (select extract(epoch from '2026-06-21 20:18:02'::timestamp) - extract(epoch from '2026-06-21 20:17: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'), 46674, 'SRID=4674;POINT (-39.034325 -2.964706)', '2026-06-21 20:18:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964705)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964706)'))) / (select extract(epoch from '2026-06-21 20:18:15'::timestamp) - extract(epoch from '2026-06-21 20:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034321 -2.964705)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964706)'))) / (select extract(epoch from '2026-06-21 20:18:15'::timestamp) - extract(epoch from '2026-06-21 20:18: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'), 46674, 'SRID=4674;POINT (-39.034322 -2.964718)', '2026-06-21 20:18:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964706)'), GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964718)'))) / (select extract(epoch from '2026-06-21 20:18:40'::timestamp) - extract(epoch from '2026-06-21 20:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.964706)'), GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964718)'))) / (select extract(epoch from '2026-06-21 20:18:40'::timestamp) - extract(epoch from '2026-06-21 20:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034317 -2.964704)', '2026-06-21 20:18:45', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964718)'), GeomFromEWKT('SRID=4674;POINT (-39.034317 -2.964704)'))) / (select extract(epoch from '2026-06-21 20:18:45'::timestamp) - extract(epoch from '2026-06-21 20:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034322 -2.964718)'), GeomFromEWKT('SRID=4674;POINT (-39.034317 -2.964704)'))) / (select extract(epoch from '2026-06-21 20:18:45'::timestamp) - extract(epoch from '2026-06-21 20:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034327 -2.964695)', '2026-06-21 20:18:52', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034317 -2.964704)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964695)'))) / (select extract(epoch from '2026-06-21 20:18:52'::timestamp) - extract(epoch from '2026-06-21 20:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034317 -2.964704)'), GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964695)'))) / (select extract(epoch from '2026-06-21 20:18:52'::timestamp) - extract(epoch from '2026-06-21 20:18: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'), 46674, 'SRID=4674;POINT (-39.034311 -2.964694)', '2026-06-21 20:19:05', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964695)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964694)'))) / (select extract(epoch from '2026-06-21 20:19:05'::timestamp) - extract(epoch from '2026-06-21 20:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034327 -2.964695)'), GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964694)'))) / (select extract(epoch from '2026-06-21 20:19:05'::timestamp) - extract(epoch from '2026-06-21 20:18: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'), 46674, 'SRID=4674;POINT (-39.034315 -2.964719)', '2026-06-21 20:19:43', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964694)'), GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964719)'))) / (select extract(epoch from '2026-06-21 20:19:43'::timestamp) - extract(epoch from '2026-06-21 20:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034311 -2.964694)'), GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964719)'))) / (select extract(epoch from '2026-06-21 20:19:43'::timestamp) - extract(epoch from '2026-06-21 20:19:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-39.034325 -2.96472)', '2026-06-21 20:20:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964719)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.96472)'))) / (select extract(epoch from '2026-06-21 20:20:13'::timestamp) - extract(epoch from '2026-06-21 20:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034315 -2.964719)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -2.96472)'))) / (select extract(epoch from '2026-06-21 20:20:13'::timestamp) - extract(epoch from '2026-06-21 20:19:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
