BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042884 -2.838996)', '2026-06-26 06:44:43', 0, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042772 -2.838726)', '2026-06-26 06:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042884 -2.838996)'), GeomFromEWKT('SRID=4674;POINT (-40.042772 -2.838726)'))) / (select extract(epoch from '2026-06-26 06:44:57'::timestamp) - extract(epoch from '2026-06-26 06:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042884 -2.838996)'), GeomFromEWKT('SRID=4674;POINT (-40.042772 -2.838726)'))) / (select extract(epoch from '2026-06-26 06:44:57'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.042715 -2.838635)', '2026-06-26 06:45:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042772 -2.838726)'), GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.838635)'))) / (select extract(epoch from '2026-06-26 06:45:02'::timestamp) - extract(epoch from '2026-06-26 06:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042772 -2.838726)'), GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.838635)'))) / (select extract(epoch from '2026-06-26 06:45:02'::timestamp) - extract(epoch from '2026-06-26 06:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042564 -2.838473)', '2026-06-26 06:45:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.838635)'), GeomFromEWKT('SRID=4674;POINT (-40.042564 -2.838473)'))) / (select extract(epoch from '2026-06-26 06:45:13'::timestamp) - extract(epoch from '2026-06-26 06:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.838635)'), GeomFromEWKT('SRID=4674;POINT (-40.042564 -2.838473)'))) / (select extract(epoch from '2026-06-26 06:45:13'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.042475 -2.83836)', '2026-06-26 06:45:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042564 -2.838473)'), GeomFromEWKT('SRID=4674;POINT (-40.042475 -2.83836)'))) / (select extract(epoch from '2026-06-26 06:45:20'::timestamp) - extract(epoch from '2026-06-26 06:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042564 -2.838473)'), GeomFromEWKT('SRID=4674;POINT (-40.042475 -2.83836)'))) / (select extract(epoch from '2026-06-26 06:45:20'::timestamp) - extract(epoch from '2026-06-26 06:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042334 -2.838252)', '2026-06-26 06:45:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042475 -2.83836)'), GeomFromEWKT('SRID=4674;POINT (-40.042334 -2.838252)'))) / (select extract(epoch from '2026-06-26 06:45:29'::timestamp) - extract(epoch from '2026-06-26 06:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042475 -2.83836)'), GeomFromEWKT('SRID=4674;POINT (-40.042334 -2.838252)'))) / (select extract(epoch from '2026-06-26 06:45:29'::timestamp) - extract(epoch from '2026-06-26 06:45: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'), 46941, 'SRID=4674;POINT (-40.042093 -2.837997)', '2026-06-26 06:45:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042334 -2.838252)'), GeomFromEWKT('SRID=4674;POINT (-40.042093 -2.837997)'))) / (select extract(epoch from '2026-06-26 06:45:47'::timestamp) - extract(epoch from '2026-06-26 06:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042334 -2.838252)'), GeomFromEWKT('SRID=4674;POINT (-40.042093 -2.837997)'))) / (select extract(epoch from '2026-06-26 06:45:47'::timestamp) - extract(epoch from '2026-06-26 06:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041908 -2.837803)', '2026-06-26 06:46:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042093 -2.837997)'), GeomFromEWKT('SRID=4674;POINT (-40.041908 -2.837803)'))) / (select extract(epoch from '2026-06-26 06:46:01'::timestamp) - extract(epoch from '2026-06-26 06:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042093 -2.837997)'), GeomFromEWKT('SRID=4674;POINT (-40.041908 -2.837803)'))) / (select extract(epoch from '2026-06-26 06:46:01'::timestamp) - extract(epoch from '2026-06-26 06:45: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'), 46941, 'SRID=4674;POINT (-40.041747 -2.837577)', '2026-06-26 06:46:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041908 -2.837803)'), GeomFromEWKT('SRID=4674;POINT (-40.041747 -2.837577)'))) / (select extract(epoch from '2026-06-26 06:46:15'::timestamp) - extract(epoch from '2026-06-26 06:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041908 -2.837803)'), GeomFromEWKT('SRID=4674;POINT (-40.041747 -2.837577)'))) / (select extract(epoch from '2026-06-26 06:46:15'::timestamp) - extract(epoch from '2026-06-26 06:46: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'), 46941, 'SRID=4674;POINT (-40.041556 -2.837346)', '2026-06-26 06:46:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041747 -2.837577)'), GeomFromEWKT('SRID=4674;POINT (-40.041556 -2.837346)'))) / (select extract(epoch from '2026-06-26 06:46:29'::timestamp) - extract(epoch from '2026-06-26 06:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041747 -2.837577)'), GeomFromEWKT('SRID=4674;POINT (-40.041556 -2.837346)'))) / (select extract(epoch from '2026-06-26 06:46:29'::timestamp) - extract(epoch from '2026-06-26 06:46: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'), 46941, 'SRID=4674;POINT (-40.04132 -2.837093)', '2026-06-26 06:46:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041556 -2.837346)'), GeomFromEWKT('SRID=4674;POINT (-40.04132 -2.837093)'))) / (select extract(epoch from '2026-06-26 06:46:45'::timestamp) - extract(epoch from '2026-06-26 06:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041556 -2.837346)'), GeomFromEWKT('SRID=4674;POINT (-40.04132 -2.837093)'))) / (select extract(epoch from '2026-06-26 06:46:45'::timestamp) - extract(epoch from '2026-06-26 06:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041092 -2.83682)', '2026-06-26 06:47:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04132 -2.837093)'), GeomFromEWKT('SRID=4674;POINT (-40.041092 -2.83682)'))) / (select extract(epoch from '2026-06-26 06:47:01'::timestamp) - extract(epoch from '2026-06-26 06:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04132 -2.837093)'), GeomFromEWKT('SRID=4674;POINT (-40.041092 -2.83682)'))) / (select extract(epoch from '2026-06-26 06:47:01'::timestamp) - extract(epoch from '2026-06-26 06:46: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'), 46941, 'SRID=4674;POINT (-40.040905 -2.836582)', '2026-06-26 06:47:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041092 -2.83682)'), GeomFromEWKT('SRID=4674;POINT (-40.040905 -2.836582)'))) / (select extract(epoch from '2026-06-26 06:47:15'::timestamp) - extract(epoch from '2026-06-26 06:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041092 -2.83682)'), GeomFromEWKT('SRID=4674;POINT (-40.040905 -2.836582)'))) / (select extract(epoch from '2026-06-26 06:47:15'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.040688 -2.836253)', '2026-06-26 06:47:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040905 -2.836582)'), GeomFromEWKT('SRID=4674;POINT (-40.040688 -2.836253)'))) / (select extract(epoch from '2026-06-26 06:47:33'::timestamp) - extract(epoch from '2026-06-26 06:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040905 -2.836582)'), GeomFromEWKT('SRID=4674;POINT (-40.040688 -2.836253)'))) / (select extract(epoch from '2026-06-26 06:47:33'::timestamp) - extract(epoch from '2026-06-26 06:47: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'), 46941, 'SRID=4674;POINT (-40.040507 -2.835946)', '2026-06-26 06:47:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040688 -2.836253)'), GeomFromEWKT('SRID=4674;POINT (-40.040507 -2.835946)'))) / (select extract(epoch from '2026-06-26 06:47:49'::timestamp) - extract(epoch from '2026-06-26 06:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040688 -2.836253)'), GeomFromEWKT('SRID=4674;POINT (-40.040507 -2.835946)'))) / (select extract(epoch from '2026-06-26 06:47:49'::timestamp) - extract(epoch from '2026-06-26 06:47: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'), 46941, 'SRID=4674;POINT (-40.040341 -2.835608)', '2026-06-26 06:48:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040507 -2.835946)'), GeomFromEWKT('SRID=4674;POINT (-40.040341 -2.835608)'))) / (select extract(epoch from '2026-06-26 06:48:06'::timestamp) - extract(epoch from '2026-06-26 06:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040507 -2.835946)'), GeomFromEWKT('SRID=4674;POINT (-40.040341 -2.835608)'))) / (select extract(epoch from '2026-06-26 06:48:06'::timestamp) - extract(epoch from '2026-06-26 06:47: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'), 46941, 'SRID=4674;POINT (-40.040166 -2.835312)', '2026-06-26 06:48:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040341 -2.835608)'), GeomFromEWKT('SRID=4674;POINT (-40.040166 -2.835312)'))) / (select extract(epoch from '2026-06-26 06:48:22'::timestamp) - extract(epoch from '2026-06-26 06:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040341 -2.835608)'), GeomFromEWKT('SRID=4674;POINT (-40.040166 -2.835312)'))) / (select extract(epoch from '2026-06-26 06:48:22'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.040067 -2.835078)', '2026-06-26 06:48:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040166 -2.835312)'), GeomFromEWKT('SRID=4674;POINT (-40.040067 -2.835078)'))) / (select extract(epoch from '2026-06-26 06:48:35'::timestamp) - extract(epoch from '2026-06-26 06:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040166 -2.835312)'), GeomFromEWKT('SRID=4674;POINT (-40.040067 -2.835078)'))) / (select extract(epoch from '2026-06-26 06:48:35'::timestamp) - extract(epoch from '2026-06-26 06:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.039991 -2.834763)', '2026-06-26 06:48:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040067 -2.835078)'), GeomFromEWKT('SRID=4674;POINT (-40.039991 -2.834763)'))) / (select extract(epoch from '2026-06-26 06:48:52'::timestamp) - extract(epoch from '2026-06-26 06:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040067 -2.835078)'), GeomFromEWKT('SRID=4674;POINT (-40.039991 -2.834763)'))) / (select extract(epoch from '2026-06-26 06:48:52'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.039937 -2.834471)', '2026-06-26 06:49:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039991 -2.834763)'), GeomFromEWKT('SRID=4674;POINT (-40.039937 -2.834471)'))) / (select extract(epoch from '2026-06-26 06:49:08'::timestamp) - extract(epoch from '2026-06-26 06:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039991 -2.834763)'), GeomFromEWKT('SRID=4674;POINT (-40.039937 -2.834471)'))) / (select extract(epoch from '2026-06-26 06:49:08'::timestamp) - extract(epoch from '2026-06-26 06:48: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'), 46941, 'SRID=4674;POINT (-40.039881 -2.834165)', '2026-06-26 06:49:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039937 -2.834471)'), GeomFromEWKT('SRID=4674;POINT (-40.039881 -2.834165)'))) / (select extract(epoch from '2026-06-26 06:49:25'::timestamp) - extract(epoch from '2026-06-26 06:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039937 -2.834471)'), GeomFromEWKT('SRID=4674;POINT (-40.039881 -2.834165)'))) / (select extract(epoch from '2026-06-26 06:49:25'::timestamp) - extract(epoch from '2026-06-26 06:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.03986 -2.833984)', '2026-06-26 06:49:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039881 -2.834165)'), GeomFromEWKT('SRID=4674;POINT (-40.03986 -2.833984)'))) / (select extract(epoch from '2026-06-26 06:49:35'::timestamp) - extract(epoch from '2026-06-26 06:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039881 -2.834165)'), GeomFromEWKT('SRID=4674;POINT (-40.03986 -2.833984)'))) / (select extract(epoch from '2026-06-26 06:49:35'::timestamp) - extract(epoch from '2026-06-26 06:49: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'), 46941, 'SRID=4674;POINT (-40.039881 -2.833766)', '2026-06-26 06:49:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03986 -2.833984)'), GeomFromEWKT('SRID=4674;POINT (-40.039881 -2.833766)'))) / (select extract(epoch from '2026-06-26 06:49:46'::timestamp) - extract(epoch from '2026-06-26 06:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03986 -2.833984)'), GeomFromEWKT('SRID=4674;POINT (-40.039881 -2.833766)'))) / (select extract(epoch from '2026-06-26 06:49:46'::timestamp) - extract(epoch from '2026-06-26 06:49: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'), 46941, 'SRID=4674;POINT (-40.039919 -2.833506)', '2026-06-26 06:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039881 -2.833766)'), GeomFromEWKT('SRID=4674;POINT (-40.039919 -2.833506)'))) / (select extract(epoch from '2026-06-26 06:49:59'::timestamp) - extract(epoch from '2026-06-26 06:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039881 -2.833766)'), GeomFromEWKT('SRID=4674;POINT (-40.039919 -2.833506)'))) / (select extract(epoch from '2026-06-26 06:49:59'::timestamp) - extract(epoch from '2026-06-26 06:49: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'), 46941, 'SRID=4674;POINT (-40.039932 -2.833226)', '2026-06-26 06:50:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039919 -2.833506)'), GeomFromEWKT('SRID=4674;POINT (-40.039932 -2.833226)'))) / (select extract(epoch from '2026-06-26 06:50:13'::timestamp) - extract(epoch from '2026-06-26 06:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039919 -2.833506)'), GeomFromEWKT('SRID=4674;POINT (-40.039932 -2.833226)'))) / (select extract(epoch from '2026-06-26 06:50:13'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.039997 -2.833)', '2026-06-26 06:50:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039932 -2.833226)'), GeomFromEWKT('SRID=4674;POINT (-40.039997 -2.833)'))) / (select extract(epoch from '2026-06-26 06:50:24'::timestamp) - extract(epoch from '2026-06-26 06:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039932 -2.833226)'), GeomFromEWKT('SRID=4674;POINT (-40.039997 -2.833)'))) / (select extract(epoch from '2026-06-26 06:50:24'::timestamp) - extract(epoch from '2026-06-26 06:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040137 -2.832722)', '2026-06-26 06:50:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039997 -2.833)'), GeomFromEWKT('SRID=4674;POINT (-40.040137 -2.832722)'))) / (select extract(epoch from '2026-06-26 06:50:38'::timestamp) - extract(epoch from '2026-06-26 06:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039997 -2.833)'), GeomFromEWKT('SRID=4674;POINT (-40.040137 -2.832722)'))) / (select extract(epoch from '2026-06-26 06:50:38'::timestamp) - extract(epoch from '2026-06-26 06:50: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'), 46941, 'SRID=4674;POINT (-40.0402 -2.832513)', '2026-06-26 06:50:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040137 -2.832722)'), GeomFromEWKT('SRID=4674;POINT (-40.0402 -2.832513)'))) / (select extract(epoch from '2026-06-26 06:50:48'::timestamp) - extract(epoch from '2026-06-26 06:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040137 -2.832722)'), GeomFromEWKT('SRID=4674;POINT (-40.0402 -2.832513)'))) / (select extract(epoch from '2026-06-26 06:50:48'::timestamp) - extract(epoch from '2026-06-26 06:50: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'), 46941, 'SRID=4674;POINT (-40.040288 -2.832221)', '2026-06-26 06:51:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0402 -2.832513)'), GeomFromEWKT('SRID=4674;POINT (-40.040288 -2.832221)'))) / (select extract(epoch from '2026-06-26 06:51:02'::timestamp) - extract(epoch from '2026-06-26 06:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0402 -2.832513)'), GeomFromEWKT('SRID=4674;POINT (-40.040288 -2.832221)'))) / (select extract(epoch from '2026-06-26 06:51:02'::timestamp) - extract(epoch from '2026-06-26 06:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040461 -2.831918)', '2026-06-26 06:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040288 -2.832221)'), GeomFromEWKT('SRID=4674;POINT (-40.040461 -2.831918)'))) / (select extract(epoch from '2026-06-26 06:51:18'::timestamp) - extract(epoch from '2026-06-26 06:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040288 -2.832221)'), GeomFromEWKT('SRID=4674;POINT (-40.040461 -2.831918)'))) / (select extract(epoch from '2026-06-26 06:51:18'::timestamp) - extract(epoch from '2026-06-26 06:51: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'), 46941, 'SRID=4674;POINT (-40.040678 -2.83169)', '2026-06-26 06:51:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040461 -2.831918)'), GeomFromEWKT('SRID=4674;POINT (-40.040678 -2.83169)'))) / (select extract(epoch from '2026-06-26 06:51:33'::timestamp) - extract(epoch from '2026-06-26 06:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040461 -2.831918)'), GeomFromEWKT('SRID=4674;POINT (-40.040678 -2.83169)'))) / (select extract(epoch from '2026-06-26 06:51:33'::timestamp) - extract(epoch from '2026-06-26 06:51: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'), 46941, 'SRID=4674;POINT (-40.040932 -2.83143)', '2026-06-26 06:51:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040678 -2.83169)'), GeomFromEWKT('SRID=4674;POINT (-40.040932 -2.83143)'))) / (select extract(epoch from '2026-06-26 06:51:50'::timestamp) - extract(epoch from '2026-06-26 06:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040678 -2.83169)'), GeomFromEWKT('SRID=4674;POINT (-40.040932 -2.83143)'))) / (select extract(epoch from '2026-06-26 06:51:50'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.041244 -2.831132)', '2026-06-26 06:52:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040932 -2.83143)'), GeomFromEWKT('SRID=4674;POINT (-40.041244 -2.831132)'))) / (select extract(epoch from '2026-06-26 06:52:10'::timestamp) - extract(epoch from '2026-06-26 06:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040932 -2.83143)'), GeomFromEWKT('SRID=4674;POINT (-40.041244 -2.831132)'))) / (select extract(epoch from '2026-06-26 06:52:10'::timestamp) - extract(epoch from '2026-06-26 06:51: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'), 46941, 'SRID=4674;POINT (-40.041517 -2.83089)', '2026-06-26 06:52:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041244 -2.831132)'), GeomFromEWKT('SRID=4674;POINT (-40.041517 -2.83089)'))) / (select extract(epoch from '2026-06-26 06:52:27'::timestamp) - extract(epoch from '2026-06-26 06:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041244 -2.831132)'), GeomFromEWKT('SRID=4674;POINT (-40.041517 -2.83089)'))) / (select extract(epoch from '2026-06-26 06:52:27'::timestamp) - extract(epoch from '2026-06-26 06:52: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'), 46941, 'SRID=4674;POINT (-40.041829 -2.830631)', '2026-06-26 06:52:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041517 -2.83089)'), GeomFromEWKT('SRID=4674;POINT (-40.041829 -2.830631)'))) / (select extract(epoch from '2026-06-26 06:52:46'::timestamp) - extract(epoch from '2026-06-26 06:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041517 -2.83089)'), GeomFromEWKT('SRID=4674;POINT (-40.041829 -2.830631)'))) / (select extract(epoch from '2026-06-26 06:52:46'::timestamp) - extract(epoch from '2026-06-26 06:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042063 -2.830452)', '2026-06-26 06:53:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041829 -2.830631)'), GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.830452)'))) / (select extract(epoch from '2026-06-26 06:53:00'::timestamp) - extract(epoch from '2026-06-26 06:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041829 -2.830631)'), GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.830452)'))) / (select extract(epoch from '2026-06-26 06:53:00'::timestamp) - extract(epoch from '2026-06-26 06:52:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042402 -2.830239)', '2026-06-26 06:53:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.830452)'), GeomFromEWKT('SRID=4674;POINT (-40.042402 -2.830239)'))) / (select extract(epoch from '2026-06-26 06:53:19'::timestamp) - extract(epoch from '2026-06-26 06:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.830452)'), GeomFromEWKT('SRID=4674;POINT (-40.042402 -2.830239)'))) / (select extract(epoch from '2026-06-26 06:53:19'::timestamp) - extract(epoch from '2026-06-26 06:53:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042682 -2.829997)', '2026-06-26 06:53:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042402 -2.830239)'), GeomFromEWKT('SRID=4674;POINT (-40.042682 -2.829997)'))) / (select extract(epoch from '2026-06-26 06:53:37'::timestamp) - extract(epoch from '2026-06-26 06:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042402 -2.830239)'), GeomFromEWKT('SRID=4674;POINT (-40.042682 -2.829997)'))) / (select extract(epoch from '2026-06-26 06:53:37'::timestamp) - extract(epoch from '2026-06-26 06:53: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'), 46941, 'SRID=4674;POINT (-40.04289 -2.829763)', '2026-06-26 06:53:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042682 -2.829997)'), GeomFromEWKT('SRID=4674;POINT (-40.04289 -2.829763)'))) / (select extract(epoch from '2026-06-26 06:53:53'::timestamp) - extract(epoch from '2026-06-26 06:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042682 -2.829997)'), GeomFromEWKT('SRID=4674;POINT (-40.04289 -2.829763)'))) / (select extract(epoch from '2026-06-26 06:53:53'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.042947 -2.829602)', '2026-06-26 06:54:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04289 -2.829763)'), GeomFromEWKT('SRID=4674;POINT (-40.042947 -2.829602)'))) / (select extract(epoch from '2026-06-26 06:54:03'::timestamp) - extract(epoch from '2026-06-26 06:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04289 -2.829763)'), GeomFromEWKT('SRID=4674;POINT (-40.042947 -2.829602)'))) / (select extract(epoch from '2026-06-26 06:54:03'::timestamp) - extract(epoch from '2026-06-26 06:53: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'), 46941, 'SRID=4674;POINT (-40.042967 -2.829338)', '2026-06-26 06:54:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042947 -2.829602)'), GeomFromEWKT('SRID=4674;POINT (-40.042967 -2.829338)'))) / (select extract(epoch from '2026-06-26 06:54:19'::timestamp) - extract(epoch from '2026-06-26 06:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042947 -2.829602)'), GeomFromEWKT('SRID=4674;POINT (-40.042967 -2.829338)'))) / (select extract(epoch from '2026-06-26 06:54:19'::timestamp) - extract(epoch from '2026-06-26 06:54: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'), 46941, 'SRID=4674;POINT (-40.042888 -2.829118)', '2026-06-26 06:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042967 -2.829338)'), GeomFromEWKT('SRID=4674;POINT (-40.042888 -2.829118)'))) / (select extract(epoch from '2026-06-26 06:54:33'::timestamp) - extract(epoch from '2026-06-26 06:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042967 -2.829338)'), GeomFromEWKT('SRID=4674;POINT (-40.042888 -2.829118)'))) / (select extract(epoch from '2026-06-26 06:54:33'::timestamp) - extract(epoch from '2026-06-26 06:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042783 -2.828794)', '2026-06-26 06:54:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042888 -2.829118)'), GeomFromEWKT('SRID=4674;POINT (-40.042783 -2.828794)'))) / (select extract(epoch from '2026-06-26 06:54:52'::timestamp) - extract(epoch from '2026-06-26 06:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042888 -2.829118)'), GeomFromEWKT('SRID=4674;POINT (-40.042783 -2.828794)'))) / (select extract(epoch from '2026-06-26 06:54:52'::timestamp) - extract(epoch from '2026-06-26 06:54: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'), 46941, 'SRID=4674;POINT (-40.042789 -2.828627)', '2026-06-26 06:55:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042783 -2.828794)'), GeomFromEWKT('SRID=4674;POINT (-40.042789 -2.828627)'))) / (select extract(epoch from '2026-06-26 06:55:01'::timestamp) - extract(epoch from '2026-06-26 06:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042783 -2.828794)'), GeomFromEWKT('SRID=4674;POINT (-40.042789 -2.828627)'))) / (select extract(epoch from '2026-06-26 06:55:01'::timestamp) - extract(epoch from '2026-06-26 06:54:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04287 -2.82832)', '2026-06-26 06:55:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042789 -2.828627)'), GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.82832)'))) / (select extract(epoch from '2026-06-26 06:55:18'::timestamp) - extract(epoch from '2026-06-26 06:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042789 -2.828627)'), GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.82832)'))) / (select extract(epoch from '2026-06-26 06:55:18'::timestamp) - extract(epoch from '2026-06-26 06:55: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'), 46941, 'SRID=4674;POINT (-40.042907 -2.828119)', '2026-06-26 06:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.82832)'), GeomFromEWKT('SRID=4674;POINT (-40.042907 -2.828119)'))) / (select extract(epoch from '2026-06-26 06:55:28'::timestamp) - extract(epoch from '2026-06-26 06:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.82832)'), GeomFromEWKT('SRID=4674;POINT (-40.042907 -2.828119)'))) / (select extract(epoch from '2026-06-26 06:55:28'::timestamp) - extract(epoch from '2026-06-26 06:55: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'), 46941, 'SRID=4674;POINT (-40.04288 -2.827766)', '2026-06-26 06:55:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042907 -2.828119)'), GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.827766)'))) / (select extract(epoch from '2026-06-26 06:55:45'::timestamp) - extract(epoch from '2026-06-26 06:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042907 -2.828119)'), GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.827766)'))) / (select extract(epoch from '2026-06-26 06:55:45'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.042856 -2.827563)', '2026-06-26 06:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.827766)'), GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.827563)'))) / (select extract(epoch from '2026-06-26 06:55:55'::timestamp) - extract(epoch from '2026-06-26 06:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.827766)'), GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.827563)'))) / (select extract(epoch from '2026-06-26 06:55:55'::timestamp) - extract(epoch from '2026-06-26 06:55:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042764 -2.827319)', '2026-06-26 06:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.827563)'), GeomFromEWKT('SRID=4674;POINT (-40.042764 -2.827319)'))) / (select extract(epoch from '2026-06-26 06:56:08'::timestamp) - extract(epoch from '2026-06-26 06:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.827563)'), GeomFromEWKT('SRID=4674;POINT (-40.042764 -2.827319)'))) / (select extract(epoch from '2026-06-26 06:56:08'::timestamp) - extract(epoch from '2026-06-26 06:55: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'), 46941, 'SRID=4674;POINT (-40.04273 -2.827081)', '2026-06-26 06:56:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042764 -2.827319)'), GeomFromEWKT('SRID=4674;POINT (-40.04273 -2.827081)'))) / (select extract(epoch from '2026-06-26 06:56:20'::timestamp) - extract(epoch from '2026-06-26 06:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042764 -2.827319)'), GeomFromEWKT('SRID=4674;POINT (-40.04273 -2.827081)'))) / (select extract(epoch from '2026-06-26 06:56:20'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.042761 -2.826779)', '2026-06-26 06:56:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04273 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.826779)'))) / (select extract(epoch from '2026-06-26 06:56:35'::timestamp) - extract(epoch from '2026-06-26 06:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04273 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.826779)'))) / (select extract(epoch from '2026-06-26 06:56:35'::timestamp) - extract(epoch from '2026-06-26 06:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042877 -2.826515)', '2026-06-26 06:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.826779)'), GeomFromEWKT('SRID=4674;POINT (-40.042877 -2.826515)'))) / (select extract(epoch from '2026-06-26 06:56:49'::timestamp) - extract(epoch from '2026-06-26 06:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.826779)'), GeomFromEWKT('SRID=4674;POINT (-40.042877 -2.826515)'))) / (select extract(epoch from '2026-06-26 06:56:49'::timestamp) - extract(epoch from '2026-06-26 06:56: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'), 46941, 'SRID=4674;POINT (-40.042956 -2.826225)', '2026-06-26 06:57:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042877 -2.826515)'), GeomFromEWKT('SRID=4674;POINT (-40.042956 -2.826225)'))) / (select extract(epoch from '2026-06-26 06:57:03'::timestamp) - extract(epoch from '2026-06-26 06:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042877 -2.826515)'), GeomFromEWKT('SRID=4674;POINT (-40.042956 -2.826225)'))) / (select extract(epoch from '2026-06-26 06:57:03'::timestamp) - extract(epoch from '2026-06-26 06:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043096 -2.825869)', '2026-06-26 06:57:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042956 -2.826225)'), GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.825869)'))) / (select extract(epoch from '2026-06-26 06:57:20'::timestamp) - extract(epoch from '2026-06-26 06:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042956 -2.826225)'), GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.825869)'))) / (select extract(epoch from '2026-06-26 06:57:20'::timestamp) - extract(epoch from '2026-06-26 06:57:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043169 -2.825557)', '2026-06-26 06:57:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.825869)'), GeomFromEWKT('SRID=4674;POINT (-40.043169 -2.825557)'))) / (select extract(epoch from '2026-06-26 06:57:34'::timestamp) - extract(epoch from '2026-06-26 06:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.825869)'), GeomFromEWKT('SRID=4674;POINT (-40.043169 -2.825557)'))) / (select extract(epoch from '2026-06-26 06:57:34'::timestamp) - extract(epoch from '2026-06-26 06:57: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'), 46941, 'SRID=4674;POINT (-40.043192 -2.825151)', '2026-06-26 06:57:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043169 -2.825557)'), GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.825151)'))) / (select extract(epoch from '2026-06-26 06:57:52'::timestamp) - extract(epoch from '2026-06-26 06:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043169 -2.825557)'), GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.825151)'))) / (select extract(epoch from '2026-06-26 06:57:52'::timestamp) - extract(epoch from '2026-06-26 06:57: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'), 46941, 'SRID=4674;POINT (-40.043206 -2.824773)', '2026-06-26 06:58:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.825151)'), GeomFromEWKT('SRID=4674;POINT (-40.043206 -2.824773)'))) / (select extract(epoch from '2026-06-26 06:58:09'::timestamp) - extract(epoch from '2026-06-26 06:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.825151)'), GeomFromEWKT('SRID=4674;POINT (-40.043206 -2.824773)'))) / (select extract(epoch from '2026-06-26 06:58:09'::timestamp) - extract(epoch from '2026-06-26 06:57:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043157 -2.824517)', '2026-06-26 06:58:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043206 -2.824773)'), GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.824517)'))) / (select extract(epoch from '2026-06-26 06:58:21'::timestamp) - extract(epoch from '2026-06-26 06:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043206 -2.824773)'), GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.824517)'))) / (select extract(epoch from '2026-06-26 06:58:21'::timestamp) - extract(epoch from '2026-06-26 06:58:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043024 -2.824297)', '2026-06-26 06:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.824517)'), GeomFromEWKT('SRID=4674;POINT (-40.043024 -2.824297)'))) / (select extract(epoch from '2026-06-26 06:58:33'::timestamp) - extract(epoch from '2026-06-26 06:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.824517)'), GeomFromEWKT('SRID=4674;POINT (-40.043024 -2.824297)'))) / (select extract(epoch from '2026-06-26 06:58:33'::timestamp) - extract(epoch from '2026-06-26 06:58: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'), 46941, 'SRID=4674;POINT (-40.042861 -2.824115)', '2026-06-26 06:58:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043024 -2.824297)'), GeomFromEWKT('SRID=4674;POINT (-40.042861 -2.824115)'))) / (select extract(epoch from '2026-06-26 06:58:45'::timestamp) - extract(epoch from '2026-06-26 06:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043024 -2.824297)'), GeomFromEWKT('SRID=4674;POINT (-40.042861 -2.824115)'))) / (select extract(epoch from '2026-06-26 06:58:45'::timestamp) - extract(epoch from '2026-06-26 06:58: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'), 46941, 'SRID=4674;POINT (-40.042595 -2.823767)', '2026-06-26 06:59:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042861 -2.824115)'), GeomFromEWKT('SRID=4674;POINT (-40.042595 -2.823767)'))) / (select extract(epoch from '2026-06-26 06:59:06'::timestamp) - extract(epoch from '2026-06-26 06:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042861 -2.824115)'), GeomFromEWKT('SRID=4674;POINT (-40.042595 -2.823767)'))) / (select extract(epoch from '2026-06-26 06:59:06'::timestamp) - extract(epoch from '2026-06-26 06:58: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'), 46941, 'SRID=4674;POINT (-40.042473 -2.823526)', '2026-06-26 06:59:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042595 -2.823767)'), GeomFromEWKT('SRID=4674;POINT (-40.042473 -2.823526)'))) / (select extract(epoch from '2026-06-26 06:59:19'::timestamp) - extract(epoch from '2026-06-26 06:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042595 -2.823767)'), GeomFromEWKT('SRID=4674;POINT (-40.042473 -2.823526)'))) / (select extract(epoch from '2026-06-26 06:59:19'::timestamp) - extract(epoch from '2026-06-26 06:59: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'), 46941, 'SRID=4674;POINT (-40.042318 -2.823224)', '2026-06-26 06:59:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042473 -2.823526)'), GeomFromEWKT('SRID=4674;POINT (-40.042318 -2.823224)'))) / (select extract(epoch from '2026-06-26 06:59:35'::timestamp) - extract(epoch from '2026-06-26 06:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042473 -2.823526)'), GeomFromEWKT('SRID=4674;POINT (-40.042318 -2.823224)'))) / (select extract(epoch from '2026-06-26 06:59:35'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.042114 -2.822829)', '2026-06-26 06:59:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042318 -2.823224)'), GeomFromEWKT('SRID=4674;POINT (-40.042114 -2.822829)'))) / (select extract(epoch from '2026-06-26 06:59:56'::timestamp) - extract(epoch from '2026-06-26 06:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042318 -2.823224)'), GeomFromEWKT('SRID=4674;POINT (-40.042114 -2.822829)'))) / (select extract(epoch from '2026-06-26 06:59:56'::timestamp) - extract(epoch from '2026-06-26 06: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'), 46941, 'SRID=4674;POINT (-40.042 -2.822534)', '2026-06-26 07:00:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042114 -2.822829)'), GeomFromEWKT('SRID=4674;POINT (-40.042 -2.822534)'))) / (select extract(epoch from '2026-06-26 07:00:11'::timestamp) - extract(epoch from '2026-06-26 06:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042114 -2.822829)'), GeomFromEWKT('SRID=4674;POINT (-40.042 -2.822534)'))) / (select extract(epoch from '2026-06-26 07:00:11'::timestamp) - extract(epoch from '2026-06-26 06:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041857 -2.822212)', '2026-06-26 07:00:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042 -2.822534)'), GeomFromEWKT('SRID=4674;POINT (-40.041857 -2.822212)'))) / (select extract(epoch from '2026-06-26 07:00:28'::timestamp) - extract(epoch from '2026-06-26 07:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042 -2.822534)'), GeomFromEWKT('SRID=4674;POINT (-40.041857 -2.822212)'))) / (select extract(epoch from '2026-06-26 07:00:28'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.041747 -2.821872)', '2026-06-26 07:00:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041857 -2.822212)'), GeomFromEWKT('SRID=4674;POINT (-40.041747 -2.821872)'))) / (select extract(epoch from '2026-06-26 07:00:45'::timestamp) - extract(epoch from '2026-06-26 07:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041857 -2.822212)'), GeomFromEWKT('SRID=4674;POINT (-40.041747 -2.821872)'))) / (select extract(epoch from '2026-06-26 07:00:45'::timestamp) - extract(epoch from '2026-06-26 07:00: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'), 46941, 'SRID=4674;POINT (-40.041642 -2.821561)', '2026-06-26 07:01:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041747 -2.821872)'), GeomFromEWKT('SRID=4674;POINT (-40.041642 -2.821561)'))) / (select extract(epoch from '2026-06-26 07:01:01'::timestamp) - extract(epoch from '2026-06-26 07:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041747 -2.821872)'), GeomFromEWKT('SRID=4674;POINT (-40.041642 -2.821561)'))) / (select extract(epoch from '2026-06-26 07:01:01'::timestamp) - extract(epoch from '2026-06-26 07:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.0415 -2.821235)', '2026-06-26 07:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041642 -2.821561)'), GeomFromEWKT('SRID=4674;POINT (-40.0415 -2.821235)'))) / (select extract(epoch from '2026-06-26 07:01:18'::timestamp) - extract(epoch from '2026-06-26 07:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041642 -2.821561)'), GeomFromEWKT('SRID=4674;POINT (-40.0415 -2.821235)'))) / (select extract(epoch from '2026-06-26 07:01:18'::timestamp) - extract(epoch from '2026-06-26 07:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041379 -2.82095)', '2026-06-26 07:01:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0415 -2.821235)'), GeomFromEWKT('SRID=4674;POINT (-40.041379 -2.82095)'))) / (select extract(epoch from '2026-06-26 07:01:33'::timestamp) - extract(epoch from '2026-06-26 07:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0415 -2.821235)'), GeomFromEWKT('SRID=4674;POINT (-40.041379 -2.82095)'))) / (select extract(epoch from '2026-06-26 07:01:33'::timestamp) - extract(epoch from '2026-06-26 07:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041261 -2.820619)', '2026-06-26 07:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041379 -2.82095)'), GeomFromEWKT('SRID=4674;POINT (-40.041261 -2.820619)'))) / (select extract(epoch from '2026-06-26 07:01:50'::timestamp) - extract(epoch from '2026-06-26 07:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041379 -2.82095)'), GeomFromEWKT('SRID=4674;POINT (-40.041261 -2.820619)'))) / (select extract(epoch from '2026-06-26 07:01:50'::timestamp) - extract(epoch from '2026-06-26 07:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041273 -2.820459)', '2026-06-26 07:01:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041261 -2.820619)'), GeomFromEWKT('SRID=4674;POINT (-40.041273 -2.820459)'))) / (select extract(epoch from '2026-06-26 07:01:59'::timestamp) - extract(epoch from '2026-06-26 07:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041261 -2.820619)'), GeomFromEWKT('SRID=4674;POINT (-40.041273 -2.820459)'))) / (select extract(epoch from '2026-06-26 07:01:59'::timestamp) - extract(epoch from '2026-06-26 07:01: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'), 46941, 'SRID=4674;POINT (-40.04137 -2.820281)', '2026-06-26 07:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041273 -2.820459)'), GeomFromEWKT('SRID=4674;POINT (-40.04137 -2.820281)'))) / (select extract(epoch from '2026-06-26 07:02:11'::timestamp) - extract(epoch from '2026-06-26 07:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041273 -2.820459)'), GeomFromEWKT('SRID=4674;POINT (-40.04137 -2.820281)'))) / (select extract(epoch from '2026-06-26 07:02:11'::timestamp) - extract(epoch from '2026-06-26 07:01:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041443 -2.820057)', '2026-06-26 07:02:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04137 -2.820281)'), GeomFromEWKT('SRID=4674;POINT (-40.041443 -2.820057)'))) / (select extract(epoch from '2026-06-26 07:02:24'::timestamp) - extract(epoch from '2026-06-26 07:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04137 -2.820281)'), GeomFromEWKT('SRID=4674;POINT (-40.041443 -2.820057)'))) / (select extract(epoch from '2026-06-26 07:02:24'::timestamp) - extract(epoch from '2026-06-26 07:02: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'), 46941, 'SRID=4674;POINT (-40.0415 -2.81993)', '2026-06-26 07:02:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041443 -2.820057)'), GeomFromEWKT('SRID=4674;POINT (-40.0415 -2.81993)'))) / (select extract(epoch from '2026-06-26 07:02:33'::timestamp) - extract(epoch from '2026-06-26 07:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041443 -2.820057)'), GeomFromEWKT('SRID=4674;POINT (-40.0415 -2.81993)'))) / (select extract(epoch from '2026-06-26 07:02:33'::timestamp) - extract(epoch from '2026-06-26 07:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041641 -2.819745)', '2026-06-26 07:02:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0415 -2.81993)'), GeomFromEWKT('SRID=4674;POINT (-40.041641 -2.819745)'))) / (select extract(epoch from '2026-06-26 07:02:46'::timestamp) - extract(epoch from '2026-06-26 07:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0415 -2.81993)'), GeomFromEWKT('SRID=4674;POINT (-40.041641 -2.819745)'))) / (select extract(epoch from '2026-06-26 07:02:46'::timestamp) - extract(epoch from '2026-06-26 07:02: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'), 46941, 'SRID=4674;POINT (-40.041768 -2.819538)', '2026-06-26 07:02:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041641 -2.819745)'), GeomFromEWKT('SRID=4674;POINT (-40.041768 -2.819538)'))) / (select extract(epoch from '2026-06-26 07:02:59'::timestamp) - extract(epoch from '2026-06-26 07:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041641 -2.819745)'), GeomFromEWKT('SRID=4674;POINT (-40.041768 -2.819538)'))) / (select extract(epoch from '2026-06-26 07:02:59'::timestamp) - extract(epoch from '2026-06-26 07:02: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'), 46941, 'SRID=4674;POINT (-40.041894 -2.819289)', '2026-06-26 07:03:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041768 -2.819538)'), GeomFromEWKT('SRID=4674;POINT (-40.041894 -2.819289)'))) / (select extract(epoch from '2026-06-26 07:03:13'::timestamp) - extract(epoch from '2026-06-26 07:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041768 -2.819538)'), GeomFromEWKT('SRID=4674;POINT (-40.041894 -2.819289)'))) / (select extract(epoch from '2026-06-26 07:03:13'::timestamp) - extract(epoch from '2026-06-26 07:02: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'), 46941, 'SRID=4674;POINT (-40.041992 -2.818984)', '2026-06-26 07:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041894 -2.819289)'), GeomFromEWKT('SRID=4674;POINT (-40.041992 -2.818984)'))) / (select extract(epoch from '2026-06-26 07:03:29'::timestamp) - extract(epoch from '2026-06-26 07:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041894 -2.819289)'), GeomFromEWKT('SRID=4674;POINT (-40.041992 -2.818984)'))) / (select extract(epoch from '2026-06-26 07:03:29'::timestamp) - extract(epoch from '2026-06-26 07:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04206 -2.818712)', '2026-06-26 07:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041992 -2.818984)'), GeomFromEWKT('SRID=4674;POINT (-40.04206 -2.818712)'))) / (select extract(epoch from '2026-06-26 07:03:43'::timestamp) - extract(epoch from '2026-06-26 07:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041992 -2.818984)'), GeomFromEWKT('SRID=4674;POINT (-40.04206 -2.818712)'))) / (select extract(epoch from '2026-06-26 07:03:43'::timestamp) - extract(epoch from '2026-06-26 07:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042131 -2.818407)', '2026-06-26 07:03:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04206 -2.818712)'), GeomFromEWKT('SRID=4674;POINT (-40.042131 -2.818407)'))) / (select extract(epoch from '2026-06-26 07:03:59'::timestamp) - extract(epoch from '2026-06-26 07:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04206 -2.818712)'), GeomFromEWKT('SRID=4674;POINT (-40.042131 -2.818407)'))) / (select extract(epoch from '2026-06-26 07:03:59'::timestamp) - extract(epoch from '2026-06-26 07:03: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'), 46941, 'SRID=4674;POINT (-40.042191 -2.818129)', '2026-06-26 07:04:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042131 -2.818407)'), GeomFromEWKT('SRID=4674;POINT (-40.042191 -2.818129)'))) / (select extract(epoch from '2026-06-26 07:04:14'::timestamp) - extract(epoch from '2026-06-26 07:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042131 -2.818407)'), GeomFromEWKT('SRID=4674;POINT (-40.042191 -2.818129)'))) / (select extract(epoch from '2026-06-26 07:04:14'::timestamp) - extract(epoch from '2026-06-26 07:03: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'), 46941, 'SRID=4674;POINT (-40.042241 -2.817964)', '2026-06-26 07:04:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042191 -2.818129)'), GeomFromEWKT('SRID=4674;POINT (-40.042241 -2.817964)'))) / (select extract(epoch from '2026-06-26 07:04:24'::timestamp) - extract(epoch from '2026-06-26 07:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042191 -2.818129)'), GeomFromEWKT('SRID=4674;POINT (-40.042241 -2.817964)'))) / (select extract(epoch from '2026-06-26 07:04:24'::timestamp) - extract(epoch from '2026-06-26 07:04: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'), 46941, 'SRID=4674;POINT (-40.042302 -2.817757)', '2026-06-26 07:04:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042241 -2.817964)'), GeomFromEWKT('SRID=4674;POINT (-40.042302 -2.817757)'))) / (select extract(epoch from '2026-06-26 07:04:37'::timestamp) - extract(epoch from '2026-06-26 07:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042241 -2.817964)'), GeomFromEWKT('SRID=4674;POINT (-40.042302 -2.817757)'))) / (select extract(epoch from '2026-06-26 07:04:37'::timestamp) - extract(epoch from '2026-06-26 07:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042444 -2.817577)', '2026-06-26 07:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042302 -2.817757)'), GeomFromEWKT('SRID=4674;POINT (-40.042444 -2.817577)'))) / (select extract(epoch from '2026-06-26 07:04:52'::timestamp) - extract(epoch from '2026-06-26 07:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042302 -2.817757)'), GeomFromEWKT('SRID=4674;POINT (-40.042444 -2.817577)'))) / (select extract(epoch from '2026-06-26 07:04:52'::timestamp) - extract(epoch from '2026-06-26 07:04: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'), 46941, 'SRID=4674;POINT (-40.042556 -2.817383)', '2026-06-26 07:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042444 -2.817577)'), GeomFromEWKT('SRID=4674;POINT (-40.042556 -2.817383)'))) / (select extract(epoch from '2026-06-26 07:05:04'::timestamp) - extract(epoch from '2026-06-26 07:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042444 -2.817577)'), GeomFromEWKT('SRID=4674;POINT (-40.042556 -2.817383)'))) / (select extract(epoch from '2026-06-26 07:05:04'::timestamp) - extract(epoch from '2026-06-26 07:04: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'), 46941, 'SRID=4674;POINT (-40.042568 -2.817343)', '2026-06-26 07:05:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042556 -2.817383)'), GeomFromEWKT('SRID=4674;POINT (-40.042568 -2.817343)'))) / (select extract(epoch from '2026-06-26 07:05:06'::timestamp) - extract(epoch from '2026-06-26 07:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042556 -2.817383)'), GeomFromEWKT('SRID=4674;POINT (-40.042568 -2.817343)'))) / (select extract(epoch from '2026-06-26 07:05:06'::timestamp) - extract(epoch from '2026-06-26 07:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042585 -2.817287)', '2026-06-26 07:05:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042568 -2.817343)'), GeomFromEWKT('SRID=4674;POINT (-40.042585 -2.817287)'))) / (select extract(epoch from '2026-06-26 07:05:09'::timestamp) - extract(epoch from '2026-06-26 07:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042568 -2.817343)'), GeomFromEWKT('SRID=4674;POINT (-40.042585 -2.817287)'))) / (select extract(epoch from '2026-06-26 07:05:09'::timestamp) - extract(epoch from '2026-06-26 07:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042639 -2.817172)', '2026-06-26 07:05:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042585 -2.817287)'), GeomFromEWKT('SRID=4674;POINT (-40.042639 -2.817172)'))) / (select extract(epoch from '2026-06-26 07:05:16'::timestamp) - extract(epoch from '2026-06-26 07:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042585 -2.817287)'), GeomFromEWKT('SRID=4674;POINT (-40.042639 -2.817172)'))) / (select extract(epoch from '2026-06-26 07:05:16'::timestamp) - extract(epoch from '2026-06-26 07:05:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042755 -2.81706)', '2026-06-26 07:05:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042639 -2.817172)'), GeomFromEWKT('SRID=4674;POINT (-40.042755 -2.81706)'))) / (select extract(epoch from '2026-06-26 07:05:26'::timestamp) - extract(epoch from '2026-06-26 07:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042639 -2.817172)'), GeomFromEWKT('SRID=4674;POINT (-40.042755 -2.81706)'))) / (select extract(epoch from '2026-06-26 07:05:26'::timestamp) - extract(epoch from '2026-06-26 07:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.042851 -2.816978)', '2026-06-26 07:05:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042755 -2.81706)'), GeomFromEWKT('SRID=4674;POINT (-40.042851 -2.816978)'))) / (select extract(epoch from '2026-06-26 07:05:34'::timestamp) - extract(epoch from '2026-06-26 07:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042755 -2.81706)'), GeomFromEWKT('SRID=4674;POINT (-40.042851 -2.816978)'))) / (select extract(epoch from '2026-06-26 07:05:34'::timestamp) - extract(epoch from '2026-06-26 07:05: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'), 46941, 'SRID=4674;POINT (-40.042989 -2.816811)', '2026-06-26 07:05:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042851 -2.816978)'), GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.816811)'))) / (select extract(epoch from '2026-06-26 07:05:46'::timestamp) - extract(epoch from '2026-06-26 07:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042851 -2.816978)'), GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.816811)'))) / (select extract(epoch from '2026-06-26 07:05:46'::timestamp) - extract(epoch from '2026-06-26 07:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043038 -2.816663)', '2026-06-26 07:05:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.816811)'), GeomFromEWKT('SRID=4674;POINT (-40.043038 -2.816663)'))) / (select extract(epoch from '2026-06-26 07:05:54'::timestamp) - extract(epoch from '2026-06-26 07:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.816811)'), GeomFromEWKT('SRID=4674;POINT (-40.043038 -2.816663)'))) / (select extract(epoch from '2026-06-26 07:05:54'::timestamp) - extract(epoch from '2026-06-26 07:05: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'), 46941, 'SRID=4674;POINT (-40.043138 -2.816345)', '2026-06-26 07:06:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043038 -2.816663)'), GeomFromEWKT('SRID=4674;POINT (-40.043138 -2.816345)'))) / (select extract(epoch from '2026-06-26 07:06:10'::timestamp) - extract(epoch from '2026-06-26 07:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043038 -2.816663)'), GeomFromEWKT('SRID=4674;POINT (-40.043138 -2.816345)'))) / (select extract(epoch from '2026-06-26 07:06:10'::timestamp) - extract(epoch from '2026-06-26 07:05:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043263 -2.816083)', '2026-06-26 07:06:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043138 -2.816345)'), GeomFromEWKT('SRID=4674;POINT (-40.043263 -2.816083)'))) / (select extract(epoch from '2026-06-26 07:06:24'::timestamp) - extract(epoch from '2026-06-26 07:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043138 -2.816345)'), GeomFromEWKT('SRID=4674;POINT (-40.043263 -2.816083)'))) / (select extract(epoch from '2026-06-26 07:06:24'::timestamp) - extract(epoch from '2026-06-26 07:06: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'), 46941, 'SRID=4674;POINT (-40.043369 -2.815837)', '2026-06-26 07:06:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043263 -2.816083)'), GeomFromEWKT('SRID=4674;POINT (-40.043369 -2.815837)'))) / (select extract(epoch from '2026-06-26 07:06:37'::timestamp) - extract(epoch from '2026-06-26 07:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043263 -2.816083)'), GeomFromEWKT('SRID=4674;POINT (-40.043369 -2.815837)'))) / (select extract(epoch from '2026-06-26 07:06:37'::timestamp) - extract(epoch from '2026-06-26 07:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043431 -2.815555)', '2026-06-26 07:06:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043369 -2.815837)'), GeomFromEWKT('SRID=4674;POINT (-40.043431 -2.815555)'))) / (select extract(epoch from '2026-06-26 07:06:51'::timestamp) - extract(epoch from '2026-06-26 07:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043369 -2.815837)'), GeomFromEWKT('SRID=4674;POINT (-40.043431 -2.815555)'))) / (select extract(epoch from '2026-06-26 07:06:51'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.043482 -2.815313)', '2026-06-26 07:07:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043431 -2.815555)'), GeomFromEWKT('SRID=4674;POINT (-40.043482 -2.815313)'))) / (select extract(epoch from '2026-06-26 07:07:03'::timestamp) - extract(epoch from '2026-06-26 07:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043431 -2.815555)'), GeomFromEWKT('SRID=4674;POINT (-40.043482 -2.815313)'))) / (select extract(epoch from '2026-06-26 07:07:03'::timestamp) - extract(epoch from '2026-06-26 07:06: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'), 46941, 'SRID=4674;POINT (-40.043543 -2.815074)', '2026-06-26 07:07:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043482 -2.815313)'), GeomFromEWKT('SRID=4674;POINT (-40.043543 -2.815074)'))) / (select extract(epoch from '2026-06-26 07:07:15'::timestamp) - extract(epoch from '2026-06-26 07:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043482 -2.815313)'), GeomFromEWKT('SRID=4674;POINT (-40.043543 -2.815074)'))) / (select extract(epoch from '2026-06-26 07:07:15'::timestamp) - extract(epoch from '2026-06-26 07:07: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'), 46941, 'SRID=4674;POINT (-40.04363 -2.814845)', '2026-06-26 07:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043543 -2.815074)'), GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.814845)'))) / (select extract(epoch from '2026-06-26 07:07:27'::timestamp) - extract(epoch from '2026-06-26 07:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043543 -2.815074)'), GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.814845)'))) / (select extract(epoch from '2026-06-26 07:07:27'::timestamp) - extract(epoch from '2026-06-26 07:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043677 -2.814645)', '2026-06-26 07:07:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.814845)'), GeomFromEWKT('SRID=4674;POINT (-40.043677 -2.814645)'))) / (select extract(epoch from '2026-06-26 07:07:37'::timestamp) - extract(epoch from '2026-06-26 07:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.814845)'), GeomFromEWKT('SRID=4674;POINT (-40.043677 -2.814645)'))) / (select extract(epoch from '2026-06-26 07:07:37'::timestamp) - extract(epoch from '2026-06-26 07:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04376 -2.814349)', '2026-06-26 07:07:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043677 -2.814645)'), GeomFromEWKT('SRID=4674;POINT (-40.04376 -2.814349)'))) / (select extract(epoch from '2026-06-26 07:07:52'::timestamp) - extract(epoch from '2026-06-26 07:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043677 -2.814645)'), GeomFromEWKT('SRID=4674;POINT (-40.04376 -2.814349)'))) / (select extract(epoch from '2026-06-26 07:07:52'::timestamp) - extract(epoch from '2026-06-26 07:07: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'), 46941, 'SRID=4674;POINT (-40.04384 -2.814135)', '2026-06-26 07:08:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04376 -2.814349)'), GeomFromEWKT('SRID=4674;POINT (-40.04384 -2.814135)'))) / (select extract(epoch from '2026-06-26 07:08:03'::timestamp) - extract(epoch from '2026-06-26 07:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04376 -2.814349)'), GeomFromEWKT('SRID=4674;POINT (-40.04384 -2.814135)'))) / (select extract(epoch from '2026-06-26 07:08:03'::timestamp) - extract(epoch from '2026-06-26 07:07:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043938 -2.813912)', '2026-06-26 07:08:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04384 -2.814135)'), GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.813912)'))) / (select extract(epoch from '2026-06-26 07:08:15'::timestamp) - extract(epoch from '2026-06-26 07:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04384 -2.814135)'), GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.813912)'))) / (select extract(epoch from '2026-06-26 07:08:15'::timestamp) - extract(epoch from '2026-06-26 07:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04404 -2.813762)', '2026-06-26 07:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.813912)'), GeomFromEWKT('SRID=4674;POINT (-40.04404 -2.813762)'))) / (select extract(epoch from '2026-06-26 07:08:24'::timestamp) - extract(epoch from '2026-06-26 07:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.813912)'), GeomFromEWKT('SRID=4674;POINT (-40.04404 -2.813762)'))) / (select extract(epoch from '2026-06-26 07:08:24'::timestamp) - extract(epoch from '2026-06-26 07:08: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'), 46941, 'SRID=4674;POINT (-40.044142 -2.813547)', '2026-06-26 07:08:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04404 -2.813762)'), GeomFromEWKT('SRID=4674;POINT (-40.044142 -2.813547)'))) / (select extract(epoch from '2026-06-26 07:08:36'::timestamp) - extract(epoch from '2026-06-26 07:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04404 -2.813762)'), GeomFromEWKT('SRID=4674;POINT (-40.044142 -2.813547)'))) / (select extract(epoch from '2026-06-26 07:08:36'::timestamp) - extract(epoch from '2026-06-26 07:08: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'), 46941, 'SRID=4674;POINT (-40.04424 -2.813364)', '2026-06-26 07:08:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044142 -2.813547)'), GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.813364)'))) / (select extract(epoch from '2026-06-26 07:08:46'::timestamp) - extract(epoch from '2026-06-26 07:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044142 -2.813547)'), GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.813364)'))) / (select extract(epoch from '2026-06-26 07:08:46'::timestamp) - extract(epoch from '2026-06-26 07:08: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'), 46941, 'SRID=4674;POINT (-40.044362 -2.813154)', '2026-06-26 07:08:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.813364)'), GeomFromEWKT('SRID=4674;POINT (-40.044362 -2.813154)'))) / (select extract(epoch from '2026-06-26 07:08:58'::timestamp) - extract(epoch from '2026-06-26 07:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.813364)'), GeomFromEWKT('SRID=4674;POINT (-40.044362 -2.813154)'))) / (select extract(epoch from '2026-06-26 07:08:58'::timestamp) - extract(epoch from '2026-06-26 07:08: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'), 46941, 'SRID=4674;POINT (-40.044512 -2.812915)', '2026-06-26 07:09:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044362 -2.813154)'), GeomFromEWKT('SRID=4674;POINT (-40.044512 -2.812915)'))) / (select extract(epoch from '2026-06-26 07:09:12'::timestamp) - extract(epoch from '2026-06-26 07:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044362 -2.813154)'), GeomFromEWKT('SRID=4674;POINT (-40.044512 -2.812915)'))) / (select extract(epoch from '2026-06-26 07:09:12'::timestamp) - extract(epoch from '2026-06-26 07:08: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'), 46941, 'SRID=4674;POINT (-40.044695 -2.8127)', '2026-06-26 07:09:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044512 -2.812915)'), GeomFromEWKT('SRID=4674;POINT (-40.044695 -2.8127)'))) / (select extract(epoch from '2026-06-26 07:09:26'::timestamp) - extract(epoch from '2026-06-26 07:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044512 -2.812915)'), GeomFromEWKT('SRID=4674;POINT (-40.044695 -2.8127)'))) / (select extract(epoch from '2026-06-26 07:09:26'::timestamp) - extract(epoch from '2026-06-26 07:09:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.044811 -2.812581)', '2026-06-26 07:09:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044695 -2.8127)'), GeomFromEWKT('SRID=4674;POINT (-40.044811 -2.812581)'))) / (select extract(epoch from '2026-06-26 07:09:34'::timestamp) - extract(epoch from '2026-06-26 07:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044695 -2.8127)'), GeomFromEWKT('SRID=4674;POINT (-40.044811 -2.812581)'))) / (select extract(epoch from '2026-06-26 07:09:34'::timestamp) - extract(epoch from '2026-06-26 07:09: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'), 46941, 'SRID=4674;POINT (-40.044943 -2.812429)', '2026-06-26 07:09:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044811 -2.812581)'), GeomFromEWKT('SRID=4674;POINT (-40.044943 -2.812429)'))) / (select extract(epoch from '2026-06-26 07:09:44'::timestamp) - extract(epoch from '2026-06-26 07:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044811 -2.812581)'), GeomFromEWKT('SRID=4674;POINT (-40.044943 -2.812429)'))) / (select extract(epoch from '2026-06-26 07:09:44'::timestamp) - extract(epoch from '2026-06-26 07:09: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'), 46941, 'SRID=4674;POINT (-40.04504 -2.812258)', '2026-06-26 07:09:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044943 -2.812429)'), GeomFromEWKT('SRID=4674;POINT (-40.04504 -2.812258)'))) / (select extract(epoch from '2026-06-26 07:09:54'::timestamp) - extract(epoch from '2026-06-26 07:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044943 -2.812429)'), GeomFromEWKT('SRID=4674;POINT (-40.04504 -2.812258)'))) / (select extract(epoch from '2026-06-26 07:09:54'::timestamp) - extract(epoch from '2026-06-26 07:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.045184 -2.812018)', '2026-06-26 07:10:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04504 -2.812258)'), GeomFromEWKT('SRID=4674;POINT (-40.045184 -2.812018)'))) / (select extract(epoch from '2026-06-26 07:10:08'::timestamp) - extract(epoch from '2026-06-26 07:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04504 -2.812258)'), GeomFromEWKT('SRID=4674;POINT (-40.045184 -2.812018)'))) / (select extract(epoch from '2026-06-26 07:10:08'::timestamp) - extract(epoch from '2026-06-26 07:09: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'), 46941, 'SRID=4674;POINT (-40.045309 -2.811814)', '2026-06-26 07:10:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045184 -2.812018)'), GeomFromEWKT('SRID=4674;POINT (-40.045309 -2.811814)'))) / (select extract(epoch from '2026-06-26 07:10:20'::timestamp) - extract(epoch from '2026-06-26 07:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045184 -2.812018)'), GeomFromEWKT('SRID=4674;POINT (-40.045309 -2.811814)'))) / (select extract(epoch from '2026-06-26 07:10:20'::timestamp) - extract(epoch from '2026-06-26 07:10: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'), 46941, 'SRID=4674;POINT (-40.045396 -2.811659)', '2026-06-26 07:10:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045309 -2.811814)'), GeomFromEWKT('SRID=4674;POINT (-40.045396 -2.811659)'))) / (select extract(epoch from '2026-06-26 07:10:29'::timestamp) - extract(epoch from '2026-06-26 07:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045309 -2.811814)'), GeomFromEWKT('SRID=4674;POINT (-40.045396 -2.811659)'))) / (select extract(epoch from '2026-06-26 07:10:29'::timestamp) - extract(epoch from '2026-06-26 07:10: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'), 46941, 'SRID=4674;POINT (-40.045498 -2.811486)', '2026-06-26 07:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045396 -2.811659)'), GeomFromEWKT('SRID=4674;POINT (-40.045498 -2.811486)'))) / (select extract(epoch from '2026-06-26 07:10:39'::timestamp) - extract(epoch from '2026-06-26 07:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045396 -2.811659)'), GeomFromEWKT('SRID=4674;POINT (-40.045498 -2.811486)'))) / (select extract(epoch from '2026-06-26 07:10:39'::timestamp) - extract(epoch from '2026-06-26 07:10: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'), 46941, 'SRID=4674;POINT (-40.045631 -2.811215)', '2026-06-26 07:10:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045498 -2.811486)'), GeomFromEWKT('SRID=4674;POINT (-40.045631 -2.811215)'))) / (select extract(epoch from '2026-06-26 07:10:54'::timestamp) - extract(epoch from '2026-06-26 07:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045498 -2.811486)'), GeomFromEWKT('SRID=4674;POINT (-40.045631 -2.811215)'))) / (select extract(epoch from '2026-06-26 07:10:54'::timestamp) - extract(epoch from '2026-06-26 07:10: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'), 46941, 'SRID=4674;POINT (-40.045723 -2.81108)', '2026-06-26 07:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045631 -2.811215)'), GeomFromEWKT('SRID=4674;POINT (-40.045723 -2.81108)'))) / (select extract(epoch from '2026-06-26 07:11:02'::timestamp) - extract(epoch from '2026-06-26 07:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045631 -2.811215)'), GeomFromEWKT('SRID=4674;POINT (-40.045723 -2.81108)'))) / (select extract(epoch from '2026-06-26 07:11:02'::timestamp) - extract(epoch from '2026-06-26 07:10: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'), 46941, 'SRID=4674;POINT (-40.045842 -2.810939)', '2026-06-26 07:11:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045723 -2.81108)'), GeomFromEWKT('SRID=4674;POINT (-40.045842 -2.810939)'))) / (select extract(epoch from '2026-06-26 07:11:11'::timestamp) - extract(epoch from '2026-06-26 07:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045723 -2.81108)'), GeomFromEWKT('SRID=4674;POINT (-40.045842 -2.810939)'))) / (select extract(epoch from '2026-06-26 07:11:11'::timestamp) - extract(epoch from '2026-06-26 07:11: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'), 46941, 'SRID=4674;POINT (-40.045947 -2.810817)', '2026-06-26 07:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045842 -2.810939)'), GeomFromEWKT('SRID=4674;POINT (-40.045947 -2.810817)'))) / (select extract(epoch from '2026-06-26 07:11:19'::timestamp) - extract(epoch from '2026-06-26 07:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045842 -2.810939)'), GeomFromEWKT('SRID=4674;POINT (-40.045947 -2.810817)'))) / (select extract(epoch from '2026-06-26 07:11:19'::timestamp) - extract(epoch from '2026-06-26 07:11: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'), 46941, 'SRID=4674;POINT (-40.046027 -2.810678)', '2026-06-26 07:11:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045947 -2.810817)'), GeomFromEWKT('SRID=4674;POINT (-40.046027 -2.810678)'))) / (select extract(epoch from '2026-06-26 07:11:27'::timestamp) - extract(epoch from '2026-06-26 07:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045947 -2.810817)'), GeomFromEWKT('SRID=4674;POINT (-40.046027 -2.810678)'))) / (select extract(epoch from '2026-06-26 07:11:27'::timestamp) - extract(epoch from '2026-06-26 07:11: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'), 46941, 'SRID=4674;POINT (-40.046172 -2.810453)', '2026-06-26 07:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046027 -2.810678)'), GeomFromEWKT('SRID=4674;POINT (-40.046172 -2.810453)'))) / (select extract(epoch from '2026-06-26 07:11:40'::timestamp) - extract(epoch from '2026-06-26 07:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046027 -2.810678)'), GeomFromEWKT('SRID=4674;POINT (-40.046172 -2.810453)'))) / (select extract(epoch from '2026-06-26 07:11:40'::timestamp) - extract(epoch from '2026-06-26 07:11: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'), 46941, 'SRID=4674;POINT (-40.046258 -2.810314)', '2026-06-26 07:11:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046172 -2.810453)'), GeomFromEWKT('SRID=4674;POINT (-40.046258 -2.810314)'))) / (select extract(epoch from '2026-06-26 07:11:48'::timestamp) - extract(epoch from '2026-06-26 07:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046172 -2.810453)'), GeomFromEWKT('SRID=4674;POINT (-40.046258 -2.810314)'))) / (select extract(epoch from '2026-06-26 07:11:48'::timestamp) - extract(epoch from '2026-06-26 07:11: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'), 46941, 'SRID=4674;POINT (-40.046343 -2.810177)', '2026-06-26 07:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046258 -2.810314)'), GeomFromEWKT('SRID=4674;POINT (-40.046343 -2.810177)'))) / (select extract(epoch from '2026-06-26 07:11:56'::timestamp) - extract(epoch from '2026-06-26 07:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046258 -2.810314)'), GeomFromEWKT('SRID=4674;POINT (-40.046343 -2.810177)'))) / (select extract(epoch from '2026-06-26 07:11:56'::timestamp) - extract(epoch from '2026-06-26 07:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04646 -2.81001)', '2026-06-26 07:12:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046343 -2.810177)'), GeomFromEWKT('SRID=4674;POINT (-40.04646 -2.81001)'))) / (select extract(epoch from '2026-06-26 07:12:06'::timestamp) - extract(epoch from '2026-06-26 07:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046343 -2.810177)'), GeomFromEWKT('SRID=4674;POINT (-40.04646 -2.81001)'))) / (select extract(epoch from '2026-06-26 07:12:06'::timestamp) - extract(epoch from '2026-06-26 07:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.046561 -2.809855)', '2026-06-26 07:12:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04646 -2.81001)'), GeomFromEWKT('SRID=4674;POINT (-40.046561 -2.809855)'))) / (select extract(epoch from '2026-06-26 07:12:15'::timestamp) - extract(epoch from '2026-06-26 07:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04646 -2.81001)'), GeomFromEWKT('SRID=4674;POINT (-40.046561 -2.809855)'))) / (select extract(epoch from '2026-06-26 07:12:15'::timestamp) - extract(epoch from '2026-06-26 07:12: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'), 46941, 'SRID=4674;POINT (-40.046684 -2.809693)', '2026-06-26 07:12:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046561 -2.809855)'), GeomFromEWKT('SRID=4674;POINT (-40.046684 -2.809693)'))) / (select extract(epoch from '2026-06-26 07:12:25'::timestamp) - extract(epoch from '2026-06-26 07:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046561 -2.809855)'), GeomFromEWKT('SRID=4674;POINT (-40.046684 -2.809693)'))) / (select extract(epoch from '2026-06-26 07:12:25'::timestamp) - extract(epoch from '2026-06-26 07:12: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'), 46941, 'SRID=4674;POINT (-40.046851 -2.809517)', '2026-06-26 07:12:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046684 -2.809693)'), GeomFromEWKT('SRID=4674;POINT (-40.046851 -2.809517)'))) / (select extract(epoch from '2026-06-26 07:12:37'::timestamp) - extract(epoch from '2026-06-26 07:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046684 -2.809693)'), GeomFromEWKT('SRID=4674;POINT (-40.046851 -2.809517)'))) / (select extract(epoch from '2026-06-26 07:12:37'::timestamp) - extract(epoch from '2026-06-26 07:12: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'), 46941, 'SRID=4674;POINT (-40.046991 -2.809361)', '2026-06-26 07:12:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046851 -2.809517)'), GeomFromEWKT('SRID=4674;POINT (-40.046991 -2.809361)'))) / (select extract(epoch from '2026-06-26 07:12:47'::timestamp) - extract(epoch from '2026-06-26 07:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046851 -2.809517)'), GeomFromEWKT('SRID=4674;POINT (-40.046991 -2.809361)'))) / (select extract(epoch from '2026-06-26 07:12:47'::timestamp) - extract(epoch from '2026-06-26 07:12: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'), 46941, 'SRID=4674;POINT (-40.047093 -2.809233)', '2026-06-26 07:12:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046991 -2.809361)'), GeomFromEWKT('SRID=4674;POINT (-40.047093 -2.809233)'))) / (select extract(epoch from '2026-06-26 07:12:55'::timestamp) - extract(epoch from '2026-06-26 07:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046991 -2.809361)'), GeomFromEWKT('SRID=4674;POINT (-40.047093 -2.809233)'))) / (select extract(epoch from '2026-06-26 07:12:55'::timestamp) - extract(epoch from '2026-06-26 07:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.047186 -2.809156)', '2026-06-26 07:13:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047093 -2.809233)'), GeomFromEWKT('SRID=4674;POINT (-40.047186 -2.809156)'))) / (select extract(epoch from '2026-06-26 07:13:01'::timestamp) - extract(epoch from '2026-06-26 07:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047093 -2.809233)'), GeomFromEWKT('SRID=4674;POINT (-40.047186 -2.809156)'))) / (select extract(epoch from '2026-06-26 07:13:01'::timestamp) - extract(epoch from '2026-06-26 07:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.047325 -2.809039)', '2026-06-26 07:13:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047186 -2.809156)'), GeomFromEWKT('SRID=4674;POINT (-40.047325 -2.809039)'))) / (select extract(epoch from '2026-06-26 07:13:10'::timestamp) - extract(epoch from '2026-06-26 07:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047186 -2.809156)'), GeomFromEWKT('SRID=4674;POINT (-40.047325 -2.809039)'))) / (select extract(epoch from '2026-06-26 07:13:10'::timestamp) - extract(epoch from '2026-06-26 07:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.047458 -2.808922)', '2026-06-26 07:13:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047325 -2.809039)'), GeomFromEWKT('SRID=4674;POINT (-40.047458 -2.808922)'))) / (select extract(epoch from '2026-06-26 07:13:19'::timestamp) - extract(epoch from '2026-06-26 07:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047325 -2.809039)'), GeomFromEWKT('SRID=4674;POINT (-40.047458 -2.808922)'))) / (select extract(epoch from '2026-06-26 07:13:19'::timestamp) - extract(epoch from '2026-06-26 07:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.047568 -2.808844)', '2026-06-26 07:13:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047458 -2.808922)'), GeomFromEWKT('SRID=4674;POINT (-40.047568 -2.808844)'))) / (select extract(epoch from '2026-06-26 07:13:27'::timestamp) - extract(epoch from '2026-06-26 07:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047458 -2.808922)'), GeomFromEWKT('SRID=4674;POINT (-40.047568 -2.808844)'))) / (select extract(epoch from '2026-06-26 07:13:27'::timestamp) - extract(epoch from '2026-06-26 07:13: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'), 46941, 'SRID=4674;POINT (-40.047675 -2.808789)', '2026-06-26 07:13:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047568 -2.808844)'), GeomFromEWKT('SRID=4674;POINT (-40.047675 -2.808789)'))) / (select extract(epoch from '2026-06-26 07:13:35'::timestamp) - extract(epoch from '2026-06-26 07:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047568 -2.808844)'), GeomFromEWKT('SRID=4674;POINT (-40.047675 -2.808789)'))) / (select extract(epoch from '2026-06-26 07:13:35'::timestamp) - extract(epoch from '2026-06-26 07:13: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'), 46941, 'SRID=4674;POINT (-40.047728 -2.808765)', '2026-06-26 07:13:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047675 -2.808789)'), GeomFromEWKT('SRID=4674;POINT (-40.047728 -2.808765)'))) / (select extract(epoch from '2026-06-26 07:13:39'::timestamp) - extract(epoch from '2026-06-26 07:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047675 -2.808789)'), GeomFromEWKT('SRID=4674;POINT (-40.047728 -2.808765)'))) / (select extract(epoch from '2026-06-26 07:13:39'::timestamp) - extract(epoch from '2026-06-26 07:13: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'), 46941, 'SRID=4674;POINT (-40.047765 -2.808749)', '2026-06-26 07:13:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047728 -2.808765)'), GeomFromEWKT('SRID=4674;POINT (-40.047765 -2.808749)'))) / (select extract(epoch from '2026-06-26 07:13:42'::timestamp) - extract(epoch from '2026-06-26 07:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047728 -2.808765)'), GeomFromEWKT('SRID=4674;POINT (-40.047765 -2.808749)'))) / (select extract(epoch from '2026-06-26 07:13:42'::timestamp) - extract(epoch from '2026-06-26 07:13: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'), 46941, 'SRID=4674;POINT (-40.047875 -2.808695)', '2026-06-26 07:13:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047765 -2.808749)'), GeomFromEWKT('SRID=4674;POINT (-40.047875 -2.808695)'))) / (select extract(epoch from '2026-06-26 07:13:52'::timestamp) - extract(epoch from '2026-06-26 07:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047765 -2.808749)'), GeomFromEWKT('SRID=4674;POINT (-40.047875 -2.808695)'))) / (select extract(epoch from '2026-06-26 07:13:52'::timestamp) - extract(epoch from '2026-06-26 07:13: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'), 46941, 'SRID=4674;POINT (-40.047966 -2.808646)', '2026-06-26 07:14:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047875 -2.808695)'), GeomFromEWKT('SRID=4674;POINT (-40.047966 -2.808646)'))) / (select extract(epoch from '2026-06-26 07:14:01'::timestamp) - extract(epoch from '2026-06-26 07:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047875 -2.808695)'), GeomFromEWKT('SRID=4674;POINT (-40.047966 -2.808646)'))) / (select extract(epoch from '2026-06-26 07:14:01'::timestamp) - extract(epoch from '2026-06-26 07:13: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'), 46941, 'SRID=4674;POINT (-40.048045 -2.808611)', '2026-06-26 07:14:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047966 -2.808646)'), GeomFromEWKT('SRID=4674;POINT (-40.048045 -2.808611)'))) / (select extract(epoch from '2026-06-26 07:14:08'::timestamp) - extract(epoch from '2026-06-26 07:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047966 -2.808646)'), GeomFromEWKT('SRID=4674;POINT (-40.048045 -2.808611)'))) / (select extract(epoch from '2026-06-26 07:14:08'::timestamp) - extract(epoch from '2026-06-26 07:14: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'), 46941, 'SRID=4674;POINT (-40.04815 -2.808577)', '2026-06-26 07:14:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048045 -2.808611)'), GeomFromEWKT('SRID=4674;POINT (-40.04815 -2.808577)'))) / (select extract(epoch from '2026-06-26 07:14:16'::timestamp) - extract(epoch from '2026-06-26 07:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048045 -2.808611)'), GeomFromEWKT('SRID=4674;POINT (-40.04815 -2.808577)'))) / (select extract(epoch from '2026-06-26 07:14:16'::timestamp) - extract(epoch from '2026-06-26 07:14: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'), 46941, 'SRID=4674;POINT (-40.048275 -2.808534)', '2026-06-26 07:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04815 -2.808577)'), GeomFromEWKT('SRID=4674;POINT (-40.048275 -2.808534)'))) / (select extract(epoch from '2026-06-26 07:14:25'::timestamp) - extract(epoch from '2026-06-26 07:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04815 -2.808577)'), GeomFromEWKT('SRID=4674;POINT (-40.048275 -2.808534)'))) / (select extract(epoch from '2026-06-26 07:14:25'::timestamp) - extract(epoch from '2026-06-26 07:14: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'), 46941, 'SRID=4674;POINT (-40.04839 -2.808481)', '2026-06-26 07:14:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048275 -2.808534)'), GeomFromEWKT('SRID=4674;POINT (-40.04839 -2.808481)'))) / (select extract(epoch from '2026-06-26 07:14:33'::timestamp) - extract(epoch from '2026-06-26 07:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048275 -2.808534)'), GeomFromEWKT('SRID=4674;POINT (-40.04839 -2.808481)'))) / (select extract(epoch from '2026-06-26 07:14:33'::timestamp) - extract(epoch from '2026-06-26 07:14: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'), 46941, 'SRID=4674;POINT (-40.048479 -2.808429)', '2026-06-26 07:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04839 -2.808481)'), GeomFromEWKT('SRID=4674;POINT (-40.048479 -2.808429)'))) / (select extract(epoch from '2026-06-26 07:14:39'::timestamp) - extract(epoch from '2026-06-26 07:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04839 -2.808481)'), GeomFromEWKT('SRID=4674;POINT (-40.048479 -2.808429)'))) / (select extract(epoch from '2026-06-26 07:14:39'::timestamp) - extract(epoch from '2026-06-26 07:14: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'), 46941, 'SRID=4674;POINT (-40.04857 -2.808371)', '2026-06-26 07:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048479 -2.808429)'), GeomFromEWKT('SRID=4674;POINT (-40.04857 -2.808371)'))) / (select extract(epoch from '2026-06-26 07:14:45'::timestamp) - extract(epoch from '2026-06-26 07:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048479 -2.808429)'), GeomFromEWKT('SRID=4674;POINT (-40.04857 -2.808371)'))) / (select extract(epoch from '2026-06-26 07:14:45'::timestamp) - extract(epoch from '2026-06-26 07:14: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'), 46941, 'SRID=4674;POINT (-40.048657 -2.808318)', '2026-06-26 07:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04857 -2.808371)'), GeomFromEWKT('SRID=4674;POINT (-40.048657 -2.808318)'))) / (select extract(epoch from '2026-06-26 07:14:51'::timestamp) - extract(epoch from '2026-06-26 07:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04857 -2.808371)'), GeomFromEWKT('SRID=4674;POINT (-40.048657 -2.808318)'))) / (select extract(epoch from '2026-06-26 07:14:51'::timestamp) - extract(epoch from '2026-06-26 07:14: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'), 46941, 'SRID=4674;POINT (-40.048732 -2.808274)', '2026-06-26 07:14:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048657 -2.808318)'), GeomFromEWKT('SRID=4674;POINT (-40.048732 -2.808274)'))) / (select extract(epoch from '2026-06-26 07:14:56'::timestamp) - extract(epoch from '2026-06-26 07:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048657 -2.808318)'), GeomFromEWKT('SRID=4674;POINT (-40.048732 -2.808274)'))) / (select extract(epoch from '2026-06-26 07:14:56'::timestamp) - extract(epoch from '2026-06-26 07:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.048852 -2.808162)', '2026-06-26 07:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048732 -2.808274)'), GeomFromEWKT('SRID=4674;POINT (-40.048852 -2.808162)'))) / (select extract(epoch from '2026-06-26 07:15:05'::timestamp) - extract(epoch from '2026-06-26 07:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048732 -2.808274)'), GeomFromEWKT('SRID=4674;POINT (-40.048852 -2.808162)'))) / (select extract(epoch from '2026-06-26 07:15:05'::timestamp) - extract(epoch from '2026-06-26 07:14: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'), 46941, 'SRID=4674;POINT (-40.048927 -2.808056)', '2026-06-26 07:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048852 -2.808162)'), GeomFromEWKT('SRID=4674;POINT (-40.048927 -2.808056)'))) / (select extract(epoch from '2026-06-26 07:15:12'::timestamp) - extract(epoch from '2026-06-26 07:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048852 -2.808162)'), GeomFromEWKT('SRID=4674;POINT (-40.048927 -2.808056)'))) / (select extract(epoch from '2026-06-26 07:15:12'::timestamp) - extract(epoch from '2026-06-26 07:15: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'), 46941, 'SRID=4674;POINT (-40.049023 -2.807912)', '2026-06-26 07:15:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048927 -2.808056)'), GeomFromEWKT('SRID=4674;POINT (-40.049023 -2.807912)'))) / (select extract(epoch from '2026-06-26 07:15:21'::timestamp) - extract(epoch from '2026-06-26 07:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048927 -2.808056)'), GeomFromEWKT('SRID=4674;POINT (-40.049023 -2.807912)'))) / (select extract(epoch from '2026-06-26 07:15:21'::timestamp) - extract(epoch from '2026-06-26 07:15: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'), 46941, 'SRID=4674;POINT (-40.049121 -2.807793)', '2026-06-26 07:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049023 -2.807912)'), GeomFromEWKT('SRID=4674;POINT (-40.049121 -2.807793)'))) / (select extract(epoch from '2026-06-26 07:15:29'::timestamp) - extract(epoch from '2026-06-26 07:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049023 -2.807912)'), GeomFromEWKT('SRID=4674;POINT (-40.049121 -2.807793)'))) / (select extract(epoch from '2026-06-26 07:15:29'::timestamp) - extract(epoch from '2026-06-26 07:15: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'), 46941, 'SRID=4674;POINT (-40.049192 -2.807705)', '2026-06-26 07:15:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049121 -2.807793)'), GeomFromEWKT('SRID=4674;POINT (-40.049192 -2.807705)'))) / (select extract(epoch from '2026-06-26 07:15:35'::timestamp) - extract(epoch from '2026-06-26 07:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049121 -2.807793)'), GeomFromEWKT('SRID=4674;POINT (-40.049192 -2.807705)'))) / (select extract(epoch from '2026-06-26 07:15:35'::timestamp) - extract(epoch from '2026-06-26 07:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049301 -2.807563)', '2026-06-26 07:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049192 -2.807705)'), GeomFromEWKT('SRID=4674;POINT (-40.049301 -2.807563)'))) / (select extract(epoch from '2026-06-26 07:15:45'::timestamp) - extract(epoch from '2026-06-26 07:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049192 -2.807705)'), GeomFromEWKT('SRID=4674;POINT (-40.049301 -2.807563)'))) / (select extract(epoch from '2026-06-26 07:15:45'::timestamp) - extract(epoch from '2026-06-26 07:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049388 -2.807489)', '2026-06-26 07:15:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049301 -2.807563)'), GeomFromEWKT('SRID=4674;POINT (-40.049388 -2.807489)'))) / (select extract(epoch from '2026-06-26 07:15:51'::timestamp) - extract(epoch from '2026-06-26 07:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049301 -2.807563)'), GeomFromEWKT('SRID=4674;POINT (-40.049388 -2.807489)'))) / (select extract(epoch from '2026-06-26 07:15:51'::timestamp) - extract(epoch from '2026-06-26 07:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049512 -2.807369)', '2026-06-26 07:16:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049388 -2.807489)'), GeomFromEWKT('SRID=4674;POINT (-40.049512 -2.807369)'))) / (select extract(epoch from '2026-06-26 07:16:00'::timestamp) - extract(epoch from '2026-06-26 07:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049388 -2.807489)'), GeomFromEWKT('SRID=4674;POINT (-40.049512 -2.807369)'))) / (select extract(epoch from '2026-06-26 07:16:00'::timestamp) - extract(epoch from '2026-06-26 07:15: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'), 46941, 'SRID=4674;POINT (-40.049621 -2.807205)', '2026-06-26 07:16:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049512 -2.807369)'), GeomFromEWKT('SRID=4674;POINT (-40.049621 -2.807205)'))) / (select extract(epoch from '2026-06-26 07:16:10'::timestamp) - extract(epoch from '2026-06-26 07:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049512 -2.807369)'), GeomFromEWKT('SRID=4674;POINT (-40.049621 -2.807205)'))) / (select extract(epoch from '2026-06-26 07:16:10'::timestamp) - extract(epoch from '2026-06-26 07:16: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'), 46941, 'SRID=4674;POINT (-40.049718 -2.807076)', '2026-06-26 07:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049621 -2.807205)'), GeomFromEWKT('SRID=4674;POINT (-40.049718 -2.807076)'))) / (select extract(epoch from '2026-06-26 07:16:18'::timestamp) - extract(epoch from '2026-06-26 07:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049621 -2.807205)'), GeomFromEWKT('SRID=4674;POINT (-40.049718 -2.807076)'))) / (select extract(epoch from '2026-06-26 07:16:18'::timestamp) - extract(epoch from '2026-06-26 07:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049813 -2.806949)', '2026-06-26 07:16:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049718 -2.807076)'), GeomFromEWKT('SRID=4674;POINT (-40.049813 -2.806949)'))) / (select extract(epoch from '2026-06-26 07:16:26'::timestamp) - extract(epoch from '2026-06-26 07:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049718 -2.807076)'), GeomFromEWKT('SRID=4674;POINT (-40.049813 -2.806949)'))) / (select extract(epoch from '2026-06-26 07:16:26'::timestamp) - extract(epoch from '2026-06-26 07:16: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'), 46941, 'SRID=4674;POINT (-40.049882 -2.806792)', '2026-06-26 07:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049813 -2.806949)'), GeomFromEWKT('SRID=4674;POINT (-40.049882 -2.806792)'))) / (select extract(epoch from '2026-06-26 07:16:35'::timestamp) - extract(epoch from '2026-06-26 07:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049813 -2.806949)'), GeomFromEWKT('SRID=4674;POINT (-40.049882 -2.806792)'))) / (select extract(epoch from '2026-06-26 07:16:35'::timestamp) - extract(epoch from '2026-06-26 07:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049911 -2.806718)', '2026-06-26 07:16:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049882 -2.806792)'), GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.806718)'))) / (select extract(epoch from '2026-06-26 07:16:39'::timestamp) - extract(epoch from '2026-06-26 07:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049882 -2.806792)'), GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.806718)'))) / (select extract(epoch from '2026-06-26 07:16:39'::timestamp) - extract(epoch from '2026-06-26 07:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049923 -2.806681)', '2026-06-26 07:16:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.806718)'), GeomFromEWKT('SRID=4674;POINT (-40.049923 -2.806681)'))) / (select extract(epoch from '2026-06-26 07:16:41'::timestamp) - extract(epoch from '2026-06-26 07:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.806718)'), GeomFromEWKT('SRID=4674;POINT (-40.049923 -2.806681)'))) / (select extract(epoch from '2026-06-26 07:16:41'::timestamp) - extract(epoch from '2026-06-26 07:16: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'), 46941, 'SRID=4674;POINT (-40.049984 -2.806598)', '2026-06-26 07:16:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049923 -2.806681)'), GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.806598)'))) / (select extract(epoch from '2026-06-26 07:16:46'::timestamp) - extract(epoch from '2026-06-26 07:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049923 -2.806681)'), GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.806598)'))) / (select extract(epoch from '2026-06-26 07:16:46'::timestamp) - extract(epoch from '2026-06-26 07:16: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'), 46941, 'SRID=4674;POINT (-40.049991 -2.80658)', '2026-06-26 07:16:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.806598)'), GeomFromEWKT('SRID=4674;POINT (-40.049991 -2.80658)'))) / (select extract(epoch from '2026-06-26 07:16:47'::timestamp) - extract(epoch from '2026-06-26 07:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.806598)'), GeomFromEWKT('SRID=4674;POINT (-40.049991 -2.80658)'))) / (select extract(epoch from '2026-06-26 07:16:47'::timestamp) - extract(epoch from '2026-06-26 07:16: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'), 46941, 'SRID=4674;POINT (-40.05004 -2.806455)', '2026-06-26 07:16:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049991 -2.80658)'), GeomFromEWKT('SRID=4674;POINT (-40.05004 -2.806455)'))) / (select extract(epoch from '2026-06-26 07:16:54'::timestamp) - extract(epoch from '2026-06-26 07:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049991 -2.80658)'), GeomFromEWKT('SRID=4674;POINT (-40.05004 -2.806455)'))) / (select extract(epoch from '2026-06-26 07:16:54'::timestamp) - extract(epoch from '2026-06-26 07:16: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'), 46941, 'SRID=4674;POINT (-40.050085 -2.806375)', '2026-06-26 07:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05004 -2.806455)'), GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.806375)'))) / (select extract(epoch from '2026-06-26 07:16:59'::timestamp) - extract(epoch from '2026-06-26 07:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05004 -2.806455)'), GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.806375)'))) / (select extract(epoch from '2026-06-26 07:16:59'::timestamp) - extract(epoch from '2026-06-26 07:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050169 -2.806239)', '2026-06-26 07:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.806375)'), GeomFromEWKT('SRID=4674;POINT (-40.050169 -2.806239)'))) / (select extract(epoch from '2026-06-26 07:17:07'::timestamp) - extract(epoch from '2026-06-26 07:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.806375)'), GeomFromEWKT('SRID=4674;POINT (-40.050169 -2.806239)'))) / (select extract(epoch from '2026-06-26 07:17:07'::timestamp) - extract(epoch from '2026-06-26 07:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050269 -2.806047)', '2026-06-26 07:17:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050169 -2.806239)'), GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806047)'))) / (select extract(epoch from '2026-06-26 07:17:18'::timestamp) - extract(epoch from '2026-06-26 07:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050169 -2.806239)'), GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806047)'))) / (select extract(epoch from '2026-06-26 07:17:18'::timestamp) - extract(epoch from '2026-06-26 07:17: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'), 46941, 'SRID=4674;POINT (-40.05034 -2.805887)', '2026-06-26 07:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806047)'), GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.805887)'))) / (select extract(epoch from '2026-06-26 07:17:27'::timestamp) - extract(epoch from '2026-06-26 07:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806047)'), GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.805887)'))) / (select extract(epoch from '2026-06-26 07:17:27'::timestamp) - extract(epoch from '2026-06-26 07:17: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'), 46941, 'SRID=4674;POINT (-40.050449 -2.805698)', '2026-06-26 07:17:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.805887)'), GeomFromEWKT('SRID=4674;POINT (-40.050449 -2.805698)'))) / (select extract(epoch from '2026-06-26 07:17:38'::timestamp) - extract(epoch from '2026-06-26 07:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.805887)'), GeomFromEWKT('SRID=4674;POINT (-40.050449 -2.805698)'))) / (select extract(epoch from '2026-06-26 07:17:38'::timestamp) - extract(epoch from '2026-06-26 07:17: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'), 46941, 'SRID=4674;POINT (-40.050555 -2.80558)', '2026-06-26 07:17:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050449 -2.805698)'), GeomFromEWKT('SRID=4674;POINT (-40.050555 -2.80558)'))) / (select extract(epoch from '2026-06-26 07:17:46'::timestamp) - extract(epoch from '2026-06-26 07:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050449 -2.805698)'), GeomFromEWKT('SRID=4674;POINT (-40.050555 -2.80558)'))) / (select extract(epoch from '2026-06-26 07:17:46'::timestamp) - extract(epoch from '2026-06-26 07:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050558 -2.805476)', '2026-06-26 07:17:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050555 -2.80558)'), GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.805476)'))) / (select extract(epoch from '2026-06-26 07:17:53'::timestamp) - extract(epoch from '2026-06-26 07:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050555 -2.80558)'), GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.805476)'))) / (select extract(epoch from '2026-06-26 07:17:53'::timestamp) - extract(epoch from '2026-06-26 07:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050501 -2.805376)', '2026-06-26 07:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.805476)'), GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.805376)'))) / (select extract(epoch from '2026-06-26 07:18:03'::timestamp) - extract(epoch from '2026-06-26 07:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.805476)'), GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.805376)'))) / (select extract(epoch from '2026-06-26 07:18:03'::timestamp) - extract(epoch from '2026-06-26 07:17: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'), 46941, 'SRID=4674;POINT (-40.050497 -2.805272)', '2026-06-26 07:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.805376)'), GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.805272)'))) / (select extract(epoch from '2026-06-26 07:18:10'::timestamp) - extract(epoch from '2026-06-26 07:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.805376)'), GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.805272)'))) / (select extract(epoch from '2026-06-26 07:18:10'::timestamp) - extract(epoch from '2026-06-26 07:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050516 -2.805092)', '2026-06-26 07:18:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.805272)'), GeomFromEWKT('SRID=4674;POINT (-40.050516 -2.805092)'))) / (select extract(epoch from '2026-06-26 07:18:20'::timestamp) - extract(epoch from '2026-06-26 07:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.805272)'), GeomFromEWKT('SRID=4674;POINT (-40.050516 -2.805092)'))) / (select extract(epoch from '2026-06-26 07:18:20'::timestamp) - extract(epoch from '2026-06-26 07:18: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'), 46941, 'SRID=4674;POINT (-40.050577 -2.804909)', '2026-06-26 07:18:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050516 -2.805092)'), GeomFromEWKT('SRID=4674;POINT (-40.050577 -2.804909)'))) / (select extract(epoch from '2026-06-26 07:18:30'::timestamp) - extract(epoch from '2026-06-26 07:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050516 -2.805092)'), GeomFromEWKT('SRID=4674;POINT (-40.050577 -2.804909)'))) / (select extract(epoch from '2026-06-26 07:18:30'::timestamp) - extract(epoch from '2026-06-26 07:18: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'), 46941, 'SRID=4674;POINT (-40.050654 -2.804794)', '2026-06-26 07:18:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050577 -2.804909)'), GeomFromEWKT('SRID=4674;POINT (-40.050654 -2.804794)'))) / (select extract(epoch from '2026-06-26 07:18:37'::timestamp) - extract(epoch from '2026-06-26 07:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050577 -2.804909)'), GeomFromEWKT('SRID=4674;POINT (-40.050654 -2.804794)'))) / (select extract(epoch from '2026-06-26 07:18:37'::timestamp) - extract(epoch from '2026-06-26 07:18: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'), 46941, 'SRID=4674;POINT (-40.050781 -2.804642)', '2026-06-26 07:18:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050654 -2.804794)'), GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.804642)'))) / (select extract(epoch from '2026-06-26 07:18:47'::timestamp) - extract(epoch from '2026-06-26 07:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050654 -2.804794)'), GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.804642)'))) / (select extract(epoch from '2026-06-26 07:18:47'::timestamp) - extract(epoch from '2026-06-26 07:18: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'), 46941, 'SRID=4674;POINT (-40.050888 -2.804494)', '2026-06-26 07:18:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.804642)'), GeomFromEWKT('SRID=4674;POINT (-40.050888 -2.804494)'))) / (select extract(epoch from '2026-06-26 07:18:56'::timestamp) - extract(epoch from '2026-06-26 07:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.804642)'), GeomFromEWKT('SRID=4674;POINT (-40.050888 -2.804494)'))) / (select extract(epoch from '2026-06-26 07:18:56'::timestamp) - extract(epoch from '2026-06-26 07:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050979 -2.804316)', '2026-06-26 07:19:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050888 -2.804494)'), GeomFromEWKT('SRID=4674;POINT (-40.050979 -2.804316)'))) / (select extract(epoch from '2026-06-26 07:19:06'::timestamp) - extract(epoch from '2026-06-26 07:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050888 -2.804494)'), GeomFromEWKT('SRID=4674;POINT (-40.050979 -2.804316)'))) / (select extract(epoch from '2026-06-26 07:19:06'::timestamp) - extract(epoch from '2026-06-26 07:18: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'), 46941, 'SRID=4674;POINT (-40.051073 -2.804117)', '2026-06-26 07:19:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050979 -2.804316)'), GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.804117)'))) / (select extract(epoch from '2026-06-26 07:19:17'::timestamp) - extract(epoch from '2026-06-26 07:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050979 -2.804316)'), GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.804117)'))) / (select extract(epoch from '2026-06-26 07:19:17'::timestamp) - extract(epoch from '2026-06-26 07:19: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'), 46941, 'SRID=4674;POINT (-40.05115 -2.803934)', '2026-06-26 07:19:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.804117)'), GeomFromEWKT('SRID=4674;POINT (-40.05115 -2.803934)'))) / (select extract(epoch from '2026-06-26 07:19:27'::timestamp) - extract(epoch from '2026-06-26 07:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.804117)'), GeomFromEWKT('SRID=4674;POINT (-40.05115 -2.803934)'))) / (select extract(epoch from '2026-06-26 07:19:27'::timestamp) - extract(epoch from '2026-06-26 07:19: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'), 46941, 'SRID=4674;POINT (-40.051235 -2.803708)', '2026-06-26 07:19:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05115 -2.803934)'), GeomFromEWKT('SRID=4674;POINT (-40.051235 -2.803708)'))) / (select extract(epoch from '2026-06-26 07:19:39'::timestamp) - extract(epoch from '2026-06-26 07:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05115 -2.803934)'), GeomFromEWKT('SRID=4674;POINT (-40.051235 -2.803708)'))) / (select extract(epoch from '2026-06-26 07:19:39'::timestamp) - extract(epoch from '2026-06-26 07:19: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'), 46941, 'SRID=4674;POINT (-40.051346 -2.803601)', '2026-06-26 07:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051235 -2.803708)'), GeomFromEWKT('SRID=4674;POINT (-40.051346 -2.803601)'))) / (select extract(epoch from '2026-06-26 07:19:47'::timestamp) - extract(epoch from '2026-06-26 07:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051235 -2.803708)'), GeomFromEWKT('SRID=4674;POINT (-40.051346 -2.803601)'))) / (select extract(epoch from '2026-06-26 07:19:47'::timestamp) - extract(epoch from '2026-06-26 07:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051451 -2.803514)', '2026-06-26 07:19:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051346 -2.803601)'), GeomFromEWKT('SRID=4674;POINT (-40.051451 -2.803514)'))) / (select extract(epoch from '2026-06-26 07:19:54'::timestamp) - extract(epoch from '2026-06-26 07:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051346 -2.803601)'), GeomFromEWKT('SRID=4674;POINT (-40.051451 -2.803514)'))) / (select extract(epoch from '2026-06-26 07:19:54'::timestamp) - extract(epoch from '2026-06-26 07:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051538 -2.803382)', '2026-06-26 07:20:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051451 -2.803514)'), GeomFromEWKT('SRID=4674;POINT (-40.051538 -2.803382)'))) / (select extract(epoch from '2026-06-26 07:20:02'::timestamp) - extract(epoch from '2026-06-26 07:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051451 -2.803514)'), GeomFromEWKT('SRID=4674;POINT (-40.051538 -2.803382)'))) / (select extract(epoch from '2026-06-26 07:20:02'::timestamp) - extract(epoch from '2026-06-26 07:19: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'), 46941, 'SRID=4674;POINT (-40.051576 -2.803253)', '2026-06-26 07:20:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051538 -2.803382)'), GeomFromEWKT('SRID=4674;POINT (-40.051576 -2.803253)'))) / (select extract(epoch from '2026-06-26 07:20:09'::timestamp) - extract(epoch from '2026-06-26 07:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051538 -2.803382)'), GeomFromEWKT('SRID=4674;POINT (-40.051576 -2.803253)'))) / (select extract(epoch from '2026-06-26 07:20:09'::timestamp) - extract(epoch from '2026-06-26 07:20: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'), 46941, 'SRID=4674;POINT (-40.051643 -2.803049)', '2026-06-26 07:20:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051576 -2.803253)'), GeomFromEWKT('SRID=4674;POINT (-40.051643 -2.803049)'))) / (select extract(epoch from '2026-06-26 07:20:20'::timestamp) - extract(epoch from '2026-06-26 07:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051576 -2.803253)'), GeomFromEWKT('SRID=4674;POINT (-40.051643 -2.803049)'))) / (select extract(epoch from '2026-06-26 07:20:20'::timestamp) - extract(epoch from '2026-06-26 07:20: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'), 46941, 'SRID=4674;POINT (-40.051724 -2.802886)', '2026-06-26 07:20:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051643 -2.803049)'), GeomFromEWKT('SRID=4674;POINT (-40.051724 -2.802886)'))) / (select extract(epoch from '2026-06-26 07:20:29'::timestamp) - extract(epoch from '2026-06-26 07:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051643 -2.803049)'), GeomFromEWKT('SRID=4674;POINT (-40.051724 -2.802886)'))) / (select extract(epoch from '2026-06-26 07:20:29'::timestamp) - extract(epoch from '2026-06-26 07:20: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'), 46941, 'SRID=4674;POINT (-40.051782 -2.802719)', '2026-06-26 07:20:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051724 -2.802886)'), GeomFromEWKT('SRID=4674;POINT (-40.051782 -2.802719)'))) / (select extract(epoch from '2026-06-26 07:20:38'::timestamp) - extract(epoch from '2026-06-26 07:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051724 -2.802886)'), GeomFromEWKT('SRID=4674;POINT (-40.051782 -2.802719)'))) / (select extract(epoch from '2026-06-26 07:20:38'::timestamp) - extract(epoch from '2026-06-26 07:20: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'), 46941, 'SRID=4674;POINT (-40.051852 -2.802527)', '2026-06-26 07:20:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051782 -2.802719)'), GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.802527)'))) / (select extract(epoch from '2026-06-26 07:20:48'::timestamp) - extract(epoch from '2026-06-26 07:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051782 -2.802719)'), GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.802527)'))) / (select extract(epoch from '2026-06-26 07:20:48'::timestamp) - extract(epoch from '2026-06-26 07:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051886 -2.802361)', '2026-06-26 07:20:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.802527)'), GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.802361)'))) / (select extract(epoch from '2026-06-26 07:20:58'::timestamp) - extract(epoch from '2026-06-26 07:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.802527)'), GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.802361)'))) / (select extract(epoch from '2026-06-26 07:20:58'::timestamp) - extract(epoch from '2026-06-26 07:20: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'), 46941, 'SRID=4674;POINT (-40.051893 -2.802208)', '2026-06-26 07:21:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.802361)'), GeomFromEWKT('SRID=4674;POINT (-40.051893 -2.802208)'))) / (select extract(epoch from '2026-06-26 07:21:09'::timestamp) - extract(epoch from '2026-06-26 07:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.802361)'), GeomFromEWKT('SRID=4674;POINT (-40.051893 -2.802208)'))) / (select extract(epoch from '2026-06-26 07:21:09'::timestamp) - extract(epoch from '2026-06-26 07:20:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051904 -2.802103)', '2026-06-26 07:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051893 -2.802208)'), GeomFromEWKT('SRID=4674;POINT (-40.051904 -2.802103)'))) / (select extract(epoch from '2026-06-26 07:21:17'::timestamp) - extract(epoch from '2026-06-26 07:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051893 -2.802208)'), GeomFromEWKT('SRID=4674;POINT (-40.051904 -2.802103)'))) / (select extract(epoch from '2026-06-26 07:21:17'::timestamp) - extract(epoch from '2026-06-26 07:21: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'), 46941, 'SRID=4674;POINT (-40.051921 -2.801958)', '2026-06-26 07:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051904 -2.802103)'), GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.801958)'))) / (select extract(epoch from '2026-06-26 07:21:27'::timestamp) - extract(epoch from '2026-06-26 07:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051904 -2.802103)'), GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.801958)'))) / (select extract(epoch from '2026-06-26 07:21:27'::timestamp) - extract(epoch from '2026-06-26 07:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051898 -2.80181)', '2026-06-26 07:21:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.801958)'), GeomFromEWKT('SRID=4674;POINT (-40.051898 -2.80181)'))) / (select extract(epoch from '2026-06-26 07:21:37'::timestamp) - extract(epoch from '2026-06-26 07:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.801958)'), GeomFromEWKT('SRID=4674;POINT (-40.051898 -2.80181)'))) / (select extract(epoch from '2026-06-26 07:21:37'::timestamp) - extract(epoch from '2026-06-26 07:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051859 -2.801697)', '2026-06-26 07:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051898 -2.80181)'), GeomFromEWKT('SRID=4674;POINT (-40.051859 -2.801697)'))) / (select extract(epoch from '2026-06-26 07:21:46'::timestamp) - extract(epoch from '2026-06-26 07:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051898 -2.80181)'), GeomFromEWKT('SRID=4674;POINT (-40.051859 -2.801697)'))) / (select extract(epoch from '2026-06-26 07:21:46'::timestamp) - extract(epoch from '2026-06-26 07:21: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'), 46941, 'SRID=4674;POINT (-40.051836 -2.801556)', '2026-06-26 07:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051859 -2.801697)'), GeomFromEWKT('SRID=4674;POINT (-40.051836 -2.801556)'))) / (select extract(epoch from '2026-06-26 07:21:55'::timestamp) - extract(epoch from '2026-06-26 07:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051859 -2.801697)'), GeomFromEWKT('SRID=4674;POINT (-40.051836 -2.801556)'))) / (select extract(epoch from '2026-06-26 07:21:55'::timestamp) - extract(epoch from '2026-06-26 07:21: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'), 46941, 'SRID=4674;POINT (-40.051843 -2.801417)', '2026-06-26 07:22:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051836 -2.801556)'), GeomFromEWKT('SRID=4674;POINT (-40.051843 -2.801417)'))) / (select extract(epoch from '2026-06-26 07:22:05'::timestamp) - extract(epoch from '2026-06-26 07:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051836 -2.801556)'), GeomFromEWKT('SRID=4674;POINT (-40.051843 -2.801417)'))) / (select extract(epoch from '2026-06-26 07:22:05'::timestamp) - extract(epoch from '2026-06-26 07:21: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'), 46941, 'SRID=4674;POINT (-40.051839 -2.801333)', '2026-06-26 07:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051843 -2.801417)'), GeomFromEWKT('SRID=4674;POINT (-40.051839 -2.801333)'))) / (select extract(epoch from '2026-06-26 07:22:15'::timestamp) - extract(epoch from '2026-06-26 07:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051843 -2.801417)'), GeomFromEWKT('SRID=4674;POINT (-40.051839 -2.801333)'))) / (select extract(epoch from '2026-06-26 07:22:15'::timestamp) - extract(epoch from '2026-06-26 07:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051838 -2.801296)', '2026-06-26 07:22:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051839 -2.801333)'), GeomFromEWKT('SRID=4674;POINT (-40.051838 -2.801296)'))) / (select extract(epoch from '2026-06-26 07:22:27'::timestamp) - extract(epoch from '2026-06-26 07:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051839 -2.801333)'), GeomFromEWKT('SRID=4674;POINT (-40.051838 -2.801296)'))) / (select extract(epoch from '2026-06-26 07:22:27'::timestamp) - extract(epoch from '2026-06-26 07:22: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'), 46941, 'SRID=4674;POINT (-40.051871 -2.801299)', '2026-06-26 07:22:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051838 -2.801296)'), GeomFromEWKT('SRID=4674;POINT (-40.051871 -2.801299)'))) / (select extract(epoch from '2026-06-26 07:22:44'::timestamp) - extract(epoch from '2026-06-26 07:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051838 -2.801296)'), GeomFromEWKT('SRID=4674;POINT (-40.051871 -2.801299)'))) / (select extract(epoch from '2026-06-26 07:22:44'::timestamp) - extract(epoch from '2026-06-26 07:22: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'), 46941, 'SRID=4674;POINT (-40.0519 -2.801319)', '2026-06-26 07:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051871 -2.801299)'), GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.801319)'))) / (select extract(epoch from '2026-06-26 07:23:07'::timestamp) - extract(epoch from '2026-06-26 07:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051871 -2.801299)'), GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.801319)'))) / (select extract(epoch from '2026-06-26 07:23:07'::timestamp) - extract(epoch from '2026-06-26 07:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05194 -2.801289)', '2026-06-26 07:23:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.801319)'), GeomFromEWKT('SRID=4674;POINT (-40.05194 -2.801289)'))) / (select extract(epoch from '2026-06-26 07:23:47'::timestamp) - extract(epoch from '2026-06-26 07:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.801319)'), GeomFromEWKT('SRID=4674;POINT (-40.05194 -2.801289)'))) / (select extract(epoch from '2026-06-26 07:23:47'::timestamp) - extract(epoch from '2026-06-26 07:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05196 -2.801293)', '2026-06-26 07:23:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05194 -2.801289)'), GeomFromEWKT('SRID=4674;POINT (-40.05196 -2.801293)'))) / (select extract(epoch from '2026-06-26 07:23:59'::timestamp) - extract(epoch from '2026-06-26 07:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05194 -2.801289)'), GeomFromEWKT('SRID=4674;POINT (-40.05196 -2.801293)'))) / (select extract(epoch from '2026-06-26 07:23:59'::timestamp) - extract(epoch from '2026-06-26 07:23: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'), 46941, 'SRID=4674;POINT (-40.051978 -2.801311)', '2026-06-26 07:24:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05196 -2.801293)'), GeomFromEWKT('SRID=4674;POINT (-40.051978 -2.801311)'))) / (select extract(epoch from '2026-06-26 07:24:28'::timestamp) - extract(epoch from '2026-06-26 07:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05196 -2.801293)'), GeomFromEWKT('SRID=4674;POINT (-40.051978 -2.801311)'))) / (select extract(epoch from '2026-06-26 07:24:28'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051977 -2.801321)', '2026-06-26 07:25:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051978 -2.801311)'), GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.801321)'))) / (select extract(epoch from '2026-06-26 07:25:06'::timestamp) - extract(epoch from '2026-06-26 07:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051978 -2.801311)'), GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.801321)'))) / (select extract(epoch from '2026-06-26 07:25:06'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051963 -2.801305)', '2026-06-26 07:25:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.801321)'), GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.801305)'))) / (select extract(epoch from '2026-06-26 07:25:27'::timestamp) - extract(epoch from '2026-06-26 07:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.801321)'), GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.801305)'))) / (select extract(epoch from '2026-06-26 07:25:27'::timestamp) - extract(epoch from '2026-06-26 07:25: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'), 46941, 'SRID=4674;POINT (-40.051989 -2.801317)', '2026-06-26 07:25:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.801305)'), GeomFromEWKT('SRID=4674;POINT (-40.051989 -2.801317)'))) / (select extract(epoch from '2026-06-26 07:25:44'::timestamp) - extract(epoch from '2026-06-26 07:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.801305)'), GeomFromEWKT('SRID=4674;POINT (-40.051989 -2.801317)'))) / (select extract(epoch from '2026-06-26 07:25:44'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051989 -2.801313)', '2026-06-26 07:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051989 -2.801317)'), GeomFromEWKT('SRID=4674;POINT (-40.051989 -2.801313)'))) / (select extract(epoch from '2026-06-26 07:25:55'::timestamp) - extract(epoch from '2026-06-26 07:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051989 -2.801317)'), GeomFromEWKT('SRID=4674;POINT (-40.051989 -2.801313)'))) / (select extract(epoch from '2026-06-26 07:25:55'::timestamp) - extract(epoch from '2026-06-26 07:25: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'), 46941, 'SRID=4674;POINT (-40.051985 -2.801317)', '2026-06-26 07:26:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051989 -2.801313)'), GeomFromEWKT('SRID=4674;POINT (-40.051985 -2.801317)'))) / (select extract(epoch from '2026-06-26 07:26:02'::timestamp) - extract(epoch from '2026-06-26 07:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051989 -2.801313)'), GeomFromEWKT('SRID=4674;POINT (-40.051985 -2.801317)'))) / (select extract(epoch from '2026-06-26 07:26:02'::timestamp) - extract(epoch from '2026-06-26 07:25: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'), 46941, 'SRID=4674;POINT (-40.051981 -2.80134)', '2026-06-26 07:26:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051985 -2.801317)'), GeomFromEWKT('SRID=4674;POINT (-40.051981 -2.80134)'))) / (select extract(epoch from '2026-06-26 07:26:46'::timestamp) - extract(epoch from '2026-06-26 07:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051985 -2.801317)'), GeomFromEWKT('SRID=4674;POINT (-40.051981 -2.80134)'))) / (select extract(epoch from '2026-06-26 07:26:46'::timestamp) - extract(epoch from '2026-06-26 07:26: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'), 46941, 'SRID=4674;POINT (-40.05196 -2.801348)', '2026-06-26 07:26:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051981 -2.80134)'), GeomFromEWKT('SRID=4674;POINT (-40.05196 -2.801348)'))) / (select extract(epoch from '2026-06-26 07:26:52'::timestamp) - extract(epoch from '2026-06-26 07:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051981 -2.80134)'), GeomFromEWKT('SRID=4674;POINT (-40.05196 -2.801348)'))) / (select extract(epoch from '2026-06-26 07:26:52'::timestamp) - extract(epoch from '2026-06-26 07:26:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051918 -2.801357)', '2026-06-26 07:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05196 -2.801348)'), GeomFromEWKT('SRID=4674;POINT (-40.051918 -2.801357)'))) / (select extract(epoch from '2026-06-26 07:27:00'::timestamp) - extract(epoch from '2026-06-26 07:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05196 -2.801348)'), GeomFromEWKT('SRID=4674;POINT (-40.051918 -2.801357)'))) / (select extract(epoch from '2026-06-26 07:27:00'::timestamp) - extract(epoch from '2026-06-26 07:26: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'), 46941, 'SRID=4674;POINT (-40.051841 -2.801372)', '2026-06-26 07:27:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051918 -2.801357)'), GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.801372)'))) / (select extract(epoch from '2026-06-26 07:27:10'::timestamp) - extract(epoch from '2026-06-26 07:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051918 -2.801357)'), GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.801372)'))) / (select extract(epoch from '2026-06-26 07:27:10'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051796 -2.801424)', '2026-06-26 07:27:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.801372)'), GeomFromEWKT('SRID=4674;POINT (-40.051796 -2.801424)'))) / (select extract(epoch from '2026-06-26 07:27:19'::timestamp) - extract(epoch from '2026-06-26 07:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.801372)'), GeomFromEWKT('SRID=4674;POINT (-40.051796 -2.801424)'))) / (select extract(epoch from '2026-06-26 07:27:19'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051748 -2.801459)', '2026-06-26 07:27:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051796 -2.801424)'), GeomFromEWKT('SRID=4674;POINT (-40.051748 -2.801459)'))) / (select extract(epoch from '2026-06-26 07:27:28'::timestamp) - extract(epoch from '2026-06-26 07:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051796 -2.801424)'), GeomFromEWKT('SRID=4674;POINT (-40.051748 -2.801459)'))) / (select extract(epoch from '2026-06-26 07:27:28'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051676 -2.801442)', '2026-06-26 07:27:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051748 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.051676 -2.801442)'))) / (select extract(epoch from '2026-06-26 07:27:35'::timestamp) - extract(epoch from '2026-06-26 07:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051748 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.051676 -2.801442)'))) / (select extract(epoch from '2026-06-26 07:27:35'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051635 -2.80134)', '2026-06-26 07:27:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051676 -2.801442)'), GeomFromEWKT('SRID=4674;POINT (-40.051635 -2.80134)'))) / (select extract(epoch from '2026-06-26 07:27:43'::timestamp) - extract(epoch from '2026-06-26 07:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051676 -2.801442)'), GeomFromEWKT('SRID=4674;POINT (-40.051635 -2.80134)'))) / (select extract(epoch from '2026-06-26 07:27:43'::timestamp) - extract(epoch from '2026-06-26 07:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051645 -2.801154)', '2026-06-26 07:27:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051635 -2.80134)'), GeomFromEWKT('SRID=4674;POINT (-40.051645 -2.801154)'))) / (select extract(epoch from '2026-06-26 07:27:53'::timestamp) - extract(epoch from '2026-06-26 07:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051635 -2.80134)'), GeomFromEWKT('SRID=4674;POINT (-40.051645 -2.801154)'))) / (select extract(epoch from '2026-06-26 07:27:53'::timestamp) - extract(epoch from '2026-06-26 07:27: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'), 46941, 'SRID=4674;POINT (-40.051679 -2.800972)', '2026-06-26 07:28:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051645 -2.801154)'), GeomFromEWKT('SRID=4674;POINT (-40.051679 -2.800972)'))) / (select extract(epoch from '2026-06-26 07:28:02'::timestamp) - extract(epoch from '2026-06-26 07:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051645 -2.801154)'), GeomFromEWKT('SRID=4674;POINT (-40.051679 -2.800972)'))) / (select extract(epoch from '2026-06-26 07:28:02'::timestamp) - extract(epoch from '2026-06-26 07:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051729 -2.800819)', '2026-06-26 07:28:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051679 -2.800972)'), GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.800819)'))) / (select extract(epoch from '2026-06-26 07:28:10'::timestamp) - extract(epoch from '2026-06-26 07:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051679 -2.800972)'), GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.800819)'))) / (select extract(epoch from '2026-06-26 07:28:10'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051795 -2.80069)', '2026-06-26 07:28:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.051795 -2.80069)'))) / (select extract(epoch from '2026-06-26 07:28:17'::timestamp) - extract(epoch from '2026-06-26 07:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.051795 -2.80069)'))) / (select extract(epoch from '2026-06-26 07:28:17'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051846 -2.800538)', '2026-06-26 07:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051795 -2.80069)'), GeomFromEWKT('SRID=4674;POINT (-40.051846 -2.800538)'))) / (select extract(epoch from '2026-06-26 07:28:25'::timestamp) - extract(epoch from '2026-06-26 07:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051795 -2.80069)'), GeomFromEWKT('SRID=4674;POINT (-40.051846 -2.800538)'))) / (select extract(epoch from '2026-06-26 07:28:25'::timestamp) - extract(epoch from '2026-06-26 07:28:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051868 -2.800362)', '2026-06-26 07:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051846 -2.800538)'), GeomFromEWKT('SRID=4674;POINT (-40.051868 -2.800362)'))) / (select extract(epoch from '2026-06-26 07:28:34'::timestamp) - extract(epoch from '2026-06-26 07:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051846 -2.800538)'), GeomFromEWKT('SRID=4674;POINT (-40.051868 -2.800362)'))) / (select extract(epoch from '2026-06-26 07:28:34'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051879 -2.800225)', '2026-06-26 07:28:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051868 -2.800362)'), GeomFromEWKT('SRID=4674;POINT (-40.051879 -2.800225)'))) / (select extract(epoch from '2026-06-26 07:28:42'::timestamp) - extract(epoch from '2026-06-26 07:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051868 -2.800362)'), GeomFromEWKT('SRID=4674;POINT (-40.051879 -2.800225)'))) / (select extract(epoch from '2026-06-26 07:28:42'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051883 -2.800135)', '2026-06-26 07:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051879 -2.800225)'), GeomFromEWKT('SRID=4674;POINT (-40.051883 -2.800135)'))) / (select extract(epoch from '2026-06-26 07:28:49'::timestamp) - extract(epoch from '2026-06-26 07:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051879 -2.800225)'), GeomFromEWKT('SRID=4674;POINT (-40.051883 -2.800135)'))) / (select extract(epoch from '2026-06-26 07:28:49'::timestamp) - extract(epoch from '2026-06-26 07:28: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'), 46941, 'SRID=4674;POINT (-40.051872 -2.800088)', '2026-06-26 07:28:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051883 -2.800135)'), GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.800088)'))) / (select extract(epoch from '2026-06-26 07:28:55'::timestamp) - extract(epoch from '2026-06-26 07:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051883 -2.800135)'), GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.800088)'))) / (select extract(epoch from '2026-06-26 07:28:55'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.05189 -2.800021)', '2026-06-26 07:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.800088)'), GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.800021)'))) / (select extract(epoch from '2026-06-26 07:29:14'::timestamp) - extract(epoch from '2026-06-26 07:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.800088)'), GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.800021)'))) / (select extract(epoch from '2026-06-26 07:29:14'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051974 -2.799957)', '2026-06-26 07:29:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.800021)'), GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.799957)'))) / (select extract(epoch from '2026-06-26 07:29:43'::timestamp) - extract(epoch from '2026-06-26 07:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.800021)'), GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.799957)'))) / (select extract(epoch from '2026-06-26 07:29:43'::timestamp) - extract(epoch from '2026-06-26 07:29: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'), 46941, 'SRID=4674;POINT (-40.05199 -2.799941)', '2026-06-26 07:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.799957)'), GeomFromEWKT('SRID=4674;POINT (-40.05199 -2.799941)'))) / (select extract(epoch from '2026-06-26 07:30:00'::timestamp) - extract(epoch from '2026-06-26 07:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.799957)'), GeomFromEWKT('SRID=4674;POINT (-40.05199 -2.799941)'))) / (select extract(epoch from '2026-06-26 07:30:00'::timestamp) - extract(epoch from '2026-06-26 07:29: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'), 46941, 'SRID=4674;POINT (-40.052022 -2.799959)', '2026-06-26 07:30:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05199 -2.799941)'), GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.799959)'))) / (select extract(epoch from '2026-06-26 07:30:21'::timestamp) - extract(epoch from '2026-06-26 07:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05199 -2.799941)'), GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.799959)'))) / (select extract(epoch from '2026-06-26 07:30:21'::timestamp) - extract(epoch from '2026-06-26 07:30: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'), 46941, 'SRID=4674;POINT (-40.052016 -2.799953)', '2026-06-26 07:30:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.799959)'), GeomFromEWKT('SRID=4674;POINT (-40.052016 -2.799953)'))) / (select extract(epoch from '2026-06-26 07:30:50'::timestamp) - extract(epoch from '2026-06-26 07:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.799959)'), GeomFromEWKT('SRID=4674;POINT (-40.052016 -2.799953)'))) / (select extract(epoch from '2026-06-26 07:30:50'::timestamp) - extract(epoch from '2026-06-26 07:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052045 -2.799937)', '2026-06-26 07:31:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052016 -2.799953)'), GeomFromEWKT('SRID=4674;POINT (-40.052045 -2.799937)'))) / (select extract(epoch from '2026-06-26 07:31:13'::timestamp) - extract(epoch from '2026-06-26 07:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052016 -2.799953)'), GeomFromEWKT('SRID=4674;POINT (-40.052045 -2.799937)'))) / (select extract(epoch from '2026-06-26 07:31:13'::timestamp) - extract(epoch from '2026-06-26 07:30: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'), 46941, 'SRID=4674;POINT (-40.052047 -2.799957)', '2026-06-26 07:31:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052045 -2.799937)'), GeomFromEWKT('SRID=4674;POINT (-40.052047 -2.799957)'))) / (select extract(epoch from '2026-06-26 07:31:23'::timestamp) - extract(epoch from '2026-06-26 07:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052045 -2.799937)'), GeomFromEWKT('SRID=4674;POINT (-40.052047 -2.799957)'))) / (select extract(epoch from '2026-06-26 07:31:23'::timestamp) - extract(epoch from '2026-06-26 07:31: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'), 46941, 'SRID=4674;POINT (-40.052052 -2.79996)', '2026-06-26 07:31:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052047 -2.799957)'), GeomFromEWKT('SRID=4674;POINT (-40.052052 -2.79996)'))) / (select extract(epoch from '2026-06-26 07:31:40'::timestamp) - extract(epoch from '2026-06-26 07:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052047 -2.799957)'), GeomFromEWKT('SRID=4674;POINT (-40.052052 -2.79996)'))) / (select extract(epoch from '2026-06-26 07:31:40'::timestamp) - extract(epoch from '2026-06-26 07:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052058 -2.799942)', '2026-06-26 07:31:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052052 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.052058 -2.799942)'))) / (select extract(epoch from '2026-06-26 07:31:55'::timestamp) - extract(epoch from '2026-06-26 07:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052052 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.052058 -2.799942)'))) / (select extract(epoch from '2026-06-26 07:31:55'::timestamp) - extract(epoch from '2026-06-26 07:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052022 -2.799962)', '2026-06-26 07:32:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052058 -2.799942)'), GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.799962)'))) / (select extract(epoch from '2026-06-26 07:32:06'::timestamp) - extract(epoch from '2026-06-26 07:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052058 -2.799942)'), GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.799962)'))) / (select extract(epoch from '2026-06-26 07:32:06'::timestamp) - extract(epoch from '2026-06-26 07:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051973 -2.799977)', '2026-06-26 07:32:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.799962)'), GeomFromEWKT('SRID=4674;POINT (-40.051973 -2.799977)'))) / (select extract(epoch from '2026-06-26 07:32:12'::timestamp) - extract(epoch from '2026-06-26 07:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.799962)'), GeomFromEWKT('SRID=4674;POINT (-40.051973 -2.799977)'))) / (select extract(epoch from '2026-06-26 07:32:12'::timestamp) - extract(epoch from '2026-06-26 07:32: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'), 46941, 'SRID=4674;POINT (-40.051963 -2.799973)', '2026-06-26 07:32:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051973 -2.799977)'), GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.799973)'))) / (select extract(epoch from '2026-06-26 07:32:13'::timestamp) - extract(epoch from '2026-06-26 07:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051973 -2.799977)'), GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.799973)'))) / (select extract(epoch from '2026-06-26 07:32:13'::timestamp) - extract(epoch from '2026-06-26 07:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051954 -2.799969)', '2026-06-26 07:32:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.799973)'), GeomFromEWKT('SRID=4674;POINT (-40.051954 -2.799969)'))) / (select extract(epoch from '2026-06-26 07:32:14'::timestamp) - extract(epoch from '2026-06-26 07:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.799973)'), GeomFromEWKT('SRID=4674;POINT (-40.051954 -2.799969)'))) / (select extract(epoch from '2026-06-26 07:32:14'::timestamp) - extract(epoch from '2026-06-26 07:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051901 -2.79998)', '2026-06-26 07:32:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051954 -2.799969)'), GeomFromEWKT('SRID=4674;POINT (-40.051901 -2.79998)'))) / (select extract(epoch from '2026-06-26 07:32:19'::timestamp) - extract(epoch from '2026-06-26 07:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051954 -2.799969)'), GeomFromEWKT('SRID=4674;POINT (-40.051901 -2.79998)'))) / (select extract(epoch from '2026-06-26 07:32:19'::timestamp) - extract(epoch from '2026-06-26 07:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051853 -2.800024)', '2026-06-26 07:32:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051901 -2.79998)'), GeomFromEWKT('SRID=4674;POINT (-40.051853 -2.800024)'))) / (select extract(epoch from '2026-06-26 07:32:25'::timestamp) - extract(epoch from '2026-06-26 07:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051901 -2.79998)'), GeomFromEWKT('SRID=4674;POINT (-40.051853 -2.800024)'))) / (select extract(epoch from '2026-06-26 07:32:25'::timestamp) - extract(epoch from '2026-06-26 07:32: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'), 46941, 'SRID=4674;POINT (-40.051849 -2.800033)', '2026-06-26 07:32:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051853 -2.800024)'), GeomFromEWKT('SRID=4674;POINT (-40.051849 -2.800033)'))) / (select extract(epoch from '2026-06-26 07:32:26'::timestamp) - extract(epoch from '2026-06-26 07:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051853 -2.800024)'), GeomFromEWKT('SRID=4674;POINT (-40.051849 -2.800033)'))) / (select extract(epoch from '2026-06-26 07:32:26'::timestamp) - extract(epoch from '2026-06-26 07:32: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'), 46941, 'SRID=4674;POINT (-40.051833 -2.800083)', '2026-06-26 07:32:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051849 -2.800033)'), GeomFromEWKT('SRID=4674;POINT (-40.051833 -2.800083)'))) / (select extract(epoch from '2026-06-26 07:32:32'::timestamp) - extract(epoch from '2026-06-26 07:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051849 -2.800033)'), GeomFromEWKT('SRID=4674;POINT (-40.051833 -2.800083)'))) / (select extract(epoch from '2026-06-26 07:32:32'::timestamp) - extract(epoch from '2026-06-26 07:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051832 -2.800092)', '2026-06-26 07:32:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051833 -2.800083)'), GeomFromEWKT('SRID=4674;POINT (-40.051832 -2.800092)'))) / (select extract(epoch from '2026-06-26 07:32:33'::timestamp) - extract(epoch from '2026-06-26 07:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051833 -2.800083)'), GeomFromEWKT('SRID=4674;POINT (-40.051832 -2.800092)'))) / (select extract(epoch from '2026-06-26 07:32:33'::timestamp) - extract(epoch from '2026-06-26 07:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051822 -2.800122)', '2026-06-26 07:32:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051832 -2.800092)'), GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.800122)'))) / (select extract(epoch from '2026-06-26 07:32:37'::timestamp) - extract(epoch from '2026-06-26 07:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051832 -2.800092)'), GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.800122)'))) / (select extract(epoch from '2026-06-26 07:32:37'::timestamp) - extract(epoch from '2026-06-26 07:32: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'), 46941, 'SRID=4674;POINT (-40.051823 -2.80014)', '2026-06-26 07:32:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.800122)'), GeomFromEWKT('SRID=4674;POINT (-40.051823 -2.80014)'))) / (select extract(epoch from '2026-06-26 07:32:39'::timestamp) - extract(epoch from '2026-06-26 07:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.800122)'), GeomFromEWKT('SRID=4674;POINT (-40.051823 -2.80014)'))) / (select extract(epoch from '2026-06-26 07:32:39'::timestamp) - extract(epoch from '2026-06-26 07:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051829 -2.800187)', '2026-06-26 07:32:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051823 -2.80014)'), GeomFromEWKT('SRID=4674;POINT (-40.051829 -2.800187)'))) / (select extract(epoch from '2026-06-26 07:32:43'::timestamp) - extract(epoch from '2026-06-26 07:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051823 -2.80014)'), GeomFromEWKT('SRID=4674;POINT (-40.051829 -2.800187)'))) / (select extract(epoch from '2026-06-26 07:32:43'::timestamp) - extract(epoch from '2026-06-26 07:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051841 -2.800211)', '2026-06-26 07:32:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051829 -2.800187)'), GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.800211)'))) / (select extract(epoch from '2026-06-26 07:32:45'::timestamp) - extract(epoch from '2026-06-26 07:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051829 -2.800187)'), GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.800211)'))) / (select extract(epoch from '2026-06-26 07:32:45'::timestamp) - extract(epoch from '2026-06-26 07:32: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'), 46941, 'SRID=4674;POINT (-40.051848 -2.800222)', '2026-06-26 07:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.800211)'), GeomFromEWKT('SRID=4674;POINT (-40.051848 -2.800222)'))) / (select extract(epoch from '2026-06-26 07:32:46'::timestamp) - extract(epoch from '2026-06-26 07:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.800211)'), GeomFromEWKT('SRID=4674;POINT (-40.051848 -2.800222)'))) / (select extract(epoch from '2026-06-26 07:32:46'::timestamp) - extract(epoch from '2026-06-26 07:32: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'), 46941, 'SRID=4674;POINT (-40.051883 -2.800265)', '2026-06-26 07:32:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051848 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.051883 -2.800265)'))) / (select extract(epoch from '2026-06-26 07:32:50'::timestamp) - extract(epoch from '2026-06-26 07:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051848 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.051883 -2.800265)'))) / (select extract(epoch from '2026-06-26 07:32:50'::timestamp) - extract(epoch from '2026-06-26 07:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051894 -2.800273)', '2026-06-26 07:32:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051883 -2.800265)'), GeomFromEWKT('SRID=4674;POINT (-40.051894 -2.800273)'))) / (select extract(epoch from '2026-06-26 07:32:51'::timestamp) - extract(epoch from '2026-06-26 07:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051883 -2.800265)'), GeomFromEWKT('SRID=4674;POINT (-40.051894 -2.800273)'))) / (select extract(epoch from '2026-06-26 07:32:51'::timestamp) - extract(epoch from '2026-06-26 07:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051931 -2.800296)', '2026-06-26 07:32:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051894 -2.800273)'), GeomFromEWKT('SRID=4674;POINT (-40.051931 -2.800296)'))) / (select extract(epoch from '2026-06-26 07:32:54'::timestamp) - extract(epoch from '2026-06-26 07:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051894 -2.800273)'), GeomFromEWKT('SRID=4674;POINT (-40.051931 -2.800296)'))) / (select extract(epoch from '2026-06-26 07:32:54'::timestamp) - extract(epoch from '2026-06-26 07:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051945 -2.800302)', '2026-06-26 07:32:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051931 -2.800296)'), GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.800302)'))) / (select extract(epoch from '2026-06-26 07:32:55'::timestamp) - extract(epoch from '2026-06-26 07:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051931 -2.800296)'), GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.800302)'))) / (select extract(epoch from '2026-06-26 07:32:55'::timestamp) - extract(epoch from '2026-06-26 07:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051958 -2.800308)', '2026-06-26 07:32:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.051958 -2.800308)'))) / (select extract(epoch from '2026-06-26 07:32:56'::timestamp) - extract(epoch from '2026-06-26 07:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.051958 -2.800308)'))) / (select extract(epoch from '2026-06-26 07:32:56'::timestamp) - extract(epoch from '2026-06-26 07:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052025 -2.800302)', '2026-06-26 07:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051958 -2.800308)'), GeomFromEWKT('SRID=4674;POINT (-40.052025 -2.800302)'))) / (select extract(epoch from '2026-06-26 07:33:00'::timestamp) - extract(epoch from '2026-06-26 07:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051958 -2.800308)'), GeomFromEWKT('SRID=4674;POINT (-40.052025 -2.800302)'))) / (select extract(epoch from '2026-06-26 07:33:00'::timestamp) - extract(epoch from '2026-06-26 07:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052098 -2.800229)', '2026-06-26 07:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052025 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.052098 -2.800229)'))) / (select extract(epoch from '2026-06-26 07:33:06'::timestamp) - extract(epoch from '2026-06-26 07:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052025 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.052098 -2.800229)'))) / (select extract(epoch from '2026-06-26 07:33:06'::timestamp) - extract(epoch from '2026-06-26 07:33: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'), 46941, 'SRID=4674;POINT (-40.05211 -2.800107)', '2026-06-26 07:33:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052098 -2.800229)'), GeomFromEWKT('SRID=4674;POINT (-40.05211 -2.800107)'))) / (select extract(epoch from '2026-06-26 07:33:13'::timestamp) - extract(epoch from '2026-06-26 07:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052098 -2.800229)'), GeomFromEWKT('SRID=4674;POINT (-40.05211 -2.800107)'))) / (select extract(epoch from '2026-06-26 07:33:13'::timestamp) - extract(epoch from '2026-06-26 07:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052057 -2.799984)', '2026-06-26 07:33:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05211 -2.800107)'), GeomFromEWKT('SRID=4674;POINT (-40.052057 -2.799984)'))) / (select extract(epoch from '2026-06-26 07:33:21'::timestamp) - extract(epoch from '2026-06-26 07:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05211 -2.800107)'), GeomFromEWKT('SRID=4674;POINT (-40.052057 -2.799984)'))) / (select extract(epoch from '2026-06-26 07:33:21'::timestamp) - extract(epoch from '2026-06-26 07:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05202 -2.79982)', '2026-06-26 07:33:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052057 -2.799984)'), GeomFromEWKT('SRID=4674;POINT (-40.05202 -2.79982)'))) / (select extract(epoch from '2026-06-26 07:33:30'::timestamp) - extract(epoch from '2026-06-26 07:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052057 -2.799984)'), GeomFromEWKT('SRID=4674;POINT (-40.05202 -2.79982)'))) / (select extract(epoch from '2026-06-26 07:33:30'::timestamp) - extract(epoch from '2026-06-26 07:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052014 -2.799664)', '2026-06-26 07:33:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05202 -2.79982)'), GeomFromEWKT('SRID=4674;POINT (-40.052014 -2.799664)'))) / (select extract(epoch from '2026-06-26 07:33:38'::timestamp) - extract(epoch from '2026-06-26 07:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05202 -2.79982)'), GeomFromEWKT('SRID=4674;POINT (-40.052014 -2.799664)'))) / (select extract(epoch from '2026-06-26 07:33:38'::timestamp) - extract(epoch from '2026-06-26 07:33: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'), 46941, 'SRID=4674;POINT (-40.052004 -2.799598)', '2026-06-26 07:33:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052014 -2.799664)'), GeomFromEWKT('SRID=4674;POINT (-40.052004 -2.799598)'))) / (select extract(epoch from '2026-06-26 07:33:42'::timestamp) - extract(epoch from '2026-06-26 07:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052014 -2.799664)'), GeomFromEWKT('SRID=4674;POINT (-40.052004 -2.799598)'))) / (select extract(epoch from '2026-06-26 07:33:42'::timestamp) - extract(epoch from '2026-06-26 07:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051993 -2.799589)', '2026-06-26 07:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052004 -2.799598)'), GeomFromEWKT('SRID=4674;POINT (-40.051993 -2.799589)'))) / (select extract(epoch from '2026-06-26 07:33:43'::timestamp) - extract(epoch from '2026-06-26 07:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052004 -2.799598)'), GeomFromEWKT('SRID=4674;POINT (-40.051993 -2.799589)'))) / (select extract(epoch from '2026-06-26 07:33:43'::timestamp) - extract(epoch from '2026-06-26 07:33: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'), 46941, 'SRID=4674;POINT (-40.051932 -2.799495)', '2026-06-26 07:33:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051993 -2.799589)'), GeomFromEWKT('SRID=4674;POINT (-40.051932 -2.799495)'))) / (select extract(epoch from '2026-06-26 07:33:50'::timestamp) - extract(epoch from '2026-06-26 07:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051993 -2.799589)'), GeomFromEWKT('SRID=4674;POINT (-40.051932 -2.799495)'))) / (select extract(epoch from '2026-06-26 07:33:50'::timestamp) - extract(epoch from '2026-06-26 07:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051908 -2.799326)', '2026-06-26 07:33:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051932 -2.799495)'), GeomFromEWKT('SRID=4674;POINT (-40.051908 -2.799326)'))) / (select extract(epoch from '2026-06-26 07:33:59'::timestamp) - extract(epoch from '2026-06-26 07:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051932 -2.799495)'), GeomFromEWKT('SRID=4674;POINT (-40.051908 -2.799326)'))) / (select extract(epoch from '2026-06-26 07:33:59'::timestamp) - extract(epoch from '2026-06-26 07:33: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'), 46941, 'SRID=4674;POINT (-40.051907 -2.799164)', '2026-06-26 07:34:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051908 -2.799326)'), GeomFromEWKT('SRID=4674;POINT (-40.051907 -2.799164)'))) / (select extract(epoch from '2026-06-26 07:34:07'::timestamp) - extract(epoch from '2026-06-26 07:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051908 -2.799326)'), GeomFromEWKT('SRID=4674;POINT (-40.051907 -2.799164)'))) / (select extract(epoch from '2026-06-26 07:34:07'::timestamp) - extract(epoch from '2026-06-26 07:33: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'), 46941, 'SRID=4674;POINT (-40.0519 -2.798981)', '2026-06-26 07:34:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051907 -2.799164)'), GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.798981)'))) / (select extract(epoch from '2026-06-26 07:34:16'::timestamp) - extract(epoch from '2026-06-26 07:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051907 -2.799164)'), GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.798981)'))) / (select extract(epoch from '2026-06-26 07:34:16'::timestamp) - extract(epoch from '2026-06-26 07:34: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'), 46941, 'SRID=4674;POINT (-40.051871 -2.798851)', '2026-06-26 07:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.798981)'), GeomFromEWKT('SRID=4674;POINT (-40.051871 -2.798851)'))) / (select extract(epoch from '2026-06-26 07:34:23'::timestamp) - extract(epoch from '2026-06-26 07:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.798981)'), GeomFromEWKT('SRID=4674;POINT (-40.051871 -2.798851)'))) / (select extract(epoch from '2026-06-26 07:34:23'::timestamp) - extract(epoch from '2026-06-26 07:34: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'), 46941, 'SRID=4674;POINT (-40.051872 -2.798705)', '2026-06-26 07:34:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051871 -2.798851)'), GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.798705)'))) / (select extract(epoch from '2026-06-26 07:34:31'::timestamp) - extract(epoch from '2026-06-26 07:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051871 -2.798851)'), GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.798705)'))) / (select extract(epoch from '2026-06-26 07:34:31'::timestamp) - extract(epoch from '2026-06-26 07:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051872 -2.798618)', '2026-06-26 07:34:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.798705)'), GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.798618)'))) / (select extract(epoch from '2026-06-26 07:34:37'::timestamp) - extract(epoch from '2026-06-26 07:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.798705)'), GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.798618)'))) / (select extract(epoch from '2026-06-26 07:34:37'::timestamp) - extract(epoch from '2026-06-26 07:34:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051875 -2.798555)', '2026-06-26 07:34:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.798618)'), GeomFromEWKT('SRID=4674;POINT (-40.051875 -2.798555)'))) / (select extract(epoch from '2026-06-26 07:34:42'::timestamp) - extract(epoch from '2026-06-26 07:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051872 -2.798618)'), GeomFromEWKT('SRID=4674;POINT (-40.051875 -2.798555)'))) / (select extract(epoch from '2026-06-26 07:34:42'::timestamp) - extract(epoch from '2026-06-26 07:34: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'), 46941, 'SRID=4674;POINT (-40.051881 -2.798494)', '2026-06-26 07:34:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051875 -2.798555)'), GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.798494)'))) / (select extract(epoch from '2026-06-26 07:34:53'::timestamp) - extract(epoch from '2026-06-26 07:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051875 -2.798555)'), GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.798494)'))) / (select extract(epoch from '2026-06-26 07:34:53'::timestamp) - extract(epoch from '2026-06-26 07:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051948 -2.798428)', '2026-06-26 07:35:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.798494)'), GeomFromEWKT('SRID=4674;POINT (-40.051948 -2.798428)'))) / (select extract(epoch from '2026-06-26 07:35:20'::timestamp) - extract(epoch from '2026-06-26 07:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.798494)'), GeomFromEWKT('SRID=4674;POINT (-40.051948 -2.798428)'))) / (select extract(epoch from '2026-06-26 07:35:20'::timestamp) - extract(epoch from '2026-06-26 07:34: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'), 46941, 'SRID=4674;POINT (-40.051974 -2.798424)', '2026-06-26 07:35:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051948 -2.798428)'), GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.798424)'))) / (select extract(epoch from '2026-06-26 07:35:38'::timestamp) - extract(epoch from '2026-06-26 07:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051948 -2.798428)'), GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.798424)'))) / (select extract(epoch from '2026-06-26 07:35:38'::timestamp) - extract(epoch from '2026-06-26 07:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05197 -2.79843)', '2026-06-26 07:35:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.798424)'), GeomFromEWKT('SRID=4674;POINT (-40.05197 -2.79843)'))) / (select extract(epoch from '2026-06-26 07:35:44'::timestamp) - extract(epoch from '2026-06-26 07:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.798424)'), GeomFromEWKT('SRID=4674;POINT (-40.05197 -2.79843)'))) / (select extract(epoch from '2026-06-26 07:35:44'::timestamp) - extract(epoch from '2026-06-26 07:35: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'), 46941, 'SRID=4674;POINT (-40.051958 -2.798438)', '2026-06-26 07:35:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05197 -2.79843)'), GeomFromEWKT('SRID=4674;POINT (-40.051958 -2.798438)'))) / (select extract(epoch from '2026-06-26 07:35:53'::timestamp) - extract(epoch from '2026-06-26 07:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05197 -2.79843)'), GeomFromEWKT('SRID=4674;POINT (-40.051958 -2.798438)'))) / (select extract(epoch from '2026-06-26 07:35:53'::timestamp) - extract(epoch from '2026-06-26 07:35: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'), 46941, 'SRID=4674;POINT (-40.051974 -2.79847)', '2026-06-26 07:35:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051958 -2.798438)'), GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.79847)'))) / (select extract(epoch from '2026-06-26 07:35:59'::timestamp) - extract(epoch from '2026-06-26 07:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051958 -2.798438)'), GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.79847)'))) / (select extract(epoch from '2026-06-26 07:35:59'::timestamp) - extract(epoch from '2026-06-26 07:35: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'), 46941, 'SRID=4674;POINT (-40.051977 -2.79847)', '2026-06-26 07:36:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.79847)'), GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.79847)'))) / (select extract(epoch from '2026-06-26 07:36:06'::timestamp) - extract(epoch from '2026-06-26 07:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051974 -2.79847)'), GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.79847)'))) / (select extract(epoch from '2026-06-26 07:36:06'::timestamp) - extract(epoch from '2026-06-26 07:35: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'), 46941, 'SRID=4674;POINT (-40.05197 -2.798476)', '2026-06-26 07:36:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.79847)'), GeomFromEWKT('SRID=4674;POINT (-40.05197 -2.798476)'))) / (select extract(epoch from '2026-06-26 07:36:16'::timestamp) - extract(epoch from '2026-06-26 07:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.79847)'), GeomFromEWKT('SRID=4674;POINT (-40.05197 -2.798476)'))) / (select extract(epoch from '2026-06-26 07:36:16'::timestamp) - extract(epoch from '2026-06-26 07:36: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'), 46941, 'SRID=4674;POINT (-40.051953 -2.798503)', '2026-06-26 07:36:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05197 -2.798476)'), GeomFromEWKT('SRID=4674;POINT (-40.051953 -2.798503)'))) / (select extract(epoch from '2026-06-26 07:36:24'::timestamp) - extract(epoch from '2026-06-26 07:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05197 -2.798476)'), GeomFromEWKT('SRID=4674;POINT (-40.051953 -2.798503)'))) / (select extract(epoch from '2026-06-26 07:36:24'::timestamp) - extract(epoch from '2026-06-26 07:36: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'), 46941, 'SRID=4674;POINT (-40.051911 -2.798542)', '2026-06-26 07:36:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051953 -2.798503)'), GeomFromEWKT('SRID=4674;POINT (-40.051911 -2.798542)'))) / (select extract(epoch from '2026-06-26 07:36:35'::timestamp) - extract(epoch from '2026-06-26 07:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051953 -2.798503)'), GeomFromEWKT('SRID=4674;POINT (-40.051911 -2.798542)'))) / (select extract(epoch from '2026-06-26 07:36:35'::timestamp) - extract(epoch from '2026-06-26 07:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051854 -2.798565)', '2026-06-26 07:36:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051911 -2.798542)'), GeomFromEWKT('SRID=4674;POINT (-40.051854 -2.798565)'))) / (select extract(epoch from '2026-06-26 07:36:45'::timestamp) - extract(epoch from '2026-06-26 07:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051911 -2.798542)'), GeomFromEWKT('SRID=4674;POINT (-40.051854 -2.798565)'))) / (select extract(epoch from '2026-06-26 07:36:45'::timestamp) - extract(epoch from '2026-06-26 07:36: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'), 46941, 'SRID=4674;POINT (-40.051822 -2.798567)', '2026-06-26 07:36:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051854 -2.798565)'), GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.798567)'))) / (select extract(epoch from '2026-06-26 07:36:49'::timestamp) - extract(epoch from '2026-06-26 07:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051854 -2.798565)'), GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.798567)'))) / (select extract(epoch from '2026-06-26 07:36:49'::timestamp) - extract(epoch from '2026-06-26 07:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05178 -2.798551)', '2026-06-26 07:36:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.798567)'), GeomFromEWKT('SRID=4674;POINT (-40.05178 -2.798551)'))) / (select extract(epoch from '2026-06-26 07:36:53'::timestamp) - extract(epoch from '2026-06-26 07:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.798567)'), GeomFromEWKT('SRID=4674;POINT (-40.05178 -2.798551)'))) / (select extract(epoch from '2026-06-26 07:36:53'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051733 -2.798491)', '2026-06-26 07:36:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05178 -2.798551)'), GeomFromEWKT('SRID=4674;POINT (-40.051733 -2.798491)'))) / (select extract(epoch from '2026-06-26 07:36:59'::timestamp) - extract(epoch from '2026-06-26 07:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05178 -2.798551)'), GeomFromEWKT('SRID=4674;POINT (-40.051733 -2.798491)'))) / (select extract(epoch from '2026-06-26 07:36:59'::timestamp) - extract(epoch from '2026-06-26 07:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051722 -2.798406)', '2026-06-26 07:37:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051733 -2.798491)'), GeomFromEWKT('SRID=4674;POINT (-40.051722 -2.798406)'))) / (select extract(epoch from '2026-06-26 07:37:06'::timestamp) - extract(epoch from '2026-06-26 07:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051733 -2.798491)'), GeomFromEWKT('SRID=4674;POINT (-40.051722 -2.798406)'))) / (select extract(epoch from '2026-06-26 07:37:06'::timestamp) - extract(epoch from '2026-06-26 07:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051744 -2.798306)', '2026-06-26 07:37:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051722 -2.798406)'), GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.798306)'))) / (select extract(epoch from '2026-06-26 07:37:14'::timestamp) - extract(epoch from '2026-06-26 07:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051722 -2.798406)'), GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.798306)'))) / (select extract(epoch from '2026-06-26 07:37:14'::timestamp) - extract(epoch from '2026-06-26 07:37: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'), 46941, 'SRID=4674;POINT (-40.051746 -2.79823)', '2026-06-26 07:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.798306)'), GeomFromEWKT('SRID=4674;POINT (-40.051746 -2.79823)'))) / (select extract(epoch from '2026-06-26 07:37:20'::timestamp) - extract(epoch from '2026-06-26 07:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.798306)'), GeomFromEWKT('SRID=4674;POINT (-40.051746 -2.79823)'))) / (select extract(epoch from '2026-06-26 07:37:20'::timestamp) - extract(epoch from '2026-06-26 07:37:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051758 -2.798099)', '2026-06-26 07:37:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051746 -2.79823)'), GeomFromEWKT('SRID=4674;POINT (-40.051758 -2.798099)'))) / (select extract(epoch from '2026-06-26 07:37:28'::timestamp) - extract(epoch from '2026-06-26 07:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051746 -2.79823)'), GeomFromEWKT('SRID=4674;POINT (-40.051758 -2.798099)'))) / (select extract(epoch from '2026-06-26 07:37:28'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051776 -2.79794)', '2026-06-26 07:37:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051758 -2.798099)'), GeomFromEWKT('SRID=4674;POINT (-40.051776 -2.79794)'))) / (select extract(epoch from '2026-06-26 07:37:37'::timestamp) - extract(epoch from '2026-06-26 07:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051758 -2.798099)'), GeomFromEWKT('SRID=4674;POINT (-40.051776 -2.79794)'))) / (select extract(epoch from '2026-06-26 07:37:37'::timestamp) - extract(epoch from '2026-06-26 07:37: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'), 46941, 'SRID=4674;POINT (-40.051824 -2.797784)', '2026-06-26 07:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051776 -2.79794)'), GeomFromEWKT('SRID=4674;POINT (-40.051824 -2.797784)'))) / (select extract(epoch from '2026-06-26 07:37:45'::timestamp) - extract(epoch from '2026-06-26 07:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051776 -2.79794)'), GeomFromEWKT('SRID=4674;POINT (-40.051824 -2.797784)'))) / (select extract(epoch from '2026-06-26 07:37:45'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051856 -2.797646)', '2026-06-26 07:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051824 -2.797784)'), GeomFromEWKT('SRID=4674;POINT (-40.051856 -2.797646)'))) / (select extract(epoch from '2026-06-26 07:37:52'::timestamp) - extract(epoch from '2026-06-26 07:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051824 -2.797784)'), GeomFromEWKT('SRID=4674;POINT (-40.051856 -2.797646)'))) / (select extract(epoch from '2026-06-26 07:37:52'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051885 -2.797463)', '2026-06-26 07:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051856 -2.797646)'), GeomFromEWKT('SRID=4674;POINT (-40.051885 -2.797463)'))) / (select extract(epoch from '2026-06-26 07:38:01'::timestamp) - extract(epoch from '2026-06-26 07:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051856 -2.797646)'), GeomFromEWKT('SRID=4674;POINT (-40.051885 -2.797463)'))) / (select extract(epoch from '2026-06-26 07:38:01'::timestamp) - extract(epoch from '2026-06-26 07:37: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'), 46941, 'SRID=4674;POINT (-40.051881 -2.797343)', '2026-06-26 07:38:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051885 -2.797463)'), GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.797343)'))) / (select extract(epoch from '2026-06-26 07:38:07'::timestamp) - extract(epoch from '2026-06-26 07:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051885 -2.797463)'), GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.797343)'))) / (select extract(epoch from '2026-06-26 07:38:07'::timestamp) - extract(epoch from '2026-06-26 07:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05188 -2.797198)', '2026-06-26 07:38:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.797343)'), GeomFromEWKT('SRID=4674;POINT (-40.05188 -2.797198)'))) / (select extract(epoch from '2026-06-26 07:38:15'::timestamp) - extract(epoch from '2026-06-26 07:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.797343)'), GeomFromEWKT('SRID=4674;POINT (-40.05188 -2.797198)'))) / (select extract(epoch from '2026-06-26 07:38:15'::timestamp) - extract(epoch from '2026-06-26 07:38: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'), 46941, 'SRID=4674;POINT (-40.05188 -2.797157)', '2026-06-26 07:38:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05188 -2.797198)'), GeomFromEWKT('SRID=4674;POINT (-40.05188 -2.797157)'))) / (select extract(epoch from '2026-06-26 07:38:18'::timestamp) - extract(epoch from '2026-06-26 07:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05188 -2.797198)'), GeomFromEWKT('SRID=4674;POINT (-40.05188 -2.797157)'))) / (select extract(epoch from '2026-06-26 07:38:18'::timestamp) - extract(epoch from '2026-06-26 07:38: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'), 46941, 'SRID=4674;POINT (-40.051863 -2.797129)', '2026-06-26 07:38:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05188 -2.797157)'), GeomFromEWKT('SRID=4674;POINT (-40.051863 -2.797129)'))) / (select extract(epoch from '2026-06-26 07:38:21'::timestamp) - extract(epoch from '2026-06-26 07:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05188 -2.797157)'), GeomFromEWKT('SRID=4674;POINT (-40.051863 -2.797129)'))) / (select extract(epoch from '2026-06-26 07:38:21'::timestamp) - extract(epoch from '2026-06-26 07:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051852 -2.797057)', '2026-06-26 07:38:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051863 -2.797129)'), GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.797057)'))) / (select extract(epoch from '2026-06-26 07:38:36'::timestamp) - extract(epoch from '2026-06-26 07:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051863 -2.797129)'), GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.797057)'))) / (select extract(epoch from '2026-06-26 07:38:36'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051897 -2.796998)', '2026-06-26 07:38:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.797057)'), GeomFromEWKT('SRID=4674;POINT (-40.051897 -2.796998)'))) / (select extract(epoch from '2026-06-26 07:38:55'::timestamp) - extract(epoch from '2026-06-26 07:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.797057)'), GeomFromEWKT('SRID=4674;POINT (-40.051897 -2.796998)'))) / (select extract(epoch from '2026-06-26 07:38:55'::timestamp) - extract(epoch from '2026-06-26 07:38: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'), 46941, 'SRID=4674;POINT (-40.051926 -2.797011)', '2026-06-26 07:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051897 -2.796998)'), GeomFromEWKT('SRID=4674;POINT (-40.051926 -2.797011)'))) / (select extract(epoch from '2026-06-26 07:39:12'::timestamp) - extract(epoch from '2026-06-26 07:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051897 -2.796998)'), GeomFromEWKT('SRID=4674;POINT (-40.051926 -2.797011)'))) / (select extract(epoch from '2026-06-26 07:39:12'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.05192 -2.797037)', '2026-06-26 07:39:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051926 -2.797011)'), GeomFromEWKT('SRID=4674;POINT (-40.05192 -2.797037)'))) / (select extract(epoch from '2026-06-26 07:39:22'::timestamp) - extract(epoch from '2026-06-26 07:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051926 -2.797011)'), GeomFromEWKT('SRID=4674;POINT (-40.05192 -2.797037)'))) / (select extract(epoch from '2026-06-26 07:39:22'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051918 -2.797049)', '2026-06-26 07:39:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05192 -2.797037)'), GeomFromEWKT('SRID=4674;POINT (-40.051918 -2.797049)'))) / (select extract(epoch from '2026-06-26 07:39:40'::timestamp) - extract(epoch from '2026-06-26 07:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05192 -2.797037)'), GeomFromEWKT('SRID=4674;POINT (-40.051918 -2.797049)'))) / (select extract(epoch from '2026-06-26 07:39:40'::timestamp) - extract(epoch from '2026-06-26 07:39: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'), 46941, 'SRID=4674;POINT (-40.051907 -2.797023)', '2026-06-26 07:39:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051918 -2.797049)'), GeomFromEWKT('SRID=4674;POINT (-40.051907 -2.797023)'))) / (select extract(epoch from '2026-06-26 07:39:52'::timestamp) - extract(epoch from '2026-06-26 07:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051918 -2.797049)'), GeomFromEWKT('SRID=4674;POINT (-40.051907 -2.797023)'))) / (select extract(epoch from '2026-06-26 07:39:52'::timestamp) - extract(epoch from '2026-06-26 07:39: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'), 46941, 'SRID=4674;POINT (-40.051895 -2.797009)', '2026-06-26 07:39:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051907 -2.797023)'), GeomFromEWKT('SRID=4674;POINT (-40.051895 -2.797009)'))) / (select extract(epoch from '2026-06-26 07:39:58'::timestamp) - extract(epoch from '2026-06-26 07:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051907 -2.797023)'), GeomFromEWKT('SRID=4674;POINT (-40.051895 -2.797009)'))) / (select extract(epoch from '2026-06-26 07:39:58'::timestamp) - extract(epoch from '2026-06-26 07:39:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051886 -2.797007)', '2026-06-26 07:40:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051895 -2.797009)'), GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.797007)'))) / (select extract(epoch from '2026-06-26 07:40:04'::timestamp) - extract(epoch from '2026-06-26 07:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051895 -2.797009)'), GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.797007)'))) / (select extract(epoch from '2026-06-26 07:40:04'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051899 -2.797016)', '2026-06-26 07:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.797007)'), GeomFromEWKT('SRID=4674;POINT (-40.051899 -2.797016)'))) / (select extract(epoch from '2026-06-26 07:40:08'::timestamp) - extract(epoch from '2026-06-26 07:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.797007)'), GeomFromEWKT('SRID=4674;POINT (-40.051899 -2.797016)'))) / (select extract(epoch from '2026-06-26 07:40:08'::timestamp) - extract(epoch from '2026-06-26 07:40: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'), 46941, 'SRID=4674;POINT (-40.051927 -2.797055)', '2026-06-26 07:40:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051899 -2.797016)'), GeomFromEWKT('SRID=4674;POINT (-40.051927 -2.797055)'))) / (select extract(epoch from '2026-06-26 07:40:16'::timestamp) - extract(epoch from '2026-06-26 07:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051899 -2.797016)'), GeomFromEWKT('SRID=4674;POINT (-40.051927 -2.797055)'))) / (select extract(epoch from '2026-06-26 07:40:16'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051943 -2.797065)', '2026-06-26 07:40:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051927 -2.797055)'), GeomFromEWKT('SRID=4674;POINT (-40.051943 -2.797065)'))) / (select extract(epoch from '2026-06-26 07:40:22'::timestamp) - extract(epoch from '2026-06-26 07:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051927 -2.797055)'), GeomFromEWKT('SRID=4674;POINT (-40.051943 -2.797065)'))) / (select extract(epoch from '2026-06-26 07:40:22'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051942 -2.797046)', '2026-06-26 07:40:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051943 -2.797065)'), GeomFromEWKT('SRID=4674;POINT (-40.051942 -2.797046)'))) / (select extract(epoch from '2026-06-26 07:40:33'::timestamp) - extract(epoch from '2026-06-26 07:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051943 -2.797065)'), GeomFromEWKT('SRID=4674;POINT (-40.051942 -2.797046)'))) / (select extract(epoch from '2026-06-26 07:40:33'::timestamp) - extract(epoch from '2026-06-26 07:40: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'), 46941, 'SRID=4674;POINT (-40.051941 -2.797033)', '2026-06-26 07:40:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051942 -2.797046)'), GeomFromEWKT('SRID=4674;POINT (-40.051941 -2.797033)'))) / (select extract(epoch from '2026-06-26 07:40:43'::timestamp) - extract(epoch from '2026-06-26 07:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051942 -2.797046)'), GeomFromEWKT('SRID=4674;POINT (-40.051941 -2.797033)'))) / (select extract(epoch from '2026-06-26 07:40:43'::timestamp) - extract(epoch from '2026-06-26 07:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051921 -2.797068)', '2026-06-26 07:40:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051941 -2.797033)'), GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.797068)'))) / (select extract(epoch from '2026-06-26 07:40:55'::timestamp) - extract(epoch from '2026-06-26 07:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051941 -2.797033)'), GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.797068)'))) / (select extract(epoch from '2026-06-26 07:40:55'::timestamp) - extract(epoch from '2026-06-26 07:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051894 -2.797083)', '2026-06-26 07:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.797068)'), GeomFromEWKT('SRID=4674;POINT (-40.051894 -2.797083)'))) / (select extract(epoch from '2026-06-26 07:41:00'::timestamp) - extract(epoch from '2026-06-26 07:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.797068)'), GeomFromEWKT('SRID=4674;POINT (-40.051894 -2.797083)'))) / (select extract(epoch from '2026-06-26 07:41:00'::timestamp) - extract(epoch from '2026-06-26 07:40: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'), 46941, 'SRID=4674;POINT (-40.051881 -2.79709)', '2026-06-26 07:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051894 -2.797083)'), GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.79709)'))) / (select extract(epoch from '2026-06-26 07:41:02'::timestamp) - extract(epoch from '2026-06-26 07:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051894 -2.797083)'), GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.79709)'))) / (select extract(epoch from '2026-06-26 07:41:02'::timestamp) - extract(epoch from '2026-06-26 07:41: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'), 46941, 'SRID=4674;POINT (-40.051859 -2.797109)', '2026-06-26 07:41:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.79709)'), GeomFromEWKT('SRID=4674;POINT (-40.051859 -2.797109)'))) / (select extract(epoch from '2026-06-26 07:41:06'::timestamp) - extract(epoch from '2026-06-26 07:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051881 -2.79709)'), GeomFromEWKT('SRID=4674;POINT (-40.051859 -2.797109)'))) / (select extract(epoch from '2026-06-26 07:41:06'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051841 -2.797124)', '2026-06-26 07:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051859 -2.797109)'), GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.797124)'))) / (select extract(epoch from '2026-06-26 07:41:10'::timestamp) - extract(epoch from '2026-06-26 07:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051859 -2.797109)'), GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.797124)'))) / (select extract(epoch from '2026-06-26 07:41:10'::timestamp) - extract(epoch from '2026-06-26 07:41: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'), 46941, 'SRID=4674;POINT (-40.05181 -2.797113)', '2026-06-26 07:41:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.797124)'), GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.797113)'))) / (select extract(epoch from '2026-06-26 07:41:16'::timestamp) - extract(epoch from '2026-06-26 07:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051841 -2.797124)'), GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.797113)'))) / (select extract(epoch from '2026-06-26 07:41:16'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051742 -2.797127)', '2026-06-26 07:41:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.797113)'), GeomFromEWKT('SRID=4674;POINT (-40.051742 -2.797127)'))) / (select extract(epoch from '2026-06-26 07:41:25'::timestamp) - extract(epoch from '2026-06-26 07:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.797113)'), GeomFromEWKT('SRID=4674;POINT (-40.051742 -2.797127)'))) / (select extract(epoch from '2026-06-26 07:41:25'::timestamp) - extract(epoch from '2026-06-26 07:41: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'), 46941, 'SRID=4674;POINT (-40.051667 -2.797068)', '2026-06-26 07:41:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051742 -2.797127)'), GeomFromEWKT('SRID=4674;POINT (-40.051667 -2.797068)'))) / (select extract(epoch from '2026-06-26 07:41:33'::timestamp) - extract(epoch from '2026-06-26 07:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051742 -2.797127)'), GeomFromEWKT('SRID=4674;POINT (-40.051667 -2.797068)'))) / (select extract(epoch from '2026-06-26 07:41:33'::timestamp) - extract(epoch from '2026-06-26 07:41: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'), 46941, 'SRID=4674;POINT (-40.051629 -2.796913)', '2026-06-26 07:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051667 -2.797068)'), GeomFromEWKT('SRID=4674;POINT (-40.051629 -2.796913)'))) / (select extract(epoch from '2026-06-26 07:41:42'::timestamp) - extract(epoch from '2026-06-26 07:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051667 -2.797068)'), GeomFromEWKT('SRID=4674;POINT (-40.051629 -2.796913)'))) / (select extract(epoch from '2026-06-26 07:41:42'::timestamp) - extract(epoch from '2026-06-26 07:41: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'), 46941, 'SRID=4674;POINT (-40.051651 -2.796774)', '2026-06-26 07:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051629 -2.796913)'), GeomFromEWKT('SRID=4674;POINT (-40.051651 -2.796774)'))) / (select extract(epoch from '2026-06-26 07:41:49'::timestamp) - extract(epoch from '2026-06-26 07:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051629 -2.796913)'), GeomFromEWKT('SRID=4674;POINT (-40.051651 -2.796774)'))) / (select extract(epoch from '2026-06-26 07:41:49'::timestamp) - extract(epoch from '2026-06-26 07:41: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'), 46941, 'SRID=4674;POINT (-40.051697 -2.796635)', '2026-06-26 07:41:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051651 -2.796774)'), GeomFromEWKT('SRID=4674;POINT (-40.051697 -2.796635)'))) / (select extract(epoch from '2026-06-26 07:41:56'::timestamp) - extract(epoch from '2026-06-26 07:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051651 -2.796774)'), GeomFromEWKT('SRID=4674;POINT (-40.051697 -2.796635)'))) / (select extract(epoch from '2026-06-26 07:41:56'::timestamp) - extract(epoch from '2026-06-26 07:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051715 -2.796514)', '2026-06-26 07:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051697 -2.796635)'), GeomFromEWKT('SRID=4674;POINT (-40.051715 -2.796514)'))) / (select extract(epoch from '2026-06-26 07:42:02'::timestamp) - extract(epoch from '2026-06-26 07:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051697 -2.796635)'), GeomFromEWKT('SRID=4674;POINT (-40.051715 -2.796514)'))) / (select extract(epoch from '2026-06-26 07:42:02'::timestamp) - extract(epoch from '2026-06-26 07:41: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'), 46941, 'SRID=4674;POINT (-40.051729 -2.796353)', '2026-06-26 07:42:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051715 -2.796514)'), GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.796353)'))) / (select extract(epoch from '2026-06-26 07:42:10'::timestamp) - extract(epoch from '2026-06-26 07:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051715 -2.796514)'), GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.796353)'))) / (select extract(epoch from '2026-06-26 07:42:10'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051721 -2.796196)', '2026-06-26 07:42:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.796353)'), GeomFromEWKT('SRID=4674;POINT (-40.051721 -2.796196)'))) / (select extract(epoch from '2026-06-26 07:42:18'::timestamp) - extract(epoch from '2026-06-26 07:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.796353)'), GeomFromEWKT('SRID=4674;POINT (-40.051721 -2.796196)'))) / (select extract(epoch from '2026-06-26 07:42:18'::timestamp) - extract(epoch from '2026-06-26 07:42: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'), 46941, 'SRID=4674;POINT (-40.051709 -2.796011)', '2026-06-26 07:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051721 -2.796196)'), GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.796011)'))) / (select extract(epoch from '2026-06-26 07:42:27'::timestamp) - extract(epoch from '2026-06-26 07:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051721 -2.796196)'), GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.796011)'))) / (select extract(epoch from '2026-06-26 07:42:27'::timestamp) - extract(epoch from '2026-06-26 07:42: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'), 46941, 'SRID=4674;POINT (-40.051708 -2.79589)', '2026-06-26 07:42:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.796011)'), GeomFromEWKT('SRID=4674;POINT (-40.051708 -2.79589)'))) / (select extract(epoch from '2026-06-26 07:42:33'::timestamp) - extract(epoch from '2026-06-26 07:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.796011)'), GeomFromEWKT('SRID=4674;POINT (-40.051708 -2.79589)'))) / (select extract(epoch from '2026-06-26 07:42:33'::timestamp) - extract(epoch from '2026-06-26 07:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051707 -2.795743)', '2026-06-26 07:42:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051708 -2.79589)'), GeomFromEWKT('SRID=4674;POINT (-40.051707 -2.795743)'))) / (select extract(epoch from '2026-06-26 07:42:41'::timestamp) - extract(epoch from '2026-06-26 07:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051708 -2.79589)'), GeomFromEWKT('SRID=4674;POINT (-40.051707 -2.795743)'))) / (select extract(epoch from '2026-06-26 07:42:41'::timestamp) - extract(epoch from '2026-06-26 07:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05169 -2.795682)', '2026-06-26 07:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051707 -2.795743)'), GeomFromEWKT('SRID=4674;POINT (-40.05169 -2.795682)'))) / (select extract(epoch from '2026-06-26 07:42:47'::timestamp) - extract(epoch from '2026-06-26 07:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051707 -2.795743)'), GeomFromEWKT('SRID=4674;POINT (-40.05169 -2.795682)'))) / (select extract(epoch from '2026-06-26 07:42:47'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051675 -2.795633)', '2026-06-26 07:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05169 -2.795682)'), GeomFromEWKT('SRID=4674;POINT (-40.051675 -2.795633)'))) / (select extract(epoch from '2026-06-26 07:42:56'::timestamp) - extract(epoch from '2026-06-26 07:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05169 -2.795682)'), GeomFromEWKT('SRID=4674;POINT (-40.051675 -2.795633)'))) / (select extract(epoch from '2026-06-26 07:42:56'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051689 -2.795595)', '2026-06-26 07:43:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051675 -2.795633)'), GeomFromEWKT('SRID=4674;POINT (-40.051689 -2.795595)'))) / (select extract(epoch from '2026-06-26 07:43:11'::timestamp) - extract(epoch from '2026-06-26 07:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051675 -2.795633)'), GeomFromEWKT('SRID=4674;POINT (-40.051689 -2.795595)'))) / (select extract(epoch from '2026-06-26 07:43:11'::timestamp) - extract(epoch from '2026-06-26 07:42: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'), 46941, 'SRID=4674;POINT (-40.051727 -2.795594)', '2026-06-26 07:43:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051689 -2.795595)'), GeomFromEWKT('SRID=4674;POINT (-40.051727 -2.795594)'))) / (select extract(epoch from '2026-06-26 07:43:33'::timestamp) - extract(epoch from '2026-06-26 07:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051689 -2.795595)'), GeomFromEWKT('SRID=4674;POINT (-40.051727 -2.795594)'))) / (select extract(epoch from '2026-06-26 07:43:33'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051748 -2.795588)', '2026-06-26 07:44:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051727 -2.795594)'), GeomFromEWKT('SRID=4674;POINT (-40.051748 -2.795588)'))) / (select extract(epoch from '2026-06-26 07:44:05'::timestamp) - extract(epoch from '2026-06-26 07:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051727 -2.795594)'), GeomFromEWKT('SRID=4674;POINT (-40.051748 -2.795588)'))) / (select extract(epoch from '2026-06-26 07:44:05'::timestamp) - extract(epoch from '2026-06-26 07:43: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'), 46941, 'SRID=4674;POINT (-40.051707 -2.795636)', '2026-06-26 07:44:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051748 -2.795588)'), GeomFromEWKT('SRID=4674;POINT (-40.051707 -2.795636)'))) / (select extract(epoch from '2026-06-26 07:44:40'::timestamp) - extract(epoch from '2026-06-26 07:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051748 -2.795588)'), GeomFromEWKT('SRID=4674;POINT (-40.051707 -2.795636)'))) / (select extract(epoch from '2026-06-26 07:44:40'::timestamp) - extract(epoch from '2026-06-26 07:44: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'), 46941, 'SRID=4674;POINT (-40.051685 -2.795638)', '2026-06-26 07:44:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051707 -2.795636)'), GeomFromEWKT('SRID=4674;POINT (-40.051685 -2.795638)'))) / (select extract(epoch from '2026-06-26 07:44:52'::timestamp) - extract(epoch from '2026-06-26 07:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051707 -2.795636)'), GeomFromEWKT('SRID=4674;POINT (-40.051685 -2.795638)'))) / (select extract(epoch from '2026-06-26 07:44:52'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.05171 -2.795615)', '2026-06-26 07:45:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051685 -2.795638)'), GeomFromEWKT('SRID=4674;POINT (-40.05171 -2.795615)'))) / (select extract(epoch from '2026-06-26 07:45:05'::timestamp) - extract(epoch from '2026-06-26 07:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051685 -2.795638)'), GeomFromEWKT('SRID=4674;POINT (-40.05171 -2.795615)'))) / (select extract(epoch from '2026-06-26 07:45:05'::timestamp) - extract(epoch from '2026-06-26 07:44: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'), 46941, 'SRID=4674;POINT (-40.0518 -2.795555)', '2026-06-26 07:45:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05171 -2.795615)'), GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.795555)'))) / (select extract(epoch from '2026-06-26 07:45:28'::timestamp) - extract(epoch from '2026-06-26 07:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05171 -2.795615)'), GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.795555)'))) / (select extract(epoch from '2026-06-26 07:45:28'::timestamp) - extract(epoch from '2026-06-26 07:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051922 -2.795501)', '2026-06-26 07:46:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.795555)'), GeomFromEWKT('SRID=4674;POINT (-40.051922 -2.795501)'))) / (select extract(epoch from '2026-06-26 07:46:01'::timestamp) - extract(epoch from '2026-06-26 07:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.795555)'), GeomFromEWKT('SRID=4674;POINT (-40.051922 -2.795501)'))) / (select extract(epoch from '2026-06-26 07:46:01'::timestamp) - extract(epoch from '2026-06-26 07:45: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'), 46941, 'SRID=4674;POINT (-40.051963 -2.795451)', '2026-06-26 07:46:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051922 -2.795501)'), GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.795451)'))) / (select extract(epoch from '2026-06-26 07:46:27'::timestamp) - extract(epoch from '2026-06-26 07:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051922 -2.795501)'), GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.795451)'))) / (select extract(epoch from '2026-06-26 07:46:27'::timestamp) - extract(epoch from '2026-06-26 07:46: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'), 46941, 'SRID=4674;POINT (-40.051976 -2.795435)', '2026-06-26 07:46:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.795451)'), GeomFromEWKT('SRID=4674;POINT (-40.051976 -2.795435)'))) / (select extract(epoch from '2026-06-26 07:46:46'::timestamp) - extract(epoch from '2026-06-26 07:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.795451)'), GeomFromEWKT('SRID=4674;POINT (-40.051976 -2.795435)'))) / (select extract(epoch from '2026-06-26 07:46:46'::timestamp) - extract(epoch from '2026-06-26 07:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051987 -2.795432)', '2026-06-26 07:47:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051976 -2.795435)'), GeomFromEWKT('SRID=4674;POINT (-40.051987 -2.795432)'))) / (select extract(epoch from '2026-06-26 07:47:04'::timestamp) - extract(epoch from '2026-06-26 07:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051976 -2.795435)'), GeomFromEWKT('SRID=4674;POINT (-40.051987 -2.795432)'))) / (select extract(epoch from '2026-06-26 07:47:04'::timestamp) - extract(epoch from '2026-06-26 07:46: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'), 46941, 'SRID=4674;POINT (-40.05201 -2.795423)', '2026-06-26 07:47:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051987 -2.795432)'), GeomFromEWKT('SRID=4674;POINT (-40.05201 -2.795423)'))) / (select extract(epoch from '2026-06-26 07:47:20'::timestamp) - extract(epoch from '2026-06-26 07:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051987 -2.795432)'), GeomFromEWKT('SRID=4674;POINT (-40.05201 -2.795423)'))) / (select extract(epoch from '2026-06-26 07:47:20'::timestamp) - extract(epoch from '2026-06-26 07:47: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'), 46941, 'SRID=4674;POINT (-40.05199 -2.795406)', '2026-06-26 07:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05201 -2.795423)'), GeomFromEWKT('SRID=4674;POINT (-40.05199 -2.795406)'))) / (select extract(epoch from '2026-06-26 07:47:27'::timestamp) - extract(epoch from '2026-06-26 07:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05201 -2.795423)'), GeomFromEWKT('SRID=4674;POINT (-40.05199 -2.795406)'))) / (select extract(epoch from '2026-06-26 07:47:27'::timestamp) - extract(epoch from '2026-06-26 07:47:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051995 -2.795411)', '2026-06-26 07:47:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05199 -2.795406)'), GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.795411)'))) / (select extract(epoch from '2026-06-26 07:47:35'::timestamp) - extract(epoch from '2026-06-26 07:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05199 -2.795406)'), GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.795411)'))) / (select extract(epoch from '2026-06-26 07:47:35'::timestamp) - extract(epoch from '2026-06-26 07:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051998 -2.795406)', '2026-06-26 07:47:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.795411)'), GeomFromEWKT('SRID=4674;POINT (-40.051998 -2.795406)'))) / (select extract(epoch from '2026-06-26 07:47:41'::timestamp) - extract(epoch from '2026-06-26 07:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.795411)'), GeomFromEWKT('SRID=4674;POINT (-40.051998 -2.795406)'))) / (select extract(epoch from '2026-06-26 07:47:41'::timestamp) - extract(epoch from '2026-06-26 07:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051994 -2.795394)', '2026-06-26 07:48:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051998 -2.795406)'), GeomFromEWKT('SRID=4674;POINT (-40.051994 -2.795394)'))) / (select extract(epoch from '2026-06-26 07:48:03'::timestamp) - extract(epoch from '2026-06-26 07:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051998 -2.795406)'), GeomFromEWKT('SRID=4674;POINT (-40.051994 -2.795394)'))) / (select extract(epoch from '2026-06-26 07:48:03'::timestamp) - extract(epoch from '2026-06-26 07:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051945 -2.795409)', '2026-06-26 07:48:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051994 -2.795394)'), GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.795409)'))) / (select extract(epoch from '2026-06-26 07:48:19'::timestamp) - extract(epoch from '2026-06-26 07:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051994 -2.795394)'), GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.795409)'))) / (select extract(epoch from '2026-06-26 07:48:19'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.05187 -2.795455)', '2026-06-26 07:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.795409)'), GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.795455)'))) / (select extract(epoch from '2026-06-26 07:48:30'::timestamp) - extract(epoch from '2026-06-26 07:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.795409)'), GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.795455)'))) / (select extract(epoch from '2026-06-26 07:48:30'::timestamp) - extract(epoch from '2026-06-26 07:48: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'), 46941, 'SRID=4674;POINT (-40.051833 -2.795504)', '2026-06-26 07:48:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.795455)'), GeomFromEWKT('SRID=4674;POINT (-40.051833 -2.795504)'))) / (select extract(epoch from '2026-06-26 07:48:39'::timestamp) - extract(epoch from '2026-06-26 07:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.795455)'), GeomFromEWKT('SRID=4674;POINT (-40.051833 -2.795504)'))) / (select extract(epoch from '2026-06-26 07:48:39'::timestamp) - extract(epoch from '2026-06-26 07:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051813 -2.795539)', '2026-06-26 07:48:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051833 -2.795504)'), GeomFromEWKT('SRID=4674;POINT (-40.051813 -2.795539)'))) / (select extract(epoch from '2026-06-26 07:48:45'::timestamp) - extract(epoch from '2026-06-26 07:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051833 -2.795504)'), GeomFromEWKT('SRID=4674;POINT (-40.051813 -2.795539)'))) / (select extract(epoch from '2026-06-26 07:48:45'::timestamp) - extract(epoch from '2026-06-26 07:48: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'), 46941, 'SRID=4674;POINT (-40.051773 -2.795573)', '2026-06-26 07:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051813 -2.795539)'), GeomFromEWKT('SRID=4674;POINT (-40.051773 -2.795573)'))) / (select extract(epoch from '2026-06-26 07:48:54'::timestamp) - extract(epoch from '2026-06-26 07:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051813 -2.795539)'), GeomFromEWKT('SRID=4674;POINT (-40.051773 -2.795573)'))) / (select extract(epoch from '2026-06-26 07:48:54'::timestamp) - extract(epoch from '2026-06-26 07:48: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'), 46941, 'SRID=4674;POINT (-40.051763 -2.795586)', '2026-06-26 07:48:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051773 -2.795573)'), GeomFromEWKT('SRID=4674;POINT (-40.051763 -2.795586)'))) / (select extract(epoch from '2026-06-26 07:48:56'::timestamp) - extract(epoch from '2026-06-26 07:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051773 -2.795573)'), GeomFromEWKT('SRID=4674;POINT (-40.051763 -2.795586)'))) / (select extract(epoch from '2026-06-26 07:48:56'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051739 -2.795618)', '2026-06-26 07:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051763 -2.795586)'), GeomFromEWKT('SRID=4674;POINT (-40.051739 -2.795618)'))) / (select extract(epoch from '2026-06-26 07:49:01'::timestamp) - extract(epoch from '2026-06-26 07:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051763 -2.795586)'), GeomFromEWKT('SRID=4674;POINT (-40.051739 -2.795618)'))) / (select extract(epoch from '2026-06-26 07:49:01'::timestamp) - extract(epoch from '2026-06-26 07:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051663 -2.795648)', '2026-06-26 07:49:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051739 -2.795618)'), GeomFromEWKT('SRID=4674;POINT (-40.051663 -2.795648)'))) / (select extract(epoch from '2026-06-26 07:49:08'::timestamp) - extract(epoch from '2026-06-26 07:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051739 -2.795618)'), GeomFromEWKT('SRID=4674;POINT (-40.051663 -2.795648)'))) / (select extract(epoch from '2026-06-26 07:49:08'::timestamp) - extract(epoch from '2026-06-26 07:49: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'), 46941, 'SRID=4674;POINT (-40.051589 -2.795669)', '2026-06-26 07:49:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051663 -2.795648)'), GeomFromEWKT('SRID=4674;POINT (-40.051589 -2.795669)'))) / (select extract(epoch from '2026-06-26 07:49:15'::timestamp) - extract(epoch from '2026-06-26 07:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051663 -2.795648)'), GeomFromEWKT('SRID=4674;POINT (-40.051589 -2.795669)'))) / (select extract(epoch from '2026-06-26 07:49:15'::timestamp) - extract(epoch from '2026-06-26 07:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05153 -2.795702)', '2026-06-26 07:49:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051589 -2.795669)'), GeomFromEWKT('SRID=4674;POINT (-40.05153 -2.795702)'))) / (select extract(epoch from '2026-06-26 07:49:24'::timestamp) - extract(epoch from '2026-06-26 07:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051589 -2.795669)'), GeomFromEWKT('SRID=4674;POINT (-40.05153 -2.795702)'))) / (select extract(epoch from '2026-06-26 07:49:24'::timestamp) - extract(epoch from '2026-06-26 07:49:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051497 -2.795753)', '2026-06-26 07:49:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05153 -2.795702)'), GeomFromEWKT('SRID=4674;POINT (-40.051497 -2.795753)'))) / (select extract(epoch from '2026-06-26 07:49:36'::timestamp) - extract(epoch from '2026-06-26 07:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05153 -2.795702)'), GeomFromEWKT('SRID=4674;POINT (-40.051497 -2.795753)'))) / (select extract(epoch from '2026-06-26 07:49:36'::timestamp) - extract(epoch from '2026-06-26 07:49: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'), 46941, 'SRID=4674;POINT (-40.051465 -2.79578)', '2026-06-26 07:49:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051497 -2.795753)'), GeomFromEWKT('SRID=4674;POINT (-40.051465 -2.79578)'))) / (select extract(epoch from '2026-06-26 07:49:48'::timestamp) - extract(epoch from '2026-06-26 07:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051497 -2.795753)'), GeomFromEWKT('SRID=4674;POINT (-40.051465 -2.79578)'))) / (select extract(epoch from '2026-06-26 07:49:48'::timestamp) - extract(epoch from '2026-06-26 07:49: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'), 46941, 'SRID=4674;POINT (-40.051431 -2.795814)', '2026-06-26 07:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051465 -2.79578)'), GeomFromEWKT('SRID=4674;POINT (-40.051431 -2.795814)'))) / (select extract(epoch from '2026-06-26 07:49:59'::timestamp) - extract(epoch from '2026-06-26 07:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051465 -2.79578)'), GeomFromEWKT('SRID=4674;POINT (-40.051431 -2.795814)'))) / (select extract(epoch from '2026-06-26 07:49:59'::timestamp) - extract(epoch from '2026-06-26 07:49: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'), 46941, 'SRID=4674;POINT (-40.051419 -2.795799)', '2026-06-26 07:50:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051431 -2.795814)'), GeomFromEWKT('SRID=4674;POINT (-40.051419 -2.795799)'))) / (select extract(epoch from '2026-06-26 07:50:08'::timestamp) - extract(epoch from '2026-06-26 07:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051431 -2.795814)'), GeomFromEWKT('SRID=4674;POINT (-40.051419 -2.795799)'))) / (select extract(epoch from '2026-06-26 07:50:08'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.05139 -2.795709)', '2026-06-26 07:50:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051419 -2.795799)'), GeomFromEWKT('SRID=4674;POINT (-40.05139 -2.795709)'))) / (select extract(epoch from '2026-06-26 07:50:16'::timestamp) - extract(epoch from '2026-06-26 07:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051419 -2.795799)'), GeomFromEWKT('SRID=4674;POINT (-40.05139 -2.795709)'))) / (select extract(epoch from '2026-06-26 07:50:16'::timestamp) - extract(epoch from '2026-06-26 07:50: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'), 46941, 'SRID=4674;POINT (-40.051407 -2.795563)', '2026-06-26 07:50:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05139 -2.795709)'), GeomFromEWKT('SRID=4674;POINT (-40.051407 -2.795563)'))) / (select extract(epoch from '2026-06-26 07:50:24'::timestamp) - extract(epoch from '2026-06-26 07:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05139 -2.795709)'), GeomFromEWKT('SRID=4674;POINT (-40.051407 -2.795563)'))) / (select extract(epoch from '2026-06-26 07:50:24'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051489 -2.795395)', '2026-06-26 07:50:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051407 -2.795563)'), GeomFromEWKT('SRID=4674;POINT (-40.051489 -2.795395)'))) / (select extract(epoch from '2026-06-26 07:50:33'::timestamp) - extract(epoch from '2026-06-26 07:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051407 -2.795563)'), GeomFromEWKT('SRID=4674;POINT (-40.051489 -2.795395)'))) / (select extract(epoch from '2026-06-26 07:50:33'::timestamp) - extract(epoch from '2026-06-26 07:50: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'), 46941, 'SRID=4674;POINT (-40.051538 -2.79526)', '2026-06-26 07:50:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051489 -2.795395)'), GeomFromEWKT('SRID=4674;POINT (-40.051538 -2.79526)'))) / (select extract(epoch from '2026-06-26 07:50:40'::timestamp) - extract(epoch from '2026-06-26 07:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051489 -2.795395)'), GeomFromEWKT('SRID=4674;POINT (-40.051538 -2.79526)'))) / (select extract(epoch from '2026-06-26 07:50:40'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.05161 -2.795086)', '2026-06-26 07:50:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051538 -2.79526)'), GeomFromEWKT('SRID=4674;POINT (-40.05161 -2.795086)'))) / (select extract(epoch from '2026-06-26 07:50:49'::timestamp) - extract(epoch from '2026-06-26 07:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051538 -2.79526)'), GeomFromEWKT('SRID=4674;POINT (-40.05161 -2.795086)'))) / (select extract(epoch from '2026-06-26 07:50:49'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051687 -2.794937)', '2026-06-26 07:50:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05161 -2.795086)'), GeomFromEWKT('SRID=4674;POINT (-40.051687 -2.794937)'))) / (select extract(epoch from '2026-06-26 07:50:57'::timestamp) - extract(epoch from '2026-06-26 07:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05161 -2.795086)'), GeomFromEWKT('SRID=4674;POINT (-40.051687 -2.794937)'))) / (select extract(epoch from '2026-06-26 07:50:57'::timestamp) - extract(epoch from '2026-06-26 07:50:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051734 -2.794799)', '2026-06-26 07:51:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051687 -2.794937)'), GeomFromEWKT('SRID=4674;POINT (-40.051734 -2.794799)'))) / (select extract(epoch from '2026-06-26 07:51:04'::timestamp) - extract(epoch from '2026-06-26 07:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051687 -2.794937)'), GeomFromEWKT('SRID=4674;POINT (-40.051734 -2.794799)'))) / (select extract(epoch from '2026-06-26 07:51:04'::timestamp) - extract(epoch from '2026-06-26 07:50:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051791 -2.794712)', '2026-06-26 07:51:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051734 -2.794799)'), GeomFromEWKT('SRID=4674;POINT (-40.051791 -2.794712)'))) / (select extract(epoch from '2026-06-26 07:51:09'::timestamp) - extract(epoch from '2026-06-26 07:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051734 -2.794799)'), GeomFromEWKT('SRID=4674;POINT (-40.051791 -2.794712)'))) / (select extract(epoch from '2026-06-26 07:51:09'::timestamp) - extract(epoch from '2026-06-26 07:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051858 -2.794559)', '2026-06-26 07:51:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051791 -2.794712)'), GeomFromEWKT('SRID=4674;POINT (-40.051858 -2.794559)'))) / (select extract(epoch from '2026-06-26 07:51:17'::timestamp) - extract(epoch from '2026-06-26 07:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051791 -2.794712)'), GeomFromEWKT('SRID=4674;POINT (-40.051858 -2.794559)'))) / (select extract(epoch from '2026-06-26 07:51:17'::timestamp) - extract(epoch from '2026-06-26 07:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051879 -2.794377)', '2026-06-26 07:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051858 -2.794559)'), GeomFromEWKT('SRID=4674;POINT (-40.051879 -2.794377)'))) / (select extract(epoch from '2026-06-26 07:51:26'::timestamp) - extract(epoch from '2026-06-26 07:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051858 -2.794559)'), GeomFromEWKT('SRID=4674;POINT (-40.051879 -2.794377)'))) / (select extract(epoch from '2026-06-26 07:51:26'::timestamp) - extract(epoch from '2026-06-26 07:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051861 -2.794217)', '2026-06-26 07:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051879 -2.794377)'), GeomFromEWKT('SRID=4674;POINT (-40.051861 -2.794217)'))) / (select extract(epoch from '2026-06-26 07:51:34'::timestamp) - extract(epoch from '2026-06-26 07:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051879 -2.794377)'), GeomFromEWKT('SRID=4674;POINT (-40.051861 -2.794217)'))) / (select extract(epoch from '2026-06-26 07:51:34'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051845 -2.794)', '2026-06-26 07:51:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051861 -2.794217)'), GeomFromEWKT('SRID=4674;POINT (-40.051845 -2.794)'))) / (select extract(epoch from '2026-06-26 07:51:45'::timestamp) - extract(epoch from '2026-06-26 07:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051861 -2.794217)'), GeomFromEWKT('SRID=4674;POINT (-40.051845 -2.794)'))) / (select extract(epoch from '2026-06-26 07:51:45'::timestamp) - extract(epoch from '2026-06-26 07:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051819 -2.793899)', '2026-06-26 07:51:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051845 -2.794)'), GeomFromEWKT('SRID=4674;POINT (-40.051819 -2.793899)'))) / (select extract(epoch from '2026-06-26 07:51:51'::timestamp) - extract(epoch from '2026-06-26 07:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051845 -2.794)'), GeomFromEWKT('SRID=4674;POINT (-40.051819 -2.793899)'))) / (select extract(epoch from '2026-06-26 07:51:51'::timestamp) - extract(epoch from '2026-06-26 07:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051775 -2.79379)', '2026-06-26 07:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051819 -2.793899)'), GeomFromEWKT('SRID=4674;POINT (-40.051775 -2.79379)'))) / (select extract(epoch from '2026-06-26 07:51:58'::timestamp) - extract(epoch from '2026-06-26 07:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051819 -2.793899)'), GeomFromEWKT('SRID=4674;POINT (-40.051775 -2.79379)'))) / (select extract(epoch from '2026-06-26 07:51:58'::timestamp) - extract(epoch from '2026-06-26 07:51: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'), 46941, 'SRID=4674;POINT (-40.05174 -2.793662)', '2026-06-26 07:52:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051775 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.05174 -2.793662)'))) / (select extract(epoch from '2026-06-26 07:52:06'::timestamp) - extract(epoch from '2026-06-26 07:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051775 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.05174 -2.793662)'))) / (select extract(epoch from '2026-06-26 07:52:06'::timestamp) - extract(epoch from '2026-06-26 07:51: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'), 46941, 'SRID=4674;POINT (-40.051719 -2.793563)', '2026-06-26 07:52:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05174 -2.793662)'), GeomFromEWKT('SRID=4674;POINT (-40.051719 -2.793563)'))) / (select extract(epoch from '2026-06-26 07:52:14'::timestamp) - extract(epoch from '2026-06-26 07:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05174 -2.793662)'), GeomFromEWKT('SRID=4674;POINT (-40.051719 -2.793563)'))) / (select extract(epoch from '2026-06-26 07:52:14'::timestamp) - extract(epoch from '2026-06-26 07:52: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'), 46941, 'SRID=4674;POINT (-40.051706 -2.793511)', '2026-06-26 07:52:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051719 -2.793563)'), GeomFromEWKT('SRID=4674;POINT (-40.051706 -2.793511)'))) / (select extract(epoch from '2026-06-26 07:52:22'::timestamp) - extract(epoch from '2026-06-26 07:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051719 -2.793563)'), GeomFromEWKT('SRID=4674;POINT (-40.051706 -2.793511)'))) / (select extract(epoch from '2026-06-26 07:52:22'::timestamp) - extract(epoch from '2026-06-26 07:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051695 -2.793484)', '2026-06-26 07:52:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051706 -2.793511)'), GeomFromEWKT('SRID=4674;POINT (-40.051695 -2.793484)'))) / (select extract(epoch from '2026-06-26 07:52:29'::timestamp) - extract(epoch from '2026-06-26 07:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051706 -2.793511)'), GeomFromEWKT('SRID=4674;POINT (-40.051695 -2.793484)'))) / (select extract(epoch from '2026-06-26 07:52:29'::timestamp) - extract(epoch from '2026-06-26 07:52: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'), 46941, 'SRID=4674;POINT (-40.051758 -2.79342)', '2026-06-26 07:52:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051695 -2.793484)'), GeomFromEWKT('SRID=4674;POINT (-40.051758 -2.79342)'))) / (select extract(epoch from '2026-06-26 07:52:53'::timestamp) - extract(epoch from '2026-06-26 07:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051695 -2.793484)'), GeomFromEWKT('SRID=4674;POINT (-40.051758 -2.79342)'))) / (select extract(epoch from '2026-06-26 07:52:53'::timestamp) - extract(epoch from '2026-06-26 07:52: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'), 46941, 'SRID=4674;POINT (-40.051787 -2.793424)', '2026-06-26 07:53:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051758 -2.79342)'), GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793424)'))) / (select extract(epoch from '2026-06-26 07:53:12'::timestamp) - extract(epoch from '2026-06-26 07:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051758 -2.79342)'), GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793424)'))) / (select extract(epoch from '2026-06-26 07:53:12'::timestamp) - extract(epoch from '2026-06-26 07:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051785 -2.793423)', '2026-06-26 07:53:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793424)'), GeomFromEWKT('SRID=4674;POINT (-40.051785 -2.793423)'))) / (select extract(epoch from '2026-06-26 07:53:27'::timestamp) - extract(epoch from '2026-06-26 07:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793424)'), GeomFromEWKT('SRID=4674;POINT (-40.051785 -2.793423)'))) / (select extract(epoch from '2026-06-26 07:53:27'::timestamp) - extract(epoch from '2026-06-26 07:53: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'), 46941, 'SRID=4674;POINT (-40.051788 -2.793409)', '2026-06-26 07:53:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051785 -2.793423)'), GeomFromEWKT('SRID=4674;POINT (-40.051788 -2.793409)'))) / (select extract(epoch from '2026-06-26 07:53:38'::timestamp) - extract(epoch from '2026-06-26 07:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051785 -2.793423)'), GeomFromEWKT('SRID=4674;POINT (-40.051788 -2.793409)'))) / (select extract(epoch from '2026-06-26 07:53:38'::timestamp) - extract(epoch from '2026-06-26 07:53:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051787 -2.793411)', '2026-06-26 07:53:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051788 -2.793409)'), GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793411)'))) / (select extract(epoch from '2026-06-26 07:53:47'::timestamp) - extract(epoch from '2026-06-26 07:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051788 -2.793409)'), GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793411)'))) / (select extract(epoch from '2026-06-26 07:53:47'::timestamp) - extract(epoch from '2026-06-26 07:53:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051787 -2.793427)', '2026-06-26 07:53:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793411)'), GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793427)'))) / (select extract(epoch from '2026-06-26 07:53:56'::timestamp) - extract(epoch from '2026-06-26 07:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793411)'), GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793427)'))) / (select extract(epoch from '2026-06-26 07:53:56'::timestamp) - extract(epoch from '2026-06-26 07:53:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051795 -2.793439)', '2026-06-26 07:54:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793427)'), GeomFromEWKT('SRID=4674;POINT (-40.051795 -2.793439)'))) / (select extract(epoch from '2026-06-26 07:54:13'::timestamp) - extract(epoch from '2026-06-26 07:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051787 -2.793427)'), GeomFromEWKT('SRID=4674;POINT (-40.051795 -2.793439)'))) / (select extract(epoch from '2026-06-26 07:54:13'::timestamp) - extract(epoch from '2026-06-26 07:53:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051791 -2.793448)', '2026-06-26 07:54:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051795 -2.793439)'), GeomFromEWKT('SRID=4674;POINT (-40.051791 -2.793448)'))) / (select extract(epoch from '2026-06-26 07:54:18'::timestamp) - extract(epoch from '2026-06-26 07:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051795 -2.793439)'), GeomFromEWKT('SRID=4674;POINT (-40.051791 -2.793448)'))) / (select extract(epoch from '2026-06-26 07:54:18'::timestamp) - extract(epoch from '2026-06-26 07:54: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'), 46941, 'SRID=4674;POINT (-40.051771 -2.793469)', '2026-06-26 07:54:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051791 -2.793448)'), GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793469)'))) / (select extract(epoch from '2026-06-26 07:54:27'::timestamp) - extract(epoch from '2026-06-26 07:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051791 -2.793448)'), GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793469)'))) / (select extract(epoch from '2026-06-26 07:54:27'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051725 -2.793503)', '2026-06-26 07:54:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793469)'), GeomFromEWKT('SRID=4674;POINT (-40.051725 -2.793503)'))) / (select extract(epoch from '2026-06-26 07:54:38'::timestamp) - extract(epoch from '2026-06-26 07:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793469)'), GeomFromEWKT('SRID=4674;POINT (-40.051725 -2.793503)'))) / (select extract(epoch from '2026-06-26 07:54:38'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051703 -2.793529)', '2026-06-26 07:54:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051725 -2.793503)'), GeomFromEWKT('SRID=4674;POINT (-40.051703 -2.793529)'))) / (select extract(epoch from '2026-06-26 07:54:48'::timestamp) - extract(epoch from '2026-06-26 07:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051725 -2.793503)'), GeomFromEWKT('SRID=4674;POINT (-40.051703 -2.793529)'))) / (select extract(epoch from '2026-06-26 07:54:48'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051653 -2.793542)', '2026-06-26 07:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051703 -2.793529)'), GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.793542)'))) / (select extract(epoch from '2026-06-26 07:55:00'::timestamp) - extract(epoch from '2026-06-26 07:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051703 -2.793529)'), GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.793542)'))) / (select extract(epoch from '2026-06-26 07:55:00'::timestamp) - extract(epoch from '2026-06-26 07:54: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'), 46941, 'SRID=4674;POINT (-40.051588 -2.793573)', '2026-06-26 07:55:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.793542)'), GeomFromEWKT('SRID=4674;POINT (-40.051588 -2.793573)'))) / (select extract(epoch from '2026-06-26 07:55:08'::timestamp) - extract(epoch from '2026-06-26 07:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.793542)'), GeomFromEWKT('SRID=4674;POINT (-40.051588 -2.793573)'))) / (select extract(epoch from '2026-06-26 07:55:08'::timestamp) - extract(epoch from '2026-06-26 07:55:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051513 -2.79353)', '2026-06-26 07:55:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051588 -2.793573)'), GeomFromEWKT('SRID=4674;POINT (-40.051513 -2.79353)'))) / (select extract(epoch from '2026-06-26 07:55:15'::timestamp) - extract(epoch from '2026-06-26 07:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051588 -2.793573)'), GeomFromEWKT('SRID=4674;POINT (-40.051513 -2.79353)'))) / (select extract(epoch from '2026-06-26 07:55:15'::timestamp) - extract(epoch from '2026-06-26 07:55: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'), 46941, 'SRID=4674;POINT (-40.051477 -2.793445)', '2026-06-26 07:55:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051513 -2.79353)'), GeomFromEWKT('SRID=4674;POINT (-40.051477 -2.793445)'))) / (select extract(epoch from '2026-06-26 07:55:21'::timestamp) - extract(epoch from '2026-06-26 07:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051513 -2.79353)'), GeomFromEWKT('SRID=4674;POINT (-40.051477 -2.793445)'))) / (select extract(epoch from '2026-06-26 07:55:21'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051452 -2.793301)', '2026-06-26 07:55:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051477 -2.793445)'), GeomFromEWKT('SRID=4674;POINT (-40.051452 -2.793301)'))) / (select extract(epoch from '2026-06-26 07:55:29'::timestamp) - extract(epoch from '2026-06-26 07:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051477 -2.793445)'), GeomFromEWKT('SRID=4674;POINT (-40.051452 -2.793301)'))) / (select extract(epoch from '2026-06-26 07:55:29'::timestamp) - extract(epoch from '2026-06-26 07:55: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'), 46941, 'SRID=4674;POINT (-40.051469 -2.793115)', '2026-06-26 07:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051452 -2.793301)'), GeomFromEWKT('SRID=4674;POINT (-40.051469 -2.793115)'))) / (select extract(epoch from '2026-06-26 07:55:38'::timestamp) - extract(epoch from '2026-06-26 07:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051452 -2.793301)'), GeomFromEWKT('SRID=4674;POINT (-40.051469 -2.793115)'))) / (select extract(epoch from '2026-06-26 07:55:38'::timestamp) - extract(epoch from '2026-06-26 07:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051483 -2.792949)', '2026-06-26 07:55:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051469 -2.793115)'), GeomFromEWKT('SRID=4674;POINT (-40.051483 -2.792949)'))) / (select extract(epoch from '2026-06-26 07:55:46'::timestamp) - extract(epoch from '2026-06-26 07:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051469 -2.793115)'), GeomFromEWKT('SRID=4674;POINT (-40.051483 -2.792949)'))) / (select extract(epoch from '2026-06-26 07:55:46'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051536 -2.792787)', '2026-06-26 07:55:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051483 -2.792949)'), GeomFromEWKT('SRID=4674;POINT (-40.051536 -2.792787)'))) / (select extract(epoch from '2026-06-26 07:55:54'::timestamp) - extract(epoch from '2026-06-26 07:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051483 -2.792949)'), GeomFromEWKT('SRID=4674;POINT (-40.051536 -2.792787)'))) / (select extract(epoch from '2026-06-26 07:55:54'::timestamp) - extract(epoch from '2026-06-26 07:55: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'), 46941, 'SRID=4674;POINT (-40.051608 -2.792607)', '2026-06-26 07:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051536 -2.792787)'), GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.792607)'))) / (select extract(epoch from '2026-06-26 07:56:03'::timestamp) - extract(epoch from '2026-06-26 07:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051536 -2.792787)'), GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.792607)'))) / (select extract(epoch from '2026-06-26 07:56:03'::timestamp) - extract(epoch from '2026-06-26 07:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051653 -2.792463)', '2026-06-26 07:56:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.792607)'), GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.792463)'))) / (select extract(epoch from '2026-06-26 07:56:10'::timestamp) - extract(epoch from '2026-06-26 07:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.792607)'), GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.792463)'))) / (select extract(epoch from '2026-06-26 07:56:10'::timestamp) - extract(epoch from '2026-06-26 07:56: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'), 46941, 'SRID=4674;POINT (-40.051661 -2.79232)', '2026-06-26 07:56:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.792463)'), GeomFromEWKT('SRID=4674;POINT (-40.051661 -2.79232)'))) / (select extract(epoch from '2026-06-26 07:56:17'::timestamp) - extract(epoch from '2026-06-26 07:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.792463)'), GeomFromEWKT('SRID=4674;POINT (-40.051661 -2.79232)'))) / (select extract(epoch from '2026-06-26 07:56:17'::timestamp) - extract(epoch from '2026-06-26 07:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051654 -2.792192)', '2026-06-26 07:56:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051661 -2.79232)'), GeomFromEWKT('SRID=4674;POINT (-40.051654 -2.792192)'))) / (select extract(epoch from '2026-06-26 07:56:24'::timestamp) - extract(epoch from '2026-06-26 07:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051661 -2.79232)'), GeomFromEWKT('SRID=4674;POINT (-40.051654 -2.792192)'))) / (select extract(epoch from '2026-06-26 07:56:24'::timestamp) - extract(epoch from '2026-06-26 07:56: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'), 46941, 'SRID=4674;POINT (-40.051632 -2.79213)', '2026-06-26 07:56:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051654 -2.792192)'), GeomFromEWKT('SRID=4674;POINT (-40.051632 -2.79213)'))) / (select extract(epoch from '2026-06-26 07:56:30'::timestamp) - extract(epoch from '2026-06-26 07:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051654 -2.792192)'), GeomFromEWKT('SRID=4674;POINT (-40.051632 -2.79213)'))) / (select extract(epoch from '2026-06-26 07:56:30'::timestamp) - extract(epoch from '2026-06-26 07:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051625 -2.792098)', '2026-06-26 07:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051632 -2.79213)'), GeomFromEWKT('SRID=4674;POINT (-40.051625 -2.792098)'))) / (select extract(epoch from '2026-06-26 07:56:38'::timestamp) - extract(epoch from '2026-06-26 07:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051632 -2.79213)'), GeomFromEWKT('SRID=4674;POINT (-40.051625 -2.792098)'))) / (select extract(epoch from '2026-06-26 07:56:38'::timestamp) - extract(epoch from '2026-06-26 07:56: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'), 46941, 'SRID=4674;POINT (-40.051669 -2.792052)', '2026-06-26 07:56:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051625 -2.792098)'), GeomFromEWKT('SRID=4674;POINT (-40.051669 -2.792052)'))) / (select extract(epoch from '2026-06-26 07:56:57'::timestamp) - extract(epoch from '2026-06-26 07:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051625 -2.792098)'), GeomFromEWKT('SRID=4674;POINT (-40.051669 -2.792052)'))) / (select extract(epoch from '2026-06-26 07:56:57'::timestamp) - extract(epoch from '2026-06-26 07:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051709 -2.79202)', '2026-06-26 07:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051669 -2.792052)'), GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.79202)'))) / (select extract(epoch from '2026-06-26 07:57:19'::timestamp) - extract(epoch from '2026-06-26 07:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051669 -2.792052)'), GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.79202)'))) / (select extract(epoch from '2026-06-26 07:57:19'::timestamp) - extract(epoch from '2026-06-26 07:56:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051736 -2.792023)', '2026-06-26 07:57:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.79202)'), GeomFromEWKT('SRID=4674;POINT (-40.051736 -2.792023)'))) / (select extract(epoch from '2026-06-26 07:57:43'::timestamp) - extract(epoch from '2026-06-26 07:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.79202)'), GeomFromEWKT('SRID=4674;POINT (-40.051736 -2.792023)'))) / (select extract(epoch from '2026-06-26 07:57:43'::timestamp) - extract(epoch from '2026-06-26 07:57: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'), 46941, 'SRID=4674;POINT (-40.051749 -2.792028)', '2026-06-26 07:57:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051736 -2.792023)'), GeomFromEWKT('SRID=4674;POINT (-40.051749 -2.792028)'))) / (select extract(epoch from '2026-06-26 07:57:53'::timestamp) - extract(epoch from '2026-06-26 07:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051736 -2.792023)'), GeomFromEWKT('SRID=4674;POINT (-40.051749 -2.792028)'))) / (select extract(epoch from '2026-06-26 07:57:53'::timestamp) - extract(epoch from '2026-06-26 07:57: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'), 46941, 'SRID=4674;POINT (-40.051744 -2.792027)', '2026-06-26 07:58:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051749 -2.792028)'), GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.792027)'))) / (select extract(epoch from '2026-06-26 07:58:01'::timestamp) - extract(epoch from '2026-06-26 07:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051749 -2.792028)'), GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.792027)'))) / (select extract(epoch from '2026-06-26 07:58:01'::timestamp) - extract(epoch from '2026-06-26 07:57: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'), 46941, 'SRID=4674;POINT (-40.051747 -2.792027)', '2026-06-26 07:58:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.792027)'), GeomFromEWKT('SRID=4674;POINT (-40.051747 -2.792027)'))) / (select extract(epoch from '2026-06-26 07:58:19'::timestamp) - extract(epoch from '2026-06-26 07:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.792027)'), GeomFromEWKT('SRID=4674;POINT (-40.051747 -2.792027)'))) / (select extract(epoch from '2026-06-26 07:58:19'::timestamp) - extract(epoch from '2026-06-26 07:58:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051751 -2.792026)', '2026-06-26 07:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051747 -2.792027)'), GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.792026)'))) / (select extract(epoch from '2026-06-26 07:58:27'::timestamp) - extract(epoch from '2026-06-26 07:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051747 -2.792027)'), GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.792026)'))) / (select extract(epoch from '2026-06-26 07:58:27'::timestamp) - extract(epoch from '2026-06-26 07:58:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051725 -2.792039)', '2026-06-26 07:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.792026)'), GeomFromEWKT('SRID=4674;POINT (-40.051725 -2.792039)'))) / (select extract(epoch from '2026-06-26 07:58:44'::timestamp) - extract(epoch from '2026-06-26 07:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.792026)'), GeomFromEWKT('SRID=4674;POINT (-40.051725 -2.792039)'))) / (select extract(epoch from '2026-06-26 07:58:44'::timestamp) - extract(epoch from '2026-06-26 07:58: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'), 46941, 'SRID=4674;POINT (-40.051701 -2.792055)', '2026-06-26 07:58:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051725 -2.792039)'), GeomFromEWKT('SRID=4674;POINT (-40.051701 -2.792055)'))) / (select extract(epoch from '2026-06-26 07:58:52'::timestamp) - extract(epoch from '2026-06-26 07:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051725 -2.792039)'), GeomFromEWKT('SRID=4674;POINT (-40.051701 -2.792055)'))) / (select extract(epoch from '2026-06-26 07:58:52'::timestamp) - extract(epoch from '2026-06-26 07:58: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'), 46941, 'SRID=4674;POINT (-40.05164 -2.79208)', '2026-06-26 07:59:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051701 -2.792055)'), GeomFromEWKT('SRID=4674;POINT (-40.05164 -2.79208)'))) / (select extract(epoch from '2026-06-26 07:59:02'::timestamp) - extract(epoch from '2026-06-26 07:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051701 -2.792055)'), GeomFromEWKT('SRID=4674;POINT (-40.05164 -2.79208)'))) / (select extract(epoch from '2026-06-26 07:59:02'::timestamp) - extract(epoch from '2026-06-26 07:58: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'), 46941, 'SRID=4674;POINT (-40.051592 -2.792145)', '2026-06-26 07:59:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05164 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.051592 -2.792145)'))) / (select extract(epoch from '2026-06-26 07:59:14'::timestamp) - extract(epoch from '2026-06-26 07:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05164 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.051592 -2.792145)'))) / (select extract(epoch from '2026-06-26 07:59:14'::timestamp) - extract(epoch from '2026-06-26 07:59: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'), 46941, 'SRID=4674;POINT (-40.051573 -2.792175)', '2026-06-26 07:59:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051592 -2.792145)'), GeomFromEWKT('SRID=4674;POINT (-40.051573 -2.792175)'))) / (select extract(epoch from '2026-06-26 07:59:18'::timestamp) - extract(epoch from '2026-06-26 07:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051592 -2.792145)'), GeomFromEWKT('SRID=4674;POINT (-40.051573 -2.792175)'))) / (select extract(epoch from '2026-06-26 07:59:18'::timestamp) - extract(epoch from '2026-06-26 07:59: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'), 46941, 'SRID=4674;POINT (-40.051564 -2.792176)', '2026-06-26 07:59:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051573 -2.792175)'), GeomFromEWKT('SRID=4674;POINT (-40.051564 -2.792176)'))) / (select extract(epoch from '2026-06-26 07:59:19'::timestamp) - extract(epoch from '2026-06-26 07:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051573 -2.792175)'), GeomFromEWKT('SRID=4674;POINT (-40.051564 -2.792176)'))) / (select extract(epoch from '2026-06-26 07:59:19'::timestamp) - extract(epoch from '2026-06-26 07:59: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'), 46941, 'SRID=4674;POINT (-40.051523 -2.792166)', '2026-06-26 07:59:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051564 -2.792176)'), GeomFromEWKT('SRID=4674;POINT (-40.051523 -2.792166)'))) / (select extract(epoch from '2026-06-26 07:59:25'::timestamp) - extract(epoch from '2026-06-26 07:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051564 -2.792176)'), GeomFromEWKT('SRID=4674;POINT (-40.051523 -2.792166)'))) / (select extract(epoch from '2026-06-26 07:59:25'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051457 -2.792096)', '2026-06-26 07:59:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051523 -2.792166)'), GeomFromEWKT('SRID=4674;POINT (-40.051457 -2.792096)'))) / (select extract(epoch from '2026-06-26 07:59:35'::timestamp) - extract(epoch from '2026-06-26 07:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051523 -2.792166)'), GeomFromEWKT('SRID=4674;POINT (-40.051457 -2.792096)'))) / (select extract(epoch from '2026-06-26 07:59:35'::timestamp) - extract(epoch from '2026-06-26 07:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051456 -2.792086)', '2026-06-26 07:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051457 -2.792096)'), GeomFromEWKT('SRID=4674;POINT (-40.051456 -2.792086)'))) / (select extract(epoch from '2026-06-26 07:59:36'::timestamp) - extract(epoch from '2026-06-26 07:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051457 -2.792096)'), GeomFromEWKT('SRID=4674;POINT (-40.051456 -2.792086)'))) / (select extract(epoch from '2026-06-26 07:59:36'::timestamp) - extract(epoch from '2026-06-26 07: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'), 46941, 'SRID=4674;POINT (-40.051454 -2.792065)', '2026-06-26 07:59:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051456 -2.792086)'), GeomFromEWKT('SRID=4674;POINT (-40.051454 -2.792065)'))) / (select extract(epoch from '2026-06-26 07:59:38'::timestamp) - extract(epoch from '2026-06-26 07:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051456 -2.792086)'), GeomFromEWKT('SRID=4674;POINT (-40.051454 -2.792065)'))) / (select extract(epoch from '2026-06-26 07:59:38'::timestamp) - extract(epoch from '2026-06-26 07:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051438 -2.792038)', '2026-06-26 07:59:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051454 -2.792065)'), GeomFromEWKT('SRID=4674;POINT (-40.051438 -2.792038)'))) / (select extract(epoch from '2026-06-26 07:59:41'::timestamp) - extract(epoch from '2026-06-26 07:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051454 -2.792065)'), GeomFromEWKT('SRID=4674;POINT (-40.051438 -2.792038)'))) / (select extract(epoch from '2026-06-26 07:59:41'::timestamp) - extract(epoch from '2026-06-26 07:59: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'), 46941, 'SRID=4674;POINT (-40.051371 -2.791931)', '2026-06-26 07:59:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051438 -2.792038)'), GeomFromEWKT('SRID=4674;POINT (-40.051371 -2.791931)'))) / (select extract(epoch from '2026-06-26 07:59:51'::timestamp) - extract(epoch from '2026-06-26 07:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051438 -2.792038)'), GeomFromEWKT('SRID=4674;POINT (-40.051371 -2.791931)'))) / (select extract(epoch from '2026-06-26 07:59:51'::timestamp) - extract(epoch from '2026-06-26 07:59: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'), 46941, 'SRID=4674;POINT (-40.051353 -2.791815)', '2026-06-26 07:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051371 -2.791931)'), GeomFromEWKT('SRID=4674;POINT (-40.051353 -2.791815)'))) / (select extract(epoch from '2026-06-26 07:59:59'::timestamp) - extract(epoch from '2026-06-26 07:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051371 -2.791931)'), GeomFromEWKT('SRID=4674;POINT (-40.051353 -2.791815)'))) / (select extract(epoch from '2026-06-26 07:59:59'::timestamp) - extract(epoch from '2026-06-26 07:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051365 -2.791704)', '2026-06-26 08:00:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051353 -2.791815)'), GeomFromEWKT('SRID=4674;POINT (-40.051365 -2.791704)'))) / (select extract(epoch from '2026-06-26 08:00:06'::timestamp) - extract(epoch from '2026-06-26 07:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051353 -2.791815)'), GeomFromEWKT('SRID=4674;POINT (-40.051365 -2.791704)'))) / (select extract(epoch from '2026-06-26 08:00:06'::timestamp) - extract(epoch from '2026-06-26 07:59: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'), 46941, 'SRID=4674;POINT (-40.051387 -2.79162)', '2026-06-26 08:00:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051365 -2.791704)'), GeomFromEWKT('SRID=4674;POINT (-40.051387 -2.79162)'))) / (select extract(epoch from '2026-06-26 08:00:11'::timestamp) - extract(epoch from '2026-06-26 08:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051365 -2.791704)'), GeomFromEWKT('SRID=4674;POINT (-40.051387 -2.79162)'))) / (select extract(epoch from '2026-06-26 08:00:11'::timestamp) - extract(epoch from '2026-06-26 08:00: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'), 46941, 'SRID=4674;POINT (-40.051459 -2.791506)', '2026-06-26 08:00:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051387 -2.79162)'), GeomFromEWKT('SRID=4674;POINT (-40.051459 -2.791506)'))) / (select extract(epoch from '2026-06-26 08:00:18'::timestamp) - extract(epoch from '2026-06-26 08:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051387 -2.79162)'), GeomFromEWKT('SRID=4674;POINT (-40.051459 -2.791506)'))) / (select extract(epoch from '2026-06-26 08:00:18'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.051554 -2.791329)', '2026-06-26 08:00:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051459 -2.791506)'), GeomFromEWKT('SRID=4674;POINT (-40.051554 -2.791329)'))) / (select extract(epoch from '2026-06-26 08:00:28'::timestamp) - extract(epoch from '2026-06-26 08:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051459 -2.791506)'), GeomFromEWKT('SRID=4674;POINT (-40.051554 -2.791329)'))) / (select extract(epoch from '2026-06-26 08:00:28'::timestamp) - extract(epoch from '2026-06-26 08:00: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'), 46941, 'SRID=4674;POINT (-40.051585 -2.791217)', '2026-06-26 08:00:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051554 -2.791329)'), GeomFromEWKT('SRID=4674;POINT (-40.051585 -2.791217)'))) / (select extract(epoch from '2026-06-26 08:00:34'::timestamp) - extract(epoch from '2026-06-26 08:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051554 -2.791329)'), GeomFromEWKT('SRID=4674;POINT (-40.051585 -2.791217)'))) / (select extract(epoch from '2026-06-26 08:00:34'::timestamp) - extract(epoch from '2026-06-26 08:00: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'), 46941, 'SRID=4674;POINT (-40.051645 -2.791129)', '2026-06-26 08:00:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051585 -2.791217)'), GeomFromEWKT('SRID=4674;POINT (-40.051645 -2.791129)'))) / (select extract(epoch from '2026-06-26 08:00:39'::timestamp) - extract(epoch from '2026-06-26 08:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051585 -2.791217)'), GeomFromEWKT('SRID=4674;POINT (-40.051645 -2.791129)'))) / (select extract(epoch from '2026-06-26 08:00:39'::timestamp) - extract(epoch from '2026-06-26 08:00: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'), 46941, 'SRID=4674;POINT (-40.051706 -2.790996)', '2026-06-26 08:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051645 -2.791129)'), GeomFromEWKT('SRID=4674;POINT (-40.051706 -2.790996)'))) / (select extract(epoch from '2026-06-26 08:00:46'::timestamp) - extract(epoch from '2026-06-26 08:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051645 -2.791129)'), GeomFromEWKT('SRID=4674;POINT (-40.051706 -2.790996)'))) / (select extract(epoch from '2026-06-26 08:00:46'::timestamp) - extract(epoch from '2026-06-26 08:00:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05174 -2.790841)', '2026-06-26 08:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051706 -2.790996)'), GeomFromEWKT('SRID=4674;POINT (-40.05174 -2.790841)'))) / (select extract(epoch from '2026-06-26 08:00:54'::timestamp) - extract(epoch from '2026-06-26 08:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051706 -2.790996)'), GeomFromEWKT('SRID=4674;POINT (-40.05174 -2.790841)'))) / (select extract(epoch from '2026-06-26 08:00:54'::timestamp) - extract(epoch from '2026-06-26 08:00: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'), 46941, 'SRID=4674;POINT (-40.051729 -2.790746)', '2026-06-26 08:01:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05174 -2.790841)'), GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.790746)'))) / (select extract(epoch from '2026-06-26 08:01:02'::timestamp) - extract(epoch from '2026-06-26 08:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05174 -2.790841)'), GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.790746)'))) / (select extract(epoch from '2026-06-26 08:01:02'::timestamp) - extract(epoch from '2026-06-26 08:00: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'), 46941, 'SRID=4674;POINT (-40.051722 -2.790721)', '2026-06-26 08:01:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.790746)'), GeomFromEWKT('SRID=4674;POINT (-40.051722 -2.790721)'))) / (select extract(epoch from '2026-06-26 08:01:05'::timestamp) - extract(epoch from '2026-06-26 08:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.790746)'), GeomFromEWKT('SRID=4674;POINT (-40.051722 -2.790721)'))) / (select extract(epoch from '2026-06-26 08:01:05'::timestamp) - extract(epoch from '2026-06-26 08:01: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'), 46941, 'SRID=4674;POINT (-40.051717 -2.790701)', '2026-06-26 08:01:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051722 -2.790721)'), GeomFromEWKT('SRID=4674;POINT (-40.051717 -2.790701)'))) / (select extract(epoch from '2026-06-26 08:01:08'::timestamp) - extract(epoch from '2026-06-26 08:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051722 -2.790721)'), GeomFromEWKT('SRID=4674;POINT (-40.051717 -2.790701)'))) / (select extract(epoch from '2026-06-26 08:01:08'::timestamp) - extract(epoch from '2026-06-26 08:01: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'), 46941, 'SRID=4674;POINT (-40.051714 -2.790649)', '2026-06-26 08:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051717 -2.790701)'), GeomFromEWKT('SRID=4674;POINT (-40.051714 -2.790649)'))) / (select extract(epoch from '2026-06-26 08:01:18'::timestamp) - extract(epoch from '2026-06-26 08:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051717 -2.790701)'), GeomFromEWKT('SRID=4674;POINT (-40.051714 -2.790649)'))) / (select extract(epoch from '2026-06-26 08:01:18'::timestamp) - extract(epoch from '2026-06-26 08:01: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'), 46941, 'SRID=4674;POINT (-40.051751 -2.790593)', '2026-06-26 08:01:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051714 -2.790649)'), GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.790593)'))) / (select extract(epoch from '2026-06-26 08:01:38'::timestamp) - extract(epoch from '2026-06-26 08:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051714 -2.790649)'), GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.790593)'))) / (select extract(epoch from '2026-06-26 08:01:38'::timestamp) - extract(epoch from '2026-06-26 08:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051774 -2.790599)', '2026-06-26 08:01:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.790593)'), GeomFromEWKT('SRID=4674;POINT (-40.051774 -2.790599)'))) / (select extract(epoch from '2026-06-26 08:01:54'::timestamp) - extract(epoch from '2026-06-26 08:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.790593)'), GeomFromEWKT('SRID=4674;POINT (-40.051774 -2.790599)'))) / (select extract(epoch from '2026-06-26 08:01:54'::timestamp) - extract(epoch from '2026-06-26 08:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051809 -2.790616)', '2026-06-26 08:02:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051774 -2.790599)'), GeomFromEWKT('SRID=4674;POINT (-40.051809 -2.790616)'))) / (select extract(epoch from '2026-06-26 08:02:18'::timestamp) - extract(epoch from '2026-06-26 08:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051774 -2.790599)'), GeomFromEWKT('SRID=4674;POINT (-40.051809 -2.790616)'))) / (select extract(epoch from '2026-06-26 08:02:18'::timestamp) - extract(epoch from '2026-06-26 08:01: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'), 46941, 'SRID=4674;POINT (-40.0518 -2.790628)', '2026-06-26 08:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051809 -2.790616)'), GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.790628)'))) / (select extract(epoch from '2026-06-26 08:02:26'::timestamp) - extract(epoch from '2026-06-26 08:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051809 -2.790616)'), GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.790628)'))) / (select extract(epoch from '2026-06-26 08:02:26'::timestamp) - extract(epoch from '2026-06-26 08:02: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'), 46941, 'SRID=4674;POINT (-40.051793 -2.790641)', '2026-06-26 08:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.790628)'), GeomFromEWKT('SRID=4674;POINT (-40.051793 -2.790641)'))) / (select extract(epoch from '2026-06-26 08:02:34'::timestamp) - extract(epoch from '2026-06-26 08:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.790628)'), GeomFromEWKT('SRID=4674;POINT (-40.051793 -2.790641)'))) / (select extract(epoch from '2026-06-26 08:02:34'::timestamp) - extract(epoch from '2026-06-26 08:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051801 -2.790634)', '2026-06-26 08:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051793 -2.790641)'), GeomFromEWKT('SRID=4674;POINT (-40.051801 -2.790634)'))) / (select extract(epoch from '2026-06-26 08:02:42'::timestamp) - extract(epoch from '2026-06-26 08:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051793 -2.790641)'), GeomFromEWKT('SRID=4674;POINT (-40.051801 -2.790634)'))) / (select extract(epoch from '2026-06-26 08:02:42'::timestamp) - extract(epoch from '2026-06-26 08:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051812 -2.790631)', '2026-06-26 08:02:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051801 -2.790634)'), GeomFromEWKT('SRID=4674;POINT (-40.051812 -2.790631)'))) / (select extract(epoch from '2026-06-26 08:02:51'::timestamp) - extract(epoch from '2026-06-26 08:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051801 -2.790634)'), GeomFromEWKT('SRID=4674;POINT (-40.051812 -2.790631)'))) / (select extract(epoch from '2026-06-26 08:02:51'::timestamp) - extract(epoch from '2026-06-26 08:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051804 -2.790639)', '2026-06-26 08:03:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051812 -2.790631)'), GeomFromEWKT('SRID=4674;POINT (-40.051804 -2.790639)'))) / (select extract(epoch from '2026-06-26 08:03:01'::timestamp) - extract(epoch from '2026-06-26 08:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051812 -2.790631)'), GeomFromEWKT('SRID=4674;POINT (-40.051804 -2.790639)'))) / (select extract(epoch from '2026-06-26 08:03:01'::timestamp) - extract(epoch from '2026-06-26 08:02: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'), 46941, 'SRID=4674;POINT (-40.051794 -2.790633)', '2026-06-26 08:03:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051804 -2.790639)'), GeomFromEWKT('SRID=4674;POINT (-40.051794 -2.790633)'))) / (select extract(epoch from '2026-06-26 08:03:08'::timestamp) - extract(epoch from '2026-06-26 08:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051804 -2.790639)'), GeomFromEWKT('SRID=4674;POINT (-40.051794 -2.790633)'))) / (select extract(epoch from '2026-06-26 08:03:08'::timestamp) - extract(epoch from '2026-06-26 08:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051764 -2.790662)', '2026-06-26 08:03:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051794 -2.790633)'), GeomFromEWKT('SRID=4674;POINT (-40.051764 -2.790662)'))) / (select extract(epoch from '2026-06-26 08:03:27'::timestamp) - extract(epoch from '2026-06-26 08:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051794 -2.790633)'), GeomFromEWKT('SRID=4674;POINT (-40.051764 -2.790662)'))) / (select extract(epoch from '2026-06-26 08:03:27'::timestamp) - extract(epoch from '2026-06-26 08:03: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'), 46941, 'SRID=4674;POINT (-40.051686 -2.790715)', '2026-06-26 08:03:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051764 -2.790662)'), GeomFromEWKT('SRID=4674;POINT (-40.051686 -2.790715)'))) / (select extract(epoch from '2026-06-26 08:03:44'::timestamp) - extract(epoch from '2026-06-26 08:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051764 -2.790662)'), GeomFromEWKT('SRID=4674;POINT (-40.051686 -2.790715)'))) / (select extract(epoch from '2026-06-26 08:03:44'::timestamp) - extract(epoch from '2026-06-26 08:03: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'), 46941, 'SRID=4674;POINT (-40.051641 -2.79072)', '2026-06-26 08:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051686 -2.790715)'), GeomFromEWKT('SRID=4674;POINT (-40.051641 -2.79072)'))) / (select extract(epoch from '2026-06-26 08:03:50'::timestamp) - extract(epoch from '2026-06-26 08:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051686 -2.790715)'), GeomFromEWKT('SRID=4674;POINT (-40.051641 -2.79072)'))) / (select extract(epoch from '2026-06-26 08:03:50'::timestamp) - extract(epoch from '2026-06-26 08:03: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'), 46941, 'SRID=4674;POINT (-40.051608 -2.790701)', '2026-06-26 08:03:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051641 -2.79072)'), GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.790701)'))) / (select extract(epoch from '2026-06-26 08:03:54'::timestamp) - extract(epoch from '2026-06-26 08:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051641 -2.79072)'), GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.790701)'))) / (select extract(epoch from '2026-06-26 08:03:54'::timestamp) - extract(epoch from '2026-06-26 08:03: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'), 46941, 'SRID=4674;POINT (-40.051574 -2.790628)', '2026-06-26 08:04:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.790701)'), GeomFromEWKT('SRID=4674;POINT (-40.051574 -2.790628)'))) / (select extract(epoch from '2026-06-26 08:04:01'::timestamp) - extract(epoch from '2026-06-26 08:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.790701)'), GeomFromEWKT('SRID=4674;POINT (-40.051574 -2.790628)'))) / (select extract(epoch from '2026-06-26 08:04:01'::timestamp) - extract(epoch from '2026-06-26 08:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05157 -2.790465)', '2026-06-26 08:04:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051574 -2.790628)'), GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.790465)'))) / (select extract(epoch from '2026-06-26 08:04:11'::timestamp) - extract(epoch from '2026-06-26 08:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051574 -2.790628)'), GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.790465)'))) / (select extract(epoch from '2026-06-26 08:04:11'::timestamp) - extract(epoch from '2026-06-26 08:04: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'), 46941, 'SRID=4674;POINT (-40.051574 -2.790289)', '2026-06-26 08:04:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.790465)'), GeomFromEWKT('SRID=4674;POINT (-40.051574 -2.790289)'))) / (select extract(epoch from '2026-06-26 08:04:20'::timestamp) - extract(epoch from '2026-06-26 08:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.790465)'), GeomFromEWKT('SRID=4674;POINT (-40.051574 -2.790289)'))) / (select extract(epoch from '2026-06-26 08:04:20'::timestamp) - extract(epoch from '2026-06-26 08:04: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'), 46941, 'SRID=4674;POINT (-40.05157 -2.790267)', '2026-06-26 08:04:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051574 -2.790289)'), GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.790267)'))) / (select extract(epoch from '2026-06-26 08:04:21'::timestamp) - extract(epoch from '2026-06-26 08:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051574 -2.790289)'), GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.790267)'))) / (select extract(epoch from '2026-06-26 08:04:21'::timestamp) - extract(epoch from '2026-06-26 08:04: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'), 46941, 'SRID=4674;POINT (-40.051578 -2.790193)', '2026-06-26 08:04:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.790267)'), GeomFromEWKT('SRID=4674;POINT (-40.051578 -2.790193)'))) / (select extract(epoch from '2026-06-26 08:04:25'::timestamp) - extract(epoch from '2026-06-26 08:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.790267)'), GeomFromEWKT('SRID=4674;POINT (-40.051578 -2.790193)'))) / (select extract(epoch from '2026-06-26 08:04:25'::timestamp) - extract(epoch from '2026-06-26 08:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051579 -2.790175)', '2026-06-26 08:04:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051578 -2.790193)'), GeomFromEWKT('SRID=4674;POINT (-40.051579 -2.790175)'))) / (select extract(epoch from '2026-06-26 08:04:26'::timestamp) - extract(epoch from '2026-06-26 08:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051578 -2.790193)'), GeomFromEWKT('SRID=4674;POINT (-40.051579 -2.790175)'))) / (select extract(epoch from '2026-06-26 08:04:26'::timestamp) - extract(epoch from '2026-06-26 08:04: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'), 46941, 'SRID=4674;POINT (-40.051593 -2.790137)', '2026-06-26 08:04:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051579 -2.790175)'), GeomFromEWKT('SRID=4674;POINT (-40.051593 -2.790137)'))) / (select extract(epoch from '2026-06-26 08:04:28'::timestamp) - extract(epoch from '2026-06-26 08:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051579 -2.790175)'), GeomFromEWKT('SRID=4674;POINT (-40.051593 -2.790137)'))) / (select extract(epoch from '2026-06-26 08:04:28'::timestamp) - extract(epoch from '2026-06-26 08:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051586 -2.790112)', '2026-06-26 08:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051593 -2.790137)'), GeomFromEWKT('SRID=4674;POINT (-40.051586 -2.790112)'))) / (select extract(epoch from '2026-06-26 08:04:30'::timestamp) - extract(epoch from '2026-06-26 08:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051593 -2.790137)'), GeomFromEWKT('SRID=4674;POINT (-40.051586 -2.790112)'))) / (select extract(epoch from '2026-06-26 08:04:30'::timestamp) - extract(epoch from '2026-06-26 08:04:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051552 -2.790011)', '2026-06-26 08:04:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051586 -2.790112)'), GeomFromEWKT('SRID=4674;POINT (-40.051552 -2.790011)'))) / (select extract(epoch from '2026-06-26 08:04:38'::timestamp) - extract(epoch from '2026-06-26 08:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051586 -2.790112)'), GeomFromEWKT('SRID=4674;POINT (-40.051552 -2.790011)'))) / (select extract(epoch from '2026-06-26 08:04:38'::timestamp) - extract(epoch from '2026-06-26 08:04: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'), 46941, 'SRID=4674;POINT (-40.051567 -2.789904)', '2026-06-26 08:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051552 -2.790011)'), GeomFromEWKT('SRID=4674;POINT (-40.051567 -2.789904)'))) / (select extract(epoch from '2026-06-26 08:04:44'::timestamp) - extract(epoch from '2026-06-26 08:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051552 -2.790011)'), GeomFromEWKT('SRID=4674;POINT (-40.051567 -2.789904)'))) / (select extract(epoch from '2026-06-26 08:04:44'::timestamp) - extract(epoch from '2026-06-26 08:04: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'), 46941, 'SRID=4674;POINT (-40.051626 -2.789781)', '2026-06-26 08:04:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051567 -2.789904)'), GeomFromEWKT('SRID=4674;POINT (-40.051626 -2.789781)'))) / (select extract(epoch from '2026-06-26 08:04:51'::timestamp) - extract(epoch from '2026-06-26 08:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051567 -2.789904)'), GeomFromEWKT('SRID=4674;POINT (-40.051626 -2.789781)'))) / (select extract(epoch from '2026-06-26 08:04:51'::timestamp) - extract(epoch from '2026-06-26 08:04: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'), 46941, 'SRID=4674;POINT (-40.051652 -2.789666)', '2026-06-26 08:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051626 -2.789781)'), GeomFromEWKT('SRID=4674;POINT (-40.051652 -2.789666)'))) / (select extract(epoch from '2026-06-26 08:04:58'::timestamp) - extract(epoch from '2026-06-26 08:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051626 -2.789781)'), GeomFromEWKT('SRID=4674;POINT (-40.051652 -2.789666)'))) / (select extract(epoch from '2026-06-26 08:04:58'::timestamp) - extract(epoch from '2026-06-26 08:04: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'), 46941, 'SRID=4674;POINT (-40.051713 -2.789591)', '2026-06-26 08:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051652 -2.789666)'), GeomFromEWKT('SRID=4674;POINT (-40.051713 -2.789591)'))) / (select extract(epoch from '2026-06-26 08:05:04'::timestamp) - extract(epoch from '2026-06-26 08:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051652 -2.789666)'), GeomFromEWKT('SRID=4674;POINT (-40.051713 -2.789591)'))) / (select extract(epoch from '2026-06-26 08:05:04'::timestamp) - extract(epoch from '2026-06-26 08:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.0518 -2.789502)', '2026-06-26 08:05:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051713 -2.789591)'), GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.789502)'))) / (select extract(epoch from '2026-06-26 08:05:12'::timestamp) - extract(epoch from '2026-06-26 08:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051713 -2.789591)'), GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.789502)'))) / (select extract(epoch from '2026-06-26 08:05:12'::timestamp) - extract(epoch from '2026-06-26 08:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051905 -2.789427)', '2026-06-26 08:05:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.789502)'), GeomFromEWKT('SRID=4674;POINT (-40.051905 -2.789427)'))) / (select extract(epoch from '2026-06-26 08:05:20'::timestamp) - extract(epoch from '2026-06-26 08:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0518 -2.789502)'), GeomFromEWKT('SRID=4674;POINT (-40.051905 -2.789427)'))) / (select extract(epoch from '2026-06-26 08:05:20'::timestamp) - extract(epoch from '2026-06-26 08:05: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'), 46941, 'SRID=4674;POINT (-40.051995 -2.789333)', '2026-06-26 08:05:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051905 -2.789427)'), GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.789333)'))) / (select extract(epoch from '2026-06-26 08:05:29'::timestamp) - extract(epoch from '2026-06-26 08:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051905 -2.789427)'), GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.789333)'))) / (select extract(epoch from '2026-06-26 08:05:29'::timestamp) - extract(epoch from '2026-06-26 08:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052044 -2.789249)', '2026-06-26 08:05:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.789333)'), GeomFromEWKT('SRID=4674;POINT (-40.052044 -2.789249)'))) / (select extract(epoch from '2026-06-26 08:05:37'::timestamp) - extract(epoch from '2026-06-26 08:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.789333)'), GeomFromEWKT('SRID=4674;POINT (-40.052044 -2.789249)'))) / (select extract(epoch from '2026-06-26 08:05:37'::timestamp) - extract(epoch from '2026-06-26 08:05: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'), 46941, 'SRID=4674;POINT (-40.052091 -2.789171)', '2026-06-26 08:05:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052044 -2.789249)'), GeomFromEWKT('SRID=4674;POINT (-40.052091 -2.789171)'))) / (select extract(epoch from '2026-06-26 08:05:45'::timestamp) - extract(epoch from '2026-06-26 08:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052044 -2.789249)'), GeomFromEWKT('SRID=4674;POINT (-40.052091 -2.789171)'))) / (select extract(epoch from '2026-06-26 08:05:45'::timestamp) - extract(epoch from '2026-06-26 08:05: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'), 46941, 'SRID=4674;POINT (-40.052118 -2.789119)', '2026-06-26 08:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052091 -2.789171)'), GeomFromEWKT('SRID=4674;POINT (-40.052118 -2.789119)'))) / (select extract(epoch from '2026-06-26 08:05:51'::timestamp) - extract(epoch from '2026-06-26 08:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052091 -2.789171)'), GeomFromEWKT('SRID=4674;POINT (-40.052118 -2.789119)'))) / (select extract(epoch from '2026-06-26 08:05:51'::timestamp) - extract(epoch from '2026-06-26 08:05: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'), 46941, 'SRID=4674;POINT (-40.05212 -2.789062)', '2026-06-26 08:06:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052118 -2.789119)'), GeomFromEWKT('SRID=4674;POINT (-40.05212 -2.789062)'))) / (select extract(epoch from '2026-06-26 08:06:02'::timestamp) - extract(epoch from '2026-06-26 08:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052118 -2.789119)'), GeomFromEWKT('SRID=4674;POINT (-40.05212 -2.789062)'))) / (select extract(epoch from '2026-06-26 08:06:02'::timestamp) - extract(epoch from '2026-06-26 08:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052071 -2.789029)', '2026-06-26 08:06:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05212 -2.789062)'), GeomFromEWKT('SRID=4674;POINT (-40.052071 -2.789029)'))) / (select extract(epoch from '2026-06-26 08:06:11'::timestamp) - extract(epoch from '2026-06-26 08:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05212 -2.789062)'), GeomFromEWKT('SRID=4674;POINT (-40.052071 -2.789029)'))) / (select extract(epoch from '2026-06-26 08:06:11'::timestamp) - extract(epoch from '2026-06-26 08:06:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052013 -2.789066)', '2026-06-26 08:06:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052071 -2.789029)'), GeomFromEWKT('SRID=4674;POINT (-40.052013 -2.789066)'))) / (select extract(epoch from '2026-06-26 08:06:22'::timestamp) - extract(epoch from '2026-06-26 08:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052071 -2.789029)'), GeomFromEWKT('SRID=4674;POINT (-40.052013 -2.789066)'))) / (select extract(epoch from '2026-06-26 08:06:22'::timestamp) - extract(epoch from '2026-06-26 08:06: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'), 46941, 'SRID=4674;POINT (-40.052029 -2.789124)', '2026-06-26 08:06:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052013 -2.789066)'), GeomFromEWKT('SRID=4674;POINT (-40.052029 -2.789124)'))) / (select extract(epoch from '2026-06-26 08:06:30'::timestamp) - extract(epoch from '2026-06-26 08:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052013 -2.789066)'), GeomFromEWKT('SRID=4674;POINT (-40.052029 -2.789124)'))) / (select extract(epoch from '2026-06-26 08:06:30'::timestamp) - extract(epoch from '2026-06-26 08:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052075 -2.789213)', '2026-06-26 08:06:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052029 -2.789124)'), GeomFromEWKT('SRID=4674;POINT (-40.052075 -2.789213)'))) / (select extract(epoch from '2026-06-26 08:06:42'::timestamp) - extract(epoch from '2026-06-26 08:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052029 -2.789124)'), GeomFromEWKT('SRID=4674;POINT (-40.052075 -2.789213)'))) / (select extract(epoch from '2026-06-26 08:06:42'::timestamp) - extract(epoch from '2026-06-26 08:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052088 -2.78925)', '2026-06-26 08:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052075 -2.789213)'), GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.78925)'))) / (select extract(epoch from '2026-06-26 08:06:47'::timestamp) - extract(epoch from '2026-06-26 08:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052075 -2.789213)'), GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.78925)'))) / (select extract(epoch from '2026-06-26 08:06:47'::timestamp) - extract(epoch from '2026-06-26 08:06: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'), 46941, 'SRID=4674;POINT (-40.05209 -2.789256)', '2026-06-26 08:06:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.78925)'), GeomFromEWKT('SRID=4674;POINT (-40.05209 -2.789256)'))) / (select extract(epoch from '2026-06-26 08:06:48'::timestamp) - extract(epoch from '2026-06-26 08:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.78925)'), GeomFromEWKT('SRID=4674;POINT (-40.05209 -2.789256)'))) / (select extract(epoch from '2026-06-26 08:06:48'::timestamp) - extract(epoch from '2026-06-26 08:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
