 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347424 -3.298402)', '2026-07-12 09:36:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347381 -3.298362)'), GeomFromEWKT('SRID=4674;POINT (-38.347424 -3.298402)'))) / (select extract(epoch from '2026-07-12 09:36:28'::timestamp) - extract(epoch from '2026-07-12 09:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347381 -3.298362)'), GeomFromEWKT('SRID=4674;POINT (-38.347424 -3.298402)'))) / (select extract(epoch from '2026-07-12 09:36:28'::timestamp) - extract(epoch from '2026-07-12 09:36: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'), 47392, 'SRID=4674;POINT (-38.347453 -3.298436)', '2026-07-12 09:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347424 -3.298402)'), GeomFromEWKT('SRID=4674;POINT (-38.347453 -3.298436)'))) / (select extract(epoch from '2026-07-12 09:36:34'::timestamp) - extract(epoch from '2026-07-12 09:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347424 -3.298402)'), GeomFromEWKT('SRID=4674;POINT (-38.347453 -3.298436)'))) / (select extract(epoch from '2026-07-12 09:36:34'::timestamp) - extract(epoch from '2026-07-12 09:36: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'), 47392, 'SRID=4674;POINT (-38.347487 -3.298461)', '2026-07-12 09:36:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347453 -3.298436)'), GeomFromEWKT('SRID=4674;POINT (-38.347487 -3.298461)'))) / (select extract(epoch from '2026-07-12 09:36:38'::timestamp) - extract(epoch from '2026-07-12 09:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347453 -3.298436)'), GeomFromEWKT('SRID=4674;POINT (-38.347487 -3.298461)'))) / (select extract(epoch from '2026-07-12 09:36:38'::timestamp) - extract(epoch from '2026-07-12 09:36: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'), 47392, 'SRID=4674;POINT (-38.347488 -3.29847)', '2026-07-12 09:36:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347487 -3.298461)'), GeomFromEWKT('SRID=4674;POINT (-38.347488 -3.29847)'))) / (select extract(epoch from '2026-07-12 09:36:39'::timestamp) - extract(epoch from '2026-07-12 09:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347487 -3.298461)'), GeomFromEWKT('SRID=4674;POINT (-38.347488 -3.29847)'))) / (select extract(epoch from '2026-07-12 09:36:39'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347502 -3.298487)', '2026-07-12 09:36:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347488 -3.29847)'), GeomFromEWKT('SRID=4674;POINT (-38.347502 -3.298487)'))) / (select extract(epoch from '2026-07-12 09:36:42'::timestamp) - extract(epoch from '2026-07-12 09:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347488 -3.29847)'), GeomFromEWKT('SRID=4674;POINT (-38.347502 -3.298487)'))) / (select extract(epoch from '2026-07-12 09:36:42'::timestamp) - extract(epoch from '2026-07-12 09:36: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'), 47392, 'SRID=4674;POINT (-38.347531 -3.298498)', '2026-07-12 09:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347502 -3.298487)'), GeomFromEWKT('SRID=4674;POINT (-38.347531 -3.298498)'))) / (select extract(epoch from '2026-07-12 09:36:44'::timestamp) - extract(epoch from '2026-07-12 09:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347502 -3.298487)'), GeomFromEWKT('SRID=4674;POINT (-38.347531 -3.298498)'))) / (select extract(epoch from '2026-07-12 09:36:44'::timestamp) - extract(epoch from '2026-07-12 09:36: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'), 47392, 'SRID=4674;POINT (-38.347572 -3.298533)', '2026-07-12 09:36:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347531 -3.298498)'), GeomFromEWKT('SRID=4674;POINT (-38.347572 -3.298533)'))) / (select extract(epoch from '2026-07-12 09:36:49'::timestamp) - extract(epoch from '2026-07-12 09:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347531 -3.298498)'), GeomFromEWKT('SRID=4674;POINT (-38.347572 -3.298533)'))) / (select extract(epoch from '2026-07-12 09:36:49'::timestamp) - extract(epoch from '2026-07-12 09:36: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'), 47392, 'SRID=4674;POINT (-38.347655 -3.298596)', '2026-07-12 09:36:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347572 -3.298533)'), GeomFromEWKT('SRID=4674;POINT (-38.347655 -3.298596)'))) / (select extract(epoch from '2026-07-12 09:36:56'::timestamp) - extract(epoch from '2026-07-12 09:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347572 -3.298533)'), GeomFromEWKT('SRID=4674;POINT (-38.347655 -3.298596)'))) / (select extract(epoch from '2026-07-12 09:36:56'::timestamp) - extract(epoch from '2026-07-12 09:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347661 -3.298611)', '2026-07-12 09:36:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347655 -3.298596)'), GeomFromEWKT('SRID=4674;POINT (-38.347661 -3.298611)'))) / (select extract(epoch from '2026-07-12 09:36:57'::timestamp) - extract(epoch from '2026-07-12 09:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347655 -3.298596)'), GeomFromEWKT('SRID=4674;POINT (-38.347661 -3.298611)'))) / (select extract(epoch from '2026-07-12 09:36:57'::timestamp) - extract(epoch from '2026-07-12 09:36: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'), 47392, 'SRID=4674;POINT (-38.347723 -3.298684)', '2026-07-12 09:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347661 -3.298611)'), GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.298684)'))) / (select extract(epoch from '2026-07-12 09:37:03'::timestamp) - extract(epoch from '2026-07-12 09:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347661 -3.298611)'), GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.298684)'))) / (select extract(epoch from '2026-07-12 09:37:03'::timestamp) - extract(epoch from '2026-07-12 09:36: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'), 47392, 'SRID=4674;POINT (-38.34779 -3.298754)', '2026-07-12 09:37:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.298684)'), GeomFromEWKT('SRID=4674;POINT (-38.34779 -3.298754)'))) / (select extract(epoch from '2026-07-12 09:37:09'::timestamp) - extract(epoch from '2026-07-12 09:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.298684)'), GeomFromEWKT('SRID=4674;POINT (-38.34779 -3.298754)'))) / (select extract(epoch from '2026-07-12 09:37:09'::timestamp) - extract(epoch from '2026-07-12 09:37: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'), 47392, 'SRID=4674;POINT (-38.347848 -3.298808)', '2026-07-12 09:37:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34779 -3.298754)'), GeomFromEWKT('SRID=4674;POINT (-38.347848 -3.298808)'))) / (select extract(epoch from '2026-07-12 09:37:15'::timestamp) - extract(epoch from '2026-07-12 09:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34779 -3.298754)'), GeomFromEWKT('SRID=4674;POINT (-38.347848 -3.298808)'))) / (select extract(epoch from '2026-07-12 09:37:15'::timestamp) - extract(epoch from '2026-07-12 09:37: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'), 47392, 'SRID=4674;POINT (-38.347874 -3.298827)', '2026-07-12 09:37:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347848 -3.298808)'), GeomFromEWKT('SRID=4674;POINT (-38.347874 -3.298827)'))) / (select extract(epoch from '2026-07-12 09:37:17'::timestamp) - extract(epoch from '2026-07-12 09:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347848 -3.298808)'), GeomFromEWKT('SRID=4674;POINT (-38.347874 -3.298827)'))) / (select extract(epoch from '2026-07-12 09:37:17'::timestamp) - extract(epoch from '2026-07-12 09:37: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'), 47392, 'SRID=4674;POINT (-38.347895 -3.29885)', '2026-07-12 09:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347874 -3.298827)'), GeomFromEWKT('SRID=4674;POINT (-38.347895 -3.29885)'))) / (select extract(epoch from '2026-07-12 09:37:20'::timestamp) - extract(epoch from '2026-07-12 09:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347874 -3.298827)'), GeomFromEWKT('SRID=4674;POINT (-38.347895 -3.29885)'))) / (select extract(epoch from '2026-07-12 09:37:20'::timestamp) - extract(epoch from '2026-07-12 09:37: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'), 47392, 'SRID=4674;POINT (-38.347957 -3.29888)', '2026-07-12 09:37:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347895 -3.29885)'), GeomFromEWKT('SRID=4674;POINT (-38.347957 -3.29888)'))) / (select extract(epoch from '2026-07-12 09:37:24'::timestamp) - extract(epoch from '2026-07-12 09:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347895 -3.29885)'), GeomFromEWKT('SRID=4674;POINT (-38.347957 -3.29888)'))) / (select extract(epoch from '2026-07-12 09:37:24'::timestamp) - extract(epoch from '2026-07-12 09:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.34803 -3.298956)', '2026-07-12 09:37:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347957 -3.29888)'), GeomFromEWKT('SRID=4674;POINT (-38.34803 -3.298956)'))) / (select extract(epoch from '2026-07-12 09:37:32'::timestamp) - extract(epoch from '2026-07-12 09:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347957 -3.29888)'), GeomFromEWKT('SRID=4674;POINT (-38.34803 -3.298956)'))) / (select extract(epoch from '2026-07-12 09:37:32'::timestamp) - extract(epoch from '2026-07-12 09:37: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'), 47392, 'SRID=4674;POINT (-38.348038 -3.298967)', '2026-07-12 09:37:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34803 -3.298956)'), GeomFromEWKT('SRID=4674;POINT (-38.348038 -3.298967)'))) / (select extract(epoch from '2026-07-12 09:37:33'::timestamp) - extract(epoch from '2026-07-12 09:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34803 -3.298956)'), GeomFromEWKT('SRID=4674;POINT (-38.348038 -3.298967)'))) / (select extract(epoch from '2026-07-12 09:37:33'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.348065 -3.299014)', '2026-07-12 09:37:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348038 -3.298967)'), GeomFromEWKT('SRID=4674;POINT (-38.348065 -3.299014)'))) / (select extract(epoch from '2026-07-12 09:37:37'::timestamp) - extract(epoch from '2026-07-12 09:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348038 -3.298967)'), GeomFromEWKT('SRID=4674;POINT (-38.348065 -3.299014)'))) / (select extract(epoch from '2026-07-12 09:37:37'::timestamp) - extract(epoch from '2026-07-12 09:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348096 -3.299083)', '2026-07-12 09:37:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348065 -3.299014)'), GeomFromEWKT('SRID=4674;POINT (-38.348096 -3.299083)'))) / (select extract(epoch from '2026-07-12 09:37:44'::timestamp) - extract(epoch from '2026-07-12 09:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348065 -3.299014)'), GeomFromEWKT('SRID=4674;POINT (-38.348096 -3.299083)'))) / (select extract(epoch from '2026-07-12 09:37:44'::timestamp) - extract(epoch from '2026-07-12 09:37: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'), 47392, 'SRID=4674;POINT (-38.348105 -3.299091)', '2026-07-12 09:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348096 -3.299083)'), GeomFromEWKT('SRID=4674;POINT (-38.348105 -3.299091)'))) / (select extract(epoch from '2026-07-12 09:37:45'::timestamp) - extract(epoch from '2026-07-12 09:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348096 -3.299083)'), GeomFromEWKT('SRID=4674;POINT (-38.348105 -3.299091)'))) / (select extract(epoch from '2026-07-12 09:37:45'::timestamp) - extract(epoch from '2026-07-12 09:37: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'), 47392, 'SRID=4674;POINT (-38.348134 -3.299128)', '2026-07-12 09:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348105 -3.299091)'), GeomFromEWKT('SRID=4674;POINT (-38.348134 -3.299128)'))) / (select extract(epoch from '2026-07-12 09:37:49'::timestamp) - extract(epoch from '2026-07-12 09:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348105 -3.299091)'), GeomFromEWKT('SRID=4674;POINT (-38.348134 -3.299128)'))) / (select extract(epoch from '2026-07-12 09:37:49'::timestamp) - extract(epoch from '2026-07-12 09:37:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348162 -3.299185)', '2026-07-12 09:37:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348134 -3.299128)'), GeomFromEWKT('SRID=4674;POINT (-38.348162 -3.299185)'))) / (select extract(epoch from '2026-07-12 09:37:55'::timestamp) - extract(epoch from '2026-07-12 09:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348134 -3.299128)'), GeomFromEWKT('SRID=4674;POINT (-38.348162 -3.299185)'))) / (select extract(epoch from '2026-07-12 09:37:55'::timestamp) - extract(epoch from '2026-07-12 09:37: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'), 47392, 'SRID=4674;POINT (-38.348189 -3.299266)', '2026-07-12 09:38:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348162 -3.299185)'), GeomFromEWKT('SRID=4674;POINT (-38.348189 -3.299266)'))) / (select extract(epoch from '2026-07-12 09:38:02'::timestamp) - extract(epoch from '2026-07-12 09:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348162 -3.299185)'), GeomFromEWKT('SRID=4674;POINT (-38.348189 -3.299266)'))) / (select extract(epoch from '2026-07-12 09:38:02'::timestamp) - extract(epoch from '2026-07-12 09:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348211 -3.299352)', '2026-07-12 09:38:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348189 -3.299266)'), GeomFromEWKT('SRID=4674;POINT (-38.348211 -3.299352)'))) / (select extract(epoch from '2026-07-12 09:38:08'::timestamp) - extract(epoch from '2026-07-12 09:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348189 -3.299266)'), GeomFromEWKT('SRID=4674;POINT (-38.348211 -3.299352)'))) / (select extract(epoch from '2026-07-12 09:38:08'::timestamp) - extract(epoch from '2026-07-12 09:38: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'), 47392, 'SRID=4674;POINT (-38.348212 -3.299364)', '2026-07-12 09:38:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348211 -3.299352)'), GeomFromEWKT('SRID=4674;POINT (-38.348212 -3.299364)'))) / (select extract(epoch from '2026-07-12 09:38:09'::timestamp) - extract(epoch from '2026-07-12 09:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348211 -3.299352)'), GeomFromEWKT('SRID=4674;POINT (-38.348212 -3.299364)'))) / (select extract(epoch from '2026-07-12 09:38:09'::timestamp) - extract(epoch from '2026-07-12 09:38: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'), 47392, 'SRID=4674;POINT (-38.348234 -3.299421)', '2026-07-12 09:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348212 -3.299364)'), GeomFromEWKT('SRID=4674;POINT (-38.348234 -3.299421)'))) / (select extract(epoch from '2026-07-12 09:38:13'::timestamp) - extract(epoch from '2026-07-12 09:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348212 -3.299364)'), GeomFromEWKT('SRID=4674;POINT (-38.348234 -3.299421)'))) / (select extract(epoch from '2026-07-12 09:38:13'::timestamp) - extract(epoch from '2026-07-12 09:38: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'), 47392, 'SRID=4674;POINT (-38.348242 -3.299525)', '2026-07-12 09:38:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348234 -3.299421)'), GeomFromEWKT('SRID=4674;POINT (-38.348242 -3.299525)'))) / (select extract(epoch from '2026-07-12 09:38:21'::timestamp) - extract(epoch from '2026-07-12 09:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348234 -3.299421)'), GeomFromEWKT('SRID=4674;POINT (-38.348242 -3.299525)'))) / (select extract(epoch from '2026-07-12 09:38:21'::timestamp) - extract(epoch from '2026-07-12 09:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348245 -3.299589)', '2026-07-12 09:38:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348242 -3.299525)'), GeomFromEWKT('SRID=4674;POINT (-38.348245 -3.299589)'))) / (select extract(epoch from '2026-07-12 09:38:27'::timestamp) - extract(epoch from '2026-07-12 09:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348242 -3.299525)'), GeomFromEWKT('SRID=4674;POINT (-38.348245 -3.299589)'))) / (select extract(epoch from '2026-07-12 09:38:27'::timestamp) - extract(epoch from '2026-07-12 09:38: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'), 47392, 'SRID=4674;POINT (-38.348241 -3.2996)', '2026-07-12 09:38:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348245 -3.299589)'), GeomFromEWKT('SRID=4674;POINT (-38.348241 -3.2996)'))) / (select extract(epoch from '2026-07-12 09:38:28'::timestamp) - extract(epoch from '2026-07-12 09:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348245 -3.299589)'), GeomFromEWKT('SRID=4674;POINT (-38.348241 -3.2996)'))) / (select extract(epoch from '2026-07-12 09:38:28'::timestamp) - extract(epoch from '2026-07-12 09:38: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'), 47392, 'SRID=4674;POINT (-38.348229 -3.299642)', '2026-07-12 09:38:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348241 -3.2996)'), GeomFromEWKT('SRID=4674;POINT (-38.348229 -3.299642)'))) / (select extract(epoch from '2026-07-12 09:38:33'::timestamp) - extract(epoch from '2026-07-12 09:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348241 -3.2996)'), GeomFromEWKT('SRID=4674;POINT (-38.348229 -3.299642)'))) / (select extract(epoch from '2026-07-12 09:38:33'::timestamp) - extract(epoch from '2026-07-12 09:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348233 -3.299701)', '2026-07-12 09:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348229 -3.299642)'), GeomFromEWKT('SRID=4674;POINT (-38.348233 -3.299701)'))) / (select extract(epoch from '2026-07-12 09:38:41'::timestamp) - extract(epoch from '2026-07-12 09:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348229 -3.299642)'), GeomFromEWKT('SRID=4674;POINT (-38.348233 -3.299701)'))) / (select extract(epoch from '2026-07-12 09:38:41'::timestamp) - extract(epoch from '2026-07-12 09:38: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'), 47392, 'SRID=4674;POINT (-38.348237 -3.299708)', '2026-07-12 09:38:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348233 -3.299701)'), GeomFromEWKT('SRID=4674;POINT (-38.348237 -3.299708)'))) / (select extract(epoch from '2026-07-12 09:38:42'::timestamp) - extract(epoch from '2026-07-12 09:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348233 -3.299701)'), GeomFromEWKT('SRID=4674;POINT (-38.348237 -3.299708)'))) / (select extract(epoch from '2026-07-12 09:38:42'::timestamp) - extract(epoch from '2026-07-12 09:38: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'), 47392, 'SRID=4674;POINT (-38.348225 -3.299769)', '2026-07-12 09:38:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348237 -3.299708)'), GeomFromEWKT('SRID=4674;POINT (-38.348225 -3.299769)'))) / (select extract(epoch from '2026-07-12 09:38:48'::timestamp) - extract(epoch from '2026-07-12 09:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348237 -3.299708)'), GeomFromEWKT('SRID=4674;POINT (-38.348225 -3.299769)'))) / (select extract(epoch from '2026-07-12 09:38:48'::timestamp) - extract(epoch from '2026-07-12 09:38: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'), 47392, 'SRID=4674;POINT (-38.348221 -3.299787)', '2026-07-12 09:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348225 -3.299769)'), GeomFromEWKT('SRID=4674;POINT (-38.348221 -3.299787)'))) / (select extract(epoch from '2026-07-12 09:38:50'::timestamp) - extract(epoch from '2026-07-12 09:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348225 -3.299769)'), GeomFromEWKT('SRID=4674;POINT (-38.348221 -3.299787)'))) / (select extract(epoch from '2026-07-12 09:38:50'::timestamp) - extract(epoch from '2026-07-12 09:38: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'), 47392, 'SRID=4674;POINT (-38.348208 -3.299821)', '2026-07-12 09:38:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348221 -3.299787)'), GeomFromEWKT('SRID=4674;POINT (-38.348208 -3.299821)'))) / (select extract(epoch from '2026-07-12 09:38:55'::timestamp) - extract(epoch from '2026-07-12 09:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348221 -3.299787)'), GeomFromEWKT('SRID=4674;POINT (-38.348208 -3.299821)'))) / (select extract(epoch from '2026-07-12 09:38:55'::timestamp) - extract(epoch from '2026-07-12 09:38: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'), 47392, 'SRID=4674;POINT (-38.348189 -3.29987)', '2026-07-12 09:39:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348208 -3.299821)'), GeomFromEWKT('SRID=4674;POINT (-38.348189 -3.29987)'))) / (select extract(epoch from '2026-07-12 09:39:00'::timestamp) - extract(epoch from '2026-07-12 09:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348208 -3.299821)'), GeomFromEWKT('SRID=4674;POINT (-38.348189 -3.29987)'))) / (select extract(epoch from '2026-07-12 09:39:00'::timestamp) - extract(epoch from '2026-07-12 09:38:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348195 -3.29989)', '2026-07-12 09:39:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348189 -3.29987)'), GeomFromEWKT('SRID=4674;POINT (-38.348195 -3.29989)'))) / (select extract(epoch from '2026-07-12 09:39:02'::timestamp) - extract(epoch from '2026-07-12 09:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348189 -3.29987)'), GeomFromEWKT('SRID=4674;POINT (-38.348195 -3.29989)'))) / (select extract(epoch from '2026-07-12 09:39:02'::timestamp) - extract(epoch from '2026-07-12 09:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348149 -3.299991)', '2026-07-12 09:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348195 -3.29989)'), GeomFromEWKT('SRID=4674;POINT (-38.348149 -3.299991)'))) / (select extract(epoch from '2026-07-12 09:39:12'::timestamp) - extract(epoch from '2026-07-12 09:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348195 -3.29989)'), GeomFromEWKT('SRID=4674;POINT (-38.348149 -3.299991)'))) / (select extract(epoch from '2026-07-12 09:39:12'::timestamp) - extract(epoch from '2026-07-12 09:39: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'), 47392, 'SRID=4674;POINT (-38.348111 -3.300049)', '2026-07-12 09:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348149 -3.299991)'), GeomFromEWKT('SRID=4674;POINT (-38.348111 -3.300049)'))) / (select extract(epoch from '2026-07-12 09:39:18'::timestamp) - extract(epoch from '2026-07-12 09:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348149 -3.299991)'), GeomFromEWKT('SRID=4674;POINT (-38.348111 -3.300049)'))) / (select extract(epoch from '2026-07-12 09:39:18'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.348071 -3.300113)', '2026-07-12 09:39:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348111 -3.300049)'), GeomFromEWKT('SRID=4674;POINT (-38.348071 -3.300113)'))) / (select extract(epoch from '2026-07-12 09:39:24'::timestamp) - extract(epoch from '2026-07-12 09:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348111 -3.300049)'), GeomFromEWKT('SRID=4674;POINT (-38.348071 -3.300113)'))) / (select extract(epoch from '2026-07-12 09:39:24'::timestamp) - extract(epoch from '2026-07-12 09:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348055 -3.30013)', '2026-07-12 09:39:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348071 -3.300113)'), GeomFromEWKT('SRID=4674;POINT (-38.348055 -3.30013)'))) / (select extract(epoch from '2026-07-12 09:39:26'::timestamp) - extract(epoch from '2026-07-12 09:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348071 -3.300113)'), GeomFromEWKT('SRID=4674;POINT (-38.348055 -3.30013)'))) / (select extract(epoch from '2026-07-12 09:39:26'::timestamp) - extract(epoch from '2026-07-12 09:39: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'), 47392, 'SRID=4674;POINT (-38.34804 -3.300165)', '2026-07-12 09:39:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348055 -3.30013)'), GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.300165)'))) / (select extract(epoch from '2026-07-12 09:39:30'::timestamp) - extract(epoch from '2026-07-12 09:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348055 -3.30013)'), GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.300165)'))) / (select extract(epoch from '2026-07-12 09:39:30'::timestamp) - extract(epoch from '2026-07-12 09:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348008 -3.30021)', '2026-07-12 09:39:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.300165)'), GeomFromEWKT('SRID=4674;POINT (-38.348008 -3.30021)'))) / (select extract(epoch from '2026-07-12 09:39:36'::timestamp) - extract(epoch from '2026-07-12 09:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.300165)'), GeomFromEWKT('SRID=4674;POINT (-38.348008 -3.30021)'))) / (select extract(epoch from '2026-07-12 09:39:36'::timestamp) - extract(epoch from '2026-07-12 09:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347986 -3.300263)', '2026-07-12 09:39:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348008 -3.30021)'), GeomFromEWKT('SRID=4674;POINT (-38.347986 -3.300263)'))) / (select extract(epoch from '2026-07-12 09:39:44'::timestamp) - extract(epoch from '2026-07-12 09:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348008 -3.30021)'), GeomFromEWKT('SRID=4674;POINT (-38.347986 -3.300263)'))) / (select extract(epoch from '2026-07-12 09:39:44'::timestamp) - extract(epoch from '2026-07-12 09:39: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'), 47392, 'SRID=4674;POINT (-38.347967 -3.300298)', '2026-07-12 09:39:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347986 -3.300263)'), GeomFromEWKT('SRID=4674;POINT (-38.347967 -3.300298)'))) / (select extract(epoch from '2026-07-12 09:39:49'::timestamp) - extract(epoch from '2026-07-12 09:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347986 -3.300263)'), GeomFromEWKT('SRID=4674;POINT (-38.347967 -3.300298)'))) / (select extract(epoch from '2026-07-12 09:39:49'::timestamp) - extract(epoch from '2026-07-12 09:39: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'), 47392, 'SRID=4674;POINT (-38.347926 -3.300368)', '2026-07-12 09:39:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347967 -3.300298)'), GeomFromEWKT('SRID=4674;POINT (-38.347926 -3.300368)'))) / (select extract(epoch from '2026-07-12 09:39:58'::timestamp) - extract(epoch from '2026-07-12 09:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347967 -3.300298)'), GeomFromEWKT('SRID=4674;POINT (-38.347926 -3.300368)'))) / (select extract(epoch from '2026-07-12 09:39:58'::timestamp) - extract(epoch from '2026-07-12 09:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347889 -3.300461)', '2026-07-12 09:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347926 -3.300368)'), GeomFromEWKT('SRID=4674;POINT (-38.347889 -3.300461)'))) / (select extract(epoch from '2026-07-12 09:40:08'::timestamp) - extract(epoch from '2026-07-12 09:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347926 -3.300368)'), GeomFromEWKT('SRID=4674;POINT (-38.347889 -3.300461)'))) / (select extract(epoch from '2026-07-12 09:40:08'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347871 -3.300562)', '2026-07-12 09:40:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347889 -3.300461)'), GeomFromEWKT('SRID=4674;POINT (-38.347871 -3.300562)'))) / (select extract(epoch from '2026-07-12 09:40:16'::timestamp) - extract(epoch from '2026-07-12 09:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347889 -3.300461)'), GeomFromEWKT('SRID=4674;POINT (-38.347871 -3.300562)'))) / (select extract(epoch from '2026-07-12 09:40:16'::timestamp) - extract(epoch from '2026-07-12 09:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347851 -3.300612)', '2026-07-12 09:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347871 -3.300562)'), GeomFromEWKT('SRID=4674;POINT (-38.347851 -3.300612)'))) / (select extract(epoch from '2026-07-12 09:40:20'::timestamp) - extract(epoch from '2026-07-12 09:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347871 -3.300562)'), GeomFromEWKT('SRID=4674;POINT (-38.347851 -3.300612)'))) / (select extract(epoch from '2026-07-12 09:40:20'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347842 -3.300652)', '2026-07-12 09:40:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347851 -3.300612)'), GeomFromEWKT('SRID=4674;POINT (-38.347842 -3.300652)'))) / (select extract(epoch from '2026-07-12 09:40:23'::timestamp) - extract(epoch from '2026-07-12 09:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347851 -3.300612)'), GeomFromEWKT('SRID=4674;POINT (-38.347842 -3.300652)'))) / (select extract(epoch from '2026-07-12 09:40:23'::timestamp) - extract(epoch from '2026-07-12 09:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347807 -3.300719)', '2026-07-12 09:40:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347842 -3.300652)'), GeomFromEWKT('SRID=4674;POINT (-38.347807 -3.300719)'))) / (select extract(epoch from '2026-07-12 09:40:29'::timestamp) - extract(epoch from '2026-07-12 09:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347842 -3.300652)'), GeomFromEWKT('SRID=4674;POINT (-38.347807 -3.300719)'))) / (select extract(epoch from '2026-07-12 09:40:29'::timestamp) - extract(epoch from '2026-07-12 09:40: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'), 47392, 'SRID=4674;POINT (-38.347777 -3.300796)', '2026-07-12 09:40:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347807 -3.300719)'), GeomFromEWKT('SRID=4674;POINT (-38.347777 -3.300796)'))) / (select extract(epoch from '2026-07-12 09:40:36'::timestamp) - extract(epoch from '2026-07-12 09:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347807 -3.300719)'), GeomFromEWKT('SRID=4674;POINT (-38.347777 -3.300796)'))) / (select extract(epoch from '2026-07-12 09:40:36'::timestamp) - extract(epoch from '2026-07-12 09:40: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'), 47392, 'SRID=4674;POINT (-38.347769 -3.300815)', '2026-07-12 09:40:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347777 -3.300796)'), GeomFromEWKT('SRID=4674;POINT (-38.347769 -3.300815)'))) / (select extract(epoch from '2026-07-12 09:40:38'::timestamp) - extract(epoch from '2026-07-12 09:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347777 -3.300796)'), GeomFromEWKT('SRID=4674;POINT (-38.347769 -3.300815)'))) / (select extract(epoch from '2026-07-12 09:40:38'::timestamp) - extract(epoch from '2026-07-12 09:40: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'), 47392, 'SRID=4674;POINT (-38.347759 -3.30086)', '2026-07-12 09:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347769 -3.300815)'), GeomFromEWKT('SRID=4674;POINT (-38.347759 -3.30086)'))) / (select extract(epoch from '2026-07-12 09:40:42'::timestamp) - extract(epoch from '2026-07-12 09:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347769 -3.300815)'), GeomFromEWKT('SRID=4674;POINT (-38.347759 -3.30086)'))) / (select extract(epoch from '2026-07-12 09:40:42'::timestamp) - extract(epoch from '2026-07-12 09:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347734 -3.30092)', '2026-07-12 09:40:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347759 -3.30086)'), GeomFromEWKT('SRID=4674;POINT (-38.347734 -3.30092)'))) / (select extract(epoch from '2026-07-12 09:40:49'::timestamp) - extract(epoch from '2026-07-12 09:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347759 -3.30086)'), GeomFromEWKT('SRID=4674;POINT (-38.347734 -3.30092)'))) / (select extract(epoch from '2026-07-12 09:40:49'::timestamp) - extract(epoch from '2026-07-12 09:40: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'), 47392, 'SRID=4674;POINT (-38.347691 -3.30099)', '2026-07-12 09:40:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347734 -3.30092)'), GeomFromEWKT('SRID=4674;POINT (-38.347691 -3.30099)'))) / (select extract(epoch from '2026-07-12 09:40:56'::timestamp) - extract(epoch from '2026-07-12 09:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347734 -3.30092)'), GeomFromEWKT('SRID=4674;POINT (-38.347691 -3.30099)'))) / (select extract(epoch from '2026-07-12 09:40:56'::timestamp) - extract(epoch from '2026-07-12 09:40: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'), 47392, 'SRID=4674;POINT (-38.347673 -3.301059)', '2026-07-12 09:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347691 -3.30099)'), GeomFromEWKT('SRID=4674;POINT (-38.347673 -3.301059)'))) / (select extract(epoch from '2026-07-12 09:41:02'::timestamp) - extract(epoch from '2026-07-12 09:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347691 -3.30099)'), GeomFromEWKT('SRID=4674;POINT (-38.347673 -3.301059)'))) / (select extract(epoch from '2026-07-12 09:41:02'::timestamp) - extract(epoch from '2026-07-12 09:40: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'), 47392, 'SRID=4674;POINT (-38.347669 -3.301085)', '2026-07-12 09:41:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347673 -3.301059)'), GeomFromEWKT('SRID=4674;POINT (-38.347669 -3.301085)'))) / (select extract(epoch from '2026-07-12 09:41:04'::timestamp) - extract(epoch from '2026-07-12 09:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347673 -3.301059)'), GeomFromEWKT('SRID=4674;POINT (-38.347669 -3.301085)'))) / (select extract(epoch from '2026-07-12 09:41:04'::timestamp) - extract(epoch from '2026-07-12 09:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347661 -3.301129)', '2026-07-12 09:41:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347669 -3.301085)'), GeomFromEWKT('SRID=4674;POINT (-38.347661 -3.301129)'))) / (select extract(epoch from '2026-07-12 09:41:08'::timestamp) - extract(epoch from '2026-07-12 09:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347669 -3.301085)'), GeomFromEWKT('SRID=4674;POINT (-38.347661 -3.301129)'))) / (select extract(epoch from '2026-07-12 09:41:08'::timestamp) - extract(epoch from '2026-07-12 09:41: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'), 47392, 'SRID=4674;POINT (-38.347653 -3.301145)', '2026-07-12 09:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347661 -3.301129)'), GeomFromEWKT('SRID=4674;POINT (-38.347653 -3.301145)'))) / (select extract(epoch from '2026-07-12 09:41:10'::timestamp) - extract(epoch from '2026-07-12 09:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347661 -3.301129)'), GeomFromEWKT('SRID=4674;POINT (-38.347653 -3.301145)'))) / (select extract(epoch from '2026-07-12 09:41:10'::timestamp) - extract(epoch from '2026-07-12 09:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347662 -3.301183)', '2026-07-12 09:41:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347653 -3.301145)'), GeomFromEWKT('SRID=4674;POINT (-38.347662 -3.301183)'))) / (select extract(epoch from '2026-07-12 09:41:13'::timestamp) - extract(epoch from '2026-07-12 09:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347653 -3.301145)'), GeomFromEWKT('SRID=4674;POINT (-38.347662 -3.301183)'))) / (select extract(epoch from '2026-07-12 09:41:13'::timestamp) - extract(epoch from '2026-07-12 09:41: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'), 47392, 'SRID=4674;POINT (-38.347665 -3.301243)', '2026-07-12 09:41:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347662 -3.301183)'), GeomFromEWKT('SRID=4674;POINT (-38.347665 -3.301243)'))) / (select extract(epoch from '2026-07-12 09:41:19'::timestamp) - extract(epoch from '2026-07-12 09:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347662 -3.301183)'), GeomFromEWKT('SRID=4674;POINT (-38.347665 -3.301243)'))) / (select extract(epoch from '2026-07-12 09:41:19'::timestamp) - extract(epoch from '2026-07-12 09:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.34766 -3.301322)', '2026-07-12 09:41:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347665 -3.301243)'), GeomFromEWKT('SRID=4674;POINT (-38.34766 -3.301322)'))) / (select extract(epoch from '2026-07-12 09:41:26'::timestamp) - extract(epoch from '2026-07-12 09:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347665 -3.301243)'), GeomFromEWKT('SRID=4674;POINT (-38.34766 -3.301322)'))) / (select extract(epoch from '2026-07-12 09:41:26'::timestamp) - extract(epoch from '2026-07-12 09:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347649 -3.301358)', '2026-07-12 09:41:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34766 -3.301322)'), GeomFromEWKT('SRID=4674;POINT (-38.347649 -3.301358)'))) / (select extract(epoch from '2026-07-12 09:41:29'::timestamp) - extract(epoch from '2026-07-12 09:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34766 -3.301322)'), GeomFromEWKT('SRID=4674;POINT (-38.347649 -3.301358)'))) / (select extract(epoch from '2026-07-12 09:41:29'::timestamp) - extract(epoch from '2026-07-12 09:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347658 -3.301391)', '2026-07-12 09:41:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347649 -3.301358)'), GeomFromEWKT('SRID=4674;POINT (-38.347658 -3.301391)'))) / (select extract(epoch from '2026-07-12 09:41:32'::timestamp) - extract(epoch from '2026-07-12 09:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347649 -3.301358)'), GeomFromEWKT('SRID=4674;POINT (-38.347658 -3.301391)'))) / (select extract(epoch from '2026-07-12 09:41:32'::timestamp) - extract(epoch from '2026-07-12 09:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347652 -3.301446)', '2026-07-12 09:41:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347658 -3.301391)'), GeomFromEWKT('SRID=4674;POINT (-38.347652 -3.301446)'))) / (select extract(epoch from '2026-07-12 09:41:38'::timestamp) - extract(epoch from '2026-07-12 09:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347658 -3.301391)'), GeomFromEWKT('SRID=4674;POINT (-38.347652 -3.301446)'))) / (select extract(epoch from '2026-07-12 09:41:38'::timestamp) - extract(epoch from '2026-07-12 09:41: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'), 47392, 'SRID=4674;POINT (-38.34765 -3.301492)', '2026-07-12 09:41:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347652 -3.301446)'), GeomFromEWKT('SRID=4674;POINT (-38.34765 -3.301492)'))) / (select extract(epoch from '2026-07-12 09:41:44'::timestamp) - extract(epoch from '2026-07-12 09:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347652 -3.301446)'), GeomFromEWKT('SRID=4674;POINT (-38.34765 -3.301492)'))) / (select extract(epoch from '2026-07-12 09:41:44'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347662 -3.301508)', '2026-07-12 09:41:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34765 -3.301492)'), GeomFromEWKT('SRID=4674;POINT (-38.347662 -3.301508)'))) / (select extract(epoch from '2026-07-12 09:41:46'::timestamp) - extract(epoch from '2026-07-12 09:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34765 -3.301492)'), GeomFromEWKT('SRID=4674;POINT (-38.347662 -3.301508)'))) / (select extract(epoch from '2026-07-12 09:41:46'::timestamp) - extract(epoch from '2026-07-12 09:41: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'), 47392, 'SRID=4674;POINT (-38.347664 -3.30154)', '2026-07-12 09:41:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347662 -3.301508)'), GeomFromEWKT('SRID=4674;POINT (-38.347664 -3.30154)'))) / (select extract(epoch from '2026-07-12 09:41:50'::timestamp) - extract(epoch from '2026-07-12 09:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347662 -3.301508)'), GeomFromEWKT('SRID=4674;POINT (-38.347664 -3.30154)'))) / (select extract(epoch from '2026-07-12 09:41:50'::timestamp) - extract(epoch from '2026-07-12 09:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347674 -3.301551)', '2026-07-12 09:41:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347664 -3.30154)'), GeomFromEWKT('SRID=4674;POINT (-38.347674 -3.301551)'))) / (select extract(epoch from '2026-07-12 09:41:51'::timestamp) - extract(epoch from '2026-07-12 09:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347664 -3.30154)'), GeomFromEWKT('SRID=4674;POINT (-38.347674 -3.301551)'))) / (select extract(epoch from '2026-07-12 09:41:51'::timestamp) - extract(epoch from '2026-07-12 09:41: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'), 47392, 'SRID=4674;POINT (-38.347677 -3.30156)', '2026-07-12 09:41:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347674 -3.301551)'), GeomFromEWKT('SRID=4674;POINT (-38.347677 -3.30156)'))) / (select extract(epoch from '2026-07-12 09:41:52'::timestamp) - extract(epoch from '2026-07-12 09:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347674 -3.301551)'), GeomFromEWKT('SRID=4674;POINT (-38.347677 -3.30156)'))) / (select extract(epoch from '2026-07-12 09:41:52'::timestamp) - extract(epoch from '2026-07-12 09:41: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'), 47392, 'SRID=4674;POINT (-38.347675 -3.30158)', '2026-07-12 09:41:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347677 -3.30156)'), GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.30158)'))) / (select extract(epoch from '2026-07-12 09:41:54'::timestamp) - extract(epoch from '2026-07-12 09:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347677 -3.30156)'), GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.30158)'))) / (select extract(epoch from '2026-07-12 09:41:54'::timestamp) - extract(epoch from '2026-07-12 09:41:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347682 -3.301589)', '2026-07-12 09:41:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.30158)'), GeomFromEWKT('SRID=4674;POINT (-38.347682 -3.301589)'))) / (select extract(epoch from '2026-07-12 09:41:55'::timestamp) - extract(epoch from '2026-07-12 09:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.30158)'), GeomFromEWKT('SRID=4674;POINT (-38.347682 -3.301589)'))) / (select extract(epoch from '2026-07-12 09:41:55'::timestamp) - extract(epoch from '2026-07-12 09:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347688 -3.301649)', '2026-07-12 09:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347682 -3.301589)'), GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.301649)'))) / (select extract(epoch from '2026-07-12 09:42:02'::timestamp) - extract(epoch from '2026-07-12 09:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347682 -3.301589)'), GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.301649)'))) / (select extract(epoch from '2026-07-12 09:42:02'::timestamp) - extract(epoch from '2026-07-12 09:41: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'), 47392, 'SRID=4674;POINT (-38.347696 -3.301782)', '2026-07-12 09:42:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.301649)'), GeomFromEWKT('SRID=4674;POINT (-38.347696 -3.301782)'))) / (select extract(epoch from '2026-07-12 09:42:14'::timestamp) - extract(epoch from '2026-07-12 09:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.301649)'), GeomFromEWKT('SRID=4674;POINT (-38.347696 -3.301782)'))) / (select extract(epoch from '2026-07-12 09:42:14'::timestamp) - extract(epoch from '2026-07-12 09:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347704 -3.301843)', '2026-07-12 09:42:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347696 -3.301782)'), GeomFromEWKT('SRID=4674;POINT (-38.347704 -3.301843)'))) / (select extract(epoch from '2026-07-12 09:42:21'::timestamp) - extract(epoch from '2026-07-12 09:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347696 -3.301782)'), GeomFromEWKT('SRID=4674;POINT (-38.347704 -3.301843)'))) / (select extract(epoch from '2026-07-12 09:42:21'::timestamp) - extract(epoch from '2026-07-12 09:42: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'), 47392, 'SRID=4674;POINT (-38.347724 -3.301924)', '2026-07-12 09:42:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347704 -3.301843)'), GeomFromEWKT('SRID=4674;POINT (-38.347724 -3.301924)'))) / (select extract(epoch from '2026-07-12 09:42:32'::timestamp) - extract(epoch from '2026-07-12 09:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347704 -3.301843)'), GeomFromEWKT('SRID=4674;POINT (-38.347724 -3.301924)'))) / (select extract(epoch from '2026-07-12 09:42:32'::timestamp) - extract(epoch from '2026-07-12 09:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347723 -3.30202)', '2026-07-12 09:42:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347724 -3.301924)'), GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.30202)'))) / (select extract(epoch from '2026-07-12 09:42:41'::timestamp) - extract(epoch from '2026-07-12 09:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347724 -3.301924)'), GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.30202)'))) / (select extract(epoch from '2026-07-12 09:42:41'::timestamp) - extract(epoch from '2026-07-12 09:42: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'), 47392, 'SRID=4674;POINT (-38.347721 -3.302081)', '2026-07-12 09:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.30202)'), GeomFromEWKT('SRID=4674;POINT (-38.347721 -3.302081)'))) / (select extract(epoch from '2026-07-12 09:42:47'::timestamp) - extract(epoch from '2026-07-12 09:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.30202)'), GeomFromEWKT('SRID=4674;POINT (-38.347721 -3.302081)'))) / (select extract(epoch from '2026-07-12 09:42:47'::timestamp) - extract(epoch from '2026-07-12 09:42: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'), 47392, 'SRID=4674;POINT (-38.347731 -3.302113)', '2026-07-12 09:42:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347721 -3.302081)'), GeomFromEWKT('SRID=4674;POINT (-38.347731 -3.302113)'))) / (select extract(epoch from '2026-07-12 09:42:53'::timestamp) - extract(epoch from '2026-07-12 09:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347721 -3.302081)'), GeomFromEWKT('SRID=4674;POINT (-38.347731 -3.302113)'))) / (select extract(epoch from '2026-07-12 09:42:53'::timestamp) - extract(epoch from '2026-07-12 09:42: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'), 47392, 'SRID=4674;POINT (-38.347725 -3.302198)', '2026-07-12 09:43:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347731 -3.302113)'), GeomFromEWKT('SRID=4674;POINT (-38.347725 -3.302198)'))) / (select extract(epoch from '2026-07-12 09:43:03'::timestamp) - extract(epoch from '2026-07-12 09:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347731 -3.302113)'), GeomFromEWKT('SRID=4674;POINT (-38.347725 -3.302198)'))) / (select extract(epoch from '2026-07-12 09:43:03'::timestamp) - extract(epoch from '2026-07-12 09:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347723 -3.302276)', '2026-07-12 09:43:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347725 -3.302198)'), GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.302276)'))) / (select extract(epoch from '2026-07-12 09:43:11'::timestamp) - extract(epoch from '2026-07-12 09:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347725 -3.302198)'), GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.302276)'))) / (select extract(epoch from '2026-07-12 09:43:11'::timestamp) - extract(epoch from '2026-07-12 09:43: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'), 47392, 'SRID=4674;POINT (-38.347709 -3.302389)', '2026-07-12 09:43:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.302276)'), GeomFromEWKT('SRID=4674;POINT (-38.347709 -3.302389)'))) / (select extract(epoch from '2026-07-12 09:43:21'::timestamp) - extract(epoch from '2026-07-12 09:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.302276)'), GeomFromEWKT('SRID=4674;POINT (-38.347709 -3.302389)'))) / (select extract(epoch from '2026-07-12 09:43:21'::timestamp) - extract(epoch from '2026-07-12 09:43: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'), 47392, 'SRID=4674;POINT (-38.347697 -3.302454)', '2026-07-12 09:43:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347709 -3.302389)'), GeomFromEWKT('SRID=4674;POINT (-38.347697 -3.302454)'))) / (select extract(epoch from '2026-07-12 09:43:28'::timestamp) - extract(epoch from '2026-07-12 09:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347709 -3.302389)'), GeomFromEWKT('SRID=4674;POINT (-38.347697 -3.302454)'))) / (select extract(epoch from '2026-07-12 09:43:28'::timestamp) - extract(epoch from '2026-07-12 09:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347671 -3.302527)', '2026-07-12 09:43:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347697 -3.302454)'), GeomFromEWKT('SRID=4674;POINT (-38.347671 -3.302527)'))) / (select extract(epoch from '2026-07-12 09:43:36'::timestamp) - extract(epoch from '2026-07-12 09:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347697 -3.302454)'), GeomFromEWKT('SRID=4674;POINT (-38.347671 -3.302527)'))) / (select extract(epoch from '2026-07-12 09:43:36'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347664 -3.3026)', '2026-07-12 09:43:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347671 -3.302527)'), GeomFromEWKT('SRID=4674;POINT (-38.347664 -3.3026)'))) / (select extract(epoch from '2026-07-12 09:43:43'::timestamp) - extract(epoch from '2026-07-12 09:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347671 -3.302527)'), GeomFromEWKT('SRID=4674;POINT (-38.347664 -3.3026)'))) / (select extract(epoch from '2026-07-12 09:43:43'::timestamp) - extract(epoch from '2026-07-12 09:43: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'), 47392, 'SRID=4674;POINT (-38.347675 -3.302664)', '2026-07-12 09:43:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347664 -3.3026)'), GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.302664)'))) / (select extract(epoch from '2026-07-12 09:43:50'::timestamp) - extract(epoch from '2026-07-12 09:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347664 -3.3026)'), GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.302664)'))) / (select extract(epoch from '2026-07-12 09:43:50'::timestamp) - extract(epoch from '2026-07-12 09:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347692 -3.302762)', '2026-07-12 09:44:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.302664)'), GeomFromEWKT('SRID=4674;POINT (-38.347692 -3.302762)'))) / (select extract(epoch from '2026-07-12 09:44:00'::timestamp) - extract(epoch from '2026-07-12 09:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.302664)'), GeomFromEWKT('SRID=4674;POINT (-38.347692 -3.302762)'))) / (select extract(epoch from '2026-07-12 09:44:00'::timestamp) - extract(epoch from '2026-07-12 09:43: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'), 47392, 'SRID=4674;POINT (-38.347705 -3.302847)', '2026-07-12 09:44:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347692 -3.302762)'), GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.302847)'))) / (select extract(epoch from '2026-07-12 09:44:07'::timestamp) - extract(epoch from '2026-07-12 09:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347692 -3.302762)'), GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.302847)'))) / (select extract(epoch from '2026-07-12 09:44:07'::timestamp) - extract(epoch from '2026-07-12 09:44: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'), 47392, 'SRID=4674;POINT (-38.34771 -3.30287)', '2026-07-12 09:44:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.302847)'), GeomFromEWKT('SRID=4674;POINT (-38.34771 -3.30287)'))) / (select extract(epoch from '2026-07-12 09:44:09'::timestamp) - extract(epoch from '2026-07-12 09:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.302847)'), GeomFromEWKT('SRID=4674;POINT (-38.34771 -3.30287)'))) / (select extract(epoch from '2026-07-12 09:44:09'::timestamp) - extract(epoch from '2026-07-12 09:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.34772 -3.302903)', '2026-07-12 09:44:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34771 -3.30287)'), GeomFromEWKT('SRID=4674;POINT (-38.34772 -3.302903)'))) / (select extract(epoch from '2026-07-12 09:44:12'::timestamp) - extract(epoch from '2026-07-12 09:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34771 -3.30287)'), GeomFromEWKT('SRID=4674;POINT (-38.34772 -3.302903)'))) / (select extract(epoch from '2026-07-12 09:44:12'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347715 -3.302917)', '2026-07-12 09:44:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34772 -3.302903)'), GeomFromEWKT('SRID=4674;POINT (-38.347715 -3.302917)'))) / (select extract(epoch from '2026-07-12 09:44:13'::timestamp) - extract(epoch from '2026-07-12 09:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34772 -3.302903)'), GeomFromEWKT('SRID=4674;POINT (-38.347715 -3.302917)'))) / (select extract(epoch from '2026-07-12 09:44:13'::timestamp) - extract(epoch from '2026-07-12 09:44: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'), 47392, 'SRID=4674;POINT (-38.347714 -3.302942)', '2026-07-12 09:44:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347715 -3.302917)'), GeomFromEWKT('SRID=4674;POINT (-38.347714 -3.302942)'))) / (select extract(epoch from '2026-07-12 09:44:15'::timestamp) - extract(epoch from '2026-07-12 09:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347715 -3.302917)'), GeomFromEWKT('SRID=4674;POINT (-38.347714 -3.302942)'))) / (select extract(epoch from '2026-07-12 09:44:15'::timestamp) - extract(epoch from '2026-07-12 09:44: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'), 47392, 'SRID=4674;POINT (-38.347715 -3.302978)', '2026-07-12 09:44:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347714 -3.302942)'), GeomFromEWKT('SRID=4674;POINT (-38.347715 -3.302978)'))) / (select extract(epoch from '2026-07-12 09:44:19'::timestamp) - extract(epoch from '2026-07-12 09:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347714 -3.302942)'), GeomFromEWKT('SRID=4674;POINT (-38.347715 -3.302978)'))) / (select extract(epoch from '2026-07-12 09:44:19'::timestamp) - extract(epoch from '2026-07-12 09:44:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347722 -3.303031)', '2026-07-12 09:44:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347715 -3.302978)'), GeomFromEWKT('SRID=4674;POINT (-38.347722 -3.303031)'))) / (select extract(epoch from '2026-07-12 09:44:24'::timestamp) - extract(epoch from '2026-07-12 09:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347715 -3.302978)'), GeomFromEWKT('SRID=4674;POINT (-38.347722 -3.303031)'))) / (select extract(epoch from '2026-07-12 09:44:24'::timestamp) - extract(epoch from '2026-07-12 09:44: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'), 47392, 'SRID=4674;POINT (-38.347702 -3.303092)', '2026-07-12 09:44:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347722 -3.303031)'), GeomFromEWKT('SRID=4674;POINT (-38.347702 -3.303092)'))) / (select extract(epoch from '2026-07-12 09:44:30'::timestamp) - extract(epoch from '2026-07-12 09:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347722 -3.303031)'), GeomFromEWKT('SRID=4674;POINT (-38.347702 -3.303092)'))) / (select extract(epoch from '2026-07-12 09:44:30'::timestamp) - extract(epoch from '2026-07-12 09:44: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'), 47392, 'SRID=4674;POINT (-38.34769 -3.303124)', '2026-07-12 09:44:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347702 -3.303092)'), GeomFromEWKT('SRID=4674;POINT (-38.34769 -3.303124)'))) / (select extract(epoch from '2026-07-12 09:44:34'::timestamp) - extract(epoch from '2026-07-12 09:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347702 -3.303092)'), GeomFromEWKT('SRID=4674;POINT (-38.34769 -3.303124)'))) / (select extract(epoch from '2026-07-12 09:44:34'::timestamp) - extract(epoch from '2026-07-12 09:44: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'), 47392, 'SRID=4674;POINT (-38.347694 -3.303135)', '2026-07-12 09:44:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34769 -3.303124)'), GeomFromEWKT('SRID=4674;POINT (-38.347694 -3.303135)'))) / (select extract(epoch from '2026-07-12 09:44:35'::timestamp) - extract(epoch from '2026-07-12 09:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34769 -3.303124)'), GeomFromEWKT('SRID=4674;POINT (-38.347694 -3.303135)'))) / (select extract(epoch from '2026-07-12 09:44:35'::timestamp) - extract(epoch from '2026-07-12 09:44: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'), 47392, 'SRID=4674;POINT (-38.347693 -3.303153)', '2026-07-12 09:44:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347694 -3.303135)'), GeomFromEWKT('SRID=4674;POINT (-38.347693 -3.303153)'))) / (select extract(epoch from '2026-07-12 09:44:37'::timestamp) - extract(epoch from '2026-07-12 09:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347694 -3.303135)'), GeomFromEWKT('SRID=4674;POINT (-38.347693 -3.303153)'))) / (select extract(epoch from '2026-07-12 09:44:37'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347669 -3.303171)', '2026-07-12 09:44:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347693 -3.303153)'), GeomFromEWKT('SRID=4674;POINT (-38.347669 -3.303171)'))) / (select extract(epoch from '2026-07-12 09:44:40'::timestamp) - extract(epoch from '2026-07-12 09:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347693 -3.303153)'), GeomFromEWKT('SRID=4674;POINT (-38.347669 -3.303171)'))) / (select extract(epoch from '2026-07-12 09:44:40'::timestamp) - extract(epoch from '2026-07-12 09:44: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'), 47392, 'SRID=4674;POINT (-38.347648 -3.303189)', '2026-07-12 09:44:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347669 -3.303171)'), GeomFromEWKT('SRID=4674;POINT (-38.347648 -3.303189)'))) / (select extract(epoch from '2026-07-12 09:44:43'::timestamp) - extract(epoch from '2026-07-12 09:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347669 -3.303171)'), GeomFromEWKT('SRID=4674;POINT (-38.347648 -3.303189)'))) / (select extract(epoch from '2026-07-12 09:44:43'::timestamp) - extract(epoch from '2026-07-12 09:44:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347631 -3.303202)', '2026-07-12 09:44:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347648 -3.303189)'), GeomFromEWKT('SRID=4674;POINT (-38.347631 -3.303202)'))) / (select extract(epoch from '2026-07-12 09:44:45'::timestamp) - extract(epoch from '2026-07-12 09:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347648 -3.303189)'), GeomFromEWKT('SRID=4674;POINT (-38.347631 -3.303202)'))) / (select extract(epoch from '2026-07-12 09:44:45'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347626 -3.30321)', '2026-07-12 09:44:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347631 -3.303202)'), GeomFromEWKT('SRID=4674;POINT (-38.347626 -3.30321)'))) / (select extract(epoch from '2026-07-12 09:44:46'::timestamp) - extract(epoch from '2026-07-12 09:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347631 -3.303202)'), GeomFromEWKT('SRID=4674;POINT (-38.347626 -3.30321)'))) / (select extract(epoch from '2026-07-12 09:44:46'::timestamp) - extract(epoch from '2026-07-12 09:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.34762 -3.303215)', '2026-07-12 09:44:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347626 -3.30321)'), GeomFromEWKT('SRID=4674;POINT (-38.34762 -3.303215)'))) / (select extract(epoch from '2026-07-12 09:44:47'::timestamp) - extract(epoch from '2026-07-12 09:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347626 -3.30321)'), GeomFromEWKT('SRID=4674;POINT (-38.34762 -3.303215)'))) / (select extract(epoch from '2026-07-12 09:44:47'::timestamp) - extract(epoch from '2026-07-12 09:44: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'), 47392, 'SRID=4674;POINT (-38.347597 -3.303221)', '2026-07-12 09:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34762 -3.303215)'), GeomFromEWKT('SRID=4674;POINT (-38.347597 -3.303221)'))) / (select extract(epoch from '2026-07-12 09:44:49'::timestamp) - extract(epoch from '2026-07-12 09:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34762 -3.303215)'), GeomFromEWKT('SRID=4674;POINT (-38.347597 -3.303221)'))) / (select extract(epoch from '2026-07-12 09:44:49'::timestamp) - extract(epoch from '2026-07-12 09:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347585 -3.303228)', '2026-07-12 09:44:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347597 -3.303221)'), GeomFromEWKT('SRID=4674;POINT (-38.347585 -3.303228)'))) / (select extract(epoch from '2026-07-12 09:44:51'::timestamp) - extract(epoch from '2026-07-12 09:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347597 -3.303221)'), GeomFromEWKT('SRID=4674;POINT (-38.347585 -3.303228)'))) / (select extract(epoch from '2026-07-12 09:44:51'::timestamp) - extract(epoch from '2026-07-12 09:44: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'), 47392, 'SRID=4674;POINT (-38.347504 -3.303269)', '2026-07-12 09:45:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347585 -3.303228)'), GeomFromEWKT('SRID=4674;POINT (-38.347504 -3.303269)'))) / (select extract(epoch from '2026-07-12 09:45:02'::timestamp) - extract(epoch from '2026-07-12 09:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347585 -3.303228)'), GeomFromEWKT('SRID=4674;POINT (-38.347504 -3.303269)'))) / (select extract(epoch from '2026-07-12 09:45:02'::timestamp) - extract(epoch from '2026-07-12 09:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347452 -3.303308)', '2026-07-12 09:45:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347504 -3.303269)'), GeomFromEWKT('SRID=4674;POINT (-38.347452 -3.303308)'))) / (select extract(epoch from '2026-07-12 09:45:09'::timestamp) - extract(epoch from '2026-07-12 09:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347504 -3.303269)'), GeomFromEWKT('SRID=4674;POINT (-38.347452 -3.303308)'))) / (select extract(epoch from '2026-07-12 09:45:09'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347445 -3.303338)', '2026-07-12 09:45:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347452 -3.303308)'), GeomFromEWKT('SRID=4674;POINT (-38.347445 -3.303338)'))) / (select extract(epoch from '2026-07-12 09:45:12'::timestamp) - extract(epoch from '2026-07-12 09:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347452 -3.303308)'), GeomFromEWKT('SRID=4674;POINT (-38.347445 -3.303338)'))) / (select extract(epoch from '2026-07-12 09:45:12'::timestamp) - extract(epoch from '2026-07-12 09:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347398 -3.303381)', '2026-07-12 09:45:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347445 -3.303338)'), GeomFromEWKT('SRID=4674;POINT (-38.347398 -3.303381)'))) / (select extract(epoch from '2026-07-12 09:45:19'::timestamp) - extract(epoch from '2026-07-12 09:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347445 -3.303338)'), GeomFromEWKT('SRID=4674;POINT (-38.347398 -3.303381)'))) / (select extract(epoch from '2026-07-12 09:45:19'::timestamp) - extract(epoch from '2026-07-12 09:45: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'), 47392, 'SRID=4674;POINT (-38.347351 -3.30344)', '2026-07-12 09:45:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347398 -3.303381)'), GeomFromEWKT('SRID=4674;POINT (-38.347351 -3.30344)'))) / (select extract(epoch from '2026-07-12 09:45:27'::timestamp) - extract(epoch from '2026-07-12 09:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347398 -3.303381)'), GeomFromEWKT('SRID=4674;POINT (-38.347351 -3.30344)'))) / (select extract(epoch from '2026-07-12 09:45:27'::timestamp) - extract(epoch from '2026-07-12 09:45: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'), 47392, 'SRID=4674;POINT (-38.34732 -3.303484)', '2026-07-12 09:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347351 -3.30344)'), GeomFromEWKT('SRID=4674;POINT (-38.34732 -3.303484)'))) / (select extract(epoch from '2026-07-12 09:45:34'::timestamp) - extract(epoch from '2026-07-12 09:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347351 -3.30344)'), GeomFromEWKT('SRID=4674;POINT (-38.34732 -3.303484)'))) / (select extract(epoch from '2026-07-12 09:45:34'::timestamp) - extract(epoch from '2026-07-12 09:45: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'), 47392, 'SRID=4674;POINT (-38.347287 -3.303538)', '2026-07-12 09:45:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34732 -3.303484)'), GeomFromEWKT('SRID=4674;POINT (-38.347287 -3.303538)'))) / (select extract(epoch from '2026-07-12 09:45:40'::timestamp) - extract(epoch from '2026-07-12 09:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34732 -3.303484)'), GeomFromEWKT('SRID=4674;POINT (-38.347287 -3.303538)'))) / (select extract(epoch from '2026-07-12 09:45:40'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347283 -3.303549)', '2026-07-12 09:45:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347287 -3.303538)'), GeomFromEWKT('SRID=4674;POINT (-38.347283 -3.303549)'))) / (select extract(epoch from '2026-07-12 09:45:41'::timestamp) - extract(epoch from '2026-07-12 09:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347287 -3.303538)'), GeomFromEWKT('SRID=4674;POINT (-38.347283 -3.303549)'))) / (select extract(epoch from '2026-07-12 09:45:41'::timestamp) - extract(epoch from '2026-07-12 09:45:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347261 -3.303589)', '2026-07-12 09:45:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347283 -3.303549)'), GeomFromEWKT('SRID=4674;POINT (-38.347261 -3.303589)'))) / (select extract(epoch from '2026-07-12 09:45:45'::timestamp) - extract(epoch from '2026-07-12 09:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347283 -3.303549)'), GeomFromEWKT('SRID=4674;POINT (-38.347261 -3.303589)'))) / (select extract(epoch from '2026-07-12 09:45:45'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347226 -3.303663)', '2026-07-12 09:45:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347261 -3.303589)'), GeomFromEWKT('SRID=4674;POINT (-38.347226 -3.303663)'))) / (select extract(epoch from '2026-07-12 09:45:52'::timestamp) - extract(epoch from '2026-07-12 09:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347261 -3.303589)'), GeomFromEWKT('SRID=4674;POINT (-38.347226 -3.303663)'))) / (select extract(epoch from '2026-07-12 09:45:52'::timestamp) - extract(epoch from '2026-07-12 09:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347196 -3.303718)', '2026-07-12 09:45:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347226 -3.303663)'), GeomFromEWKT('SRID=4674;POINT (-38.347196 -3.303718)'))) / (select extract(epoch from '2026-07-12 09:45:58'::timestamp) - extract(epoch from '2026-07-12 09:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347226 -3.303663)'), GeomFromEWKT('SRID=4674;POINT (-38.347196 -3.303718)'))) / (select extract(epoch from '2026-07-12 09:45:58'::timestamp) - extract(epoch from '2026-07-12 09:45: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'), 47392, 'SRID=4674;POINT (-38.347169 -3.303763)', '2026-07-12 09:46:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347196 -3.303718)'), GeomFromEWKT('SRID=4674;POINT (-38.347169 -3.303763)'))) / (select extract(epoch from '2026-07-12 09:46:03'::timestamp) - extract(epoch from '2026-07-12 09:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347196 -3.303718)'), GeomFromEWKT('SRID=4674;POINT (-38.347169 -3.303763)'))) / (select extract(epoch from '2026-07-12 09:46:03'::timestamp) - extract(epoch from '2026-07-12 09:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347165 -3.303771)', '2026-07-12 09:46:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347169 -3.303763)'), GeomFromEWKT('SRID=4674;POINT (-38.347165 -3.303771)'))) / (select extract(epoch from '2026-07-12 09:46:04'::timestamp) - extract(epoch from '2026-07-12 09:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347169 -3.303763)'), GeomFromEWKT('SRID=4674;POINT (-38.347165 -3.303771)'))) / (select extract(epoch from '2026-07-12 09:46:04'::timestamp) - extract(epoch from '2026-07-12 09:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347118 -3.303814)', '2026-07-12 09:46:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347165 -3.303771)'), GeomFromEWKT('SRID=4674;POINT (-38.347118 -3.303814)'))) / (select extract(epoch from '2026-07-12 09:46:11'::timestamp) - extract(epoch from '2026-07-12 09:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347165 -3.303771)'), GeomFromEWKT('SRID=4674;POINT (-38.347118 -3.303814)'))) / (select extract(epoch from '2026-07-12 09:46:11'::timestamp) - extract(epoch from '2026-07-12 09:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347083 -3.303881)', '2026-07-12 09:46:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347118 -3.303814)'), GeomFromEWKT('SRID=4674;POINT (-38.347083 -3.303881)'))) / (select extract(epoch from '2026-07-12 09:46:19'::timestamp) - extract(epoch from '2026-07-12 09:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347118 -3.303814)'), GeomFromEWKT('SRID=4674;POINT (-38.347083 -3.303881)'))) / (select extract(epoch from '2026-07-12 09:46:19'::timestamp) - extract(epoch from '2026-07-12 09:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347046 -3.303965)', '2026-07-12 09:46:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347083 -3.303881)'), GeomFromEWKT('SRID=4674;POINT (-38.347046 -3.303965)'))) / (select extract(epoch from '2026-07-12 09:46:28'::timestamp) - extract(epoch from '2026-07-12 09:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347083 -3.303881)'), GeomFromEWKT('SRID=4674;POINT (-38.347046 -3.303965)'))) / (select extract(epoch from '2026-07-12 09:46:28'::timestamp) - extract(epoch from '2026-07-12 09:46: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'), 47392, 'SRID=4674;POINT (-38.347035 -3.303998)', '2026-07-12 09:46:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347046 -3.303965)'), GeomFromEWKT('SRID=4674;POINT (-38.347035 -3.303998)'))) / (select extract(epoch from '2026-07-12 09:46:31'::timestamp) - extract(epoch from '2026-07-12 09:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347046 -3.303965)'), GeomFromEWKT('SRID=4674;POINT (-38.347035 -3.303998)'))) / (select extract(epoch from '2026-07-12 09:46:31'::timestamp) - extract(epoch from '2026-07-12 09:46: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'), 47392, 'SRID=4674;POINT (-38.347036 -3.304027)', '2026-07-12 09:46:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347035 -3.303998)'), GeomFromEWKT('SRID=4674;POINT (-38.347036 -3.304027)'))) / (select extract(epoch from '2026-07-12 09:46:34'::timestamp) - extract(epoch from '2026-07-12 09:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347035 -3.303998)'), GeomFromEWKT('SRID=4674;POINT (-38.347036 -3.304027)'))) / (select extract(epoch from '2026-07-12 09:46:34'::timestamp) - extract(epoch from '2026-07-12 09:46: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'), 47392, 'SRID=4674;POINT (-38.347015 -3.304108)', '2026-07-12 09:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347036 -3.304027)'), GeomFromEWKT('SRID=4674;POINT (-38.347015 -3.304108)'))) / (select extract(epoch from '2026-07-12 09:46:41'::timestamp) - extract(epoch from '2026-07-12 09:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347036 -3.304027)'), GeomFromEWKT('SRID=4674;POINT (-38.347015 -3.304108)'))) / (select extract(epoch from '2026-07-12 09:46:41'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347 -3.304189)', '2026-07-12 09:46:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347015 -3.304108)'), GeomFromEWKT('SRID=4674;POINT (-38.347 -3.304189)'))) / (select extract(epoch from '2026-07-12 09:46:48'::timestamp) - extract(epoch from '2026-07-12 09:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347015 -3.304108)'), GeomFromEWKT('SRID=4674;POINT (-38.347 -3.304189)'))) / (select extract(epoch from '2026-07-12 09:46:48'::timestamp) - extract(epoch from '2026-07-12 09:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346994 -3.304254)', '2026-07-12 09:46:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347 -3.304189)'), GeomFromEWKT('SRID=4674;POINT (-38.346994 -3.304254)'))) / (select extract(epoch from '2026-07-12 09:46:54'::timestamp) - extract(epoch from '2026-07-12 09:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347 -3.304189)'), GeomFromEWKT('SRID=4674;POINT (-38.346994 -3.304254)'))) / (select extract(epoch from '2026-07-12 09:46:54'::timestamp) - extract(epoch from '2026-07-12 09:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346975 -3.304323)', '2026-07-12 09:47:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346994 -3.304254)'), GeomFromEWKT('SRID=4674;POINT (-38.346975 -3.304323)'))) / (select extract(epoch from '2026-07-12 09:47:00'::timestamp) - extract(epoch from '2026-07-12 09:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346994 -3.304254)'), GeomFromEWKT('SRID=4674;POINT (-38.346975 -3.304323)'))) / (select extract(epoch from '2026-07-12 09:47:00'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.346974 -3.304334)', '2026-07-12 09:47:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346975 -3.304323)'), GeomFromEWKT('SRID=4674;POINT (-38.346974 -3.304334)'))) / (select extract(epoch from '2026-07-12 09:47:01'::timestamp) - extract(epoch from '2026-07-12 09:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346975 -3.304323)'), GeomFromEWKT('SRID=4674;POINT (-38.346974 -3.304334)'))) / (select extract(epoch from '2026-07-12 09:47:01'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.34696 -3.304404)', '2026-07-12 09:47:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346974 -3.304334)'), GeomFromEWKT('SRID=4674;POINT (-38.34696 -3.304404)'))) / (select extract(epoch from '2026-07-12 09:47:07'::timestamp) - extract(epoch from '2026-07-12 09:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346974 -3.304334)'), GeomFromEWKT('SRID=4674;POINT (-38.34696 -3.304404)'))) / (select extract(epoch from '2026-07-12 09:47:07'::timestamp) - extract(epoch from '2026-07-12 09:47: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'), 47392, 'SRID=4674;POINT (-38.346963 -3.304425)', '2026-07-12 09:47:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34696 -3.304404)'), GeomFromEWKT('SRID=4674;POINT (-38.346963 -3.304425)'))) / (select extract(epoch from '2026-07-12 09:47:09'::timestamp) - extract(epoch from '2026-07-12 09:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34696 -3.304404)'), GeomFromEWKT('SRID=4674;POINT (-38.346963 -3.304425)'))) / (select extract(epoch from '2026-07-12 09:47:09'::timestamp) - extract(epoch from '2026-07-12 09:47: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'), 47392, 'SRID=4674;POINT (-38.346962 -3.304486)', '2026-07-12 09:47:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346963 -3.304425)'), GeomFromEWKT('SRID=4674;POINT (-38.346962 -3.304486)'))) / (select extract(epoch from '2026-07-12 09:47:18'::timestamp) - extract(epoch from '2026-07-12 09:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346963 -3.304425)'), GeomFromEWKT('SRID=4674;POINT (-38.346962 -3.304486)'))) / (select extract(epoch from '2026-07-12 09:47:18'::timestamp) - extract(epoch from '2026-07-12 09:47: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'), 47392, 'SRID=4674;POINT (-38.346977 -3.304555)', '2026-07-12 09:47:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346962 -3.304486)'), GeomFromEWKT('SRID=4674;POINT (-38.346977 -3.304555)'))) / (select extract(epoch from '2026-07-12 09:47:28'::timestamp) - extract(epoch from '2026-07-12 09:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346962 -3.304486)'), GeomFromEWKT('SRID=4674;POINT (-38.346977 -3.304555)'))) / (select extract(epoch from '2026-07-12 09:47:28'::timestamp) - extract(epoch from '2026-07-12 09:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346995 -3.304635)', '2026-07-12 09:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346977 -3.304555)'), GeomFromEWKT('SRID=4674;POINT (-38.346995 -3.304635)'))) / (select extract(epoch from '2026-07-12 09:47:38'::timestamp) - extract(epoch from '2026-07-12 09:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346977 -3.304555)'), GeomFromEWKT('SRID=4674;POINT (-38.346995 -3.304635)'))) / (select extract(epoch from '2026-07-12 09:47:38'::timestamp) - extract(epoch from '2026-07-12 09:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346983 -3.304693)', '2026-07-12 09:47:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346995 -3.304635)'), GeomFromEWKT('SRID=4674;POINT (-38.346983 -3.304693)'))) / (select extract(epoch from '2026-07-12 09:47:48'::timestamp) - extract(epoch from '2026-07-12 09:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346995 -3.304635)'), GeomFromEWKT('SRID=4674;POINT (-38.346983 -3.304693)'))) / (select extract(epoch from '2026-07-12 09:47:48'::timestamp) - extract(epoch from '2026-07-12 09:47: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'), 47392, 'SRID=4674;POINT (-38.346984 -3.304723)', '2026-07-12 09:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346983 -3.304693)'), GeomFromEWKT('SRID=4674;POINT (-38.346984 -3.304723)'))) / (select extract(epoch from '2026-07-12 09:47:53'::timestamp) - extract(epoch from '2026-07-12 09:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346983 -3.304693)'), GeomFromEWKT('SRID=4674;POINT (-38.346984 -3.304723)'))) / (select extract(epoch from '2026-07-12 09:47:53'::timestamp) - extract(epoch from '2026-07-12 09:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346914 -3.30479)', '2026-07-12 09:48:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346984 -3.304723)'), GeomFromEWKT('SRID=4674;POINT (-38.346914 -3.30479)'))) / (select extract(epoch from '2026-07-12 09:48:03'::timestamp) - extract(epoch from '2026-07-12 09:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346984 -3.304723)'), GeomFromEWKT('SRID=4674;POINT (-38.346914 -3.30479)'))) / (select extract(epoch from '2026-07-12 09:48:03'::timestamp) - extract(epoch from '2026-07-12 09:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.34689 -3.304803)', '2026-07-12 09:48:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346914 -3.30479)'), GeomFromEWKT('SRID=4674;POINT (-38.34689 -3.304803)'))) / (select extract(epoch from '2026-07-12 09:48:06'::timestamp) - extract(epoch from '2026-07-12 09:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346914 -3.30479)'), GeomFromEWKT('SRID=4674;POINT (-38.34689 -3.304803)'))) / (select extract(epoch from '2026-07-12 09:48:06'::timestamp) - extract(epoch from '2026-07-12 09:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346875 -3.304819)', '2026-07-12 09:48:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34689 -3.304803)'), GeomFromEWKT('SRID=4674;POINT (-38.346875 -3.304819)'))) / (select extract(epoch from '2026-07-12 09:48:08'::timestamp) - extract(epoch from '2026-07-12 09:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34689 -3.304803)'), GeomFromEWKT('SRID=4674;POINT (-38.346875 -3.304819)'))) / (select extract(epoch from '2026-07-12 09:48:08'::timestamp) - extract(epoch from '2026-07-12 09:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346852 -3.304848)', '2026-07-12 09:48:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346875 -3.304819)'), GeomFromEWKT('SRID=4674;POINT (-38.346852 -3.304848)'))) / (select extract(epoch from '2026-07-12 09:48:11'::timestamp) - extract(epoch from '2026-07-12 09:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346875 -3.304819)'), GeomFromEWKT('SRID=4674;POINT (-38.346852 -3.304848)'))) / (select extract(epoch from '2026-07-12 09:48:11'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.346844 -3.304869)', '2026-07-12 09:48:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346852 -3.304848)'), GeomFromEWKT('SRID=4674;POINT (-38.346844 -3.304869)'))) / (select extract(epoch from '2026-07-12 09:48:13'::timestamp) - extract(epoch from '2026-07-12 09:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346852 -3.304848)'), GeomFromEWKT('SRID=4674;POINT (-38.346844 -3.304869)'))) / (select extract(epoch from '2026-07-12 09:48:13'::timestamp) - extract(epoch from '2026-07-12 09:48: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'), 47392, 'SRID=4674;POINT (-38.346834 -3.304876)', '2026-07-12 09:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346844 -3.304869)'), GeomFromEWKT('SRID=4674;POINT (-38.346834 -3.304876)'))) / (select extract(epoch from '2026-07-12 09:48:14'::timestamp) - extract(epoch from '2026-07-12 09:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346844 -3.304869)'), GeomFromEWKT('SRID=4674;POINT (-38.346834 -3.304876)'))) / (select extract(epoch from '2026-07-12 09:48:14'::timestamp) - extract(epoch from '2026-07-12 09:48: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'), 47392, 'SRID=4674;POINT (-38.346825 -3.304885)', '2026-07-12 09:48:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346834 -3.304876)'), GeomFromEWKT('SRID=4674;POINT (-38.346825 -3.304885)'))) / (select extract(epoch from '2026-07-12 09:48:15'::timestamp) - extract(epoch from '2026-07-12 09:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346834 -3.304876)'), GeomFromEWKT('SRID=4674;POINT (-38.346825 -3.304885)'))) / (select extract(epoch from '2026-07-12 09:48:15'::timestamp) - extract(epoch from '2026-07-12 09:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346799 -3.304933)', '2026-07-12 09:48:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346825 -3.304885)'), GeomFromEWKT('SRID=4674;POINT (-38.346799 -3.304933)'))) / (select extract(epoch from '2026-07-12 09:48:20'::timestamp) - extract(epoch from '2026-07-12 09:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346825 -3.304885)'), GeomFromEWKT('SRID=4674;POINT (-38.346799 -3.304933)'))) / (select extract(epoch from '2026-07-12 09:48:20'::timestamp) - extract(epoch from '2026-07-12 09:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346761 -3.305015)', '2026-07-12 09:48:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346799 -3.304933)'), GeomFromEWKT('SRID=4674;POINT (-38.346761 -3.305015)'))) / (select extract(epoch from '2026-07-12 09:48:28'::timestamp) - extract(epoch from '2026-07-12 09:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346799 -3.304933)'), GeomFromEWKT('SRID=4674;POINT (-38.346761 -3.305015)'))) / (select extract(epoch from '2026-07-12 09:48:28'::timestamp) - extract(epoch from '2026-07-12 09:48:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.34672 -3.305089)', '2026-07-12 09:48:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346761 -3.305015)'), GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.305089)'))) / (select extract(epoch from '2026-07-12 09:48:35'::timestamp) - extract(epoch from '2026-07-12 09:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346761 -3.305015)'), GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.305089)'))) / (select extract(epoch from '2026-07-12 09:48:35'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.346713 -3.305099)', '2026-07-12 09:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.305089)'), GeomFromEWKT('SRID=4674;POINT (-38.346713 -3.305099)'))) / (select extract(epoch from '2026-07-12 09:48:36'::timestamp) - extract(epoch from '2026-07-12 09:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.305089)'), GeomFromEWKT('SRID=4674;POINT (-38.346713 -3.305099)'))) / (select extract(epoch from '2026-07-12 09:48:36'::timestamp) - extract(epoch from '2026-07-12 09:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346662 -3.305179)', '2026-07-12 09:48:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346713 -3.305099)'), GeomFromEWKT('SRID=4674;POINT (-38.346662 -3.305179)'))) / (select extract(epoch from '2026-07-12 09:48:44'::timestamp) - extract(epoch from '2026-07-12 09:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346713 -3.305099)'), GeomFromEWKT('SRID=4674;POINT (-38.346662 -3.305179)'))) / (select extract(epoch from '2026-07-12 09:48:44'::timestamp) - extract(epoch from '2026-07-12 09:48: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'), 47392, 'SRID=4674;POINT (-38.346648 -3.3052)', '2026-07-12 09:48:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346662 -3.305179)'), GeomFromEWKT('SRID=4674;POINT (-38.346648 -3.3052)'))) / (select extract(epoch from '2026-07-12 09:48:47'::timestamp) - extract(epoch from '2026-07-12 09:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346662 -3.305179)'), GeomFromEWKT('SRID=4674;POINT (-38.346648 -3.3052)'))) / (select extract(epoch from '2026-07-12 09:48:47'::timestamp) - extract(epoch from '2026-07-12 09:48: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'), 47392, 'SRID=4674;POINT (-38.346643 -3.305217)', '2026-07-12 09:48:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346648 -3.3052)'), GeomFromEWKT('SRID=4674;POINT (-38.346643 -3.305217)'))) / (select extract(epoch from '2026-07-12 09:48:49'::timestamp) - extract(epoch from '2026-07-12 09:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346648 -3.3052)'), GeomFromEWKT('SRID=4674;POINT (-38.346643 -3.305217)'))) / (select extract(epoch from '2026-07-12 09:48:49'::timestamp) - extract(epoch from '2026-07-12 09:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346635 -3.305242)', '2026-07-12 09:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346643 -3.305217)'), GeomFromEWKT('SRID=4674;POINT (-38.346635 -3.305242)'))) / (select extract(epoch from '2026-07-12 09:48:54'::timestamp) - extract(epoch from '2026-07-12 09:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346643 -3.305217)'), GeomFromEWKT('SRID=4674;POINT (-38.346635 -3.305242)'))) / (select extract(epoch from '2026-07-12 09:48:54'::timestamp) - extract(epoch from '2026-07-12 09:48: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'), 47392, 'SRID=4674;POINT (-38.346612 -3.305291)', '2026-07-12 09:49:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346635 -3.305242)'), GeomFromEWKT('SRID=4674;POINT (-38.346612 -3.305291)'))) / (select extract(epoch from '2026-07-12 09:49:02'::timestamp) - extract(epoch from '2026-07-12 09:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346635 -3.305242)'), GeomFromEWKT('SRID=4674;POINT (-38.346612 -3.305291)'))) / (select extract(epoch from '2026-07-12 09:49:02'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.346596 -3.30538)', '2026-07-12 09:49:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346612 -3.305291)'), GeomFromEWKT('SRID=4674;POINT (-38.346596 -3.30538)'))) / (select extract(epoch from '2026-07-12 09:49:10'::timestamp) - extract(epoch from '2026-07-12 09:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346612 -3.305291)'), GeomFromEWKT('SRID=4674;POINT (-38.346596 -3.30538)'))) / (select extract(epoch from '2026-07-12 09:49:10'::timestamp) - extract(epoch from '2026-07-12 09:49: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'), 47392, 'SRID=4674;POINT (-38.346599 -3.30539)', '2026-07-12 09:49:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346596 -3.30538)'), GeomFromEWKT('SRID=4674;POINT (-38.346599 -3.30539)'))) / (select extract(epoch from '2026-07-12 09:49:11'::timestamp) - extract(epoch from '2026-07-12 09:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346596 -3.30538)'), GeomFromEWKT('SRID=4674;POINT (-38.346599 -3.30539)'))) / (select extract(epoch from '2026-07-12 09:49:11'::timestamp) - extract(epoch from '2026-07-12 09:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.3466 -3.30541)', '2026-07-12 09:49:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346599 -3.30539)'), GeomFromEWKT('SRID=4674;POINT (-38.3466 -3.30541)'))) / (select extract(epoch from '2026-07-12 09:49:13'::timestamp) - extract(epoch from '2026-07-12 09:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346599 -3.30539)'), GeomFromEWKT('SRID=4674;POINT (-38.3466 -3.30541)'))) / (select extract(epoch from '2026-07-12 09:49:13'::timestamp) - extract(epoch from '2026-07-12 09:49: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'), 47392, 'SRID=4674;POINT (-38.3466 -3.305442)', '2026-07-12 09:49:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3466 -3.30541)'), GeomFromEWKT('SRID=4674;POINT (-38.3466 -3.305442)'))) / (select extract(epoch from '2026-07-12 09:49:16'::timestamp) - extract(epoch from '2026-07-12 09:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3466 -3.30541)'), GeomFromEWKT('SRID=4674;POINT (-38.3466 -3.305442)'))) / (select extract(epoch from '2026-07-12 09:49:16'::timestamp) - extract(epoch from '2026-07-12 09:49: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'), 47392, 'SRID=4674;POINT (-38.346617 -3.305513)', '2026-07-12 09:49:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3466 -3.305442)'), GeomFromEWKT('SRID=4674;POINT (-38.346617 -3.305513)'))) / (select extract(epoch from '2026-07-12 09:49:22'::timestamp) - extract(epoch from '2026-07-12 09:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3466 -3.305442)'), GeomFromEWKT('SRID=4674;POINT (-38.346617 -3.305513)'))) / (select extract(epoch from '2026-07-12 09:49:22'::timestamp) - extract(epoch from '2026-07-12 09:49: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'), 47392, 'SRID=4674;POINT (-38.346652 -3.305582)', '2026-07-12 09:49:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346617 -3.305513)'), GeomFromEWKT('SRID=4674;POINT (-38.346652 -3.305582)'))) / (select extract(epoch from '2026-07-12 09:49:28'::timestamp) - extract(epoch from '2026-07-12 09:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346617 -3.305513)'), GeomFromEWKT('SRID=4674;POINT (-38.346652 -3.305582)'))) / (select extract(epoch from '2026-07-12 09:49:28'::timestamp) - extract(epoch from '2026-07-12 09:49: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'), 47392, 'SRID=4674;POINT (-38.346666 -3.305659)', '2026-07-12 09:49:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346652 -3.305582)'), GeomFromEWKT('SRID=4674;POINT (-38.346666 -3.305659)'))) / (select extract(epoch from '2026-07-12 09:49:34'::timestamp) - extract(epoch from '2026-07-12 09:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346652 -3.305582)'), GeomFromEWKT('SRID=4674;POINT (-38.346666 -3.305659)'))) / (select extract(epoch from '2026-07-12 09:49:34'::timestamp) - extract(epoch from '2026-07-12 09:49: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'), 47392, 'SRID=4674;POINT (-38.346695 -3.305738)', '2026-07-12 09:49:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346666 -3.305659)'), GeomFromEWKT('SRID=4674;POINT (-38.346695 -3.305738)'))) / (select extract(epoch from '2026-07-12 09:49:40'::timestamp) - extract(epoch from '2026-07-12 09:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346666 -3.305659)'), GeomFromEWKT('SRID=4674;POINT (-38.346695 -3.305738)'))) / (select extract(epoch from '2026-07-12 09:49:40'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.346694 -3.305749)', '2026-07-12 09:49:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346695 -3.305738)'), GeomFromEWKT('SRID=4674;POINT (-38.346694 -3.305749)'))) / (select extract(epoch from '2026-07-12 09:49:41'::timestamp) - extract(epoch from '2026-07-12 09:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346695 -3.305738)'), GeomFromEWKT('SRID=4674;POINT (-38.346694 -3.305749)'))) / (select extract(epoch from '2026-07-12 09:49:41'::timestamp) - extract(epoch from '2026-07-12 09:49:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346699 -3.305772)', '2026-07-12 09:49:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346694 -3.305749)'), GeomFromEWKT('SRID=4674;POINT (-38.346699 -3.305772)'))) / (select extract(epoch from '2026-07-12 09:49:43'::timestamp) - extract(epoch from '2026-07-12 09:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346694 -3.305749)'), GeomFromEWKT('SRID=4674;POINT (-38.346699 -3.305772)'))) / (select extract(epoch from '2026-07-12 09:49:43'::timestamp) - extract(epoch from '2026-07-12 09:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346709 -3.305825)', '2026-07-12 09:49:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346699 -3.305772)'), GeomFromEWKT('SRID=4674;POINT (-38.346709 -3.305825)'))) / (select extract(epoch from '2026-07-12 09:49:47'::timestamp) - extract(epoch from '2026-07-12 09:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346699 -3.305772)'), GeomFromEWKT('SRID=4674;POINT (-38.346709 -3.305825)'))) / (select extract(epoch from '2026-07-12 09:49:47'::timestamp) - extract(epoch from '2026-07-12 09:49: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'), 47392, 'SRID=4674;POINT (-38.34672 -3.305891)', '2026-07-12 09:49:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346709 -3.305825)'), GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.305891)'))) / (select extract(epoch from '2026-07-12 09:49:53'::timestamp) - extract(epoch from '2026-07-12 09:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346709 -3.305825)'), GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.305891)'))) / (select extract(epoch from '2026-07-12 09:49:53'::timestamp) - extract(epoch from '2026-07-12 09:49: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'), 47392, 'SRID=4674;POINT (-38.346742 -3.305946)', '2026-07-12 09:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.305891)'), GeomFromEWKT('SRID=4674;POINT (-38.346742 -3.305946)'))) / (select extract(epoch from '2026-07-12 09:49:59'::timestamp) - extract(epoch from '2026-07-12 09:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.305891)'), GeomFromEWKT('SRID=4674;POINT (-38.346742 -3.305946)'))) / (select extract(epoch from '2026-07-12 09:49:59'::timestamp) - extract(epoch from '2026-07-12 09:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346759 -3.305997)', '2026-07-12 09:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346742 -3.305946)'), GeomFromEWKT('SRID=4674;POINT (-38.346759 -3.305997)'))) / (select extract(epoch from '2026-07-12 09:50:05'::timestamp) - extract(epoch from '2026-07-12 09:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346742 -3.305946)'), GeomFromEWKT('SRID=4674;POINT (-38.346759 -3.305997)'))) / (select extract(epoch from '2026-07-12 09:50:05'::timestamp) - extract(epoch from '2026-07-12 09:49: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'), 47392, 'SRID=4674;POINT (-38.346782 -3.306064)', '2026-07-12 09:50:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346759 -3.305997)'), GeomFromEWKT('SRID=4674;POINT (-38.346782 -3.306064)'))) / (select extract(epoch from '2026-07-12 09:50:11'::timestamp) - extract(epoch from '2026-07-12 09:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346759 -3.305997)'), GeomFromEWKT('SRID=4674;POINT (-38.346782 -3.306064)'))) / (select extract(epoch from '2026-07-12 09:50:11'::timestamp) - extract(epoch from '2026-07-12 09:50: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'), 47392, 'SRID=4674;POINT (-38.346803 -3.306116)', '2026-07-12 09:50:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346782 -3.306064)'), GeomFromEWKT('SRID=4674;POINT (-38.346803 -3.306116)'))) / (select extract(epoch from '2026-07-12 09:50:16'::timestamp) - extract(epoch from '2026-07-12 09:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346782 -3.306064)'), GeomFromEWKT('SRID=4674;POINT (-38.346803 -3.306116)'))) / (select extract(epoch from '2026-07-12 09:50:16'::timestamp) - extract(epoch from '2026-07-12 09:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346813 -3.306127)', '2026-07-12 09:50:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346803 -3.306116)'), GeomFromEWKT('SRID=4674;POINT (-38.346813 -3.306127)'))) / (select extract(epoch from '2026-07-12 09:50:17'::timestamp) - extract(epoch from '2026-07-12 09:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346803 -3.306116)'), GeomFromEWKT('SRID=4674;POINT (-38.346813 -3.306127)'))) / (select extract(epoch from '2026-07-12 09:50:17'::timestamp) - extract(epoch from '2026-07-12 09:50: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'), 47392, 'SRID=4674;POINT (-38.34682 -3.306145)', '2026-07-12 09:50:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346813 -3.306127)'), GeomFromEWKT('SRID=4674;POINT (-38.34682 -3.306145)'))) / (select extract(epoch from '2026-07-12 09:50:19'::timestamp) - extract(epoch from '2026-07-12 09:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346813 -3.306127)'), GeomFromEWKT('SRID=4674;POINT (-38.34682 -3.306145)'))) / (select extract(epoch from '2026-07-12 09:50:19'::timestamp) - extract(epoch from '2026-07-12 09:50: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'), 47392, 'SRID=4674;POINT (-38.346826 -3.306165)', '2026-07-12 09:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34682 -3.306145)'), GeomFromEWKT('SRID=4674;POINT (-38.346826 -3.306165)'))) / (select extract(epoch from '2026-07-12 09:50:21'::timestamp) - extract(epoch from '2026-07-12 09:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34682 -3.306145)'), GeomFromEWKT('SRID=4674;POINT (-38.346826 -3.306165)'))) / (select extract(epoch from '2026-07-12 09:50:21'::timestamp) - extract(epoch from '2026-07-12 09:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346838 -3.306184)', '2026-07-12 09:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346826 -3.306165)'), GeomFromEWKT('SRID=4674;POINT (-38.346838 -3.306184)'))) / (select extract(epoch from '2026-07-12 09:50:23'::timestamp) - extract(epoch from '2026-07-12 09:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346826 -3.306165)'), GeomFromEWKT('SRID=4674;POINT (-38.346838 -3.306184)'))) / (select extract(epoch from '2026-07-12 09:50:23'::timestamp) - extract(epoch from '2026-07-12 09:50: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'), 47392, 'SRID=4674;POINT (-38.346861 -3.306231)', '2026-07-12 09:50:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346838 -3.306184)'), GeomFromEWKT('SRID=4674;POINT (-38.346861 -3.306231)'))) / (select extract(epoch from '2026-07-12 09:50:27'::timestamp) - extract(epoch from '2026-07-12 09:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346838 -3.306184)'), GeomFromEWKT('SRID=4674;POINT (-38.346861 -3.306231)'))) / (select extract(epoch from '2026-07-12 09:50:27'::timestamp) - extract(epoch from '2026-07-12 09:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346891 -3.306272)', '2026-07-12 09:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346861 -3.306231)'), GeomFromEWKT('SRID=4674;POINT (-38.346891 -3.306272)'))) / (select extract(epoch from '2026-07-12 09:50:31'::timestamp) - extract(epoch from '2026-07-12 09:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346861 -3.306231)'), GeomFromEWKT('SRID=4674;POINT (-38.346891 -3.306272)'))) / (select extract(epoch from '2026-07-12 09:50:31'::timestamp) - extract(epoch from '2026-07-12 09:50: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'), 47392, 'SRID=4674;POINT (-38.346896 -3.306288)', '2026-07-12 09:50:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346891 -3.306272)'), GeomFromEWKT('SRID=4674;POINT (-38.346896 -3.306288)'))) / (select extract(epoch from '2026-07-12 09:50:33'::timestamp) - extract(epoch from '2026-07-12 09:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346891 -3.306272)'), GeomFromEWKT('SRID=4674;POINT (-38.346896 -3.306288)'))) / (select extract(epoch from '2026-07-12 09:50:33'::timestamp) - extract(epoch from '2026-07-12 09:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.346944 -3.306365)', '2026-07-12 09:50:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346896 -3.306288)'), GeomFromEWKT('SRID=4674;POINT (-38.346944 -3.306365)'))) / (select extract(epoch from '2026-07-12 09:50:40'::timestamp) - extract(epoch from '2026-07-12 09:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346896 -3.306288)'), GeomFromEWKT('SRID=4674;POINT (-38.346944 -3.306365)'))) / (select extract(epoch from '2026-07-12 09:50:40'::timestamp) - extract(epoch from '2026-07-12 09:50: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'), 47392, 'SRID=4674;POINT (-38.346944 -3.306376)', '2026-07-12 09:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346944 -3.306365)'), GeomFromEWKT('SRID=4674;POINT (-38.346944 -3.306376)'))) / (select extract(epoch from '2026-07-12 09:50:41'::timestamp) - extract(epoch from '2026-07-12 09:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346944 -3.306365)'), GeomFromEWKT('SRID=4674;POINT (-38.346944 -3.306376)'))) / (select extract(epoch from '2026-07-12 09:50:41'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.346955 -3.306398)', '2026-07-12 09:50:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346944 -3.306376)'), GeomFromEWKT('SRID=4674;POINT (-38.346955 -3.306398)'))) / (select extract(epoch from '2026-07-12 09:50:43'::timestamp) - extract(epoch from '2026-07-12 09:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346944 -3.306376)'), GeomFromEWKT('SRID=4674;POINT (-38.346955 -3.306398)'))) / (select extract(epoch from '2026-07-12 09:50:43'::timestamp) - extract(epoch from '2026-07-12 09:50: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'), 47392, 'SRID=4674;POINT (-38.346982 -3.306422)', '2026-07-12 09:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346955 -3.306398)'), GeomFromEWKT('SRID=4674;POINT (-38.346982 -3.306422)'))) / (select extract(epoch from '2026-07-12 09:50:45'::timestamp) - extract(epoch from '2026-07-12 09:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346955 -3.306398)'), GeomFromEWKT('SRID=4674;POINT (-38.346982 -3.306422)'))) / (select extract(epoch from '2026-07-12 09:50:45'::timestamp) - extract(epoch from '2026-07-12 09:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347043 -3.3065)', '2026-07-12 09:50:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346982 -3.306422)'), GeomFromEWKT('SRID=4674;POINT (-38.347043 -3.3065)'))) / (select extract(epoch from '2026-07-12 09:50:52'::timestamp) - extract(epoch from '2026-07-12 09:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346982 -3.306422)'), GeomFromEWKT('SRID=4674;POINT (-38.347043 -3.3065)'))) / (select extract(epoch from '2026-07-12 09:50:52'::timestamp) - extract(epoch from '2026-07-12 09:50: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'), 47392, 'SRID=4674;POINT (-38.347063 -3.306532)', '2026-07-12 09:50:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347043 -3.3065)'), GeomFromEWKT('SRID=4674;POINT (-38.347063 -3.306532)'))) / (select extract(epoch from '2026-07-12 09:50:56'::timestamp) - extract(epoch from '2026-07-12 09:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347043 -3.3065)'), GeomFromEWKT('SRID=4674;POINT (-38.347063 -3.306532)'))) / (select extract(epoch from '2026-07-12 09:50:56'::timestamp) - extract(epoch from '2026-07-12 09:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347088 -3.306556)', '2026-07-12 09:50:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347063 -3.306532)'), GeomFromEWKT('SRID=4674;POINT (-38.347088 -3.306556)'))) / (select extract(epoch from '2026-07-12 09:50:58'::timestamp) - extract(epoch from '2026-07-12 09:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347063 -3.306532)'), GeomFromEWKT('SRID=4674;POINT (-38.347088 -3.306556)'))) / (select extract(epoch from '2026-07-12 09:50:58'::timestamp) - extract(epoch from '2026-07-12 09:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347107 -3.306583)', '2026-07-12 09:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347088 -3.306556)'), GeomFromEWKT('SRID=4674;POINT (-38.347107 -3.306583)'))) / (select extract(epoch from '2026-07-12 09:51:01'::timestamp) - extract(epoch from '2026-07-12 09:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347088 -3.306556)'), GeomFromEWKT('SRID=4674;POINT (-38.347107 -3.306583)'))) / (select extract(epoch from '2026-07-12 09:51:01'::timestamp) - extract(epoch from '2026-07-12 09:50: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'), 47392, 'SRID=4674;POINT (-38.347121 -3.306606)', '2026-07-12 09:51:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347107 -3.306583)'), GeomFromEWKT('SRID=4674;POINT (-38.347121 -3.306606)'))) / (select extract(epoch from '2026-07-12 09:51:03'::timestamp) - extract(epoch from '2026-07-12 09:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347107 -3.306583)'), GeomFromEWKT('SRID=4674;POINT (-38.347121 -3.306606)'))) / (select extract(epoch from '2026-07-12 09:51:03'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347162 -3.306647)', '2026-07-12 09:51:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347121 -3.306606)'), GeomFromEWKT('SRID=4674;POINT (-38.347162 -3.306647)'))) / (select extract(epoch from '2026-07-12 09:51:07'::timestamp) - extract(epoch from '2026-07-12 09:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347121 -3.306606)'), GeomFromEWKT('SRID=4674;POINT (-38.347162 -3.306647)'))) / (select extract(epoch from '2026-07-12 09:51:07'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347166 -3.306657)', '2026-07-12 09:51:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347162 -3.306647)'), GeomFromEWKT('SRID=4674;POINT (-38.347166 -3.306657)'))) / (select extract(epoch from '2026-07-12 09:51:08'::timestamp) - extract(epoch from '2026-07-12 09:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347162 -3.306647)'), GeomFromEWKT('SRID=4674;POINT (-38.347166 -3.306657)'))) / (select extract(epoch from '2026-07-12 09:51:08'::timestamp) - extract(epoch from '2026-07-12 09:51: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'), 47392, 'SRID=4674;POINT (-38.347216 -3.306735)', '2026-07-12 09:51:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347166 -3.306657)'), GeomFromEWKT('SRID=4674;POINT (-38.347216 -3.306735)'))) / (select extract(epoch from '2026-07-12 09:51:14'::timestamp) - extract(epoch from '2026-07-12 09:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347166 -3.306657)'), GeomFromEWKT('SRID=4674;POINT (-38.347216 -3.306735)'))) / (select extract(epoch from '2026-07-12 09:51:14'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.34724 -3.306807)', '2026-07-12 09:51:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347216 -3.306735)'), GeomFromEWKT('SRID=4674;POINT (-38.34724 -3.306807)'))) / (select extract(epoch from '2026-07-12 09:51:20'::timestamp) - extract(epoch from '2026-07-12 09:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347216 -3.306735)'), GeomFromEWKT('SRID=4674;POINT (-38.34724 -3.306807)'))) / (select extract(epoch from '2026-07-12 09:51:20'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347258 -3.306841)', '2026-07-12 09:51:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34724 -3.306807)'), GeomFromEWKT('SRID=4674;POINT (-38.347258 -3.306841)'))) / (select extract(epoch from '2026-07-12 09:51:25'::timestamp) - extract(epoch from '2026-07-12 09:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34724 -3.306807)'), GeomFromEWKT('SRID=4674;POINT (-38.347258 -3.306841)'))) / (select extract(epoch from '2026-07-12 09:51:25'::timestamp) - extract(epoch from '2026-07-12 09:51: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'), 47392, 'SRID=4674;POINT (-38.347265 -3.306846)', '2026-07-12 09:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347258 -3.306841)'), GeomFromEWKT('SRID=4674;POINT (-38.347265 -3.306846)'))) / (select extract(epoch from '2026-07-12 09:51:26'::timestamp) - extract(epoch from '2026-07-12 09:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347258 -3.306841)'), GeomFromEWKT('SRID=4674;POINT (-38.347265 -3.306846)'))) / (select extract(epoch from '2026-07-12 09:51:26'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347301 -3.306871)', '2026-07-12 09:51:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347265 -3.306846)'), GeomFromEWKT('SRID=4674;POINT (-38.347301 -3.306871)'))) / (select extract(epoch from '2026-07-12 09:51:29'::timestamp) - extract(epoch from '2026-07-12 09:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347265 -3.306846)'), GeomFromEWKT('SRID=4674;POINT (-38.347301 -3.306871)'))) / (select extract(epoch from '2026-07-12 09:51:29'::timestamp) - extract(epoch from '2026-07-12 09:51: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'), 47392, 'SRID=4674;POINT (-38.347319 -3.306902)', '2026-07-12 09:51:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347301 -3.306871)'), GeomFromEWKT('SRID=4674;POINT (-38.347319 -3.306902)'))) / (select extract(epoch from '2026-07-12 09:51:33'::timestamp) - extract(epoch from '2026-07-12 09:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347301 -3.306871)'), GeomFromEWKT('SRID=4674;POINT (-38.347319 -3.306902)'))) / (select extract(epoch from '2026-07-12 09:51:33'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347337 -3.306914)', '2026-07-12 09:51:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347319 -3.306902)'), GeomFromEWKT('SRID=4674;POINT (-38.347337 -3.306914)'))) / (select extract(epoch from '2026-07-12 09:51:35'::timestamp) - extract(epoch from '2026-07-12 09:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347319 -3.306902)'), GeomFromEWKT('SRID=4674;POINT (-38.347337 -3.306914)'))) / (select extract(epoch from '2026-07-12 09:51:35'::timestamp) - extract(epoch from '2026-07-12 09:51: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'), 47392, 'SRID=4674;POINT (-38.347382 -3.306975)', '2026-07-12 09:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347337 -3.306914)'), GeomFromEWKT('SRID=4674;POINT (-38.347382 -3.306975)'))) / (select extract(epoch from '2026-07-12 09:51:42'::timestamp) - extract(epoch from '2026-07-12 09:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347337 -3.306914)'), GeomFromEWKT('SRID=4674;POINT (-38.347382 -3.306975)'))) / (select extract(epoch from '2026-07-12 09:51:42'::timestamp) - extract(epoch from '2026-07-12 09:51: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'), 47392, 'SRID=4674;POINT (-38.347421 -3.307051)', '2026-07-12 09:51:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347382 -3.306975)'), GeomFromEWKT('SRID=4674;POINT (-38.347421 -3.307051)'))) / (select extract(epoch from '2026-07-12 09:51:49'::timestamp) - extract(epoch from '2026-07-12 09:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347382 -3.306975)'), GeomFromEWKT('SRID=4674;POINT (-38.347421 -3.307051)'))) / (select extract(epoch from '2026-07-12 09:51:49'::timestamp) - extract(epoch from '2026-07-12 09:51: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'), 47392, 'SRID=4674;POINT (-38.347437 -3.307125)', '2026-07-12 09:51:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347421 -3.307051)'), GeomFromEWKT('SRID=4674;POINT (-38.347437 -3.307125)'))) / (select extract(epoch from '2026-07-12 09:51:55'::timestamp) - extract(epoch from '2026-07-12 09:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347421 -3.307051)'), GeomFromEWKT('SRID=4674;POINT (-38.347437 -3.307125)'))) / (select extract(epoch from '2026-07-12 09:51:55'::timestamp) - extract(epoch from '2026-07-12 09:51: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'), 47392, 'SRID=4674;POINT (-38.347451 -3.307148)', '2026-07-12 09:51:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347437 -3.307125)'), GeomFromEWKT('SRID=4674;POINT (-38.347451 -3.307148)'))) / (select extract(epoch from '2026-07-12 09:51:57'::timestamp) - extract(epoch from '2026-07-12 09:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347437 -3.307125)'), GeomFromEWKT('SRID=4674;POINT (-38.347451 -3.307148)'))) / (select extract(epoch from '2026-07-12 09:51:57'::timestamp) - extract(epoch from '2026-07-12 09:51:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347449 -3.307182)', '2026-07-12 09:52:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347451 -3.307148)'), GeomFromEWKT('SRID=4674;POINT (-38.347449 -3.307182)'))) / (select extract(epoch from '2026-07-12 09:52:00'::timestamp) - extract(epoch from '2026-07-12 09:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347451 -3.307148)'), GeomFromEWKT('SRID=4674;POINT (-38.347449 -3.307182)'))) / (select extract(epoch from '2026-07-12 09:52:00'::timestamp) - extract(epoch from '2026-07-12 09:51: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'), 47392, 'SRID=4674;POINT (-38.347451 -3.307194)', '2026-07-12 09:52:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347449 -3.307182)'), GeomFromEWKT('SRID=4674;POINT (-38.347451 -3.307194)'))) / (select extract(epoch from '2026-07-12 09:52:01'::timestamp) - extract(epoch from '2026-07-12 09:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347449 -3.307182)'), GeomFromEWKT('SRID=4674;POINT (-38.347451 -3.307194)'))) / (select extract(epoch from '2026-07-12 09:52:01'::timestamp) - extract(epoch from '2026-07-12 09:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347471 -3.307247)', '2026-07-12 09:52:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347451 -3.307194)'), GeomFromEWKT('SRID=4674;POINT (-38.347471 -3.307247)'))) / (select extract(epoch from '2026-07-12 09:52:05'::timestamp) - extract(epoch from '2026-07-12 09:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347451 -3.307194)'), GeomFromEWKT('SRID=4674;POINT (-38.347471 -3.307247)'))) / (select extract(epoch from '2026-07-12 09:52:05'::timestamp) - extract(epoch from '2026-07-12 09:52: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'), 47392, 'SRID=4674;POINT (-38.347496 -3.307318)', '2026-07-12 09:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347471 -3.307247)'), GeomFromEWKT('SRID=4674;POINT (-38.347496 -3.307318)'))) / (select extract(epoch from '2026-07-12 09:52:11'::timestamp) - extract(epoch from '2026-07-12 09:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347471 -3.307247)'), GeomFromEWKT('SRID=4674;POINT (-38.347496 -3.307318)'))) / (select extract(epoch from '2026-07-12 09:52:11'::timestamp) - extract(epoch from '2026-07-12 09:52: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'), 47392, 'SRID=4674;POINT (-38.347519 -3.307409)', '2026-07-12 09:52:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347496 -3.307318)'), GeomFromEWKT('SRID=4674;POINT (-38.347519 -3.307409)'))) / (select extract(epoch from '2026-07-12 09:52:19'::timestamp) - extract(epoch from '2026-07-12 09:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347496 -3.307318)'), GeomFromEWKT('SRID=4674;POINT (-38.347519 -3.307409)'))) / (select extract(epoch from '2026-07-12 09:52:19'::timestamp) - extract(epoch from '2026-07-12 09:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347543 -3.307482)', '2026-07-12 09:52:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347519 -3.307409)'), GeomFromEWKT('SRID=4674;POINT (-38.347543 -3.307482)'))) / (select extract(epoch from '2026-07-12 09:52:25'::timestamp) - extract(epoch from '2026-07-12 09:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347519 -3.307409)'), GeomFromEWKT('SRID=4674;POINT (-38.347543 -3.307482)'))) / (select extract(epoch from '2026-07-12 09:52:25'::timestamp) - extract(epoch from '2026-07-12 09:52: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'), 47392, 'SRID=4674;POINT (-38.347595 -3.307569)', '2026-07-12 09:52:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347543 -3.307482)'), GeomFromEWKT('SRID=4674;POINT (-38.347595 -3.307569)'))) / (select extract(epoch from '2026-07-12 09:52:32'::timestamp) - extract(epoch from '2026-07-12 09:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347543 -3.307482)'), GeomFromEWKT('SRID=4674;POINT (-38.347595 -3.307569)'))) / (select extract(epoch from '2026-07-12 09:52:32'::timestamp) - extract(epoch from '2026-07-12 09:52: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'), 47392, 'SRID=4674;POINT (-38.347657 -3.307663)', '2026-07-12 09:52:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347595 -3.307569)'), GeomFromEWKT('SRID=4674;POINT (-38.347657 -3.307663)'))) / (select extract(epoch from '2026-07-12 09:52:39'::timestamp) - extract(epoch from '2026-07-12 09:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347595 -3.307569)'), GeomFromEWKT('SRID=4674;POINT (-38.347657 -3.307663)'))) / (select extract(epoch from '2026-07-12 09:52:39'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347675 -3.307694)', '2026-07-12 09:52:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347657 -3.307663)'), GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.307694)'))) / (select extract(epoch from '2026-07-12 09:52:42'::timestamp) - extract(epoch from '2026-07-12 09:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347657 -3.307663)'), GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.307694)'))) / (select extract(epoch from '2026-07-12 09:52:42'::timestamp) - extract(epoch from '2026-07-12 09:52:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347688 -3.307716)', '2026-07-12 09:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.307694)'), GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.307716)'))) / (select extract(epoch from '2026-07-12 09:52:44'::timestamp) - extract(epoch from '2026-07-12 09:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347675 -3.307694)'), GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.307716)'))) / (select extract(epoch from '2026-07-12 09:52:44'::timestamp) - extract(epoch from '2026-07-12 09:52: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'), 47392, 'SRID=4674;POINT (-38.347712 -3.307751)', '2026-07-12 09:52:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.307716)'), GeomFromEWKT('SRID=4674;POINT (-38.347712 -3.307751)'))) / (select extract(epoch from '2026-07-12 09:52:47'::timestamp) - extract(epoch from '2026-07-12 09:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.307716)'), GeomFromEWKT('SRID=4674;POINT (-38.347712 -3.307751)'))) / (select extract(epoch from '2026-07-12 09:52:47'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.347732 -3.307786)', '2026-07-12 09:52:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347712 -3.307751)'), GeomFromEWKT('SRID=4674;POINT (-38.347732 -3.307786)'))) / (select extract(epoch from '2026-07-12 09:52:50'::timestamp) - extract(epoch from '2026-07-12 09:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347712 -3.307751)'), GeomFromEWKT('SRID=4674;POINT (-38.347732 -3.307786)'))) / (select extract(epoch from '2026-07-12 09:52:50'::timestamp) - extract(epoch from '2026-07-12 09:52: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'), 47392, 'SRID=4674;POINT (-38.347768 -3.307866)', '2026-07-12 09:52:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347732 -3.307786)'), GeomFromEWKT('SRID=4674;POINT (-38.347768 -3.307866)'))) / (select extract(epoch from '2026-07-12 09:52:56'::timestamp) - extract(epoch from '2026-07-12 09:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347732 -3.307786)'), GeomFromEWKT('SRID=4674;POINT (-38.347768 -3.307866)'))) / (select extract(epoch from '2026-07-12 09:52:56'::timestamp) - extract(epoch from '2026-07-12 09:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.347822 -3.307956)', '2026-07-12 09:53:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347768 -3.307866)'), GeomFromEWKT('SRID=4674;POINT (-38.347822 -3.307956)'))) / (select extract(epoch from '2026-07-12 09:53:03'::timestamp) - extract(epoch from '2026-07-12 09:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347768 -3.307866)'), GeomFromEWKT('SRID=4674;POINT (-38.347822 -3.307956)'))) / (select extract(epoch from '2026-07-12 09:53:03'::timestamp) - extract(epoch from '2026-07-12 09:52: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'), 47392, 'SRID=4674;POINT (-38.347891 -3.308017)', '2026-07-12 09:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347822 -3.307956)'), GeomFromEWKT('SRID=4674;POINT (-38.347891 -3.308017)'))) / (select extract(epoch from '2026-07-12 09:53:09'::timestamp) - extract(epoch from '2026-07-12 09:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347822 -3.307956)'), GeomFromEWKT('SRID=4674;POINT (-38.347891 -3.308017)'))) / (select extract(epoch from '2026-07-12 09:53:09'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.34797 -3.308087)', '2026-07-12 09:53:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347891 -3.308017)'), GeomFromEWKT('SRID=4674;POINT (-38.34797 -3.308087)'))) / (select extract(epoch from '2026-07-12 09:53:15'::timestamp) - extract(epoch from '2026-07-12 09:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347891 -3.308017)'), GeomFromEWKT('SRID=4674;POINT (-38.34797 -3.308087)'))) / (select extract(epoch from '2026-07-12 09:53:15'::timestamp) - extract(epoch from '2026-07-12 09:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348053 -3.308186)', '2026-07-12 09:53:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34797 -3.308087)'), GeomFromEWKT('SRID=4674;POINT (-38.348053 -3.308186)'))) / (select extract(epoch from '2026-07-12 09:53:23'::timestamp) - extract(epoch from '2026-07-12 09:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34797 -3.308087)'), GeomFromEWKT('SRID=4674;POINT (-38.348053 -3.308186)'))) / (select extract(epoch from '2026-07-12 09:53:23'::timestamp) - extract(epoch from '2026-07-12 09:53: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'), 47392, 'SRID=4674;POINT (-38.34812 -3.308254)', '2026-07-12 09:53:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348053 -3.308186)'), GeomFromEWKT('SRID=4674;POINT (-38.34812 -3.308254)'))) / (select extract(epoch from '2026-07-12 09:53:29'::timestamp) - extract(epoch from '2026-07-12 09:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348053 -3.308186)'), GeomFromEWKT('SRID=4674;POINT (-38.34812 -3.308254)'))) / (select extract(epoch from '2026-07-12 09:53:29'::timestamp) - extract(epoch from '2026-07-12 09:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348203 -3.308337)', '2026-07-12 09:53:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34812 -3.308254)'), GeomFromEWKT('SRID=4674;POINT (-38.348203 -3.308337)'))) / (select extract(epoch from '2026-07-12 09:53:37'::timestamp) - extract(epoch from '2026-07-12 09:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34812 -3.308254)'), GeomFromEWKT('SRID=4674;POINT (-38.348203 -3.308337)'))) / (select extract(epoch from '2026-07-12 09:53:37'::timestamp) - extract(epoch from '2026-07-12 09:53:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348267 -3.308406)', '2026-07-12 09:53:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348203 -3.308337)'), GeomFromEWKT('SRID=4674;POINT (-38.348267 -3.308406)'))) / (select extract(epoch from '2026-07-12 09:53:43'::timestamp) - extract(epoch from '2026-07-12 09:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348203 -3.308337)'), GeomFromEWKT('SRID=4674;POINT (-38.348267 -3.308406)'))) / (select extract(epoch from '2026-07-12 09:53:43'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.348339 -3.308472)', '2026-07-12 09:53:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348267 -3.308406)'), GeomFromEWKT('SRID=4674;POINT (-38.348339 -3.308472)'))) / (select extract(epoch from '2026-07-12 09:53:49'::timestamp) - extract(epoch from '2026-07-12 09:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348267 -3.308406)'), GeomFromEWKT('SRID=4674;POINT (-38.348339 -3.308472)'))) / (select extract(epoch from '2026-07-12 09:53:49'::timestamp) - extract(epoch from '2026-07-12 09:53: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'), 47392, 'SRID=4674;POINT (-38.348391 -3.308544)', '2026-07-12 09:53:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348339 -3.308472)'), GeomFromEWKT('SRID=4674;POINT (-38.348391 -3.308544)'))) / (select extract(epoch from '2026-07-12 09:53:54'::timestamp) - extract(epoch from '2026-07-12 09:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348339 -3.308472)'), GeomFromEWKT('SRID=4674;POINT (-38.348391 -3.308544)'))) / (select extract(epoch from '2026-07-12 09:53:54'::timestamp) - extract(epoch from '2026-07-12 09:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348441 -3.308626)', '2026-07-12 09:54:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348391 -3.308544)'), GeomFromEWKT('SRID=4674;POINT (-38.348441 -3.308626)'))) / (select extract(epoch from '2026-07-12 09:54:01'::timestamp) - extract(epoch from '2026-07-12 09:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348391 -3.308544)'), GeomFromEWKT('SRID=4674;POINT (-38.348441 -3.308626)'))) / (select extract(epoch from '2026-07-12 09:54:01'::timestamp) - extract(epoch from '2026-07-12 09:53:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348506 -3.308695)', '2026-07-12 09:54:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348441 -3.308626)'), GeomFromEWKT('SRID=4674;POINT (-38.348506 -3.308695)'))) / (select extract(epoch from '2026-07-12 09:54:06'::timestamp) - extract(epoch from '2026-07-12 09:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348441 -3.308626)'), GeomFromEWKT('SRID=4674;POINT (-38.348506 -3.308695)'))) / (select extract(epoch from '2026-07-12 09:54:06'::timestamp) - extract(epoch from '2026-07-12 09:54: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'), 47392, 'SRID=4674;POINT (-38.348516 -3.308704)', '2026-07-12 09:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348506 -3.308695)'), GeomFromEWKT('SRID=4674;POINT (-38.348516 -3.308704)'))) / (select extract(epoch from '2026-07-12 09:54:07'::timestamp) - extract(epoch from '2026-07-12 09:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348506 -3.308695)'), GeomFromEWKT('SRID=4674;POINT (-38.348516 -3.308704)'))) / (select extract(epoch from '2026-07-12 09:54:07'::timestamp) - extract(epoch from '2026-07-12 09:54: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'), 47392, 'SRID=4674;POINT (-38.348561 -3.308742)', '2026-07-12 09:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348516 -3.308704)'), GeomFromEWKT('SRID=4674;POINT (-38.348561 -3.308742)'))) / (select extract(epoch from '2026-07-12 09:54:11'::timestamp) - extract(epoch from '2026-07-12 09:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348516 -3.308704)'), GeomFromEWKT('SRID=4674;POINT (-38.348561 -3.308742)'))) / (select extract(epoch from '2026-07-12 09:54:11'::timestamp) - extract(epoch from '2026-07-12 09:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.348645 -3.308819)', '2026-07-12 09:54:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348561 -3.308742)'), GeomFromEWKT('SRID=4674;POINT (-38.348645 -3.308819)'))) / (select extract(epoch from '2026-07-12 09:54:18'::timestamp) - extract(epoch from '2026-07-12 09:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348561 -3.308742)'), GeomFromEWKT('SRID=4674;POINT (-38.348645 -3.308819)'))) / (select extract(epoch from '2026-07-12 09:54:18'::timestamp) - extract(epoch from '2026-07-12 09:54: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'), 47392, 'SRID=4674;POINT (-38.348717 -3.30888)', '2026-07-12 09:54:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348645 -3.308819)'), GeomFromEWKT('SRID=4674;POINT (-38.348717 -3.30888)'))) / (select extract(epoch from '2026-07-12 09:54:24'::timestamp) - extract(epoch from '2026-07-12 09:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348645 -3.308819)'), GeomFromEWKT('SRID=4674;POINT (-38.348717 -3.30888)'))) / (select extract(epoch from '2026-07-12 09:54:24'::timestamp) - extract(epoch from '2026-07-12 09:54: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'), 47392, 'SRID=4674;POINT (-38.348775 -3.308941)', '2026-07-12 09:54:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348717 -3.30888)'), GeomFromEWKT('SRID=4674;POINT (-38.348775 -3.308941)'))) / (select extract(epoch from '2026-07-12 09:54:29'::timestamp) - extract(epoch from '2026-07-12 09:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348717 -3.30888)'), GeomFromEWKT('SRID=4674;POINT (-38.348775 -3.308941)'))) / (select extract(epoch from '2026-07-12 09:54:29'::timestamp) - extract(epoch from '2026-07-12 09:54: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'), 47392, 'SRID=4674;POINT (-38.348858 -3.309019)', '2026-07-12 09:54:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348775 -3.308941)'), GeomFromEWKT('SRID=4674;POINT (-38.348858 -3.309019)'))) / (select extract(epoch from '2026-07-12 09:54:36'::timestamp) - extract(epoch from '2026-07-12 09:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348775 -3.308941)'), GeomFromEWKT('SRID=4674;POINT (-38.348858 -3.309019)'))) / (select extract(epoch from '2026-07-12 09:54:36'::timestamp) - extract(epoch from '2026-07-12 09:54: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'), 47392, 'SRID=4674;POINT (-38.348952 -3.309092)', '2026-07-12 09:54:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348858 -3.309019)'), GeomFromEWKT('SRID=4674;POINT (-38.348952 -3.309092)'))) / (select extract(epoch from '2026-07-12 09:54:43'::timestamp) - extract(epoch from '2026-07-12 09:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348858 -3.309019)'), GeomFromEWKT('SRID=4674;POINT (-38.348952 -3.309092)'))) / (select extract(epoch from '2026-07-12 09:54:43'::timestamp) - extract(epoch from '2026-07-12 09:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.349045 -3.309136)', '2026-07-12 09:54:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348952 -3.309092)'), GeomFromEWKT('SRID=4674;POINT (-38.349045 -3.309136)'))) / (select extract(epoch from '2026-07-12 09:54:49'::timestamp) - extract(epoch from '2026-07-12 09:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348952 -3.309092)'), GeomFromEWKT('SRID=4674;POINT (-38.349045 -3.309136)'))) / (select extract(epoch from '2026-07-12 09:54:49'::timestamp) - extract(epoch from '2026-07-12 09:54: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'), 47392, 'SRID=4674;POINT (-38.349155 -3.309187)', '2026-07-12 09:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349045 -3.309136)'), GeomFromEWKT('SRID=4674;POINT (-38.349155 -3.309187)'))) / (select extract(epoch from '2026-07-12 09:54:56'::timestamp) - extract(epoch from '2026-07-12 09:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349045 -3.309136)'), GeomFromEWKT('SRID=4674;POINT (-38.349155 -3.309187)'))) / (select extract(epoch from '2026-07-12 09:54:56'::timestamp) - extract(epoch from '2026-07-12 09:54: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'), 47392, 'SRID=4674;POINT (-38.349268 -3.309217)', '2026-07-12 09:55:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349155 -3.309187)'), GeomFromEWKT('SRID=4674;POINT (-38.349268 -3.309217)'))) / (select extract(epoch from '2026-07-12 09:55:02'::timestamp) - extract(epoch from '2026-07-12 09:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349155 -3.309187)'), GeomFromEWKT('SRID=4674;POINT (-38.349268 -3.309217)'))) / (select extract(epoch from '2026-07-12 09:55:02'::timestamp) - extract(epoch from '2026-07-12 09:54: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'), 47392, 'SRID=4674;POINT (-38.349363 -3.309212)', '2026-07-12 09:55:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349268 -3.309217)'), GeomFromEWKT('SRID=4674;POINT (-38.349363 -3.309212)'))) / (select extract(epoch from '2026-07-12 09:55:06'::timestamp) - extract(epoch from '2026-07-12 09:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349268 -3.309217)'), GeomFromEWKT('SRID=4674;POINT (-38.349363 -3.309212)'))) / (select extract(epoch from '2026-07-12 09:55:06'::timestamp) - extract(epoch from '2026-07-12 09:55:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.349472 -3.309176)', '2026-07-12 09:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349363 -3.309212)'), GeomFromEWKT('SRID=4674;POINT (-38.349472 -3.309176)'))) / (select extract(epoch from '2026-07-12 09:55:11'::timestamp) - extract(epoch from '2026-07-12 09:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349363 -3.309212)'), GeomFromEWKT('SRID=4674;POINT (-38.349472 -3.309176)'))) / (select extract(epoch from '2026-07-12 09:55:11'::timestamp) - extract(epoch from '2026-07-12 09:55: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'), 47392, 'SRID=4674;POINT (-38.34957 -3.309122)', '2026-07-12 09:55:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349472 -3.309176)'), GeomFromEWKT('SRID=4674;POINT (-38.34957 -3.309122)'))) / (select extract(epoch from '2026-07-12 09:55:15'::timestamp) - extract(epoch from '2026-07-12 09:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349472 -3.309176)'), GeomFromEWKT('SRID=4674;POINT (-38.34957 -3.309122)'))) / (select extract(epoch from '2026-07-12 09:55:15'::timestamp) - extract(epoch from '2026-07-12 09:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.349618 -3.309061)', '2026-07-12 09:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34957 -3.309122)'), GeomFromEWKT('SRID=4674;POINT (-38.349618 -3.309061)'))) / (select extract(epoch from '2026-07-12 09:55:19'::timestamp) - extract(epoch from '2026-07-12 09:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34957 -3.309122)'), GeomFromEWKT('SRID=4674;POINT (-38.349618 -3.309061)'))) / (select extract(epoch from '2026-07-12 09:55:19'::timestamp) - extract(epoch from '2026-07-12 09:55: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'), 47392, 'SRID=4674;POINT (-38.349691 -3.308975)', '2026-07-12 09:55:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349618 -3.309061)'), GeomFromEWKT('SRID=4674;POINT (-38.349691 -3.308975)'))) / (select extract(epoch from '2026-07-12 09:55:23'::timestamp) - extract(epoch from '2026-07-12 09:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349618 -3.309061)'), GeomFromEWKT('SRID=4674;POINT (-38.349691 -3.308975)'))) / (select extract(epoch from '2026-07-12 09:55:23'::timestamp) - extract(epoch from '2026-07-12 09:55: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'), 47392, 'SRID=4674;POINT (-38.349754 -3.308879)', '2026-07-12 09:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349691 -3.308975)'), GeomFromEWKT('SRID=4674;POINT (-38.349754 -3.308879)'))) / (select extract(epoch from '2026-07-12 09:55:28'::timestamp) - extract(epoch from '2026-07-12 09:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349691 -3.308975)'), GeomFromEWKT('SRID=4674;POINT (-38.349754 -3.308879)'))) / (select extract(epoch from '2026-07-12 09:55:28'::timestamp) - extract(epoch from '2026-07-12 09:55: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'), 47392, 'SRID=4674;POINT (-38.349802 -3.308807)', '2026-07-12 09:55:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349754 -3.308879)'), GeomFromEWKT('SRID=4674;POINT (-38.349802 -3.308807)'))) / (select extract(epoch from '2026-07-12 09:55:32'::timestamp) - extract(epoch from '2026-07-12 09:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349754 -3.308879)'), GeomFromEWKT('SRID=4674;POINT (-38.349802 -3.308807)'))) / (select extract(epoch from '2026-07-12 09:55:32'::timestamp) - extract(epoch from '2026-07-12 09:55: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'), 47392, 'SRID=4674;POINT (-38.349862 -3.308711)', '2026-07-12 09:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349802 -3.308807)'), GeomFromEWKT('SRID=4674;POINT (-38.349862 -3.308711)'))) / (select extract(epoch from '2026-07-12 09:55:38'::timestamp) - extract(epoch from '2026-07-12 09:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349802 -3.308807)'), GeomFromEWKT('SRID=4674;POINT (-38.349862 -3.308711)'))) / (select extract(epoch from '2026-07-12 09:55:38'::timestamp) - extract(epoch from '2026-07-12 09:55: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'), 47392, 'SRID=4674;POINT (-38.349913 -3.308657)', '2026-07-12 09:55:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349862 -3.308711)'), GeomFromEWKT('SRID=4674;POINT (-38.349913 -3.308657)'))) / (select extract(epoch from '2026-07-12 09:55:43'::timestamp) - extract(epoch from '2026-07-12 09:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349862 -3.308711)'), GeomFromEWKT('SRID=4674;POINT (-38.349913 -3.308657)'))) / (select extract(epoch from '2026-07-12 09:55:43'::timestamp) - extract(epoch from '2026-07-12 09:55: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'), 47392, 'SRID=4674;POINT (-38.34999 -3.30863)', '2026-07-12 09:55:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349913 -3.308657)'), GeomFromEWKT('SRID=4674;POINT (-38.34999 -3.30863)'))) / (select extract(epoch from '2026-07-12 09:55:50'::timestamp) - extract(epoch from '2026-07-12 09:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349913 -3.308657)'), GeomFromEWKT('SRID=4674;POINT (-38.34999 -3.30863)'))) / (select extract(epoch from '2026-07-12 09:55:50'::timestamp) - extract(epoch from '2026-07-12 09:55:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.350045 -3.3086)', '2026-07-12 09:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34999 -3.30863)'), GeomFromEWKT('SRID=4674;POINT (-38.350045 -3.3086)'))) / (select extract(epoch from '2026-07-12 09:55:56'::timestamp) - extract(epoch from '2026-07-12 09:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34999 -3.30863)'), GeomFromEWKT('SRID=4674;POINT (-38.350045 -3.3086)'))) / (select extract(epoch from '2026-07-12 09:55:56'::timestamp) - extract(epoch from '2026-07-12 09:55:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.350091 -3.308586)', '2026-07-12 09:56:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350045 -3.3086)'), GeomFromEWKT('SRID=4674;POINT (-38.350091 -3.308586)'))) / (select extract(epoch from '2026-07-12 09:56:02'::timestamp) - extract(epoch from '2026-07-12 09:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350045 -3.3086)'), GeomFromEWKT('SRID=4674;POINT (-38.350091 -3.308586)'))) / (select extract(epoch from '2026-07-12 09:56:02'::timestamp) - extract(epoch from '2026-07-12 09:55: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'), 47392, 'SRID=4674;POINT (-38.350141 -3.308567)', '2026-07-12 09:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350091 -3.308586)'), GeomFromEWKT('SRID=4674;POINT (-38.350141 -3.308567)'))) / (select extract(epoch from '2026-07-12 09:56:08'::timestamp) - extract(epoch from '2026-07-12 09:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350091 -3.308586)'), GeomFromEWKT('SRID=4674;POINT (-38.350141 -3.308567)'))) / (select extract(epoch from '2026-07-12 09:56:08'::timestamp) - extract(epoch from '2026-07-12 09:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.350208 -3.308524)', '2026-07-12 09:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350141 -3.308567)'), GeomFromEWKT('SRID=4674;POINT (-38.350208 -3.308524)'))) / (select extract(epoch from '2026-07-12 09:56:16'::timestamp) - extract(epoch from '2026-07-12 09:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350141 -3.308567)'), GeomFromEWKT('SRID=4674;POINT (-38.350208 -3.308524)'))) / (select extract(epoch from '2026-07-12 09:56:16'::timestamp) - extract(epoch from '2026-07-12 09:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.350313 -3.308471)', '2026-07-12 09:56:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350208 -3.308524)'), GeomFromEWKT('SRID=4674;POINT (-38.350313 -3.308471)'))) / (select extract(epoch from '2026-07-12 09:56:29'::timestamp) - extract(epoch from '2026-07-12 09:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350208 -3.308524)'), GeomFromEWKT('SRID=4674;POINT (-38.350313 -3.308471)'))) / (select extract(epoch from '2026-07-12 09:56:29'::timestamp) - extract(epoch from '2026-07-12 09:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35035 -3.308448)', '2026-07-12 09:56:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350313 -3.308471)'), GeomFromEWKT('SRID=4674;POINT (-38.35035 -3.308448)'))) / (select extract(epoch from '2026-07-12 09:56:34'::timestamp) - extract(epoch from '2026-07-12 09:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350313 -3.308471)'), GeomFromEWKT('SRID=4674;POINT (-38.35035 -3.308448)'))) / (select extract(epoch from '2026-07-12 09:56:34'::timestamp) - extract(epoch from '2026-07-12 09:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.350382 -3.308446)', '2026-07-12 09:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35035 -3.308448)'), GeomFromEWKT('SRID=4674;POINT (-38.350382 -3.308446)'))) / (select extract(epoch from '2026-07-12 09:56:37'::timestamp) - extract(epoch from '2026-07-12 09:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35035 -3.308448)'), GeomFromEWKT('SRID=4674;POINT (-38.350382 -3.308446)'))) / (select extract(epoch from '2026-07-12 09:56:37'::timestamp) - extract(epoch from '2026-07-12 09:56: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'), 47392, 'SRID=4674;POINT (-38.350439 -3.308436)', '2026-07-12 09:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350382 -3.308446)'), GeomFromEWKT('SRID=4674;POINT (-38.350439 -3.308436)'))) / (select extract(epoch from '2026-07-12 09:56:44'::timestamp) - extract(epoch from '2026-07-12 09:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350382 -3.308446)'), GeomFromEWKT('SRID=4674;POINT (-38.350439 -3.308436)'))) / (select extract(epoch from '2026-07-12 09:56:44'::timestamp) - extract(epoch from '2026-07-12 09:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.350483 -3.308417)', '2026-07-12 09:56:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350439 -3.308436)'), GeomFromEWKT('SRID=4674;POINT (-38.350483 -3.308417)'))) / (select extract(epoch from '2026-07-12 09:56:50'::timestamp) - extract(epoch from '2026-07-12 09:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350439 -3.308436)'), GeomFromEWKT('SRID=4674;POINT (-38.350483 -3.308417)'))) / (select extract(epoch from '2026-07-12 09:56:50'::timestamp) - extract(epoch from '2026-07-12 09:56: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'), 47392, 'SRID=4674;POINT (-38.350513 -3.308408)', '2026-07-12 09:56:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350483 -3.308417)'), GeomFromEWKT('SRID=4674;POINT (-38.350513 -3.308408)'))) / (select extract(epoch from '2026-07-12 09:56:53'::timestamp) - extract(epoch from '2026-07-12 09:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350483 -3.308417)'), GeomFromEWKT('SRID=4674;POINT (-38.350513 -3.308408)'))) / (select extract(epoch from '2026-07-12 09:56:53'::timestamp) - extract(epoch from '2026-07-12 09:56: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'), 47392, 'SRID=4674;POINT (-38.350574 -3.308388)', '2026-07-12 09:57:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350513 -3.308408)'), GeomFromEWKT('SRID=4674;POINT (-38.350574 -3.308388)'))) / (select extract(epoch from '2026-07-12 09:57:00'::timestamp) - extract(epoch from '2026-07-12 09:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350513 -3.308408)'), GeomFromEWKT('SRID=4674;POINT (-38.350574 -3.308388)'))) / (select extract(epoch from '2026-07-12 09:57:00'::timestamp) - extract(epoch from '2026-07-12 09:56: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'), 47392, 'SRID=4674;POINT (-38.350599 -3.308382)', '2026-07-12 09:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350574 -3.308388)'), GeomFromEWKT('SRID=4674;POINT (-38.350599 -3.308382)'))) / (select extract(epoch from '2026-07-12 09:57:02'::timestamp) - extract(epoch from '2026-07-12 09:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350574 -3.308388)'), GeomFromEWKT('SRID=4674;POINT (-38.350599 -3.308382)'))) / (select extract(epoch from '2026-07-12 09:57:02'::timestamp) - extract(epoch from '2026-07-12 09:57: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'), 47392, 'SRID=4674;POINT (-38.350613 -3.308363)', '2026-07-12 09:57:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350599 -3.308382)'), GeomFromEWKT('SRID=4674;POINT (-38.350613 -3.308363)'))) / (select extract(epoch from '2026-07-12 09:57:05'::timestamp) - extract(epoch from '2026-07-12 09:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350599 -3.308382)'), GeomFromEWKT('SRID=4674;POINT (-38.350613 -3.308363)'))) / (select extract(epoch from '2026-07-12 09:57:05'::timestamp) - extract(epoch from '2026-07-12 09:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.350621 -3.308361)', '2026-07-12 09:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350613 -3.308363)'), GeomFromEWKT('SRID=4674;POINT (-38.350621 -3.308361)'))) / (select extract(epoch from '2026-07-12 09:57:06'::timestamp) - extract(epoch from '2026-07-12 09:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350613 -3.308363)'), GeomFromEWKT('SRID=4674;POINT (-38.350621 -3.308361)'))) / (select extract(epoch from '2026-07-12 09:57:06'::timestamp) - extract(epoch from '2026-07-12 09:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.350661 -3.308351)', '2026-07-12 09:57:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350621 -3.308361)'), GeomFromEWKT('SRID=4674;POINT (-38.350661 -3.308351)'))) / (select extract(epoch from '2026-07-12 09:57:10'::timestamp) - extract(epoch from '2026-07-12 09:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350621 -3.308361)'), GeomFromEWKT('SRID=4674;POINT (-38.350661 -3.308351)'))) / (select extract(epoch from '2026-07-12 09:57:10'::timestamp) - extract(epoch from '2026-07-12 09:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35071 -3.308313)', '2026-07-12 09:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350661 -3.308351)'), GeomFromEWKT('SRID=4674;POINT (-38.35071 -3.308313)'))) / (select extract(epoch from '2026-07-12 09:57:17'::timestamp) - extract(epoch from '2026-07-12 09:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350661 -3.308351)'), GeomFromEWKT('SRID=4674;POINT (-38.35071 -3.308313)'))) / (select extract(epoch from '2026-07-12 09:57:17'::timestamp) - extract(epoch from '2026-07-12 09:57: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'), 47392, 'SRID=4674;POINT (-38.350758 -3.308275)', '2026-07-12 09:57:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35071 -3.308313)'), GeomFromEWKT('SRID=4674;POINT (-38.350758 -3.308275)'))) / (select extract(epoch from '2026-07-12 09:57:23'::timestamp) - extract(epoch from '2026-07-12 09:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35071 -3.308313)'), GeomFromEWKT('SRID=4674;POINT (-38.350758 -3.308275)'))) / (select extract(epoch from '2026-07-12 09:57:23'::timestamp) - extract(epoch from '2026-07-12 09:57: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'), 47392, 'SRID=4674;POINT (-38.350784 -3.308261)', '2026-07-12 09:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350758 -3.308275)'), GeomFromEWKT('SRID=4674;POINT (-38.350784 -3.308261)'))) / (select extract(epoch from '2026-07-12 09:57:27'::timestamp) - extract(epoch from '2026-07-12 09:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350758 -3.308275)'), GeomFromEWKT('SRID=4674;POINT (-38.350784 -3.308261)'))) / (select extract(epoch from '2026-07-12 09:57:27'::timestamp) - extract(epoch from '2026-07-12 09:57: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'), 47392, 'SRID=4674;POINT (-38.350795 -3.308251)', '2026-07-12 09:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350784 -3.308261)'), GeomFromEWKT('SRID=4674;POINT (-38.350795 -3.308251)'))) / (select extract(epoch from '2026-07-12 09:57:29'::timestamp) - extract(epoch from '2026-07-12 09:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350784 -3.308261)'), GeomFromEWKT('SRID=4674;POINT (-38.350795 -3.308251)'))) / (select extract(epoch from '2026-07-12 09:57:29'::timestamp) - extract(epoch from '2026-07-12 09:57: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'), 47392, 'SRID=4674;POINT (-38.350853 -3.30821)', '2026-07-12 09:57:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350795 -3.308251)'), GeomFromEWKT('SRID=4674;POINT (-38.350853 -3.30821)'))) / (select extract(epoch from '2026-07-12 09:57:39'::timestamp) - extract(epoch from '2026-07-12 09:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350795 -3.308251)'), GeomFromEWKT('SRID=4674;POINT (-38.350853 -3.30821)'))) / (select extract(epoch from '2026-07-12 09:57:39'::timestamp) - extract(epoch from '2026-07-12 09:57: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'), 47392, 'SRID=4674;POINT (-38.350902 -3.308162)', '2026-07-12 09:57:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350853 -3.30821)'), GeomFromEWKT('SRID=4674;POINT (-38.350902 -3.308162)'))) / (select extract(epoch from '2026-07-12 09:57:48'::timestamp) - extract(epoch from '2026-07-12 09:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350853 -3.30821)'), GeomFromEWKT('SRID=4674;POINT (-38.350902 -3.308162)'))) / (select extract(epoch from '2026-07-12 09:57:48'::timestamp) - extract(epoch from '2026-07-12 09:57: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'), 47392, 'SRID=4674;POINT (-38.350942 -3.308121)', '2026-07-12 09:57:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350902 -3.308162)'), GeomFromEWKT('SRID=4674;POINT (-38.350942 -3.308121)'))) / (select extract(epoch from '2026-07-12 09:57:55'::timestamp) - extract(epoch from '2026-07-12 09:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350902 -3.308162)'), GeomFromEWKT('SRID=4674;POINT (-38.350942 -3.308121)'))) / (select extract(epoch from '2026-07-12 09:57:55'::timestamp) - extract(epoch from '2026-07-12 09:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.350993 -3.30809)', '2026-07-12 09:58:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350942 -3.308121)'), GeomFromEWKT('SRID=4674;POINT (-38.350993 -3.30809)'))) / (select extract(epoch from '2026-07-12 09:58:03'::timestamp) - extract(epoch from '2026-07-12 09:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350942 -3.308121)'), GeomFromEWKT('SRID=4674;POINT (-38.350993 -3.30809)'))) / (select extract(epoch from '2026-07-12 09:58:03'::timestamp) - extract(epoch from '2026-07-12 09:57: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'), 47392, 'SRID=4674;POINT (-38.351028 -3.308068)', '2026-07-12 09:58:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350993 -3.30809)'), GeomFromEWKT('SRID=4674;POINT (-38.351028 -3.308068)'))) / (select extract(epoch from '2026-07-12 09:58:11'::timestamp) - extract(epoch from '2026-07-12 09:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350993 -3.30809)'), GeomFromEWKT('SRID=4674;POINT (-38.351028 -3.308068)'))) / (select extract(epoch from '2026-07-12 09:58:11'::timestamp) - extract(epoch from '2026-07-12 09:58: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'), 47392, 'SRID=4674;POINT (-38.351058 -3.30804)', '2026-07-12 09:58:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351028 -3.308068)'), GeomFromEWKT('SRID=4674;POINT (-38.351058 -3.30804)'))) / (select extract(epoch from '2026-07-12 09:58:18'::timestamp) - extract(epoch from '2026-07-12 09:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351028 -3.308068)'), GeomFromEWKT('SRID=4674;POINT (-38.351058 -3.30804)'))) / (select extract(epoch from '2026-07-12 09:58:18'::timestamp) - extract(epoch from '2026-07-12 09:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351083 -3.308016)', '2026-07-12 09:58:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351058 -3.30804)'), GeomFromEWKT('SRID=4674;POINT (-38.351083 -3.308016)'))) / (select extract(epoch from '2026-07-12 09:58:23'::timestamp) - extract(epoch from '2026-07-12 09:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351058 -3.30804)'), GeomFromEWKT('SRID=4674;POINT (-38.351083 -3.308016)'))) / (select extract(epoch from '2026-07-12 09:58:23'::timestamp) - extract(epoch from '2026-07-12 09:58: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'), 47392, 'SRID=4674;POINT (-38.351143 -3.307985)', '2026-07-12 09:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351083 -3.308016)'), GeomFromEWKT('SRID=4674;POINT (-38.351143 -3.307985)'))) / (select extract(epoch from '2026-07-12 09:58:32'::timestamp) - extract(epoch from '2026-07-12 09:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351083 -3.308016)'), GeomFromEWKT('SRID=4674;POINT (-38.351143 -3.307985)'))) / (select extract(epoch from '2026-07-12 09:58:32'::timestamp) - extract(epoch from '2026-07-12 09:58:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351185 -3.307958)', '2026-07-12 09:58:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351143 -3.307985)'), GeomFromEWKT('SRID=4674;POINT (-38.351185 -3.307958)'))) / (select extract(epoch from '2026-07-12 09:58:39'::timestamp) - extract(epoch from '2026-07-12 09:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351143 -3.307985)'), GeomFromEWKT('SRID=4674;POINT (-38.351185 -3.307958)'))) / (select extract(epoch from '2026-07-12 09:58:39'::timestamp) - extract(epoch from '2026-07-12 09:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351202 -3.307931)', '2026-07-12 09:58:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351185 -3.307958)'), GeomFromEWKT('SRID=4674;POINT (-38.351202 -3.307931)'))) / (select extract(epoch from '2026-07-12 09:58:46'::timestamp) - extract(epoch from '2026-07-12 09:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351185 -3.307958)'), GeomFromEWKT('SRID=4674;POINT (-38.351202 -3.307931)'))) / (select extract(epoch from '2026-07-12 09:58:46'::timestamp) - extract(epoch from '2026-07-12 09:58:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351218 -3.307915)', '2026-07-12 09:58:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351202 -3.307931)'), GeomFromEWKT('SRID=4674;POINT (-38.351218 -3.307915)'))) / (select extract(epoch from '2026-07-12 09:58:49'::timestamp) - extract(epoch from '2026-07-12 09:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351202 -3.307931)'), GeomFromEWKT('SRID=4674;POINT (-38.351218 -3.307915)'))) / (select extract(epoch from '2026-07-12 09:58:49'::timestamp) - extract(epoch from '2026-07-12 09:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35124 -3.307902)', '2026-07-12 09:58:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351218 -3.307915)'), GeomFromEWKT('SRID=4674;POINT (-38.35124 -3.307902)'))) / (select extract(epoch from '2026-07-12 09:58:53'::timestamp) - extract(epoch from '2026-07-12 09:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351218 -3.307915)'), GeomFromEWKT('SRID=4674;POINT (-38.35124 -3.307902)'))) / (select extract(epoch from '2026-07-12 09:58:53'::timestamp) - extract(epoch from '2026-07-12 09:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351277 -3.307866)', '2026-07-12 09:59:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35124 -3.307902)'), GeomFromEWKT('SRID=4674;POINT (-38.351277 -3.307866)'))) / (select extract(epoch from '2026-07-12 09:59:03'::timestamp) - extract(epoch from '2026-07-12 09:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35124 -3.307902)'), GeomFromEWKT('SRID=4674;POINT (-38.351277 -3.307866)'))) / (select extract(epoch from '2026-07-12 09:59:03'::timestamp) - extract(epoch from '2026-07-12 09:58: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'), 47392, 'SRID=4674;POINT (-38.351316 -3.307844)', '2026-07-12 09:59:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351277 -3.307866)'), GeomFromEWKT('SRID=4674;POINT (-38.351316 -3.307844)'))) / (select extract(epoch from '2026-07-12 09:59:11'::timestamp) - extract(epoch from '2026-07-12 09:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351277 -3.307866)'), GeomFromEWKT('SRID=4674;POINT (-38.351316 -3.307844)'))) / (select extract(epoch from '2026-07-12 09:59:11'::timestamp) - extract(epoch from '2026-07-12 09:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351356 -3.307813)', '2026-07-12 09:59:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351316 -3.307844)'), GeomFromEWKT('SRID=4674;POINT (-38.351356 -3.307813)'))) / (select extract(epoch from '2026-07-12 09:59:19'::timestamp) - extract(epoch from '2026-07-12 09:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351316 -3.307844)'), GeomFromEWKT('SRID=4674;POINT (-38.351356 -3.307813)'))) / (select extract(epoch from '2026-07-12 09:59:19'::timestamp) - extract(epoch from '2026-07-12 09:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351371 -3.3078)', '2026-07-12 09:59:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351356 -3.307813)'), GeomFromEWKT('SRID=4674;POINT (-38.351371 -3.3078)'))) / (select extract(epoch from '2026-07-12 09:59:24'::timestamp) - extract(epoch from '2026-07-12 09:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351356 -3.307813)'), GeomFromEWKT('SRID=4674;POINT (-38.351371 -3.3078)'))) / (select extract(epoch from '2026-07-12 09:59:24'::timestamp) - extract(epoch from '2026-07-12 09:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351363 -3.307796)', '2026-07-12 09:59:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351371 -3.3078)'), GeomFromEWKT('SRID=4674;POINT (-38.351363 -3.307796)'))) / (select extract(epoch from '2026-07-12 09:59:35'::timestamp) - extract(epoch from '2026-07-12 09:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351371 -3.3078)'), GeomFromEWKT('SRID=4674;POINT (-38.351363 -3.307796)'))) / (select extract(epoch from '2026-07-12 09:59:35'::timestamp) - extract(epoch from '2026-07-12 09:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351378 -3.307799)', '2026-07-12 09:59:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351363 -3.307796)'), GeomFromEWKT('SRID=4674;POINT (-38.351378 -3.307799)'))) / (select extract(epoch from '2026-07-12 09:59:43'::timestamp) - extract(epoch from '2026-07-12 09:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351363 -3.307796)'), GeomFromEWKT('SRID=4674;POINT (-38.351378 -3.307799)'))) / (select extract(epoch from '2026-07-12 09:59:43'::timestamp) - extract(epoch from '2026-07-12 09:59: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'), 47392, 'SRID=4674;POINT (-38.351391 -3.307789)', '2026-07-12 09:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351378 -3.307799)'), GeomFromEWKT('SRID=4674;POINT (-38.351391 -3.307789)'))) / (select extract(epoch from '2026-07-12 09:59:46'::timestamp) - extract(epoch from '2026-07-12 09:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351378 -3.307799)'), GeomFromEWKT('SRID=4674;POINT (-38.351391 -3.307789)'))) / (select extract(epoch from '2026-07-12 09:59:46'::timestamp) - extract(epoch from '2026-07-12 09:59:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351417 -3.307774)', '2026-07-12 09:59:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351391 -3.307789)'), GeomFromEWKT('SRID=4674;POINT (-38.351417 -3.307774)'))) / (select extract(epoch from '2026-07-12 09:59:52'::timestamp) - extract(epoch from '2026-07-12 09:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351391 -3.307789)'), GeomFromEWKT('SRID=4674;POINT (-38.351417 -3.307774)'))) / (select extract(epoch from '2026-07-12 09:59:52'::timestamp) - extract(epoch from '2026-07-12 09: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'), 47392, 'SRID=4674;POINT (-38.351473 -3.307733)', '2026-07-12 10:00:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351417 -3.307774)'), GeomFromEWKT('SRID=4674;POINT (-38.351473 -3.307733)'))) / (select extract(epoch from '2026-07-12 10:00:02'::timestamp) - extract(epoch from '2026-07-12 09:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351417 -3.307774)'), GeomFromEWKT('SRID=4674;POINT (-38.351473 -3.307733)'))) / (select extract(epoch from '2026-07-12 10:00:02'::timestamp) - extract(epoch from '2026-07-12 09:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351518 -3.307707)', '2026-07-12 10:00:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351473 -3.307733)'), GeomFromEWKT('SRID=4674;POINT (-38.351518 -3.307707)'))) / (select extract(epoch from '2026-07-12 10:00:11'::timestamp) - extract(epoch from '2026-07-12 10:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351473 -3.307733)'), GeomFromEWKT('SRID=4674;POINT (-38.351518 -3.307707)'))) / (select extract(epoch from '2026-07-12 10:00:11'::timestamp) - extract(epoch from '2026-07-12 10:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351556 -3.307672)', '2026-07-12 10:00:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351518 -3.307707)'), GeomFromEWKT('SRID=4674;POINT (-38.351556 -3.307672)'))) / (select extract(epoch from '2026-07-12 10:00:19'::timestamp) - extract(epoch from '2026-07-12 10:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351518 -3.307707)'), GeomFromEWKT('SRID=4674;POINT (-38.351556 -3.307672)'))) / (select extract(epoch from '2026-07-12 10:00:19'::timestamp) - extract(epoch from '2026-07-12 10:00: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'), 47392, 'SRID=4674;POINT (-38.351576 -3.30766)', '2026-07-12 10:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351556 -3.307672)'), GeomFromEWKT('SRID=4674;POINT (-38.351576 -3.30766)'))) / (select extract(epoch from '2026-07-12 10:00:23'::timestamp) - extract(epoch from '2026-07-12 10:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351556 -3.307672)'), GeomFromEWKT('SRID=4674;POINT (-38.351576 -3.30766)'))) / (select extract(epoch from '2026-07-12 10:00:23'::timestamp) - extract(epoch from '2026-07-12 10:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351609 -3.307643)', '2026-07-12 10:00:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351576 -3.30766)'), GeomFromEWKT('SRID=4674;POINT (-38.351609 -3.307643)'))) / (select extract(epoch from '2026-07-12 10:00:31'::timestamp) - extract(epoch from '2026-07-12 10:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351576 -3.30766)'), GeomFromEWKT('SRID=4674;POINT (-38.351609 -3.307643)'))) / (select extract(epoch from '2026-07-12 10:00:31'::timestamp) - extract(epoch from '2026-07-12 10:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351632 -3.307629)', '2026-07-12 10:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351609 -3.307643)'), GeomFromEWKT('SRID=4674;POINT (-38.351632 -3.307629)'))) / (select extract(epoch from '2026-07-12 10:00:41'::timestamp) - extract(epoch from '2026-07-12 10:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351609 -3.307643)'), GeomFromEWKT('SRID=4674;POINT (-38.351632 -3.307629)'))) / (select extract(epoch from '2026-07-12 10:00:41'::timestamp) - extract(epoch from '2026-07-12 10:00: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'), 47392, 'SRID=4674;POINT (-38.351638 -3.307644)', '2026-07-12 10:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351632 -3.307629)'), GeomFromEWKT('SRID=4674;POINT (-38.351638 -3.307644)'))) / (select extract(epoch from '2026-07-12 10:00:55'::timestamp) - extract(epoch from '2026-07-12 10:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351632 -3.307629)'), GeomFromEWKT('SRID=4674;POINT (-38.351638 -3.307644)'))) / (select extract(epoch from '2026-07-12 10:00:55'::timestamp) - extract(epoch from '2026-07-12 10:00: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'), 47392, 'SRID=4674;POINT (-38.351647 -3.307661)', '2026-07-12 10:02:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351638 -3.307644)'), GeomFromEWKT('SRID=4674;POINT (-38.351647 -3.307661)'))) / (select extract(epoch from '2026-07-12 10:02:12'::timestamp) - extract(epoch from '2026-07-12 10:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351638 -3.307644)'), GeomFromEWKT('SRID=4674;POINT (-38.351647 -3.307661)'))) / (select extract(epoch from '2026-07-12 10:02:12'::timestamp) - extract(epoch from '2026-07-12 10:00: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'), 47392, 'SRID=4674;POINT (-38.351661 -3.307689)', '2026-07-12 10:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351647 -3.307661)'), GeomFromEWKT('SRID=4674;POINT (-38.351661 -3.307689)'))) / (select extract(epoch from '2026-07-12 10:02:29'::timestamp) - extract(epoch from '2026-07-12 10:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351647 -3.307661)'), GeomFromEWKT('SRID=4674;POINT (-38.351661 -3.307689)'))) / (select extract(epoch from '2026-07-12 10:02:29'::timestamp) - extract(epoch from '2026-07-12 10:02: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'), 47392, 'SRID=4674;POINT (-38.351657 -3.307697)', '2026-07-12 10:02:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351661 -3.307689)'), GeomFromEWKT('SRID=4674;POINT (-38.351657 -3.307697)'))) / (select extract(epoch from '2026-07-12 10:02:40'::timestamp) - extract(epoch from '2026-07-12 10:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351661 -3.307689)'), GeomFromEWKT('SRID=4674;POINT (-38.351657 -3.307697)'))) / (select extract(epoch from '2026-07-12 10:02:40'::timestamp) - extract(epoch from '2026-07-12 10:02: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'), 47392, 'SRID=4674;POINT (-38.351664 -3.30769)', '2026-07-12 10:03:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351657 -3.307697)'), GeomFromEWKT('SRID=4674;POINT (-38.351664 -3.30769)'))) / (select extract(epoch from '2026-07-12 10:03:06'::timestamp) - extract(epoch from '2026-07-12 10:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351657 -3.307697)'), GeomFromEWKT('SRID=4674;POINT (-38.351664 -3.30769)'))) / (select extract(epoch from '2026-07-12 10:03:06'::timestamp) - extract(epoch from '2026-07-12 10:02:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351667 -3.307686)', '2026-07-12 10:03:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351664 -3.30769)'), GeomFromEWKT('SRID=4674;POINT (-38.351667 -3.307686)'))) / (select extract(epoch from '2026-07-12 10:03:33'::timestamp) - extract(epoch from '2026-07-12 10:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351664 -3.30769)'), GeomFromEWKT('SRID=4674;POINT (-38.351667 -3.307686)'))) / (select extract(epoch from '2026-07-12 10:03:33'::timestamp) - extract(epoch from '2026-07-12 10:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351658 -3.307691)', '2026-07-12 10:03:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351667 -3.307686)'), GeomFromEWKT('SRID=4674;POINT (-38.351658 -3.307691)'))) / (select extract(epoch from '2026-07-12 10:03:45'::timestamp) - extract(epoch from '2026-07-12 10:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351667 -3.307686)'), GeomFromEWKT('SRID=4674;POINT (-38.351658 -3.307691)'))) / (select extract(epoch from '2026-07-12 10:03:45'::timestamp) - extract(epoch from '2026-07-12 10:03: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'), 47392, 'SRID=4674;POINT (-38.35169 -3.307627)', '2026-07-12 10:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351658 -3.307691)'), GeomFromEWKT('SRID=4674;POINT (-38.35169 -3.307627)'))) / (select extract(epoch from '2026-07-12 10:04:46'::timestamp) - extract(epoch from '2026-07-12 10:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351658 -3.307691)'), GeomFromEWKT('SRID=4674;POINT (-38.35169 -3.307627)'))) / (select extract(epoch from '2026-07-12 10:04:46'::timestamp) - extract(epoch from '2026-07-12 10:03:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351751 -3.307587)', '2026-07-12 10:04:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35169 -3.307627)'), GeomFromEWKT('SRID=4674;POINT (-38.351751 -3.307587)'))) / (select extract(epoch from '2026-07-12 10:04:54'::timestamp) - extract(epoch from '2026-07-12 10:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35169 -3.307627)'), GeomFromEWKT('SRID=4674;POINT (-38.351751 -3.307587)'))) / (select extract(epoch from '2026-07-12 10:04:54'::timestamp) - extract(epoch from '2026-07-12 10:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351794 -3.307559)', '2026-07-12 10:05:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351751 -3.307587)'), GeomFromEWKT('SRID=4674;POINT (-38.351794 -3.307559)'))) / (select extract(epoch from '2026-07-12 10:05:00'::timestamp) - extract(epoch from '2026-07-12 10:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351751 -3.307587)'), GeomFromEWKT('SRID=4674;POINT (-38.351794 -3.307559)'))) / (select extract(epoch from '2026-07-12 10:05:00'::timestamp) - extract(epoch from '2026-07-12 10:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351791 -3.307554)', '2026-07-12 10:05:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351794 -3.307559)'), GeomFromEWKT('SRID=4674;POINT (-38.351791 -3.307554)'))) / (select extract(epoch from '2026-07-12 10:05:08'::timestamp) - extract(epoch from '2026-07-12 10:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351794 -3.307559)'), GeomFromEWKT('SRID=4674;POINT (-38.351791 -3.307554)'))) / (select extract(epoch from '2026-07-12 10:05:08'::timestamp) - extract(epoch from '2026-07-12 10:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35178 -3.307564)', '2026-07-12 10:06:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351791 -3.307554)'), GeomFromEWKT('SRID=4674;POINT (-38.35178 -3.307564)'))) / (select extract(epoch from '2026-07-12 10:06:37'::timestamp) - extract(epoch from '2026-07-12 10:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351791 -3.307554)'), GeomFromEWKT('SRID=4674;POINT (-38.35178 -3.307564)'))) / (select extract(epoch from '2026-07-12 10:06:37'::timestamp) - extract(epoch from '2026-07-12 10:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351785 -3.307566)', '2026-07-12 10:06:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35178 -3.307564)'), GeomFromEWKT('SRID=4674;POINT (-38.351785 -3.307566)'))) / (select extract(epoch from '2026-07-12 10:06:45'::timestamp) - extract(epoch from '2026-07-12 10:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35178 -3.307564)'), GeomFromEWKT('SRID=4674;POINT (-38.351785 -3.307566)'))) / (select extract(epoch from '2026-07-12 10:06:45'::timestamp) - extract(epoch from '2026-07-12 10:06: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'), 47392, 'SRID=4674;POINT (-38.351797 -3.307577)', '2026-07-12 10:07:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351785 -3.307566)'), GeomFromEWKT('SRID=4674;POINT (-38.351797 -3.307577)'))) / (select extract(epoch from '2026-07-12 10:07:10'::timestamp) - extract(epoch from '2026-07-12 10:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351785 -3.307566)'), GeomFromEWKT('SRID=4674;POINT (-38.351797 -3.307577)'))) / (select extract(epoch from '2026-07-12 10:07:10'::timestamp) - extract(epoch from '2026-07-12 10:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351802 -3.307583)', '2026-07-12 10:07:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351797 -3.307577)'), GeomFromEWKT('SRID=4674;POINT (-38.351802 -3.307583)'))) / (select extract(epoch from '2026-07-12 10:07:21'::timestamp) - extract(epoch from '2026-07-12 10:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351797 -3.307577)'), GeomFromEWKT('SRID=4674;POINT (-38.351802 -3.307583)'))) / (select extract(epoch from '2026-07-12 10:07:21'::timestamp) - extract(epoch from '2026-07-12 10:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.351802 -3.30759)', '2026-07-12 10:07:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351802 -3.307583)'), GeomFromEWKT('SRID=4674;POINT (-38.351802 -3.30759)'))) / (select extract(epoch from '2026-07-12 10:07:40'::timestamp) - extract(epoch from '2026-07-12 10:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351802 -3.307583)'), GeomFromEWKT('SRID=4674;POINT (-38.351802 -3.30759)'))) / (select extract(epoch from '2026-07-12 10:07:40'::timestamp) - extract(epoch from '2026-07-12 10:07: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'), 47392, 'SRID=4674;POINT (-38.3518 -3.307591)', '2026-07-12 10:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351802 -3.30759)'), GeomFromEWKT('SRID=4674;POINT (-38.3518 -3.307591)'))) / (select extract(epoch from '2026-07-12 10:07:47'::timestamp) - extract(epoch from '2026-07-12 10:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351802 -3.30759)'), GeomFromEWKT('SRID=4674;POINT (-38.3518 -3.307591)'))) / (select extract(epoch from '2026-07-12 10:07:47'::timestamp) - extract(epoch from '2026-07-12 10:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.3518 -3.307587)', '2026-07-12 10:08:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3518 -3.307591)'), GeomFromEWKT('SRID=4674;POINT (-38.3518 -3.307587)'))) / (select extract(epoch from '2026-07-12 10:08:09'::timestamp) - extract(epoch from '2026-07-12 10:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3518 -3.307591)'), GeomFromEWKT('SRID=4674;POINT (-38.3518 -3.307587)'))) / (select extract(epoch from '2026-07-12 10:08:09'::timestamp) - extract(epoch from '2026-07-12 10:07: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'), 47392, 'SRID=4674;POINT (-38.352348 -3.308391)', '2026-07-12 22:54:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3518 -3.307587)'), GeomFromEWKT('SRID=4674;POINT (-38.352348 -3.308391)'))) / (select extract(epoch from '2026-07-12 22:54:01'::timestamp) - extract(epoch from '2026-07-12 10:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3518 -3.307587)'), GeomFromEWKT('SRID=4674;POINT (-38.352348 -3.308391)'))) / (select extract(epoch from '2026-07-12 22:54:01'::timestamp) - extract(epoch from '2026-07-12 10:08: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'), 47392, 'SRID=4674;POINT (-38.352347 -3.308392)', '2026-07-12 22:54:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352348 -3.308391)'), GeomFromEWKT('SRID=4674;POINT (-38.352347 -3.308392)'))) / (select extract(epoch from '2026-07-12 22:54:06'::timestamp) - extract(epoch from '2026-07-12 22:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352348 -3.308391)'), GeomFromEWKT('SRID=4674;POINT (-38.352347 -3.308392)'))) / (select extract(epoch from '2026-07-12 22:54:06'::timestamp) - extract(epoch from '2026-07-12 22:54: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'), 47392, 'SRID=4674;POINT (-38.352357 -3.308399)', '2026-07-12 22:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352347 -3.308392)'), GeomFromEWKT('SRID=4674;POINT (-38.352357 -3.308399)'))) / (select extract(epoch from '2026-07-12 22:54:07'::timestamp) - extract(epoch from '2026-07-12 22:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352347 -3.308392)'), GeomFromEWKT('SRID=4674;POINT (-38.352357 -3.308399)'))) / (select extract(epoch from '2026-07-12 22:54:07'::timestamp) - extract(epoch from '2026-07-12 22:54: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'), 47392, 'SRID=4674;POINT (-38.35236 -3.308397)', '2026-07-12 22:54:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352357 -3.308399)'), GeomFromEWKT('SRID=4674;POINT (-38.35236 -3.308397)'))) / (select extract(epoch from '2026-07-12 22:54:09'::timestamp) - extract(epoch from '2026-07-12 22:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352357 -3.308399)'), GeomFromEWKT('SRID=4674;POINT (-38.35236 -3.308397)'))) / (select extract(epoch from '2026-07-12 22:54:09'::timestamp) - extract(epoch from '2026-07-12 22:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352358 -3.308392)', '2026-07-12 22:54:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35236 -3.308397)'), GeomFromEWKT('SRID=4674;POINT (-38.352358 -3.308392)'))) / (select extract(epoch from '2026-07-12 22:54:10'::timestamp) - extract(epoch from '2026-07-12 22:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35236 -3.308397)'), GeomFromEWKT('SRID=4674;POINT (-38.352358 -3.308392)'))) / (select extract(epoch from '2026-07-12 22:54:10'::timestamp) - extract(epoch from '2026-07-12 22: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'), 47392, 'SRID=4674;POINT (-38.352355 -3.308394)', '2026-07-12 22:54:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352358 -3.308392)'), GeomFromEWKT('SRID=4674;POINT (-38.352355 -3.308394)'))) / (select extract(epoch from '2026-07-12 22:54:17'::timestamp) - extract(epoch from '2026-07-12 22:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352358 -3.308392)'), GeomFromEWKT('SRID=4674;POINT (-38.352355 -3.308394)'))) / (select extract(epoch from '2026-07-12 22:54:17'::timestamp) - extract(epoch from '2026-07-12 22:54: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'), 47392, 'SRID=4674;POINT (-38.352348 -3.308399)', '2026-07-12 22:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352355 -3.308394)'), GeomFromEWKT('SRID=4674;POINT (-38.352348 -3.308399)'))) / (select extract(epoch from '2026-07-12 22:54:23'::timestamp) - extract(epoch from '2026-07-12 22:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352355 -3.308394)'), GeomFromEWKT('SRID=4674;POINT (-38.352348 -3.308399)'))) / (select extract(epoch from '2026-07-12 22:54:23'::timestamp) - extract(epoch from '2026-07-12 22:54: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'), 47392, 'SRID=4674;POINT (-38.352354 -3.308406)', '2026-07-12 22:54:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352348 -3.308399)'), GeomFromEWKT('SRID=4674;POINT (-38.352354 -3.308406)'))) / (select extract(epoch from '2026-07-12 22:54:27'::timestamp) - extract(epoch from '2026-07-12 22:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352348 -3.308399)'), GeomFromEWKT('SRID=4674;POINT (-38.352354 -3.308406)'))) / (select extract(epoch from '2026-07-12 22:54:27'::timestamp) - extract(epoch from '2026-07-12 22:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352354 -3.308411)', '2026-07-12 22:54:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352354 -3.308406)'), GeomFromEWKT('SRID=4674;POINT (-38.352354 -3.308411)'))) / (select extract(epoch from '2026-07-12 22:54:28'::timestamp) - extract(epoch from '2026-07-12 22:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352354 -3.308406)'), GeomFromEWKT('SRID=4674;POINT (-38.352354 -3.308411)'))) / (select extract(epoch from '2026-07-12 22:54:28'::timestamp) - extract(epoch from '2026-07-12 22:54: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'), 47392, 'SRID=4674;POINT (-38.352361 -3.308421)', '2026-07-12 22:54:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352354 -3.308411)'), GeomFromEWKT('SRID=4674;POINT (-38.352361 -3.308421)'))) / (select extract(epoch from '2026-07-12 22:54:30'::timestamp) - extract(epoch from '2026-07-12 22:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352354 -3.308411)'), GeomFromEWKT('SRID=4674;POINT (-38.352361 -3.308421)'))) / (select extract(epoch from '2026-07-12 22:54:30'::timestamp) - extract(epoch from '2026-07-12 22:54:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35237 -3.308432)', '2026-07-12 22:54:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352361 -3.308421)'), GeomFromEWKT('SRID=4674;POINT (-38.35237 -3.308432)'))) / (select extract(epoch from '2026-07-12 22:54:38'::timestamp) - extract(epoch from '2026-07-12 22:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352361 -3.308421)'), GeomFromEWKT('SRID=4674;POINT (-38.35237 -3.308432)'))) / (select extract(epoch from '2026-07-12 22:54:38'::timestamp) - extract(epoch from '2026-07-12 22:54: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'), 47392, 'SRID=4674;POINT (-38.35238 -3.30842)', '2026-07-12 22:54:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35237 -3.308432)'), GeomFromEWKT('SRID=4674;POINT (-38.35238 -3.30842)'))) / (select extract(epoch from '2026-07-12 22:54:44'::timestamp) - extract(epoch from '2026-07-12 22:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35237 -3.308432)'), GeomFromEWKT('SRID=4674;POINT (-38.35238 -3.30842)'))) / (select extract(epoch from '2026-07-12 22:54:44'::timestamp) - extract(epoch from '2026-07-12 22:54: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'), 47392, 'SRID=4674;POINT (-38.352367 -3.308415)', '2026-07-12 22:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35238 -3.30842)'), GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.308415)'))) / (select extract(epoch from '2026-07-12 22:54:56'::timestamp) - extract(epoch from '2026-07-12 22:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35238 -3.30842)'), GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.308415)'))) / (select extract(epoch from '2026-07-12 22:54:56'::timestamp) - extract(epoch from '2026-07-12 22:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352379 -3.308413)', '2026-07-12 22:55:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.308415)'), GeomFromEWKT('SRID=4674;POINT (-38.352379 -3.308413)'))) / (select extract(epoch from '2026-07-12 22:55:05'::timestamp) - extract(epoch from '2026-07-12 22:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.308415)'), GeomFromEWKT('SRID=4674;POINT (-38.352379 -3.308413)'))) / (select extract(epoch from '2026-07-12 22:55:05'::timestamp) - extract(epoch from '2026-07-12 22:54: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'), 47392, 'SRID=4674;POINT (-38.352376 -3.308412)', '2026-07-12 22:55:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352379 -3.308413)'), GeomFromEWKT('SRID=4674;POINT (-38.352376 -3.308412)'))) / (select extract(epoch from '2026-07-12 22:55:09'::timestamp) - extract(epoch from '2026-07-12 22:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352379 -3.308413)'), GeomFromEWKT('SRID=4674;POINT (-38.352376 -3.308412)'))) / (select extract(epoch from '2026-07-12 22:55:09'::timestamp) - extract(epoch from '2026-07-12 22: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'), 47392, 'SRID=4674;POINT (-38.35228 -3.307267)', '2026-07-13 05:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352376 -3.308412)'), GeomFromEWKT('SRID=4674;POINT (-38.35228 -3.307267)'))) / (select extract(epoch from '2026-07-13 05:21:22'::timestamp) - extract(epoch from '2026-07-12 22:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352376 -3.308412)'), GeomFromEWKT('SRID=4674;POINT (-38.35228 -3.307267)'))) / (select extract(epoch from '2026-07-13 05:21:22'::timestamp) - extract(epoch from '2026-07-12 22:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352407 -3.307269)', '2026-07-13 05:21:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35228 -3.307267)'), GeomFromEWKT('SRID=4674;POINT (-38.352407 -3.307269)'))) / (select extract(epoch from '2026-07-13 05:21:32'::timestamp) - extract(epoch from '2026-07-13 05:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35228 -3.307267)'), GeomFromEWKT('SRID=4674;POINT (-38.352407 -3.307269)'))) / (select extract(epoch from '2026-07-13 05:21:32'::timestamp) - extract(epoch from '2026-07-13 05:21: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'), 47392, 'SRID=4674;POINT (-38.352415 -3.307276)', '2026-07-13 05:21:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352407 -3.307269)'), GeomFromEWKT('SRID=4674;POINT (-38.352415 -3.307276)'))) / (select extract(epoch from '2026-07-13 05:21:39'::timestamp) - extract(epoch from '2026-07-13 05:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352407 -3.307269)'), GeomFromEWKT('SRID=4674;POINT (-38.352415 -3.307276)'))) / (select extract(epoch from '2026-07-13 05:21:39'::timestamp) - extract(epoch from '2026-07-13 05: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'), 47392, 'SRID=4674;POINT (-38.352397 -3.307268)', '2026-07-13 05:21:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352415 -3.307276)'), GeomFromEWKT('SRID=4674;POINT (-38.352397 -3.307268)'))) / (select extract(epoch from '2026-07-13 05:21:47'::timestamp) - extract(epoch from '2026-07-13 05:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352415 -3.307276)'), GeomFromEWKT('SRID=4674;POINT (-38.352397 -3.307268)'))) / (select extract(epoch from '2026-07-13 05:21:47'::timestamp) - extract(epoch from '2026-07-13 05:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352349 -3.307378)', '2026-07-13 05:21:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352397 -3.307268)'), GeomFromEWKT('SRID=4674;POINT (-38.352349 -3.307378)'))) / (select extract(epoch from '2026-07-13 05:21:54'::timestamp) - extract(epoch from '2026-07-13 05:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352397 -3.307268)'), GeomFromEWKT('SRID=4674;POINT (-38.352349 -3.307378)'))) / (select extract(epoch from '2026-07-13 05:21:54'::timestamp) - extract(epoch from '2026-07-13 05: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'), 47392, 'SRID=4674;POINT (-38.352339 -3.307387)', '2026-07-13 05:22:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352349 -3.307378)'), GeomFromEWKT('SRID=4674;POINT (-38.352339 -3.307387)'))) / (select extract(epoch from '2026-07-13 05:22:03'::timestamp) - extract(epoch from '2026-07-13 05:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352349 -3.307378)'), GeomFromEWKT('SRID=4674;POINT (-38.352339 -3.307387)'))) / (select extract(epoch from '2026-07-13 05:22:03'::timestamp) - extract(epoch from '2026-07-13 05:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352335 -3.307387)', '2026-07-13 05:22:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352339 -3.307387)'), GeomFromEWKT('SRID=4674;POINT (-38.352335 -3.307387)'))) / (select extract(epoch from '2026-07-13 05:22:11'::timestamp) - extract(epoch from '2026-07-13 05:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352339 -3.307387)'), GeomFromEWKT('SRID=4674;POINT (-38.352335 -3.307387)'))) / (select extract(epoch from '2026-07-13 05:22:11'::timestamp) - extract(epoch from '2026-07-13 05: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'), 47392, 'SRID=4674;POINT (-38.352325 -3.307396)', '2026-07-13 05:22:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352335 -3.307387)'), GeomFromEWKT('SRID=4674;POINT (-38.352325 -3.307396)'))) / (select extract(epoch from '2026-07-13 05:22:17'::timestamp) - extract(epoch from '2026-07-13 05:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352335 -3.307387)'), GeomFromEWKT('SRID=4674;POINT (-38.352325 -3.307396)'))) / (select extract(epoch from '2026-07-13 05:22:17'::timestamp) - extract(epoch from '2026-07-13 05:22: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'), 47392, 'SRID=4674;POINT (-38.352359 -3.307378)', '2026-07-13 05:22:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352325 -3.307396)'), GeomFromEWKT('SRID=4674;POINT (-38.352359 -3.307378)'))) / (select extract(epoch from '2026-07-13 05:22:24'::timestamp) - extract(epoch from '2026-07-13 05:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352325 -3.307396)'), GeomFromEWKT('SRID=4674;POINT (-38.352359 -3.307378)'))) / (select extract(epoch from '2026-07-13 05:22:24'::timestamp) - extract(epoch from '2026-07-13 05:22: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'), 47392, 'SRID=4674;POINT (-38.352367 -3.307374)', '2026-07-13 05:22:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352359 -3.307378)'), GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307374)'))) / (select extract(epoch from '2026-07-13 05:22:32'::timestamp) - extract(epoch from '2026-07-13 05:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352359 -3.307378)'), GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307374)'))) / (select extract(epoch from '2026-07-13 05:22:32'::timestamp) - extract(epoch from '2026-07-13 05:22:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352364 -3.307371)', '2026-07-13 05:22:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307374)'), GeomFromEWKT('SRID=4674;POINT (-38.352364 -3.307371)'))) / (select extract(epoch from '2026-07-13 05:22:39'::timestamp) - extract(epoch from '2026-07-13 05:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307374)'), GeomFromEWKT('SRID=4674;POINT (-38.352364 -3.307371)'))) / (select extract(epoch from '2026-07-13 05:22:39'::timestamp) - extract(epoch from '2026-07-13 05:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352367 -3.307365)', '2026-07-13 05:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352364 -3.307371)'), GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307365)'))) / (select extract(epoch from '2026-07-13 05:22:47'::timestamp) - extract(epoch from '2026-07-13 05:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352364 -3.307371)'), GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307365)'))) / (select extract(epoch from '2026-07-13 05:22:47'::timestamp) - extract(epoch from '2026-07-13 05:22: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'), 47392, 'SRID=4674;POINT (-38.352369 -3.307359)', '2026-07-13 05:22:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307365)'), GeomFromEWKT('SRID=4674;POINT (-38.352369 -3.307359)'))) / (select extract(epoch from '2026-07-13 05:22:56'::timestamp) - extract(epoch from '2026-07-13 05:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307365)'), GeomFromEWKT('SRID=4674;POINT (-38.352369 -3.307359)'))) / (select extract(epoch from '2026-07-13 05:22:56'::timestamp) - extract(epoch from '2026-07-13 05:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352361 -3.307363)', '2026-07-13 05:23:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352369 -3.307359)'), GeomFromEWKT('SRID=4674;POINT (-38.352361 -3.307363)'))) / (select extract(epoch from '2026-07-13 05:23:04'::timestamp) - extract(epoch from '2026-07-13 05:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352369 -3.307359)'), GeomFromEWKT('SRID=4674;POINT (-38.352361 -3.307363)'))) / (select extract(epoch from '2026-07-13 05:23:04'::timestamp) - extract(epoch from '2026-07-13 05:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352368 -3.307357)', '2026-07-13 05:23:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352361 -3.307363)'), GeomFromEWKT('SRID=4674;POINT (-38.352368 -3.307357)'))) / (select extract(epoch from '2026-07-13 05:23:13'::timestamp) - extract(epoch from '2026-07-13 05:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352361 -3.307363)'), GeomFromEWKT('SRID=4674;POINT (-38.352368 -3.307357)'))) / (select extract(epoch from '2026-07-13 05:23:13'::timestamp) - extract(epoch from '2026-07-13 05:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352371 -3.307357)', '2026-07-13 05:23:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352368 -3.307357)'), GeomFromEWKT('SRID=4674;POINT (-38.352371 -3.307357)'))) / (select extract(epoch from '2026-07-13 05:23:18'::timestamp) - extract(epoch from '2026-07-13 05:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352368 -3.307357)'), GeomFromEWKT('SRID=4674;POINT (-38.352371 -3.307357)'))) / (select extract(epoch from '2026-07-13 05:23:18'::timestamp) - extract(epoch from '2026-07-13 05:23:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352367 -3.307348)', '2026-07-13 05:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352371 -3.307357)'), GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307348)'))) / (select extract(epoch from '2026-07-13 05:23:26'::timestamp) - extract(epoch from '2026-07-13 05:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352371 -3.307357)'), GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307348)'))) / (select extract(epoch from '2026-07-13 05:23:26'::timestamp) - extract(epoch from '2026-07-13 05:23: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'), 47392, 'SRID=4674;POINT (-38.352368 -3.307344)', '2026-07-13 05:23:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307348)'), GeomFromEWKT('SRID=4674;POINT (-38.352368 -3.307344)'))) / (select extract(epoch from '2026-07-13 05:23:35'::timestamp) - extract(epoch from '2026-07-13 05:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352367 -3.307348)'), GeomFromEWKT('SRID=4674;POINT (-38.352368 -3.307344)'))) / (select extract(epoch from '2026-07-13 05:23:35'::timestamp) - extract(epoch from '2026-07-13 05:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352365 -3.307343)', '2026-07-13 05:23:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352368 -3.307344)'), GeomFromEWKT('SRID=4674;POINT (-38.352365 -3.307343)'))) / (select extract(epoch from '2026-07-13 05:23:43'::timestamp) - extract(epoch from '2026-07-13 05:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352368 -3.307344)'), GeomFromEWKT('SRID=4674;POINT (-38.352365 -3.307343)'))) / (select extract(epoch from '2026-07-13 05:23:43'::timestamp) - extract(epoch from '2026-07-13 05:23: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'), 47392, 'SRID=4674;POINT (-38.35237 -3.307339)', '2026-07-13 05:23:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352365 -3.307343)'), GeomFromEWKT('SRID=4674;POINT (-38.35237 -3.307339)'))) / (select extract(epoch from '2026-07-13 05:23:54'::timestamp) - extract(epoch from '2026-07-13 05:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352365 -3.307343)'), GeomFromEWKT('SRID=4674;POINT (-38.35237 -3.307339)'))) / (select extract(epoch from '2026-07-13 05:23:54'::timestamp) - extract(epoch from '2026-07-13 05:23: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'), 47392, 'SRID=4674;POINT (-38.352371 -3.307336)', '2026-07-13 05:24:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35237 -3.307339)'), GeomFromEWKT('SRID=4674;POINT (-38.352371 -3.307336)'))) / (select extract(epoch from '2026-07-13 05:24:02'::timestamp) - extract(epoch from '2026-07-13 05:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35237 -3.307339)'), GeomFromEWKT('SRID=4674;POINT (-38.352371 -3.307336)'))) / (select extract(epoch from '2026-07-13 05:24:02'::timestamp) - extract(epoch from '2026-07-13 05:23: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'), 47392, 'SRID=4674;POINT (-38.352376 -3.307329)', '2026-07-13 05:24:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352371 -3.307336)'), GeomFromEWKT('SRID=4674;POINT (-38.352376 -3.307329)'))) / (select extract(epoch from '2026-07-13 05:24:07'::timestamp) - extract(epoch from '2026-07-13 05:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352371 -3.307336)'), GeomFromEWKT('SRID=4674;POINT (-38.352376 -3.307329)'))) / (select extract(epoch from '2026-07-13 05:24:07'::timestamp) - extract(epoch from '2026-07-13 05:24: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'), 47392, 'SRID=4674;POINT (-38.352381 -3.307319)', '2026-07-13 05:24:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352376 -3.307329)'), GeomFromEWKT('SRID=4674;POINT (-38.352381 -3.307319)'))) / (select extract(epoch from '2026-07-13 05:24:12'::timestamp) - extract(epoch from '2026-07-13 05:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352376 -3.307329)'), GeomFromEWKT('SRID=4674;POINT (-38.352381 -3.307319)'))) / (select extract(epoch from '2026-07-13 05:24:12'::timestamp) - extract(epoch from '2026-07-13 05:24: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'), 47392, 'SRID=4674;POINT (-38.352384 -3.30731)', '2026-07-13 05:24:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352381 -3.307319)'), GeomFromEWKT('SRID=4674;POINT (-38.352384 -3.30731)'))) / (select extract(epoch from '2026-07-13 05:24:20'::timestamp) - extract(epoch from '2026-07-13 05:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352381 -3.307319)'), GeomFromEWKT('SRID=4674;POINT (-38.352384 -3.30731)'))) / (select extract(epoch from '2026-07-13 05:24:20'::timestamp) - extract(epoch from '2026-07-13 05:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35238 -3.307302)', '2026-07-13 05:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352384 -3.30731)'), GeomFromEWKT('SRID=4674;POINT (-38.35238 -3.307302)'))) / (select extract(epoch from '2026-07-13 05:24:27'::timestamp) - extract(epoch from '2026-07-13 05:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352384 -3.30731)'), GeomFromEWKT('SRID=4674;POINT (-38.35238 -3.307302)'))) / (select extract(epoch from '2026-07-13 05:24:27'::timestamp) - extract(epoch from '2026-07-13 05:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352395 -3.307289)', '2026-07-13 05:24:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35238 -3.307302)'), GeomFromEWKT('SRID=4674;POINT (-38.352395 -3.307289)'))) / (select extract(epoch from '2026-07-13 05:24:34'::timestamp) - extract(epoch from '2026-07-13 05:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35238 -3.307302)'), GeomFromEWKT('SRID=4674;POINT (-38.352395 -3.307289)'))) / (select extract(epoch from '2026-07-13 05:24:34'::timestamp) - extract(epoch from '2026-07-13 05: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'), 47392, 'SRID=4674;POINT (-38.352396 -3.307276)', '2026-07-13 05:24:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352395 -3.307289)'), GeomFromEWKT('SRID=4674;POINT (-38.352396 -3.307276)'))) / (select extract(epoch from '2026-07-13 05:24:46'::timestamp) - extract(epoch from '2026-07-13 05:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352395 -3.307289)'), GeomFromEWKT('SRID=4674;POINT (-38.352396 -3.307276)'))) / (select extract(epoch from '2026-07-13 05:24:46'::timestamp) - extract(epoch from '2026-07-13 05:24: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'), 47392, 'SRID=4674;POINT (-38.352395 -3.307269)', '2026-07-13 05:24:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352396 -3.307276)'), GeomFromEWKT('SRID=4674;POINT (-38.352395 -3.307269)'))) / (select extract(epoch from '2026-07-13 05:24:52'::timestamp) - extract(epoch from '2026-07-13 05:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352396 -3.307276)'), GeomFromEWKT('SRID=4674;POINT (-38.352395 -3.307269)'))) / (select extract(epoch from '2026-07-13 05:24:52'::timestamp) - extract(epoch from '2026-07-13 05:24: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'), 47392, 'SRID=4674;POINT (-38.352401 -3.307262)', '2026-07-13 05:25:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352395 -3.307269)'), GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307262)'))) / (select extract(epoch from '2026-07-13 05:25:01'::timestamp) - extract(epoch from '2026-07-13 05:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352395 -3.307269)'), GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307262)'))) / (select extract(epoch from '2026-07-13 05:25:01'::timestamp) - extract(epoch from '2026-07-13 05:24: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'), 47392, 'SRID=4674;POINT (-38.352411 -3.307262)', '2026-07-13 05:25:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307262)'), GeomFromEWKT('SRID=4674;POINT (-38.352411 -3.307262)'))) / (select extract(epoch from '2026-07-13 05:25:07'::timestamp) - extract(epoch from '2026-07-13 05:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307262)'), GeomFromEWKT('SRID=4674;POINT (-38.352411 -3.307262)'))) / (select extract(epoch from '2026-07-13 05:25:07'::timestamp) - extract(epoch from '2026-07-13 05:25: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'), 47392, 'SRID=4674;POINT (-38.352403 -3.307264)', '2026-07-13 05:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352411 -3.307262)'), GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307264)'))) / (select extract(epoch from '2026-07-13 05:25:13'::timestamp) - extract(epoch from '2026-07-13 05:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352411 -3.307262)'), GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307264)'))) / (select extract(epoch from '2026-07-13 05:25:13'::timestamp) - extract(epoch from '2026-07-13 05:25: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'), 47392, 'SRID=4674;POINT (-38.352397 -3.307262)', '2026-07-13 05:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307264)'), GeomFromEWKT('SRID=4674;POINT (-38.352397 -3.307262)'))) / (select extract(epoch from '2026-07-13 05:25:25'::timestamp) - extract(epoch from '2026-07-13 05:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307264)'), GeomFromEWKT('SRID=4674;POINT (-38.352397 -3.307262)'))) / (select extract(epoch from '2026-07-13 05:25:25'::timestamp) - extract(epoch from '2026-07-13 05: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'), 47392, 'SRID=4674;POINT (-38.352403 -3.307259)', '2026-07-13 05:25:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352397 -3.307262)'), GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307259)'))) / (select extract(epoch from '2026-07-13 05:25:33'::timestamp) - extract(epoch from '2026-07-13 05:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352397 -3.307262)'), GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307259)'))) / (select extract(epoch from '2026-07-13 05:25:33'::timestamp) - extract(epoch from '2026-07-13 05:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352405 -3.307262)', '2026-07-13 05:25:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307259)'), GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307262)'))) / (select extract(epoch from '2026-07-13 05:25:43'::timestamp) - extract(epoch from '2026-07-13 05:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307259)'), GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307262)'))) / (select extract(epoch from '2026-07-13 05:25:43'::timestamp) - extract(epoch from '2026-07-13 05:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352405 -3.307255)', '2026-07-13 05:25:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307262)'), GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307255)'))) / (select extract(epoch from '2026-07-13 05:25:53'::timestamp) - extract(epoch from '2026-07-13 05:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307262)'), GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307255)'))) / (select extract(epoch from '2026-07-13 05:25:53'::timestamp) - extract(epoch from '2026-07-13 05:25: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'), 47392, 'SRID=4674;POINT (-38.352407 -3.30725)', '2026-07-13 05:26:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307255)'), GeomFromEWKT('SRID=4674;POINT (-38.352407 -3.30725)'))) / (select extract(epoch from '2026-07-13 05:26:00'::timestamp) - extract(epoch from '2026-07-13 05:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307255)'), GeomFromEWKT('SRID=4674;POINT (-38.352407 -3.30725)'))) / (select extract(epoch from '2026-07-13 05:26:00'::timestamp) - extract(epoch from '2026-07-13 05:25: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'), 47392, 'SRID=4674;POINT (-38.352402 -3.307253)', '2026-07-13 05:26:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352407 -3.30725)'), GeomFromEWKT('SRID=4674;POINT (-38.352402 -3.307253)'))) / (select extract(epoch from '2026-07-13 05:26:05'::timestamp) - extract(epoch from '2026-07-13 05:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352407 -3.30725)'), GeomFromEWKT('SRID=4674;POINT (-38.352402 -3.307253)'))) / (select extract(epoch from '2026-07-13 05:26:05'::timestamp) - extract(epoch from '2026-07-13 05:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352406 -3.307246)', '2026-07-13 05:26:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352402 -3.307253)'), GeomFromEWKT('SRID=4674;POINT (-38.352406 -3.307246)'))) / (select extract(epoch from '2026-07-13 05:26:16'::timestamp) - extract(epoch from '2026-07-13 05:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352402 -3.307253)'), GeomFromEWKT('SRID=4674;POINT (-38.352406 -3.307246)'))) / (select extract(epoch from '2026-07-13 05:26:16'::timestamp) - extract(epoch from '2026-07-13 05:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352404 -3.307255)', '2026-07-13 05:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352406 -3.307246)'), GeomFromEWKT('SRID=4674;POINT (-38.352404 -3.307255)'))) / (select extract(epoch from '2026-07-13 05:26:24'::timestamp) - extract(epoch from '2026-07-13 05:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352406 -3.307246)'), GeomFromEWKT('SRID=4674;POINT (-38.352404 -3.307255)'))) / (select extract(epoch from '2026-07-13 05:26:24'::timestamp) - extract(epoch from '2026-07-13 05:26: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'), 47392, 'SRID=4674;POINT (-38.352405 -3.307257)', '2026-07-13 05:26:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352404 -3.307255)'), GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307257)'))) / (select extract(epoch from '2026-07-13 05:26:35'::timestamp) - extract(epoch from '2026-07-13 05:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352404 -3.307255)'), GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307257)'))) / (select extract(epoch from '2026-07-13 05:26:35'::timestamp) - extract(epoch from '2026-07-13 05:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352405 -3.307256)', '2026-07-13 05:26:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307257)'), GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307256)'))) / (select extract(epoch from '2026-07-13 05:26:43'::timestamp) - extract(epoch from '2026-07-13 05:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307257)'), GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307256)'))) / (select extract(epoch from '2026-07-13 05:26:43'::timestamp) - extract(epoch from '2026-07-13 05:26: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'), 47392, 'SRID=4674;POINT (-38.352401 -3.307249)', '2026-07-13 05:26:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307256)'), GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307249)'))) / (select extract(epoch from '2026-07-13 05:26:54'::timestamp) - extract(epoch from '2026-07-13 05:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352405 -3.307256)'), GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307249)'))) / (select extract(epoch from '2026-07-13 05:26:54'::timestamp) - extract(epoch from '2026-07-13 05:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352401 -3.307248)', '2026-07-13 05:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307249)'), GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307248)'))) / (select extract(epoch from '2026-07-13 05:27:00'::timestamp) - extract(epoch from '2026-07-13 05:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307249)'), GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307248)'))) / (select extract(epoch from '2026-07-13 05:27:00'::timestamp) - extract(epoch from '2026-07-13 05:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.352403 -3.307244)', '2026-07-13 05:27:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307248)'), GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307244)'))) / (select extract(epoch from '2026-07-13 05:27:06'::timestamp) - extract(epoch from '2026-07-13 05:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352401 -3.307248)'), GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307244)'))) / (select extract(epoch from '2026-07-13 05:27:06'::timestamp) - extract(epoch from '2026-07-13 05:27: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'), 47392, 'SRID=4674;POINT (-38.3524 -3.30725)', '2026-07-13 05:27:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307244)'), GeomFromEWKT('SRID=4674;POINT (-38.3524 -3.30725)'))) / (select extract(epoch from '2026-07-13 05:27:15'::timestamp) - extract(epoch from '2026-07-13 05:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352403 -3.307244)'), GeomFromEWKT('SRID=4674;POINT (-38.3524 -3.30725)'))) / (select extract(epoch from '2026-07-13 05:27:15'::timestamp) - extract(epoch from '2026-07-13 05:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355674 -3.310341)', '2026-07-13 08:23:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3524 -3.30725)'), GeomFromEWKT('SRID=4674;POINT (-38.355674 -3.310341)'))) / (select extract(epoch from '2026-07-13 08:23:13'::timestamp) - extract(epoch from '2026-07-13 05:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3524 -3.30725)'), GeomFromEWKT('SRID=4674;POINT (-38.355674 -3.310341)'))) / (select extract(epoch from '2026-07-13 08:23:13'::timestamp) - extract(epoch from '2026-07-13 05:27: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'), 47392, 'SRID=4674;POINT (-38.355619 -3.310456)', '2026-07-13 08:23:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355674 -3.310341)'), GeomFromEWKT('SRID=4674;POINT (-38.355619 -3.310456)'))) / (select extract(epoch from '2026-07-13 08:23:18'::timestamp) - extract(epoch from '2026-07-13 08:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355674 -3.310341)'), GeomFromEWKT('SRID=4674;POINT (-38.355619 -3.310456)'))) / (select extract(epoch from '2026-07-13 08:23:18'::timestamp) - extract(epoch from '2026-07-13 08:23:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355589 -3.310551)', '2026-07-13 08:23:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355619 -3.310456)'), GeomFromEWKT('SRID=4674;POINT (-38.355589 -3.310551)'))) / (select extract(epoch from '2026-07-13 08:23:23'::timestamp) - extract(epoch from '2026-07-13 08:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355619 -3.310456)'), GeomFromEWKT('SRID=4674;POINT (-38.355589 -3.310551)'))) / (select extract(epoch from '2026-07-13 08:23:23'::timestamp) - extract(epoch from '2026-07-13 08:23: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'), 47392, 'SRID=4674;POINT (-38.355585 -3.310564)', '2026-07-13 08:23:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355589 -3.310551)'), GeomFromEWKT('SRID=4674;POINT (-38.355585 -3.310564)'))) / (select extract(epoch from '2026-07-13 08:23:24'::timestamp) - extract(epoch from '2026-07-13 08:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355589 -3.310551)'), GeomFromEWKT('SRID=4674;POINT (-38.355585 -3.310564)'))) / (select extract(epoch from '2026-07-13 08:23:24'::timestamp) - extract(epoch from '2026-07-13 08:23: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'), 47392, 'SRID=4674;POINT (-38.355582 -3.310579)', '2026-07-13 08:23:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355585 -3.310564)'), GeomFromEWKT('SRID=4674;POINT (-38.355582 -3.310579)'))) / (select extract(epoch from '2026-07-13 08:23:25'::timestamp) - extract(epoch from '2026-07-13 08:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355585 -3.310564)'), GeomFromEWKT('SRID=4674;POINT (-38.355582 -3.310579)'))) / (select extract(epoch from '2026-07-13 08:23:25'::timestamp) - extract(epoch from '2026-07-13 08:23: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'), 47392, 'SRID=4674;POINT (-38.355567 -3.310643)', '2026-07-13 08:23:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355582 -3.310579)'), GeomFromEWKT('SRID=4674;POINT (-38.355567 -3.310643)'))) / (select extract(epoch from '2026-07-13 08:23:29'::timestamp) - extract(epoch from '2026-07-13 08:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355582 -3.310579)'), GeomFromEWKT('SRID=4674;POINT (-38.355567 -3.310643)'))) / (select extract(epoch from '2026-07-13 08:23:29'::timestamp) - extract(epoch from '2026-07-13 08:23: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'), 47392, 'SRID=4674;POINT (-38.355565 -3.310665)', '2026-07-13 08:23:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355567 -3.310643)'), GeomFromEWKT('SRID=4674;POINT (-38.355565 -3.310665)'))) / (select extract(epoch from '2026-07-13 08:23:31'::timestamp) - extract(epoch from '2026-07-13 08:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355567 -3.310643)'), GeomFromEWKT('SRID=4674;POINT (-38.355565 -3.310665)'))) / (select extract(epoch from '2026-07-13 08:23:31'::timestamp) - extract(epoch from '2026-07-13 08:23: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'), 47392, 'SRID=4674;POINT (-38.355575 -3.310666)', '2026-07-13 08:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355565 -3.310665)'), GeomFromEWKT('SRID=4674;POINT (-38.355575 -3.310666)'))) / (select extract(epoch from '2026-07-13 08:23:36'::timestamp) - extract(epoch from '2026-07-13 08:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355565 -3.310665)'), GeomFromEWKT('SRID=4674;POINT (-38.355575 -3.310666)'))) / (select extract(epoch from '2026-07-13 08:23:36'::timestamp) - extract(epoch from '2026-07-13 08:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355594 -3.310709)', '2026-07-13 08:23:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355575 -3.310666)'), GeomFromEWKT('SRID=4674;POINT (-38.355594 -3.310709)'))) / (select extract(epoch from '2026-07-13 08:23:43'::timestamp) - extract(epoch from '2026-07-13 08:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355575 -3.310666)'), GeomFromEWKT('SRID=4674;POINT (-38.355594 -3.310709)'))) / (select extract(epoch from '2026-07-13 08:23:43'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47392, 'SRID=4674;POINT (-38.355602 -3.310761)', '2026-07-13 08:23:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355594 -3.310709)'), GeomFromEWKT('SRID=4674;POINT (-38.355602 -3.310761)'))) / (select extract(epoch from '2026-07-13 08:23:49'::timestamp) - extract(epoch from '2026-07-13 08:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355594 -3.310709)'), GeomFromEWKT('SRID=4674;POINT (-38.355602 -3.310761)'))) / (select extract(epoch from '2026-07-13 08:23:49'::timestamp) - extract(epoch from '2026-07-13 08:23: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'), 47392, 'SRID=4674;POINT (-38.355611 -3.310832)', '2026-07-13 08:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355602 -3.310761)'), GeomFromEWKT('SRID=4674;POINT (-38.355611 -3.310832)'))) / (select extract(epoch from '2026-07-13 08:23:56'::timestamp) - extract(epoch from '2026-07-13 08:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355602 -3.310761)'), GeomFromEWKT('SRID=4674;POINT (-38.355611 -3.310832)'))) / (select extract(epoch from '2026-07-13 08:23:56'::timestamp) - extract(epoch from '2026-07-13 08:23: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'), 47392, 'SRID=4674;POINT (-38.355613 -3.310865)', '2026-07-13 08:23:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355611 -3.310832)'), GeomFromEWKT('SRID=4674;POINT (-38.355613 -3.310865)'))) / (select extract(epoch from '2026-07-13 08:23:59'::timestamp) - extract(epoch from '2026-07-13 08:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355611 -3.310832)'), GeomFromEWKT('SRID=4674;POINT (-38.355613 -3.310865)'))) / (select extract(epoch from '2026-07-13 08:23:59'::timestamp) - extract(epoch from '2026-07-13 08:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355602 -3.310899)', '2026-07-13 08:24:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355613 -3.310865)'), GeomFromEWKT('SRID=4674;POINT (-38.355602 -3.310899)'))) / (select extract(epoch from '2026-07-13 08:24:02'::timestamp) - extract(epoch from '2026-07-13 08:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355613 -3.310865)'), GeomFromEWKT('SRID=4674;POINT (-38.355602 -3.310899)'))) / (select extract(epoch from '2026-07-13 08:24:02'::timestamp) - extract(epoch from '2026-07-13 08:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355596 -3.310959)', '2026-07-13 08:24:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355602 -3.310899)'), GeomFromEWKT('SRID=4674;POINT (-38.355596 -3.310959)'))) / (select extract(epoch from '2026-07-13 08:24:08'::timestamp) - extract(epoch from '2026-07-13 08:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355602 -3.310899)'), GeomFromEWKT('SRID=4674;POINT (-38.355596 -3.310959)'))) / (select extract(epoch from '2026-07-13 08:24:08'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47392, 'SRID=4674;POINT (-38.3556 -3.311016)', '2026-07-13 08:24:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355596 -3.310959)'), GeomFromEWKT('SRID=4674;POINT (-38.3556 -3.311016)'))) / (select extract(epoch from '2026-07-13 08:24:13'::timestamp) - extract(epoch from '2026-07-13 08:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355596 -3.310959)'), GeomFromEWKT('SRID=4674;POINT (-38.3556 -3.311016)'))) / (select extract(epoch from '2026-07-13 08:24:13'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47392, 'SRID=4674;POINT (-38.355604 -3.311027)', '2026-07-13 08:24:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3556 -3.311016)'), GeomFromEWKT('SRID=4674;POINT (-38.355604 -3.311027)'))) / (select extract(epoch from '2026-07-13 08:24:14'::timestamp) - extract(epoch from '2026-07-13 08:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3556 -3.311016)'), GeomFromEWKT('SRID=4674;POINT (-38.355604 -3.311027)'))) / (select extract(epoch from '2026-07-13 08:24:14'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47392, 'SRID=4674;POINT (-38.355604 -3.311038)', '2026-07-13 08:24:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355604 -3.311027)'), GeomFromEWKT('SRID=4674;POINT (-38.355604 -3.311038)'))) / (select extract(epoch from '2026-07-13 08:24:15'::timestamp) - extract(epoch from '2026-07-13 08:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355604 -3.311027)'), GeomFromEWKT('SRID=4674;POINT (-38.355604 -3.311038)'))) / (select extract(epoch from '2026-07-13 08:24:15'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47392, 'SRID=4674;POINT (-38.355608 -3.311109)', '2026-07-13 08:24:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355604 -3.311038)'), GeomFromEWKT('SRID=4674;POINT (-38.355608 -3.311109)'))) / (select extract(epoch from '2026-07-13 08:24:21'::timestamp) - extract(epoch from '2026-07-13 08:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355604 -3.311038)'), GeomFromEWKT('SRID=4674;POINT (-38.355608 -3.311109)'))) / (select extract(epoch from '2026-07-13 08:24:21'::timestamp) - extract(epoch from '2026-07-13 08:24:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355614 -3.31117)', '2026-07-13 08:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355608 -3.311109)'), GeomFromEWKT('SRID=4674;POINT (-38.355614 -3.31117)'))) / (select extract(epoch from '2026-07-13 08:24:27'::timestamp) - extract(epoch from '2026-07-13 08:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355608 -3.311109)'), GeomFromEWKT('SRID=4674;POINT (-38.355614 -3.31117)'))) / (select extract(epoch from '2026-07-13 08:24:27'::timestamp) - extract(epoch from '2026-07-13 08:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35562 -3.311177)', '2026-07-13 08:24:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355614 -3.31117)'), GeomFromEWKT('SRID=4674;POINT (-38.35562 -3.311177)'))) / (select extract(epoch from '2026-07-13 08:24:28'::timestamp) - extract(epoch from '2026-07-13 08:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355614 -3.31117)'), GeomFromEWKT('SRID=4674;POINT (-38.35562 -3.311177)'))) / (select extract(epoch from '2026-07-13 08:24:28'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47392, 'SRID=4674;POINT (-38.35563 -3.311217)', '2026-07-13 08:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35562 -3.311177)'), GeomFromEWKT('SRID=4674;POINT (-38.35563 -3.311217)'))) / (select extract(epoch from '2026-07-13 08:24:32'::timestamp) - extract(epoch from '2026-07-13 08:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35562 -3.311177)'), GeomFromEWKT('SRID=4674;POINT (-38.35563 -3.311217)'))) / (select extract(epoch from '2026-07-13 08:24:32'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47392, 'SRID=4674;POINT (-38.355636 -3.311263)', '2026-07-13 08:24:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35563 -3.311217)'), GeomFromEWKT('SRID=4674;POINT (-38.355636 -3.311263)'))) / (select extract(epoch from '2026-07-13 08:24:36'::timestamp) - extract(epoch from '2026-07-13 08:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35563 -3.311217)'), GeomFromEWKT('SRID=4674;POINT (-38.355636 -3.311263)'))) / (select extract(epoch from '2026-07-13 08:24:36'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47392, 'SRID=4674;POINT (-38.355644 -3.311279)', '2026-07-13 08:24:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355636 -3.311263)'), GeomFromEWKT('SRID=4674;POINT (-38.355644 -3.311279)'))) / (select extract(epoch from '2026-07-13 08:24:38'::timestamp) - extract(epoch from '2026-07-13 08:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355636 -3.311263)'), GeomFromEWKT('SRID=4674;POINT (-38.355644 -3.311279)'))) / (select extract(epoch from '2026-07-13 08:24:38'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47392, 'SRID=4674;POINT (-38.355656 -3.311361)', '2026-07-13 08:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355644 -3.311279)'), GeomFromEWKT('SRID=4674;POINT (-38.355656 -3.311361)'))) / (select extract(epoch from '2026-07-13 08:24:45'::timestamp) - extract(epoch from '2026-07-13 08:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355644 -3.311279)'), GeomFromEWKT('SRID=4674;POINT (-38.355656 -3.311361)'))) / (select extract(epoch from '2026-07-13 08:24:45'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47392, 'SRID=4674;POINT (-38.355646 -3.311376)', '2026-07-13 08:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355656 -3.311361)'), GeomFromEWKT('SRID=4674;POINT (-38.355646 -3.311376)'))) / (select extract(epoch from '2026-07-13 08:24:47'::timestamp) - extract(epoch from '2026-07-13 08:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355656 -3.311361)'), GeomFromEWKT('SRID=4674;POINT (-38.355646 -3.311376)'))) / (select extract(epoch from '2026-07-13 08:24:47'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47392, 'SRID=4674;POINT (-38.355648 -3.311404)', '2026-07-13 08:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355646 -3.311376)'), GeomFromEWKT('SRID=4674;POINT (-38.355648 -3.311404)'))) / (select extract(epoch from '2026-07-13 08:24:49'::timestamp) - extract(epoch from '2026-07-13 08:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355646 -3.311376)'), GeomFromEWKT('SRID=4674;POINT (-38.355648 -3.311404)'))) / (select extract(epoch from '2026-07-13 08:24:49'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47392, 'SRID=4674;POINT (-38.355658 -3.3115)', '2026-07-13 08:24:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355648 -3.311404)'), GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.3115)'))) / (select extract(epoch from '2026-07-13 08:24:56'::timestamp) - extract(epoch from '2026-07-13 08:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355648 -3.311404)'), GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.3115)'))) / (select extract(epoch from '2026-07-13 08:24:56'::timestamp) - extract(epoch from '2026-07-13 08:24:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355655 -3.311528)', '2026-07-13 08:24:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.3115)'), GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.311528)'))) / (select extract(epoch from '2026-07-13 08:24:58'::timestamp) - extract(epoch from '2026-07-13 08:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.3115)'), GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.311528)'))) / (select extract(epoch from '2026-07-13 08:24:58'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47392, 'SRID=4674;POINT (-38.355658 -3.311568)', '2026-07-13 08:25:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.311528)'), GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.311568)'))) / (select extract(epoch from '2026-07-13 08:25:01'::timestamp) - extract(epoch from '2026-07-13 08:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.311528)'), GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.311568)'))) / (select extract(epoch from '2026-07-13 08:25:01'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47392, 'SRID=4674;POINT (-38.355653 -3.311656)', '2026-07-13 08:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.311568)'), GeomFromEWKT('SRID=4674;POINT (-38.355653 -3.311656)'))) / (select extract(epoch from '2026-07-13 08:25:08'::timestamp) - extract(epoch from '2026-07-13 08:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.311568)'), GeomFromEWKT('SRID=4674;POINT (-38.355653 -3.311656)'))) / (select extract(epoch from '2026-07-13 08:25:08'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47392, 'SRID=4674;POINT (-38.355659 -3.31174)', '2026-07-13 08:25:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355653 -3.311656)'), GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.31174)'))) / (select extract(epoch from '2026-07-13 08:25:14'::timestamp) - extract(epoch from '2026-07-13 08:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355653 -3.311656)'), GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.31174)'))) / (select extract(epoch from '2026-07-13 08:25:14'::timestamp) - extract(epoch from '2026-07-13 08:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355654 -3.311766)', '2026-07-13 08:25:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.31174)'), GeomFromEWKT('SRID=4674;POINT (-38.355654 -3.311766)'))) / (select extract(epoch from '2026-07-13 08:25:16'::timestamp) - extract(epoch from '2026-07-13 08:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.31174)'), GeomFromEWKT('SRID=4674;POINT (-38.355654 -3.311766)'))) / (select extract(epoch from '2026-07-13 08:25:16'::timestamp) - extract(epoch from '2026-07-13 08:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355657 -3.311796)', '2026-07-13 08:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355654 -3.311766)'), GeomFromEWKT('SRID=4674;POINT (-38.355657 -3.311796)'))) / (select extract(epoch from '2026-07-13 08:25:18'::timestamp) - extract(epoch from '2026-07-13 08:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355654 -3.311766)'), GeomFromEWKT('SRID=4674;POINT (-38.355657 -3.311796)'))) / (select extract(epoch from '2026-07-13 08:25:18'::timestamp) - extract(epoch from '2026-07-13 08:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35566 -3.311807)', '2026-07-13 08:25:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355657 -3.311796)'), GeomFromEWKT('SRID=4674;POINT (-38.35566 -3.311807)'))) / (select extract(epoch from '2026-07-13 08:25:19'::timestamp) - extract(epoch from '2026-07-13 08:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355657 -3.311796)'), GeomFromEWKT('SRID=4674;POINT (-38.35566 -3.311807)'))) / (select extract(epoch from '2026-07-13 08:25:19'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47392, 'SRID=4674;POINT (-38.355659 -3.311885)', '2026-07-13 08:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35566 -3.311807)'), GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.311885)'))) / (select extract(epoch from '2026-07-13 08:25:25'::timestamp) - extract(epoch from '2026-07-13 08:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35566 -3.311807)'), GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.311885)'))) / (select extract(epoch from '2026-07-13 08:25:25'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47392, 'SRID=4674;POINT (-38.355658 -3.311913)', '2026-07-13 08:25:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.311885)'), GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.311913)'))) / (select extract(epoch from '2026-07-13 08:25:27'::timestamp) - extract(epoch from '2026-07-13 08:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.311885)'), GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.311913)'))) / (select extract(epoch from '2026-07-13 08:25:27'::timestamp) - extract(epoch from '2026-07-13 08:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355659 -3.311971)', '2026-07-13 08:25:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.311913)'), GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.311971)'))) / (select extract(epoch from '2026-07-13 08:25:31'::timestamp) - extract(epoch from '2026-07-13 08:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.311913)'), GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.311971)'))) / (select extract(epoch from '2026-07-13 08:25:31'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47392, 'SRID=4674;POINT (-38.355657 -3.311984)', '2026-07-13 08:25:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.311971)'), GeomFromEWKT('SRID=4674;POINT (-38.355657 -3.311984)'))) / (select extract(epoch from '2026-07-13 08:25:32'::timestamp) - extract(epoch from '2026-07-13 08:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355659 -3.311971)'), GeomFromEWKT('SRID=4674;POINT (-38.355657 -3.311984)'))) / (select extract(epoch from '2026-07-13 08:25:32'::timestamp) - extract(epoch from '2026-07-13 08:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355655 -3.312022)', '2026-07-13 08:25:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355657 -3.311984)'), GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.312022)'))) / (select extract(epoch from '2026-07-13 08:25:35'::timestamp) - extract(epoch from '2026-07-13 08:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355657 -3.311984)'), GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.312022)'))) / (select extract(epoch from '2026-07-13 08:25:35'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47392, 'SRID=4674;POINT (-38.35565 -3.312093)', '2026-07-13 08:25:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.312022)'), GeomFromEWKT('SRID=4674;POINT (-38.35565 -3.312093)'))) / (select extract(epoch from '2026-07-13 08:25:40'::timestamp) - extract(epoch from '2026-07-13 08:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.312022)'), GeomFromEWKT('SRID=4674;POINT (-38.35565 -3.312093)'))) / (select extract(epoch from '2026-07-13 08:25:40'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47392, 'SRID=4674;POINT (-38.355645 -3.312182)', '2026-07-13 08:25:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35565 -3.312093)'), GeomFromEWKT('SRID=4674;POINT (-38.355645 -3.312182)'))) / (select extract(epoch from '2026-07-13 08:25:46'::timestamp) - extract(epoch from '2026-07-13 08:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35565 -3.312093)'), GeomFromEWKT('SRID=4674;POINT (-38.355645 -3.312182)'))) / (select extract(epoch from '2026-07-13 08:25:46'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47392, 'SRID=4674;POINT (-38.355658 -3.312286)', '2026-07-13 08:25:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355645 -3.312182)'), GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.312286)'))) / (select extract(epoch from '2026-07-13 08:25:53'::timestamp) - extract(epoch from '2026-07-13 08:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355645 -3.312182)'), GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.312286)'))) / (select extract(epoch from '2026-07-13 08:25:53'::timestamp) - extract(epoch from '2026-07-13 08:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355661 -3.312362)', '2026-07-13 08:25:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.312286)'), GeomFromEWKT('SRID=4674;POINT (-38.355661 -3.312362)'))) / (select extract(epoch from '2026-07-13 08:25:58'::timestamp) - extract(epoch from '2026-07-13 08:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355658 -3.312286)'), GeomFromEWKT('SRID=4674;POINT (-38.355661 -3.312362)'))) / (select extract(epoch from '2026-07-13 08:25:58'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47392, 'SRID=4674;POINT (-38.355655 -3.312465)', '2026-07-13 08:26:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355661 -3.312362)'), GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.312465)'))) / (select extract(epoch from '2026-07-13 08:26:05'::timestamp) - extract(epoch from '2026-07-13 08:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355661 -3.312362)'), GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.312465)'))) / (select extract(epoch from '2026-07-13 08:26:05'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47392, 'SRID=4674;POINT (-38.355656 -3.312553)', '2026-07-13 08:26:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.312465)'), GeomFromEWKT('SRID=4674;POINT (-38.355656 -3.312553)'))) / (select extract(epoch from '2026-07-13 08:26:11'::timestamp) - extract(epoch from '2026-07-13 08:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355655 -3.312465)'), GeomFromEWKT('SRID=4674;POINT (-38.355656 -3.312553)'))) / (select extract(epoch from '2026-07-13 08:26:11'::timestamp) - extract(epoch from '2026-07-13 08:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355639 -3.312651)', '2026-07-13 08:26:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355656 -3.312553)'), GeomFromEWKT('SRID=4674;POINT (-38.355639 -3.312651)'))) / (select extract(epoch from '2026-07-13 08:26:17'::timestamp) - extract(epoch from '2026-07-13 08:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355656 -3.312553)'), GeomFromEWKT('SRID=4674;POINT (-38.355639 -3.312651)'))) / (select extract(epoch from '2026-07-13 08:26:17'::timestamp) - extract(epoch from '2026-07-13 08:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355616 -3.312765)', '2026-07-13 08:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355639 -3.312651)'), GeomFromEWKT('SRID=4674;POINT (-38.355616 -3.312765)'))) / (select extract(epoch from '2026-07-13 08:26:24'::timestamp) - extract(epoch from '2026-07-13 08:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355639 -3.312651)'), GeomFromEWKT('SRID=4674;POINT (-38.355616 -3.312765)'))) / (select extract(epoch from '2026-07-13 08:26:24'::timestamp) - extract(epoch from '2026-07-13 08:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355599 -3.312874)', '2026-07-13 08:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355616 -3.312765)'), GeomFromEWKT('SRID=4674;POINT (-38.355599 -3.312874)'))) / (select extract(epoch from '2026-07-13 08:26:30'::timestamp) - extract(epoch from '2026-07-13 08:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355616 -3.312765)'), GeomFromEWKT('SRID=4674;POINT (-38.355599 -3.312874)'))) / (select extract(epoch from '2026-07-13 08:26:30'::timestamp) - extract(epoch from '2026-07-13 08:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355596 -3.312959)', '2026-07-13 08:26:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355599 -3.312874)'), GeomFromEWKT('SRID=4674;POINT (-38.355596 -3.312959)'))) / (select extract(epoch from '2026-07-13 08:26:35'::timestamp) - extract(epoch from '2026-07-13 08:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355599 -3.312874)'), GeomFromEWKT('SRID=4674;POINT (-38.355596 -3.312959)'))) / (select extract(epoch from '2026-07-13 08:26:35'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47392, 'SRID=4674;POINT (-38.355589 -3.31301)', '2026-07-13 08:26:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355596 -3.312959)'), GeomFromEWKT('SRID=4674;POINT (-38.355589 -3.31301)'))) / (select extract(epoch from '2026-07-13 08:26:38'::timestamp) - extract(epoch from '2026-07-13 08:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355596 -3.312959)'), GeomFromEWKT('SRID=4674;POINT (-38.355589 -3.31301)'))) / (select extract(epoch from '2026-07-13 08:26:38'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47392, 'SRID=4674;POINT (-38.355592 -3.313025)', '2026-07-13 08:26:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355589 -3.31301)'), GeomFromEWKT('SRID=4674;POINT (-38.355592 -3.313025)'))) / (select extract(epoch from '2026-07-13 08:26:39'::timestamp) - extract(epoch from '2026-07-13 08:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355589 -3.31301)'), GeomFromEWKT('SRID=4674;POINT (-38.355592 -3.313025)'))) / (select extract(epoch from '2026-07-13 08:26:39'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47392, 'SRID=4674;POINT (-38.35559 -3.313042)', '2026-07-13 08:26:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355592 -3.313025)'), GeomFromEWKT('SRID=4674;POINT (-38.35559 -3.313042)'))) / (select extract(epoch from '2026-07-13 08:26:40'::timestamp) - extract(epoch from '2026-07-13 08:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355592 -3.313025)'), GeomFromEWKT('SRID=4674;POINT (-38.35559 -3.313042)'))) / (select extract(epoch from '2026-07-13 08:26:40'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47392, 'SRID=4674;POINT (-38.35558 -3.313108)', '2026-07-13 08:26:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35559 -3.313042)'), GeomFromEWKT('SRID=4674;POINT (-38.35558 -3.313108)'))) / (select extract(epoch from '2026-07-13 08:26:44'::timestamp) - extract(epoch from '2026-07-13 08:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35559 -3.313042)'), GeomFromEWKT('SRID=4674;POINT (-38.35558 -3.313108)'))) / (select extract(epoch from '2026-07-13 08:26:44'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47392, 'SRID=4674;POINT (-38.35558 -3.313225)', '2026-07-13 08:26:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35558 -3.313108)'), GeomFromEWKT('SRID=4674;POINT (-38.35558 -3.313225)'))) / (select extract(epoch from '2026-07-13 08:26:51'::timestamp) - extract(epoch from '2026-07-13 08:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35558 -3.313108)'), GeomFromEWKT('SRID=4674;POINT (-38.35558 -3.313225)'))) / (select extract(epoch from '2026-07-13 08:26:51'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47392, 'SRID=4674;POINT (-38.355591 -3.313318)', '2026-07-13 08:26:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35558 -3.313225)'), GeomFromEWKT('SRID=4674;POINT (-38.355591 -3.313318)'))) / (select extract(epoch from '2026-07-13 08:26:56'::timestamp) - extract(epoch from '2026-07-13 08:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35558 -3.313225)'), GeomFromEWKT('SRID=4674;POINT (-38.355591 -3.313318)'))) / (select extract(epoch from '2026-07-13 08:26:56'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47392, 'SRID=4674;POINT (-38.355583 -3.313335)', '2026-07-13 08:26:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355591 -3.313318)'), GeomFromEWKT('SRID=4674;POINT (-38.355583 -3.313335)'))) / (select extract(epoch from '2026-07-13 08:26:57'::timestamp) - extract(epoch from '2026-07-13 08:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355591 -3.313318)'), GeomFromEWKT('SRID=4674;POINT (-38.355583 -3.313335)'))) / (select extract(epoch from '2026-07-13 08:26:57'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47392, 'SRID=4674;POINT (-38.355575 -3.31337)', '2026-07-13 08:26:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355583 -3.313335)'), GeomFromEWKT('SRID=4674;POINT (-38.355575 -3.31337)'))) / (select extract(epoch from '2026-07-13 08:26:59'::timestamp) - extract(epoch from '2026-07-13 08:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355583 -3.313335)'), GeomFromEWKT('SRID=4674;POINT (-38.355575 -3.31337)'))) / (select extract(epoch from '2026-07-13 08:26:59'::timestamp) - extract(epoch from '2026-07-13 08:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355577 -3.313388)', '2026-07-13 08:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355575 -3.31337)'), GeomFromEWKT('SRID=4674;POINT (-38.355577 -3.313388)'))) / (select extract(epoch from '2026-07-13 08:27:00'::timestamp) - extract(epoch from '2026-07-13 08:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355575 -3.31337)'), GeomFromEWKT('SRID=4674;POINT (-38.355577 -3.313388)'))) / (select extract(epoch from '2026-07-13 08:27:00'::timestamp) - extract(epoch from '2026-07-13 08:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355569 -3.313419)', '2026-07-13 08:27:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355577 -3.313388)'), GeomFromEWKT('SRID=4674;POINT (-38.355569 -3.313419)'))) / (select extract(epoch from '2026-07-13 08:27:02'::timestamp) - extract(epoch from '2026-07-13 08:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355577 -3.313388)'), GeomFromEWKT('SRID=4674;POINT (-38.355569 -3.313419)'))) / (select extract(epoch from '2026-07-13 08:27:02'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47392, 'SRID=4674;POINT (-38.355566 -3.313454)', '2026-07-13 08:27:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355569 -3.313419)'), GeomFromEWKT('SRID=4674;POINT (-38.355566 -3.313454)'))) / (select extract(epoch from '2026-07-13 08:27:04'::timestamp) - extract(epoch from '2026-07-13 08:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355569 -3.313419)'), GeomFromEWKT('SRID=4674;POINT (-38.355566 -3.313454)'))) / (select extract(epoch from '2026-07-13 08:27:04'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47392, 'SRID=4674;POINT (-38.355567 -3.313487)', '2026-07-13 08:27:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355566 -3.313454)'), GeomFromEWKT('SRID=4674;POINT (-38.355567 -3.313487)'))) / (select extract(epoch from '2026-07-13 08:27:06'::timestamp) - extract(epoch from '2026-07-13 08:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355566 -3.313454)'), GeomFromEWKT('SRID=4674;POINT (-38.355567 -3.313487)'))) / (select extract(epoch from '2026-07-13 08:27:06'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47392, 'SRID=4674;POINT (-38.355562 -3.313517)', '2026-07-13 08:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355567 -3.313487)'), GeomFromEWKT('SRID=4674;POINT (-38.355562 -3.313517)'))) / (select extract(epoch from '2026-07-13 08:27:08'::timestamp) - extract(epoch from '2026-07-13 08:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355567 -3.313487)'), GeomFromEWKT('SRID=4674;POINT (-38.355562 -3.313517)'))) / (select extract(epoch from '2026-07-13 08:27:08'::timestamp) - extract(epoch from '2026-07-13 08:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355566 -3.313536)', '2026-07-13 08:27:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355562 -3.313517)'), GeomFromEWKT('SRID=4674;POINT (-38.355566 -3.313536)'))) / (select extract(epoch from '2026-07-13 08:27:09'::timestamp) - extract(epoch from '2026-07-13 08:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355562 -3.313517)'), GeomFromEWKT('SRID=4674;POINT (-38.355566 -3.313536)'))) / (select extract(epoch from '2026-07-13 08:27:09'::timestamp) - extract(epoch from '2026-07-13 08:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355565 -3.313555)', '2026-07-13 08:27:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355566 -3.313536)'), GeomFromEWKT('SRID=4674;POINT (-38.355565 -3.313555)'))) / (select extract(epoch from '2026-07-13 08:27:10'::timestamp) - extract(epoch from '2026-07-13 08:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355566 -3.313536)'), GeomFromEWKT('SRID=4674;POINT (-38.355565 -3.313555)'))) / (select extract(epoch from '2026-07-13 08:27:10'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47392, 'SRID=4674;POINT (-38.355563 -3.313622)', '2026-07-13 08:27:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355565 -3.313555)'), GeomFromEWKT('SRID=4674;POINT (-38.355563 -3.313622)'))) / (select extract(epoch from '2026-07-13 08:27:14'::timestamp) - extract(epoch from '2026-07-13 08:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355565 -3.313555)'), GeomFromEWKT('SRID=4674;POINT (-38.355563 -3.313622)'))) / (select extract(epoch from '2026-07-13 08:27:14'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47392, 'SRID=4674;POINT (-38.355558 -3.313698)', '2026-07-13 08:27:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355563 -3.313622)'), GeomFromEWKT('SRID=4674;POINT (-38.355558 -3.313698)'))) / (select extract(epoch from '2026-07-13 08:27:19'::timestamp) - extract(epoch from '2026-07-13 08:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355563 -3.313622)'), GeomFromEWKT('SRID=4674;POINT (-38.355558 -3.313698)'))) / (select extract(epoch from '2026-07-13 08:27:19'::timestamp) - extract(epoch from '2026-07-13 08:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355563 -3.313747)', '2026-07-13 08:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355558 -3.313698)'), GeomFromEWKT('SRID=4674;POINT (-38.355563 -3.313747)'))) / (select extract(epoch from '2026-07-13 08:27:22'::timestamp) - extract(epoch from '2026-07-13 08:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355558 -3.313698)'), GeomFromEWKT('SRID=4674;POINT (-38.355563 -3.313747)'))) / (select extract(epoch from '2026-07-13 08:27:22'::timestamp) - extract(epoch from '2026-07-13 08:27:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355559 -3.31376)', '2026-07-13 08:27:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355563 -3.313747)'), GeomFromEWKT('SRID=4674;POINT (-38.355559 -3.31376)'))) / (select extract(epoch from '2026-07-13 08:27:23'::timestamp) - extract(epoch from '2026-07-13 08:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355563 -3.313747)'), GeomFromEWKT('SRID=4674;POINT (-38.355559 -3.31376)'))) / (select extract(epoch from '2026-07-13 08:27:23'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47392, 'SRID=4674;POINT (-38.355555 -3.313775)', '2026-07-13 08:27:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355559 -3.31376)'), GeomFromEWKT('SRID=4674;POINT (-38.355555 -3.313775)'))) / (select extract(epoch from '2026-07-13 08:27:24'::timestamp) - extract(epoch from '2026-07-13 08:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355559 -3.31376)'), GeomFromEWKT('SRID=4674;POINT (-38.355555 -3.313775)'))) / (select extract(epoch from '2026-07-13 08:27:24'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47392, 'SRID=4674;POINT (-38.355552 -3.313831)', '2026-07-13 08:27:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355555 -3.313775)'), GeomFromEWKT('SRID=4674;POINT (-38.355552 -3.313831)'))) / (select extract(epoch from '2026-07-13 08:27:28'::timestamp) - extract(epoch from '2026-07-13 08:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355555 -3.313775)'), GeomFromEWKT('SRID=4674;POINT (-38.355552 -3.313831)'))) / (select extract(epoch from '2026-07-13 08:27:28'::timestamp) - extract(epoch from '2026-07-13 08:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355543 -3.31393)', '2026-07-13 08:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355552 -3.313831)'), GeomFromEWKT('SRID=4674;POINT (-38.355543 -3.31393)'))) / (select extract(epoch from '2026-07-13 08:27:34'::timestamp) - extract(epoch from '2026-07-13 08:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355552 -3.313831)'), GeomFromEWKT('SRID=4674;POINT (-38.355543 -3.31393)'))) / (select extract(epoch from '2026-07-13 08:27:34'::timestamp) - extract(epoch from '2026-07-13 08:27:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355535 -3.313963)', '2026-07-13 08:27:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355543 -3.31393)'), GeomFromEWKT('SRID=4674;POINT (-38.355535 -3.313963)'))) / (select extract(epoch from '2026-07-13 08:27:36'::timestamp) - extract(epoch from '2026-07-13 08:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355543 -3.31393)'), GeomFromEWKT('SRID=4674;POINT (-38.355535 -3.313963)'))) / (select extract(epoch from '2026-07-13 08:27:36'::timestamp) - extract(epoch from '2026-07-13 08:27:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355521 -3.31399)', '2026-07-13 08:27:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355535 -3.313963)'), GeomFromEWKT('SRID=4674;POINT (-38.355521 -3.31399)'))) / (select extract(epoch from '2026-07-13 08:27:38'::timestamp) - extract(epoch from '2026-07-13 08:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355535 -3.313963)'), GeomFromEWKT('SRID=4674;POINT (-38.355521 -3.31399)'))) / (select extract(epoch from '2026-07-13 08:27:38'::timestamp) - extract(epoch from '2026-07-13 08:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355509 -3.314089)', '2026-07-13 08:27:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355521 -3.31399)'), GeomFromEWKT('SRID=4674;POINT (-38.355509 -3.314089)'))) / (select extract(epoch from '2026-07-13 08:27:44'::timestamp) - extract(epoch from '2026-07-13 08:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355521 -3.31399)'), GeomFromEWKT('SRID=4674;POINT (-38.355509 -3.314089)'))) / (select extract(epoch from '2026-07-13 08:27:44'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47392, 'SRID=4674;POINT (-38.355491 -3.314192)', '2026-07-13 08:27:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355509 -3.314089)'), GeomFromEWKT('SRID=4674;POINT (-38.355491 -3.314192)'))) / (select extract(epoch from '2026-07-13 08:27:50'::timestamp) - extract(epoch from '2026-07-13 08:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355509 -3.314089)'), GeomFromEWKT('SRID=4674;POINT (-38.355491 -3.314192)'))) / (select extract(epoch from '2026-07-13 08:27:50'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47392, 'SRID=4674;POINT (-38.355479 -3.314294)', '2026-07-13 08:27:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355491 -3.314192)'), GeomFromEWKT('SRID=4674;POINT (-38.355479 -3.314294)'))) / (select extract(epoch from '2026-07-13 08:27:56'::timestamp) - extract(epoch from '2026-07-13 08:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355491 -3.314192)'), GeomFromEWKT('SRID=4674;POINT (-38.355479 -3.314294)'))) / (select extract(epoch from '2026-07-13 08:27:56'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47392, 'SRID=4674;POINT (-38.355488 -3.314396)', '2026-07-13 08:28:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355479 -3.314294)'), GeomFromEWKT('SRID=4674;POINT (-38.355488 -3.314396)'))) / (select extract(epoch from '2026-07-13 08:28:02'::timestamp) - extract(epoch from '2026-07-13 08:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355479 -3.314294)'), GeomFromEWKT('SRID=4674;POINT (-38.355488 -3.314396)'))) / (select extract(epoch from '2026-07-13 08:28:02'::timestamp) - extract(epoch from '2026-07-13 08:27:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355496 -3.314482)', '2026-07-13 08:28:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355488 -3.314396)'), GeomFromEWKT('SRID=4674;POINT (-38.355496 -3.314482)'))) / (select extract(epoch from '2026-07-13 08:28:07'::timestamp) - extract(epoch from '2026-07-13 08:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355488 -3.314396)'), GeomFromEWKT('SRID=4674;POINT (-38.355496 -3.314482)'))) / (select extract(epoch from '2026-07-13 08:28:07'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47392, 'SRID=4674;POINT (-38.355494 -3.31453)', '2026-07-13 08:28:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355496 -3.314482)'), GeomFromEWKT('SRID=4674;POINT (-38.355494 -3.31453)'))) / (select extract(epoch from '2026-07-13 08:28:10'::timestamp) - extract(epoch from '2026-07-13 08:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355496 -3.314482)'), GeomFromEWKT('SRID=4674;POINT (-38.355494 -3.31453)'))) / (select extract(epoch from '2026-07-13 08:28:10'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47392, 'SRID=4674;POINT (-38.355494 -3.314559)', '2026-07-13 08:28:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355494 -3.31453)'), GeomFromEWKT('SRID=4674;POINT (-38.355494 -3.314559)'))) / (select extract(epoch from '2026-07-13 08:28:12'::timestamp) - extract(epoch from '2026-07-13 08:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355494 -3.31453)'), GeomFromEWKT('SRID=4674;POINT (-38.355494 -3.314559)'))) / (select extract(epoch from '2026-07-13 08:28:12'::timestamp) - extract(epoch from '2026-07-13 08:28:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355488 -3.314574)', '2026-07-13 08:28:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355494 -3.314559)'), GeomFromEWKT('SRID=4674;POINT (-38.355488 -3.314574)'))) / (select extract(epoch from '2026-07-13 08:28:14'::timestamp) - extract(epoch from '2026-07-13 08:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355494 -3.314559)'), GeomFromEWKT('SRID=4674;POINT (-38.355488 -3.314574)'))) / (select extract(epoch from '2026-07-13 08:28:14'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47392, 'SRID=4674;POINT (-38.355485 -3.314606)', '2026-07-13 08:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355488 -3.314574)'), GeomFromEWKT('SRID=4674;POINT (-38.355485 -3.314606)'))) / (select extract(epoch from '2026-07-13 08:28:16'::timestamp) - extract(epoch from '2026-07-13 08:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355488 -3.314574)'), GeomFromEWKT('SRID=4674;POINT (-38.355485 -3.314606)'))) / (select extract(epoch from '2026-07-13 08:28:16'::timestamp) - extract(epoch from '2026-07-13 08:28:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355477 -3.3147)', '2026-07-13 08:28:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355485 -3.314606)'), GeomFromEWKT('SRID=4674;POINT (-38.355477 -3.3147)'))) / (select extract(epoch from '2026-07-13 08:28:22'::timestamp) - extract(epoch from '2026-07-13 08:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355485 -3.314606)'), GeomFromEWKT('SRID=4674;POINT (-38.355477 -3.3147)'))) / (select extract(epoch from '2026-07-13 08:28:22'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47392, 'SRID=4674;POINT (-38.355465 -3.314736)', '2026-07-13 08:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355477 -3.3147)'), GeomFromEWKT('SRID=4674;POINT (-38.355465 -3.314736)'))) / (select extract(epoch from '2026-07-13 08:28:25'::timestamp) - extract(epoch from '2026-07-13 08:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355477 -3.3147)'), GeomFromEWKT('SRID=4674;POINT (-38.355465 -3.314736)'))) / (select extract(epoch from '2026-07-13 08:28:25'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47392, 'SRID=4674;POINT (-38.355459 -3.314779)', '2026-07-13 08:28:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355465 -3.314736)'), GeomFromEWKT('SRID=4674;POINT (-38.355459 -3.314779)'))) / (select extract(epoch from '2026-07-13 08:28:28'::timestamp) - extract(epoch from '2026-07-13 08:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355465 -3.314736)'), GeomFromEWKT('SRID=4674;POINT (-38.355459 -3.314779)'))) / (select extract(epoch from '2026-07-13 08:28:28'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47392, 'SRID=4674;POINT (-38.355446 -3.314809)', '2026-07-13 08:28:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355459 -3.314779)'), GeomFromEWKT('SRID=4674;POINT (-38.355446 -3.314809)'))) / (select extract(epoch from '2026-07-13 08:28:30'::timestamp) - extract(epoch from '2026-07-13 08:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355459 -3.314779)'), GeomFromEWKT('SRID=4674;POINT (-38.355446 -3.314809)'))) / (select extract(epoch from '2026-07-13 08:28:30'::timestamp) - extract(epoch from '2026-07-13 08:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355434 -3.314865)', '2026-07-13 08:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355446 -3.314809)'), GeomFromEWKT('SRID=4674;POINT (-38.355434 -3.314865)'))) / (select extract(epoch from '2026-07-13 08:28:34'::timestamp) - extract(epoch from '2026-07-13 08:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355446 -3.314809)'), GeomFromEWKT('SRID=4674;POINT (-38.355434 -3.314865)'))) / (select extract(epoch from '2026-07-13 08:28:34'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47392, 'SRID=4674;POINT (-38.355415 -3.314936)', '2026-07-13 08:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355434 -3.314865)'), GeomFromEWKT('SRID=4674;POINT (-38.355415 -3.314936)'))) / (select extract(epoch from '2026-07-13 08:28:39'::timestamp) - extract(epoch from '2026-07-13 08:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355434 -3.314865)'), GeomFromEWKT('SRID=4674;POINT (-38.355415 -3.314936)'))) / (select extract(epoch from '2026-07-13 08:28:39'::timestamp) - extract(epoch from '2026-07-13 08:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355406 -3.315022)', '2026-07-13 08:28:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355415 -3.314936)'), GeomFromEWKT('SRID=4674;POINT (-38.355406 -3.315022)'))) / (select extract(epoch from '2026-07-13 08:28:44'::timestamp) - extract(epoch from '2026-07-13 08:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355415 -3.314936)'), GeomFromEWKT('SRID=4674;POINT (-38.355406 -3.315022)'))) / (select extract(epoch from '2026-07-13 08:28:44'::timestamp) - extract(epoch from '2026-07-13 08:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355396 -3.315062)', '2026-07-13 08:28:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355406 -3.315022)'), GeomFromEWKT('SRID=4674;POINT (-38.355396 -3.315062)'))) / (select extract(epoch from '2026-07-13 08:28:47'::timestamp) - extract(epoch from '2026-07-13 08:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355406 -3.315022)'), GeomFromEWKT('SRID=4674;POINT (-38.355396 -3.315062)'))) / (select extract(epoch from '2026-07-13 08:28:47'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47392, 'SRID=4674;POINT (-38.355398 -3.315097)', '2026-07-13 08:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355396 -3.315062)'), GeomFromEWKT('SRID=4674;POINT (-38.355398 -3.315097)'))) / (select extract(epoch from '2026-07-13 08:28:49'::timestamp) - extract(epoch from '2026-07-13 08:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355396 -3.315062)'), GeomFromEWKT('SRID=4674;POINT (-38.355398 -3.315097)'))) / (select extract(epoch from '2026-07-13 08:28:49'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47392, 'SRID=4674;POINT (-38.355385 -3.315156)', '2026-07-13 08:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355398 -3.315097)'), GeomFromEWKT('SRID=4674;POINT (-38.355385 -3.315156)'))) / (select extract(epoch from '2026-07-13 08:28:53'::timestamp) - extract(epoch from '2026-07-13 08:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355398 -3.315097)'), GeomFromEWKT('SRID=4674;POINT (-38.355385 -3.315156)'))) / (select extract(epoch from '2026-07-13 08:28:53'::timestamp) - extract(epoch from '2026-07-13 08:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355383 -3.315191)', '2026-07-13 08:28:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355385 -3.315156)'), GeomFromEWKT('SRID=4674;POINT (-38.355383 -3.315191)'))) / (select extract(epoch from '2026-07-13 08:28:55'::timestamp) - extract(epoch from '2026-07-13 08:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355385 -3.315156)'), GeomFromEWKT('SRID=4674;POINT (-38.355383 -3.315191)'))) / (select extract(epoch from '2026-07-13 08:28:55'::timestamp) - extract(epoch from '2026-07-13 08:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355358 -3.315303)', '2026-07-13 08:29:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355383 -3.315191)'), GeomFromEWKT('SRID=4674;POINT (-38.355358 -3.315303)'))) / (select extract(epoch from '2026-07-13 08:29:02'::timestamp) - extract(epoch from '2026-07-13 08:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355383 -3.315191)'), GeomFromEWKT('SRID=4674;POINT (-38.355358 -3.315303)'))) / (select extract(epoch from '2026-07-13 08:29:02'::timestamp) - extract(epoch from '2026-07-13 08:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35535 -3.315418)', '2026-07-13 08:29:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355358 -3.315303)'), GeomFromEWKT('SRID=4674;POINT (-38.35535 -3.315418)'))) / (select extract(epoch from '2026-07-13 08:29:09'::timestamp) - extract(epoch from '2026-07-13 08:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355358 -3.315303)'), GeomFromEWKT('SRID=4674;POINT (-38.35535 -3.315418)'))) / (select extract(epoch from '2026-07-13 08:29:09'::timestamp) - extract(epoch from '2026-07-13 08:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35535 -3.315435)', '2026-07-13 08:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35535 -3.315418)'), GeomFromEWKT('SRID=4674;POINT (-38.35535 -3.315435)'))) / (select extract(epoch from '2026-07-13 08:29:10'::timestamp) - extract(epoch from '2026-07-13 08:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35535 -3.315418)'), GeomFromEWKT('SRID=4674;POINT (-38.35535 -3.315435)'))) / (select extract(epoch from '2026-07-13 08:29:10'::timestamp) - extract(epoch from '2026-07-13 08:29:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355356 -3.315478)', '2026-07-13 08:29:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35535 -3.315435)'), GeomFromEWKT('SRID=4674;POINT (-38.355356 -3.315478)'))) / (select extract(epoch from '2026-07-13 08:29:13'::timestamp) - extract(epoch from '2026-07-13 08:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35535 -3.315435)'), GeomFromEWKT('SRID=4674;POINT (-38.355356 -3.315478)'))) / (select extract(epoch from '2026-07-13 08:29:13'::timestamp) - extract(epoch from '2026-07-13 08:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355357 -3.315547)', '2026-07-13 08:29:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355356 -3.315478)'), GeomFromEWKT('SRID=4674;POINT (-38.355357 -3.315547)'))) / (select extract(epoch from '2026-07-13 08:29:17'::timestamp) - extract(epoch from '2026-07-13 08:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355356 -3.315478)'), GeomFromEWKT('SRID=4674;POINT (-38.355357 -3.315547)'))) / (select extract(epoch from '2026-07-13 08:29:17'::timestamp) - extract(epoch from '2026-07-13 08:29: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'), 47392, 'SRID=4674;POINT (-38.355336 -3.315642)', '2026-07-13 08:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355357 -3.315547)'), GeomFromEWKT('SRID=4674;POINT (-38.355336 -3.315642)'))) / (select extract(epoch from '2026-07-13 08:29:23'::timestamp) - extract(epoch from '2026-07-13 08:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355357 -3.315547)'), GeomFromEWKT('SRID=4674;POINT (-38.355336 -3.315642)'))) / (select extract(epoch from '2026-07-13 08:29:23'::timestamp) - extract(epoch from '2026-07-13 08:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35533 -3.315744)', '2026-07-13 08:29:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355336 -3.315642)'), GeomFromEWKT('SRID=4674;POINT (-38.35533 -3.315744)'))) / (select extract(epoch from '2026-07-13 08:29:29'::timestamp) - extract(epoch from '2026-07-13 08:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355336 -3.315642)'), GeomFromEWKT('SRID=4674;POINT (-38.35533 -3.315744)'))) / (select extract(epoch from '2026-07-13 08:29:29'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47392, 'SRID=4674;POINT (-38.355319 -3.315852)', '2026-07-13 08:29:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35533 -3.315744)'), GeomFromEWKT('SRID=4674;POINT (-38.355319 -3.315852)'))) / (select extract(epoch from '2026-07-13 08:29:35'::timestamp) - extract(epoch from '2026-07-13 08:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35533 -3.315744)'), GeomFromEWKT('SRID=4674;POINT (-38.355319 -3.315852)'))) / (select extract(epoch from '2026-07-13 08:29:35'::timestamp) - extract(epoch from '2026-07-13 08:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355307 -3.315889)', '2026-07-13 08:29:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355319 -3.315852)'), GeomFromEWKT('SRID=4674;POINT (-38.355307 -3.315889)'))) / (select extract(epoch from '2026-07-13 08:29:37'::timestamp) - extract(epoch from '2026-07-13 08:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355319 -3.315852)'), GeomFromEWKT('SRID=4674;POINT (-38.355307 -3.315889)'))) / (select extract(epoch from '2026-07-13 08:29:37'::timestamp) - extract(epoch from '2026-07-13 08:29:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.35531 -3.315944)', '2026-07-13 08:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355307 -3.315889)'), GeomFromEWKT('SRID=4674;POINT (-38.35531 -3.315944)'))) / (select extract(epoch from '2026-07-13 08:29:40'::timestamp) - extract(epoch from '2026-07-13 08:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355307 -3.315889)'), GeomFromEWKT('SRID=4674;POINT (-38.35531 -3.315944)'))) / (select extract(epoch from '2026-07-13 08:29:40'::timestamp) - extract(epoch from '2026-07-13 08:29: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'), 47392, 'SRID=4674;POINT (-38.355305 -3.316041)', '2026-07-13 08:29:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35531 -3.315944)'), GeomFromEWKT('SRID=4674;POINT (-38.355305 -3.316041)'))) / (select extract(epoch from '2026-07-13 08:29:46'::timestamp) - extract(epoch from '2026-07-13 08:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35531 -3.315944)'), GeomFromEWKT('SRID=4674;POINT (-38.355305 -3.316041)'))) / (select extract(epoch from '2026-07-13 08:29:46'::timestamp) - extract(epoch from '2026-07-13 08:29: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'), 47392, 'SRID=4674;POINT (-38.355296 -3.31614)', '2026-07-13 08:29:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355305 -3.316041)'), GeomFromEWKT('SRID=4674;POINT (-38.355296 -3.31614)'))) / (select extract(epoch from '2026-07-13 08:29:52'::timestamp) - extract(epoch from '2026-07-13 08:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355305 -3.316041)'), GeomFromEWKT('SRID=4674;POINT (-38.355296 -3.31614)'))) / (select extract(epoch from '2026-07-13 08:29:52'::timestamp) - extract(epoch from '2026-07-13 08:29: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'), 47392, 'SRID=4674;POINT (-38.355304 -3.316195)', '2026-07-13 08:29:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355296 -3.31614)'), GeomFromEWKT('SRID=4674;POINT (-38.355304 -3.316195)'))) / (select extract(epoch from '2026-07-13 08:29:55'::timestamp) - extract(epoch from '2026-07-13 08:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355296 -3.31614)'), GeomFromEWKT('SRID=4674;POINT (-38.355304 -3.316195)'))) / (select extract(epoch from '2026-07-13 08:29:55'::timestamp) - extract(epoch from '2026-07-13 08:29: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'), 47392, 'SRID=4674;POINT (-38.355293 -3.316228)', '2026-07-13 08:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355304 -3.316195)'), GeomFromEWKT('SRID=4674;POINT (-38.355293 -3.316228)'))) / (select extract(epoch from '2026-07-13 08:29:57'::timestamp) - extract(epoch from '2026-07-13 08:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355304 -3.316195)'), GeomFromEWKT('SRID=4674;POINT (-38.355293 -3.316228)'))) / (select extract(epoch from '2026-07-13 08:29:57'::timestamp) - extract(epoch from '2026-07-13 08:29: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'), 47392, 'SRID=4674;POINT (-38.355274 -3.316329)', '2026-07-13 08:30:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355293 -3.316228)'), GeomFromEWKT('SRID=4674;POINT (-38.355274 -3.316329)'))) / (select extract(epoch from '2026-07-13 08:30:03'::timestamp) - extract(epoch from '2026-07-13 08:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355293 -3.316228)'), GeomFromEWKT('SRID=4674;POINT (-38.355274 -3.316329)'))) / (select extract(epoch from '2026-07-13 08:30:03'::timestamp) - extract(epoch from '2026-07-13 08:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.355253 -3.316452)', '2026-07-13 08:30:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355274 -3.316329)'), GeomFromEWKT('SRID=4674;POINT (-38.355253 -3.316452)'))) / (select extract(epoch from '2026-07-13 08:30:11'::timestamp) - extract(epoch from '2026-07-13 08:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355274 -3.316329)'), GeomFromEWKT('SRID=4674;POINT (-38.355253 -3.316452)'))) / (select extract(epoch from '2026-07-13 08:30:11'::timestamp) - extract(epoch from '2026-07-13 08:30:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
