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'), 47626, 'SRID=4674;POINT (-40.043421 -2.839634)', '2026-07-02 08:59:17', 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'), 47626, 'SRID=4674;POINT (-40.043239 -2.839363)', '2026-07-02 08:59:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043421 -2.839634)'), GeomFromEWKT('SRID=4674;POINT (-40.043239 -2.839363)'))) / (select extract(epoch from '2026-07-02 08:59:31'::timestamp) - extract(epoch from '2026-07-02 08:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043421 -2.839634)'), GeomFromEWKT('SRID=4674;POINT (-40.043239 -2.839363)'))) / (select extract(epoch from '2026-07-02 08:59:31'::timestamp) - extract(epoch from '2026-07-02 08:59: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'), 47626, 'SRID=4674;POINT (-40.043141 -2.839224)', '2026-07-02 08:59:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043239 -2.839363)'), GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.839224)'))) / (select extract(epoch from '2026-07-02 08:59:39'::timestamp) - extract(epoch from '2026-07-02 08:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043239 -2.839363)'), GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.839224)'))) / (select extract(epoch from '2026-07-02 08:59:39'::timestamp) - extract(epoch from '2026-07-02 08:59: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'), 47626, 'SRID=4674;POINT (-40.043032 -2.839089)', '2026-07-02 08:59:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.839224)'), GeomFromEWKT('SRID=4674;POINT (-40.043032 -2.839089)'))) / (select extract(epoch from '2026-07-02 08:59:47'::timestamp) - extract(epoch from '2026-07-02 08:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.839224)'), GeomFromEWKT('SRID=4674;POINT (-40.043032 -2.839089)'))) / (select extract(epoch from '2026-07-02 08:59:47'::timestamp) - extract(epoch from '2026-07-02 08:59: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'), 47626, 'SRID=4674;POINT (-40.042889 -2.838873)', '2026-07-02 08:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043032 -2.839089)'), GeomFromEWKT('SRID=4674;POINT (-40.042889 -2.838873)'))) / (select extract(epoch from '2026-07-02 08:59:59'::timestamp) - extract(epoch from '2026-07-02 08:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043032 -2.839089)'), GeomFromEWKT('SRID=4674;POINT (-40.042889 -2.838873)'))) / (select extract(epoch from '2026-07-02 08:59:59'::timestamp) - extract(epoch from '2026-07-02 08:59: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'), 47626, 'SRID=4674;POINT (-40.04276 -2.838591)', '2026-07-02 09:00:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042889 -2.838873)'), GeomFromEWKT('SRID=4674;POINT (-40.04276 -2.838591)'))) / (select extract(epoch from '2026-07-02 09:00:14'::timestamp) - extract(epoch from '2026-07-02 08:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042889 -2.838873)'), GeomFromEWKT('SRID=4674;POINT (-40.04276 -2.838591)'))) / (select extract(epoch from '2026-07-02 09:00:14'::timestamp) - extract(epoch from '2026-07-02 08: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'), 47626, 'SRID=4674;POINT (-40.042668 -2.838302)', '2026-07-02 09:00:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04276 -2.838591)'), GeomFromEWKT('SRID=4674;POINT (-40.042668 -2.838302)'))) / (select extract(epoch from '2026-07-02 09:00:29'::timestamp) - extract(epoch from '2026-07-02 09:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04276 -2.838591)'), GeomFromEWKT('SRID=4674;POINT (-40.042668 -2.838302)'))) / (select extract(epoch from '2026-07-02 09:00:29'::timestamp) - extract(epoch from '2026-07-02 09:00: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'), 47626, 'SRID=4674;POINT (-40.04258 -2.838023)', '2026-07-02 09:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042668 -2.838302)'), GeomFromEWKT('SRID=4674;POINT (-40.04258 -2.838023)'))) / (select extract(epoch from '2026-07-02 09:00:44'::timestamp) - extract(epoch from '2026-07-02 09:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042668 -2.838302)'), GeomFromEWKT('SRID=4674;POINT (-40.04258 -2.838023)'))) / (select extract(epoch from '2026-07-02 09:00:44'::timestamp) - extract(epoch from '2026-07-02 09:00:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042457 -2.837706)', '2026-07-02 09:01:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04258 -2.838023)'), GeomFromEWKT('SRID=4674;POINT (-40.042457 -2.837706)'))) / (select extract(epoch from '2026-07-02 09:01:01'::timestamp) - extract(epoch from '2026-07-02 09:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04258 -2.838023)'), GeomFromEWKT('SRID=4674;POINT (-40.042457 -2.837706)'))) / (select extract(epoch from '2026-07-02 09:01:01'::timestamp) - extract(epoch from '2026-07-02 09:00: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'), 47626, 'SRID=4674;POINT (-40.042398 -2.837407)', '2026-07-02 09:01:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042457 -2.837706)'), GeomFromEWKT('SRID=4674;POINT (-40.042398 -2.837407)'))) / (select extract(epoch from '2026-07-02 09:01:16'::timestamp) - extract(epoch from '2026-07-02 09:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042457 -2.837706)'), GeomFromEWKT('SRID=4674;POINT (-40.042398 -2.837407)'))) / (select extract(epoch from '2026-07-02 09:01:16'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.042374 -2.837144)', '2026-07-02 09:01:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042398 -2.837407)'), GeomFromEWKT('SRID=4674;POINT (-40.042374 -2.837144)'))) / (select extract(epoch from '2026-07-02 09:01:29'::timestamp) - extract(epoch from '2026-07-02 09:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042398 -2.837407)'), GeomFromEWKT('SRID=4674;POINT (-40.042374 -2.837144)'))) / (select extract(epoch from '2026-07-02 09:01:29'::timestamp) - extract(epoch from '2026-07-02 09:01: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'), 47626, 'SRID=4674;POINT (-40.042354 -2.836981)', '2026-07-02 09:01:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042374 -2.837144)'), GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.836981)'))) / (select extract(epoch from '2026-07-02 09:01:37'::timestamp) - extract(epoch from '2026-07-02 09:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042374 -2.837144)'), GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.836981)'))) / (select extract(epoch from '2026-07-02 09:01:37'::timestamp) - extract(epoch from '2026-07-02 09:01: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'), 47626, 'SRID=4674;POINT (-40.042339 -2.836652)', '2026-07-02 09:01:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.836981)'), GeomFromEWKT('SRID=4674;POINT (-40.042339 -2.836652)'))) / (select extract(epoch from '2026-07-02 09:01:53'::timestamp) - extract(epoch from '2026-07-02 09:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.836981)'), GeomFromEWKT('SRID=4674;POINT (-40.042339 -2.836652)'))) / (select extract(epoch from '2026-07-02 09:01:53'::timestamp) - extract(epoch from '2026-07-02 09:01: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'), 47626, 'SRID=4674;POINT (-40.042346 -2.83645)', '2026-07-02 09:02:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042339 -2.836652)'), GeomFromEWKT('SRID=4674;POINT (-40.042346 -2.83645)'))) / (select extract(epoch from '2026-07-02 09:02:03'::timestamp) - extract(epoch from '2026-07-02 09:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042339 -2.836652)'), GeomFromEWKT('SRID=4674;POINT (-40.042346 -2.83645)'))) / (select extract(epoch from '2026-07-02 09:02:03'::timestamp) - extract(epoch from '2026-07-02 09:01: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'), 47626, 'SRID=4674;POINT (-40.042365 -2.836228)', '2026-07-02 09:02:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042346 -2.83645)'), GeomFromEWKT('SRID=4674;POINT (-40.042365 -2.836228)'))) / (select extract(epoch from '2026-07-02 09:02:14'::timestamp) - extract(epoch from '2026-07-02 09:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042346 -2.83645)'), GeomFromEWKT('SRID=4674;POINT (-40.042365 -2.836228)'))) / (select extract(epoch from '2026-07-02 09:02:14'::timestamp) - extract(epoch from '2026-07-02 09:02: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'), 47626, 'SRID=4674;POINT (-40.042366 -2.835969)', '2026-07-02 09:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042365 -2.836228)'), GeomFromEWKT('SRID=4674;POINT (-40.042366 -2.835969)'))) / (select extract(epoch from '2026-07-02 09:02:26'::timestamp) - extract(epoch from '2026-07-02 09:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042365 -2.836228)'), GeomFromEWKT('SRID=4674;POINT (-40.042366 -2.835969)'))) / (select extract(epoch from '2026-07-02 09:02:26'::timestamp) - extract(epoch from '2026-07-02 09:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042318 -2.835708)', '2026-07-02 09:02:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042366 -2.835969)'), GeomFromEWKT('SRID=4674;POINT (-40.042318 -2.835708)'))) / (select extract(epoch from '2026-07-02 09:02:38'::timestamp) - extract(epoch from '2026-07-02 09:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042366 -2.835969)'), GeomFromEWKT('SRID=4674;POINT (-40.042318 -2.835708)'))) / (select extract(epoch from '2026-07-02 09:02:38'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.042272 -2.835369)', '2026-07-02 09:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042318 -2.835708)'), GeomFromEWKT('SRID=4674;POINT (-40.042272 -2.835369)'))) / (select extract(epoch from '2026-07-02 09:02:53'::timestamp) - extract(epoch from '2026-07-02 09:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042318 -2.835708)'), GeomFromEWKT('SRID=4674;POINT (-40.042272 -2.835369)'))) / (select extract(epoch from '2026-07-02 09:02:53'::timestamp) - extract(epoch from '2026-07-02 09:02: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'), 47626, 'SRID=4674;POINT (-40.042267 -2.835051)', '2026-07-02 09:03:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042272 -2.835369)'), GeomFromEWKT('SRID=4674;POINT (-40.042267 -2.835051)'))) / (select extract(epoch from '2026-07-02 09:03:07'::timestamp) - extract(epoch from '2026-07-02 09:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042272 -2.835369)'), GeomFromEWKT('SRID=4674;POINT (-40.042267 -2.835051)'))) / (select extract(epoch from '2026-07-02 09:03:07'::timestamp) - extract(epoch from '2026-07-02 09:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042264 -2.834828)', '2026-07-02 09:03:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042267 -2.835051)'), GeomFromEWKT('SRID=4674;POINT (-40.042264 -2.834828)'))) / (select extract(epoch from '2026-07-02 09:03:17'::timestamp) - extract(epoch from '2026-07-02 09:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042267 -2.835051)'), GeomFromEWKT('SRID=4674;POINT (-40.042264 -2.834828)'))) / (select extract(epoch from '2026-07-02 09:03:17'::timestamp) - extract(epoch from '2026-07-02 09:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042289 -2.834583)', '2026-07-02 09:03:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042264 -2.834828)'), GeomFromEWKT('SRID=4674;POINT (-40.042289 -2.834583)'))) / (select extract(epoch from '2026-07-02 09:03:28'::timestamp) - extract(epoch from '2026-07-02 09:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042264 -2.834828)'), GeomFromEWKT('SRID=4674;POINT (-40.042289 -2.834583)'))) / (select extract(epoch from '2026-07-02 09:03:28'::timestamp) - extract(epoch from '2026-07-02 09:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042315 -2.834371)', '2026-07-02 09:03:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042289 -2.834583)'), GeomFromEWKT('SRID=4674;POINT (-40.042315 -2.834371)'))) / (select extract(epoch from '2026-07-02 09:03:38'::timestamp) - extract(epoch from '2026-07-02 09:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042289 -2.834583)'), GeomFromEWKT('SRID=4674;POINT (-40.042315 -2.834371)'))) / (select extract(epoch from '2026-07-02 09:03:38'::timestamp) - extract(epoch from '2026-07-02 09:03: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'), 47626, 'SRID=4674;POINT (-40.042344 -2.834179)', '2026-07-02 09:03:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042315 -2.834371)'), GeomFromEWKT('SRID=4674;POINT (-40.042344 -2.834179)'))) / (select extract(epoch from '2026-07-02 09:03:47'::timestamp) - extract(epoch from '2026-07-02 09:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042315 -2.834371)'), GeomFromEWKT('SRID=4674;POINT (-40.042344 -2.834179)'))) / (select extract(epoch from '2026-07-02 09:03:47'::timestamp) - extract(epoch from '2026-07-02 09:03: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'), 47626, 'SRID=4674;POINT (-40.042365 -2.833909)', '2026-07-02 09:04:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042344 -2.834179)'), GeomFromEWKT('SRID=4674;POINT (-40.042365 -2.833909)'))) / (select extract(epoch from '2026-07-02 09:04:00'::timestamp) - extract(epoch from '2026-07-02 09:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042344 -2.834179)'), GeomFromEWKT('SRID=4674;POINT (-40.042365 -2.833909)'))) / (select extract(epoch from '2026-07-02 09:04:00'::timestamp) - extract(epoch from '2026-07-02 09:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042371 -2.833631)', '2026-07-02 09:04:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042365 -2.833909)'), GeomFromEWKT('SRID=4674;POINT (-40.042371 -2.833631)'))) / (select extract(epoch from '2026-07-02 09:04:14'::timestamp) - extract(epoch from '2026-07-02 09:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042365 -2.833909)'), GeomFromEWKT('SRID=4674;POINT (-40.042371 -2.833631)'))) / (select extract(epoch from '2026-07-02 09:04:14'::timestamp) - extract(epoch from '2026-07-02 09:04: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'), 47626, 'SRID=4674;POINT (-40.042334 -2.833448)', '2026-07-02 09:04:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042371 -2.833631)'), GeomFromEWKT('SRID=4674;POINT (-40.042334 -2.833448)'))) / (select extract(epoch from '2026-07-02 09:04:24'::timestamp) - extract(epoch from '2026-07-02 09:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042371 -2.833631)'), GeomFromEWKT('SRID=4674;POINT (-40.042334 -2.833448)'))) / (select extract(epoch from '2026-07-02 09:04:24'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.042354 -2.833237)', '2026-07-02 09:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042334 -2.833448)'), GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.833237)'))) / (select extract(epoch from '2026-07-02 09:04:35'::timestamp) - extract(epoch from '2026-07-02 09:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042334 -2.833448)'), GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.833237)'))) / (select extract(epoch from '2026-07-02 09:04:35'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.042376 -2.833007)', '2026-07-02 09:04:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.833237)'), GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.833007)'))) / (select extract(epoch from '2026-07-02 09:04:47'::timestamp) - extract(epoch from '2026-07-02 09:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.833237)'), GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.833007)'))) / (select extract(epoch from '2026-07-02 09:04:47'::timestamp) - extract(epoch from '2026-07-02 09:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042406 -2.832746)', '2026-07-02 09:05:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.833007)'), GeomFromEWKT('SRID=4674;POINT (-40.042406 -2.832746)'))) / (select extract(epoch from '2026-07-02 09:05:00'::timestamp) - extract(epoch from '2026-07-02 09:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.833007)'), GeomFromEWKT('SRID=4674;POINT (-40.042406 -2.832746)'))) / (select extract(epoch from '2026-07-02 09:05:00'::timestamp) - extract(epoch from '2026-07-02 09:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.04244 -2.832468)', '2026-07-02 09:05:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042406 -2.832746)'), GeomFromEWKT('SRID=4674;POINT (-40.04244 -2.832468)'))) / (select extract(epoch from '2026-07-02 09:05:14'::timestamp) - extract(epoch from '2026-07-02 09:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042406 -2.832746)'), GeomFromEWKT('SRID=4674;POINT (-40.04244 -2.832468)'))) / (select extract(epoch from '2026-07-02 09:05:14'::timestamp) - extract(epoch from '2026-07-02 09:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042445 -2.832283)', '2026-07-02 09:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04244 -2.832468)'), GeomFromEWKT('SRID=4674;POINT (-40.042445 -2.832283)'))) / (select extract(epoch from '2026-07-02 09:05:23'::timestamp) - extract(epoch from '2026-07-02 09:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04244 -2.832468)'), GeomFromEWKT('SRID=4674;POINT (-40.042445 -2.832283)'))) / (select extract(epoch from '2026-07-02 09:05:23'::timestamp) - extract(epoch from '2026-07-02 09:05: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'), 47626, 'SRID=4674;POINT (-40.042446 -2.831999)', '2026-07-02 09:05:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042445 -2.832283)'), GeomFromEWKT('SRID=4674;POINT (-40.042446 -2.831999)'))) / (select extract(epoch from '2026-07-02 09:05:37'::timestamp) - extract(epoch from '2026-07-02 09:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042445 -2.832283)'), GeomFromEWKT('SRID=4674;POINT (-40.042446 -2.831999)'))) / (select extract(epoch from '2026-07-02 09:05:37'::timestamp) - extract(epoch from '2026-07-02 09:05: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'), 47626, 'SRID=4674;POINT (-40.042453 -2.831815)', '2026-07-02 09:05:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042446 -2.831999)'), GeomFromEWKT('SRID=4674;POINT (-40.042453 -2.831815)'))) / (select extract(epoch from '2026-07-02 09:05:46'::timestamp) - extract(epoch from '2026-07-02 09:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042446 -2.831999)'), GeomFromEWKT('SRID=4674;POINT (-40.042453 -2.831815)'))) / (select extract(epoch from '2026-07-02 09:05:46'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.042465 -2.831634)', '2026-07-02 09:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042453 -2.831815)'), GeomFromEWKT('SRID=4674;POINT (-40.042465 -2.831634)'))) / (select extract(epoch from '2026-07-02 09:05:55'::timestamp) - extract(epoch from '2026-07-02 09:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042453 -2.831815)'), GeomFromEWKT('SRID=4674;POINT (-40.042465 -2.831634)'))) / (select extract(epoch from '2026-07-02 09:05:55'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.042462 -2.831426)', '2026-07-02 09:06:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042465 -2.831634)'), GeomFromEWKT('SRID=4674;POINT (-40.042462 -2.831426)'))) / (select extract(epoch from '2026-07-02 09:06:05'::timestamp) - extract(epoch from '2026-07-02 09:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042465 -2.831634)'), GeomFromEWKT('SRID=4674;POINT (-40.042462 -2.831426)'))) / (select extract(epoch from '2026-07-02 09:06:05'::timestamp) - extract(epoch from '2026-07-02 09:05: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'), 47626, 'SRID=4674;POINT (-40.042497 -2.831205)', '2026-07-02 09:06:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042462 -2.831426)'), GeomFromEWKT('SRID=4674;POINT (-40.042497 -2.831205)'))) / (select extract(epoch from '2026-07-02 09:06:16'::timestamp) - extract(epoch from '2026-07-02 09:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042462 -2.831426)'), GeomFromEWKT('SRID=4674;POINT (-40.042497 -2.831205)'))) / (select extract(epoch from '2026-07-02 09:06:16'::timestamp) - extract(epoch from '2026-07-02 09:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042553 -2.830938)', '2026-07-02 09:06:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042497 -2.831205)'), GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.830938)'))) / (select extract(epoch from '2026-07-02 09:06:30'::timestamp) - extract(epoch from '2026-07-02 09:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042497 -2.831205)'), GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.830938)'))) / (select extract(epoch from '2026-07-02 09:06:30'::timestamp) - extract(epoch from '2026-07-02 09:06: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'), 47626, 'SRID=4674;POINT (-40.042578 -2.830732)', '2026-07-02 09:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.830938)'), GeomFromEWKT('SRID=4674;POINT (-40.042578 -2.830732)'))) / (select extract(epoch from '2026-07-02 09:06:41'::timestamp) - extract(epoch from '2026-07-02 09:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.830938)'), GeomFromEWKT('SRID=4674;POINT (-40.042578 -2.830732)'))) / (select extract(epoch from '2026-07-02 09:06:41'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.042587 -2.830527)', '2026-07-02 09:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042578 -2.830732)'), GeomFromEWKT('SRID=4674;POINT (-40.042587 -2.830527)'))) / (select extract(epoch from '2026-07-02 09:06:52'::timestamp) - extract(epoch from '2026-07-02 09:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042578 -2.830732)'), GeomFromEWKT('SRID=4674;POINT (-40.042587 -2.830527)'))) / (select extract(epoch from '2026-07-02 09:06:52'::timestamp) - extract(epoch from '2026-07-02 09:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042608 -2.830412)', '2026-07-02 09:06:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042587 -2.830527)'), GeomFromEWKT('SRID=4674;POINT (-40.042608 -2.830412)'))) / (select extract(epoch from '2026-07-02 09:06:58'::timestamp) - extract(epoch from '2026-07-02 09:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042587 -2.830527)'), GeomFromEWKT('SRID=4674;POINT (-40.042608 -2.830412)'))) / (select extract(epoch from '2026-07-02 09:06:58'::timestamp) - extract(epoch from '2026-07-02 09:06: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'), 47626, 'SRID=4674;POINT (-40.042623 -2.830259)', '2026-07-02 09:07:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042608 -2.830412)'), GeomFromEWKT('SRID=4674;POINT (-40.042623 -2.830259)'))) / (select extract(epoch from '2026-07-02 09:07:06'::timestamp) - extract(epoch from '2026-07-02 09:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042608 -2.830412)'), GeomFromEWKT('SRID=4674;POINT (-40.042623 -2.830259)'))) / (select extract(epoch from '2026-07-02 09:07:06'::timestamp) - extract(epoch from '2026-07-02 09:06: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'), 47626, 'SRID=4674;POINT (-40.042627 -2.83006)', '2026-07-02 09:07:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042623 -2.830259)'), GeomFromEWKT('SRID=4674;POINT (-40.042627 -2.83006)'))) / (select extract(epoch from '2026-07-02 09:07:15'::timestamp) - extract(epoch from '2026-07-02 09:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042623 -2.830259)'), GeomFromEWKT('SRID=4674;POINT (-40.042627 -2.83006)'))) / (select extract(epoch from '2026-07-02 09:07:15'::timestamp) - extract(epoch from '2026-07-02 09:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042663 -2.829849)', '2026-07-02 09:07:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042627 -2.83006)'), GeomFromEWKT('SRID=4674;POINT (-40.042663 -2.829849)'))) / (select extract(epoch from '2026-07-02 09:07:24'::timestamp) - extract(epoch from '2026-07-02 09:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042627 -2.83006)'), GeomFromEWKT('SRID=4674;POINT (-40.042663 -2.829849)'))) / (select extract(epoch from '2026-07-02 09:07:24'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.042682 -2.829625)', '2026-07-02 09:07:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042663 -2.829849)'), GeomFromEWKT('SRID=4674;POINT (-40.042682 -2.829625)'))) / (select extract(epoch from '2026-07-02 09:07:34'::timestamp) - extract(epoch from '2026-07-02 09:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042663 -2.829849)'), GeomFromEWKT('SRID=4674;POINT (-40.042682 -2.829625)'))) / (select extract(epoch from '2026-07-02 09:07:34'::timestamp) - extract(epoch from '2026-07-02 09:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042712 -2.829454)', '2026-07-02 09:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042682 -2.829625)'), GeomFromEWKT('SRID=4674;POINT (-40.042712 -2.829454)'))) / (select extract(epoch from '2026-07-02 09:07:42'::timestamp) - extract(epoch from '2026-07-02 09:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042682 -2.829625)'), GeomFromEWKT('SRID=4674;POINT (-40.042712 -2.829454)'))) / (select extract(epoch from '2026-07-02 09:07:42'::timestamp) - extract(epoch from '2026-07-02 09:07: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'), 47626, 'SRID=4674;POINT (-40.042761 -2.829313)', '2026-07-02 09:07:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042712 -2.829454)'), GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.829313)'))) / (select extract(epoch from '2026-07-02 09:07:49'::timestamp) - extract(epoch from '2026-07-02 09:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042712 -2.829454)'), GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.829313)'))) / (select extract(epoch from '2026-07-02 09:07:49'::timestamp) - extract(epoch from '2026-07-02 09:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042799 -2.829117)', '2026-07-02 09:07:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.829313)'), GeomFromEWKT('SRID=4674;POINT (-40.042799 -2.829117)'))) / (select extract(epoch from '2026-07-02 09:07:58'::timestamp) - extract(epoch from '2026-07-02 09:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.829313)'), GeomFromEWKT('SRID=4674;POINT (-40.042799 -2.829117)'))) / (select extract(epoch from '2026-07-02 09:07:58'::timestamp) - extract(epoch from '2026-07-02 09:07: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'), 47626, 'SRID=4674;POINT (-40.042809 -2.828963)', '2026-07-02 09:08:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042799 -2.829117)'), GeomFromEWKT('SRID=4674;POINT (-40.042809 -2.828963)'))) / (select extract(epoch from '2026-07-02 09:08:05'::timestamp) - extract(epoch from '2026-07-02 09:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042799 -2.829117)'), GeomFromEWKT('SRID=4674;POINT (-40.042809 -2.828963)'))) / (select extract(epoch from '2026-07-02 09:08:05'::timestamp) - extract(epoch from '2026-07-02 09:07: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'), 47626, 'SRID=4674;POINT (-40.042815 -2.828765)', '2026-07-02 09:08:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042809 -2.828963)'), GeomFromEWKT('SRID=4674;POINT (-40.042815 -2.828765)'))) / (select extract(epoch from '2026-07-02 09:08:14'::timestamp) - extract(epoch from '2026-07-02 09:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042809 -2.828963)'), GeomFromEWKT('SRID=4674;POINT (-40.042815 -2.828765)'))) / (select extract(epoch from '2026-07-02 09:08:14'::timestamp) - extract(epoch from '2026-07-02 09:08: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'), 47626, 'SRID=4674;POINT (-40.04284 -2.828589)', '2026-07-02 09:08:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042815 -2.828765)'), GeomFromEWKT('SRID=4674;POINT (-40.04284 -2.828589)'))) / (select extract(epoch from '2026-07-02 09:08:22'::timestamp) - extract(epoch from '2026-07-02 09:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042815 -2.828765)'), GeomFromEWKT('SRID=4674;POINT (-40.04284 -2.828589)'))) / (select extract(epoch from '2026-07-02 09:08:22'::timestamp) - extract(epoch from '2026-07-02 09:08: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'), 47626, 'SRID=4674;POINT (-40.042855 -2.828388)', '2026-07-02 09:08:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04284 -2.828589)'), GeomFromEWKT('SRID=4674;POINT (-40.042855 -2.828388)'))) / (select extract(epoch from '2026-07-02 09:08:31'::timestamp) - extract(epoch from '2026-07-02 09:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04284 -2.828589)'), GeomFromEWKT('SRID=4674;POINT (-40.042855 -2.828388)'))) / (select extract(epoch from '2026-07-02 09:08:31'::timestamp) - extract(epoch from '2026-07-02 09:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042842 -2.8282)', '2026-07-02 09:08:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042855 -2.828388)'), GeomFromEWKT('SRID=4674;POINT (-40.042842 -2.8282)'))) / (select extract(epoch from '2026-07-02 09:08:40'::timestamp) - extract(epoch from '2026-07-02 09:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042855 -2.828388)'), GeomFromEWKT('SRID=4674;POINT (-40.042842 -2.8282)'))) / (select extract(epoch from '2026-07-02 09:08:40'::timestamp) - extract(epoch from '2026-07-02 09:08:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.04282 -2.82804)', '2026-07-02 09:08:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042842 -2.8282)'), GeomFromEWKT('SRID=4674;POINT (-40.04282 -2.82804)'))) / (select extract(epoch from '2026-07-02 09:08:48'::timestamp) - extract(epoch from '2026-07-02 09:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042842 -2.8282)'), GeomFromEWKT('SRID=4674;POINT (-40.04282 -2.82804)'))) / (select extract(epoch from '2026-07-02 09:08:48'::timestamp) - extract(epoch from '2026-07-02 09:08:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042816 -2.827875)', '2026-07-02 09:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04282 -2.82804)'), GeomFromEWKT('SRID=4674;POINT (-40.042816 -2.827875)'))) / (select extract(epoch from '2026-07-02 09:08:56'::timestamp) - extract(epoch from '2026-07-02 09:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04282 -2.82804)'), GeomFromEWKT('SRID=4674;POINT (-40.042816 -2.827875)'))) / (select extract(epoch from '2026-07-02 09:08:56'::timestamp) - extract(epoch from '2026-07-02 09:08:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042817 -2.827663)', '2026-07-02 09:09:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042816 -2.827875)'), GeomFromEWKT('SRID=4674;POINT (-40.042817 -2.827663)'))) / (select extract(epoch from '2026-07-02 09:09:06'::timestamp) - extract(epoch from '2026-07-02 09:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042816 -2.827875)'), GeomFromEWKT('SRID=4674;POINT (-40.042817 -2.827663)'))) / (select extract(epoch from '2026-07-02 09:09:06'::timestamp) - extract(epoch from '2026-07-02 09:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042825 -2.827471)', '2026-07-02 09:09:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042817 -2.827663)'), GeomFromEWKT('SRID=4674;POINT (-40.042825 -2.827471)'))) / (select extract(epoch from '2026-07-02 09:09:15'::timestamp) - extract(epoch from '2026-07-02 09:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042817 -2.827663)'), GeomFromEWKT('SRID=4674;POINT (-40.042825 -2.827471)'))) / (select extract(epoch from '2026-07-02 09:09:15'::timestamp) - extract(epoch from '2026-07-02 09:09: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'), 47626, 'SRID=4674;POINT (-40.042862 -2.827278)', '2026-07-02 09:09:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042825 -2.827471)'), GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.827278)'))) / (select extract(epoch from '2026-07-02 09:09:24'::timestamp) - extract(epoch from '2026-07-02 09:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042825 -2.827471)'), GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.827278)'))) / (select extract(epoch from '2026-07-02 09:09:24'::timestamp) - extract(epoch from '2026-07-02 09:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042911 -2.827109)', '2026-07-02 09:09:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.827278)'), GeomFromEWKT('SRID=4674;POINT (-40.042911 -2.827109)'))) / (select extract(epoch from '2026-07-02 09:09:32'::timestamp) - extract(epoch from '2026-07-02 09:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.827278)'), GeomFromEWKT('SRID=4674;POINT (-40.042911 -2.827109)'))) / (select extract(epoch from '2026-07-02 09:09:32'::timestamp) - extract(epoch from '2026-07-02 09:09:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042942 -2.826937)', '2026-07-02 09:09:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042911 -2.827109)'), GeomFromEWKT('SRID=4674;POINT (-40.042942 -2.826937)'))) / (select extract(epoch from '2026-07-02 09:09:40'::timestamp) - extract(epoch from '2026-07-02 09:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042911 -2.827109)'), GeomFromEWKT('SRID=4674;POINT (-40.042942 -2.826937)'))) / (select extract(epoch from '2026-07-02 09:09:40'::timestamp) - extract(epoch from '2026-07-02 09:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042987 -2.826696)', '2026-07-02 09:09:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042942 -2.826937)'), GeomFromEWKT('SRID=4674;POINT (-40.042987 -2.826696)'))) / (select extract(epoch from '2026-07-02 09:09:51'::timestamp) - extract(epoch from '2026-07-02 09:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042942 -2.826937)'), GeomFromEWKT('SRID=4674;POINT (-40.042987 -2.826696)'))) / (select extract(epoch from '2026-07-02 09:09:51'::timestamp) - extract(epoch from '2026-07-02 09:09: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'), 47626, 'SRID=4674;POINT (-40.043011 -2.826476)', '2026-07-02 09:10:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042987 -2.826696)'), GeomFromEWKT('SRID=4674;POINT (-40.043011 -2.826476)'))) / (select extract(epoch from '2026-07-02 09:10:01'::timestamp) - extract(epoch from '2026-07-02 09:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042987 -2.826696)'), GeomFromEWKT('SRID=4674;POINT (-40.043011 -2.826476)'))) / (select extract(epoch from '2026-07-02 09:10:01'::timestamp) - extract(epoch from '2026-07-02 09:09: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'), 47626, 'SRID=4674;POINT (-40.043046 -2.826211)', '2026-07-02 09:10:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043011 -2.826476)'), GeomFromEWKT('SRID=4674;POINT (-40.043046 -2.826211)'))) / (select extract(epoch from '2026-07-02 09:10:13'::timestamp) - extract(epoch from '2026-07-02 09:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043011 -2.826476)'), GeomFromEWKT('SRID=4674;POINT (-40.043046 -2.826211)'))) / (select extract(epoch from '2026-07-02 09:10:13'::timestamp) - extract(epoch from '2026-07-02 09:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043088 -2.825956)', '2026-07-02 09:10:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043046 -2.826211)'), GeomFromEWKT('SRID=4674;POINT (-40.043088 -2.825956)'))) / (select extract(epoch from '2026-07-02 09:10:24'::timestamp) - extract(epoch from '2026-07-02 09:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043046 -2.826211)'), GeomFromEWKT('SRID=4674;POINT (-40.043088 -2.825956)'))) / (select extract(epoch from '2026-07-02 09:10:24'::timestamp) - extract(epoch from '2026-07-02 09:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043128 -2.825723)', '2026-07-02 09:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043088 -2.825956)'), GeomFromEWKT('SRID=4674;POINT (-40.043128 -2.825723)'))) / (select extract(epoch from '2026-07-02 09:10:34'::timestamp) - extract(epoch from '2026-07-02 09:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043088 -2.825956)'), GeomFromEWKT('SRID=4674;POINT (-40.043128 -2.825723)'))) / (select extract(epoch from '2026-07-02 09:10:34'::timestamp) - extract(epoch from '2026-07-02 09:10: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'), 47626, 'SRID=4674;POINT (-40.043197 -2.825477)', '2026-07-02 09:10:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043128 -2.825723)'), GeomFromEWKT('SRID=4674;POINT (-40.043197 -2.825477)'))) / (select extract(epoch from '2026-07-02 09:10:45'::timestamp) - extract(epoch from '2026-07-02 09:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043128 -2.825723)'), GeomFromEWKT('SRID=4674;POINT (-40.043197 -2.825477)'))) / (select extract(epoch from '2026-07-02 09:10:45'::timestamp) - extract(epoch from '2026-07-02 09:10: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'), 47626, 'SRID=4674;POINT (-40.043243 -2.825321)', '2026-07-02 09:10:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043197 -2.825477)'), GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.825321)'))) / (select extract(epoch from '2026-07-02 09:10:52'::timestamp) - extract(epoch from '2026-07-02 09:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043197 -2.825477)'), GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.825321)'))) / (select extract(epoch from '2026-07-02 09:10:52'::timestamp) - extract(epoch from '2026-07-02 09:10: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'), 47626, 'SRID=4674;POINT (-40.043273 -2.825141)', '2026-07-02 09:11:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.825321)'), GeomFromEWKT('SRID=4674;POINT (-40.043273 -2.825141)'))) / (select extract(epoch from '2026-07-02 09:11:00'::timestamp) - extract(epoch from '2026-07-02 09:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.825321)'), GeomFromEWKT('SRID=4674;POINT (-40.043273 -2.825141)'))) / (select extract(epoch from '2026-07-02 09:11:00'::timestamp) - extract(epoch from '2026-07-02 09:10: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'), 47626, 'SRID=4674;POINT (-40.0433 -2.824895)', '2026-07-02 09:11:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043273 -2.825141)'), GeomFromEWKT('SRID=4674;POINT (-40.0433 -2.824895)'))) / (select extract(epoch from '2026-07-02 09:11:11'::timestamp) - extract(epoch from '2026-07-02 09:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043273 -2.825141)'), GeomFromEWKT('SRID=4674;POINT (-40.0433 -2.824895)'))) / (select extract(epoch from '2026-07-02 09:11:11'::timestamp) - extract(epoch from '2026-07-02 09:11: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'), 47626, 'SRID=4674;POINT (-40.043326 -2.824653)', '2026-07-02 09:11:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0433 -2.824895)'), GeomFromEWKT('SRID=4674;POINT (-40.043326 -2.824653)'))) / (select extract(epoch from '2026-07-02 09:11:22'::timestamp) - extract(epoch from '2026-07-02 09:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0433 -2.824895)'), GeomFromEWKT('SRID=4674;POINT (-40.043326 -2.824653)'))) / (select extract(epoch from '2026-07-02 09:11:22'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.043366 -2.82441)', '2026-07-02 09:11:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043326 -2.824653)'), GeomFromEWKT('SRID=4674;POINT (-40.043366 -2.82441)'))) / (select extract(epoch from '2026-07-02 09:11:33'::timestamp) - extract(epoch from '2026-07-02 09:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043326 -2.824653)'), GeomFromEWKT('SRID=4674;POINT (-40.043366 -2.82441)'))) / (select extract(epoch from '2026-07-02 09:11:33'::timestamp) - extract(epoch from '2026-07-02 09:11: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'), 47626, 'SRID=4674;POINT (-40.043383 -2.824265)', '2026-07-02 09:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043366 -2.82441)'), GeomFromEWKT('SRID=4674;POINT (-40.043383 -2.824265)'))) / (select extract(epoch from '2026-07-02 09:11:40'::timestamp) - extract(epoch from '2026-07-02 09:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043366 -2.82441)'), GeomFromEWKT('SRID=4674;POINT (-40.043383 -2.824265)'))) / (select extract(epoch from '2026-07-02 09:11:40'::timestamp) - extract(epoch from '2026-07-02 09:11: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'), 47626, 'SRID=4674;POINT (-40.043397 -2.824134)', '2026-07-02 09:11:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043383 -2.824265)'), GeomFromEWKT('SRID=4674;POINT (-40.043397 -2.824134)'))) / (select extract(epoch from '2026-07-02 09:11:46'::timestamp) - extract(epoch from '2026-07-02 09:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043383 -2.824265)'), GeomFromEWKT('SRID=4674;POINT (-40.043397 -2.824134)'))) / (select extract(epoch from '2026-07-02 09:11:46'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.043424 -2.823983)', '2026-07-02 09:11:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043397 -2.824134)'), GeomFromEWKT('SRID=4674;POINT (-40.043424 -2.823983)'))) / (select extract(epoch from '2026-07-02 09:11:53'::timestamp) - extract(epoch from '2026-07-02 09:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043397 -2.824134)'), GeomFromEWKT('SRID=4674;POINT (-40.043424 -2.823983)'))) / (select extract(epoch from '2026-07-02 09:11:53'::timestamp) - extract(epoch from '2026-07-02 09:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043464 -2.823762)', '2026-07-02 09:12:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043424 -2.823983)'), GeomFromEWKT('SRID=4674;POINT (-40.043464 -2.823762)'))) / (select extract(epoch from '2026-07-02 09:12:03'::timestamp) - extract(epoch from '2026-07-02 09:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043424 -2.823983)'), GeomFromEWKT('SRID=4674;POINT (-40.043464 -2.823762)'))) / (select extract(epoch from '2026-07-02 09:12:03'::timestamp) - extract(epoch from '2026-07-02 09:11: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'), 47626, 'SRID=4674;POINT (-40.043507 -2.823565)', '2026-07-02 09:12:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043464 -2.823762)'), GeomFromEWKT('SRID=4674;POINT (-40.043507 -2.823565)'))) / (select extract(epoch from '2026-07-02 09:12:12'::timestamp) - extract(epoch from '2026-07-02 09:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043464 -2.823762)'), GeomFromEWKT('SRID=4674;POINT (-40.043507 -2.823565)'))) / (select extract(epoch from '2026-07-02 09:12:12'::timestamp) - extract(epoch from '2026-07-02 09:12: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'), 47626, 'SRID=4674;POINT (-40.043556 -2.823371)', '2026-07-02 09:12:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043507 -2.823565)'), GeomFromEWKT('SRID=4674;POINT (-40.043556 -2.823371)'))) / (select extract(epoch from '2026-07-02 09:12:21'::timestamp) - extract(epoch from '2026-07-02 09:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043507 -2.823565)'), GeomFromEWKT('SRID=4674;POINT (-40.043556 -2.823371)'))) / (select extract(epoch from '2026-07-02 09:12:21'::timestamp) - extract(epoch from '2026-07-02 09:12: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'), 47626, 'SRID=4674;POINT (-40.04363 -2.823209)', '2026-07-02 09:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043556 -2.823371)'), GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.823209)'))) / (select extract(epoch from '2026-07-02 09:12:29'::timestamp) - extract(epoch from '2026-07-02 09:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043556 -2.823371)'), GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.823209)'))) / (select extract(epoch from '2026-07-02 09:12:29'::timestamp) - extract(epoch from '2026-07-02 09:12: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'), 47626, 'SRID=4674;POINT (-40.04371 -2.823022)', '2026-07-02 09:12:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.823209)'), GeomFromEWKT('SRID=4674;POINT (-40.04371 -2.823022)'))) / (select extract(epoch from '2026-07-02 09:12:38'::timestamp) - extract(epoch from '2026-07-02 09:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.823209)'), GeomFromEWKT('SRID=4674;POINT (-40.04371 -2.823022)'))) / (select extract(epoch from '2026-07-02 09:12:38'::timestamp) - extract(epoch from '2026-07-02 09:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043754 -2.822821)', '2026-07-02 09:12:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04371 -2.823022)'), GeomFromEWKT('SRID=4674;POINT (-40.043754 -2.822821)'))) / (select extract(epoch from '2026-07-02 09:12:47'::timestamp) - extract(epoch from '2026-07-02 09:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04371 -2.823022)'), GeomFromEWKT('SRID=4674;POINT (-40.043754 -2.822821)'))) / (select extract(epoch from '2026-07-02 09:12:47'::timestamp) - extract(epoch from '2026-07-02 09:12: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'), 47626, 'SRID=4674;POINT (-40.043781 -2.822645)', '2026-07-02 09:12:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043754 -2.822821)'), GeomFromEWKT('SRID=4674;POINT (-40.043781 -2.822645)'))) / (select extract(epoch from '2026-07-02 09:12:55'::timestamp) - extract(epoch from '2026-07-02 09:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043754 -2.822821)'), GeomFromEWKT('SRID=4674;POINT (-40.043781 -2.822645)'))) / (select extract(epoch from '2026-07-02 09:12:55'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.043829 -2.82243)', '2026-07-02 09:13:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043781 -2.822645)'), GeomFromEWKT('SRID=4674;POINT (-40.043829 -2.82243)'))) / (select extract(epoch from '2026-07-02 09:13:05'::timestamp) - extract(epoch from '2026-07-02 09:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043781 -2.822645)'), GeomFromEWKT('SRID=4674;POINT (-40.043829 -2.82243)'))) / (select extract(epoch from '2026-07-02 09:13:05'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.04385 -2.822302)', '2026-07-02 09:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043829 -2.82243)'), GeomFromEWKT('SRID=4674;POINT (-40.04385 -2.822302)'))) / (select extract(epoch from '2026-07-02 09:13:11'::timestamp) - extract(epoch from '2026-07-02 09:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043829 -2.82243)'), GeomFromEWKT('SRID=4674;POINT (-40.04385 -2.822302)'))) / (select extract(epoch from '2026-07-02 09:13:11'::timestamp) - extract(epoch from '2026-07-02 09:13: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'), 47626, 'SRID=4674;POINT (-40.043878 -2.822152)', '2026-07-02 09:13:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04385 -2.822302)'), GeomFromEWKT('SRID=4674;POINT (-40.043878 -2.822152)'))) / (select extract(epoch from '2026-07-02 09:13:18'::timestamp) - extract(epoch from '2026-07-02 09:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04385 -2.822302)'), GeomFromEWKT('SRID=4674;POINT (-40.043878 -2.822152)'))) / (select extract(epoch from '2026-07-02 09:13:18'::timestamp) - extract(epoch from '2026-07-02 09:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043944 -2.821981)', '2026-07-02 09:13:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043878 -2.822152)'), GeomFromEWKT('SRID=4674;POINT (-40.043944 -2.821981)'))) / (select extract(epoch from '2026-07-02 09:13:26'::timestamp) - extract(epoch from '2026-07-02 09:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043878 -2.822152)'), GeomFromEWKT('SRID=4674;POINT (-40.043944 -2.821981)'))) / (select extract(epoch from '2026-07-02 09:13:26'::timestamp) - extract(epoch from '2026-07-02 09:13: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'), 47626, 'SRID=4674;POINT (-40.043996 -2.821812)', '2026-07-02 09:13:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043944 -2.821981)'), GeomFromEWKT('SRID=4674;POINT (-40.043996 -2.821812)'))) / (select extract(epoch from '2026-07-02 09:13:34'::timestamp) - extract(epoch from '2026-07-02 09:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043944 -2.821981)'), GeomFromEWKT('SRID=4674;POINT (-40.043996 -2.821812)'))) / (select extract(epoch from '2026-07-02 09:13:34'::timestamp) - extract(epoch from '2026-07-02 09:13: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'), 47626, 'SRID=4674;POINT (-40.044056 -2.821551)', '2026-07-02 09:13:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043996 -2.821812)'), GeomFromEWKT('SRID=4674;POINT (-40.044056 -2.821551)'))) / (select extract(epoch from '2026-07-02 09:13:46'::timestamp) - extract(epoch from '2026-07-02 09:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043996 -2.821812)'), GeomFromEWKT('SRID=4674;POINT (-40.044056 -2.821551)'))) / (select extract(epoch from '2026-07-02 09:13:46'::timestamp) - extract(epoch from '2026-07-02 09:13: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'), 47626, 'SRID=4674;POINT (-40.044083 -2.821332)', '2026-07-02 09:13:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044056 -2.821551)'), GeomFromEWKT('SRID=4674;POINT (-40.044083 -2.821332)'))) / (select extract(epoch from '2026-07-02 09:13:56'::timestamp) - extract(epoch from '2026-07-02 09:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044056 -2.821551)'), GeomFromEWKT('SRID=4674;POINT (-40.044083 -2.821332)'))) / (select extract(epoch from '2026-07-02 09:13:56'::timestamp) - extract(epoch from '2026-07-02 09:13: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'), 47626, 'SRID=4674;POINT (-40.044149 -2.821114)', '2026-07-02 09:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044083 -2.821332)'), GeomFromEWKT('SRID=4674;POINT (-40.044149 -2.821114)'))) / (select extract(epoch from '2026-07-02 09:14:06'::timestamp) - extract(epoch from '2026-07-02 09:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044083 -2.821332)'), GeomFromEWKT('SRID=4674;POINT (-40.044149 -2.821114)'))) / (select extract(epoch from '2026-07-02 09:14:06'::timestamp) - extract(epoch from '2026-07-02 09:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044221 -2.82095)', '2026-07-02 09:14:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044149 -2.821114)'), GeomFromEWKT('SRID=4674;POINT (-40.044221 -2.82095)'))) / (select extract(epoch from '2026-07-02 09:14:14'::timestamp) - extract(epoch from '2026-07-02 09:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044149 -2.821114)'), GeomFromEWKT('SRID=4674;POINT (-40.044221 -2.82095)'))) / (select extract(epoch from '2026-07-02 09:14:14'::timestamp) - extract(epoch from '2026-07-02 09:14: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'), 47626, 'SRID=4674;POINT (-40.044244 -2.820865)', '2026-07-02 09:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044221 -2.82095)'), GeomFromEWKT('SRID=4674;POINT (-40.044244 -2.820865)'))) / (select extract(epoch from '2026-07-02 09:14:18'::timestamp) - extract(epoch from '2026-07-02 09:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044221 -2.82095)'), GeomFromEWKT('SRID=4674;POINT (-40.044244 -2.820865)'))) / (select extract(epoch from '2026-07-02 09:14:18'::timestamp) - extract(epoch from '2026-07-02 09:14: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'), 47626, 'SRID=4674;POINT (-40.04429 -2.820631)', '2026-07-02 09:14:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044244 -2.820865)'), GeomFromEWKT('SRID=4674;POINT (-40.04429 -2.820631)'))) / (select extract(epoch from '2026-07-02 09:14:29'::timestamp) - extract(epoch from '2026-07-02 09:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044244 -2.820865)'), GeomFromEWKT('SRID=4674;POINT (-40.04429 -2.820631)'))) / (select extract(epoch from '2026-07-02 09:14:29'::timestamp) - extract(epoch from '2026-07-02 09:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044305 -2.820481)', '2026-07-02 09:14:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04429 -2.820631)'), GeomFromEWKT('SRID=4674;POINT (-40.044305 -2.820481)'))) / (select extract(epoch from '2026-07-02 09:14:36'::timestamp) - extract(epoch from '2026-07-02 09:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04429 -2.820631)'), GeomFromEWKT('SRID=4674;POINT (-40.044305 -2.820481)'))) / (select extract(epoch from '2026-07-02 09:14:36'::timestamp) - extract(epoch from '2026-07-02 09:14: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'), 47626, 'SRID=4674;POINT (-40.044314 -2.820373)', '2026-07-02 09:14:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044305 -2.820481)'), GeomFromEWKT('SRID=4674;POINT (-40.044314 -2.820373)'))) / (select extract(epoch from '2026-07-02 09:14:41'::timestamp) - extract(epoch from '2026-07-02 09:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044305 -2.820481)'), GeomFromEWKT('SRID=4674;POINT (-40.044314 -2.820373)'))) / (select extract(epoch from '2026-07-02 09:14:41'::timestamp) - extract(epoch from '2026-07-02 09:14: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'), 47626, 'SRID=4674;POINT (-40.044321 -2.820222)', '2026-07-02 09:14:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044314 -2.820373)'), GeomFromEWKT('SRID=4674;POINT (-40.044321 -2.820222)'))) / (select extract(epoch from '2026-07-02 09:14:48'::timestamp) - extract(epoch from '2026-07-02 09:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044314 -2.820373)'), GeomFromEWKT('SRID=4674;POINT (-40.044321 -2.820222)'))) / (select extract(epoch from '2026-07-02 09:14:48'::timestamp) - extract(epoch from '2026-07-02 09:14: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'), 47626, 'SRID=4674;POINT (-40.044343 -2.82005)', '2026-07-02 09:14:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044321 -2.820222)'), GeomFromEWKT('SRID=4674;POINT (-40.044343 -2.82005)'))) / (select extract(epoch from '2026-07-02 09:14:56'::timestamp) - extract(epoch from '2026-07-02 09:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044321 -2.820222)'), GeomFromEWKT('SRID=4674;POINT (-40.044343 -2.82005)'))) / (select extract(epoch from '2026-07-02 09:14:56'::timestamp) - extract(epoch from '2026-07-02 09:14: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'), 47626, 'SRID=4674;POINT (-40.044362 -2.819903)', '2026-07-02 09:15:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044343 -2.82005)'), GeomFromEWKT('SRID=4674;POINT (-40.044362 -2.819903)'))) / (select extract(epoch from '2026-07-02 09:15:03'::timestamp) - extract(epoch from '2026-07-02 09:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044343 -2.82005)'), GeomFromEWKT('SRID=4674;POINT (-40.044362 -2.819903)'))) / (select extract(epoch from '2026-07-02 09:15:03'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.04437 -2.819713)', '2026-07-02 09:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044362 -2.819903)'), GeomFromEWKT('SRID=4674;POINT (-40.04437 -2.819713)'))) / (select extract(epoch from '2026-07-02 09:15:12'::timestamp) - extract(epoch from '2026-07-02 09:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044362 -2.819903)'), GeomFromEWKT('SRID=4674;POINT (-40.04437 -2.819713)'))) / (select extract(epoch from '2026-07-02 09:15:12'::timestamp) - extract(epoch from '2026-07-02 09:15:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044379 -2.819584)', '2026-07-02 09:15:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04437 -2.819713)'), GeomFromEWKT('SRID=4674;POINT (-40.044379 -2.819584)'))) / (select extract(epoch from '2026-07-02 09:15:18'::timestamp) - extract(epoch from '2026-07-02 09:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04437 -2.819713)'), GeomFromEWKT('SRID=4674;POINT (-40.044379 -2.819584)'))) / (select extract(epoch from '2026-07-02 09:15:18'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.044393 -2.819474)', '2026-07-02 09:15:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044379 -2.819584)'), GeomFromEWKT('SRID=4674;POINT (-40.044393 -2.819474)'))) / (select extract(epoch from '2026-07-02 09:15:23'::timestamp) - extract(epoch from '2026-07-02 09:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044379 -2.819584)'), GeomFromEWKT('SRID=4674;POINT (-40.044393 -2.819474)'))) / (select extract(epoch from '2026-07-02 09:15:23'::timestamp) - extract(epoch from '2026-07-02 09:15: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'), 47626, 'SRID=4674;POINT (-40.044424 -2.819281)', '2026-07-02 09:15:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044393 -2.819474)'), GeomFromEWKT('SRID=4674;POINT (-40.044424 -2.819281)'))) / (select extract(epoch from '2026-07-02 09:15:32'::timestamp) - extract(epoch from '2026-07-02 09:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044393 -2.819474)'), GeomFromEWKT('SRID=4674;POINT (-40.044424 -2.819281)'))) / (select extract(epoch from '2026-07-02 09:15:32'::timestamp) - extract(epoch from '2026-07-02 09:15: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'), 47626, 'SRID=4674;POINT (-40.044432 -2.819158)', '2026-07-02 09:15:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044424 -2.819281)'), GeomFromEWKT('SRID=4674;POINT (-40.044432 -2.819158)'))) / (select extract(epoch from '2026-07-02 09:15:38'::timestamp) - extract(epoch from '2026-07-02 09:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044424 -2.819281)'), GeomFromEWKT('SRID=4674;POINT (-40.044432 -2.819158)'))) / (select extract(epoch from '2026-07-02 09:15:38'::timestamp) - extract(epoch from '2026-07-02 09:15: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'), 47626, 'SRID=4674;POINT (-40.044426 -2.819017)', '2026-07-02 09:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044432 -2.819158)'), GeomFromEWKT('SRID=4674;POINT (-40.044426 -2.819017)'))) / (select extract(epoch from '2026-07-02 09:15:45'::timestamp) - extract(epoch from '2026-07-02 09:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044432 -2.819158)'), GeomFromEWKT('SRID=4674;POINT (-40.044426 -2.819017)'))) / (select extract(epoch from '2026-07-02 09:15:45'::timestamp) - extract(epoch from '2026-07-02 09:15: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'), 47626, 'SRID=4674;POINT (-40.044403 -2.818882)', '2026-07-02 09:15:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044426 -2.819017)'), GeomFromEWKT('SRID=4674;POINT (-40.044403 -2.818882)'))) / (select extract(epoch from '2026-07-02 09:15:52'::timestamp) - extract(epoch from '2026-07-02 09:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044426 -2.819017)'), GeomFromEWKT('SRID=4674;POINT (-40.044403 -2.818882)'))) / (select extract(epoch from '2026-07-02 09:15:52'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.044386 -2.818727)', '2026-07-02 09:16:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044403 -2.818882)'), GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.818727)'))) / (select extract(epoch from '2026-07-02 09:16:00'::timestamp) - extract(epoch from '2026-07-02 09:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044403 -2.818882)'), GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.818727)'))) / (select extract(epoch from '2026-07-02 09:16:00'::timestamp) - extract(epoch from '2026-07-02 09:15: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'), 47626, 'SRID=4674;POINT (-40.044357 -2.81857)', '2026-07-02 09:16:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.818727)'), GeomFromEWKT('SRID=4674;POINT (-40.044357 -2.81857)'))) / (select extract(epoch from '2026-07-02 09:16:08'::timestamp) - extract(epoch from '2026-07-02 09:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.818727)'), GeomFromEWKT('SRID=4674;POINT (-40.044357 -2.81857)'))) / (select extract(epoch from '2026-07-02 09:16:08'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.044337 -2.818406)', '2026-07-02 09:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044357 -2.81857)'), GeomFromEWKT('SRID=4674;POINT (-40.044337 -2.818406)'))) / (select extract(epoch from '2026-07-02 09:16:16'::timestamp) - extract(epoch from '2026-07-02 09:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044357 -2.81857)'), GeomFromEWKT('SRID=4674;POINT (-40.044337 -2.818406)'))) / (select extract(epoch from '2026-07-02 09:16:16'::timestamp) - extract(epoch from '2026-07-02 09:16: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'), 47626, 'SRID=4674;POINT (-40.044327 -2.818261)', '2026-07-02 09:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044337 -2.818406)'), GeomFromEWKT('SRID=4674;POINT (-40.044327 -2.818261)'))) / (select extract(epoch from '2026-07-02 09:16:23'::timestamp) - extract(epoch from '2026-07-02 09:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044337 -2.818406)'), GeomFromEWKT('SRID=4674;POINT (-40.044327 -2.818261)'))) / (select extract(epoch from '2026-07-02 09:16:23'::timestamp) - extract(epoch from '2026-07-02 09:16: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'), 47626, 'SRID=4674;POINT (-40.044331 -2.818154)', '2026-07-02 09:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044327 -2.818261)'), GeomFromEWKT('SRID=4674;POINT (-40.044331 -2.818154)'))) / (select extract(epoch from '2026-07-02 09:16:28'::timestamp) - extract(epoch from '2026-07-02 09:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044327 -2.818261)'), GeomFromEWKT('SRID=4674;POINT (-40.044331 -2.818154)'))) / (select extract(epoch from '2026-07-02 09:16:28'::timestamp) - extract(epoch from '2026-07-02 09:16: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'), 47626, 'SRID=4674;POINT (-40.044326 -2.818026)', '2026-07-02 09:16:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044331 -2.818154)'), GeomFromEWKT('SRID=4674;POINT (-40.044326 -2.818026)'))) / (select extract(epoch from '2026-07-02 09:16:34'::timestamp) - extract(epoch from '2026-07-02 09:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044331 -2.818154)'), GeomFromEWKT('SRID=4674;POINT (-40.044326 -2.818026)'))) / (select extract(epoch from '2026-07-02 09:16:34'::timestamp) - extract(epoch from '2026-07-02 09:16: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'), 47626, 'SRID=4674;POINT (-40.044306 -2.817883)', '2026-07-02 09:16:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044326 -2.818026)'), GeomFromEWKT('SRID=4674;POINT (-40.044306 -2.817883)'))) / (select extract(epoch from '2026-07-02 09:16:41'::timestamp) - extract(epoch from '2026-07-02 09:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044326 -2.818026)'), GeomFromEWKT('SRID=4674;POINT (-40.044306 -2.817883)'))) / (select extract(epoch from '2026-07-02 09:16:41'::timestamp) - extract(epoch from '2026-07-02 09:16: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'), 47626, 'SRID=4674;POINT (-40.044295 -2.817779)', '2026-07-02 09:16:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044306 -2.817883)'), GeomFromEWKT('SRID=4674;POINT (-40.044295 -2.817779)'))) / (select extract(epoch from '2026-07-02 09:16:46'::timestamp) - extract(epoch from '2026-07-02 09:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044306 -2.817883)'), GeomFromEWKT('SRID=4674;POINT (-40.044295 -2.817779)'))) / (select extract(epoch from '2026-07-02 09:16:46'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.044279 -2.817642)', '2026-07-02 09:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044295 -2.817779)'), GeomFromEWKT('SRID=4674;POINT (-40.044279 -2.817642)'))) / (select extract(epoch from '2026-07-02 09:16:53'::timestamp) - extract(epoch from '2026-07-02 09:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044295 -2.817779)'), GeomFromEWKT('SRID=4674;POINT (-40.044279 -2.817642)'))) / (select extract(epoch from '2026-07-02 09:16:53'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.044259 -2.817468)', '2026-07-02 09:17:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044279 -2.817642)'), GeomFromEWKT('SRID=4674;POINT (-40.044259 -2.817468)'))) / (select extract(epoch from '2026-07-02 09:17:02'::timestamp) - extract(epoch from '2026-07-02 09:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044279 -2.817642)'), GeomFromEWKT('SRID=4674;POINT (-40.044259 -2.817468)'))) / (select extract(epoch from '2026-07-02 09:17:02'::timestamp) - extract(epoch from '2026-07-02 09:16: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'), 47626, 'SRID=4674;POINT (-40.044247 -2.817324)', '2026-07-02 09:17:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044259 -2.817468)'), GeomFromEWKT('SRID=4674;POINT (-40.044247 -2.817324)'))) / (select extract(epoch from '2026-07-02 09:17:09'::timestamp) - extract(epoch from '2026-07-02 09:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044259 -2.817468)'), GeomFromEWKT('SRID=4674;POINT (-40.044247 -2.817324)'))) / (select extract(epoch from '2026-07-02 09:17:09'::timestamp) - extract(epoch from '2026-07-02 09:17: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'), 47626, 'SRID=4674;POINT (-40.044252 -2.817131)', '2026-07-02 09:17:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044247 -2.817324)'), GeomFromEWKT('SRID=4674;POINT (-40.044252 -2.817131)'))) / (select extract(epoch from '2026-07-02 09:17:18'::timestamp) - extract(epoch from '2026-07-02 09:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044247 -2.817324)'), GeomFromEWKT('SRID=4674;POINT (-40.044252 -2.817131)'))) / (select extract(epoch from '2026-07-02 09:17:18'::timestamp) - extract(epoch from '2026-07-02 09:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044255 -2.816991)', '2026-07-02 09:17:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044252 -2.817131)'), GeomFromEWKT('SRID=4674;POINT (-40.044255 -2.816991)'))) / (select extract(epoch from '2026-07-02 09:17:25'::timestamp) - extract(epoch from '2026-07-02 09:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044252 -2.817131)'), GeomFromEWKT('SRID=4674;POINT (-40.044255 -2.816991)'))) / (select extract(epoch from '2026-07-02 09:17:25'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.044231 -2.816816)', '2026-07-02 09:17:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044255 -2.816991)'), GeomFromEWKT('SRID=4674;POINT (-40.044231 -2.816816)'))) / (select extract(epoch from '2026-07-02 09:17:34'::timestamp) - extract(epoch from '2026-07-02 09:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044255 -2.816991)'), GeomFromEWKT('SRID=4674;POINT (-40.044231 -2.816816)'))) / (select extract(epoch from '2026-07-02 09:17:34'::timestamp) - extract(epoch from '2026-07-02 09:17:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044202 -2.816639)', '2026-07-02 09:17:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044231 -2.816816)'), GeomFromEWKT('SRID=4674;POINT (-40.044202 -2.816639)'))) / (select extract(epoch from '2026-07-02 09:17:43'::timestamp) - extract(epoch from '2026-07-02 09:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044231 -2.816816)'), GeomFromEWKT('SRID=4674;POINT (-40.044202 -2.816639)'))) / (select extract(epoch from '2026-07-02 09:17:43'::timestamp) - extract(epoch from '2026-07-02 09:17: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'), 47626, 'SRID=4674;POINT (-40.044171 -2.816524)', '2026-07-02 09:17:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044202 -2.816639)'), GeomFromEWKT('SRID=4674;POINT (-40.044171 -2.816524)'))) / (select extract(epoch from '2026-07-02 09:17:49'::timestamp) - extract(epoch from '2026-07-02 09:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044202 -2.816639)'), GeomFromEWKT('SRID=4674;POINT (-40.044171 -2.816524)'))) / (select extract(epoch from '2026-07-02 09:17:49'::timestamp) - extract(epoch from '2026-07-02 09:17: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'), 47626, 'SRID=4674;POINT (-40.044121 -2.816368)', '2026-07-02 09:17:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044171 -2.816524)'), GeomFromEWKT('SRID=4674;POINT (-40.044121 -2.816368)'))) / (select extract(epoch from '2026-07-02 09:17:57'::timestamp) - extract(epoch from '2026-07-02 09:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044171 -2.816524)'), GeomFromEWKT('SRID=4674;POINT (-40.044121 -2.816368)'))) / (select extract(epoch from '2026-07-02 09:17:57'::timestamp) - extract(epoch from '2026-07-02 09:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044074 -2.816143)', '2026-07-02 09:18:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044121 -2.816368)'), GeomFromEWKT('SRID=4674;POINT (-40.044074 -2.816143)'))) / (select extract(epoch from '2026-07-02 09:18:08'::timestamp) - extract(epoch from '2026-07-02 09:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044121 -2.816368)'), GeomFromEWKT('SRID=4674;POINT (-40.044074 -2.816143)'))) / (select extract(epoch from '2026-07-02 09:18:08'::timestamp) - extract(epoch from '2026-07-02 09:17: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'), 47626, 'SRID=4674;POINT (-40.044057 -2.815983)', '2026-07-02 09:18:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044074 -2.816143)'), GeomFromEWKT('SRID=4674;POINT (-40.044057 -2.815983)'))) / (select extract(epoch from '2026-07-02 09:18:16'::timestamp) - extract(epoch from '2026-07-02 09:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044074 -2.816143)'), GeomFromEWKT('SRID=4674;POINT (-40.044057 -2.815983)'))) / (select extract(epoch from '2026-07-02 09:18:16'::timestamp) - extract(epoch from '2026-07-02 09:18: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'), 47626, 'SRID=4674;POINT (-40.044045 -2.815845)', '2026-07-02 09:18:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044057 -2.815983)'), GeomFromEWKT('SRID=4674;POINT (-40.044045 -2.815845)'))) / (select extract(epoch from '2026-07-02 09:18:23'::timestamp) - extract(epoch from '2026-07-02 09:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044057 -2.815983)'), GeomFromEWKT('SRID=4674;POINT (-40.044045 -2.815845)'))) / (select extract(epoch from '2026-07-02 09:18:23'::timestamp) - extract(epoch from '2026-07-02 09:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044042 -2.815695)', '2026-07-02 09:18:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044045 -2.815845)'), GeomFromEWKT('SRID=4674;POINT (-40.044042 -2.815695)'))) / (select extract(epoch from '2026-07-02 09:18:30'::timestamp) - extract(epoch from '2026-07-02 09:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044045 -2.815845)'), GeomFromEWKT('SRID=4674;POINT (-40.044042 -2.815695)'))) / (select extract(epoch from '2026-07-02 09:18:30'::timestamp) - extract(epoch from '2026-07-02 09:18: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'), 47626, 'SRID=4674;POINT (-40.044044 -2.815524)', '2026-07-02 09:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044042 -2.815695)'), GeomFromEWKT('SRID=4674;POINT (-40.044044 -2.815524)'))) / (select extract(epoch from '2026-07-02 09:18:38'::timestamp) - extract(epoch from '2026-07-02 09:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044042 -2.815695)'), GeomFromEWKT('SRID=4674;POINT (-40.044044 -2.815524)'))) / (select extract(epoch from '2026-07-02 09:18:38'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.044066 -2.815355)', '2026-07-02 09:18:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044044 -2.815524)'), GeomFromEWKT('SRID=4674;POINT (-40.044066 -2.815355)'))) / (select extract(epoch from '2026-07-02 09:18:46'::timestamp) - extract(epoch from '2026-07-02 09:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044044 -2.815524)'), GeomFromEWKT('SRID=4674;POINT (-40.044066 -2.815355)'))) / (select extract(epoch from '2026-07-02 09:18:46'::timestamp) - extract(epoch from '2026-07-02 09:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044097 -2.815209)', '2026-07-02 09:18:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044066 -2.815355)'), GeomFromEWKT('SRID=4674;POINT (-40.044097 -2.815209)'))) / (select extract(epoch from '2026-07-02 09:18:53'::timestamp) - extract(epoch from '2026-07-02 09:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044066 -2.815355)'), GeomFromEWKT('SRID=4674;POINT (-40.044097 -2.815209)'))) / (select extract(epoch from '2026-07-02 09:18:53'::timestamp) - extract(epoch from '2026-07-02 09:18: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'), 47626, 'SRID=4674;POINT (-40.044132 -2.815016)', '2026-07-02 09:19:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044097 -2.815209)'), GeomFromEWKT('SRID=4674;POINT (-40.044132 -2.815016)'))) / (select extract(epoch from '2026-07-02 09:19:02'::timestamp) - extract(epoch from '2026-07-02 09:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044097 -2.815209)'), GeomFromEWKT('SRID=4674;POINT (-40.044132 -2.815016)'))) / (select extract(epoch from '2026-07-02 09:19:02'::timestamp) - extract(epoch from '2026-07-02 09:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044158 -2.814864)', '2026-07-02 09:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044132 -2.815016)'), GeomFromEWKT('SRID=4674;POINT (-40.044158 -2.814864)'))) / (select extract(epoch from '2026-07-02 09:19:09'::timestamp) - extract(epoch from '2026-07-02 09:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044132 -2.815016)'), GeomFromEWKT('SRID=4674;POINT (-40.044158 -2.814864)'))) / (select extract(epoch from '2026-07-02 09:19:09'::timestamp) - extract(epoch from '2026-07-02 09:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044177 -2.814754)', '2026-07-02 09:19:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044158 -2.814864)'), GeomFromEWKT('SRID=4674;POINT (-40.044177 -2.814754)'))) / (select extract(epoch from '2026-07-02 09:19:14'::timestamp) - extract(epoch from '2026-07-02 09:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044158 -2.814864)'), GeomFromEWKT('SRID=4674;POINT (-40.044177 -2.814754)'))) / (select extract(epoch from '2026-07-02 09:19:14'::timestamp) - extract(epoch from '2026-07-02 09:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044212 -2.814562)', '2026-07-02 09:19:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044177 -2.814754)'), GeomFromEWKT('SRID=4674;POINT (-40.044212 -2.814562)'))) / (select extract(epoch from '2026-07-02 09:19:23'::timestamp) - extract(epoch from '2026-07-02 09:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044177 -2.814754)'), GeomFromEWKT('SRID=4674;POINT (-40.044212 -2.814562)'))) / (select extract(epoch from '2026-07-02 09:19:23'::timestamp) - extract(epoch from '2026-07-02 09:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044254 -2.814416)', '2026-07-02 09:19:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044212 -2.814562)'), GeomFromEWKT('SRID=4674;POINT (-40.044254 -2.814416)'))) / (select extract(epoch from '2026-07-02 09:19:30'::timestamp) - extract(epoch from '2026-07-02 09:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044212 -2.814562)'), GeomFromEWKT('SRID=4674;POINT (-40.044254 -2.814416)'))) / (select extract(epoch from '2026-07-02 09:19:30'::timestamp) - extract(epoch from '2026-07-02 09:19: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'), 47626, 'SRID=4674;POINT (-40.044295 -2.814226)', '2026-07-02 09:19:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044254 -2.814416)'), GeomFromEWKT('SRID=4674;POINT (-40.044295 -2.814226)'))) / (select extract(epoch from '2026-07-02 09:19:39'::timestamp) - extract(epoch from '2026-07-02 09:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044254 -2.814416)'), GeomFromEWKT('SRID=4674;POINT (-40.044295 -2.814226)'))) / (select extract(epoch from '2026-07-02 09:19:39'::timestamp) - extract(epoch from '2026-07-02 09:19: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'), 47626, 'SRID=4674;POINT (-40.044309 -2.814098)', '2026-07-02 09:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044295 -2.814226)'), GeomFromEWKT('SRID=4674;POINT (-40.044309 -2.814098)'))) / (select extract(epoch from '2026-07-02 09:19:45'::timestamp) - extract(epoch from '2026-07-02 09:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044295 -2.814226)'), GeomFromEWKT('SRID=4674;POINT (-40.044309 -2.814098)'))) / (select extract(epoch from '2026-07-02 09:19:45'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.044332 -2.813929)', '2026-07-02 09:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044309 -2.814098)'), GeomFromEWKT('SRID=4674;POINT (-40.044332 -2.813929)'))) / (select extract(epoch from '2026-07-02 09:19:53'::timestamp) - extract(epoch from '2026-07-02 09:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044309 -2.814098)'), GeomFromEWKT('SRID=4674;POINT (-40.044332 -2.813929)'))) / (select extract(epoch from '2026-07-02 09:19:53'::timestamp) - extract(epoch from '2026-07-02 09:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044339 -2.813801)', '2026-07-02 09:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044332 -2.813929)'), GeomFromEWKT('SRID=4674;POINT (-40.044339 -2.813801)'))) / (select extract(epoch from '2026-07-02 09:20:00'::timestamp) - extract(epoch from '2026-07-02 09:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044332 -2.813929)'), GeomFromEWKT('SRID=4674;POINT (-40.044339 -2.813801)'))) / (select extract(epoch from '2026-07-02 09:20:00'::timestamp) - extract(epoch from '2026-07-02 09:19: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'), 47626, 'SRID=4674;POINT (-40.044349 -2.813689)', '2026-07-02 09:20:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044339 -2.813801)'), GeomFromEWKT('SRID=4674;POINT (-40.044349 -2.813689)'))) / (select extract(epoch from '2026-07-02 09:20:06'::timestamp) - extract(epoch from '2026-07-02 09:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044339 -2.813801)'), GeomFromEWKT('SRID=4674;POINT (-40.044349 -2.813689)'))) / (select extract(epoch from '2026-07-02 09:20:06'::timestamp) - extract(epoch from '2026-07-02 09:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044393 -2.813533)', '2026-07-02 09:20:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044349 -2.813689)'), GeomFromEWKT('SRID=4674;POINT (-40.044393 -2.813533)'))) / (select extract(epoch from '2026-07-02 09:20:15'::timestamp) - extract(epoch from '2026-07-02 09:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044349 -2.813689)'), GeomFromEWKT('SRID=4674;POINT (-40.044393 -2.813533)'))) / (select extract(epoch from '2026-07-02 09:20:15'::timestamp) - extract(epoch from '2026-07-02 09:20: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'), 47626, 'SRID=4674;POINT (-40.044426 -2.8134)', '2026-07-02 09:20:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044393 -2.813533)'), GeomFromEWKT('SRID=4674;POINT (-40.044426 -2.8134)'))) / (select extract(epoch from '2026-07-02 09:20:22'::timestamp) - extract(epoch from '2026-07-02 09:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044393 -2.813533)'), GeomFromEWKT('SRID=4674;POINT (-40.044426 -2.8134)'))) / (select extract(epoch from '2026-07-02 09:20:22'::timestamp) - extract(epoch from '2026-07-02 09:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044453 -2.81326)', '2026-07-02 09:20:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044426 -2.8134)'), GeomFromEWKT('SRID=4674;POINT (-40.044453 -2.81326)'))) / (select extract(epoch from '2026-07-02 09:20:30'::timestamp) - extract(epoch from '2026-07-02 09:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044426 -2.8134)'), GeomFromEWKT('SRID=4674;POINT (-40.044453 -2.81326)'))) / (select extract(epoch from '2026-07-02 09:20:30'::timestamp) - extract(epoch from '2026-07-02 09:20: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'), 47626, 'SRID=4674;POINT (-40.044503 -2.813156)', '2026-07-02 09:20:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044453 -2.81326)'), GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.813156)'))) / (select extract(epoch from '2026-07-02 09:20:38'::timestamp) - extract(epoch from '2026-07-02 09:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044453 -2.81326)'), GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.813156)'))) / (select extract(epoch from '2026-07-02 09:20:38'::timestamp) - extract(epoch from '2026-07-02 09:20: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'), 47626, 'SRID=4674;POINT (-40.044587 -2.813128)', '2026-07-02 09:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.813156)'), GeomFromEWKT('SRID=4674;POINT (-40.044587 -2.813128)'))) / (select extract(epoch from '2026-07-02 09:20:46'::timestamp) - extract(epoch from '2026-07-02 09:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.813156)'), GeomFromEWKT('SRID=4674;POINT (-40.044587 -2.813128)'))) / (select extract(epoch from '2026-07-02 09:20:46'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.04465 -2.813138)', '2026-07-02 09:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044587 -2.813128)'), GeomFromEWKT('SRID=4674;POINT (-40.04465 -2.813138)'))) / (select extract(epoch from '2026-07-02 09:20:55'::timestamp) - extract(epoch from '2026-07-02 09:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044587 -2.813128)'), GeomFromEWKT('SRID=4674;POINT (-40.04465 -2.813138)'))) / (select extract(epoch from '2026-07-02 09:20:55'::timestamp) - extract(epoch from '2026-07-02 09:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044701 -2.813118)', '2026-07-02 09:21:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04465 -2.813138)'), GeomFromEWKT('SRID=4674;POINT (-40.044701 -2.813118)'))) / (select extract(epoch from '2026-07-02 09:21:09'::timestamp) - extract(epoch from '2026-07-02 09:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04465 -2.813138)'), GeomFromEWKT('SRID=4674;POINT (-40.044701 -2.813118)'))) / (select extract(epoch from '2026-07-02 09:21:09'::timestamp) - extract(epoch from '2026-07-02 09:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044589 -2.813128)', '2026-07-02 10:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044701 -2.813118)'), GeomFromEWKT('SRID=4674;POINT (-40.044589 -2.813128)'))) / (select extract(epoch from '2026-07-02 10:19:47'::timestamp) - extract(epoch from '2026-07-02 09:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044701 -2.813118)'), GeomFromEWKT('SRID=4674;POINT (-40.044589 -2.813128)'))) / (select extract(epoch from '2026-07-02 10:19:47'::timestamp) - extract(epoch from '2026-07-02 09: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'), 47626, 'SRID=4674;POINT (-40.044615 -2.813115)', '2026-07-02 10:20:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044589 -2.813128)'), GeomFromEWKT('SRID=4674;POINT (-40.044615 -2.813115)'))) / (select extract(epoch from '2026-07-02 10:20:01'::timestamp) - extract(epoch from '2026-07-02 10:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044589 -2.813128)'), GeomFromEWKT('SRID=4674;POINT (-40.044615 -2.813115)'))) / (select extract(epoch from '2026-07-02 10:20:01'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.044619 -2.813136)', '2026-07-02 10:20:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044615 -2.813115)'), GeomFromEWKT('SRID=4674;POINT (-40.044619 -2.813136)'))) / (select extract(epoch from '2026-07-02 10:20:18'::timestamp) - extract(epoch from '2026-07-02 10:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044615 -2.813115)'), GeomFromEWKT('SRID=4674;POINT (-40.044619 -2.813136)'))) / (select extract(epoch from '2026-07-02 10:20:18'::timestamp) - extract(epoch from '2026-07-02 10:20:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044577 -2.81318)', '2026-07-02 10:20:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044619 -2.813136)'), GeomFromEWKT('SRID=4674;POINT (-40.044577 -2.81318)'))) / (select extract(epoch from '2026-07-02 10:20:28'::timestamp) - extract(epoch from '2026-07-02 10:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044619 -2.813136)'), GeomFromEWKT('SRID=4674;POINT (-40.044577 -2.81318)'))) / (select extract(epoch from '2026-07-02 10:20:28'::timestamp) - extract(epoch from '2026-07-02 10:20:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.0445 -2.813185)', '2026-07-02 10:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044577 -2.81318)'), GeomFromEWKT('SRID=4674;POINT (-40.0445 -2.813185)'))) / (select extract(epoch from '2026-07-02 10:20:37'::timestamp) - extract(epoch from '2026-07-02 10:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044577 -2.81318)'), GeomFromEWKT('SRID=4674;POINT (-40.0445 -2.813185)'))) / (select extract(epoch from '2026-07-02 10:20:37'::timestamp) - extract(epoch from '2026-07-02 10:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044472 -2.813237)', '2026-07-02 10:20:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0445 -2.813185)'), GeomFromEWKT('SRID=4674;POINT (-40.044472 -2.813237)'))) / (select extract(epoch from '2026-07-02 10:20:49'::timestamp) - extract(epoch from '2026-07-02 10:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0445 -2.813185)'), GeomFromEWKT('SRID=4674;POINT (-40.044472 -2.813237)'))) / (select extract(epoch from '2026-07-02 10:20:49'::timestamp) - extract(epoch from '2026-07-02 10:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044432 -2.813347)', '2026-07-02 10:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044472 -2.813237)'), GeomFromEWKT('SRID=4674;POINT (-40.044432 -2.813347)'))) / (select extract(epoch from '2026-07-02 10:20:59'::timestamp) - extract(epoch from '2026-07-02 10:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044472 -2.813237)'), GeomFromEWKT('SRID=4674;POINT (-40.044432 -2.813347)'))) / (select extract(epoch from '2026-07-02 10:20:59'::timestamp) - extract(epoch from '2026-07-02 10:20: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'), 47626, 'SRID=4674;POINT (-40.044412 -2.813444)', '2026-07-02 10:21:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044432 -2.813347)'), GeomFromEWKT('SRID=4674;POINT (-40.044412 -2.813444)'))) / (select extract(epoch from '2026-07-02 10:21:06'::timestamp) - extract(epoch from '2026-07-02 10:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044432 -2.813347)'), GeomFromEWKT('SRID=4674;POINT (-40.044412 -2.813444)'))) / (select extract(epoch from '2026-07-02 10:21:06'::timestamp) - extract(epoch from '2026-07-02 10:20: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'), 47626, 'SRID=4674;POINT (-40.044408 -2.813485)', '2026-07-02 10:21:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044412 -2.813444)'), GeomFromEWKT('SRID=4674;POINT (-40.044408 -2.813485)'))) / (select extract(epoch from '2026-07-02 10:21:09'::timestamp) - extract(epoch from '2026-07-02 10:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044412 -2.813444)'), GeomFromEWKT('SRID=4674;POINT (-40.044408 -2.813485)'))) / (select extract(epoch from '2026-07-02 10:21:09'::timestamp) - extract(epoch from '2026-07-02 10:21: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'), 47626, 'SRID=4674;POINT (-40.044406 -2.813513)', '2026-07-02 10:21:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044408 -2.813485)'), GeomFromEWKT('SRID=4674;POINT (-40.044406 -2.813513)'))) / (select extract(epoch from '2026-07-02 10:21:11'::timestamp) - extract(epoch from '2026-07-02 10:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044408 -2.813485)'), GeomFromEWKT('SRID=4674;POINT (-40.044406 -2.813513)'))) / (select extract(epoch from '2026-07-02 10:21:11'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.044399 -2.813646)', '2026-07-02 10:21:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044406 -2.813513)'), GeomFromEWKT('SRID=4674;POINT (-40.044399 -2.813646)'))) / (select extract(epoch from '2026-07-02 10:21:20'::timestamp) - extract(epoch from '2026-07-02 10:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044406 -2.813513)'), GeomFromEWKT('SRID=4674;POINT (-40.044399 -2.813646)'))) / (select extract(epoch from '2026-07-02 10:21:20'::timestamp) - extract(epoch from '2026-07-02 10:21:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044386 -2.813747)', '2026-07-02 10:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044399 -2.813646)'), GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.813747)'))) / (select extract(epoch from '2026-07-02 10:21:27'::timestamp) - extract(epoch from '2026-07-02 10:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044399 -2.813646)'), GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.813747)'))) / (select extract(epoch from '2026-07-02 10:21:27'::timestamp) - extract(epoch from '2026-07-02 10:21: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'), 47626, 'SRID=4674;POINT (-40.044363 -2.813867)', '2026-07-02 10:21:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.813747)'), GeomFromEWKT('SRID=4674;POINT (-40.044363 -2.813867)'))) / (select extract(epoch from '2026-07-02 10:21:35'::timestamp) - extract(epoch from '2026-07-02 10:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.813747)'), GeomFromEWKT('SRID=4674;POINT (-40.044363 -2.813867)'))) / (select extract(epoch from '2026-07-02 10:21:35'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.044324 -2.813949)', '2026-07-02 10:21:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044363 -2.813867)'), GeomFromEWKT('SRID=4674;POINT (-40.044324 -2.813949)'))) / (select extract(epoch from '2026-07-02 10:21:41'::timestamp) - extract(epoch from '2026-07-02 10:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044363 -2.813867)'), GeomFromEWKT('SRID=4674;POINT (-40.044324 -2.813949)'))) / (select extract(epoch from '2026-07-02 10:21:41'::timestamp) - extract(epoch from '2026-07-02 10:21: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'), 47626, 'SRID=4674;POINT (-40.044305 -2.814029)', '2026-07-02 10:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044324 -2.813949)'), GeomFromEWKT('SRID=4674;POINT (-40.044305 -2.814029)'))) / (select extract(epoch from '2026-07-02 10:21:46'::timestamp) - extract(epoch from '2026-07-02 10:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044324 -2.813949)'), GeomFromEWKT('SRID=4674;POINT (-40.044305 -2.814029)'))) / (select extract(epoch from '2026-07-02 10:21:46'::timestamp) - extract(epoch from '2026-07-02 10:21: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'), 47626, 'SRID=4674;POINT (-40.044285 -2.814176)', '2026-07-02 10:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044305 -2.814029)'), GeomFromEWKT('SRID=4674;POINT (-40.044285 -2.814176)'))) / (select extract(epoch from '2026-07-02 10:21:55'::timestamp) - extract(epoch from '2026-07-02 10:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044305 -2.814029)'), GeomFromEWKT('SRID=4674;POINT (-40.044285 -2.814176)'))) / (select extract(epoch from '2026-07-02 10:21:55'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.044268 -2.814287)', '2026-07-02 10:22:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044285 -2.814176)'), GeomFromEWKT('SRID=4674;POINT (-40.044268 -2.814287)'))) / (select extract(epoch from '2026-07-02 10:22:02'::timestamp) - extract(epoch from '2026-07-02 10:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044285 -2.814176)'), GeomFromEWKT('SRID=4674;POINT (-40.044268 -2.814287)'))) / (select extract(epoch from '2026-07-02 10:22:02'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.044254 -2.814345)', '2026-07-02 10:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044268 -2.814287)'), GeomFromEWKT('SRID=4674;POINT (-40.044254 -2.814345)'))) / (select extract(epoch from '2026-07-02 10:22:06'::timestamp) - extract(epoch from '2026-07-02 10:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044268 -2.814287)'), GeomFromEWKT('SRID=4674;POINT (-40.044254 -2.814345)'))) / (select extract(epoch from '2026-07-02 10:22:06'::timestamp) - extract(epoch from '2026-07-02 10:22: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'), 47626, 'SRID=4674;POINT (-40.044248 -2.814376)', '2026-07-02 10:22:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044254 -2.814345)'), GeomFromEWKT('SRID=4674;POINT (-40.044248 -2.814376)'))) / (select extract(epoch from '2026-07-02 10:22:08'::timestamp) - extract(epoch from '2026-07-02 10:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044254 -2.814345)'), GeomFromEWKT('SRID=4674;POINT (-40.044248 -2.814376)'))) / (select extract(epoch from '2026-07-02 10:22:08'::timestamp) - extract(epoch from '2026-07-02 10:22: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'), 47626, 'SRID=4674;POINT (-40.04424 -2.814452)', '2026-07-02 10:22:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044248 -2.814376)'), GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.814452)'))) / (select extract(epoch from '2026-07-02 10:22:13'::timestamp) - extract(epoch from '2026-07-02 10:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044248 -2.814376)'), GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.814452)'))) / (select extract(epoch from '2026-07-02 10:22:13'::timestamp) - extract(epoch from '2026-07-02 10:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044235 -2.814468)', '2026-07-02 10:22:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.814452)'), GeomFromEWKT('SRID=4674;POINT (-40.044235 -2.814468)'))) / (select extract(epoch from '2026-07-02 10:22:14'::timestamp) - extract(epoch from '2026-07-02 10:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.814452)'), GeomFromEWKT('SRID=4674;POINT (-40.044235 -2.814468)'))) / (select extract(epoch from '2026-07-02 10:22:14'::timestamp) - extract(epoch from '2026-07-02 10:22: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'), 47626, 'SRID=4674;POINT (-40.04423 -2.814483)', '2026-07-02 10:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044235 -2.814468)'), GeomFromEWKT('SRID=4674;POINT (-40.04423 -2.814483)'))) / (select extract(epoch from '2026-07-02 10:22:15'::timestamp) - extract(epoch from '2026-07-02 10:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044235 -2.814468)'), GeomFromEWKT('SRID=4674;POINT (-40.04423 -2.814483)'))) / (select extract(epoch from '2026-07-02 10:22:15'::timestamp) - extract(epoch from '2026-07-02 10:22: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'), 47626, 'SRID=4674;POINT (-40.0442 -2.814539)', '2026-07-02 10:22:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04423 -2.814483)'), GeomFromEWKT('SRID=4674;POINT (-40.0442 -2.814539)'))) / (select extract(epoch from '2026-07-02 10:22:19'::timestamp) - extract(epoch from '2026-07-02 10:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04423 -2.814483)'), GeomFromEWKT('SRID=4674;POINT (-40.0442 -2.814539)'))) / (select extract(epoch from '2026-07-02 10:22:19'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.044166 -2.814653)', '2026-07-02 10:22:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0442 -2.814539)'), GeomFromEWKT('SRID=4674;POINT (-40.044166 -2.814653)'))) / (select extract(epoch from '2026-07-02 10:22:27'::timestamp) - extract(epoch from '2026-07-02 10:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0442 -2.814539)'), GeomFromEWKT('SRID=4674;POINT (-40.044166 -2.814653)'))) / (select extract(epoch from '2026-07-02 10:22:27'::timestamp) - extract(epoch from '2026-07-02 10:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044139 -2.814776)', '2026-07-02 10:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044166 -2.814653)'), GeomFromEWKT('SRID=4674;POINT (-40.044139 -2.814776)'))) / (select extract(epoch from '2026-07-02 10:22:35'::timestamp) - extract(epoch from '2026-07-02 10:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044166 -2.814653)'), GeomFromEWKT('SRID=4674;POINT (-40.044139 -2.814776)'))) / (select extract(epoch from '2026-07-02 10:22:35'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.044128 -2.814867)', '2026-07-02 10:22:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044139 -2.814776)'), GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.814867)'))) / (select extract(epoch from '2026-07-02 10:22:41'::timestamp) - extract(epoch from '2026-07-02 10:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044139 -2.814776)'), GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.814867)'))) / (select extract(epoch from '2026-07-02 10:22:41'::timestamp) - extract(epoch from '2026-07-02 10:22: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'), 47626, 'SRID=4674;POINT (-40.044116 -2.814929)', '2026-07-02 10:22:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.814867)'), GeomFromEWKT('SRID=4674;POINT (-40.044116 -2.814929)'))) / (select extract(epoch from '2026-07-02 10:22:45'::timestamp) - extract(epoch from '2026-07-02 10:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.814867)'), GeomFromEWKT('SRID=4674;POINT (-40.044116 -2.814929)'))) / (select extract(epoch from '2026-07-02 10:22:45'::timestamp) - extract(epoch from '2026-07-02 10:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.044105 -2.814974)', '2026-07-02 10:22:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044116 -2.814929)'), GeomFromEWKT('SRID=4674;POINT (-40.044105 -2.814974)'))) / (select extract(epoch from '2026-07-02 10:22:48'::timestamp) - extract(epoch from '2026-07-02 10:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044116 -2.814929)'), GeomFromEWKT('SRID=4674;POINT (-40.044105 -2.814974)'))) / (select extract(epoch from '2026-07-02 10:22:48'::timestamp) - extract(epoch from '2026-07-02 10:22: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'), 47626, 'SRID=4674;POINT (-40.044065 -2.81507)', '2026-07-02 10:22:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044105 -2.814974)'), GeomFromEWKT('SRID=4674;POINT (-40.044065 -2.81507)'))) / (select extract(epoch from '2026-07-02 10:22:55'::timestamp) - extract(epoch from '2026-07-02 10:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044105 -2.814974)'), GeomFromEWKT('SRID=4674;POINT (-40.044065 -2.81507)'))) / (select extract(epoch from '2026-07-02 10:22:55'::timestamp) - extract(epoch from '2026-07-02 10:22: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'), 47626, 'SRID=4674;POINT (-40.04404 -2.81519)', '2026-07-02 10:23:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044065 -2.81507)'), GeomFromEWKT('SRID=4674;POINT (-40.04404 -2.81519)'))) / (select extract(epoch from '2026-07-02 10:23:03'::timestamp) - extract(epoch from '2026-07-02 10:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044065 -2.81507)'), GeomFromEWKT('SRID=4674;POINT (-40.04404 -2.81519)'))) / (select extract(epoch from '2026-07-02 10:23:03'::timestamp) - extract(epoch from '2026-07-02 10:22: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'), 47626, 'SRID=4674;POINT (-40.044017 -2.815325)', '2026-07-02 10:23:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04404 -2.81519)'), GeomFromEWKT('SRID=4674;POINT (-40.044017 -2.815325)'))) / (select extract(epoch from '2026-07-02 10:23:12'::timestamp) - extract(epoch from '2026-07-02 10:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04404 -2.81519)'), GeomFromEWKT('SRID=4674;POINT (-40.044017 -2.815325)'))) / (select extract(epoch from '2026-07-02 10:23:12'::timestamp) - extract(epoch from '2026-07-02 10:23: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'), 47626, 'SRID=4674;POINT (-40.044007 -2.815434)', '2026-07-02 10:23:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044017 -2.815325)'), GeomFromEWKT('SRID=4674;POINT (-40.044007 -2.815434)'))) / (select extract(epoch from '2026-07-02 10:23:19'::timestamp) - extract(epoch from '2026-07-02 10:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044017 -2.815325)'), GeomFromEWKT('SRID=4674;POINT (-40.044007 -2.815434)'))) / (select extract(epoch from '2026-07-02 10:23:19'::timestamp) - extract(epoch from '2026-07-02 10:23: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'), 47626, 'SRID=4674;POINT (-40.043992 -2.815574)', '2026-07-02 10:23:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044007 -2.815434)'), GeomFromEWKT('SRID=4674;POINT (-40.043992 -2.815574)'))) / (select extract(epoch from '2026-07-02 10:23:28'::timestamp) - extract(epoch from '2026-07-02 10:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044007 -2.815434)'), GeomFromEWKT('SRID=4674;POINT (-40.043992 -2.815574)'))) / (select extract(epoch from '2026-07-02 10:23:28'::timestamp) - extract(epoch from '2026-07-02 10:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043968 -2.815701)', '2026-07-02 10:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043992 -2.815574)'), GeomFromEWKT('SRID=4674;POINT (-40.043968 -2.815701)'))) / (select extract(epoch from '2026-07-02 10:23:36'::timestamp) - extract(epoch from '2026-07-02 10:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043992 -2.815574)'), GeomFromEWKT('SRID=4674;POINT (-40.043968 -2.815701)'))) / (select extract(epoch from '2026-07-02 10:23:36'::timestamp) - extract(epoch from '2026-07-02 10:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043951 -2.815865)', '2026-07-02 10:23:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043968 -2.815701)'), GeomFromEWKT('SRID=4674;POINT (-40.043951 -2.815865)'))) / (select extract(epoch from '2026-07-02 10:23:46'::timestamp) - extract(epoch from '2026-07-02 10:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043968 -2.815701)'), GeomFromEWKT('SRID=4674;POINT (-40.043951 -2.815865)'))) / (select extract(epoch from '2026-07-02 10:23:46'::timestamp) - extract(epoch from '2026-07-02 10:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043934 -2.815977)', '2026-07-02 10:23:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043951 -2.815865)'), GeomFromEWKT('SRID=4674;POINT (-40.043934 -2.815977)'))) / (select extract(epoch from '2026-07-02 10:23:53'::timestamp) - extract(epoch from '2026-07-02 10:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043951 -2.815865)'), GeomFromEWKT('SRID=4674;POINT (-40.043934 -2.815977)'))) / (select extract(epoch from '2026-07-02 10:23:53'::timestamp) - extract(epoch from '2026-07-02 10:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.04392 -2.816104)', '2026-07-02 10:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043934 -2.815977)'), GeomFromEWKT('SRID=4674;POINT (-40.04392 -2.816104)'))) / (select extract(epoch from '2026-07-02 10:24:01'::timestamp) - extract(epoch from '2026-07-02 10:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043934 -2.815977)'), GeomFromEWKT('SRID=4674;POINT (-40.04392 -2.816104)'))) / (select extract(epoch from '2026-07-02 10:24:01'::timestamp) - extract(epoch from '2026-07-02 10:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043912 -2.816257)', '2026-07-02 10:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04392 -2.816104)'), GeomFromEWKT('SRID=4674;POINT (-40.043912 -2.816257)'))) / (select extract(epoch from '2026-07-02 10:24:11'::timestamp) - extract(epoch from '2026-07-02 10:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04392 -2.816104)'), GeomFromEWKT('SRID=4674;POINT (-40.043912 -2.816257)'))) / (select extract(epoch from '2026-07-02 10:24:11'::timestamp) - extract(epoch from '2026-07-02 10:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043876 -2.816395)', '2026-07-02 10:24:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043912 -2.816257)'), GeomFromEWKT('SRID=4674;POINT (-40.043876 -2.816395)'))) / (select extract(epoch from '2026-07-02 10:24:20'::timestamp) - extract(epoch from '2026-07-02 10:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043912 -2.816257)'), GeomFromEWKT('SRID=4674;POINT (-40.043876 -2.816395)'))) / (select extract(epoch from '2026-07-02 10:24:20'::timestamp) - extract(epoch from '2026-07-02 10:24: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'), 47626, 'SRID=4674;POINT (-40.043836 -2.816529)', '2026-07-02 10:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043876 -2.816395)'), GeomFromEWKT('SRID=4674;POINT (-40.043836 -2.816529)'))) / (select extract(epoch from '2026-07-02 10:24:29'::timestamp) - extract(epoch from '2026-07-02 10:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043876 -2.816395)'), GeomFromEWKT('SRID=4674;POINT (-40.043836 -2.816529)'))) / (select extract(epoch from '2026-07-02 10:24:29'::timestamp) - extract(epoch from '2026-07-02 10:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043807 -2.816666)', '2026-07-02 10:24:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043836 -2.816529)'), GeomFromEWKT('SRID=4674;POINT (-40.043807 -2.816666)'))) / (select extract(epoch from '2026-07-02 10:24:38'::timestamp) - extract(epoch from '2026-07-02 10:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043836 -2.816529)'), GeomFromEWKT('SRID=4674;POINT (-40.043807 -2.816666)'))) / (select extract(epoch from '2026-07-02 10:24:38'::timestamp) - extract(epoch from '2026-07-02 10:24: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'), 47626, 'SRID=4674;POINT (-40.043791 -2.816821)', '2026-07-02 10:24:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043807 -2.816666)'), GeomFromEWKT('SRID=4674;POINT (-40.043791 -2.816821)'))) / (select extract(epoch from '2026-07-02 10:24:48'::timestamp) - extract(epoch from '2026-07-02 10:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043807 -2.816666)'), GeomFromEWKT('SRID=4674;POINT (-40.043791 -2.816821)'))) / (select extract(epoch from '2026-07-02 10:24:48'::timestamp) - extract(epoch from '2026-07-02 10:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043717 -2.816979)', '2026-07-02 10:24:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043791 -2.816821)'), GeomFromEWKT('SRID=4674;POINT (-40.043717 -2.816979)'))) / (select extract(epoch from '2026-07-02 10:24:59'::timestamp) - extract(epoch from '2026-07-02 10:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043791 -2.816821)'), GeomFromEWKT('SRID=4674;POINT (-40.043717 -2.816979)'))) / (select extract(epoch from '2026-07-02 10:24:59'::timestamp) - extract(epoch from '2026-07-02 10:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043658 -2.817109)', '2026-07-02 10:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043717 -2.816979)'), GeomFromEWKT('SRID=4674;POINT (-40.043658 -2.817109)'))) / (select extract(epoch from '2026-07-02 10:25:08'::timestamp) - extract(epoch from '2026-07-02 10:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043717 -2.816979)'), GeomFromEWKT('SRID=4674;POINT (-40.043658 -2.817109)'))) / (select extract(epoch from '2026-07-02 10:25:08'::timestamp) - extract(epoch from '2026-07-02 10:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043619 -2.817243)', '2026-07-02 10:25:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043658 -2.817109)'), GeomFromEWKT('SRID=4674;POINT (-40.043619 -2.817243)'))) / (select extract(epoch from '2026-07-02 10:25:17'::timestamp) - extract(epoch from '2026-07-02 10:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043658 -2.817109)'), GeomFromEWKT('SRID=4674;POINT (-40.043619 -2.817243)'))) / (select extract(epoch from '2026-07-02 10:25:17'::timestamp) - extract(epoch from '2026-07-02 10:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043563 -2.817394)', '2026-07-02 10:25:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043619 -2.817243)'), GeomFromEWKT('SRID=4674;POINT (-40.043563 -2.817394)'))) / (select extract(epoch from '2026-07-02 10:25:27'::timestamp) - extract(epoch from '2026-07-02 10:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043619 -2.817243)'), GeomFromEWKT('SRID=4674;POINT (-40.043563 -2.817394)'))) / (select extract(epoch from '2026-07-02 10:25:27'::timestamp) - extract(epoch from '2026-07-02 10:25: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'), 47626, 'SRID=4674;POINT (-40.043503 -2.817524)', '2026-07-02 10:25:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043563 -2.817394)'), GeomFromEWKT('SRID=4674;POINT (-40.043503 -2.817524)'))) / (select extract(epoch from '2026-07-02 10:25:36'::timestamp) - extract(epoch from '2026-07-02 10:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043563 -2.817394)'), GeomFromEWKT('SRID=4674;POINT (-40.043503 -2.817524)'))) / (select extract(epoch from '2026-07-02 10:25:36'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.04346 -2.817638)', '2026-07-02 10:25:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043503 -2.817524)'), GeomFromEWKT('SRID=4674;POINT (-40.04346 -2.817638)'))) / (select extract(epoch from '2026-07-02 10:25:44'::timestamp) - extract(epoch from '2026-07-02 10:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043503 -2.817524)'), GeomFromEWKT('SRID=4674;POINT (-40.04346 -2.817638)'))) / (select extract(epoch from '2026-07-02 10:25:44'::timestamp) - extract(epoch from '2026-07-02 10:25: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'), 47626, 'SRID=4674;POINT (-40.043442 -2.817794)', '2026-07-02 10:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04346 -2.817638)'), GeomFromEWKT('SRID=4674;POINT (-40.043442 -2.817794)'))) / (select extract(epoch from '2026-07-02 10:25:54'::timestamp) - extract(epoch from '2026-07-02 10:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04346 -2.817638)'), GeomFromEWKT('SRID=4674;POINT (-40.043442 -2.817794)'))) / (select extract(epoch from '2026-07-02 10:25:54'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.043386 -2.817977)', '2026-07-02 10:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043442 -2.817794)'), GeomFromEWKT('SRID=4674;POINT (-40.043386 -2.817977)'))) / (select extract(epoch from '2026-07-02 10:26:06'::timestamp) - extract(epoch from '2026-07-02 10:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043442 -2.817794)'), GeomFromEWKT('SRID=4674;POINT (-40.043386 -2.817977)'))) / (select extract(epoch from '2026-07-02 10:26:06'::timestamp) - extract(epoch from '2026-07-02 10:25: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'), 47626, 'SRID=4674;POINT (-40.043352 -2.818097)', '2026-07-02 10:26:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043386 -2.817977)'), GeomFromEWKT('SRID=4674;POINT (-40.043352 -2.818097)'))) / (select extract(epoch from '2026-07-02 10:26:14'::timestamp) - extract(epoch from '2026-07-02 10:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043386 -2.817977)'), GeomFromEWKT('SRID=4674;POINT (-40.043352 -2.818097)'))) / (select extract(epoch from '2026-07-02 10:26:14'::timestamp) - extract(epoch from '2026-07-02 10:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043311 -2.818228)', '2026-07-02 10:26:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043352 -2.818097)'), GeomFromEWKT('SRID=4674;POINT (-40.043311 -2.818228)'))) / (select extract(epoch from '2026-07-02 10:26:23'::timestamp) - extract(epoch from '2026-07-02 10:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043352 -2.818097)'), GeomFromEWKT('SRID=4674;POINT (-40.043311 -2.818228)'))) / (select extract(epoch from '2026-07-02 10:26:23'::timestamp) - extract(epoch from '2026-07-02 10:26: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'), 47626, 'SRID=4674;POINT (-40.043276 -2.818405)', '2026-07-02 10:26:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043311 -2.818228)'), GeomFromEWKT('SRID=4674;POINT (-40.043276 -2.818405)'))) / (select extract(epoch from '2026-07-02 10:26:34'::timestamp) - extract(epoch from '2026-07-02 10:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043311 -2.818228)'), GeomFromEWKT('SRID=4674;POINT (-40.043276 -2.818405)'))) / (select extract(epoch from '2026-07-02 10:26:34'::timestamp) - extract(epoch from '2026-07-02 10:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043248 -2.818616)', '2026-07-02 10:26:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043276 -2.818405)'), GeomFromEWKT('SRID=4674;POINT (-40.043248 -2.818616)'))) / (select extract(epoch from '2026-07-02 10:26:47'::timestamp) - extract(epoch from '2026-07-02 10:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043276 -2.818405)'), GeomFromEWKT('SRID=4674;POINT (-40.043248 -2.818616)'))) / (select extract(epoch from '2026-07-02 10:26:47'::timestamp) - extract(epoch from '2026-07-02 10:26: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'), 47626, 'SRID=4674;POINT (-40.043212 -2.818772)', '2026-07-02 10:26:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043248 -2.818616)'), GeomFromEWKT('SRID=4674;POINT (-40.043212 -2.818772)'))) / (select extract(epoch from '2026-07-02 10:26:57'::timestamp) - extract(epoch from '2026-07-02 10:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043248 -2.818616)'), GeomFromEWKT('SRID=4674;POINT (-40.043212 -2.818772)'))) / (select extract(epoch from '2026-07-02 10:26:57'::timestamp) - extract(epoch from '2026-07-02 10:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043189 -2.818915)', '2026-07-02 10:27:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043212 -2.818772)'), GeomFromEWKT('SRID=4674;POINT (-40.043189 -2.818915)'))) / (select extract(epoch from '2026-07-02 10:27:06'::timestamp) - extract(epoch from '2026-07-02 10:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043212 -2.818772)'), GeomFromEWKT('SRID=4674;POINT (-40.043189 -2.818915)'))) / (select extract(epoch from '2026-07-02 10:27:06'::timestamp) - extract(epoch from '2026-07-02 10:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043187 -2.819115)', '2026-07-02 10:27:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043189 -2.818915)'), GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.819115)'))) / (select extract(epoch from '2026-07-02 10:27:18'::timestamp) - extract(epoch from '2026-07-02 10:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043189 -2.818915)'), GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.819115)'))) / (select extract(epoch from '2026-07-02 10:27:18'::timestamp) - extract(epoch from '2026-07-02 10:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043181 -2.819325)', '2026-07-02 10:27:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.819115)'), GeomFromEWKT('SRID=4674;POINT (-40.043181 -2.819325)'))) / (select extract(epoch from '2026-07-02 10:27:31'::timestamp) - extract(epoch from '2026-07-02 10:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.819115)'), GeomFromEWKT('SRID=4674;POINT (-40.043181 -2.819325)'))) / (select extract(epoch from '2026-07-02 10:27:31'::timestamp) - extract(epoch from '2026-07-02 10:27: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'), 47626, 'SRID=4674;POINT (-40.043183 -2.819479)', '2026-07-02 10:27:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043181 -2.819325)'), GeomFromEWKT('SRID=4674;POINT (-40.043183 -2.819479)'))) / (select extract(epoch from '2026-07-02 10:27:41'::timestamp) - extract(epoch from '2026-07-02 10:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043181 -2.819325)'), GeomFromEWKT('SRID=4674;POINT (-40.043183 -2.819479)'))) / (select extract(epoch from '2026-07-02 10:27:41'::timestamp) - extract(epoch from '2026-07-02 10:27: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'), 47626, 'SRID=4674;POINT (-40.043178 -2.81959)', '2026-07-02 10:27:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043183 -2.819479)'), GeomFromEWKT('SRID=4674;POINT (-40.043178 -2.81959)'))) / (select extract(epoch from '2026-07-02 10:27:49'::timestamp) - extract(epoch from '2026-07-02 10:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043183 -2.819479)'), GeomFromEWKT('SRID=4674;POINT (-40.043178 -2.81959)'))) / (select extract(epoch from '2026-07-02 10:27:49'::timestamp) - extract(epoch from '2026-07-02 10:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.04308 -2.819652)', '2026-07-02 10:27:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043178 -2.81959)'), GeomFromEWKT('SRID=4674;POINT (-40.04308 -2.819652)'))) / (select extract(epoch from '2026-07-02 10:27:57'::timestamp) - extract(epoch from '2026-07-02 10:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043178 -2.81959)'), GeomFromEWKT('SRID=4674;POINT (-40.04308 -2.819652)'))) / (select extract(epoch from '2026-07-02 10:27:57'::timestamp) - extract(epoch from '2026-07-02 10:27: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'), 47626, 'SRID=4674;POINT (-40.042895 -2.819754)', '2026-07-02 10:28:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04308 -2.819652)'), GeomFromEWKT('SRID=4674;POINT (-40.042895 -2.819754)'))) / (select extract(epoch from '2026-07-02 10:28:11'::timestamp) - extract(epoch from '2026-07-02 10:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04308 -2.819652)'), GeomFromEWKT('SRID=4674;POINT (-40.042895 -2.819754)'))) / (select extract(epoch from '2026-07-02 10:28:11'::timestamp) - extract(epoch from '2026-07-02 10:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042698 -2.819861)', '2026-07-02 10:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042895 -2.819754)'), GeomFromEWKT('SRID=4674;POINT (-40.042698 -2.819861)'))) / (select extract(epoch from '2026-07-02 10:28:25'::timestamp) - extract(epoch from '2026-07-02 10:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042895 -2.819754)'), GeomFromEWKT('SRID=4674;POINT (-40.042698 -2.819861)'))) / (select extract(epoch from '2026-07-02 10:28:25'::timestamp) - extract(epoch from '2026-07-02 10:28: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'), 47626, 'SRID=4674;POINT (-40.042592 -2.819958)', '2026-07-02 10:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042698 -2.819861)'), GeomFromEWKT('SRID=4674;POINT (-40.042592 -2.819958)'))) / (select extract(epoch from '2026-07-02 10:28:34'::timestamp) - extract(epoch from '2026-07-02 10:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042698 -2.819861)'), GeomFromEWKT('SRID=4674;POINT (-40.042592 -2.819958)'))) / (select extract(epoch from '2026-07-02 10:28:34'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.042441 -2.820119)', '2026-07-02 10:28:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042592 -2.819958)'), GeomFromEWKT('SRID=4674;POINT (-40.042441 -2.820119)'))) / (select extract(epoch from '2026-07-02 10:28:47'::timestamp) - extract(epoch from '2026-07-02 10:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042592 -2.819958)'), GeomFromEWKT('SRID=4674;POINT (-40.042441 -2.820119)'))) / (select extract(epoch from '2026-07-02 10:28:47'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.042332 -2.820268)', '2026-07-02 10:28:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042441 -2.820119)'), GeomFromEWKT('SRID=4674;POINT (-40.042332 -2.820268)'))) / (select extract(epoch from '2026-07-02 10:28:58'::timestamp) - extract(epoch from '2026-07-02 10:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042441 -2.820119)'), GeomFromEWKT('SRID=4674;POINT (-40.042332 -2.820268)'))) / (select extract(epoch from '2026-07-02 10:28:58'::timestamp) - extract(epoch from '2026-07-02 10:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042222 -2.820469)', '2026-07-02 10:29:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042332 -2.820268)'), GeomFromEWKT('SRID=4674;POINT (-40.042222 -2.820469)'))) / (select extract(epoch from '2026-07-02 10:29:12'::timestamp) - extract(epoch from '2026-07-02 10:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042332 -2.820268)'), GeomFromEWKT('SRID=4674;POINT (-40.042222 -2.820469)'))) / (select extract(epoch from '2026-07-02 10:29:12'::timestamp) - extract(epoch from '2026-07-02 10:28: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'), 47626, 'SRID=4674;POINT (-40.04217 -2.820605)', '2026-07-02 10:29:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042222 -2.820469)'), GeomFromEWKT('SRID=4674;POINT (-40.04217 -2.820605)'))) / (select extract(epoch from '2026-07-02 10:29:21'::timestamp) - extract(epoch from '2026-07-02 10:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042222 -2.820469)'), GeomFromEWKT('SRID=4674;POINT (-40.04217 -2.820605)'))) / (select extract(epoch from '2026-07-02 10:29:21'::timestamp) - extract(epoch from '2026-07-02 10:29: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'), 47626, 'SRID=4674;POINT (-40.042139 -2.820777)', '2026-07-02 10:29:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04217 -2.820605)'), GeomFromEWKT('SRID=4674;POINT (-40.042139 -2.820777)'))) / (select extract(epoch from '2026-07-02 10:29:32'::timestamp) - extract(epoch from '2026-07-02 10:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04217 -2.820605)'), GeomFromEWKT('SRID=4674;POINT (-40.042139 -2.820777)'))) / (select extract(epoch from '2026-07-02 10:29:32'::timestamp) - extract(epoch from '2026-07-02 10:29: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'), 47626, 'SRID=4674;POINT (-40.042136 -2.82097)', '2026-07-02 10:29:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042139 -2.820777)'), GeomFromEWKT('SRID=4674;POINT (-40.042136 -2.82097)'))) / (select extract(epoch from '2026-07-02 10:29:44'::timestamp) - extract(epoch from '2026-07-02 10:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042139 -2.820777)'), GeomFromEWKT('SRID=4674;POINT (-40.042136 -2.82097)'))) / (select extract(epoch from '2026-07-02 10:29:44'::timestamp) - extract(epoch from '2026-07-02 10:29: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'), 47626, 'SRID=4674;POINT (-40.042119 -2.821187)', '2026-07-02 10:29:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042136 -2.82097)'), GeomFromEWKT('SRID=4674;POINT (-40.042119 -2.821187)'))) / (select extract(epoch from '2026-07-02 10:29:58'::timestamp) - extract(epoch from '2026-07-02 10:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042136 -2.82097)'), GeomFromEWKT('SRID=4674;POINT (-40.042119 -2.821187)'))) / (select extract(epoch from '2026-07-02 10:29:58'::timestamp) - extract(epoch from '2026-07-02 10:29: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'), 47626, 'SRID=4674;POINT (-40.042076 -2.821351)', '2026-07-02 10:30:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042119 -2.821187)'), GeomFromEWKT('SRID=4674;POINT (-40.042076 -2.821351)'))) / (select extract(epoch from '2026-07-02 10:30:09'::timestamp) - extract(epoch from '2026-07-02 10:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042119 -2.821187)'), GeomFromEWKT('SRID=4674;POINT (-40.042076 -2.821351)'))) / (select extract(epoch from '2026-07-02 10:30:09'::timestamp) - extract(epoch from '2026-07-02 10:29: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'), 47626, 'SRID=4674;POINT (-40.042015 -2.821536)', '2026-07-02 10:30:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042076 -2.821351)'), GeomFromEWKT('SRID=4674;POINT (-40.042015 -2.821536)'))) / (select extract(epoch from '2026-07-02 10:30:22'::timestamp) - extract(epoch from '2026-07-02 10:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042076 -2.821351)'), GeomFromEWKT('SRID=4674;POINT (-40.042015 -2.821536)'))) / (select extract(epoch from '2026-07-02 10:30:22'::timestamp) - extract(epoch from '2026-07-02 10:30: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'), 47626, 'SRID=4674;POINT (-40.041989 -2.821705)', '2026-07-02 10:30:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042015 -2.821536)'), GeomFromEWKT('SRID=4674;POINT (-40.041989 -2.821705)'))) / (select extract(epoch from '2026-07-02 10:30:33'::timestamp) - extract(epoch from '2026-07-02 10:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042015 -2.821536)'), GeomFromEWKT('SRID=4674;POINT (-40.041989 -2.821705)'))) / (select extract(epoch from '2026-07-02 10:30:33'::timestamp) - extract(epoch from '2026-07-02 10:30: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'), 47626, 'SRID=4674;POINT (-40.042007 -2.821926)', '2026-07-02 10:30:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041989 -2.821705)'), GeomFromEWKT('SRID=4674;POINT (-40.042007 -2.821926)'))) / (select extract(epoch from '2026-07-02 10:30:47'::timestamp) - extract(epoch from '2026-07-02 10:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041989 -2.821705)'), GeomFromEWKT('SRID=4674;POINT (-40.042007 -2.821926)'))) / (select extract(epoch from '2026-07-02 10:30:47'::timestamp) - extract(epoch from '2026-07-02 10:30: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'), 47626, 'SRID=4674;POINT (-40.042048 -2.822144)', '2026-07-02 10:31:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042007 -2.821926)'), GeomFromEWKT('SRID=4674;POINT (-40.042048 -2.822144)'))) / (select extract(epoch from '2026-07-02 10:31:01'::timestamp) - extract(epoch from '2026-07-02 10:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042007 -2.821926)'), GeomFromEWKT('SRID=4674;POINT (-40.042048 -2.822144)'))) / (select extract(epoch from '2026-07-02 10:31:01'::timestamp) - extract(epoch from '2026-07-02 10:30: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'), 47626, 'SRID=4674;POINT (-40.04213 -2.822352)', '2026-07-02 10:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042048 -2.822144)'), GeomFromEWKT('SRID=4674;POINT (-40.04213 -2.822352)'))) / (select extract(epoch from '2026-07-02 10:31:15'::timestamp) - extract(epoch from '2026-07-02 10:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042048 -2.822144)'), GeomFromEWKT('SRID=4674;POINT (-40.04213 -2.822352)'))) / (select extract(epoch from '2026-07-02 10:31:15'::timestamp) - extract(epoch from '2026-07-02 10:31: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'), 47626, 'SRID=4674;POINT (-40.042197 -2.822482)', '2026-07-02 10:31:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04213 -2.822352)'), GeomFromEWKT('SRID=4674;POINT (-40.042197 -2.822482)'))) / (select extract(epoch from '2026-07-02 10:31:24'::timestamp) - extract(epoch from '2026-07-02 10:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04213 -2.822352)'), GeomFromEWKT('SRID=4674;POINT (-40.042197 -2.822482)'))) / (select extract(epoch from '2026-07-02 10:31:24'::timestamp) - extract(epoch from '2026-07-02 10:31: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'), 47626, 'SRID=4674;POINT (-40.042242 -2.822663)', '2026-07-02 10:31:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042197 -2.822482)'), GeomFromEWKT('SRID=4674;POINT (-40.042242 -2.822663)'))) / (select extract(epoch from '2026-07-02 10:31:36'::timestamp) - extract(epoch from '2026-07-02 10:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042197 -2.822482)'), GeomFromEWKT('SRID=4674;POINT (-40.042242 -2.822663)'))) / (select extract(epoch from '2026-07-02 10:31:36'::timestamp) - extract(epoch from '2026-07-02 10:31: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'), 47626, 'SRID=4674;POINT (-40.042292 -2.822891)', '2026-07-02 10:31:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042242 -2.822663)'), GeomFromEWKT('SRID=4674;POINT (-40.042292 -2.822891)'))) / (select extract(epoch from '2026-07-02 10:31:51'::timestamp) - extract(epoch from '2026-07-02 10:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042242 -2.822663)'), GeomFromEWKT('SRID=4674;POINT (-40.042292 -2.822891)'))) / (select extract(epoch from '2026-07-02 10:31:51'::timestamp) - extract(epoch from '2026-07-02 10:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042354 -2.823145)', '2026-07-02 10:32:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042292 -2.822891)'), GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.823145)'))) / (select extract(epoch from '2026-07-02 10:32:08'::timestamp) - extract(epoch from '2026-07-02 10:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042292 -2.822891)'), GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.823145)'))) / (select extract(epoch from '2026-07-02 10:32:08'::timestamp) - extract(epoch from '2026-07-02 10:31: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'), 47626, 'SRID=4674;POINT (-40.042393 -2.823423)', '2026-07-02 10:32:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.823145)'), GeomFromEWKT('SRID=4674;POINT (-40.042393 -2.823423)'))) / (select extract(epoch from '2026-07-02 10:32:26'::timestamp) - extract(epoch from '2026-07-02 10:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042354 -2.823145)'), GeomFromEWKT('SRID=4674;POINT (-40.042393 -2.823423)'))) / (select extract(epoch from '2026-07-02 10:32:26'::timestamp) - extract(epoch from '2026-07-02 10:32: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'), 47626, 'SRID=4674;POINT (-40.04245 -2.823679)', '2026-07-02 10:32:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042393 -2.823423)'), GeomFromEWKT('SRID=4674;POINT (-40.04245 -2.823679)'))) / (select extract(epoch from '2026-07-02 10:32:42'::timestamp) - extract(epoch from '2026-07-02 10:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042393 -2.823423)'), GeomFromEWKT('SRID=4674;POINT (-40.04245 -2.823679)'))) / (select extract(epoch from '2026-07-02 10:32:42'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.042554 -2.823948)', '2026-07-02 10:32:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04245 -2.823679)'), GeomFromEWKT('SRID=4674;POINT (-40.042554 -2.823948)'))) / (select extract(epoch from '2026-07-02 10:32:59'::timestamp) - extract(epoch from '2026-07-02 10:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04245 -2.823679)'), GeomFromEWKT('SRID=4674;POINT (-40.042554 -2.823948)'))) / (select extract(epoch from '2026-07-02 10:32:59'::timestamp) - extract(epoch from '2026-07-02 10:32: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'), 47626, 'SRID=4674;POINT (-40.042693 -2.824131)', '2026-07-02 10:33:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042554 -2.823948)'), GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.824131)'))) / (select extract(epoch from '2026-07-02 10:33:12'::timestamp) - extract(epoch from '2026-07-02 10:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042554 -2.823948)'), GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.824131)'))) / (select extract(epoch from '2026-07-02 10:33:12'::timestamp) - extract(epoch from '2026-07-02 10:32: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'), 47626, 'SRID=4674;POINT (-40.042872 -2.824305)', '2026-07-02 10:33:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.824131)'), GeomFromEWKT('SRID=4674;POINT (-40.042872 -2.824305)'))) / (select extract(epoch from '2026-07-02 10:33:26'::timestamp) - extract(epoch from '2026-07-02 10:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.824131)'), GeomFromEWKT('SRID=4674;POINT (-40.042872 -2.824305)'))) / (select extract(epoch from '2026-07-02 10:33:26'::timestamp) - extract(epoch from '2026-07-02 10:33: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'), 47626, 'SRID=4674;POINT (-40.042989 -2.824469)', '2026-07-02 10:33:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042872 -2.824305)'), GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.824469)'))) / (select extract(epoch from '2026-07-02 10:33:38'::timestamp) - extract(epoch from '2026-07-02 10:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042872 -2.824305)'), GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.824469)'))) / (select extract(epoch from '2026-07-02 10:33:38'::timestamp) - extract(epoch from '2026-07-02 10:33: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'), 47626, 'SRID=4674;POINT (-40.043064 -2.824637)', '2026-07-02 10:33:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.824469)'), GeomFromEWKT('SRID=4674;POINT (-40.043064 -2.824637)'))) / (select extract(epoch from '2026-07-02 10:33:50'::timestamp) - extract(epoch from '2026-07-02 10:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.824469)'), GeomFromEWKT('SRID=4674;POINT (-40.043064 -2.824637)'))) / (select extract(epoch from '2026-07-02 10:33:50'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.043114 -2.824786)', '2026-07-02 10:34:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043064 -2.824637)'), GeomFromEWKT('SRID=4674;POINT (-40.043114 -2.824786)'))) / (select extract(epoch from '2026-07-02 10:34:01'::timestamp) - extract(epoch from '2026-07-02 10:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043064 -2.824637)'), GeomFromEWKT('SRID=4674;POINT (-40.043114 -2.824786)'))) / (select extract(epoch from '2026-07-02 10:34:01'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.043199 -2.825003)', '2026-07-02 10:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043114 -2.824786)'), GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.825003)'))) / (select extract(epoch from '2026-07-02 10:34:17'::timestamp) - extract(epoch from '2026-07-02 10:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043114 -2.824786)'), GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.825003)'))) / (select extract(epoch from '2026-07-02 10:34:17'::timestamp) - extract(epoch from '2026-07-02 10:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043199 -2.825223)', '2026-07-02 10:34:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.825003)'), GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.825223)'))) / (select extract(epoch from '2026-07-02 10:34:33'::timestamp) - extract(epoch from '2026-07-02 10:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.825003)'), GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.825223)'))) / (select extract(epoch from '2026-07-02 10:34:33'::timestamp) - extract(epoch from '2026-07-02 10:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043179 -2.825416)', '2026-07-02 10:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.825223)'), GeomFromEWKT('SRID=4674;POINT (-40.043179 -2.825416)'))) / (select extract(epoch from '2026-07-02 10:34:47'::timestamp) - extract(epoch from '2026-07-02 10:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.825223)'), GeomFromEWKT('SRID=4674;POINT (-40.043179 -2.825416)'))) / (select extract(epoch from '2026-07-02 10:34:47'::timestamp) - extract(epoch from '2026-07-02 10:34: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'), 47626, 'SRID=4674;POINT (-40.04313 -2.825565)', '2026-07-02 10:34:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043179 -2.825416)'), GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.825565)'))) / (select extract(epoch from '2026-07-02 10:34:58'::timestamp) - extract(epoch from '2026-07-02 10:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043179 -2.825416)'), GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.825565)'))) / (select extract(epoch from '2026-07-02 10:34:58'::timestamp) - extract(epoch from '2026-07-02 10:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043099 -2.825724)', '2026-07-02 10:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.825565)'), GeomFromEWKT('SRID=4674;POINT (-40.043099 -2.825724)'))) / (select extract(epoch from '2026-07-02 10:35:10'::timestamp) - extract(epoch from '2026-07-02 10:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.825565)'), GeomFromEWKT('SRID=4674;POINT (-40.043099 -2.825724)'))) / (select extract(epoch from '2026-07-02 10:35:10'::timestamp) - extract(epoch from '2026-07-02 10:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043134 -2.825921)', '2026-07-02 10:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043099 -2.825724)'), GeomFromEWKT('SRID=4674;POINT (-40.043134 -2.825921)'))) / (select extract(epoch from '2026-07-02 10:35:24'::timestamp) - extract(epoch from '2026-07-02 10:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043099 -2.825724)'), GeomFromEWKT('SRID=4674;POINT (-40.043134 -2.825921)'))) / (select extract(epoch from '2026-07-02 10:35:24'::timestamp) - extract(epoch from '2026-07-02 10:35: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'), 47626, 'SRID=4674;POINT (-40.043083 -2.826073)', '2026-07-02 10:35:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043134 -2.825921)'), GeomFromEWKT('SRID=4674;POINT (-40.043083 -2.826073)'))) / (select extract(epoch from '2026-07-02 10:35:36'::timestamp) - extract(epoch from '2026-07-02 10:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043134 -2.825921)'), GeomFromEWKT('SRID=4674;POINT (-40.043083 -2.826073)'))) / (select extract(epoch from '2026-07-02 10:35:36'::timestamp) - extract(epoch from '2026-07-02 10:35: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'), 47626, 'SRID=4674;POINT (-40.04303 -2.82622)', '2026-07-02 10:35:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043083 -2.826073)'), GeomFromEWKT('SRID=4674;POINT (-40.04303 -2.82622)'))) / (select extract(epoch from '2026-07-02 10:35:48'::timestamp) - extract(epoch from '2026-07-02 10:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043083 -2.826073)'), GeomFromEWKT('SRID=4674;POINT (-40.04303 -2.82622)'))) / (select extract(epoch from '2026-07-02 10:35:48'::timestamp) - extract(epoch from '2026-07-02 10:35: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'), 47626, 'SRID=4674;POINT (-40.042902 -2.82636)', '2026-07-02 10:36:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04303 -2.82622)'), GeomFromEWKT('SRID=4674;POINT (-40.042902 -2.82636)'))) / (select extract(epoch from '2026-07-02 10:36:02'::timestamp) - extract(epoch from '2026-07-02 10:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04303 -2.82622)'), GeomFromEWKT('SRID=4674;POINT (-40.042902 -2.82636)'))) / (select extract(epoch from '2026-07-02 10:36:02'::timestamp) - extract(epoch from '2026-07-02 10:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042819 -2.826504)', '2026-07-02 10:36:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042902 -2.82636)'), GeomFromEWKT('SRID=4674;POINT (-40.042819 -2.826504)'))) / (select extract(epoch from '2026-07-02 10:36:15'::timestamp) - extract(epoch from '2026-07-02 10:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042902 -2.82636)'), GeomFromEWKT('SRID=4674;POINT (-40.042819 -2.826504)'))) / (select extract(epoch from '2026-07-02 10:36:15'::timestamp) - extract(epoch from '2026-07-02 10:36: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'), 47626, 'SRID=4674;POINT (-40.042783 -2.826692)', '2026-07-02 10:36:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042819 -2.826504)'), GeomFromEWKT('SRID=4674;POINT (-40.042783 -2.826692)'))) / (select extract(epoch from '2026-07-02 10:36:29'::timestamp) - extract(epoch from '2026-07-02 10:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042819 -2.826504)'), GeomFromEWKT('SRID=4674;POINT (-40.042783 -2.826692)'))) / (select extract(epoch from '2026-07-02 10:36:29'::timestamp) - extract(epoch from '2026-07-02 10:36: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'), 47626, 'SRID=4674;POINT (-40.042765 -2.826812)', '2026-07-02 10:36:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042783 -2.826692)'), GeomFromEWKT('SRID=4674;POINT (-40.042765 -2.826812)'))) / (select extract(epoch from '2026-07-02 10:36:38'::timestamp) - extract(epoch from '2026-07-02 10:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042783 -2.826692)'), GeomFromEWKT('SRID=4674;POINT (-40.042765 -2.826812)'))) / (select extract(epoch from '2026-07-02 10:36:38'::timestamp) - extract(epoch from '2026-07-02 10:36:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.04267 -2.826971)', '2026-07-02 10:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042765 -2.826812)'), GeomFromEWKT('SRID=4674;POINT (-40.04267 -2.826971)'))) / (select extract(epoch from '2026-07-02 10:36:51'::timestamp) - extract(epoch from '2026-07-02 10:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042765 -2.826812)'), GeomFromEWKT('SRID=4674;POINT (-40.04267 -2.826971)'))) / (select extract(epoch from '2026-07-02 10:36:51'::timestamp) - extract(epoch from '2026-07-02 10:36:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042618 -2.827141)', '2026-07-02 10:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04267 -2.826971)'), GeomFromEWKT('SRID=4674;POINT (-40.042618 -2.827141)'))) / (select extract(epoch from '2026-07-02 10:37:03'::timestamp) - extract(epoch from '2026-07-02 10:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04267 -2.826971)'), GeomFromEWKT('SRID=4674;POINT (-40.042618 -2.827141)'))) / (select extract(epoch from '2026-07-02 10:37:03'::timestamp) - extract(epoch from '2026-07-02 10:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042666 -2.827269)', '2026-07-02 10:37:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042618 -2.827141)'), GeomFromEWKT('SRID=4674;POINT (-40.042666 -2.827269)'))) / (select extract(epoch from '2026-07-02 10:37:12'::timestamp) - extract(epoch from '2026-07-02 10:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042618 -2.827141)'), GeomFromEWKT('SRID=4674;POINT (-40.042666 -2.827269)'))) / (select extract(epoch from '2026-07-02 10:37:12'::timestamp) - extract(epoch from '2026-07-02 10:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042761 -2.827438)', '2026-07-02 10:37:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042666 -2.827269)'), GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.827438)'))) / (select extract(epoch from '2026-07-02 10:37:25'::timestamp) - extract(epoch from '2026-07-02 10:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042666 -2.827269)'), GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.827438)'))) / (select extract(epoch from '2026-07-02 10:37:25'::timestamp) - extract(epoch from '2026-07-02 10:37: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'), 47626, 'SRID=4674;POINT (-40.042869 -2.827666)', '2026-07-02 10:37:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.827438)'), GeomFromEWKT('SRID=4674;POINT (-40.042869 -2.827666)'))) / (select extract(epoch from '2026-07-02 10:37:42'::timestamp) - extract(epoch from '2026-07-02 10:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042761 -2.827438)'), GeomFromEWKT('SRID=4674;POINT (-40.042869 -2.827666)'))) / (select extract(epoch from '2026-07-02 10:37:42'::timestamp) - extract(epoch from '2026-07-02 10:37: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'), 47626, 'SRID=4674;POINT (-40.04288 -2.827829)', '2026-07-02 10:37:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042869 -2.827666)'), GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.827829)'))) / (select extract(epoch from '2026-07-02 10:37:54'::timestamp) - extract(epoch from '2026-07-02 10:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042869 -2.827666)'), GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.827829)'))) / (select extract(epoch from '2026-07-02 10:37:54'::timestamp) - extract(epoch from '2026-07-02 10:37: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'), 47626, 'SRID=4674;POINT (-40.042851 -2.828046)', '2026-07-02 10:38:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.827829)'), GeomFromEWKT('SRID=4674;POINT (-40.042851 -2.828046)'))) / (select extract(epoch from '2026-07-02 10:38:10'::timestamp) - extract(epoch from '2026-07-02 10:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.827829)'), GeomFromEWKT('SRID=4674;POINT (-40.042851 -2.828046)'))) / (select extract(epoch from '2026-07-02 10:38:10'::timestamp) - extract(epoch from '2026-07-02 10:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042808 -2.828258)', '2026-07-02 10:38:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042851 -2.828046)'), GeomFromEWKT('SRID=4674;POINT (-40.042808 -2.828258)'))) / (select extract(epoch from '2026-07-02 10:38:26'::timestamp) - extract(epoch from '2026-07-02 10:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042851 -2.828046)'), GeomFromEWKT('SRID=4674;POINT (-40.042808 -2.828258)'))) / (select extract(epoch from '2026-07-02 10:38:26'::timestamp) - extract(epoch from '2026-07-02 10:38: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'), 47626, 'SRID=4674;POINT (-40.042713 -2.828499)', '2026-07-02 10:38:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042808 -2.828258)'), GeomFromEWKT('SRID=4674;POINT (-40.042713 -2.828499)'))) / (select extract(epoch from '2026-07-02 10:38:45'::timestamp) - extract(epoch from '2026-07-02 10:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042808 -2.828258)'), GeomFromEWKT('SRID=4674;POINT (-40.042713 -2.828499)'))) / (select extract(epoch from '2026-07-02 10:38:45'::timestamp) - extract(epoch from '2026-07-02 10:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.04268 -2.828691)', '2026-07-02 10:38:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042713 -2.828499)'), GeomFromEWKT('SRID=4674;POINT (-40.04268 -2.828691)'))) / (select extract(epoch from '2026-07-02 10:38:59'::timestamp) - extract(epoch from '2026-07-02 10:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042713 -2.828499)'), GeomFromEWKT('SRID=4674;POINT (-40.04268 -2.828691)'))) / (select extract(epoch from '2026-07-02 10:38:59'::timestamp) - extract(epoch from '2026-07-02 10:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042709 -2.828897)', '2026-07-02 10:39:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04268 -2.828691)'), GeomFromEWKT('SRID=4674;POINT (-40.042709 -2.828897)'))) / (select extract(epoch from '2026-07-02 10:39:15'::timestamp) - extract(epoch from '2026-07-02 10:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04268 -2.828691)'), GeomFromEWKT('SRID=4674;POINT (-40.042709 -2.828897)'))) / (select extract(epoch from '2026-07-02 10:39:15'::timestamp) - extract(epoch from '2026-07-02 10:38: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'), 47626, 'SRID=4674;POINT (-40.042706 -2.829087)', '2026-07-02 10:39:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042709 -2.828897)'), GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.829087)'))) / (select extract(epoch from '2026-07-02 10:39:30'::timestamp) - extract(epoch from '2026-07-02 10:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042709 -2.828897)'), GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.829087)'))) / (select extract(epoch from '2026-07-02 10:39:30'::timestamp) - extract(epoch from '2026-07-02 10:39: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'), 47626, 'SRID=4674;POINT (-40.042714 -2.829223)', '2026-07-02 10:39:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.829087)'), GeomFromEWKT('SRID=4674;POINT (-40.042714 -2.829223)'))) / (select extract(epoch from '2026-07-02 10:39:41'::timestamp) - extract(epoch from '2026-07-02 10:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.829087)'), GeomFromEWKT('SRID=4674;POINT (-40.042714 -2.829223)'))) / (select extract(epoch from '2026-07-02 10:39:41'::timestamp) - extract(epoch from '2026-07-02 10:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042706 -2.829362)', '2026-07-02 10:39:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042714 -2.829223)'), GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.829362)'))) / (select extract(epoch from '2026-07-02 10:39:54'::timestamp) - extract(epoch from '2026-07-02 10:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042714 -2.829223)'), GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.829362)'))) / (select extract(epoch from '2026-07-02 10:39:54'::timestamp) - extract(epoch from '2026-07-02 10:39:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.0427 -2.829501)', '2026-07-02 10:40:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.829362)'), GeomFromEWKT('SRID=4674;POINT (-40.0427 -2.829501)'))) / (select extract(epoch from '2026-07-02 10:40:10'::timestamp) - extract(epoch from '2026-07-02 10:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.829362)'), GeomFromEWKT('SRID=4674;POINT (-40.0427 -2.829501)'))) / (select extract(epoch from '2026-07-02 10:40:10'::timestamp) - extract(epoch from '2026-07-02 10:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042709 -2.8296)', '2026-07-02 10:40:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0427 -2.829501)'), GeomFromEWKT('SRID=4674;POINT (-40.042709 -2.8296)'))) / (select extract(epoch from '2026-07-02 10:40:26'::timestamp) - extract(epoch from '2026-07-02 10:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0427 -2.829501)'), GeomFromEWKT('SRID=4674;POINT (-40.042709 -2.8296)'))) / (select extract(epoch from '2026-07-02 10:40:26'::timestamp) - extract(epoch from '2026-07-02 10:40: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'), 47626, 'SRID=4674;POINT (-40.042719 -2.829631)', '2026-07-02 10:40:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042709 -2.8296)'), GeomFromEWKT('SRID=4674;POINT (-40.042719 -2.829631)'))) / (select extract(epoch from '2026-07-02 10:40:38'::timestamp) - extract(epoch from '2026-07-02 10:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042709 -2.8296)'), GeomFromEWKT('SRID=4674;POINT (-40.042719 -2.829631)'))) / (select extract(epoch from '2026-07-02 10:40:38'::timestamp) - extract(epoch from '2026-07-02 10:40: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'), 47626, 'SRID=4674;POINT (-40.042744 -2.829589)', '2026-07-02 10:40:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042719 -2.829631)'), GeomFromEWKT('SRID=4674;POINT (-40.042744 -2.829589)'))) / (select extract(epoch from '2026-07-02 10:40:52'::timestamp) - extract(epoch from '2026-07-02 10:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042719 -2.829631)'), GeomFromEWKT('SRID=4674;POINT (-40.042744 -2.829589)'))) / (select extract(epoch from '2026-07-02 10:40:52'::timestamp) - extract(epoch from '2026-07-02 10:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042753 -2.829582)', '2026-07-02 10:41:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042744 -2.829589)'), GeomFromEWKT('SRID=4674;POINT (-40.042753 -2.829582)'))) / (select extract(epoch from '2026-07-02 10:41:05'::timestamp) - extract(epoch from '2026-07-02 10:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042744 -2.829589)'), GeomFromEWKT('SRID=4674;POINT (-40.042753 -2.829582)'))) / (select extract(epoch from '2026-07-02 10:41:05'::timestamp) - extract(epoch from '2026-07-02 10:40: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'), 47626, 'SRID=4674;POINT (-40.042733 -2.829603)', '2026-07-02 10:41:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042753 -2.829582)'), GeomFromEWKT('SRID=4674;POINT (-40.042733 -2.829603)'))) / (select extract(epoch from '2026-07-02 10:41:26'::timestamp) - extract(epoch from '2026-07-02 10:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042753 -2.829582)'), GeomFromEWKT('SRID=4674;POINT (-40.042733 -2.829603)'))) / (select extract(epoch from '2026-07-02 10:41:26'::timestamp) - extract(epoch from '2026-07-02 10:41: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'), 47626, 'SRID=4674;POINT (-40.042741 -2.829629)', '2026-07-02 10:41:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042733 -2.829603)'), GeomFromEWKT('SRID=4674;POINT (-40.042741 -2.829629)'))) / (select extract(epoch from '2026-07-02 10:41:41'::timestamp) - extract(epoch from '2026-07-02 10:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042733 -2.829603)'), GeomFromEWKT('SRID=4674;POINT (-40.042741 -2.829629)'))) / (select extract(epoch from '2026-07-02 10:41:41'::timestamp) - extract(epoch from '2026-07-02 10:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042768 -2.829678)', '2026-07-02 10:42:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042741 -2.829629)'), GeomFromEWKT('SRID=4674;POINT (-40.042768 -2.829678)'))) / (select extract(epoch from '2026-07-02 10:42:01'::timestamp) - extract(epoch from '2026-07-02 10:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042741 -2.829629)'), GeomFromEWKT('SRID=4674;POINT (-40.042768 -2.829678)'))) / (select extract(epoch from '2026-07-02 10:42:01'::timestamp) - extract(epoch from '2026-07-02 10:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042794 -2.829732)', '2026-07-02 10:42:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042768 -2.829678)'), GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.829732)'))) / (select extract(epoch from '2026-07-02 10:42:16'::timestamp) - extract(epoch from '2026-07-02 10:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042768 -2.829678)'), GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.829732)'))) / (select extract(epoch from '2026-07-02 10:42:16'::timestamp) - extract(epoch from '2026-07-02 10:42:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042798 -2.829707)', '2026-07-02 10:42:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.829732)'), GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.829707)'))) / (select extract(epoch from '2026-07-02 10:42:23'::timestamp) - extract(epoch from '2026-07-02 10:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.829732)'), GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.829707)'))) / (select extract(epoch from '2026-07-02 10:42:23'::timestamp) - extract(epoch from '2026-07-02 10:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042766 -2.829763)', '2026-07-02 10:42:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.829707)'), GeomFromEWKT('SRID=4674;POINT (-40.042766 -2.829763)'))) / (select extract(epoch from '2026-07-02 10:42:37'::timestamp) - extract(epoch from '2026-07-02 10:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.829707)'), GeomFromEWKT('SRID=4674;POINT (-40.042766 -2.829763)'))) / (select extract(epoch from '2026-07-02 10:42:37'::timestamp) - extract(epoch from '2026-07-02 10:42: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'), 47626, 'SRID=4674;POINT (-40.042754 -2.829816)', '2026-07-02 10:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042766 -2.829763)'), GeomFromEWKT('SRID=4674;POINT (-40.042754 -2.829816)'))) / (select extract(epoch from '2026-07-02 10:42:56'::timestamp) - extract(epoch from '2026-07-02 10:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042766 -2.829763)'), GeomFromEWKT('SRID=4674;POINT (-40.042754 -2.829816)'))) / (select extract(epoch from '2026-07-02 10:42:56'::timestamp) - extract(epoch from '2026-07-02 10:42: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'), 47626, 'SRID=4674;POINT (-40.042784 -2.829819)', '2026-07-02 10:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042754 -2.829816)'), GeomFromEWKT('SRID=4674;POINT (-40.042784 -2.829819)'))) / (select extract(epoch from '2026-07-02 10:43:22'::timestamp) - extract(epoch from '2026-07-02 10:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042754 -2.829816)'), GeomFromEWKT('SRID=4674;POINT (-40.042784 -2.829819)'))) / (select extract(epoch from '2026-07-02 10:43:22'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.042786 -2.829818)', '2026-07-02 10:43:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042784 -2.829819)'), GeomFromEWKT('SRID=4674;POINT (-40.042786 -2.829818)'))) / (select extract(epoch from '2026-07-02 10:43:52'::timestamp) - extract(epoch from '2026-07-02 10:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042784 -2.829819)'), GeomFromEWKT('SRID=4674;POINT (-40.042786 -2.829818)'))) / (select extract(epoch from '2026-07-02 10:43:52'::timestamp) - extract(epoch from '2026-07-02 10:43: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'), 47626, 'SRID=4674;POINT (-40.042794 -2.829835)', '2026-07-02 10:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042786 -2.829818)'), GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.829835)'))) / (select extract(epoch from '2026-07-02 10:44:01'::timestamp) - extract(epoch from '2026-07-02 10:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042786 -2.829818)'), GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.829835)'))) / (select extract(epoch from '2026-07-02 10:44:01'::timestamp) - extract(epoch from '2026-07-02 10:43: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'), 47626, 'SRID=4674;POINT (-40.042847 -2.829877)', '2026-07-02 10:44:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.829835)'), GeomFromEWKT('SRID=4674;POINT (-40.042847 -2.829877)'))) / (select extract(epoch from '2026-07-02 10:44:20'::timestamp) - extract(epoch from '2026-07-02 10:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.829835)'), GeomFromEWKT('SRID=4674;POINT (-40.042847 -2.829877)'))) / (select extract(epoch from '2026-07-02 10:44:20'::timestamp) - extract(epoch from '2026-07-02 10:44: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'), 47626, 'SRID=4674;POINT (-40.042871 -2.829998)', '2026-07-02 10:44:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042847 -2.829877)'), GeomFromEWKT('SRID=4674;POINT (-40.042871 -2.829998)'))) / (select extract(epoch from '2026-07-02 10:44:37'::timestamp) - extract(epoch from '2026-07-02 10:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042847 -2.829877)'), GeomFromEWKT('SRID=4674;POINT (-40.042871 -2.829998)'))) / (select extract(epoch from '2026-07-02 10:44:37'::timestamp) - extract(epoch from '2026-07-02 10:44: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'), 47626, 'SRID=4674;POINT (-40.042798 -2.830046)', '2026-07-02 10:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042871 -2.829998)'), GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.830046)'))) / (select extract(epoch from '2026-07-02 10:44:49'::timestamp) - extract(epoch from '2026-07-02 10:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042871 -2.829998)'), GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.830046)'))) / (select extract(epoch from '2026-07-02 10:44:49'::timestamp) - extract(epoch from '2026-07-02 10:44:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042691 -2.830063)', '2026-07-02 10:45:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.830046)'), GeomFromEWKT('SRID=4674;POINT (-40.042691 -2.830063)'))) / (select extract(epoch from '2026-07-02 10:45:00'::timestamp) - extract(epoch from '2026-07-02 10:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.830046)'), GeomFromEWKT('SRID=4674;POINT (-40.042691 -2.830063)'))) / (select extract(epoch from '2026-07-02 10:45:00'::timestamp) - extract(epoch from '2026-07-02 10:44:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042615 -2.830127)', '2026-07-02 10:45:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042691 -2.830063)'), GeomFromEWKT('SRID=4674;POINT (-40.042615 -2.830127)'))) / (select extract(epoch from '2026-07-02 10:45:11'::timestamp) - extract(epoch from '2026-07-02 10:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042691 -2.830063)'), GeomFromEWKT('SRID=4674;POINT (-40.042615 -2.830127)'))) / (select extract(epoch from '2026-07-02 10:45:11'::timestamp) - extract(epoch from '2026-07-02 10:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042585 -2.830251)', '2026-07-02 10:45:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042615 -2.830127)'), GeomFromEWKT('SRID=4674;POINT (-40.042585 -2.830251)'))) / (select extract(epoch from '2026-07-02 10:45:24'::timestamp) - extract(epoch from '2026-07-02 10:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042615 -2.830127)'), GeomFromEWKT('SRID=4674;POINT (-40.042585 -2.830251)'))) / (select extract(epoch from '2026-07-02 10:45:24'::timestamp) - extract(epoch from '2026-07-02 10:45: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'), 47626, 'SRID=4674;POINT (-40.042512 -2.830316)', '2026-07-02 10:45:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042585 -2.830251)'), GeomFromEWKT('SRID=4674;POINT (-40.042512 -2.830316)'))) / (select extract(epoch from '2026-07-02 10:45:35'::timestamp) - extract(epoch from '2026-07-02 10:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042585 -2.830251)'), GeomFromEWKT('SRID=4674;POINT (-40.042512 -2.830316)'))) / (select extract(epoch from '2026-07-02 10:45:35'::timestamp) - extract(epoch from '2026-07-02 10:45: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'), 47626, 'SRID=4674;POINT (-40.042376 -2.830375)', '2026-07-02 10:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042512 -2.830316)'), GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.830375)'))) / (select extract(epoch from '2026-07-02 10:45:49'::timestamp) - extract(epoch from '2026-07-02 10:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042512 -2.830316)'), GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.830375)'))) / (select extract(epoch from '2026-07-02 10:45:49'::timestamp) - extract(epoch from '2026-07-02 10:45: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'), 47626, 'SRID=4674;POINT (-40.042244 -2.83042)', '2026-07-02 10:46:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.830375)'), GeomFromEWKT('SRID=4674;POINT (-40.042244 -2.83042)'))) / (select extract(epoch from '2026-07-02 10:46:02'::timestamp) - extract(epoch from '2026-07-02 10:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.830375)'), GeomFromEWKT('SRID=4674;POINT (-40.042244 -2.83042)'))) / (select extract(epoch from '2026-07-02 10:46:02'::timestamp) - extract(epoch from '2026-07-02 10:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042142 -2.830495)', '2026-07-02 10:46:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042244 -2.83042)'), GeomFromEWKT('SRID=4674;POINT (-40.042142 -2.830495)'))) / (select extract(epoch from '2026-07-02 10:46:16'::timestamp) - extract(epoch from '2026-07-02 10:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042244 -2.83042)'), GeomFromEWKT('SRID=4674;POINT (-40.042142 -2.830495)'))) / (select extract(epoch from '2026-07-02 10:46:16'::timestamp) - extract(epoch from '2026-07-02 10:46: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'), 47626, 'SRID=4674;POINT (-40.042037 -2.83059)', '2026-07-02 10:46:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042142 -2.830495)'), GeomFromEWKT('SRID=4674;POINT (-40.042037 -2.83059)'))) / (select extract(epoch from '2026-07-02 10:46:30'::timestamp) - extract(epoch from '2026-07-02 10:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042142 -2.830495)'), GeomFromEWKT('SRID=4674;POINT (-40.042037 -2.83059)'))) / (select extract(epoch from '2026-07-02 10:46:30'::timestamp) - extract(epoch from '2026-07-02 10:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.041981 -2.830645)', '2026-07-02 10:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042037 -2.83059)'), GeomFromEWKT('SRID=4674;POINT (-40.041981 -2.830645)'))) / (select extract(epoch from '2026-07-02 10:46:41'::timestamp) - extract(epoch from '2026-07-02 10:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042037 -2.83059)'), GeomFromEWKT('SRID=4674;POINT (-40.041981 -2.830645)'))) / (select extract(epoch from '2026-07-02 10:46:41'::timestamp) - extract(epoch from '2026-07-02 10:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.04192 -2.830606)', '2026-07-02 10:46:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041981 -2.830645)'), GeomFromEWKT('SRID=4674;POINT (-40.04192 -2.830606)'))) / (select extract(epoch from '2026-07-02 10:46:51'::timestamp) - extract(epoch from '2026-07-02 10:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041981 -2.830645)'), GeomFromEWKT('SRID=4674;POINT (-40.04192 -2.830606)'))) / (select extract(epoch from '2026-07-02 10:46:51'::timestamp) - extract(epoch from '2026-07-02 10:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.041829 -2.830564)', '2026-07-02 10:47:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04192 -2.830606)'), GeomFromEWKT('SRID=4674;POINT (-40.041829 -2.830564)'))) / (select extract(epoch from '2026-07-02 10:47:02'::timestamp) - extract(epoch from '2026-07-02 10:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04192 -2.830606)'), GeomFromEWKT('SRID=4674;POINT (-40.041829 -2.830564)'))) / (select extract(epoch from '2026-07-02 10:47:02'::timestamp) - extract(epoch from '2026-07-02 10:46: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'), 47626, 'SRID=4674;POINT (-40.041751 -2.830621)', '2026-07-02 10:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041829 -2.830564)'), GeomFromEWKT('SRID=4674;POINT (-40.041751 -2.830621)'))) / (select extract(epoch from '2026-07-02 10:47:13'::timestamp) - extract(epoch from '2026-07-02 10:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041829 -2.830564)'), GeomFromEWKT('SRID=4674;POINT (-40.041751 -2.830621)'))) / (select extract(epoch from '2026-07-02 10:47:13'::timestamp) - extract(epoch from '2026-07-02 10:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.041683 -2.830732)', '2026-07-02 10:47:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041751 -2.830621)'), GeomFromEWKT('SRID=4674;POINT (-40.041683 -2.830732)'))) / (select extract(epoch from '2026-07-02 10:47:26'::timestamp) - extract(epoch from '2026-07-02 10:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041751 -2.830621)'), GeomFromEWKT('SRID=4674;POINT (-40.041683 -2.830732)'))) / (select extract(epoch from '2026-07-02 10:47:26'::timestamp) - extract(epoch from '2026-07-02 10:47: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'), 47626, 'SRID=4674;POINT (-40.041579 -2.830862)', '2026-07-02 10:47:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041683 -2.830732)'), GeomFromEWKT('SRID=4674;POINT (-40.041579 -2.830862)'))) / (select extract(epoch from '2026-07-02 10:47:42'::timestamp) - extract(epoch from '2026-07-02 10:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041683 -2.830732)'), GeomFromEWKT('SRID=4674;POINT (-40.041579 -2.830862)'))) / (select extract(epoch from '2026-07-02 10:47:42'::timestamp) - extract(epoch from '2026-07-02 10:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.041492 -2.83091)', '2026-07-02 10:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041579 -2.830862)'), GeomFromEWKT('SRID=4674;POINT (-40.041492 -2.83091)'))) / (select extract(epoch from '2026-07-02 10:47:53'::timestamp) - extract(epoch from '2026-07-02 10:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041579 -2.830862)'), GeomFromEWKT('SRID=4674;POINT (-40.041492 -2.83091)'))) / (select extract(epoch from '2026-07-02 10:47:53'::timestamp) - extract(epoch from '2026-07-02 10:47: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'), 47626, 'SRID=4674;POINT (-40.041378 -2.830995)', '2026-07-02 10:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041492 -2.83091)'), GeomFromEWKT('SRID=4674;POINT (-40.041378 -2.830995)'))) / (select extract(epoch from '2026-07-02 10:48:07'::timestamp) - extract(epoch from '2026-07-02 10:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041492 -2.83091)'), GeomFromEWKT('SRID=4674;POINT (-40.041378 -2.830995)'))) / (select extract(epoch from '2026-07-02 10:48:07'::timestamp) - extract(epoch from '2026-07-02 10:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.041284 -2.831073)', '2026-07-02 10:48:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041378 -2.830995)'), GeomFromEWKT('SRID=4674;POINT (-40.041284 -2.831073)'))) / (select extract(epoch from '2026-07-02 10:48:20'::timestamp) - extract(epoch from '2026-07-02 10:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041378 -2.830995)'), GeomFromEWKT('SRID=4674;POINT (-40.041284 -2.831073)'))) / (select extract(epoch from '2026-07-02 10:48:20'::timestamp) - extract(epoch from '2026-07-02 10:48: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'), 47626, 'SRID=4674;POINT (-40.04121 -2.831175)', '2026-07-02 10:48:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041284 -2.831073)'), GeomFromEWKT('SRID=4674;POINT (-40.04121 -2.831175)'))) / (select extract(epoch from '2026-07-02 10:48:32'::timestamp) - extract(epoch from '2026-07-02 10:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041284 -2.831073)'), GeomFromEWKT('SRID=4674;POINT (-40.04121 -2.831175)'))) / (select extract(epoch from '2026-07-02 10:48:32'::timestamp) - extract(epoch from '2026-07-02 10:48:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.041196 -2.831284)', '2026-07-02 10:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04121 -2.831175)'), GeomFromEWKT('SRID=4674;POINT (-40.041196 -2.831284)'))) / (select extract(epoch from '2026-07-02 10:48:42'::timestamp) - extract(epoch from '2026-07-02 10:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04121 -2.831175)'), GeomFromEWKT('SRID=4674;POINT (-40.041196 -2.831284)'))) / (select extract(epoch from '2026-07-02 10:48:42'::timestamp) - extract(epoch from '2026-07-02 10:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.041197 -2.831305)', '2026-07-02 10:48:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041196 -2.831284)'), GeomFromEWKT('SRID=4674;POINT (-40.041197 -2.831305)'))) / (select extract(epoch from '2026-07-02 10:48:44'::timestamp) - extract(epoch from '2026-07-02 10:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041196 -2.831284)'), GeomFromEWKT('SRID=4674;POINT (-40.041197 -2.831305)'))) / (select extract(epoch from '2026-07-02 10:48:44'::timestamp) - extract(epoch from '2026-07-02 10:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.041171 -2.831338)', '2026-07-02 10:48:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041197 -2.831305)'), GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.831338)'))) / (select extract(epoch from '2026-07-02 10:48:48'::timestamp) - extract(epoch from '2026-07-02 10:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041197 -2.831305)'), GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.831338)'))) / (select extract(epoch from '2026-07-02 10:48:48'::timestamp) - extract(epoch from '2026-07-02 10:48:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.041049 -2.831415)', '2026-07-02 10:48:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.831338)'), GeomFromEWKT('SRID=4674;POINT (-40.041049 -2.831415)'))) / (select extract(epoch from '2026-07-02 10:48:59'::timestamp) - extract(epoch from '2026-07-02 10:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.831338)'), GeomFromEWKT('SRID=4674;POINT (-40.041049 -2.831415)'))) / (select extract(epoch from '2026-07-02 10:48:59'::timestamp) - extract(epoch from '2026-07-02 10:48: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'), 47626, 'SRID=4674;POINT (-40.040946 -2.83151)', '2026-07-02 10:49:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041049 -2.831415)'), GeomFromEWKT('SRID=4674;POINT (-40.040946 -2.83151)'))) / (select extract(epoch from '2026-07-02 10:49:09'::timestamp) - extract(epoch from '2026-07-02 10:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041049 -2.831415)'), GeomFromEWKT('SRID=4674;POINT (-40.040946 -2.83151)'))) / (select extract(epoch from '2026-07-02 10:49:09'::timestamp) - extract(epoch from '2026-07-02 10:48: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'), 47626, 'SRID=4674;POINT (-40.040814 -2.831652)', '2026-07-02 10:49:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040946 -2.83151)'), GeomFromEWKT('SRID=4674;POINT (-40.040814 -2.831652)'))) / (select extract(epoch from '2026-07-02 10:49:23'::timestamp) - extract(epoch from '2026-07-02 10:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040946 -2.83151)'), GeomFromEWKT('SRID=4674;POINT (-40.040814 -2.831652)'))) / (select extract(epoch from '2026-07-02 10:49:23'::timestamp) - extract(epoch from '2026-07-02 10:49: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'), 47626, 'SRID=4674;POINT (-40.04064 -2.831777)', '2026-07-02 10:49:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040814 -2.831652)'), GeomFromEWKT('SRID=4674;POINT (-40.04064 -2.831777)'))) / (select extract(epoch from '2026-07-02 10:49:39'::timestamp) - extract(epoch from '2026-07-02 10:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040814 -2.831652)'), GeomFromEWKT('SRID=4674;POINT (-40.04064 -2.831777)'))) / (select extract(epoch from '2026-07-02 10:49:39'::timestamp) - extract(epoch from '2026-07-02 10:49: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'), 47626, 'SRID=4674;POINT (-40.04052 -2.831894)', '2026-07-02 10:49:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04064 -2.831777)'), GeomFromEWKT('SRID=4674;POINT (-40.04052 -2.831894)'))) / (select extract(epoch from '2026-07-02 10:49:53'::timestamp) - extract(epoch from '2026-07-02 10:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04064 -2.831777)'), GeomFromEWKT('SRID=4674;POINT (-40.04052 -2.831894)'))) / (select extract(epoch from '2026-07-02 10:49:53'::timestamp) - extract(epoch from '2026-07-02 10:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.04039 -2.832109)', '2026-07-02 10:50:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04052 -2.831894)'), GeomFromEWKT('SRID=4674;POINT (-40.04039 -2.832109)'))) / (select extract(epoch from '2026-07-02 10:50:13'::timestamp) - extract(epoch from '2026-07-02 10:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04052 -2.831894)'), GeomFromEWKT('SRID=4674;POINT (-40.04039 -2.832109)'))) / (select extract(epoch from '2026-07-02 10:50:13'::timestamp) - extract(epoch from '2026-07-02 10:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.040283 -2.832291)', '2026-07-02 10:50:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04039 -2.832109)'), GeomFromEWKT('SRID=4674;POINT (-40.040283 -2.832291)'))) / (select extract(epoch from '2026-07-02 10:50:30'::timestamp) - extract(epoch from '2026-07-02 10:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04039 -2.832109)'), GeomFromEWKT('SRID=4674;POINT (-40.040283 -2.832291)'))) / (select extract(epoch from '2026-07-02 10:50:30'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.040204 -2.83247)', '2026-07-02 10:50:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040283 -2.832291)'), GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.83247)'))) / (select extract(epoch from '2026-07-02 10:50:46'::timestamp) - extract(epoch from '2026-07-02 10:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040283 -2.832291)'), GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.83247)'))) / (select extract(epoch from '2026-07-02 10:50:46'::timestamp) - extract(epoch from '2026-07-02 10:50: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'), 47626, 'SRID=4674;POINT (-40.040186 -2.832663)', '2026-07-02 10:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.83247)'), GeomFromEWKT('SRID=4674;POINT (-40.040186 -2.832663)'))) / (select extract(epoch from '2026-07-02 10:51:01'::timestamp) - extract(epoch from '2026-07-02 10:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.83247)'), GeomFromEWKT('SRID=4674;POINT (-40.040186 -2.832663)'))) / (select extract(epoch from '2026-07-02 10:51:01'::timestamp) - extract(epoch from '2026-07-02 10:50: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'), 47626, 'SRID=4674;POINT (-40.040206 -2.832818)', '2026-07-02 10:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040186 -2.832663)'), GeomFromEWKT('SRID=4674;POINT (-40.040206 -2.832818)'))) / (select extract(epoch from '2026-07-02 10:51:13'::timestamp) - extract(epoch from '2026-07-02 10:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040186 -2.832663)'), GeomFromEWKT('SRID=4674;POINT (-40.040206 -2.832818)'))) / (select extract(epoch from '2026-07-02 10:51:13'::timestamp) - extract(epoch from '2026-07-02 10:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.040158 -2.832967)', '2026-07-02 10:51:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040206 -2.832818)'), GeomFromEWKT('SRID=4674;POINT (-40.040158 -2.832967)'))) / (select extract(epoch from '2026-07-02 10:51:25'::timestamp) - extract(epoch from '2026-07-02 10:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040206 -2.832818)'), GeomFromEWKT('SRID=4674;POINT (-40.040158 -2.832967)'))) / (select extract(epoch from '2026-07-02 10:51:25'::timestamp) - extract(epoch from '2026-07-02 10:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.040083 -2.833193)', '2026-07-02 10:51:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040158 -2.832967)'), GeomFromEWKT('SRID=4674;POINT (-40.040083 -2.833193)'))) / (select extract(epoch from '2026-07-02 10:51:43'::timestamp) - extract(epoch from '2026-07-02 10:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040158 -2.832967)'), GeomFromEWKT('SRID=4674;POINT (-40.040083 -2.833193)'))) / (select extract(epoch from '2026-07-02 10:51:43'::timestamp) - extract(epoch from '2026-07-02 10:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.040058 -2.833347)', '2026-07-02 10:51:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040083 -2.833193)'), GeomFromEWKT('SRID=4674;POINT (-40.040058 -2.833347)'))) / (select extract(epoch from '2026-07-02 10:51:57'::timestamp) - extract(epoch from '2026-07-02 10:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040083 -2.833193)'), GeomFromEWKT('SRID=4674;POINT (-40.040058 -2.833347)'))) / (select extract(epoch from '2026-07-02 10:51:57'::timestamp) - extract(epoch from '2026-07-02 10:51: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'), 47626, 'SRID=4674;POINT (-40.040021 -2.833541)', '2026-07-02 10:52:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040058 -2.833347)'), GeomFromEWKT('SRID=4674;POINT (-40.040021 -2.833541)'))) / (select extract(epoch from '2026-07-02 10:52:12'::timestamp) - extract(epoch from '2026-07-02 10:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040058 -2.833347)'), GeomFromEWKT('SRID=4674;POINT (-40.040021 -2.833541)'))) / (select extract(epoch from '2026-07-02 10:52:12'::timestamp) - extract(epoch from '2026-07-02 10:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.040004 -2.833715)', '2026-07-02 10:52:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040021 -2.833541)'), GeomFromEWKT('SRID=4674;POINT (-40.040004 -2.833715)'))) / (select extract(epoch from '2026-07-02 10:52:25'::timestamp) - extract(epoch from '2026-07-02 10:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040021 -2.833541)'), GeomFromEWKT('SRID=4674;POINT (-40.040004 -2.833715)'))) / (select extract(epoch from '2026-07-02 10:52:25'::timestamp) - extract(epoch from '2026-07-02 10:52:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.040016 -2.833925)', '2026-07-02 10:52:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040004 -2.833715)'), GeomFromEWKT('SRID=4674;POINT (-40.040016 -2.833925)'))) / (select extract(epoch from '2026-07-02 10:52:41'::timestamp) - extract(epoch from '2026-07-02 10:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040004 -2.833715)'), GeomFromEWKT('SRID=4674;POINT (-40.040016 -2.833925)'))) / (select extract(epoch from '2026-07-02 10:52:41'::timestamp) - extract(epoch from '2026-07-02 10:52:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.040022 -2.834137)', '2026-07-02 10:52:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040016 -2.833925)'), GeomFromEWKT('SRID=4674;POINT (-40.040022 -2.834137)'))) / (select extract(epoch from '2026-07-02 10:52:57'::timestamp) - extract(epoch from '2026-07-02 10:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040016 -2.833925)'), GeomFromEWKT('SRID=4674;POINT (-40.040022 -2.834137)'))) / (select extract(epoch from '2026-07-02 10:52:57'::timestamp) - extract(epoch from '2026-07-02 10:52: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'), 47626, 'SRID=4674;POINT (-40.040028 -2.834352)', '2026-07-02 10:53:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040022 -2.834137)'), GeomFromEWKT('SRID=4674;POINT (-40.040028 -2.834352)'))) / (select extract(epoch from '2026-07-02 10:53:13'::timestamp) - extract(epoch from '2026-07-02 10:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040022 -2.834137)'), GeomFromEWKT('SRID=4674;POINT (-40.040028 -2.834352)'))) / (select extract(epoch from '2026-07-02 10:53:13'::timestamp) - extract(epoch from '2026-07-02 10:52: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'), 47626, 'SRID=4674;POINT (-40.040017 -2.834543)', '2026-07-02 10:53:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040028 -2.834352)'), GeomFromEWKT('SRID=4674;POINT (-40.040017 -2.834543)'))) / (select extract(epoch from '2026-07-02 10:53:28'::timestamp) - extract(epoch from '2026-07-02 10:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040028 -2.834352)'), GeomFromEWKT('SRID=4674;POINT (-40.040017 -2.834543)'))) / (select extract(epoch from '2026-07-02 10:53:28'::timestamp) - extract(epoch from '2026-07-02 10:53: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'), 47626, 'SRID=4674;POINT (-40.040009 -2.834693)', '2026-07-02 10:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040017 -2.834543)'), GeomFromEWKT('SRID=4674;POINT (-40.040009 -2.834693)'))) / (select extract(epoch from '2026-07-02 10:53:40'::timestamp) - extract(epoch from '2026-07-02 10:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040017 -2.834543)'), GeomFromEWKT('SRID=4674;POINT (-40.040009 -2.834693)'))) / (select extract(epoch from '2026-07-02 10:53:40'::timestamp) - extract(epoch from '2026-07-02 10:53: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'), 47626, 'SRID=4674;POINT (-40.040042 -2.834862)', '2026-07-02 10:53:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040009 -2.834693)'), GeomFromEWKT('SRID=4674;POINT (-40.040042 -2.834862)'))) / (select extract(epoch from '2026-07-02 10:53:55'::timestamp) - extract(epoch from '2026-07-02 10:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040009 -2.834693)'), GeomFromEWKT('SRID=4674;POINT (-40.040042 -2.834862)'))) / (select extract(epoch from '2026-07-02 10:53:55'::timestamp) - extract(epoch from '2026-07-02 10:53: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'), 47626, 'SRID=4674;POINT (-40.040112 -2.835027)', '2026-07-02 10:54:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040042 -2.834862)'), GeomFromEWKT('SRID=4674;POINT (-40.040112 -2.835027)'))) / (select extract(epoch from '2026-07-02 10:54:10'::timestamp) - extract(epoch from '2026-07-02 10:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040042 -2.834862)'), GeomFromEWKT('SRID=4674;POINT (-40.040112 -2.835027)'))) / (select extract(epoch from '2026-07-02 10:54:10'::timestamp) - extract(epoch from '2026-07-02 10:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.04014 -2.835207)', '2026-07-02 10:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040112 -2.835027)'), GeomFromEWKT('SRID=4674;POINT (-40.04014 -2.835207)'))) / (select extract(epoch from '2026-07-02 10:54:25'::timestamp) - extract(epoch from '2026-07-02 10:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040112 -2.835027)'), GeomFromEWKT('SRID=4674;POINT (-40.04014 -2.835207)'))) / (select extract(epoch from '2026-07-02 10:54:25'::timestamp) - extract(epoch from '2026-07-02 10:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.040179 -2.835339)', '2026-07-02 10:54:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04014 -2.835207)'), GeomFromEWKT('SRID=4674;POINT (-40.040179 -2.835339)'))) / (select extract(epoch from '2026-07-02 10:54:36'::timestamp) - extract(epoch from '2026-07-02 10:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04014 -2.835207)'), GeomFromEWKT('SRID=4674;POINT (-40.040179 -2.835339)'))) / (select extract(epoch from '2026-07-02 10:54:36'::timestamp) - extract(epoch from '2026-07-02 10:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.040276 -2.835501)', '2026-07-02 10:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040179 -2.835339)'), GeomFromEWKT('SRID=4674;POINT (-40.040276 -2.835501)'))) / (select extract(epoch from '2026-07-02 10:54:51'::timestamp) - extract(epoch from '2026-07-02 10:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040179 -2.835339)'), GeomFromEWKT('SRID=4674;POINT (-40.040276 -2.835501)'))) / (select extract(epoch from '2026-07-02 10:54:51'::timestamp) - extract(epoch from '2026-07-02 10:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.040367 -2.835707)', '2026-07-02 10:55:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040276 -2.835501)'), GeomFromEWKT('SRID=4674;POINT (-40.040367 -2.835707)'))) / (select extract(epoch from '2026-07-02 10:55:08'::timestamp) - extract(epoch from '2026-07-02 10:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040276 -2.835501)'), GeomFromEWKT('SRID=4674;POINT (-40.040367 -2.835707)'))) / (select extract(epoch from '2026-07-02 10:55:08'::timestamp) - extract(epoch from '2026-07-02 10:54: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'), 47626, 'SRID=4674;POINT (-40.040448 -2.835896)', '2026-07-02 10:55:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040367 -2.835707)'), GeomFromEWKT('SRID=4674;POINT (-40.040448 -2.835896)'))) / (select extract(epoch from '2026-07-02 10:55:23'::timestamp) - extract(epoch from '2026-07-02 10:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040367 -2.835707)'), GeomFromEWKT('SRID=4674;POINT (-40.040448 -2.835896)'))) / (select extract(epoch from '2026-07-02 10:55:23'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.040564 -2.836057)', '2026-07-02 10:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040448 -2.835896)'), GeomFromEWKT('SRID=4674;POINT (-40.040564 -2.836057)'))) / (select extract(epoch from '2026-07-02 10:55:38'::timestamp) - extract(epoch from '2026-07-02 10:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040448 -2.835896)'), GeomFromEWKT('SRID=4674;POINT (-40.040564 -2.836057)'))) / (select extract(epoch from '2026-07-02 10:55:38'::timestamp) - extract(epoch from '2026-07-02 10:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.04072 -2.836238)', '2026-07-02 10:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040564 -2.836057)'), GeomFromEWKT('SRID=4674;POINT (-40.04072 -2.836238)'))) / (select extract(epoch from '2026-07-02 10:55:56'::timestamp) - extract(epoch from '2026-07-02 10:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040564 -2.836057)'), GeomFromEWKT('SRID=4674;POINT (-40.04072 -2.836238)'))) / (select extract(epoch from '2026-07-02 10:55:56'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.040796 -2.836372)', '2026-07-02 10:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04072 -2.836238)'), GeomFromEWKT('SRID=4674;POINT (-40.040796 -2.836372)'))) / (select extract(epoch from '2026-07-02 10:56:08'::timestamp) - extract(epoch from '2026-07-02 10:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04072 -2.836238)'), GeomFromEWKT('SRID=4674;POINT (-40.040796 -2.836372)'))) / (select extract(epoch from '2026-07-02 10:56:08'::timestamp) - extract(epoch from '2026-07-02 10:55:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.040941 -2.836597)', '2026-07-02 10:56:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040796 -2.836372)'), GeomFromEWKT('SRID=4674;POINT (-40.040941 -2.836597)'))) / (select extract(epoch from '2026-07-02 10:56:28'::timestamp) - extract(epoch from '2026-07-02 10:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040796 -2.836372)'), GeomFromEWKT('SRID=4674;POINT (-40.040941 -2.836597)'))) / (select extract(epoch from '2026-07-02 10:56:28'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.041075 -2.836754)', '2026-07-02 10:56:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040941 -2.836597)'), GeomFromEWKT('SRID=4674;POINT (-40.041075 -2.836754)'))) / (select extract(epoch from '2026-07-02 10:56:43'::timestamp) - extract(epoch from '2026-07-02 10:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040941 -2.836597)'), GeomFromEWKT('SRID=4674;POINT (-40.041075 -2.836754)'))) / (select extract(epoch from '2026-07-02 10:56:43'::timestamp) - extract(epoch from '2026-07-02 10:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.041144 -2.836883)', '2026-07-02 10:56:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041075 -2.836754)'), GeomFromEWKT('SRID=4674;POINT (-40.041144 -2.836883)'))) / (select extract(epoch from '2026-07-02 10:56:54'::timestamp) - extract(epoch from '2026-07-02 10:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041075 -2.836754)'), GeomFromEWKT('SRID=4674;POINT (-40.041144 -2.836883)'))) / (select extract(epoch from '2026-07-02 10:56:54'::timestamp) - extract(epoch from '2026-07-02 10:56: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'), 47626, 'SRID=4674;POINT (-40.041252 -2.837006)', '2026-07-02 10:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041144 -2.836883)'), GeomFromEWKT('SRID=4674;POINT (-40.041252 -2.837006)'))) / (select extract(epoch from '2026-07-02 10:57:06'::timestamp) - extract(epoch from '2026-07-02 10:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041144 -2.836883)'), GeomFromEWKT('SRID=4674;POINT (-40.041252 -2.837006)'))) / (select extract(epoch from '2026-07-02 10:57:06'::timestamp) - extract(epoch from '2026-07-02 10:56: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'), 47626, 'SRID=4674;POINT (-40.041381 -2.837135)', '2026-07-02 10:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041252 -2.837006)'), GeomFromEWKT('SRID=4674;POINT (-40.041381 -2.837135)'))) / (select extract(epoch from '2026-07-02 10:57:19'::timestamp) - extract(epoch from '2026-07-02 10:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041252 -2.837006)'), GeomFromEWKT('SRID=4674;POINT (-40.041381 -2.837135)'))) / (select extract(epoch from '2026-07-02 10:57:19'::timestamp) - extract(epoch from '2026-07-02 10:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.041459 -2.837266)', '2026-07-02 10:57:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041381 -2.837135)'), GeomFromEWKT('SRID=4674;POINT (-40.041459 -2.837266)'))) / (select extract(epoch from '2026-07-02 10:57:30'::timestamp) - extract(epoch from '2026-07-02 10:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041381 -2.837135)'), GeomFromEWKT('SRID=4674;POINT (-40.041459 -2.837266)'))) / (select extract(epoch from '2026-07-02 10:57:30'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.041569 -2.837444)', '2026-07-02 10:57:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041459 -2.837266)'), GeomFromEWKT('SRID=4674;POINT (-40.041569 -2.837444)'))) / (select extract(epoch from '2026-07-02 10:57:45'::timestamp) - extract(epoch from '2026-07-02 10:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041459 -2.837266)'), GeomFromEWKT('SRID=4674;POINT (-40.041569 -2.837444)'))) / (select extract(epoch from '2026-07-02 10:57:45'::timestamp) - extract(epoch from '2026-07-02 10:57: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'), 47626, 'SRID=4674;POINT (-40.041678 -2.837551)', '2026-07-02 10:57:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041569 -2.837444)'), GeomFromEWKT('SRID=4674;POINT (-40.041678 -2.837551)'))) / (select extract(epoch from '2026-07-02 10:57:56'::timestamp) - extract(epoch from '2026-07-02 10:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041569 -2.837444)'), GeomFromEWKT('SRID=4674;POINT (-40.041678 -2.837551)'))) / (select extract(epoch from '2026-07-02 10:57:56'::timestamp) - extract(epoch from '2026-07-02 10:57: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'), 47626, 'SRID=4674;POINT (-40.041848 -2.837725)', '2026-07-02 10:58:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041678 -2.837551)'), GeomFromEWKT('SRID=4674;POINT (-40.041848 -2.837725)'))) / (select extract(epoch from '2026-07-02 10:58:13'::timestamp) - extract(epoch from '2026-07-02 10:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041678 -2.837551)'), GeomFromEWKT('SRID=4674;POINT (-40.041848 -2.837725)'))) / (select extract(epoch from '2026-07-02 10:58:13'::timestamp) - extract(epoch from '2026-07-02 10:57: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'), 47626, 'SRID=4674;POINT (-40.042057 -2.837933)', '2026-07-02 10:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041848 -2.837725)'), GeomFromEWKT('SRID=4674;POINT (-40.042057 -2.837933)'))) / (select extract(epoch from '2026-07-02 10:58:33'::timestamp) - extract(epoch from '2026-07-02 10:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041848 -2.837725)'), GeomFromEWKT('SRID=4674;POINT (-40.042057 -2.837933)'))) / (select extract(epoch from '2026-07-02 10:58:33'::timestamp) - extract(epoch from '2026-07-02 10:58: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'), 47626, 'SRID=4674;POINT (-40.042208 -2.838049)', '2026-07-02 10:58:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042057 -2.837933)'), GeomFromEWKT('SRID=4674;POINT (-40.042208 -2.838049)'))) / (select extract(epoch from '2026-07-02 10:58:46'::timestamp) - extract(epoch from '2026-07-02 10:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042057 -2.837933)'), GeomFromEWKT('SRID=4674;POINT (-40.042208 -2.838049)'))) / (select extract(epoch from '2026-07-02 10:58:46'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.042328 -2.838212)', '2026-07-02 10:59:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042208 -2.838049)'), GeomFromEWKT('SRID=4674;POINT (-40.042328 -2.838212)'))) / (select extract(epoch from '2026-07-02 10:59:00'::timestamp) - extract(epoch from '2026-07-02 10:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042208 -2.838049)'), GeomFromEWKT('SRID=4674;POINT (-40.042328 -2.838212)'))) / (select extract(epoch from '2026-07-02 10:59:00'::timestamp) - extract(epoch from '2026-07-02 10:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.042483 -2.838386)', '2026-07-02 10:59:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042328 -2.838212)'), GeomFromEWKT('SRID=4674;POINT (-40.042483 -2.838386)'))) / (select extract(epoch from '2026-07-02 10:59:15'::timestamp) - extract(epoch from '2026-07-02 10:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042328 -2.838212)'), GeomFromEWKT('SRID=4674;POINT (-40.042483 -2.838386)'))) / (select extract(epoch from '2026-07-02 10:59:15'::timestamp) - extract(epoch from '2026-07-02 10:59: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'), 47626, 'SRID=4674;POINT (-40.042587 -2.838527)', '2026-07-02 10:59:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042483 -2.838386)'), GeomFromEWKT('SRID=4674;POINT (-40.042587 -2.838527)'))) / (select extract(epoch from '2026-07-02 10:59:26'::timestamp) - extract(epoch from '2026-07-02 10:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042483 -2.838386)'), GeomFromEWKT('SRID=4674;POINT (-40.042587 -2.838527)'))) / (select extract(epoch from '2026-07-02 10:59:26'::timestamp) - extract(epoch from '2026-07-02 10:59: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'), 47626, 'SRID=4674;POINT (-40.042744 -2.838709)', '2026-07-02 10:59:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042587 -2.838527)'), GeomFromEWKT('SRID=4674;POINT (-40.042744 -2.838709)'))) / (select extract(epoch from '2026-07-02 10:59:41'::timestamp) - extract(epoch from '2026-07-02 10:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042587 -2.838527)'), GeomFromEWKT('SRID=4674;POINT (-40.042744 -2.838709)'))) / (select extract(epoch from '2026-07-02 10:59:41'::timestamp) - extract(epoch from '2026-07-02 10:59: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'), 47626, 'SRID=4674;POINT (-40.042951 -2.838874)', '2026-07-02 10:59:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042744 -2.838709)'), GeomFromEWKT('SRID=4674;POINT (-40.042951 -2.838874)'))) / (select extract(epoch from '2026-07-02 10:59:57'::timestamp) - extract(epoch from '2026-07-02 10:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042744 -2.838709)'), GeomFromEWKT('SRID=4674;POINT (-40.042951 -2.838874)'))) / (select extract(epoch from '2026-07-02 10:59:57'::timestamp) - extract(epoch from '2026-07-02 10: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'), 47626, 'SRID=4674;POINT (-40.043138 -2.839031)', '2026-07-02 11:00:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042951 -2.838874)'), GeomFromEWKT('SRID=4674;POINT (-40.043138 -2.839031)'))) / (select extract(epoch from '2026-07-02 11:00:13'::timestamp) - extract(epoch from '2026-07-02 10:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042951 -2.838874)'), GeomFromEWKT('SRID=4674;POINT (-40.043138 -2.839031)'))) / (select extract(epoch from '2026-07-02 11:00:13'::timestamp) - extract(epoch from '2026-07-02 10:59: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'), 47626, 'SRID=4674;POINT (-40.043248 -2.839198)', '2026-07-02 11:00:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043138 -2.839031)'), GeomFromEWKT('SRID=4674;POINT (-40.043248 -2.839198)'))) / (select extract(epoch from '2026-07-02 11:00:27'::timestamp) - extract(epoch from '2026-07-02 11:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043138 -2.839031)'), GeomFromEWKT('SRID=4674;POINT (-40.043248 -2.839198)'))) / (select extract(epoch from '2026-07-02 11:00:27'::timestamp) - extract(epoch from '2026-07-02 11:00: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'), 47626, 'SRID=4674;POINT (-40.043354 -2.839378)', '2026-07-02 11:00:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043248 -2.839198)'), GeomFromEWKT('SRID=4674;POINT (-40.043354 -2.839378)'))) / (select extract(epoch from '2026-07-02 11:00:42'::timestamp) - extract(epoch from '2026-07-02 11:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043248 -2.839198)'), GeomFromEWKT('SRID=4674;POINT (-40.043354 -2.839378)'))) / (select extract(epoch from '2026-07-02 11:00:42'::timestamp) - extract(epoch from '2026-07-02 11:00: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'), 47626, 'SRID=4674;POINT (-40.043433 -2.839599)', '2026-07-02 11:00:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043354 -2.839378)'), GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.839599)'))) / (select extract(epoch from '2026-07-02 11:00:59'::timestamp) - extract(epoch from '2026-07-02 11:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043354 -2.839378)'), GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.839599)'))) / (select extract(epoch from '2026-07-02 11:00:59'::timestamp) - extract(epoch from '2026-07-02 11:00: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'), 47626, 'SRID=4674;POINT (-40.043499 -2.839812)', '2026-07-02 11:01:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.839599)'), GeomFromEWKT('SRID=4674;POINT (-40.043499 -2.839812)'))) / (select extract(epoch from '2026-07-02 11:01:15'::timestamp) - extract(epoch from '2026-07-02 11:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.839599)'), GeomFromEWKT('SRID=4674;POINT (-40.043499 -2.839812)'))) / (select extract(epoch from '2026-07-02 11:01:15'::timestamp) - extract(epoch from '2026-07-02 11:00: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'), 47626, 'SRID=4674;POINT (-40.043519 -2.839972)', '2026-07-02 11:01:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043499 -2.839812)'), GeomFromEWKT('SRID=4674;POINT (-40.043519 -2.839972)'))) / (select extract(epoch from '2026-07-02 11:01:27'::timestamp) - extract(epoch from '2026-07-02 11:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043499 -2.839812)'), GeomFromEWKT('SRID=4674;POINT (-40.043519 -2.839972)'))) / (select extract(epoch from '2026-07-02 11:01:27'::timestamp) - extract(epoch from '2026-07-02 11:01: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'), 47626, 'SRID=4674;POINT (-40.043542 -2.840178)', '2026-07-02 11:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043519 -2.839972)'), GeomFromEWKT('SRID=4674;POINT (-40.043542 -2.840178)'))) / (select extract(epoch from '2026-07-02 11:01:42'::timestamp) - extract(epoch from '2026-07-02 11:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043519 -2.839972)'), GeomFromEWKT('SRID=4674;POINT (-40.043542 -2.840178)'))) / (select extract(epoch from '2026-07-02 11:01:42'::timestamp) - extract(epoch from '2026-07-02 11:01: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'), 47626, 'SRID=4674;POINT (-40.043579 -2.840436)', '2026-07-02 11:02:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043542 -2.840178)'), GeomFromEWKT('SRID=4674;POINT (-40.043579 -2.840436)'))) / (select extract(epoch from '2026-07-02 11:02:00'::timestamp) - extract(epoch from '2026-07-02 11:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043542 -2.840178)'), GeomFromEWKT('SRID=4674;POINT (-40.043579 -2.840436)'))) / (select extract(epoch from '2026-07-02 11:02:00'::timestamp) - extract(epoch from '2026-07-02 11:01: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'), 47626, 'SRID=4674;POINT (-40.043547 -2.840602)', '2026-07-02 11:02:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043579 -2.840436)'), GeomFromEWKT('SRID=4674;POINT (-40.043547 -2.840602)'))) / (select extract(epoch from '2026-07-02 11:02:12'::timestamp) - extract(epoch from '2026-07-02 11:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043579 -2.840436)'), GeomFromEWKT('SRID=4674;POINT (-40.043547 -2.840602)'))) / (select extract(epoch from '2026-07-02 11:02:12'::timestamp) - extract(epoch from '2026-07-02 11:02: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'), 47626, 'SRID=4674;POINT (-40.043505 -2.840772)', '2026-07-02 11:02:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043547 -2.840602)'), GeomFromEWKT('SRID=4674;POINT (-40.043505 -2.840772)'))) / (select extract(epoch from '2026-07-02 11:02:24'::timestamp) - extract(epoch from '2026-07-02 11:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043547 -2.840602)'), GeomFromEWKT('SRID=4674;POINT (-40.043505 -2.840772)'))) / (select extract(epoch from '2026-07-02 11:02:24'::timestamp) - extract(epoch from '2026-07-02 11:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47626, 'SRID=4674;POINT (-40.043438 -2.840933)', '2026-07-02 11:02:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043505 -2.840772)'), GeomFromEWKT('SRID=4674;POINT (-40.043438 -2.840933)'))) / (select extract(epoch from '2026-07-02 11:02:35'::timestamp) - extract(epoch from '2026-07-02 11:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043505 -2.840772)'), GeomFromEWKT('SRID=4674;POINT (-40.043438 -2.840933)'))) / (select extract(epoch from '2026-07-02 11:02:35'::timestamp) - extract(epoch from '2026-07-02 11: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'), 47626, 'SRID=4674;POINT (-40.043426 -2.841073)', '2026-07-02 11:02:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043438 -2.840933)'), GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.841073)'))) / (select extract(epoch from '2026-07-02 11:02:44'::timestamp) - extract(epoch from '2026-07-02 11:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043438 -2.840933)'), GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.841073)'))) / (select extract(epoch from '2026-07-02 11:02:44'::timestamp) - extract(epoch from '2026-07-02 11:02: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'), 47626, 'SRID=4674;POINT (-40.043314 -2.841251)', '2026-07-02 11:02:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.841073)'), GeomFromEWKT('SRID=4674;POINT (-40.043314 -2.841251)'))) / (select extract(epoch from '2026-07-02 11:02:57'::timestamp) - extract(epoch from '2026-07-02 11:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.841073)'), GeomFromEWKT('SRID=4674;POINT (-40.043314 -2.841251)'))) / (select extract(epoch from '2026-07-02 11:02:57'::timestamp) - extract(epoch from '2026-07-02 11:02: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'), 47626, 'SRID=4674;POINT (-40.043184 -2.841445)', '2026-07-02 11:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043314 -2.841251)'), GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.841445)'))) / (select extract(epoch from '2026-07-02 11:03:11'::timestamp) - extract(epoch from '2026-07-02 11:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043314 -2.841251)'), GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.841445)'))) / (select extract(epoch from '2026-07-02 11:03:11'::timestamp) - extract(epoch from '2026-07-02 11:02: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'), 47626, 'SRID=4674;POINT (-40.043025 -2.841607)', '2026-07-02 11:03:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.841445)'), GeomFromEWKT('SRID=4674;POINT (-40.043025 -2.841607)'))) / (select extract(epoch from '2026-07-02 11:03:25'::timestamp) - extract(epoch from '2026-07-02 11:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.841445)'), GeomFromEWKT('SRID=4674;POINT (-40.043025 -2.841607)'))) / (select extract(epoch from '2026-07-02 11:03:25'::timestamp) - extract(epoch from '2026-07-02 11:03: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'), 47626, 'SRID=4674;POINT (-40.042831 -2.841775)', '2026-07-02 11:03:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043025 -2.841607)'), GeomFromEWKT('SRID=4674;POINT (-40.042831 -2.841775)'))) / (select extract(epoch from '2026-07-02 11:03:41'::timestamp) - extract(epoch from '2026-07-02 11:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043025 -2.841607)'), GeomFromEWKT('SRID=4674;POINT (-40.042831 -2.841775)'))) / (select extract(epoch from '2026-07-02 11:03:41'::timestamp) - extract(epoch from '2026-07-02 11:03: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'), 47626, 'SRID=4674;POINT (-40.042644 -2.841951)', '2026-07-02 11:03:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042831 -2.841775)'), GeomFromEWKT('SRID=4674;POINT (-40.042644 -2.841951)'))) / (select extract(epoch from '2026-07-02 11:03:57'::timestamp) - extract(epoch from '2026-07-02 11:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042831 -2.841775)'), GeomFromEWKT('SRID=4674;POINT (-40.042644 -2.841951)'))) / (select extract(epoch from '2026-07-02 11:03:57'::timestamp) - extract(epoch from '2026-07-02 11:03: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'), 47626, 'SRID=4674;POINT (-40.042516 -2.842127)', '2026-07-02 11:04:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042644 -2.841951)'), GeomFromEWKT('SRID=4674;POINT (-40.042516 -2.842127)'))) / (select extract(epoch from '2026-07-02 11:04:11'::timestamp) - extract(epoch from '2026-07-02 11:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042644 -2.841951)'), GeomFromEWKT('SRID=4674;POINT (-40.042516 -2.842127)'))) / (select extract(epoch from '2026-07-02 11:04:11'::timestamp) - extract(epoch from '2026-07-02 11:03: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'), 47626, 'SRID=4674;POINT (-40.042391 -2.842358)', '2026-07-02 11:04:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042516 -2.842127)'), GeomFromEWKT('SRID=4674;POINT (-40.042391 -2.842358)'))) / (select extract(epoch from '2026-07-02 11:04:29'::timestamp) - extract(epoch from '2026-07-02 11:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042516 -2.842127)'), GeomFromEWKT('SRID=4674;POINT (-40.042391 -2.842358)'))) / (select extract(epoch from '2026-07-02 11:04:29'::timestamp) - extract(epoch from '2026-07-02 11: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'), 47626, 'SRID=4674;POINT (-40.04231 -2.84258)', '2026-07-02 11:04:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042391 -2.842358)'), GeomFromEWKT('SRID=4674;POINT (-40.04231 -2.84258)'))) / (select extract(epoch from '2026-07-02 11:04:45'::timestamp) - extract(epoch from '2026-07-02 11:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042391 -2.842358)'), GeomFromEWKT('SRID=4674;POINT (-40.04231 -2.84258)'))) / (select extract(epoch from '2026-07-02 11:04:45'::timestamp) - extract(epoch from '2026-07-02 11:04: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'), 47626, 'SRID=4674;POINT (-40.042257 -2.842848)', '2026-07-02 11:05:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04231 -2.84258)'), GeomFromEWKT('SRID=4674;POINT (-40.042257 -2.842848)'))) / (select extract(epoch from '2026-07-02 11:05:03'::timestamp) - extract(epoch from '2026-07-02 11:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04231 -2.84258)'), GeomFromEWKT('SRID=4674;POINT (-40.042257 -2.842848)'))) / (select extract(epoch from '2026-07-02 11:05:03'::timestamp) - extract(epoch from '2026-07-02 11:04: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'), 47626, 'SRID=4674;POINT (-40.042216 -2.843022)', '2026-07-02 11:05:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042257 -2.842848)'), GeomFromEWKT('SRID=4674;POINT (-40.042216 -2.843022)'))) / (select extract(epoch from '2026-07-02 11:05:15'::timestamp) - extract(epoch from '2026-07-02 11:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042257 -2.842848)'), GeomFromEWKT('SRID=4674;POINT (-40.042216 -2.843022)'))) / (select extract(epoch from '2026-07-02 11:05:15'::timestamp) - extract(epoch from '2026-07-02 11:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
