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'), 46703, 'SRID=4674;POINT (-40.042273 -2.823748)', '2026-06-13 07:10:03', 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'), 46703, 'SRID=4674;POINT (-40.042113 -2.823516)', '2026-06-13 07:10:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042273 -2.823748)'), GeomFromEWKT('SRID=4674;POINT (-40.042113 -2.823516)'))) / (select extract(epoch from '2026-06-13 07:10:16'::timestamp) - extract(epoch from '2026-06-13 07:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042273 -2.823748)'), GeomFromEWKT('SRID=4674;POINT (-40.042113 -2.823516)'))) / (select extract(epoch from '2026-06-13 07:10:16'::timestamp) - extract(epoch from '2026-06-13 07:10: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'), 46703, 'SRID=4674;POINT (-40.042081 -2.823361)', '2026-06-13 07:10:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042113 -2.823516)'), GeomFromEWKT('SRID=4674;POINT (-40.042081 -2.823361)'))) / (select extract(epoch from '2026-06-13 07:10:25'::timestamp) - extract(epoch from '2026-06-13 07:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042113 -2.823516)'), GeomFromEWKT('SRID=4674;POINT (-40.042081 -2.823361)'))) / (select extract(epoch from '2026-06-13 07:10:25'::timestamp) - extract(epoch from '2026-06-13 07:10: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'), 46703, 'SRID=4674;POINT (-40.042046 -2.823214)', '2026-06-13 07:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042081 -2.823361)'), GeomFromEWKT('SRID=4674;POINT (-40.042046 -2.823214)'))) / (select extract(epoch from '2026-06-13 07:10:33'::timestamp) - extract(epoch from '2026-06-13 07:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042081 -2.823361)'), GeomFromEWKT('SRID=4674;POINT (-40.042046 -2.823214)'))) / (select extract(epoch from '2026-06-13 07:10:33'::timestamp) - extract(epoch from '2026-06-13 07:10: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'), 46703, 'SRID=4674;POINT (-40.042035 -2.823174)', '2026-06-13 07:10:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042046 -2.823214)'), GeomFromEWKT('SRID=4674;POINT (-40.042035 -2.823174)'))) / (select extract(epoch from '2026-06-13 07:10:35'::timestamp) - extract(epoch from '2026-06-13 07:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042046 -2.823214)'), GeomFromEWKT('SRID=4674;POINT (-40.042035 -2.823174)'))) / (select extract(epoch from '2026-06-13 07:10:35'::timestamp) - extract(epoch from '2026-06-13 07:10: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'), 46703, 'SRID=4674;POINT (-40.041923 -2.822878)', '2026-06-13 07:10:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042035 -2.823174)'), GeomFromEWKT('SRID=4674;POINT (-40.041923 -2.822878)'))) / (select extract(epoch from '2026-06-13 07:10:49'::timestamp) - extract(epoch from '2026-06-13 07:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042035 -2.823174)'), GeomFromEWKT('SRID=4674;POINT (-40.041923 -2.822878)'))) / (select extract(epoch from '2026-06-13 07:10:49'::timestamp) - extract(epoch from '2026-06-13 07:10: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'), 46703, 'SRID=4674;POINT (-40.041923 -2.822461)', '2026-06-13 07:11:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041923 -2.822878)'), GeomFromEWKT('SRID=4674;POINT (-40.041923 -2.822461)'))) / (select extract(epoch from '2026-06-13 07:11:06'::timestamp) - extract(epoch from '2026-06-13 07:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041923 -2.822878)'), GeomFromEWKT('SRID=4674;POINT (-40.041923 -2.822461)'))) / (select extract(epoch from '2026-06-13 07:11:06'::timestamp) - extract(epoch from '2026-06-13 07:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.041851 -2.822064)', '2026-06-13 07:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041923 -2.822461)'), GeomFromEWKT('SRID=4674;POINT (-40.041851 -2.822064)'))) / (select extract(epoch from '2026-06-13 07:11:24'::timestamp) - extract(epoch from '2026-06-13 07:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041923 -2.822461)'), GeomFromEWKT('SRID=4674;POINT (-40.041851 -2.822064)'))) / (select extract(epoch from '2026-06-13 07:11:24'::timestamp) - extract(epoch from '2026-06-13 07:11: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'), 46703, 'SRID=4674;POINT (-40.041815 -2.821946)', '2026-06-13 07:11:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041851 -2.822064)'), GeomFromEWKT('SRID=4674;POINT (-40.041815 -2.821946)'))) / (select extract(epoch from '2026-06-13 07:11:30'::timestamp) - extract(epoch from '2026-06-13 07:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041851 -2.822064)'), GeomFromEWKT('SRID=4674;POINT (-40.041815 -2.821946)'))) / (select extract(epoch from '2026-06-13 07:11:30'::timestamp) - extract(epoch from '2026-06-13 07:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.041772 -2.821758)', '2026-06-13 07:11:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041815 -2.821946)'), GeomFromEWKT('SRID=4674;POINT (-40.041772 -2.821758)'))) / (select extract(epoch from '2026-06-13 07:11:39'::timestamp) - extract(epoch from '2026-06-13 07:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041815 -2.821946)'), GeomFromEWKT('SRID=4674;POINT (-40.041772 -2.821758)'))) / (select extract(epoch from '2026-06-13 07:11:39'::timestamp) - extract(epoch from '2026-06-13 07:11: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'), 46703, 'SRID=4674;POINT (-40.04169 -2.821582)', '2026-06-13 07:11:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041772 -2.821758)'), GeomFromEWKT('SRID=4674;POINT (-40.04169 -2.821582)'))) / (select extract(epoch from '2026-06-13 07:11:47'::timestamp) - extract(epoch from '2026-06-13 07:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041772 -2.821758)'), GeomFromEWKT('SRID=4674;POINT (-40.04169 -2.821582)'))) / (select extract(epoch from '2026-06-13 07:11:47'::timestamp) - extract(epoch from '2026-06-13 07:11:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.041631 -2.821399)', '2026-06-13 07:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04169 -2.821582)'), GeomFromEWKT('SRID=4674;POINT (-40.041631 -2.821399)'))) / (select extract(epoch from '2026-06-13 07:11:56'::timestamp) - extract(epoch from '2026-06-13 07:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04169 -2.821582)'), GeomFromEWKT('SRID=4674;POINT (-40.041631 -2.821399)'))) / (select extract(epoch from '2026-06-13 07:11:56'::timestamp) - extract(epoch from '2026-06-13 07:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.041565 -2.821201)', '2026-06-13 07:12:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041631 -2.821399)'), GeomFromEWKT('SRID=4674;POINT (-40.041565 -2.821201)'))) / (select extract(epoch from '2026-06-13 07:12:06'::timestamp) - extract(epoch from '2026-06-13 07:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041631 -2.821399)'), GeomFromEWKT('SRID=4674;POINT (-40.041565 -2.821201)'))) / (select extract(epoch from '2026-06-13 07:12:06'::timestamp) - extract(epoch from '2026-06-13 07:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.041479 -2.821006)', '2026-06-13 07:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041565 -2.821201)'), GeomFromEWKT('SRID=4674;POINT (-40.041479 -2.821006)'))) / (select extract(epoch from '2026-06-13 07:12:17'::timestamp) - extract(epoch from '2026-06-13 07:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041565 -2.821201)'), GeomFromEWKT('SRID=4674;POINT (-40.041479 -2.821006)'))) / (select extract(epoch from '2026-06-13 07:12:17'::timestamp) - extract(epoch from '2026-06-13 07:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.041379 -2.820841)', '2026-06-13 07:12:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041479 -2.821006)'), GeomFromEWKT('SRID=4674;POINT (-40.041379 -2.820841)'))) / (select extract(epoch from '2026-06-13 07:12:26'::timestamp) - extract(epoch from '2026-06-13 07:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041479 -2.821006)'), GeomFromEWKT('SRID=4674;POINT (-40.041379 -2.820841)'))) / (select extract(epoch from '2026-06-13 07:12:26'::timestamp) - extract(epoch from '2026-06-13 07:12: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'), 46703, 'SRID=4674;POINT (-40.041319 -2.820698)', '2026-06-13 07:12:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041379 -2.820841)'), GeomFromEWKT('SRID=4674;POINT (-40.041319 -2.820698)'))) / (select extract(epoch from '2026-06-13 07:12:34'::timestamp) - extract(epoch from '2026-06-13 07:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041379 -2.820841)'), GeomFromEWKT('SRID=4674;POINT (-40.041319 -2.820698)'))) / (select extract(epoch from '2026-06-13 07:12:34'::timestamp) - extract(epoch from '2026-06-13 07:12: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'), 46703, 'SRID=4674;POINT (-40.041254 -2.820575)', '2026-06-13 07:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041319 -2.820698)'), GeomFromEWKT('SRID=4674;POINT (-40.041254 -2.820575)'))) / (select extract(epoch from '2026-06-13 07:12:42'::timestamp) - extract(epoch from '2026-06-13 07:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041319 -2.820698)'), GeomFromEWKT('SRID=4674;POINT (-40.041254 -2.820575)'))) / (select extract(epoch from '2026-06-13 07:12:42'::timestamp) - extract(epoch from '2026-06-13 07:12: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'), 46703, 'SRID=4674;POINT (-40.041164 -2.820417)', '2026-06-13 07:12:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041254 -2.820575)'), GeomFromEWKT('SRID=4674;POINT (-40.041164 -2.820417)'))) / (select extract(epoch from '2026-06-13 07:12:52'::timestamp) - extract(epoch from '2026-06-13 07:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041254 -2.820575)'), GeomFromEWKT('SRID=4674;POINT (-40.041164 -2.820417)'))) / (select extract(epoch from '2026-06-13 07:12:52'::timestamp) - extract(epoch from '2026-06-13 07:12: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'), 46703, 'SRID=4674;POINT (-40.041096 -2.820253)', '2026-06-13 07:13:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041164 -2.820417)'), GeomFromEWKT('SRID=4674;POINT (-40.041096 -2.820253)'))) / (select extract(epoch from '2026-06-13 07:13:01'::timestamp) - extract(epoch from '2026-06-13 07:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041164 -2.820417)'), GeomFromEWKT('SRID=4674;POINT (-40.041096 -2.820253)'))) / (select extract(epoch from '2026-06-13 07:13:01'::timestamp) - extract(epoch from '2026-06-13 07:12: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'), 46703, 'SRID=4674;POINT (-40.040998 -2.820089)', '2026-06-13 07:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041096 -2.820253)'), GeomFromEWKT('SRID=4674;POINT (-40.040998 -2.820089)'))) / (select extract(epoch from '2026-06-13 07:13:11'::timestamp) - extract(epoch from '2026-06-13 07:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041096 -2.820253)'), GeomFromEWKT('SRID=4674;POINT (-40.040998 -2.820089)'))) / (select extract(epoch from '2026-06-13 07:13:11'::timestamp) - extract(epoch from '2026-06-13 07:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.0409 -2.819977)', '2026-06-13 07:13:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040998 -2.820089)'), GeomFromEWKT('SRID=4674;POINT (-40.0409 -2.819977)'))) / (select extract(epoch from '2026-06-13 07:13:19'::timestamp) - extract(epoch from '2026-06-13 07:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040998 -2.820089)'), GeomFromEWKT('SRID=4674;POINT (-40.0409 -2.819977)'))) / (select extract(epoch from '2026-06-13 07:13:19'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.040776 -2.819824)', '2026-06-13 07:13:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0409 -2.819977)'), GeomFromEWKT('SRID=4674;POINT (-40.040776 -2.819824)'))) / (select extract(epoch from '2026-06-13 07:13:29'::timestamp) - extract(epoch from '2026-06-13 07:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0409 -2.819977)'), GeomFromEWKT('SRID=4674;POINT (-40.040776 -2.819824)'))) / (select extract(epoch from '2026-06-13 07:13:29'::timestamp) - extract(epoch from '2026-06-13 07:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.040673 -2.819693)', '2026-06-13 07:13:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040776 -2.819824)'), GeomFromEWKT('SRID=4674;POINT (-40.040673 -2.819693)'))) / (select extract(epoch from '2026-06-13 07:13:38'::timestamp) - extract(epoch from '2026-06-13 07:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040776 -2.819824)'), GeomFromEWKT('SRID=4674;POINT (-40.040673 -2.819693)'))) / (select extract(epoch from '2026-06-13 07:13:38'::timestamp) - extract(epoch from '2026-06-13 07:13: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'), 46703, 'SRID=4674;POINT (-40.040597 -2.819557)', '2026-06-13 07:13:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040673 -2.819693)'), GeomFromEWKT('SRID=4674;POINT (-40.040597 -2.819557)'))) / (select extract(epoch from '2026-06-13 07:13:47'::timestamp) - extract(epoch from '2026-06-13 07:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040673 -2.819693)'), GeomFromEWKT('SRID=4674;POINT (-40.040597 -2.819557)'))) / (select extract(epoch from '2026-06-13 07:13:47'::timestamp) - extract(epoch from '2026-06-13 07:13: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'), 46703, 'SRID=4674;POINT (-40.040472 -2.819452)', '2026-06-13 07:13:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040597 -2.819557)'), GeomFromEWKT('SRID=4674;POINT (-40.040472 -2.819452)'))) / (select extract(epoch from '2026-06-13 07:13:56'::timestamp) - extract(epoch from '2026-06-13 07:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040597 -2.819557)'), GeomFromEWKT('SRID=4674;POINT (-40.040472 -2.819452)'))) / (select extract(epoch from '2026-06-13 07:13:56'::timestamp) - extract(epoch from '2026-06-13 07:13: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'), 46703, 'SRID=4674;POINT (-40.040371 -2.819324)', '2026-06-13 07:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040472 -2.819452)'), GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.819324)'))) / (select extract(epoch from '2026-06-13 07:14:06'::timestamp) - extract(epoch from '2026-06-13 07:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040472 -2.819452)'), GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.819324)'))) / (select extract(epoch from '2026-06-13 07:14:06'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.040223 -2.819246)', '2026-06-13 07:14:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.819324)'), GeomFromEWKT('SRID=4674;POINT (-40.040223 -2.819246)'))) / (select extract(epoch from '2026-06-13 07:14:14'::timestamp) - extract(epoch from '2026-06-13 07:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.819324)'), GeomFromEWKT('SRID=4674;POINT (-40.040223 -2.819246)'))) / (select extract(epoch from '2026-06-13 07:14:14'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.040087 -2.819159)', '2026-06-13 07:14:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040223 -2.819246)'), GeomFromEWKT('SRID=4674;POINT (-40.040087 -2.819159)'))) / (select extract(epoch from '2026-06-13 07:14:22'::timestamp) - extract(epoch from '2026-06-13 07:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040223 -2.819246)'), GeomFromEWKT('SRID=4674;POINT (-40.040087 -2.819159)'))) / (select extract(epoch from '2026-06-13 07:14:22'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.039968 -2.819085)', '2026-06-13 07:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040087 -2.819159)'), GeomFromEWKT('SRID=4674;POINT (-40.039968 -2.819085)'))) / (select extract(epoch from '2026-06-13 07:14:30'::timestamp) - extract(epoch from '2026-06-13 07:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040087 -2.819159)'), GeomFromEWKT('SRID=4674;POINT (-40.039968 -2.819085)'))) / (select extract(epoch from '2026-06-13 07:14:30'::timestamp) - extract(epoch from '2026-06-13 07:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.039865 -2.819129)', '2026-06-13 07:14:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039968 -2.819085)'), GeomFromEWKT('SRID=4674;POINT (-40.039865 -2.819129)'))) / (select extract(epoch from '2026-06-13 07:14:37'::timestamp) - extract(epoch from '2026-06-13 07:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039968 -2.819085)'), GeomFromEWKT('SRID=4674;POINT (-40.039865 -2.819129)'))) / (select extract(epoch from '2026-06-13 07:14:37'::timestamp) - extract(epoch from '2026-06-13 07:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.039756 -2.819072)', '2026-06-13 07:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039865 -2.819129)'), GeomFromEWKT('SRID=4674;POINT (-40.039756 -2.819072)'))) / (select extract(epoch from '2026-06-13 07:14:45'::timestamp) - extract(epoch from '2026-06-13 07:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039865 -2.819129)'), GeomFromEWKT('SRID=4674;POINT (-40.039756 -2.819072)'))) / (select extract(epoch from '2026-06-13 07:14:45'::timestamp) - extract(epoch from '2026-06-13 07:14: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'), 46703, 'SRID=4674;POINT (-40.039636 -2.819005)', '2026-06-13 07:14:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039756 -2.819072)'), GeomFromEWKT('SRID=4674;POINT (-40.039636 -2.819005)'))) / (select extract(epoch from '2026-06-13 07:14:54'::timestamp) - extract(epoch from '2026-06-13 07:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039756 -2.819072)'), GeomFromEWKT('SRID=4674;POINT (-40.039636 -2.819005)'))) / (select extract(epoch from '2026-06-13 07:14:54'::timestamp) - extract(epoch from '2026-06-13 07:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.039477 -2.818916)', '2026-06-13 07:15:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039636 -2.819005)'), GeomFromEWKT('SRID=4674;POINT (-40.039477 -2.818916)'))) / (select extract(epoch from '2026-06-13 07:15:03'::timestamp) - extract(epoch from '2026-06-13 07:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039636 -2.819005)'), GeomFromEWKT('SRID=4674;POINT (-40.039477 -2.818916)'))) / (select extract(epoch from '2026-06-13 07:15:03'::timestamp) - extract(epoch from '2026-06-13 07:14: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'), 46703, 'SRID=4674;POINT (-40.039348 -2.818838)', '2026-06-13 07:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039477 -2.818916)'), GeomFromEWKT('SRID=4674;POINT (-40.039348 -2.818838)'))) / (select extract(epoch from '2026-06-13 07:15:10'::timestamp) - extract(epoch from '2026-06-13 07:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039477 -2.818916)'), GeomFromEWKT('SRID=4674;POINT (-40.039348 -2.818838)'))) / (select extract(epoch from '2026-06-13 07:15:10'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.039192 -2.818776)', '2026-06-13 07:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039348 -2.818838)'), GeomFromEWKT('SRID=4674;POINT (-40.039192 -2.818776)'))) / (select extract(epoch from '2026-06-13 07:15:20'::timestamp) - extract(epoch from '2026-06-13 07:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039348 -2.818838)'), GeomFromEWKT('SRID=4674;POINT (-40.039192 -2.818776)'))) / (select extract(epoch from '2026-06-13 07:15:20'::timestamp) - extract(epoch from '2026-06-13 07:15: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'), 46703, 'SRID=4674;POINT (-40.039063 -2.818755)', '2026-06-13 07:15:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039192 -2.818776)'), GeomFromEWKT('SRID=4674;POINT (-40.039063 -2.818755)'))) / (select extract(epoch from '2026-06-13 07:15:28'::timestamp) - extract(epoch from '2026-06-13 07:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039192 -2.818776)'), GeomFromEWKT('SRID=4674;POINT (-40.039063 -2.818755)'))) / (select extract(epoch from '2026-06-13 07:15:28'::timestamp) - extract(epoch from '2026-06-13 07:15: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'), 46703, 'SRID=4674;POINT (-40.038959 -2.818715)', '2026-06-13 07:15:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039063 -2.818755)'), GeomFromEWKT('SRID=4674;POINT (-40.038959 -2.818715)'))) / (select extract(epoch from '2026-06-13 07:15:36'::timestamp) - extract(epoch from '2026-06-13 07:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039063 -2.818755)'), GeomFromEWKT('SRID=4674;POINT (-40.038959 -2.818715)'))) / (select extract(epoch from '2026-06-13 07:15:36'::timestamp) - extract(epoch from '2026-06-13 07:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.038835 -2.818642)', '2026-06-13 07:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038959 -2.818715)'), GeomFromEWKT('SRID=4674;POINT (-40.038835 -2.818642)'))) / (select extract(epoch from '2026-06-13 07:15:45'::timestamp) - extract(epoch from '2026-06-13 07:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038959 -2.818715)'), GeomFromEWKT('SRID=4674;POINT (-40.038835 -2.818642)'))) / (select extract(epoch from '2026-06-13 07:15:45'::timestamp) - extract(epoch from '2026-06-13 07:15: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'), 46703, 'SRID=4674;POINT (-40.038711 -2.818573)', '2026-06-13 07:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038835 -2.818642)'), GeomFromEWKT('SRID=4674;POINT (-40.038711 -2.818573)'))) / (select extract(epoch from '2026-06-13 07:15:53'::timestamp) - extract(epoch from '2026-06-13 07:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038835 -2.818642)'), GeomFromEWKT('SRID=4674;POINT (-40.038711 -2.818573)'))) / (select extract(epoch from '2026-06-13 07:15:53'::timestamp) - extract(epoch from '2026-06-13 07:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.038582 -2.81848)', '2026-06-13 07:16:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038711 -2.818573)'), GeomFromEWKT('SRID=4674;POINT (-40.038582 -2.81848)'))) / (select extract(epoch from '2026-06-13 07:16:02'::timestamp) - extract(epoch from '2026-06-13 07:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038711 -2.818573)'), GeomFromEWKT('SRID=4674;POINT (-40.038582 -2.81848)'))) / (select extract(epoch from '2026-06-13 07:16:02'::timestamp) - extract(epoch from '2026-06-13 07:15: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'), 46703, 'SRID=4674;POINT (-40.038462 -2.818382)', '2026-06-13 07:16:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038582 -2.81848)'), GeomFromEWKT('SRID=4674;POINT (-40.038462 -2.818382)'))) / (select extract(epoch from '2026-06-13 07:16:11'::timestamp) - extract(epoch from '2026-06-13 07:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038582 -2.81848)'), GeomFromEWKT('SRID=4674;POINT (-40.038462 -2.818382)'))) / (select extract(epoch from '2026-06-13 07:16:11'::timestamp) - extract(epoch from '2026-06-13 07:16: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'), 46703, 'SRID=4674;POINT (-40.038325 -2.818296)', '2026-06-13 07:16:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038462 -2.818382)'), GeomFromEWKT('SRID=4674;POINT (-40.038325 -2.818296)'))) / (select extract(epoch from '2026-06-13 07:16:19'::timestamp) - extract(epoch from '2026-06-13 07:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038462 -2.818382)'), GeomFromEWKT('SRID=4674;POINT (-40.038325 -2.818296)'))) / (select extract(epoch from '2026-06-13 07:16:19'::timestamp) - extract(epoch from '2026-06-13 07:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.038229 -2.818275)', '2026-06-13 07:16:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038325 -2.818296)'), GeomFromEWKT('SRID=4674;POINT (-40.038229 -2.818275)'))) / (select extract(epoch from '2026-06-13 07:16:25'::timestamp) - extract(epoch from '2026-06-13 07:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038325 -2.818296)'), GeomFromEWKT('SRID=4674;POINT (-40.038229 -2.818275)'))) / (select extract(epoch from '2026-06-13 07:16:25'::timestamp) - extract(epoch from '2026-06-13 07:16: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'), 46703, 'SRID=4674;POINT (-40.038115 -2.818223)', '2026-06-13 07:16:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038229 -2.818275)'), GeomFromEWKT('SRID=4674;POINT (-40.038115 -2.818223)'))) / (select extract(epoch from '2026-06-13 07:16:33'::timestamp) - extract(epoch from '2026-06-13 07:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038229 -2.818275)'), GeomFromEWKT('SRID=4674;POINT (-40.038115 -2.818223)'))) / (select extract(epoch from '2026-06-13 07:16:33'::timestamp) - extract(epoch from '2026-06-13 07:16: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'), 46703, 'SRID=4674;POINT (-40.037999 -2.818177)', '2026-06-13 07:16:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038115 -2.818223)'), GeomFromEWKT('SRID=4674;POINT (-40.037999 -2.818177)'))) / (select extract(epoch from '2026-06-13 07:16:41'::timestamp) - extract(epoch from '2026-06-13 07:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038115 -2.818223)'), GeomFromEWKT('SRID=4674;POINT (-40.037999 -2.818177)'))) / (select extract(epoch from '2026-06-13 07:16:41'::timestamp) - extract(epoch from '2026-06-13 07:16: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'), 46703, 'SRID=4674;POINT (-40.037864 -2.818146)', '2026-06-13 07:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037999 -2.818177)'), GeomFromEWKT('SRID=4674;POINT (-40.037864 -2.818146)'))) / (select extract(epoch from '2026-06-13 07:16:50'::timestamp) - extract(epoch from '2026-06-13 07:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037999 -2.818177)'), GeomFromEWKT('SRID=4674;POINT (-40.037864 -2.818146)'))) / (select extract(epoch from '2026-06-13 07:16:50'::timestamp) - extract(epoch from '2026-06-13 07:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.037707 -2.81812)', '2026-06-13 07:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037864 -2.818146)'), GeomFromEWKT('SRID=4674;POINT (-40.037707 -2.81812)'))) / (select extract(epoch from '2026-06-13 07:16:59'::timestamp) - extract(epoch from '2026-06-13 07:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037864 -2.818146)'), GeomFromEWKT('SRID=4674;POINT (-40.037707 -2.81812)'))) / (select extract(epoch from '2026-06-13 07:16:59'::timestamp) - extract(epoch from '2026-06-13 07:16: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'), 46703, 'SRID=4674;POINT (-40.0376 -2.818052)', '2026-06-13 07:17:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037707 -2.81812)'), GeomFromEWKT('SRID=4674;POINT (-40.0376 -2.818052)'))) / (select extract(epoch from '2026-06-13 07:17:06'::timestamp) - extract(epoch from '2026-06-13 07:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037707 -2.81812)'), GeomFromEWKT('SRID=4674;POINT (-40.0376 -2.818052)'))) / (select extract(epoch from '2026-06-13 07:17:06'::timestamp) - extract(epoch from '2026-06-13 07:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.037468 -2.81799)', '2026-06-13 07:17:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0376 -2.818052)'), GeomFromEWKT('SRID=4674;POINT (-40.037468 -2.81799)'))) / (select extract(epoch from '2026-06-13 07:17:14'::timestamp) - extract(epoch from '2026-06-13 07:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0376 -2.818052)'), GeomFromEWKT('SRID=4674;POINT (-40.037468 -2.81799)'))) / (select extract(epoch from '2026-06-13 07:17:14'::timestamp) - extract(epoch from '2026-06-13 07:17: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'), 46703, 'SRID=4674;POINT (-40.037338 -2.817933)', '2026-06-13 07:17:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037468 -2.81799)'), GeomFromEWKT('SRID=4674;POINT (-40.037338 -2.817933)'))) / (select extract(epoch from '2026-06-13 07:17:23'::timestamp) - extract(epoch from '2026-06-13 07:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037468 -2.81799)'), GeomFromEWKT('SRID=4674;POINT (-40.037338 -2.817933)'))) / (select extract(epoch from '2026-06-13 07:17:23'::timestamp) - extract(epoch from '2026-06-13 07:17: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'), 46703, 'SRID=4674;POINT (-40.037266 -2.817885)', '2026-06-13 07:17:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037338 -2.817933)'), GeomFromEWKT('SRID=4674;POINT (-40.037266 -2.817885)'))) / (select extract(epoch from '2026-06-13 07:17:29'::timestamp) - extract(epoch from '2026-06-13 07:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037338 -2.817933)'), GeomFromEWKT('SRID=4674;POINT (-40.037266 -2.817885)'))) / (select extract(epoch from '2026-06-13 07:17:29'::timestamp) - extract(epoch from '2026-06-13 07:17: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'), 46703, 'SRID=4674;POINT (-40.037144 -2.817847)', '2026-06-13 07:17:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037266 -2.817885)'), GeomFromEWKT('SRID=4674;POINT (-40.037144 -2.817847)'))) / (select extract(epoch from '2026-06-13 07:17:37'::timestamp) - extract(epoch from '2026-06-13 07:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037266 -2.817885)'), GeomFromEWKT('SRID=4674;POINT (-40.037144 -2.817847)'))) / (select extract(epoch from '2026-06-13 07:17:37'::timestamp) - extract(epoch from '2026-06-13 07:17: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'), 46703, 'SRID=4674;POINT (-40.037035 -2.817821)', '2026-06-13 07:17:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037144 -2.817847)'), GeomFromEWKT('SRID=4674;POINT (-40.037035 -2.817821)'))) / (select extract(epoch from '2026-06-13 07:17:45'::timestamp) - extract(epoch from '2026-06-13 07:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037144 -2.817847)'), GeomFromEWKT('SRID=4674;POINT (-40.037035 -2.817821)'))) / (select extract(epoch from '2026-06-13 07:17:45'::timestamp) - extract(epoch from '2026-06-13 07:17: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'), 46703, 'SRID=4674;POINT (-40.036949 -2.81786)', '2026-06-13 07:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037035 -2.817821)'), GeomFromEWKT('SRID=4674;POINT (-40.036949 -2.81786)'))) / (select extract(epoch from '2026-06-13 07:17:52'::timestamp) - extract(epoch from '2026-06-13 07:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037035 -2.817821)'), GeomFromEWKT('SRID=4674;POINT (-40.036949 -2.81786)'))) / (select extract(epoch from '2026-06-13 07:17:52'::timestamp) - extract(epoch from '2026-06-13 07:17: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'), 46703, 'SRID=4674;POINT (-40.036789 -2.817778)', '2026-06-13 07:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036949 -2.81786)'), GeomFromEWKT('SRID=4674;POINT (-40.036789 -2.817778)'))) / (select extract(epoch from '2026-06-13 07:18:04'::timestamp) - extract(epoch from '2026-06-13 07:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036949 -2.81786)'), GeomFromEWKT('SRID=4674;POINT (-40.036789 -2.817778)'))) / (select extract(epoch from '2026-06-13 07:18:04'::timestamp) - extract(epoch from '2026-06-13 07:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.036709 -2.817666)', '2026-06-13 07:18:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036789 -2.817778)'), GeomFromEWKT('SRID=4674;POINT (-40.036709 -2.817666)'))) / (select extract(epoch from '2026-06-13 07:18:15'::timestamp) - extract(epoch from '2026-06-13 07:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036789 -2.817778)'), GeomFromEWKT('SRID=4674;POINT (-40.036709 -2.817666)'))) / (select extract(epoch from '2026-06-13 07:18:15'::timestamp) - extract(epoch from '2026-06-13 07:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.03664 -2.81753)', '2026-06-13 07:18:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036709 -2.817666)'), GeomFromEWKT('SRID=4674;POINT (-40.03664 -2.81753)'))) / (select extract(epoch from '2026-06-13 07:18:26'::timestamp) - extract(epoch from '2026-06-13 07:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036709 -2.817666)'), GeomFromEWKT('SRID=4674;POINT (-40.03664 -2.81753)'))) / (select extract(epoch from '2026-06-13 07:18:26'::timestamp) - extract(epoch from '2026-06-13 07:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.036524 -2.817371)', '2026-06-13 07:18:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03664 -2.81753)'), GeomFromEWKT('SRID=4674;POINT (-40.036524 -2.817371)'))) / (select extract(epoch from '2026-06-13 07:18:40'::timestamp) - extract(epoch from '2026-06-13 07:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03664 -2.81753)'), GeomFromEWKT('SRID=4674;POINT (-40.036524 -2.817371)'))) / (select extract(epoch from '2026-06-13 07:18:40'::timestamp) - extract(epoch from '2026-06-13 07:18: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'), 46703, 'SRID=4674;POINT (-40.036405 -2.817226)', '2026-06-13 07:18:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036524 -2.817371)'), GeomFromEWKT('SRID=4674;POINT (-40.036405 -2.817226)'))) / (select extract(epoch from '2026-06-13 07:18:52'::timestamp) - extract(epoch from '2026-06-13 07:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036524 -2.817371)'), GeomFromEWKT('SRID=4674;POINT (-40.036405 -2.817226)'))) / (select extract(epoch from '2026-06-13 07:18:52'::timestamp) - extract(epoch from '2026-06-13 07:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.036297 -2.817139)', '2026-06-13 07:19:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036405 -2.817226)'), GeomFromEWKT('SRID=4674;POINT (-40.036297 -2.817139)'))) / (select extract(epoch from '2026-06-13 07:19:01'::timestamp) - extract(epoch from '2026-06-13 07:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036405 -2.817226)'), GeomFromEWKT('SRID=4674;POINT (-40.036297 -2.817139)'))) / (select extract(epoch from '2026-06-13 07:19:01'::timestamp) - extract(epoch from '2026-06-13 07:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.036184 -2.817065)', '2026-06-13 07:19:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036297 -2.817139)'), GeomFromEWKT('SRID=4674;POINT (-40.036184 -2.817065)'))) / (select extract(epoch from '2026-06-13 07:19:10'::timestamp) - extract(epoch from '2026-06-13 07:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036297 -2.817139)'), GeomFromEWKT('SRID=4674;POINT (-40.036184 -2.817065)'))) / (select extract(epoch from '2026-06-13 07:19:10'::timestamp) - extract(epoch from '2026-06-13 07:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.036097 -2.816975)', '2026-06-13 07:19:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036184 -2.817065)'), GeomFromEWKT('SRID=4674;POINT (-40.036097 -2.816975)'))) / (select extract(epoch from '2026-06-13 07:19:18'::timestamp) - extract(epoch from '2026-06-13 07:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036184 -2.817065)'), GeomFromEWKT('SRID=4674;POINT (-40.036097 -2.816975)'))) / (select extract(epoch from '2026-06-13 07:19:18'::timestamp) - extract(epoch from '2026-06-13 07:19: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'), 46703, 'SRID=4674;POINT (-40.036006 -2.816864)', '2026-06-13 07:19:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036097 -2.816975)'), GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.816864)'))) / (select extract(epoch from '2026-06-13 07:19:27'::timestamp) - extract(epoch from '2026-06-13 07:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036097 -2.816975)'), GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.816864)'))) / (select extract(epoch from '2026-06-13 07:19:27'::timestamp) - extract(epoch from '2026-06-13 07:19: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'), 46703, 'SRID=4674;POINT (-40.035942 -2.816738)', '2026-06-13 07:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.816864)'), GeomFromEWKT('SRID=4674;POINT (-40.035942 -2.816738)'))) / (select extract(epoch from '2026-06-13 07:19:36'::timestamp) - extract(epoch from '2026-06-13 07:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.816864)'), GeomFromEWKT('SRID=4674;POINT (-40.035942 -2.816738)'))) / (select extract(epoch from '2026-06-13 07:19:36'::timestamp) - extract(epoch from '2026-06-13 07:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.035867 -2.816589)', '2026-06-13 07:19:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035942 -2.816738)'), GeomFromEWKT('SRID=4674;POINT (-40.035867 -2.816589)'))) / (select extract(epoch from '2026-06-13 07:19:46'::timestamp) - extract(epoch from '2026-06-13 07:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035942 -2.816738)'), GeomFromEWKT('SRID=4674;POINT (-40.035867 -2.816589)'))) / (select extract(epoch from '2026-06-13 07:19:46'::timestamp) - extract(epoch from '2026-06-13 07:19: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'), 46703, 'SRID=4674;POINT (-40.035794 -2.816473)', '2026-06-13 07:19:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035867 -2.816589)'), GeomFromEWKT('SRID=4674;POINT (-40.035794 -2.816473)'))) / (select extract(epoch from '2026-06-13 07:19:55'::timestamp) - extract(epoch from '2026-06-13 07:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035867 -2.816589)'), GeomFromEWKT('SRID=4674;POINT (-40.035794 -2.816473)'))) / (select extract(epoch from '2026-06-13 07:19:55'::timestamp) - extract(epoch from '2026-06-13 07:19: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'), 46703, 'SRID=4674;POINT (-40.035714 -2.816351)', '2026-06-13 07:20:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035794 -2.816473)'), GeomFromEWKT('SRID=4674;POINT (-40.035714 -2.816351)'))) / (select extract(epoch from '2026-06-13 07:20:05'::timestamp) - extract(epoch from '2026-06-13 07:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035794 -2.816473)'), GeomFromEWKT('SRID=4674;POINT (-40.035714 -2.816351)'))) / (select extract(epoch from '2026-06-13 07:20:05'::timestamp) - extract(epoch from '2026-06-13 07:19: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'), 46703, 'SRID=4674;POINT (-40.035617 -2.816243)', '2026-06-13 07:20:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035714 -2.816351)'), GeomFromEWKT('SRID=4674;POINT (-40.035617 -2.816243)'))) / (select extract(epoch from '2026-06-13 07:20:15'::timestamp) - extract(epoch from '2026-06-13 07:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035714 -2.816351)'), GeomFromEWKT('SRID=4674;POINT (-40.035617 -2.816243)'))) / (select extract(epoch from '2026-06-13 07:20:15'::timestamp) - extract(epoch from '2026-06-13 07:20: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'), 46703, 'SRID=4674;POINT (-40.035572 -2.816205)', '2026-06-13 07:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035617 -2.816243)'), GeomFromEWKT('SRID=4674;POINT (-40.035572 -2.816205)'))) / (select extract(epoch from '2026-06-13 07:20:19'::timestamp) - extract(epoch from '2026-06-13 07:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035617 -2.816243)'), GeomFromEWKT('SRID=4674;POINT (-40.035572 -2.816205)'))) / (select extract(epoch from '2026-06-13 07:20:19'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.035534 -2.816186)', '2026-06-13 07:20:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035572 -2.816205)'), GeomFromEWKT('SRID=4674;POINT (-40.035534 -2.816186)'))) / (select extract(epoch from '2026-06-13 07:20:22'::timestamp) - extract(epoch from '2026-06-13 07:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035572 -2.816205)'), GeomFromEWKT('SRID=4674;POINT (-40.035534 -2.816186)'))) / (select extract(epoch from '2026-06-13 07:20:22'::timestamp) - extract(epoch from '2026-06-13 07:20: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'), 46703, 'SRID=4674;POINT (-40.035422 -2.816106)', '2026-06-13 07:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035534 -2.816186)'), GeomFromEWKT('SRID=4674;POINT (-40.035422 -2.816106)'))) / (select extract(epoch from '2026-06-13 07:20:31'::timestamp) - extract(epoch from '2026-06-13 07:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035534 -2.816186)'), GeomFromEWKT('SRID=4674;POINT (-40.035422 -2.816106)'))) / (select extract(epoch from '2026-06-13 07:20:31'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.035274 -2.815982)', '2026-06-13 07:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035422 -2.816106)'), GeomFromEWKT('SRID=4674;POINT (-40.035274 -2.815982)'))) / (select extract(epoch from '2026-06-13 07:20:42'::timestamp) - extract(epoch from '2026-06-13 07:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035422 -2.816106)'), GeomFromEWKT('SRID=4674;POINT (-40.035274 -2.815982)'))) / (select extract(epoch from '2026-06-13 07:20:42'::timestamp) - extract(epoch from '2026-06-13 07:20: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'), 46703, 'SRID=4674;POINT (-40.035148 -2.815872)', '2026-06-13 07:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035274 -2.815982)'), GeomFromEWKT('SRID=4674;POINT (-40.035148 -2.815872)'))) / (select extract(epoch from '2026-06-13 07:20:52'::timestamp) - extract(epoch from '2026-06-13 07:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035274 -2.815982)'), GeomFromEWKT('SRID=4674;POINT (-40.035148 -2.815872)'))) / (select extract(epoch from '2026-06-13 07:20:52'::timestamp) - extract(epoch from '2026-06-13 07:20: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'), 46703, 'SRID=4674;POINT (-40.035046 -2.815793)', '2026-06-13 07:21:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035148 -2.815872)'), GeomFromEWKT('SRID=4674;POINT (-40.035046 -2.815793)'))) / (select extract(epoch from '2026-06-13 07:21:00'::timestamp) - extract(epoch from '2026-06-13 07:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035148 -2.815872)'), GeomFromEWKT('SRID=4674;POINT (-40.035046 -2.815793)'))) / (select extract(epoch from '2026-06-13 07:21:00'::timestamp) - extract(epoch from '2026-06-13 07:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.034959 -2.815732)', '2026-06-13 07:21:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035046 -2.815793)'), GeomFromEWKT('SRID=4674;POINT (-40.034959 -2.815732)'))) / (select extract(epoch from '2026-06-13 07:21:08'::timestamp) - extract(epoch from '2026-06-13 07:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035046 -2.815793)'), GeomFromEWKT('SRID=4674;POINT (-40.034959 -2.815732)'))) / (select extract(epoch from '2026-06-13 07:21:08'::timestamp) - extract(epoch from '2026-06-13 07:21: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'), 46703, 'SRID=4674;POINT (-40.034836 -2.815644)', '2026-06-13 07:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034959 -2.815732)'), GeomFromEWKT('SRID=4674;POINT (-40.034836 -2.815644)'))) / (select extract(epoch from '2026-06-13 07:21:18'::timestamp) - extract(epoch from '2026-06-13 07:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034959 -2.815732)'), GeomFromEWKT('SRID=4674;POINT (-40.034836 -2.815644)'))) / (select extract(epoch from '2026-06-13 07:21:18'::timestamp) - extract(epoch from '2026-06-13 07:21: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'), 46703, 'SRID=4674;POINT (-40.034705 -2.815551)', '2026-06-13 07:21:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034836 -2.815644)'), GeomFromEWKT('SRID=4674;POINT (-40.034705 -2.815551)'))) / (select extract(epoch from '2026-06-13 07:21:28'::timestamp) - extract(epoch from '2026-06-13 07:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034836 -2.815644)'), GeomFromEWKT('SRID=4674;POINT (-40.034705 -2.815551)'))) / (select extract(epoch from '2026-06-13 07:21:28'::timestamp) - extract(epoch from '2026-06-13 07:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.034615 -2.815478)', '2026-06-13 07:21:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034705 -2.815551)'), GeomFromEWKT('SRID=4674;POINT (-40.034615 -2.815478)'))) / (select extract(epoch from '2026-06-13 07:21:36'::timestamp) - extract(epoch from '2026-06-13 07:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034705 -2.815551)'), GeomFromEWKT('SRID=4674;POINT (-40.034615 -2.815478)'))) / (select extract(epoch from '2026-06-13 07:21:36'::timestamp) - extract(epoch from '2026-06-13 07:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.034544 -2.8154)', '2026-06-13 07:21:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034615 -2.815478)'), GeomFromEWKT('SRID=4674;POINT (-40.034544 -2.8154)'))) / (select extract(epoch from '2026-06-13 07:21:43'::timestamp) - extract(epoch from '2026-06-13 07:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034615 -2.815478)'), GeomFromEWKT('SRID=4674;POINT (-40.034544 -2.8154)'))) / (select extract(epoch from '2026-06-13 07:21:43'::timestamp) - extract(epoch from '2026-06-13 07:21: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'), 46703, 'SRID=4674;POINT (-40.034468 -2.815289)', '2026-06-13 07:21:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034544 -2.8154)'), GeomFromEWKT('SRID=4674;POINT (-40.034468 -2.815289)'))) / (select extract(epoch from '2026-06-13 07:21:53'::timestamp) - extract(epoch from '2026-06-13 07:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034544 -2.8154)'), GeomFromEWKT('SRID=4674;POINT (-40.034468 -2.815289)'))) / (select extract(epoch from '2026-06-13 07:21:53'::timestamp) - extract(epoch from '2026-06-13 07:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.034424 -2.815208)', '2026-06-13 07:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034468 -2.815289)'), GeomFromEWKT('SRID=4674;POINT (-40.034424 -2.815208)'))) / (select extract(epoch from '2026-06-13 07:22:01'::timestamp) - extract(epoch from '2026-06-13 07:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034468 -2.815289)'), GeomFromEWKT('SRID=4674;POINT (-40.034424 -2.815208)'))) / (select extract(epoch from '2026-06-13 07:22:01'::timestamp) - extract(epoch from '2026-06-13 07:21: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'), 46703, 'SRID=4674;POINT (-40.034363 -2.81503)', '2026-06-13 07:22:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034424 -2.815208)'), GeomFromEWKT('SRID=4674;POINT (-40.034363 -2.81503)'))) / (select extract(epoch from '2026-06-13 07:22:13'::timestamp) - extract(epoch from '2026-06-13 07:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034424 -2.815208)'), GeomFromEWKT('SRID=4674;POINT (-40.034363 -2.81503)'))) / (select extract(epoch from '2026-06-13 07:22:13'::timestamp) - extract(epoch from '2026-06-13 07:22: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'), 46703, 'SRID=4674;POINT (-40.034314 -2.814905)', '2026-06-13 07:22:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034363 -2.81503)'), GeomFromEWKT('SRID=4674;POINT (-40.034314 -2.814905)'))) / (select extract(epoch from '2026-06-13 07:22:21'::timestamp) - extract(epoch from '2026-06-13 07:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034363 -2.81503)'), GeomFromEWKT('SRID=4674;POINT (-40.034314 -2.814905)'))) / (select extract(epoch from '2026-06-13 07:22:21'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.034242 -2.814781)', '2026-06-13 07:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034314 -2.814905)'), GeomFromEWKT('SRID=4674;POINT (-40.034242 -2.814781)'))) / (select extract(epoch from '2026-06-13 07:22:30'::timestamp) - extract(epoch from '2026-06-13 07:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034314 -2.814905)'), GeomFromEWKT('SRID=4674;POINT (-40.034242 -2.814781)'))) / (select extract(epoch from '2026-06-13 07:22:30'::timestamp) - extract(epoch from '2026-06-13 07:22: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'), 46703, 'SRID=4674;POINT (-40.034167 -2.814631)', '2026-06-13 07:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034242 -2.814781)'), GeomFromEWKT('SRID=4674;POINT (-40.034167 -2.814631)'))) / (select extract(epoch from '2026-06-13 07:22:40'::timestamp) - extract(epoch from '2026-06-13 07:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034242 -2.814781)'), GeomFromEWKT('SRID=4674;POINT (-40.034167 -2.814631)'))) / (select extract(epoch from '2026-06-13 07:22:40'::timestamp) - extract(epoch from '2026-06-13 07:22: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'), 46703, 'SRID=4674;POINT (-40.034094 -2.8145)', '2026-06-13 07:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034167 -2.814631)'), GeomFromEWKT('SRID=4674;POINT (-40.034094 -2.8145)'))) / (select extract(epoch from '2026-06-13 07:22:50'::timestamp) - extract(epoch from '2026-06-13 07:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034167 -2.814631)'), GeomFromEWKT('SRID=4674;POINT (-40.034094 -2.8145)'))) / (select extract(epoch from '2026-06-13 07:22:50'::timestamp) - extract(epoch from '2026-06-13 07:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.034055 -2.814424)', '2026-06-13 07:22:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034094 -2.8145)'), GeomFromEWKT('SRID=4674;POINT (-40.034055 -2.814424)'))) / (select extract(epoch from '2026-06-13 07:22:56'::timestamp) - extract(epoch from '2026-06-13 07:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034094 -2.8145)'), GeomFromEWKT('SRID=4674;POINT (-40.034055 -2.814424)'))) / (select extract(epoch from '2026-06-13 07:22:56'::timestamp) - extract(epoch from '2026-06-13 07:22: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'), 46703, 'SRID=4674;POINT (-40.03404 -2.814295)', '2026-06-13 07:23:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034055 -2.814424)'), GeomFromEWKT('SRID=4674;POINT (-40.03404 -2.814295)'))) / (select extract(epoch from '2026-06-13 07:23:05'::timestamp) - extract(epoch from '2026-06-13 07:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034055 -2.814424)'), GeomFromEWKT('SRID=4674;POINT (-40.03404 -2.814295)'))) / (select extract(epoch from '2026-06-13 07:23:05'::timestamp) - extract(epoch from '2026-06-13 07:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.034033 -2.814142)', '2026-06-13 07:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03404 -2.814295)'), GeomFromEWKT('SRID=4674;POINT (-40.034033 -2.814142)'))) / (select extract(epoch from '2026-06-13 07:23:14'::timestamp) - extract(epoch from '2026-06-13 07:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03404 -2.814295)'), GeomFromEWKT('SRID=4674;POINT (-40.034033 -2.814142)'))) / (select extract(epoch from '2026-06-13 07:23:14'::timestamp) - extract(epoch from '2026-06-13 07:23: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'), 46703, 'SRID=4674;POINT (-40.03401 -2.813984)', '2026-06-13 07:23:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034033 -2.814142)'), GeomFromEWKT('SRID=4674;POINT (-40.03401 -2.813984)'))) / (select extract(epoch from '2026-06-13 07:23:24'::timestamp) - extract(epoch from '2026-06-13 07:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034033 -2.814142)'), GeomFromEWKT('SRID=4674;POINT (-40.03401 -2.813984)'))) / (select extract(epoch from '2026-06-13 07:23:24'::timestamp) - extract(epoch from '2026-06-13 07:23: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'), 46703, 'SRID=4674;POINT (-40.033995 -2.813831)', '2026-06-13 07:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03401 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.033995 -2.813831)'))) / (select extract(epoch from '2026-06-13 07:23:33'::timestamp) - extract(epoch from '2026-06-13 07:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03401 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.033995 -2.813831)'))) / (select extract(epoch from '2026-06-13 07:23:33'::timestamp) - extract(epoch from '2026-06-13 07:23:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.033991 -2.813693)', '2026-06-13 07:23:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033995 -2.813831)'), GeomFromEWKT('SRID=4674;POINT (-40.033991 -2.813693)'))) / (select extract(epoch from '2026-06-13 07:23:41'::timestamp) - extract(epoch from '2026-06-13 07:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033995 -2.813831)'), GeomFromEWKT('SRID=4674;POINT (-40.033991 -2.813693)'))) / (select extract(epoch from '2026-06-13 07:23:41'::timestamp) - extract(epoch from '2026-06-13 07:23: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'), 46703, 'SRID=4674;POINT (-40.033949 -2.813541)', '2026-06-13 07:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033991 -2.813693)'), GeomFromEWKT('SRID=4674;POINT (-40.033949 -2.813541)'))) / (select extract(epoch from '2026-06-13 07:23:50'::timestamp) - extract(epoch from '2026-06-13 07:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033991 -2.813693)'), GeomFromEWKT('SRID=4674;POINT (-40.033949 -2.813541)'))) / (select extract(epoch from '2026-06-13 07:23:50'::timestamp) - extract(epoch from '2026-06-13 07:23: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'), 46703, 'SRID=4674;POINT (-40.033863 -2.813428)', '2026-06-13 07:23:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033949 -2.813541)'), GeomFromEWKT('SRID=4674;POINT (-40.033863 -2.813428)'))) / (select extract(epoch from '2026-06-13 07:23:59'::timestamp) - extract(epoch from '2026-06-13 07:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033949 -2.813541)'), GeomFromEWKT('SRID=4674;POINT (-40.033863 -2.813428)'))) / (select extract(epoch from '2026-06-13 07:23:59'::timestamp) - extract(epoch from '2026-06-13 07:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.033754 -2.813315)', '2026-06-13 07:24:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033863 -2.813428)'), GeomFromEWKT('SRID=4674;POINT (-40.033754 -2.813315)'))) / (select extract(epoch from '2026-06-13 07:24:09'::timestamp) - extract(epoch from '2026-06-13 07:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033863 -2.813428)'), GeomFromEWKT('SRID=4674;POINT (-40.033754 -2.813315)'))) / (select extract(epoch from '2026-06-13 07:24:09'::timestamp) - extract(epoch from '2026-06-13 07:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.033654 -2.813188)', '2026-06-13 07:24:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033754 -2.813315)'), GeomFromEWKT('SRID=4674;POINT (-40.033654 -2.813188)'))) / (select extract(epoch from '2026-06-13 07:24:19'::timestamp) - extract(epoch from '2026-06-13 07:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033754 -2.813315)'), GeomFromEWKT('SRID=4674;POINT (-40.033654 -2.813188)'))) / (select extract(epoch from '2026-06-13 07:24:19'::timestamp) - extract(epoch from '2026-06-13 07:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.033549 -2.813087)', '2026-06-13 07:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033654 -2.813188)'), GeomFromEWKT('SRID=4674;POINT (-40.033549 -2.813087)'))) / (select extract(epoch from '2026-06-13 07:24:29'::timestamp) - extract(epoch from '2026-06-13 07:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033654 -2.813188)'), GeomFromEWKT('SRID=4674;POINT (-40.033549 -2.813087)'))) / (select extract(epoch from '2026-06-13 07:24:29'::timestamp) - extract(epoch from '2026-06-13 07:24: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'), 46703, 'SRID=4674;POINT (-40.033459 -2.812996)', '2026-06-13 07:24:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033549 -2.813087)'), GeomFromEWKT('SRID=4674;POINT (-40.033459 -2.812996)'))) / (select extract(epoch from '2026-06-13 07:24:38'::timestamp) - extract(epoch from '2026-06-13 07:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033549 -2.813087)'), GeomFromEWKT('SRID=4674;POINT (-40.033459 -2.812996)'))) / (select extract(epoch from '2026-06-13 07:24:38'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.033349 -2.812874)', '2026-06-13 07:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033459 -2.812996)'), GeomFromEWKT('SRID=4674;POINT (-40.033349 -2.812874)'))) / (select extract(epoch from '2026-06-13 07:24:49'::timestamp) - extract(epoch from '2026-06-13 07:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033459 -2.812996)'), GeomFromEWKT('SRID=4674;POINT (-40.033349 -2.812874)'))) / (select extract(epoch from '2026-06-13 07:24:49'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.033254 -2.81278)', '2026-06-13 07:24:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033349 -2.812874)'), GeomFromEWKT('SRID=4674;POINT (-40.033254 -2.81278)'))) / (select extract(epoch from '2026-06-13 07:24:58'::timestamp) - extract(epoch from '2026-06-13 07:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033349 -2.812874)'), GeomFromEWKT('SRID=4674;POINT (-40.033254 -2.81278)'))) / (select extract(epoch from '2026-06-13 07:24:58'::timestamp) - extract(epoch from '2026-06-13 07:24:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.033154 -2.812697)', '2026-06-13 07:25:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033254 -2.81278)'), GeomFromEWKT('SRID=4674;POINT (-40.033154 -2.812697)'))) / (select extract(epoch from '2026-06-13 07:25:07'::timestamp) - extract(epoch from '2026-06-13 07:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033254 -2.81278)'), GeomFromEWKT('SRID=4674;POINT (-40.033154 -2.812697)'))) / (select extract(epoch from '2026-06-13 07:25:07'::timestamp) - extract(epoch from '2026-06-13 07:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.033043 -2.812606)', '2026-06-13 07:25:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033154 -2.812697)'), GeomFromEWKT('SRID=4674;POINT (-40.033043 -2.812606)'))) / (select extract(epoch from '2026-06-13 07:25:17'::timestamp) - extract(epoch from '2026-06-13 07:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033154 -2.812697)'), GeomFromEWKT('SRID=4674;POINT (-40.033043 -2.812606)'))) / (select extract(epoch from '2026-06-13 07:25:17'::timestamp) - extract(epoch from '2026-06-13 07:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.032965 -2.812539)', '2026-06-13 07:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033043 -2.812606)'), GeomFromEWKT('SRID=4674;POINT (-40.032965 -2.812539)'))) / (select extract(epoch from '2026-06-13 07:25:25'::timestamp) - extract(epoch from '2026-06-13 07:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033043 -2.812606)'), GeomFromEWKT('SRID=4674;POINT (-40.032965 -2.812539)'))) / (select extract(epoch from '2026-06-13 07:25:25'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.032869 -2.812443)', '2026-06-13 07:25:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032965 -2.812539)'), GeomFromEWKT('SRID=4674;POINT (-40.032869 -2.812443)'))) / (select extract(epoch from '2026-06-13 07:25:36'::timestamp) - extract(epoch from '2026-06-13 07:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032965 -2.812539)'), GeomFromEWKT('SRID=4674;POINT (-40.032869 -2.812443)'))) / (select extract(epoch from '2026-06-13 07:25:36'::timestamp) - extract(epoch from '2026-06-13 07:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.032772 -2.812356)', '2026-06-13 07:25:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032869 -2.812443)'), GeomFromEWKT('SRID=4674;POINT (-40.032772 -2.812356)'))) / (select extract(epoch from '2026-06-13 07:25:45'::timestamp) - extract(epoch from '2026-06-13 07:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032869 -2.812443)'), GeomFromEWKT('SRID=4674;POINT (-40.032772 -2.812356)'))) / (select extract(epoch from '2026-06-13 07:25:45'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.03264 -2.812251)', '2026-06-13 07:25:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032772 -2.812356)'), GeomFromEWKT('SRID=4674;POINT (-40.03264 -2.812251)'))) / (select extract(epoch from '2026-06-13 07:25:56'::timestamp) - extract(epoch from '2026-06-13 07:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032772 -2.812356)'), GeomFromEWKT('SRID=4674;POINT (-40.03264 -2.812251)'))) / (select extract(epoch from '2026-06-13 07:25:56'::timestamp) - extract(epoch from '2026-06-13 07:25: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'), 46703, 'SRID=4674;POINT (-40.032543 -2.812167)', '2026-06-13 07:26:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03264 -2.812251)'), GeomFromEWKT('SRID=4674;POINT (-40.032543 -2.812167)'))) / (select extract(epoch from '2026-06-13 07:26:05'::timestamp) - extract(epoch from '2026-06-13 07:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03264 -2.812251)'), GeomFromEWKT('SRID=4674;POINT (-40.032543 -2.812167)'))) / (select extract(epoch from '2026-06-13 07:26:05'::timestamp) - extract(epoch from '2026-06-13 07:25: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'), 46703, 'SRID=4674;POINT (-40.03243 -2.812057)', '2026-06-13 07:26:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032543 -2.812167)'), GeomFromEWKT('SRID=4674;POINT (-40.03243 -2.812057)'))) / (select extract(epoch from '2026-06-13 07:26:16'::timestamp) - extract(epoch from '2026-06-13 07:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032543 -2.812167)'), GeomFromEWKT('SRID=4674;POINT (-40.03243 -2.812057)'))) / (select extract(epoch from '2026-06-13 07:26:16'::timestamp) - extract(epoch from '2026-06-13 07:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.032349 -2.811985)', '2026-06-13 07:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03243 -2.812057)'), GeomFromEWKT('SRID=4674;POINT (-40.032349 -2.811985)'))) / (select extract(epoch from '2026-06-13 07:26:24'::timestamp) - extract(epoch from '2026-06-13 07:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03243 -2.812057)'), GeomFromEWKT('SRID=4674;POINT (-40.032349 -2.811985)'))) / (select extract(epoch from '2026-06-13 07:26:24'::timestamp) - extract(epoch from '2026-06-13 07:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.032254 -2.811897)', '2026-06-13 07:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032349 -2.811985)'), GeomFromEWKT('SRID=4674;POINT (-40.032254 -2.811897)'))) / (select extract(epoch from '2026-06-13 07:26:33'::timestamp) - extract(epoch from '2026-06-13 07:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032349 -2.811985)'), GeomFromEWKT('SRID=4674;POINT (-40.032254 -2.811897)'))) / (select extract(epoch from '2026-06-13 07:26:33'::timestamp) - extract(epoch from '2026-06-13 07:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.032175 -2.811821)', '2026-06-13 07:26:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032254 -2.811897)'), GeomFromEWKT('SRID=4674;POINT (-40.032175 -2.811821)'))) / (select extract(epoch from '2026-06-13 07:26:41'::timestamp) - extract(epoch from '2026-06-13 07:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032254 -2.811897)'), GeomFromEWKT('SRID=4674;POINT (-40.032175 -2.811821)'))) / (select extract(epoch from '2026-06-13 07:26:41'::timestamp) - extract(epoch from '2026-06-13 07:26: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'), 46703, 'SRID=4674;POINT (-40.032083 -2.811719)', '2026-06-13 07:26:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032175 -2.811821)'), GeomFromEWKT('SRID=4674;POINT (-40.032083 -2.811719)'))) / (select extract(epoch from '2026-06-13 07:26:50'::timestamp) - extract(epoch from '2026-06-13 07:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032175 -2.811821)'), GeomFromEWKT('SRID=4674;POINT (-40.032083 -2.811719)'))) / (select extract(epoch from '2026-06-13 07:26:50'::timestamp) - extract(epoch from '2026-06-13 07:26: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'), 46703, 'SRID=4674;POINT (-40.031956 -2.81158)', '2026-06-13 07:27:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032083 -2.811719)'), GeomFromEWKT('SRID=4674;POINT (-40.031956 -2.81158)'))) / (select extract(epoch from '2026-06-13 07:27:02'::timestamp) - extract(epoch from '2026-06-13 07:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032083 -2.811719)'), GeomFromEWKT('SRID=4674;POINT (-40.031956 -2.81158)'))) / (select extract(epoch from '2026-06-13 07:27:02'::timestamp) - extract(epoch from '2026-06-13 07:26: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'), 46703, 'SRID=4674;POINT (-40.031845 -2.811454)', '2026-06-13 07:27:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031956 -2.81158)'), GeomFromEWKT('SRID=4674;POINT (-40.031845 -2.811454)'))) / (select extract(epoch from '2026-06-13 07:27:13'::timestamp) - extract(epoch from '2026-06-13 07:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031956 -2.81158)'), GeomFromEWKT('SRID=4674;POINT (-40.031845 -2.811454)'))) / (select extract(epoch from '2026-06-13 07:27:13'::timestamp) - extract(epoch from '2026-06-13 07:27:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.031772 -2.811387)', '2026-06-13 07:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031845 -2.811454)'), GeomFromEWKT('SRID=4674;POINT (-40.031772 -2.811387)'))) / (select extract(epoch from '2026-06-13 07:27:21'::timestamp) - extract(epoch from '2026-06-13 07:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031845 -2.811454)'), GeomFromEWKT('SRID=4674;POINT (-40.031772 -2.811387)'))) / (select extract(epoch from '2026-06-13 07:27:21'::timestamp) - extract(epoch from '2026-06-13 07:27: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'), 46703, 'SRID=4674;POINT (-40.031684 -2.811295)', '2026-06-13 07:27:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031772 -2.811387)'), GeomFromEWKT('SRID=4674;POINT (-40.031684 -2.811295)'))) / (select extract(epoch from '2026-06-13 07:27:30'::timestamp) - extract(epoch from '2026-06-13 07:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031772 -2.811387)'), GeomFromEWKT('SRID=4674;POINT (-40.031684 -2.811295)'))) / (select extract(epoch from '2026-06-13 07:27:30'::timestamp) - extract(epoch from '2026-06-13 07:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.031612 -2.811219)', '2026-06-13 07:27:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031684 -2.811295)'), GeomFromEWKT('SRID=4674;POINT (-40.031612 -2.811219)'))) / (select extract(epoch from '2026-06-13 07:27:38'::timestamp) - extract(epoch from '2026-06-13 07:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031684 -2.811295)'), GeomFromEWKT('SRID=4674;POINT (-40.031612 -2.811219)'))) / (select extract(epoch from '2026-06-13 07:27:38'::timestamp) - extract(epoch from '2026-06-13 07:27: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'), 46703, 'SRID=4674;POINT (-40.03151 -2.811128)', '2026-06-13 07:27:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031612 -2.811219)'), GeomFromEWKT('SRID=4674;POINT (-40.03151 -2.811128)'))) / (select extract(epoch from '2026-06-13 07:27:48'::timestamp) - extract(epoch from '2026-06-13 07:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031612 -2.811219)'), GeomFromEWKT('SRID=4674;POINT (-40.03151 -2.811128)'))) / (select extract(epoch from '2026-06-13 07:27:48'::timestamp) - extract(epoch from '2026-06-13 07:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.031443 -2.811073)', '2026-06-13 07:27:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03151 -2.811128)'), GeomFromEWKT('SRID=4674;POINT (-40.031443 -2.811073)'))) / (select extract(epoch from '2026-06-13 07:27:55'::timestamp) - extract(epoch from '2026-06-13 07:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03151 -2.811128)'), GeomFromEWKT('SRID=4674;POINT (-40.031443 -2.811073)'))) / (select extract(epoch from '2026-06-13 07:27:55'::timestamp) - extract(epoch from '2026-06-13 07:27: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'), 46703, 'SRID=4674;POINT (-40.031367 -2.811009)', '2026-06-13 07:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031443 -2.811073)'), GeomFromEWKT('SRID=4674;POINT (-40.031367 -2.811009)'))) / (select extract(epoch from '2026-06-13 07:28:03'::timestamp) - extract(epoch from '2026-06-13 07:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031443 -2.811073)'), GeomFromEWKT('SRID=4674;POINT (-40.031367 -2.811009)'))) / (select extract(epoch from '2026-06-13 07:28:03'::timestamp) - extract(epoch from '2026-06-13 07:27: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'), 46703, 'SRID=4674;POINT (-40.031306 -2.810967)', '2026-06-13 07:28:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031367 -2.811009)'), GeomFromEWKT('SRID=4674;POINT (-40.031306 -2.810967)'))) / (select extract(epoch from '2026-06-13 07:28:09'::timestamp) - extract(epoch from '2026-06-13 07:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031367 -2.811009)'), GeomFromEWKT('SRID=4674;POINT (-40.031306 -2.810967)'))) / (select extract(epoch from '2026-06-13 07:28:09'::timestamp) - extract(epoch from '2026-06-13 07:28: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'), 46703, 'SRID=4674;POINT (-40.031219 -2.810906)', '2026-06-13 07:28:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031306 -2.810967)'), GeomFromEWKT('SRID=4674;POINT (-40.031219 -2.810906)'))) / (select extract(epoch from '2026-06-13 07:28:17'::timestamp) - extract(epoch from '2026-06-13 07:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031306 -2.810967)'), GeomFromEWKT('SRID=4674;POINT (-40.031219 -2.810906)'))) / (select extract(epoch from '2026-06-13 07:28:17'::timestamp) - extract(epoch from '2026-06-13 07:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.031126 -2.810815)', '2026-06-13 07:28:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031219 -2.810906)'), GeomFromEWKT('SRID=4674;POINT (-40.031126 -2.810815)'))) / (select extract(epoch from '2026-06-13 07:28:27'::timestamp) - extract(epoch from '2026-06-13 07:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031219 -2.810906)'), GeomFromEWKT('SRID=4674;POINT (-40.031126 -2.810815)'))) / (select extract(epoch from '2026-06-13 07:28:27'::timestamp) - extract(epoch from '2026-06-13 07:28:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.03104 -2.810728)', '2026-06-13 07:28:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031126 -2.810815)'), GeomFromEWKT('SRID=4674;POINT (-40.03104 -2.810728)'))) / (select extract(epoch from '2026-06-13 07:28:36'::timestamp) - extract(epoch from '2026-06-13 07:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031126 -2.810815)'), GeomFromEWKT('SRID=4674;POINT (-40.03104 -2.810728)'))) / (select extract(epoch from '2026-06-13 07:28:36'::timestamp) - extract(epoch from '2026-06-13 07:28: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'), 46703, 'SRID=4674;POINT (-40.030976 -2.810658)', '2026-06-13 07:28:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03104 -2.810728)'), GeomFromEWKT('SRID=4674;POINT (-40.030976 -2.810658)'))) / (select extract(epoch from '2026-06-13 07:28:44'::timestamp) - extract(epoch from '2026-06-13 07:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03104 -2.810728)'), GeomFromEWKT('SRID=4674;POINT (-40.030976 -2.810658)'))) / (select extract(epoch from '2026-06-13 07:28:44'::timestamp) - extract(epoch from '2026-06-13 07:28: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'), 46703, 'SRID=4674;POINT (-40.030893 -2.81058)', '2026-06-13 07:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030976 -2.810658)'), GeomFromEWKT('SRID=4674;POINT (-40.030893 -2.81058)'))) / (select extract(epoch from '2026-06-13 07:28:53'::timestamp) - extract(epoch from '2026-06-13 07:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030976 -2.810658)'), GeomFromEWKT('SRID=4674;POINT (-40.030893 -2.81058)'))) / (select extract(epoch from '2026-06-13 07:28:53'::timestamp) - extract(epoch from '2026-06-13 07:28:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.030799 -2.810501)', '2026-06-13 07:29:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030893 -2.81058)'), GeomFromEWKT('SRID=4674;POINT (-40.030799 -2.810501)'))) / (select extract(epoch from '2026-06-13 07:29:02'::timestamp) - extract(epoch from '2026-06-13 07:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030893 -2.81058)'), GeomFromEWKT('SRID=4674;POINT (-40.030799 -2.810501)'))) / (select extract(epoch from '2026-06-13 07:29:02'::timestamp) - extract(epoch from '2026-06-13 07:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.030717 -2.810423)', '2026-06-13 07:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030799 -2.810501)'), GeomFromEWKT('SRID=4674;POINT (-40.030717 -2.810423)'))) / (select extract(epoch from '2026-06-13 07:29:10'::timestamp) - extract(epoch from '2026-06-13 07:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030799 -2.810501)'), GeomFromEWKT('SRID=4674;POINT (-40.030717 -2.810423)'))) / (select extract(epoch from '2026-06-13 07:29:10'::timestamp) - extract(epoch from '2026-06-13 07:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.030636 -2.81034)', '2026-06-13 07:29:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030717 -2.810423)'), GeomFromEWKT('SRID=4674;POINT (-40.030636 -2.81034)'))) / (select extract(epoch from '2026-06-13 07:29:18'::timestamp) - extract(epoch from '2026-06-13 07:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030717 -2.810423)'), GeomFromEWKT('SRID=4674;POINT (-40.030636 -2.81034)'))) / (select extract(epoch from '2026-06-13 07:29:18'::timestamp) - extract(epoch from '2026-06-13 07:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.030572 -2.810277)', '2026-06-13 07:29:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030636 -2.81034)'), GeomFromEWKT('SRID=4674;POINT (-40.030572 -2.810277)'))) / (select extract(epoch from '2026-06-13 07:29:25'::timestamp) - extract(epoch from '2026-06-13 07:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030636 -2.81034)'), GeomFromEWKT('SRID=4674;POINT (-40.030572 -2.810277)'))) / (select extract(epoch from '2026-06-13 07:29:25'::timestamp) - extract(epoch from '2026-06-13 07:29: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'), 46703, 'SRID=4674;POINT (-40.03048 -2.810177)', '2026-06-13 07:29:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030572 -2.810277)'), GeomFromEWKT('SRID=4674;POINT (-40.03048 -2.810177)'))) / (select extract(epoch from '2026-06-13 07:29:35'::timestamp) - extract(epoch from '2026-06-13 07:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030572 -2.810277)'), GeomFromEWKT('SRID=4674;POINT (-40.03048 -2.810177)'))) / (select extract(epoch from '2026-06-13 07:29:35'::timestamp) - extract(epoch from '2026-06-13 07:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.03039 -2.810108)', '2026-06-13 07:29:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03048 -2.810177)'), GeomFromEWKT('SRID=4674;POINT (-40.03039 -2.810108)'))) / (select extract(epoch from '2026-06-13 07:29:43'::timestamp) - extract(epoch from '2026-06-13 07:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03048 -2.810177)'), GeomFromEWKT('SRID=4674;POINT (-40.03039 -2.810108)'))) / (select extract(epoch from '2026-06-13 07:29:43'::timestamp) - extract(epoch from '2026-06-13 07:29:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.030296 -2.810035)', '2026-06-13 07:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03039 -2.810108)'), GeomFromEWKT('SRID=4674;POINT (-40.030296 -2.810035)'))) / (select extract(epoch from '2026-06-13 07:29:51'::timestamp) - extract(epoch from '2026-06-13 07:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03039 -2.810108)'), GeomFromEWKT('SRID=4674;POINT (-40.030296 -2.810035)'))) / (select extract(epoch from '2026-06-13 07:29:51'::timestamp) - extract(epoch from '2026-06-13 07:29:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.030192 -2.809954)', '2026-06-13 07:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030296 -2.810035)'), GeomFromEWKT('SRID=4674;POINT (-40.030192 -2.809954)'))) / (select extract(epoch from '2026-06-13 07:30:00'::timestamp) - extract(epoch from '2026-06-13 07:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030296 -2.810035)'), GeomFromEWKT('SRID=4674;POINT (-40.030192 -2.809954)'))) / (select extract(epoch from '2026-06-13 07:30:00'::timestamp) - extract(epoch from '2026-06-13 07:29: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'), 46703, 'SRID=4674;POINT (-40.030134 -2.809911)', '2026-06-13 07:30:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030192 -2.809954)'), GeomFromEWKT('SRID=4674;POINT (-40.030134 -2.809911)'))) / (select extract(epoch from '2026-06-13 07:30:06'::timestamp) - extract(epoch from '2026-06-13 07:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030192 -2.809954)'), GeomFromEWKT('SRID=4674;POINT (-40.030134 -2.809911)'))) / (select extract(epoch from '2026-06-13 07:30:06'::timestamp) - extract(epoch from '2026-06-13 07:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.030071 -2.809838)', '2026-06-13 07:30:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030134 -2.809911)'), GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.809838)'))) / (select extract(epoch from '2026-06-13 07:30:14'::timestamp) - extract(epoch from '2026-06-13 07:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030134 -2.809911)'), GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.809838)'))) / (select extract(epoch from '2026-06-13 07:30:14'::timestamp) - extract(epoch from '2026-06-13 07:30: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'), 46703, 'SRID=4674;POINT (-40.029928 -2.80972)', '2026-06-13 07:30:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.809838)'), GeomFromEWKT('SRID=4674;POINT (-40.029928 -2.80972)'))) / (select extract(epoch from '2026-06-13 07:30:27'::timestamp) - extract(epoch from '2026-06-13 07:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.809838)'), GeomFromEWKT('SRID=4674;POINT (-40.029928 -2.80972)'))) / (select extract(epoch from '2026-06-13 07:30:27'::timestamp) - extract(epoch from '2026-06-13 07:30: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'), 46703, 'SRID=4674;POINT (-40.029815 -2.809628)', '2026-06-13 07:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029928 -2.80972)'), GeomFromEWKT('SRID=4674;POINT (-40.029815 -2.809628)'))) / (select extract(epoch from '2026-06-13 07:30:37'::timestamp) - extract(epoch from '2026-06-13 07:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029928 -2.80972)'), GeomFromEWKT('SRID=4674;POINT (-40.029815 -2.809628)'))) / (select extract(epoch from '2026-06-13 07:30:37'::timestamp) - extract(epoch from '2026-06-13 07:30: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'), 46703, 'SRID=4674;POINT (-40.02974 -2.809556)', '2026-06-13 07:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029815 -2.809628)'), GeomFromEWKT('SRID=4674;POINT (-40.02974 -2.809556)'))) / (select extract(epoch from '2026-06-13 07:30:45'::timestamp) - extract(epoch from '2026-06-13 07:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029815 -2.809628)'), GeomFromEWKT('SRID=4674;POINT (-40.02974 -2.809556)'))) / (select extract(epoch from '2026-06-13 07:30:45'::timestamp) - extract(epoch from '2026-06-13 07:30: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'), 46703, 'SRID=4674;POINT (-40.029647 -2.80946)', '2026-06-13 07:30:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02974 -2.809556)'), GeomFromEWKT('SRID=4674;POINT (-40.029647 -2.80946)'))) / (select extract(epoch from '2026-06-13 07:30:55'::timestamp) - extract(epoch from '2026-06-13 07:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02974 -2.809556)'), GeomFromEWKT('SRID=4674;POINT (-40.029647 -2.80946)'))) / (select extract(epoch from '2026-06-13 07:30:55'::timestamp) - extract(epoch from '2026-06-13 07:30: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'), 46703, 'SRID=4674;POINT (-40.029541 -2.809355)', '2026-06-13 07:31:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029647 -2.80946)'), GeomFromEWKT('SRID=4674;POINT (-40.029541 -2.809355)'))) / (select extract(epoch from '2026-06-13 07:31:05'::timestamp) - extract(epoch from '2026-06-13 07:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029647 -2.80946)'), GeomFromEWKT('SRID=4674;POINT (-40.029541 -2.809355)'))) / (select extract(epoch from '2026-06-13 07:31:05'::timestamp) - extract(epoch from '2026-06-13 07:30: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'), 46703, 'SRID=4674;POINT (-40.029444 -2.809255)', '2026-06-13 07:31:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029541 -2.809355)'), GeomFromEWKT('SRID=4674;POINT (-40.029444 -2.809255)'))) / (select extract(epoch from '2026-06-13 07:31:14'::timestamp) - extract(epoch from '2026-06-13 07:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029541 -2.809355)'), GeomFromEWKT('SRID=4674;POINT (-40.029444 -2.809255)'))) / (select extract(epoch from '2026-06-13 07:31:14'::timestamp) - extract(epoch from '2026-06-13 07:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.029366 -2.809176)', '2026-06-13 07:31:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029444 -2.809255)'), GeomFromEWKT('SRID=4674;POINT (-40.029366 -2.809176)'))) / (select extract(epoch from '2026-06-13 07:31:22'::timestamp) - extract(epoch from '2026-06-13 07:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029444 -2.809255)'), GeomFromEWKT('SRID=4674;POINT (-40.029366 -2.809176)'))) / (select extract(epoch from '2026-06-13 07:31:22'::timestamp) - extract(epoch from '2026-06-13 07:31: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'), 46703, 'SRID=4674;POINT (-40.029322 -2.809123)', '2026-06-13 07:31:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029366 -2.809176)'), GeomFromEWKT('SRID=4674;POINT (-40.029322 -2.809123)'))) / (select extract(epoch from '2026-06-13 07:31:29'::timestamp) - extract(epoch from '2026-06-13 07:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029366 -2.809176)'), GeomFromEWKT('SRID=4674;POINT (-40.029322 -2.809123)'))) / (select extract(epoch from '2026-06-13 07:31:29'::timestamp) - extract(epoch from '2026-06-13 07:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.029261 -2.809038)', '2026-06-13 07:31:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029322 -2.809123)'), GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.809038)'))) / (select extract(epoch from '2026-06-13 07:31:40'::timestamp) - extract(epoch from '2026-06-13 07:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029322 -2.809123)'), GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.809038)'))) / (select extract(epoch from '2026-06-13 07:31:40'::timestamp) - extract(epoch from '2026-06-13 07:31: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'), 46703, 'SRID=4674;POINT (-40.029191 -2.80897)', '2026-06-13 07:31:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.809038)'), GeomFromEWKT('SRID=4674;POINT (-40.029191 -2.80897)'))) / (select extract(epoch from '2026-06-13 07:31:48'::timestamp) - extract(epoch from '2026-06-13 07:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.809038)'), GeomFromEWKT('SRID=4674;POINT (-40.029191 -2.80897)'))) / (select extract(epoch from '2026-06-13 07:31:48'::timestamp) - extract(epoch from '2026-06-13 07:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.029122 -2.808905)', '2026-06-13 07:31:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029191 -2.80897)'), GeomFromEWKT('SRID=4674;POINT (-40.029122 -2.808905)'))) / (select extract(epoch from '2026-06-13 07:31:56'::timestamp) - extract(epoch from '2026-06-13 07:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029191 -2.80897)'), GeomFromEWKT('SRID=4674;POINT (-40.029122 -2.808905)'))) / (select extract(epoch from '2026-06-13 07:31:56'::timestamp) - extract(epoch from '2026-06-13 07:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.029047 -2.808822)', '2026-06-13 07:32:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029122 -2.808905)'), GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.808822)'))) / (select extract(epoch from '2026-06-13 07:32:05'::timestamp) - extract(epoch from '2026-06-13 07:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029122 -2.808905)'), GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.808822)'))) / (select extract(epoch from '2026-06-13 07:32:05'::timestamp) - extract(epoch from '2026-06-13 07:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02898 -2.808751)', '2026-06-13 07:32:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.808822)'), GeomFromEWKT('SRID=4674;POINT (-40.02898 -2.808751)'))) / (select extract(epoch from '2026-06-13 07:32:13'::timestamp) - extract(epoch from '2026-06-13 07:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.808822)'), GeomFromEWKT('SRID=4674;POINT (-40.02898 -2.808751)'))) / (select extract(epoch from '2026-06-13 07:32:13'::timestamp) - extract(epoch from '2026-06-13 07:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.028899 -2.808659)', '2026-06-13 07:32:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02898 -2.808751)'), GeomFromEWKT('SRID=4674;POINT (-40.028899 -2.808659)'))) / (select extract(epoch from '2026-06-13 07:32:22'::timestamp) - extract(epoch from '2026-06-13 07:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02898 -2.808751)'), GeomFromEWKT('SRID=4674;POINT (-40.028899 -2.808659)'))) / (select extract(epoch from '2026-06-13 07:32:22'::timestamp) - extract(epoch from '2026-06-13 07:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.028806 -2.808549)', '2026-06-13 07:32:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028899 -2.808659)'), GeomFromEWKT('SRID=4674;POINT (-40.028806 -2.808549)'))) / (select extract(epoch from '2026-06-13 07:32:32'::timestamp) - extract(epoch from '2026-06-13 07:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028899 -2.808659)'), GeomFromEWKT('SRID=4674;POINT (-40.028806 -2.808549)'))) / (select extract(epoch from '2026-06-13 07:32:32'::timestamp) - extract(epoch from '2026-06-13 07:32: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'), 46703, 'SRID=4674;POINT (-40.028742 -2.808486)', '2026-06-13 07:32:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028806 -2.808549)'), GeomFromEWKT('SRID=4674;POINT (-40.028742 -2.808486)'))) / (select extract(epoch from '2026-06-13 07:32:39'::timestamp) - extract(epoch from '2026-06-13 07:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028806 -2.808549)'), GeomFromEWKT('SRID=4674;POINT (-40.028742 -2.808486)'))) / (select extract(epoch from '2026-06-13 07:32:39'::timestamp) - extract(epoch from '2026-06-13 07:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.028661 -2.80842)', '2026-06-13 07:32:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028742 -2.808486)'), GeomFromEWKT('SRID=4674;POINT (-40.028661 -2.80842)'))) / (select extract(epoch from '2026-06-13 07:32:47'::timestamp) - extract(epoch from '2026-06-13 07:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028742 -2.808486)'), GeomFromEWKT('SRID=4674;POINT (-40.028661 -2.80842)'))) / (select extract(epoch from '2026-06-13 07:32:47'::timestamp) - extract(epoch from '2026-06-13 07:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.028566 -2.808351)', '2026-06-13 07:32:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028661 -2.80842)'), GeomFromEWKT('SRID=4674;POINT (-40.028566 -2.808351)'))) / (select extract(epoch from '2026-06-13 07:32:56'::timestamp) - extract(epoch from '2026-06-13 07:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028661 -2.80842)'), GeomFromEWKT('SRID=4674;POINT (-40.028566 -2.808351)'))) / (select extract(epoch from '2026-06-13 07:32:56'::timestamp) - extract(epoch from '2026-06-13 07:32: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'), 46703, 'SRID=4674;POINT (-40.028473 -2.808282)', '2026-06-13 07:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028566 -2.808351)'), GeomFromEWKT('SRID=4674;POINT (-40.028473 -2.808282)'))) / (select extract(epoch from '2026-06-13 07:33:05'::timestamp) - extract(epoch from '2026-06-13 07:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028566 -2.808351)'), GeomFromEWKT('SRID=4674;POINT (-40.028473 -2.808282)'))) / (select extract(epoch from '2026-06-13 07:33:05'::timestamp) - extract(epoch from '2026-06-13 07:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.028392 -2.808202)', '2026-06-13 07:33:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028473 -2.808282)'), GeomFromEWKT('SRID=4674;POINT (-40.028392 -2.808202)'))) / (select extract(epoch from '2026-06-13 07:33:14'::timestamp) - extract(epoch from '2026-06-13 07:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028473 -2.808282)'), GeomFromEWKT('SRID=4674;POINT (-40.028392 -2.808202)'))) / (select extract(epoch from '2026-06-13 07:33:14'::timestamp) - extract(epoch from '2026-06-13 07:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.028274 -2.808108)', '2026-06-13 07:33:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028392 -2.808202)'), GeomFromEWKT('SRID=4674;POINT (-40.028274 -2.808108)'))) / (select extract(epoch from '2026-06-13 07:33:25'::timestamp) - extract(epoch from '2026-06-13 07:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028392 -2.808202)'), GeomFromEWKT('SRID=4674;POINT (-40.028274 -2.808108)'))) / (select extract(epoch from '2026-06-13 07:33:25'::timestamp) - extract(epoch from '2026-06-13 07:33: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'), 46703, 'SRID=4674;POINT (-40.028237 -2.808077)', '2026-06-13 07:33:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028274 -2.808108)'), GeomFromEWKT('SRID=4674;POINT (-40.028237 -2.808077)'))) / (select extract(epoch from '2026-06-13 07:33:29'::timestamp) - extract(epoch from '2026-06-13 07:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028274 -2.808108)'), GeomFromEWKT('SRID=4674;POINT (-40.028237 -2.808077)'))) / (select extract(epoch from '2026-06-13 07:33:29'::timestamp) - extract(epoch from '2026-06-13 07:33: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'), 46703, 'SRID=4674;POINT (-40.028167 -2.808011)', '2026-06-13 07:33:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028237 -2.808077)'), GeomFromEWKT('SRID=4674;POINT (-40.028167 -2.808011)'))) / (select extract(epoch from '2026-06-13 07:33:35'::timestamp) - extract(epoch from '2026-06-13 07:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028237 -2.808077)'), GeomFromEWKT('SRID=4674;POINT (-40.028167 -2.808011)'))) / (select extract(epoch from '2026-06-13 07:33:35'::timestamp) - extract(epoch from '2026-06-13 07:33: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'), 46703, 'SRID=4674;POINT (-40.028048 -2.807916)', '2026-06-13 07:33:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028167 -2.808011)'), GeomFromEWKT('SRID=4674;POINT (-40.028048 -2.807916)'))) / (select extract(epoch from '2026-06-13 07:33:45'::timestamp) - extract(epoch from '2026-06-13 07:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028167 -2.808011)'), GeomFromEWKT('SRID=4674;POINT (-40.028048 -2.807916)'))) / (select extract(epoch from '2026-06-13 07:33:45'::timestamp) - extract(epoch from '2026-06-13 07:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.027926 -2.80783)', '2026-06-13 07:33:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028048 -2.807916)'), GeomFromEWKT('SRID=4674;POINT (-40.027926 -2.80783)'))) / (select extract(epoch from '2026-06-13 07:33:55'::timestamp) - extract(epoch from '2026-06-13 07:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028048 -2.807916)'), GeomFromEWKT('SRID=4674;POINT (-40.027926 -2.80783)'))) / (select extract(epoch from '2026-06-13 07:33:55'::timestamp) - extract(epoch from '2026-06-13 07:33: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'), 46703, 'SRID=4674;POINT (-40.02784 -2.807756)', '2026-06-13 07:34:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027926 -2.80783)'), GeomFromEWKT('SRID=4674;POINT (-40.02784 -2.807756)'))) / (select extract(epoch from '2026-06-13 07:34:04'::timestamp) - extract(epoch from '2026-06-13 07:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027926 -2.80783)'), GeomFromEWKT('SRID=4674;POINT (-40.02784 -2.807756)'))) / (select extract(epoch from '2026-06-13 07:34:04'::timestamp) - extract(epoch from '2026-06-13 07:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.027749 -2.807658)', '2026-06-13 07:34:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02784 -2.807756)'), GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.807658)'))) / (select extract(epoch from '2026-06-13 07:34:14'::timestamp) - extract(epoch from '2026-06-13 07:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02784 -2.807756)'), GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.807658)'))) / (select extract(epoch from '2026-06-13 07:34:14'::timestamp) - extract(epoch from '2026-06-13 07:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.027655 -2.807544)', '2026-06-13 07:34:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.027655 -2.807544)'))) / (select extract(epoch from '2026-06-13 07:34:24'::timestamp) - extract(epoch from '2026-06-13 07:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.027655 -2.807544)'))) / (select extract(epoch from '2026-06-13 07:34:24'::timestamp) - extract(epoch from '2026-06-13 07:34: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'), 46703, 'SRID=4674;POINT (-40.027612 -2.80748)', '2026-06-13 07:34:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027655 -2.807544)'), GeomFromEWKT('SRID=4674;POINT (-40.027612 -2.80748)'))) / (select extract(epoch from '2026-06-13 07:34:30'::timestamp) - extract(epoch from '2026-06-13 07:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027655 -2.807544)'), GeomFromEWKT('SRID=4674;POINT (-40.027612 -2.80748)'))) / (select extract(epoch from '2026-06-13 07:34:30'::timestamp) - extract(epoch from '2026-06-13 07:34: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'), 46703, 'SRID=4674;POINT (-40.027566 -2.807418)', '2026-06-13 07:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027612 -2.80748)'), GeomFromEWKT('SRID=4674;POINT (-40.027566 -2.807418)'))) / (select extract(epoch from '2026-06-13 07:34:36'::timestamp) - extract(epoch from '2026-06-13 07:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027612 -2.80748)'), GeomFromEWKT('SRID=4674;POINT (-40.027566 -2.807418)'))) / (select extract(epoch from '2026-06-13 07:34:36'::timestamp) - extract(epoch from '2026-06-13 07:34:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.027487 -2.807315)', '2026-06-13 07:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027566 -2.807418)'), GeomFromEWKT('SRID=4674;POINT (-40.027487 -2.807315)'))) / (select extract(epoch from '2026-06-13 07:34:45'::timestamp) - extract(epoch from '2026-06-13 07:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027566 -2.807418)'), GeomFromEWKT('SRID=4674;POINT (-40.027487 -2.807315)'))) / (select extract(epoch from '2026-06-13 07:34:45'::timestamp) - extract(epoch from '2026-06-13 07:34: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'), 46703, 'SRID=4674;POINT (-40.027481 -2.807304)', '2026-06-13 07:34:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027487 -2.807315)'), GeomFromEWKT('SRID=4674;POINT (-40.027481 -2.807304)'))) / (select extract(epoch from '2026-06-13 07:34:46'::timestamp) - extract(epoch from '2026-06-13 07:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027487 -2.807315)'), GeomFromEWKT('SRID=4674;POINT (-40.027481 -2.807304)'))) / (select extract(epoch from '2026-06-13 07:34:46'::timestamp) - extract(epoch from '2026-06-13 07:34: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'), 46703, 'SRID=4674;POINT (-40.027463 -2.807281)', '2026-06-13 07:34:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027481 -2.807304)'), GeomFromEWKT('SRID=4674;POINT (-40.027463 -2.807281)'))) / (select extract(epoch from '2026-06-13 07:34:49'::timestamp) - extract(epoch from '2026-06-13 07:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027481 -2.807304)'), GeomFromEWKT('SRID=4674;POINT (-40.027463 -2.807281)'))) / (select extract(epoch from '2026-06-13 07:34:49'::timestamp) - extract(epoch from '2026-06-13 07:34: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'), 46703, 'SRID=4674;POINT (-40.02744 -2.807257)', '2026-06-13 07:34:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027463 -2.807281)'), GeomFromEWKT('SRID=4674;POINT (-40.02744 -2.807257)'))) / (select extract(epoch from '2026-06-13 07:34:52'::timestamp) - extract(epoch from '2026-06-13 07:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027463 -2.807281)'), GeomFromEWKT('SRID=4674;POINT (-40.02744 -2.807257)'))) / (select extract(epoch from '2026-06-13 07:34:52'::timestamp) - extract(epoch from '2026-06-13 07:34: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'), 46703, 'SRID=4674;POINT (-40.027421 -2.807226)', '2026-06-13 07:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02744 -2.807257)'), GeomFromEWKT('SRID=4674;POINT (-40.027421 -2.807226)'))) / (select extract(epoch from '2026-06-13 07:34:55'::timestamp) - extract(epoch from '2026-06-13 07:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02744 -2.807257)'), GeomFromEWKT('SRID=4674;POINT (-40.027421 -2.807226)'))) / (select extract(epoch from '2026-06-13 07:34:55'::timestamp) - extract(epoch from '2026-06-13 07:34: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'), 46703, 'SRID=4674;POINT (-40.027347 -2.807145)', '2026-06-13 07:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027421 -2.807226)'), GeomFromEWKT('SRID=4674;POINT (-40.027347 -2.807145)'))) / (select extract(epoch from '2026-06-13 07:35:03'::timestamp) - extract(epoch from '2026-06-13 07:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027421 -2.807226)'), GeomFromEWKT('SRID=4674;POINT (-40.027347 -2.807145)'))) / (select extract(epoch from '2026-06-13 07:35:03'::timestamp) - extract(epoch from '2026-06-13 07:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.027246 -2.807049)', '2026-06-13 07:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027347 -2.807145)'), GeomFromEWKT('SRID=4674;POINT (-40.027246 -2.807049)'))) / (select extract(epoch from '2026-06-13 07:35:13'::timestamp) - extract(epoch from '2026-06-13 07:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027347 -2.807145)'), GeomFromEWKT('SRID=4674;POINT (-40.027246 -2.807049)'))) / (select extract(epoch from '2026-06-13 07:35:13'::timestamp) - extract(epoch from '2026-06-13 07:35: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'), 46703, 'SRID=4674;POINT (-40.027135 -2.806938)', '2026-06-13 07:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027246 -2.807049)'), GeomFromEWKT('SRID=4674;POINT (-40.027135 -2.806938)'))) / (select extract(epoch from '2026-06-13 07:35:24'::timestamp) - extract(epoch from '2026-06-13 07:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027246 -2.807049)'), GeomFromEWKT('SRID=4674;POINT (-40.027135 -2.806938)'))) / (select extract(epoch from '2026-06-13 07:35:24'::timestamp) - extract(epoch from '2026-06-13 07:35: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'), 46703, 'SRID=4674;POINT (-40.027049 -2.806855)', '2026-06-13 07:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027135 -2.806938)'), GeomFromEWKT('SRID=4674;POINT (-40.027049 -2.806855)'))) / (select extract(epoch from '2026-06-13 07:35:33'::timestamp) - extract(epoch from '2026-06-13 07:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027135 -2.806938)'), GeomFromEWKT('SRID=4674;POINT (-40.027049 -2.806855)'))) / (select extract(epoch from '2026-06-13 07:35:33'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.026951 -2.806762)', '2026-06-13 07:35:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027049 -2.806855)'), GeomFromEWKT('SRID=4674;POINT (-40.026951 -2.806762)'))) / (select extract(epoch from '2026-06-13 07:35:42'::timestamp) - extract(epoch from '2026-06-13 07:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027049 -2.806855)'), GeomFromEWKT('SRID=4674;POINT (-40.026951 -2.806762)'))) / (select extract(epoch from '2026-06-13 07:35:42'::timestamp) - extract(epoch from '2026-06-13 07:35: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'), 46703, 'SRID=4674;POINT (-40.026852 -2.806711)', '2026-06-13 07:35:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026951 -2.806762)'), GeomFromEWKT('SRID=4674;POINT (-40.026852 -2.806711)'))) / (select extract(epoch from '2026-06-13 07:35:50'::timestamp) - extract(epoch from '2026-06-13 07:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026951 -2.806762)'), GeomFromEWKT('SRID=4674;POINT (-40.026852 -2.806711)'))) / (select extract(epoch from '2026-06-13 07:35:50'::timestamp) - extract(epoch from '2026-06-13 07:35: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'), 46703, 'SRID=4674;POINT (-40.02678 -2.806652)', '2026-06-13 07:35:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026852 -2.806711)'), GeomFromEWKT('SRID=4674;POINT (-40.02678 -2.806652)'))) / (select extract(epoch from '2026-06-13 07:35:57'::timestamp) - extract(epoch from '2026-06-13 07:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026852 -2.806711)'), GeomFromEWKT('SRID=4674;POINT (-40.02678 -2.806652)'))) / (select extract(epoch from '2026-06-13 07:35:57'::timestamp) - extract(epoch from '2026-06-13 07:35: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'), 46703, 'SRID=4674;POINT (-40.026724 -2.806587)', '2026-06-13 07:36:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02678 -2.806652)'), GeomFromEWKT('SRID=4674;POINT (-40.026724 -2.806587)'))) / (select extract(epoch from '2026-06-13 07:36:03'::timestamp) - extract(epoch from '2026-06-13 07:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02678 -2.806652)'), GeomFromEWKT('SRID=4674;POINT (-40.026724 -2.806587)'))) / (select extract(epoch from '2026-06-13 07:36:03'::timestamp) - extract(epoch from '2026-06-13 07:35: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'), 46703, 'SRID=4674;POINT (-40.026678 -2.806503)', '2026-06-13 07:36:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026724 -2.806587)'), GeomFromEWKT('SRID=4674;POINT (-40.026678 -2.806503)'))) / (select extract(epoch from '2026-06-13 07:36:09'::timestamp) - extract(epoch from '2026-06-13 07:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026724 -2.806587)'), GeomFromEWKT('SRID=4674;POINT (-40.026678 -2.806503)'))) / (select extract(epoch from '2026-06-13 07:36:09'::timestamp) - extract(epoch from '2026-06-13 07:36: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'), 46703, 'SRID=4674;POINT (-40.026614 -2.806381)', '2026-06-13 07:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026678 -2.806503)'), GeomFromEWKT('SRID=4674;POINT (-40.026614 -2.806381)'))) / (select extract(epoch from '2026-06-13 07:36:18'::timestamp) - extract(epoch from '2026-06-13 07:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026678 -2.806503)'), GeomFromEWKT('SRID=4674;POINT (-40.026614 -2.806381)'))) / (select extract(epoch from '2026-06-13 07:36:18'::timestamp) - extract(epoch from '2026-06-13 07:36: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'), 46703, 'SRID=4674;POINT (-40.026546 -2.806276)', '2026-06-13 07:36:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026614 -2.806381)'), GeomFromEWKT('SRID=4674;POINT (-40.026546 -2.806276)'))) / (select extract(epoch from '2026-06-13 07:36:26'::timestamp) - extract(epoch from '2026-06-13 07:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026614 -2.806381)'), GeomFromEWKT('SRID=4674;POINT (-40.026546 -2.806276)'))) / (select extract(epoch from '2026-06-13 07:36:26'::timestamp) - extract(epoch from '2026-06-13 07:36: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'), 46703, 'SRID=4674;POINT (-40.026475 -2.806171)', '2026-06-13 07:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026546 -2.806276)'), GeomFromEWKT('SRID=4674;POINT (-40.026475 -2.806171)'))) / (select extract(epoch from '2026-06-13 07:36:34'::timestamp) - extract(epoch from '2026-06-13 07:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026546 -2.806276)'), GeomFromEWKT('SRID=4674;POINT (-40.026475 -2.806171)'))) / (select extract(epoch from '2026-06-13 07:36:34'::timestamp) - extract(epoch from '2026-06-13 07:36: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'), 46703, 'SRID=4674;POINT (-40.026385 -2.806044)', '2026-06-13 07:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026475 -2.806171)'), GeomFromEWKT('SRID=4674;POINT (-40.026385 -2.806044)'))) / (select extract(epoch from '2026-06-13 07:36:44'::timestamp) - extract(epoch from '2026-06-13 07:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026475 -2.806171)'), GeomFromEWKT('SRID=4674;POINT (-40.026385 -2.806044)'))) / (select extract(epoch from '2026-06-13 07:36:44'::timestamp) - extract(epoch from '2026-06-13 07:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.026331 -2.805962)', '2026-06-13 07:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026385 -2.806044)'), GeomFromEWKT('SRID=4674;POINT (-40.026331 -2.805962)'))) / (select extract(epoch from '2026-06-13 07:36:51'::timestamp) - extract(epoch from '2026-06-13 07:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026385 -2.806044)'), GeomFromEWKT('SRID=4674;POINT (-40.026331 -2.805962)'))) / (select extract(epoch from '2026-06-13 07:36:51'::timestamp) - extract(epoch from '2026-06-13 07:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.026275 -2.805874)', '2026-06-13 07:36:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026331 -2.805962)'), GeomFromEWKT('SRID=4674;POINT (-40.026275 -2.805874)'))) / (select extract(epoch from '2026-06-13 07:36:59'::timestamp) - extract(epoch from '2026-06-13 07:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026331 -2.805962)'), GeomFromEWKT('SRID=4674;POINT (-40.026275 -2.805874)'))) / (select extract(epoch from '2026-06-13 07:36:59'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.026216 -2.805736)', '2026-06-13 07:37:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026275 -2.805874)'), GeomFromEWKT('SRID=4674;POINT (-40.026216 -2.805736)'))) / (select extract(epoch from '2026-06-13 07:37:09'::timestamp) - extract(epoch from '2026-06-13 07:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026275 -2.805874)'), GeomFromEWKT('SRID=4674;POINT (-40.026216 -2.805736)'))) / (select extract(epoch from '2026-06-13 07:37:09'::timestamp) - extract(epoch from '2026-06-13 07:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.026154 -2.805594)', '2026-06-13 07:37:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026216 -2.805736)'), GeomFromEWKT('SRID=4674;POINT (-40.026154 -2.805594)'))) / (select extract(epoch from '2026-06-13 07:37:19'::timestamp) - extract(epoch from '2026-06-13 07:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026216 -2.805736)'), GeomFromEWKT('SRID=4674;POINT (-40.026154 -2.805594)'))) / (select extract(epoch from '2026-06-13 07:37:19'::timestamp) - extract(epoch from '2026-06-13 07:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.026114 -2.805503)', '2026-06-13 07:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026154 -2.805594)'), GeomFromEWKT('SRID=4674;POINT (-40.026114 -2.805503)'))) / (select extract(epoch from '2026-06-13 07:37:26'::timestamp) - extract(epoch from '2026-06-13 07:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026154 -2.805594)'), GeomFromEWKT('SRID=4674;POINT (-40.026114 -2.805503)'))) / (select extract(epoch from '2026-06-13 07:37:26'::timestamp) - extract(epoch from '2026-06-13 07:37: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'), 46703, 'SRID=4674;POINT (-40.026025 -2.805363)', '2026-06-13 07:37:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026114 -2.805503)'), GeomFromEWKT('SRID=4674;POINT (-40.026025 -2.805363)'))) / (select extract(epoch from '2026-06-13 07:37:37'::timestamp) - extract(epoch from '2026-06-13 07:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026114 -2.805503)'), GeomFromEWKT('SRID=4674;POINT (-40.026025 -2.805363)'))) / (select extract(epoch from '2026-06-13 07:37:37'::timestamp) - extract(epoch from '2026-06-13 07:37: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'), 46703, 'SRID=4674;POINT (-40.02598 -2.805312)', '2026-06-13 07:37:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026025 -2.805363)'), GeomFromEWKT('SRID=4674;POINT (-40.02598 -2.805312)'))) / (select extract(epoch from '2026-06-13 07:37:42'::timestamp) - extract(epoch from '2026-06-13 07:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026025 -2.805363)'), GeomFromEWKT('SRID=4674;POINT (-40.02598 -2.805312)'))) / (select extract(epoch from '2026-06-13 07:37:42'::timestamp) - extract(epoch from '2026-06-13 07:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025899 -2.805234)', '2026-06-13 07:37:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02598 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.025899 -2.805234)'))) / (select extract(epoch from '2026-06-13 07:37:50'::timestamp) - extract(epoch from '2026-06-13 07:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02598 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.025899 -2.805234)'))) / (select extract(epoch from '2026-06-13 07:37:50'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.025855 -2.805177)', '2026-06-13 07:37:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025899 -2.805234)'), GeomFromEWKT('SRID=4674;POINT (-40.025855 -2.805177)'))) / (select extract(epoch from '2026-06-13 07:37:55'::timestamp) - extract(epoch from '2026-06-13 07:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025899 -2.805234)'), GeomFromEWKT('SRID=4674;POINT (-40.025855 -2.805177)'))) / (select extract(epoch from '2026-06-13 07:37:55'::timestamp) - extract(epoch from '2026-06-13 07:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025845 -2.805155)', '2026-06-13 07:37:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025855 -2.805177)'), GeomFromEWKT('SRID=4674;POINT (-40.025845 -2.805155)'))) / (select extract(epoch from '2026-06-13 07:37:57'::timestamp) - extract(epoch from '2026-06-13 07:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025855 -2.805177)'), GeomFromEWKT('SRID=4674;POINT (-40.025845 -2.805155)'))) / (select extract(epoch from '2026-06-13 07:37:57'::timestamp) - extract(epoch from '2026-06-13 07:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025791 -2.805077)', '2026-06-13 07:38:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025845 -2.805155)'), GeomFromEWKT('SRID=4674;POINT (-40.025791 -2.805077)'))) / (select extract(epoch from '2026-06-13 07:38:05'::timestamp) - extract(epoch from '2026-06-13 07:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025845 -2.805155)'), GeomFromEWKT('SRID=4674;POINT (-40.025791 -2.805077)'))) / (select extract(epoch from '2026-06-13 07:38:05'::timestamp) - extract(epoch from '2026-06-13 07:37: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'), 46703, 'SRID=4674;POINT (-40.025716 -2.804997)', '2026-06-13 07:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025791 -2.805077)'), GeomFromEWKT('SRID=4674;POINT (-40.025716 -2.804997)'))) / (select extract(epoch from '2026-06-13 07:38:13'::timestamp) - extract(epoch from '2026-06-13 07:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025791 -2.805077)'), GeomFromEWKT('SRID=4674;POINT (-40.025716 -2.804997)'))) / (select extract(epoch from '2026-06-13 07:38:13'::timestamp) - extract(epoch from '2026-06-13 07:38: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'), 46703, 'SRID=4674;POINT (-40.02566 -2.804939)', '2026-06-13 07:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025716 -2.804997)'), GeomFromEWKT('SRID=4674;POINT (-40.02566 -2.804939)'))) / (select extract(epoch from '2026-06-13 07:38:19'::timestamp) - extract(epoch from '2026-06-13 07:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025716 -2.804997)'), GeomFromEWKT('SRID=4674;POINT (-40.02566 -2.804939)'))) / (select extract(epoch from '2026-06-13 07:38:19'::timestamp) - extract(epoch from '2026-06-13 07:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025577 -2.804872)', '2026-06-13 07:38:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02566 -2.804939)'), GeomFromEWKT('SRID=4674;POINT (-40.025577 -2.804872)'))) / (select extract(epoch from '2026-06-13 07:38:27'::timestamp) - extract(epoch from '2026-06-13 07:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02566 -2.804939)'), GeomFromEWKT('SRID=4674;POINT (-40.025577 -2.804872)'))) / (select extract(epoch from '2026-06-13 07:38:27'::timestamp) - extract(epoch from '2026-06-13 07:38: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'), 46703, 'SRID=4674;POINT (-40.025515 -2.804779)', '2026-06-13 07:38:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025577 -2.804872)'), GeomFromEWKT('SRID=4674;POINT (-40.025515 -2.804779)'))) / (select extract(epoch from '2026-06-13 07:38:35'::timestamp) - extract(epoch from '2026-06-13 07:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025577 -2.804872)'), GeomFromEWKT('SRID=4674;POINT (-40.025515 -2.804779)'))) / (select extract(epoch from '2026-06-13 07:38:35'::timestamp) - extract(epoch from '2026-06-13 07:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025476 -2.804722)', '2026-06-13 07:38:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025515 -2.804779)'), GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.804722)'))) / (select extract(epoch from '2026-06-13 07:38:42'::timestamp) - extract(epoch from '2026-06-13 07:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025515 -2.804779)'), GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.804722)'))) / (select extract(epoch from '2026-06-13 07:38:42'::timestamp) - extract(epoch from '2026-06-13 07:38: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'), 46703, 'SRID=4674;POINT (-40.025461 -2.80467)', '2026-06-13 07:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.804722)'), GeomFromEWKT('SRID=4674;POINT (-40.025461 -2.80467)'))) / (select extract(epoch from '2026-06-13 07:38:50'::timestamp) - extract(epoch from '2026-06-13 07:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.804722)'), GeomFromEWKT('SRID=4674;POINT (-40.025461 -2.80467)'))) / (select extract(epoch from '2026-06-13 07:38:50'::timestamp) - extract(epoch from '2026-06-13 07:38:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025476 -2.804616)', '2026-06-13 07:39:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025461 -2.80467)'), GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.804616)'))) / (select extract(epoch from '2026-06-13 07:39:01'::timestamp) - extract(epoch from '2026-06-13 07:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025461 -2.80467)'), GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.804616)'))) / (select extract(epoch from '2026-06-13 07:39:01'::timestamp) - extract(epoch from '2026-06-13 07:38:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025511 -2.804587)', '2026-06-13 07:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.804616)'), GeomFromEWKT('SRID=4674;POINT (-40.025511 -2.804587)'))) / (select extract(epoch from '2026-06-13 07:39:12'::timestamp) - extract(epoch from '2026-06-13 07:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.804616)'), GeomFromEWKT('SRID=4674;POINT (-40.025511 -2.804587)'))) / (select extract(epoch from '2026-06-13 07:39:12'::timestamp) - extract(epoch from '2026-06-13 07:39: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'), 46703, 'SRID=4674;POINT (-40.025565 -2.804559)', '2026-06-13 07:39:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025511 -2.804587)'), GeomFromEWKT('SRID=4674;POINT (-40.025565 -2.804559)'))) / (select extract(epoch from '2026-06-13 07:39:28'::timestamp) - extract(epoch from '2026-06-13 07:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025511 -2.804587)'), GeomFromEWKT('SRID=4674;POINT (-40.025565 -2.804559)'))) / (select extract(epoch from '2026-06-13 07:39:28'::timestamp) - extract(epoch from '2026-06-13 07:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025638 -2.804534)', '2026-06-13 07:39:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025565 -2.804559)'), GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.804534)'))) / (select extract(epoch from '2026-06-13 07:39:48'::timestamp) - extract(epoch from '2026-06-13 07:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025565 -2.804559)'), GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.804534)'))) / (select extract(epoch from '2026-06-13 07:39:48'::timestamp) - extract(epoch from '2026-06-13 07:39: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'), 46703, 'SRID=4674;POINT (-40.025733 -2.80448)', '2026-06-13 07:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.804534)'), GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.80448)'))) / (select extract(epoch from '2026-06-13 07:40:20'::timestamp) - extract(epoch from '2026-06-13 07:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.804534)'), GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.80448)'))) / (select extract(epoch from '2026-06-13 07:40:20'::timestamp) - extract(epoch from '2026-06-13 07:39:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025736 -2.804487)', '2026-06-13 07:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.80448)'), GeomFromEWKT('SRID=4674;POINT (-40.025736 -2.804487)'))) / (select extract(epoch from '2026-06-13 07:40:42'::timestamp) - extract(epoch from '2026-06-13 07:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.80448)'), GeomFromEWKT('SRID=4674;POINT (-40.025736 -2.804487)'))) / (select extract(epoch from '2026-06-13 07:40:42'::timestamp) - extract(epoch from '2026-06-13 07:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025726 -2.804473)', '2026-06-13 07:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025736 -2.804487)'), GeomFromEWKT('SRID=4674;POINT (-40.025726 -2.804473)'))) / (select extract(epoch from '2026-06-13 07:41:24'::timestamp) - extract(epoch from '2026-06-13 07:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025736 -2.804487)'), GeomFromEWKT('SRID=4674;POINT (-40.025726 -2.804473)'))) / (select extract(epoch from '2026-06-13 07:41:24'::timestamp) - extract(epoch from '2026-06-13 07:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025739 -2.804489)', '2026-06-13 07:41:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025726 -2.804473)'), GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.804489)'))) / (select extract(epoch from '2026-06-13 07:41:29'::timestamp) - extract(epoch from '2026-06-13 07:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025726 -2.804473)'), GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.804489)'))) / (select extract(epoch from '2026-06-13 07:41:29'::timestamp) - extract(epoch from '2026-06-13 07:41: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'), 46703, 'SRID=4674;POINT (-40.025744 -2.804492)', '2026-06-13 07:41:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.804489)'), GeomFromEWKT('SRID=4674;POINT (-40.025744 -2.804492)'))) / (select extract(epoch from '2026-06-13 07:41:30'::timestamp) - extract(epoch from '2026-06-13 07:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.804489)'), GeomFromEWKT('SRID=4674;POINT (-40.025744 -2.804492)'))) / (select extract(epoch from '2026-06-13 07:41:30'::timestamp) - extract(epoch from '2026-06-13 07:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025734 -2.804477)', '2026-06-13 07:41:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025744 -2.804492)'), GeomFromEWKT('SRID=4674;POINT (-40.025734 -2.804477)'))) / (select extract(epoch from '2026-06-13 07:41:48'::timestamp) - extract(epoch from '2026-06-13 07:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025744 -2.804492)'), GeomFromEWKT('SRID=4674;POINT (-40.025734 -2.804477)'))) / (select extract(epoch from '2026-06-13 07:41:48'::timestamp) - extract(epoch from '2026-06-13 07:41: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'), 46703, 'SRID=4674;POINT (-40.025735 -2.804478)', '2026-06-13 07:42:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025734 -2.804477)'), GeomFromEWKT('SRID=4674;POINT (-40.025735 -2.804478)'))) / (select extract(epoch from '2026-06-13 07:42:01'::timestamp) - extract(epoch from '2026-06-13 07:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025734 -2.804477)'), GeomFromEWKT('SRID=4674;POINT (-40.025735 -2.804478)'))) / (select extract(epoch from '2026-06-13 07:42:01'::timestamp) - extract(epoch from '2026-06-13 07:41: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'), 46703, 'SRID=4674;POINT (-40.025737 -2.804481)', '2026-06-13 07:42:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025735 -2.804478)'), GeomFromEWKT('SRID=4674;POINT (-40.025737 -2.804481)'))) / (select extract(epoch from '2026-06-13 07:42:14'::timestamp) - extract(epoch from '2026-06-13 07:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025735 -2.804478)'), GeomFromEWKT('SRID=4674;POINT (-40.025737 -2.804481)'))) / (select extract(epoch from '2026-06-13 07:42:14'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.025714 -2.80448)', '2026-06-13 07:42:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025737 -2.804481)'), GeomFromEWKT('SRID=4674;POINT (-40.025714 -2.80448)'))) / (select extract(epoch from '2026-06-13 07:42:23'::timestamp) - extract(epoch from '2026-06-13 07:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025737 -2.804481)'), GeomFromEWKT('SRID=4674;POINT (-40.025714 -2.80448)'))) / (select extract(epoch from '2026-06-13 07:42:23'::timestamp) - extract(epoch from '2026-06-13 07:42:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025688 -2.804483)', '2026-06-13 07:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025714 -2.80448)'), GeomFromEWKT('SRID=4674;POINT (-40.025688 -2.804483)'))) / (select extract(epoch from '2026-06-13 07:42:27'::timestamp) - extract(epoch from '2026-06-13 07:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025714 -2.80448)'), GeomFromEWKT('SRID=4674;POINT (-40.025688 -2.804483)'))) / (select extract(epoch from '2026-06-13 07:42:27'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.025666 -2.804487)', '2026-06-13 07:42:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025688 -2.804483)'), GeomFromEWKT('SRID=4674;POINT (-40.025666 -2.804487)'))) / (select extract(epoch from '2026-06-13 07:42:30'::timestamp) - extract(epoch from '2026-06-13 07:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025688 -2.804483)'), GeomFromEWKT('SRID=4674;POINT (-40.025666 -2.804487)'))) / (select extract(epoch from '2026-06-13 07:42:30'::timestamp) - extract(epoch from '2026-06-13 07:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025581 -2.804504)', '2026-06-13 07:42:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025666 -2.804487)'), GeomFromEWKT('SRID=4674;POINT (-40.025581 -2.804504)'))) / (select extract(epoch from '2026-06-13 07:42:39'::timestamp) - extract(epoch from '2026-06-13 07:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025666 -2.804487)'), GeomFromEWKT('SRID=4674;POINT (-40.025581 -2.804504)'))) / (select extract(epoch from '2026-06-13 07:42:39'::timestamp) - extract(epoch from '2026-06-13 07:42: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'), 46703, 'SRID=4674;POINT (-40.02554 -2.804519)', '2026-06-13 07:42:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025581 -2.804504)'), GeomFromEWKT('SRID=4674;POINT (-40.02554 -2.804519)'))) / (select extract(epoch from '2026-06-13 07:42:46'::timestamp) - extract(epoch from '2026-06-13 07:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025581 -2.804504)'), GeomFromEWKT('SRID=4674;POINT (-40.02554 -2.804519)'))) / (select extract(epoch from '2026-06-13 07:42:46'::timestamp) - extract(epoch from '2026-06-13 07:42: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'), 46703, 'SRID=4674;POINT (-40.025491 -2.804495)', '2026-06-13 07:42:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02554 -2.804519)'), GeomFromEWKT('SRID=4674;POINT (-40.025491 -2.804495)'))) / (select extract(epoch from '2026-06-13 07:42:57'::timestamp) - extract(epoch from '2026-06-13 07:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02554 -2.804519)'), GeomFromEWKT('SRID=4674;POINT (-40.025491 -2.804495)'))) / (select extract(epoch from '2026-06-13 07:42:57'::timestamp) - extract(epoch from '2026-06-13 07:42: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'), 46703, 'SRID=4674;POINT (-40.025473 -2.804425)', '2026-06-13 07:43:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025491 -2.804495)'), GeomFromEWKT('SRID=4674;POINT (-40.025473 -2.804425)'))) / (select extract(epoch from '2026-06-13 07:43:05'::timestamp) - extract(epoch from '2026-06-13 07:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025491 -2.804495)'), GeomFromEWKT('SRID=4674;POINT (-40.025473 -2.804425)'))) / (select extract(epoch from '2026-06-13 07:43:05'::timestamp) - extract(epoch from '2026-06-13 07:42: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'), 46703, 'SRID=4674;POINT (-40.025453 -2.804342)', '2026-06-13 07:43:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025473 -2.804425)'), GeomFromEWKT('SRID=4674;POINT (-40.025453 -2.804342)'))) / (select extract(epoch from '2026-06-13 07:43:11'::timestamp) - extract(epoch from '2026-06-13 07:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025473 -2.804425)'), GeomFromEWKT('SRID=4674;POINT (-40.025453 -2.804342)'))) / (select extract(epoch from '2026-06-13 07:43:11'::timestamp) - extract(epoch from '2026-06-13 07:43: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'), 46703, 'SRID=4674;POINT (-40.02543 -2.80423)', '2026-06-13 07:43:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025453 -2.804342)'), GeomFromEWKT('SRID=4674;POINT (-40.02543 -2.80423)'))) / (select extract(epoch from '2026-06-13 07:43:18'::timestamp) - extract(epoch from '2026-06-13 07:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025453 -2.804342)'), GeomFromEWKT('SRID=4674;POINT (-40.02543 -2.80423)'))) / (select extract(epoch from '2026-06-13 07:43:18'::timestamp) - extract(epoch from '2026-06-13 07:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025394 -2.804148)', '2026-06-13 07:43:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02543 -2.80423)'), GeomFromEWKT('SRID=4674;POINT (-40.025394 -2.804148)'))) / (select extract(epoch from '2026-06-13 07:43:24'::timestamp) - extract(epoch from '2026-06-13 07:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02543 -2.80423)'), GeomFromEWKT('SRID=4674;POINT (-40.025394 -2.804148)'))) / (select extract(epoch from '2026-06-13 07:43:24'::timestamp) - extract(epoch from '2026-06-13 07:43: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'), 46703, 'SRID=4674;POINT (-40.025374 -2.804049)', '2026-06-13 07:43:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025394 -2.804148)'), GeomFromEWKT('SRID=4674;POINT (-40.025374 -2.804049)'))) / (select extract(epoch from '2026-06-13 07:43:30'::timestamp) - extract(epoch from '2026-06-13 07:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025394 -2.804148)'), GeomFromEWKT('SRID=4674;POINT (-40.025374 -2.804049)'))) / (select extract(epoch from '2026-06-13 07:43:30'::timestamp) - extract(epoch from '2026-06-13 07:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025339 -2.803943)', '2026-06-13 07:43:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025374 -2.804049)'), GeomFromEWKT('SRID=4674;POINT (-40.025339 -2.803943)'))) / (select extract(epoch from '2026-06-13 07:43:37'::timestamp) - extract(epoch from '2026-06-13 07:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025374 -2.804049)'), GeomFromEWKT('SRID=4674;POINT (-40.025339 -2.803943)'))) / (select extract(epoch from '2026-06-13 07:43:37'::timestamp) - extract(epoch from '2026-06-13 07:43: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'), 46703, 'SRID=4674;POINT (-40.025308 -2.803832)', '2026-06-13 07:43:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025339 -2.803943)'), GeomFromEWKT('SRID=4674;POINT (-40.025308 -2.803832)'))) / (select extract(epoch from '2026-06-13 07:43:44'::timestamp) - extract(epoch from '2026-06-13 07:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025339 -2.803943)'), GeomFromEWKT('SRID=4674;POINT (-40.025308 -2.803832)'))) / (select extract(epoch from '2026-06-13 07:43:44'::timestamp) - extract(epoch from '2026-06-13 07:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025281 -2.803727)', '2026-06-13 07:43:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025308 -2.803832)'), GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.803727)'))) / (select extract(epoch from '2026-06-13 07:43:52'::timestamp) - extract(epoch from '2026-06-13 07:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025308 -2.803832)'), GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.803727)'))) / (select extract(epoch from '2026-06-13 07:43:52'::timestamp) - extract(epoch from '2026-06-13 07:43: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'), 46703, 'SRID=4674;POINT (-40.025262 -2.803657)', '2026-06-13 07:44:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.803727)'), GeomFromEWKT('SRID=4674;POINT (-40.025262 -2.803657)'))) / (select extract(epoch from '2026-06-13 07:44:00'::timestamp) - extract(epoch from '2026-06-13 07:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.803727)'), GeomFromEWKT('SRID=4674;POINT (-40.025262 -2.803657)'))) / (select extract(epoch from '2026-06-13 07:44:00'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.02528 -2.803615)', '2026-06-13 07:44:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025262 -2.803657)'), GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.803615)'))) / (select extract(epoch from '2026-06-13 07:44:10'::timestamp) - extract(epoch from '2026-06-13 07:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025262 -2.803657)'), GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.803615)'))) / (select extract(epoch from '2026-06-13 07:44:10'::timestamp) - extract(epoch from '2026-06-13 07:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02531 -2.80359)', '2026-06-13 07:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.803615)'), GeomFromEWKT('SRID=4674;POINT (-40.02531 -2.80359)'))) / (select extract(epoch from '2026-06-13 07:44:17'::timestamp) - extract(epoch from '2026-06-13 07:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.803615)'), GeomFromEWKT('SRID=4674;POINT (-40.02531 -2.80359)'))) / (select extract(epoch from '2026-06-13 07:44:17'::timestamp) - extract(epoch from '2026-06-13 07:44: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'), 46703, 'SRID=4674;POINT (-40.02532 -2.803586)', '2026-06-13 07:44:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02531 -2.80359)'), GeomFromEWKT('SRID=4674;POINT (-40.02532 -2.803586)'))) / (select extract(epoch from '2026-06-13 07:44:21'::timestamp) - extract(epoch from '2026-06-13 07:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02531 -2.80359)'), GeomFromEWKT('SRID=4674;POINT (-40.02532 -2.803586)'))) / (select extract(epoch from '2026-06-13 07:44:21'::timestamp) - extract(epoch from '2026-06-13 07:44: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'), 46703, 'SRID=4674;POINT (-40.025343 -2.803592)', '2026-06-13 07:44:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02532 -2.803586)'), GeomFromEWKT('SRID=4674;POINT (-40.025343 -2.803592)'))) / (select extract(epoch from '2026-06-13 07:44:31'::timestamp) - extract(epoch from '2026-06-13 07:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02532 -2.803586)'), GeomFromEWKT('SRID=4674;POINT (-40.025343 -2.803592)'))) / (select extract(epoch from '2026-06-13 07:44:31'::timestamp) - extract(epoch from '2026-06-13 07:44: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'), 46703, 'SRID=4674;POINT (-40.025372 -2.803613)', '2026-06-13 07:44:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025343 -2.803592)'), GeomFromEWKT('SRID=4674;POINT (-40.025372 -2.803613)'))) / (select extract(epoch from '2026-06-13 07:44:44'::timestamp) - extract(epoch from '2026-06-13 07:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025343 -2.803592)'), GeomFromEWKT('SRID=4674;POINT (-40.025372 -2.803613)'))) / (select extract(epoch from '2026-06-13 07:44:44'::timestamp) - extract(epoch from '2026-06-13 07:44: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'), 46703, 'SRID=4674;POINT (-40.025419 -2.803608)', '2026-06-13 07:45:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025372 -2.803613)'), GeomFromEWKT('SRID=4674;POINT (-40.025419 -2.803608)'))) / (select extract(epoch from '2026-06-13 07:45:06'::timestamp) - extract(epoch from '2026-06-13 07:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025372 -2.803613)'), GeomFromEWKT('SRID=4674;POINT (-40.025419 -2.803608)'))) / (select extract(epoch from '2026-06-13 07:45:06'::timestamp) - extract(epoch from '2026-06-13 07:44: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'), 46703, 'SRID=4674;POINT (-40.025425 -2.803621)', '2026-06-13 07:45:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025419 -2.803608)'), GeomFromEWKT('SRID=4674;POINT (-40.025425 -2.803621)'))) / (select extract(epoch from '2026-06-13 07:45:20'::timestamp) - extract(epoch from '2026-06-13 07:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025419 -2.803608)'), GeomFromEWKT('SRID=4674;POINT (-40.025425 -2.803621)'))) / (select extract(epoch from '2026-06-13 07:45:20'::timestamp) - extract(epoch from '2026-06-13 07:45: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'), 46703, 'SRID=4674;POINT (-40.025433 -2.803629)', '2026-06-13 07:45:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025425 -2.803621)'), GeomFromEWKT('SRID=4674;POINT (-40.025433 -2.803629)'))) / (select extract(epoch from '2026-06-13 07:45:37'::timestamp) - extract(epoch from '2026-06-13 07:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025425 -2.803621)'), GeomFromEWKT('SRID=4674;POINT (-40.025433 -2.803629)'))) / (select extract(epoch from '2026-06-13 07:45:37'::timestamp) - extract(epoch from '2026-06-13 07:45:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025437 -2.803644)', '2026-06-13 07:45:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025433 -2.803629)'), GeomFromEWKT('SRID=4674;POINT (-40.025437 -2.803644)'))) / (select extract(epoch from '2026-06-13 07:45:54'::timestamp) - extract(epoch from '2026-06-13 07:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025433 -2.803629)'), GeomFromEWKT('SRID=4674;POINT (-40.025437 -2.803644)'))) / (select extract(epoch from '2026-06-13 07:45:54'::timestamp) - extract(epoch from '2026-06-13 07:45: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'), 46703, 'SRID=4674;POINT (-40.025427 -2.80363)', '2026-06-13 07:46:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025437 -2.803644)'), GeomFromEWKT('SRID=4674;POINT (-40.025427 -2.80363)'))) / (select extract(epoch from '2026-06-13 07:46:00'::timestamp) - extract(epoch from '2026-06-13 07:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025437 -2.803644)'), GeomFromEWKT('SRID=4674;POINT (-40.025427 -2.80363)'))) / (select extract(epoch from '2026-06-13 07:46:00'::timestamp) - extract(epoch from '2026-06-13 07:45: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'), 46703, 'SRID=4674;POINT (-40.025433 -2.803647)', '2026-06-13 07:46:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025427 -2.80363)'), GeomFromEWKT('SRID=4674;POINT (-40.025433 -2.803647)'))) / (select extract(epoch from '2026-06-13 07:46:07'::timestamp) - extract(epoch from '2026-06-13 07:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025427 -2.80363)'), GeomFromEWKT('SRID=4674;POINT (-40.025433 -2.803647)'))) / (select extract(epoch from '2026-06-13 07:46:07'::timestamp) - extract(epoch from '2026-06-13 07:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02544 -2.803646)', '2026-06-13 07:46:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025433 -2.803647)'), GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.803646)'))) / (select extract(epoch from '2026-06-13 07:46:08'::timestamp) - extract(epoch from '2026-06-13 07:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025433 -2.803647)'), GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.803646)'))) / (select extract(epoch from '2026-06-13 07:46:08'::timestamp) - extract(epoch from '2026-06-13 07:46: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'), 46703, 'SRID=4674;POINT (-40.025442 -2.803643)', '2026-06-13 07:46:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.803646)'), GeomFromEWKT('SRID=4674;POINT (-40.025442 -2.803643)'))) / (select extract(epoch from '2026-06-13 07:46:12'::timestamp) - extract(epoch from '2026-06-13 07:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.803646)'), GeomFromEWKT('SRID=4674;POINT (-40.025442 -2.803643)'))) / (select extract(epoch from '2026-06-13 07:46:12'::timestamp) - extract(epoch from '2026-06-13 07:46: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'), 46703, 'SRID=4674;POINT (-40.02544 -2.803658)', '2026-06-13 07:46:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025442 -2.803643)'), GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.803658)'))) / (select extract(epoch from '2026-06-13 07:46:30'::timestamp) - extract(epoch from '2026-06-13 07:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025442 -2.803643)'), GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.803658)'))) / (select extract(epoch from '2026-06-13 07:46:30'::timestamp) - extract(epoch from '2026-06-13 07:46: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'), 46703, 'SRID=4674;POINT (-40.025428 -2.803667)', '2026-06-13 07:46:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.803658)'), GeomFromEWKT('SRID=4674;POINT (-40.025428 -2.803667)'))) / (select extract(epoch from '2026-06-13 07:46:37'::timestamp) - extract(epoch from '2026-06-13 07:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.803658)'), GeomFromEWKT('SRID=4674;POINT (-40.025428 -2.803667)'))) / (select extract(epoch from '2026-06-13 07:46:37'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.025346 -2.803641)', '2026-06-13 07:46:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025428 -2.803667)'), GeomFromEWKT('SRID=4674;POINT (-40.025346 -2.803641)'))) / (select extract(epoch from '2026-06-13 07:46:49'::timestamp) - extract(epoch from '2026-06-13 07:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025428 -2.803667)'), GeomFromEWKT('SRID=4674;POINT (-40.025346 -2.803641)'))) / (select extract(epoch from '2026-06-13 07:46:49'::timestamp) - extract(epoch from '2026-06-13 07:46: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'), 46703, 'SRID=4674;POINT (-40.025286 -2.803635)', '2026-06-13 07:46:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025346 -2.803641)'), GeomFromEWKT('SRID=4674;POINT (-40.025286 -2.803635)'))) / (select extract(epoch from '2026-06-13 07:46:58'::timestamp) - extract(epoch from '2026-06-13 07:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025346 -2.803641)'), GeomFromEWKT('SRID=4674;POINT (-40.025286 -2.803635)'))) / (select extract(epoch from '2026-06-13 07:46:58'::timestamp) - extract(epoch from '2026-06-13 07:46: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'), 46703, 'SRID=4674;POINT (-40.025271 -2.803685)', '2026-06-13 07:47:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025286 -2.803635)'), GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.803685)'))) / (select extract(epoch from '2026-06-13 07:47:07'::timestamp) - extract(epoch from '2026-06-13 07:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025286 -2.803635)'), GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.803685)'))) / (select extract(epoch from '2026-06-13 07:47:07'::timestamp) - extract(epoch from '2026-06-13 07:46: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'), 46703, 'SRID=4674;POINT (-40.025221 -2.803728)', '2026-06-13 07:47:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.803685)'), GeomFromEWKT('SRID=4674;POINT (-40.025221 -2.803728)'))) / (select extract(epoch from '2026-06-13 07:47:17'::timestamp) - extract(epoch from '2026-06-13 07:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.803685)'), GeomFromEWKT('SRID=4674;POINT (-40.025221 -2.803728)'))) / (select extract(epoch from '2026-06-13 07:47:17'::timestamp) - extract(epoch from '2026-06-13 07:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025176 -2.803671)', '2026-06-13 07:47:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025221 -2.803728)'), GeomFromEWKT('SRID=4674;POINT (-40.025176 -2.803671)'))) / (select extract(epoch from '2026-06-13 07:47:24'::timestamp) - extract(epoch from '2026-06-13 07:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025221 -2.803728)'), GeomFromEWKT('SRID=4674;POINT (-40.025176 -2.803671)'))) / (select extract(epoch from '2026-06-13 07:47:24'::timestamp) - extract(epoch from '2026-06-13 07:47: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'), 46703, 'SRID=4674;POINT (-40.025161 -2.803587)', '2026-06-13 07:47:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025176 -2.803671)'), GeomFromEWKT('SRID=4674;POINT (-40.025161 -2.803587)'))) / (select extract(epoch from '2026-06-13 07:47:30'::timestamp) - extract(epoch from '2026-06-13 07:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025176 -2.803671)'), GeomFromEWKT('SRID=4674;POINT (-40.025161 -2.803587)'))) / (select extract(epoch from '2026-06-13 07:47:30'::timestamp) - extract(epoch from '2026-06-13 07:47: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'), 46703, 'SRID=4674;POINT (-40.025154 -2.80345)', '2026-06-13 07:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025161 -2.803587)'), GeomFromEWKT('SRID=4674;POINT (-40.025154 -2.80345)'))) / (select extract(epoch from '2026-06-13 07:47:38'::timestamp) - extract(epoch from '2026-06-13 07:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025161 -2.803587)'), GeomFromEWKT('SRID=4674;POINT (-40.025154 -2.80345)'))) / (select extract(epoch from '2026-06-13 07:47:38'::timestamp) - extract(epoch from '2026-06-13 07:47: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'), 46703, 'SRID=4674;POINT (-40.025154 -2.803363)', '2026-06-13 07:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025154 -2.80345)'), GeomFromEWKT('SRID=4674;POINT (-40.025154 -2.803363)'))) / (select extract(epoch from '2026-06-13 07:47:43'::timestamp) - extract(epoch from '2026-06-13 07:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025154 -2.80345)'), GeomFromEWKT('SRID=4674;POINT (-40.025154 -2.803363)'))) / (select extract(epoch from '2026-06-13 07:47:43'::timestamp) - extract(epoch from '2026-06-13 07:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025145 -2.803249)', '2026-06-13 07:47:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025154 -2.803363)'), GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.803249)'))) / (select extract(epoch from '2026-06-13 07:47:49'::timestamp) - extract(epoch from '2026-06-13 07:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025154 -2.803363)'), GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.803249)'))) / (select extract(epoch from '2026-06-13 07:47:49'::timestamp) - extract(epoch from '2026-06-13 07:47: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'), 46703, 'SRID=4674;POINT (-40.025143 -2.803137)', '2026-06-13 07:47:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.803249)'), GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.803137)'))) / (select extract(epoch from '2026-06-13 07:47:55'::timestamp) - extract(epoch from '2026-06-13 07:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.803249)'), GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.803137)'))) / (select extract(epoch from '2026-06-13 07:47:55'::timestamp) - extract(epoch from '2026-06-13 07:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025146 -2.803045)', '2026-06-13 07:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.803137)'), GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.803045)'))) / (select extract(epoch from '2026-06-13 07:48:00'::timestamp) - extract(epoch from '2026-06-13 07:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.803137)'), GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.803045)'))) / (select extract(epoch from '2026-06-13 07:48:00'::timestamp) - extract(epoch from '2026-06-13 07:47: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'), 46703, 'SRID=4674;POINT (-40.025157 -2.802916)', '2026-06-13 07:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.803045)'), GeomFromEWKT('SRID=4674;POINT (-40.025157 -2.802916)'))) / (select extract(epoch from '2026-06-13 07:48:07'::timestamp) - extract(epoch from '2026-06-13 07:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.803045)'), GeomFromEWKT('SRID=4674;POINT (-40.025157 -2.802916)'))) / (select extract(epoch from '2026-06-13 07:48:07'::timestamp) - extract(epoch from '2026-06-13 07:48: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'), 46703, 'SRID=4674;POINT (-40.025159 -2.802787)', '2026-06-13 07:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025157 -2.802916)'), GeomFromEWKT('SRID=4674;POINT (-40.025159 -2.802787)'))) / (select extract(epoch from '2026-06-13 07:48:14'::timestamp) - extract(epoch from '2026-06-13 07:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025157 -2.802916)'), GeomFromEWKT('SRID=4674;POINT (-40.025159 -2.802787)'))) / (select extract(epoch from '2026-06-13 07:48:14'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.02517 -2.802676)', '2026-06-13 07:48:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025159 -2.802787)'), GeomFromEWKT('SRID=4674;POINT (-40.02517 -2.802676)'))) / (select extract(epoch from '2026-06-13 07:48:22'::timestamp) - extract(epoch from '2026-06-13 07:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025159 -2.802787)'), GeomFromEWKT('SRID=4674;POINT (-40.02517 -2.802676)'))) / (select extract(epoch from '2026-06-13 07:48:22'::timestamp) - extract(epoch from '2026-06-13 07:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025185 -2.802631)', '2026-06-13 07:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02517 -2.802676)'), GeomFromEWKT('SRID=4674;POINT (-40.025185 -2.802631)'))) / (select extract(epoch from '2026-06-13 07:48:29'::timestamp) - extract(epoch from '2026-06-13 07:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02517 -2.802676)'), GeomFromEWKT('SRID=4674;POINT (-40.025185 -2.802631)'))) / (select extract(epoch from '2026-06-13 07:48:29'::timestamp) - extract(epoch from '2026-06-13 07:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025241 -2.802572)', '2026-06-13 07:48:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025185 -2.802631)'), GeomFromEWKT('SRID=4674;POINT (-40.025241 -2.802572)'))) / (select extract(epoch from '2026-06-13 07:48:47'::timestamp) - extract(epoch from '2026-06-13 07:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025185 -2.802631)'), GeomFromEWKT('SRID=4674;POINT (-40.025241 -2.802572)'))) / (select extract(epoch from '2026-06-13 07:48:47'::timestamp) - extract(epoch from '2026-06-13 07:48: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'), 46703, 'SRID=4674;POINT (-40.025275 -2.802585)', '2026-06-13 07:49:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025241 -2.802572)'), GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.802585)'))) / (select extract(epoch from '2026-06-13 07:49:07'::timestamp) - extract(epoch from '2026-06-13 07:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025241 -2.802572)'), GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.802585)'))) / (select extract(epoch from '2026-06-13 07:49:07'::timestamp) - extract(epoch from '2026-06-13 07:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02527 -2.802611)', '2026-06-13 07:49:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.802585)'), GeomFromEWKT('SRID=4674;POINT (-40.02527 -2.802611)'))) / (select extract(epoch from '2026-06-13 07:49:16'::timestamp) - extract(epoch from '2026-06-13 07:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.802585)'), GeomFromEWKT('SRID=4674;POINT (-40.02527 -2.802611)'))) / (select extract(epoch from '2026-06-13 07:49:16'::timestamp) - extract(epoch from '2026-06-13 07:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025276 -2.802595)', '2026-06-13 07:49:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02527 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.802595)'))) / (select extract(epoch from '2026-06-13 07:49:23'::timestamp) - extract(epoch from '2026-06-13 07:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02527 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.802595)'))) / (select extract(epoch from '2026-06-13 07:49:23'::timestamp) - extract(epoch from '2026-06-13 07:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025292 -2.802607)', '2026-06-13 07:49:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.802595)'), GeomFromEWKT('SRID=4674;POINT (-40.025292 -2.802607)'))) / (select extract(epoch from '2026-06-13 07:49:32'::timestamp) - extract(epoch from '2026-06-13 07:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.802595)'), GeomFromEWKT('SRID=4674;POINT (-40.025292 -2.802607)'))) / (select extract(epoch from '2026-06-13 07:49:32'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.025294 -2.802615)', '2026-06-13 07:49:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025292 -2.802607)'), GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.802615)'))) / (select extract(epoch from '2026-06-13 07:49:47'::timestamp) - extract(epoch from '2026-06-13 07:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025292 -2.802607)'), GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.802615)'))) / (select extract(epoch from '2026-06-13 07:49:47'::timestamp) - extract(epoch from '2026-06-13 07:49: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'), 46703, 'SRID=4674;POINT (-40.025294 -2.802619)', '2026-06-13 07:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.802619)'))) / (select extract(epoch from '2026-06-13 07:50:07'::timestamp) - extract(epoch from '2026-06-13 07:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.802619)'))) / (select extract(epoch from '2026-06-13 07:50:07'::timestamp) - extract(epoch from '2026-06-13 07:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02526 -2.802624)', '2026-06-13 07:50:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.802619)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.802624)'))) / (select extract(epoch from '2026-06-13 07:50:16'::timestamp) - extract(epoch from '2026-06-13 07:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.802619)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.802624)'))) / (select extract(epoch from '2026-06-13 07:50:16'::timestamp) - extract(epoch from '2026-06-13 07:50: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'), 46703, 'SRID=4674;POINT (-40.02517 -2.802646)', '2026-06-13 07:50:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.802624)'), GeomFromEWKT('SRID=4674;POINT (-40.02517 -2.802646)'))) / (select extract(epoch from '2026-06-13 07:50:27'::timestamp) - extract(epoch from '2026-06-13 07:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.802624)'), GeomFromEWKT('SRID=4674;POINT (-40.02517 -2.802646)'))) / (select extract(epoch from '2026-06-13 07:50:27'::timestamp) - extract(epoch from '2026-06-13 07:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025146 -2.80266)', '2026-06-13 07:50:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02517 -2.802646)'), GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.80266)'))) / (select extract(epoch from '2026-06-13 07:50:35'::timestamp) - extract(epoch from '2026-06-13 07:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02517 -2.802646)'), GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.80266)'))) / (select extract(epoch from '2026-06-13 07:50:35'::timestamp) - extract(epoch from '2026-06-13 07:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025098 -2.802675)', '2026-06-13 07:50:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.80266)'), GeomFromEWKT('SRID=4674;POINT (-40.025098 -2.802675)'))) / (select extract(epoch from '2026-06-13 07:50:44'::timestamp) - extract(epoch from '2026-06-13 07:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.80266)'), GeomFromEWKT('SRID=4674;POINT (-40.025098 -2.802675)'))) / (select extract(epoch from '2026-06-13 07:50:44'::timestamp) - extract(epoch from '2026-06-13 07:50: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'), 46703, 'SRID=4674;POINT (-40.025059 -2.802639)', '2026-06-13 07:50:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025098 -2.802675)'), GeomFromEWKT('SRID=4674;POINT (-40.025059 -2.802639)'))) / (select extract(epoch from '2026-06-13 07:50:52'::timestamp) - extract(epoch from '2026-06-13 07:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025098 -2.802675)'), GeomFromEWKT('SRID=4674;POINT (-40.025059 -2.802639)'))) / (select extract(epoch from '2026-06-13 07:50:52'::timestamp) - extract(epoch from '2026-06-13 07:50: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'), 46703, 'SRID=4674;POINT (-40.025069 -2.802546)', '2026-06-13 07:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025059 -2.802639)'), GeomFromEWKT('SRID=4674;POINT (-40.025069 -2.802546)'))) / (select extract(epoch from '2026-06-13 07:51:01'::timestamp) - extract(epoch from '2026-06-13 07:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025059 -2.802639)'), GeomFromEWKT('SRID=4674;POINT (-40.025069 -2.802546)'))) / (select extract(epoch from '2026-06-13 07:51:01'::timestamp) - extract(epoch from '2026-06-13 07:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025083 -2.802422)', '2026-06-13 07:51:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025069 -2.802546)'), GeomFromEWKT('SRID=4674;POINT (-40.025083 -2.802422)'))) / (select extract(epoch from '2026-06-13 07:51:09'::timestamp) - extract(epoch from '2026-06-13 07:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025069 -2.802546)'), GeomFromEWKT('SRID=4674;POINT (-40.025083 -2.802422)'))) / (select extract(epoch from '2026-06-13 07:51:09'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.025081 -2.802316)', '2026-06-13 07:51:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025083 -2.802422)'), GeomFromEWKT('SRID=4674;POINT (-40.025081 -2.802316)'))) / (select extract(epoch from '2026-06-13 07:51:15'::timestamp) - extract(epoch from '2026-06-13 07:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025083 -2.802422)'), GeomFromEWKT('SRID=4674;POINT (-40.025081 -2.802316)'))) / (select extract(epoch from '2026-06-13 07:51:15'::timestamp) - extract(epoch from '2026-06-13 07:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025065 -2.802238)', '2026-06-13 07:51:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025081 -2.802316)'), GeomFromEWKT('SRID=4674;POINT (-40.025065 -2.802238)'))) / (select extract(epoch from '2026-06-13 07:51:20'::timestamp) - extract(epoch from '2026-06-13 07:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025081 -2.802316)'), GeomFromEWKT('SRID=4674;POINT (-40.025065 -2.802238)'))) / (select extract(epoch from '2026-06-13 07:51:20'::timestamp) - extract(epoch from '2026-06-13 07:51: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'), 46703, 'SRID=4674;POINT (-40.025029 -2.802118)', '2026-06-13 07:51:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025065 -2.802238)'), GeomFromEWKT('SRID=4674;POINT (-40.025029 -2.802118)'))) / (select extract(epoch from '2026-06-13 07:51:28'::timestamp) - extract(epoch from '2026-06-13 07:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025065 -2.802238)'), GeomFromEWKT('SRID=4674;POINT (-40.025029 -2.802118)'))) / (select extract(epoch from '2026-06-13 07:51:28'::timestamp) - extract(epoch from '2026-06-13 07:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025008 -2.802033)', '2026-06-13 07:51:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025029 -2.802118)'), GeomFromEWKT('SRID=4674;POINT (-40.025008 -2.802033)'))) / (select extract(epoch from '2026-06-13 07:51:33'::timestamp) - extract(epoch from '2026-06-13 07:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025029 -2.802118)'), GeomFromEWKT('SRID=4674;POINT (-40.025008 -2.802033)'))) / (select extract(epoch from '2026-06-13 07:51:33'::timestamp) - extract(epoch from '2026-06-13 07:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025005 -2.802001)', '2026-06-13 07:51:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025008 -2.802033)'), GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.802001)'))) / (select extract(epoch from '2026-06-13 07:51:35'::timestamp) - extract(epoch from '2026-06-13 07:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025008 -2.802033)'), GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.802001)'))) / (select extract(epoch from '2026-06-13 07:51:35'::timestamp) - extract(epoch from '2026-06-13 07:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02498 -2.801872)', '2026-06-13 07:51:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.802001)'), GeomFromEWKT('SRID=4674;POINT (-40.02498 -2.801872)'))) / (select extract(epoch from '2026-06-13 07:51:43'::timestamp) - extract(epoch from '2026-06-13 07:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.802001)'), GeomFromEWKT('SRID=4674;POINT (-40.02498 -2.801872)'))) / (select extract(epoch from '2026-06-13 07:51:43'::timestamp) - extract(epoch from '2026-06-13 07:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024958 -2.80174)', '2026-06-13 07:51:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02498 -2.801872)'), GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.80174)'))) / (select extract(epoch from '2026-06-13 07:51:51'::timestamp) - extract(epoch from '2026-06-13 07:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02498 -2.801872)'), GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.80174)'))) / (select extract(epoch from '2026-06-13 07:51:51'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.024946 -2.801663)', '2026-06-13 07:51:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.80174)'), GeomFromEWKT('SRID=4674;POINT (-40.024946 -2.801663)'))) / (select extract(epoch from '2026-06-13 07:51:59'::timestamp) - extract(epoch from '2026-06-13 07:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.80174)'), GeomFromEWKT('SRID=4674;POINT (-40.024946 -2.801663)'))) / (select extract(epoch from '2026-06-13 07:51:59'::timestamp) - extract(epoch from '2026-06-13 07:51:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024965 -2.801609)', '2026-06-13 07:52:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024946 -2.801663)'), GeomFromEWKT('SRID=4674;POINT (-40.024965 -2.801609)'))) / (select extract(epoch from '2026-06-13 07:52:10'::timestamp) - extract(epoch from '2026-06-13 07:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024946 -2.801663)'), GeomFromEWKT('SRID=4674;POINT (-40.024965 -2.801609)'))) / (select extract(epoch from '2026-06-13 07:52:10'::timestamp) - extract(epoch from '2026-06-13 07:51: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'), 46703, 'SRID=4674;POINT (-40.025028 -2.801563)', '2026-06-13 07:52:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024965 -2.801609)'), GeomFromEWKT('SRID=4674;POINT (-40.025028 -2.801563)'))) / (select extract(epoch from '2026-06-13 07:52:28'::timestamp) - extract(epoch from '2026-06-13 07:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024965 -2.801609)'), GeomFromEWKT('SRID=4674;POINT (-40.025028 -2.801563)'))) / (select extract(epoch from '2026-06-13 07:52:28'::timestamp) - extract(epoch from '2026-06-13 07:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025048 -2.801589)', '2026-06-13 07:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025028 -2.801563)'), GeomFromEWKT('SRID=4674;POINT (-40.025048 -2.801589)'))) / (select extract(epoch from '2026-06-13 07:52:45'::timestamp) - extract(epoch from '2026-06-13 07:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025028 -2.801563)'), GeomFromEWKT('SRID=4674;POINT (-40.025048 -2.801589)'))) / (select extract(epoch from '2026-06-13 07:52:45'::timestamp) - extract(epoch from '2026-06-13 07:52: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'), 46703, 'SRID=4674;POINT (-40.025109 -2.801594)', '2026-06-13 07:53:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025048 -2.801589)'), GeomFromEWKT('SRID=4674;POINT (-40.025109 -2.801594)'))) / (select extract(epoch from '2026-06-13 07:53:06'::timestamp) - extract(epoch from '2026-06-13 07:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025048 -2.801589)'), GeomFromEWKT('SRID=4674;POINT (-40.025109 -2.801594)'))) / (select extract(epoch from '2026-06-13 07:53:06'::timestamp) - extract(epoch from '2026-06-13 07:52: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'), 46703, 'SRID=4674;POINT (-40.025146 -2.801597)', '2026-06-13 07:53:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025109 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.801597)'))) / (select extract(epoch from '2026-06-13 07:53:30'::timestamp) - extract(epoch from '2026-06-13 07:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025109 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.801597)'))) / (select extract(epoch from '2026-06-13 07:53:30'::timestamp) - extract(epoch from '2026-06-13 07:53: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'), 46703, 'SRID=4674;POINT (-40.025158 -2.801565)', '2026-06-13 07:53:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.801597)'), GeomFromEWKT('SRID=4674;POINT (-40.025158 -2.801565)'))) / (select extract(epoch from '2026-06-13 07:53:49'::timestamp) - extract(epoch from '2026-06-13 07:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.801597)'), GeomFromEWKT('SRID=4674;POINT (-40.025158 -2.801565)'))) / (select extract(epoch from '2026-06-13 07:53:49'::timestamp) - extract(epoch from '2026-06-13 07:53: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'), 46703, 'SRID=4674;POINT (-40.025157 -2.801561)', '2026-06-13 07:54:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025158 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.025157 -2.801561)'))) / (select extract(epoch from '2026-06-13 07:54:28'::timestamp) - extract(epoch from '2026-06-13 07:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025158 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.025157 -2.801561)'))) / (select extract(epoch from '2026-06-13 07:54:28'::timestamp) - extract(epoch from '2026-06-13 07:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025139 -2.80153)', '2026-06-13 07:54:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025157 -2.801561)'), GeomFromEWKT('SRID=4674;POINT (-40.025139 -2.80153)'))) / (select extract(epoch from '2026-06-13 07:54:53'::timestamp) - extract(epoch from '2026-06-13 07:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025157 -2.801561)'), GeomFromEWKT('SRID=4674;POINT (-40.025139 -2.80153)'))) / (select extract(epoch from '2026-06-13 07:54:53'::timestamp) - extract(epoch from '2026-06-13 07:54:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025147 -2.80155)', '2026-06-13 07:54:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025139 -2.80153)'), GeomFromEWKT('SRID=4674;POINT (-40.025147 -2.80155)'))) / (select extract(epoch from '2026-06-13 07:54:59'::timestamp) - extract(epoch from '2026-06-13 07:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025139 -2.80153)'), GeomFromEWKT('SRID=4674;POINT (-40.025147 -2.80155)'))) / (select extract(epoch from '2026-06-13 07:54:59'::timestamp) - extract(epoch from '2026-06-13 07:54: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'), 46703, 'SRID=4674;POINT (-40.025162 -2.801557)', '2026-06-13 07:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025147 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.025162 -2.801557)'))) / (select extract(epoch from '2026-06-13 07:55:11'::timestamp) - extract(epoch from '2026-06-13 07:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025147 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.025162 -2.801557)'))) / (select extract(epoch from '2026-06-13 07:55:11'::timestamp) - extract(epoch from '2026-06-13 07:54:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025167 -2.801565)', '2026-06-13 07:55:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025162 -2.801557)'), GeomFromEWKT('SRID=4674;POINT (-40.025167 -2.801565)'))) / (select extract(epoch from '2026-06-13 07:55:21'::timestamp) - extract(epoch from '2026-06-13 07:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025162 -2.801557)'), GeomFromEWKT('SRID=4674;POINT (-40.025167 -2.801565)'))) / (select extract(epoch from '2026-06-13 07:55:21'::timestamp) - extract(epoch from '2026-06-13 07:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025172 -2.801564)', '2026-06-13 07:55:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025167 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.025172 -2.801564)'))) / (select extract(epoch from '2026-06-13 07:55:47'::timestamp) - extract(epoch from '2026-06-13 07:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025167 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.025172 -2.801564)'))) / (select extract(epoch from '2026-06-13 07:55:47'::timestamp) - extract(epoch from '2026-06-13 07:55:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025127 -2.80157)', '2026-06-13 07:56:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025172 -2.801564)'), GeomFromEWKT('SRID=4674;POINT (-40.025127 -2.80157)'))) / (select extract(epoch from '2026-06-13 07:56:02'::timestamp) - extract(epoch from '2026-06-13 07:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025172 -2.801564)'), GeomFromEWKT('SRID=4674;POINT (-40.025127 -2.80157)'))) / (select extract(epoch from '2026-06-13 07:56:02'::timestamp) - extract(epoch from '2026-06-13 07:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025034 -2.801591)', '2026-06-13 07:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025127 -2.80157)'), GeomFromEWKT('SRID=4674;POINT (-40.025034 -2.801591)'))) / (select extract(epoch from '2026-06-13 07:56:11'::timestamp) - extract(epoch from '2026-06-13 07:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025127 -2.80157)'), GeomFromEWKT('SRID=4674;POINT (-40.025034 -2.801591)'))) / (select extract(epoch from '2026-06-13 07:56:11'::timestamp) - extract(epoch from '2026-06-13 07:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024958 -2.801619)', '2026-06-13 07:56:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025034 -2.801591)'), GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.801619)'))) / (select extract(epoch from '2026-06-13 07:56:20'::timestamp) - extract(epoch from '2026-06-13 07:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025034 -2.801591)'), GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.801619)'))) / (select extract(epoch from '2026-06-13 07:56:20'::timestamp) - extract(epoch from '2026-06-13 07:56: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'), 46703, 'SRID=4674;POINT (-40.024897 -2.801648)', '2026-06-13 07:56:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.801619)'), GeomFromEWKT('SRID=4674;POINT (-40.024897 -2.801648)'))) / (select extract(epoch from '2026-06-13 07:56:31'::timestamp) - extract(epoch from '2026-06-13 07:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.801619)'), GeomFromEWKT('SRID=4674;POINT (-40.024897 -2.801648)'))) / (select extract(epoch from '2026-06-13 07:56:31'::timestamp) - extract(epoch from '2026-06-13 07:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024868 -2.801696)', '2026-06-13 07:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024897 -2.801648)'), GeomFromEWKT('SRID=4674;POINT (-40.024868 -2.801696)'))) / (select extract(epoch from '2026-06-13 07:56:38'::timestamp) - extract(epoch from '2026-06-13 07:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024897 -2.801648)'), GeomFromEWKT('SRID=4674;POINT (-40.024868 -2.801696)'))) / (select extract(epoch from '2026-06-13 07:56:38'::timestamp) - extract(epoch from '2026-06-13 07:56: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'), 46703, 'SRID=4674;POINT (-40.024858 -2.801701)', '2026-06-13 07:56:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024868 -2.801696)'), GeomFromEWKT('SRID=4674;POINT (-40.024858 -2.801701)'))) / (select extract(epoch from '2026-06-13 07:56:39'::timestamp) - extract(epoch from '2026-06-13 07:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024868 -2.801696)'), GeomFromEWKT('SRID=4674;POINT (-40.024858 -2.801701)'))) / (select extract(epoch from '2026-06-13 07:56:39'::timestamp) - extract(epoch from '2026-06-13 07:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024812 -2.80171)', '2026-06-13 07:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024858 -2.801701)'), GeomFromEWKT('SRID=4674;POINT (-40.024812 -2.80171)'))) / (select extract(epoch from '2026-06-13 07:56:44'::timestamp) - extract(epoch from '2026-06-13 07:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024858 -2.801701)'), GeomFromEWKT('SRID=4674;POINT (-40.024812 -2.80171)'))) / (select extract(epoch from '2026-06-13 07:56:44'::timestamp) - extract(epoch from '2026-06-13 07:56: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'), 46703, 'SRID=4674;POINT (-40.024734 -2.801653)', '2026-06-13 07:56:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024812 -2.80171)'), GeomFromEWKT('SRID=4674;POINT (-40.024734 -2.801653)'))) / (select extract(epoch from '2026-06-13 07:56:52'::timestamp) - extract(epoch from '2026-06-13 07:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024812 -2.80171)'), GeomFromEWKT('SRID=4674;POINT (-40.024734 -2.801653)'))) / (select extract(epoch from '2026-06-13 07:56:52'::timestamp) - extract(epoch from '2026-06-13 07:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02466 -2.801542)', '2026-06-13 07:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024734 -2.801653)'), GeomFromEWKT('SRID=4674;POINT (-40.02466 -2.801542)'))) / (select extract(epoch from '2026-06-13 07:57:01'::timestamp) - extract(epoch from '2026-06-13 07:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024734 -2.801653)'), GeomFromEWKT('SRID=4674;POINT (-40.02466 -2.801542)'))) / (select extract(epoch from '2026-06-13 07:57:01'::timestamp) - extract(epoch from '2026-06-13 07:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024623 -2.80145)', '2026-06-13 07:57:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02466 -2.801542)'), GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.80145)'))) / (select extract(epoch from '2026-06-13 07:57:07'::timestamp) - extract(epoch from '2026-06-13 07:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02466 -2.801542)'), GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.80145)'))) / (select extract(epoch from '2026-06-13 07:57:07'::timestamp) - extract(epoch from '2026-06-13 07:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024587 -2.801302)', '2026-06-13 07:57:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.80145)'), GeomFromEWKT('SRID=4674;POINT (-40.024587 -2.801302)'))) / (select extract(epoch from '2026-06-13 07:57:16'::timestamp) - extract(epoch from '2026-06-13 07:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.80145)'), GeomFromEWKT('SRID=4674;POINT (-40.024587 -2.801302)'))) / (select extract(epoch from '2026-06-13 07:57:16'::timestamp) - extract(epoch from '2026-06-13 07:57: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'), 46703, 'SRID=4674;POINT (-40.024569 -2.801177)', '2026-06-13 07:57:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024587 -2.801302)'), GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.801177)'))) / (select extract(epoch from '2026-06-13 07:57:23'::timestamp) - extract(epoch from '2026-06-13 07:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024587 -2.801302)'), GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.801177)'))) / (select extract(epoch from '2026-06-13 07:57:23'::timestamp) - extract(epoch from '2026-06-13 07:57: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'), 46703, 'SRID=4674;POINT (-40.024552 -2.801068)', '2026-06-13 07:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.801177)'), GeomFromEWKT('SRID=4674;POINT (-40.024552 -2.801068)'))) / (select extract(epoch from '2026-06-13 07:57:29'::timestamp) - extract(epoch from '2026-06-13 07:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.801177)'), GeomFromEWKT('SRID=4674;POINT (-40.024552 -2.801068)'))) / (select extract(epoch from '2026-06-13 07:57:29'::timestamp) - extract(epoch from '2026-06-13 07:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024527 -2.800961)', '2026-06-13 07:57:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024552 -2.801068)'), GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.800961)'))) / (select extract(epoch from '2026-06-13 07:57:35'::timestamp) - extract(epoch from '2026-06-13 07:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024552 -2.801068)'), GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.800961)'))) / (select extract(epoch from '2026-06-13 07:57:35'::timestamp) - extract(epoch from '2026-06-13 07:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024501 -2.800856)', '2026-06-13 07:57:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.800961)'), GeomFromEWKT('SRID=4674;POINT (-40.024501 -2.800856)'))) / (select extract(epoch from '2026-06-13 07:57:42'::timestamp) - extract(epoch from '2026-06-13 07:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.800961)'), GeomFromEWKT('SRID=4674;POINT (-40.024501 -2.800856)'))) / (select extract(epoch from '2026-06-13 07:57:42'::timestamp) - extract(epoch from '2026-06-13 07:57: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'), 46703, 'SRID=4674;POINT (-40.024497 -2.80079)', '2026-06-13 07:57:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024501 -2.800856)'), GeomFromEWKT('SRID=4674;POINT (-40.024497 -2.80079)'))) / (select extract(epoch from '2026-06-13 07:57:50'::timestamp) - extract(epoch from '2026-06-13 07:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024501 -2.800856)'), GeomFromEWKT('SRID=4674;POINT (-40.024497 -2.80079)'))) / (select extract(epoch from '2026-06-13 07:57:50'::timestamp) - extract(epoch from '2026-06-13 07:57: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'), 46703, 'SRID=4674;POINT (-40.024513 -2.800751)', '2026-06-13 07:58:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024497 -2.80079)'), GeomFromEWKT('SRID=4674;POINT (-40.024513 -2.800751)'))) / (select extract(epoch from '2026-06-13 07:58:00'::timestamp) - extract(epoch from '2026-06-13 07:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024497 -2.80079)'), GeomFromEWKT('SRID=4674;POINT (-40.024513 -2.800751)'))) / (select extract(epoch from '2026-06-13 07:58:00'::timestamp) - extract(epoch from '2026-06-13 07:57:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024547 -2.800738)', '2026-06-13 07:58:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024513 -2.800751)'), GeomFromEWKT('SRID=4674;POINT (-40.024547 -2.800738)'))) / (select extract(epoch from '2026-06-13 07:58:09'::timestamp) - extract(epoch from '2026-06-13 07:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024513 -2.800751)'), GeomFromEWKT('SRID=4674;POINT (-40.024547 -2.800738)'))) / (select extract(epoch from '2026-06-13 07:58:09'::timestamp) - extract(epoch from '2026-06-13 07:58: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'), 46703, 'SRID=4674;POINT (-40.024613 -2.80072)', '2026-06-13 07:58:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024547 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.024613 -2.80072)'))) / (select extract(epoch from '2026-06-13 07:58:30'::timestamp) - extract(epoch from '2026-06-13 07:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024547 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.024613 -2.80072)'))) / (select extract(epoch from '2026-06-13 07:58:30'::timestamp) - extract(epoch from '2026-06-13 07:58:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024692 -2.800707)', '2026-06-13 07:58:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024613 -2.80072)'), GeomFromEWKT('SRID=4674;POINT (-40.024692 -2.800707)'))) / (select extract(epoch from '2026-06-13 07:58:48'::timestamp) - extract(epoch from '2026-06-13 07:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024613 -2.80072)'), GeomFromEWKT('SRID=4674;POINT (-40.024692 -2.800707)'))) / (select extract(epoch from '2026-06-13 07:58:48'::timestamp) - extract(epoch from '2026-06-13 07:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024716 -2.800718)', '2026-06-13 07:59:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024692 -2.800707)'), GeomFromEWKT('SRID=4674;POINT (-40.024716 -2.800718)'))) / (select extract(epoch from '2026-06-13 07:59:00'::timestamp) - extract(epoch from '2026-06-13 07:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024692 -2.800707)'), GeomFromEWKT('SRID=4674;POINT (-40.024716 -2.800718)'))) / (select extract(epoch from '2026-06-13 07:59:00'::timestamp) - extract(epoch from '2026-06-13 07:58: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'), 46703, 'SRID=4674;POINT (-40.02472 -2.800755)', '2026-06-13 07:59:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024716 -2.800718)'), GeomFromEWKT('SRID=4674;POINT (-40.02472 -2.800755)'))) / (select extract(epoch from '2026-06-13 07:59:23'::timestamp) - extract(epoch from '2026-06-13 07:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024716 -2.800718)'), GeomFromEWKT('SRID=4674;POINT (-40.02472 -2.800755)'))) / (select extract(epoch from '2026-06-13 07:59:23'::timestamp) - extract(epoch from '2026-06-13 07: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'), 46703, 'SRID=4674;POINT (-40.02471 -2.800728)', '2026-06-13 07:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02472 -2.800755)'), GeomFromEWKT('SRID=4674;POINT (-40.02471 -2.800728)'))) / (select extract(epoch from '2026-06-13 07:59:36'::timestamp) - extract(epoch from '2026-06-13 07:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02472 -2.800755)'), GeomFromEWKT('SRID=4674;POINT (-40.02471 -2.800728)'))) / (select extract(epoch from '2026-06-13 07:59:36'::timestamp) - extract(epoch from '2026-06-13 07:59: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'), 46703, 'SRID=4674;POINT (-40.024713 -2.800737)', '2026-06-13 07:59:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02471 -2.800728)'), GeomFromEWKT('SRID=4674;POINT (-40.024713 -2.800737)'))) / (select extract(epoch from '2026-06-13 07:59:43'::timestamp) - extract(epoch from '2026-06-13 07:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02471 -2.800728)'), GeomFromEWKT('SRID=4674;POINT (-40.024713 -2.800737)'))) / (select extract(epoch from '2026-06-13 07:59:43'::timestamp) - extract(epoch from '2026-06-13 07:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024731 -2.800753)', '2026-06-13 07:59:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024713 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.024731 -2.800753)'))) / (select extract(epoch from '2026-06-13 07:59:49'::timestamp) - extract(epoch from '2026-06-13 07:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024713 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.024731 -2.800753)'))) / (select extract(epoch from '2026-06-13 07:59:49'::timestamp) - extract(epoch from '2026-06-13 07:59:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024731 -2.800731)', '2026-06-13 07:59:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024731 -2.800753)'), GeomFromEWKT('SRID=4674;POINT (-40.024731 -2.800731)'))) / (select extract(epoch from '2026-06-13 07:59:58'::timestamp) - extract(epoch from '2026-06-13 07:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024731 -2.800753)'), GeomFromEWKT('SRID=4674;POINT (-40.024731 -2.800731)'))) / (select extract(epoch from '2026-06-13 07:59:58'::timestamp) - extract(epoch from '2026-06-13 07:59: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'), 46703, 'SRID=4674;POINT (-40.024728 -2.800712)', '2026-06-13 08:00:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024731 -2.800731)'), GeomFromEWKT('SRID=4674;POINT (-40.024728 -2.800712)'))) / (select extract(epoch from '2026-06-13 08:00:14'::timestamp) - extract(epoch from '2026-06-13 07:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024731 -2.800731)'), GeomFromEWKT('SRID=4674;POINT (-40.024728 -2.800712)'))) / (select extract(epoch from '2026-06-13 08:00:14'::timestamp) - extract(epoch from '2026-06-13 07:59: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'), 46703, 'SRID=4674;POINT (-40.024725 -2.800724)', '2026-06-13 08:00:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024728 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.800724)'))) / (select extract(epoch from '2026-06-13 08:00:24'::timestamp) - extract(epoch from '2026-06-13 08:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024728 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.800724)'))) / (select extract(epoch from '2026-06-13 08:00:24'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.024724 -2.800739)', '2026-06-13 08:00:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.800724)'), GeomFromEWKT('SRID=4674;POINT (-40.024724 -2.800739)'))) / (select extract(epoch from '2026-06-13 08:00:37'::timestamp) - extract(epoch from '2026-06-13 08:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.800724)'), GeomFromEWKT('SRID=4674;POINT (-40.024724 -2.800739)'))) / (select extract(epoch from '2026-06-13 08:00:37'::timestamp) - extract(epoch from '2026-06-13 08:00: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'), 46703, 'SRID=4674;POINT (-40.024699 -2.80075)', '2026-06-13 08:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024724 -2.800739)'), GeomFromEWKT('SRID=4674;POINT (-40.024699 -2.80075)'))) / (select extract(epoch from '2026-06-13 08:00:44'::timestamp) - extract(epoch from '2026-06-13 08:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024724 -2.800739)'), GeomFromEWKT('SRID=4674;POINT (-40.024699 -2.80075)'))) / (select extract(epoch from '2026-06-13 08:00:44'::timestamp) - extract(epoch from '2026-06-13 08:00: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'), 46703, 'SRID=4674;POINT (-40.024694 -2.800753)', '2026-06-13 08:00:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024699 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.024694 -2.800753)'))) / (select extract(epoch from '2026-06-13 08:00:45'::timestamp) - extract(epoch from '2026-06-13 08:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024699 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.024694 -2.800753)'))) / (select extract(epoch from '2026-06-13 08:00:45'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.02465 -2.800772)', '2026-06-13 08:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024694 -2.800753)'), GeomFromEWKT('SRID=4674;POINT (-40.02465 -2.800772)'))) / (select extract(epoch from '2026-06-13 08:00:52'::timestamp) - extract(epoch from '2026-06-13 08:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024694 -2.800753)'), GeomFromEWKT('SRID=4674;POINT (-40.02465 -2.800772)'))) / (select extract(epoch from '2026-06-13 08:00:52'::timestamp) - extract(epoch from '2026-06-13 08:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024567 -2.800768)', '2026-06-13 08:01:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02465 -2.800772)'), GeomFromEWKT('SRID=4674;POINT (-40.024567 -2.800768)'))) / (select extract(epoch from '2026-06-13 08:01:02'::timestamp) - extract(epoch from '2026-06-13 08:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02465 -2.800772)'), GeomFromEWKT('SRID=4674;POINT (-40.024567 -2.800768)'))) / (select extract(epoch from '2026-06-13 08:01:02'::timestamp) - extract(epoch from '2026-06-13 08:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024518 -2.800764)', '2026-06-13 08:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024567 -2.800768)'), GeomFromEWKT('SRID=4674;POINT (-40.024518 -2.800764)'))) / (select extract(epoch from '2026-06-13 08:01:10'::timestamp) - extract(epoch from '2026-06-13 08:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024567 -2.800768)'), GeomFromEWKT('SRID=4674;POINT (-40.024518 -2.800764)'))) / (select extract(epoch from '2026-06-13 08:01:10'::timestamp) - extract(epoch from '2026-06-13 08:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024448 -2.800787)', '2026-06-13 08:01:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024518 -2.800764)'), GeomFromEWKT('SRID=4674;POINT (-40.024448 -2.800787)'))) / (select extract(epoch from '2026-06-13 08:01:22'::timestamp) - extract(epoch from '2026-06-13 08:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024518 -2.800764)'), GeomFromEWKT('SRID=4674;POINT (-40.024448 -2.800787)'))) / (select extract(epoch from '2026-06-13 08:01:22'::timestamp) - extract(epoch from '2026-06-13 08:01: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'), 46703, 'SRID=4674;POINT (-40.024408 -2.800742)', '2026-06-13 08:01:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024448 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.024408 -2.800742)'))) / (select extract(epoch from '2026-06-13 08:01:32'::timestamp) - extract(epoch from '2026-06-13 08:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024448 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.024408 -2.800742)'))) / (select extract(epoch from '2026-06-13 08:01:32'::timestamp) - extract(epoch from '2026-06-13 08:01: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'), 46703, 'SRID=4674;POINT (-40.024375 -2.800642)', '2026-06-13 08:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024408 -2.800742)'), GeomFromEWKT('SRID=4674;POINT (-40.024375 -2.800642)'))) / (select extract(epoch from '2026-06-13 08:01:42'::timestamp) - extract(epoch from '2026-06-13 08:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024408 -2.800742)'), GeomFromEWKT('SRID=4674;POINT (-40.024375 -2.800642)'))) / (select extract(epoch from '2026-06-13 08:01:42'::timestamp) - extract(epoch from '2026-06-13 08:01: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'), 46703, 'SRID=4674;POINT (-40.024362 -2.800565)', '2026-06-13 08:01:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024375 -2.800642)'), GeomFromEWKT('SRID=4674;POINT (-40.024362 -2.800565)'))) / (select extract(epoch from '2026-06-13 08:01:48'::timestamp) - extract(epoch from '2026-06-13 08:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024375 -2.800642)'), GeomFromEWKT('SRID=4674;POINT (-40.024362 -2.800565)'))) / (select extract(epoch from '2026-06-13 08:01:48'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.024349 -2.800465)', '2026-06-13 08:01:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024362 -2.800565)'), GeomFromEWKT('SRID=4674;POINT (-40.024349 -2.800465)'))) / (select extract(epoch from '2026-06-13 08:01:55'::timestamp) - extract(epoch from '2026-06-13 08:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024362 -2.800565)'), GeomFromEWKT('SRID=4674;POINT (-40.024349 -2.800465)'))) / (select extract(epoch from '2026-06-13 08:01:55'::timestamp) - extract(epoch from '2026-06-13 08:01: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'), 46703, 'SRID=4674;POINT (-40.024345 -2.800379)', '2026-06-13 08:02:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024349 -2.800465)'), GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.800379)'))) / (select extract(epoch from '2026-06-13 08:02:01'::timestamp) - extract(epoch from '2026-06-13 08:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024349 -2.800465)'), GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.800379)'))) / (select extract(epoch from '2026-06-13 08:02:01'::timestamp) - extract(epoch from '2026-06-13 08:01: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'), 46703, 'SRID=4674;POINT (-40.024346 -2.800319)', '2026-06-13 08:02:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.800379)'), GeomFromEWKT('SRID=4674;POINT (-40.024346 -2.800319)'))) / (select extract(epoch from '2026-06-13 08:02:05'::timestamp) - extract(epoch from '2026-06-13 08:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.800379)'), GeomFromEWKT('SRID=4674;POINT (-40.024346 -2.800319)'))) / (select extract(epoch from '2026-06-13 08:02:05'::timestamp) - extract(epoch from '2026-06-13 08:02: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'), 46703, 'SRID=4674;POINT (-40.024343 -2.800294)', '2026-06-13 08:02:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024346 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.800294)'))) / (select extract(epoch from '2026-06-13 08:02:07'::timestamp) - extract(epoch from '2026-06-13 08:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024346 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.800294)'))) / (select extract(epoch from '2026-06-13 08:02:07'::timestamp) - extract(epoch from '2026-06-13 08:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024341 -2.800274)', '2026-06-13 08:02:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.800294)'), GeomFromEWKT('SRID=4674;POINT (-40.024341 -2.800274)'))) / (select extract(epoch from '2026-06-13 08:02:09'::timestamp) - extract(epoch from '2026-06-13 08:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.800294)'), GeomFromEWKT('SRID=4674;POINT (-40.024341 -2.800274)'))) / (select extract(epoch from '2026-06-13 08:02:09'::timestamp) - extract(epoch from '2026-06-13 08:02:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024335 -2.800255)', '2026-06-13 08:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024341 -2.800274)'), GeomFromEWKT('SRID=4674;POINT (-40.024335 -2.800255)'))) / (select extract(epoch from '2026-06-13 08:02:11'::timestamp) - extract(epoch from '2026-06-13 08:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024341 -2.800274)'), GeomFromEWKT('SRID=4674;POINT (-40.024335 -2.800255)'))) / (select extract(epoch from '2026-06-13 08:02:11'::timestamp) - extract(epoch from '2026-06-13 08:02: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'), 46703, 'SRID=4674;POINT (-40.024331 -2.800244)', '2026-06-13 08:02:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024335 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.024331 -2.800244)'))) / (select extract(epoch from '2026-06-13 08:02:12'::timestamp) - extract(epoch from '2026-06-13 08:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024335 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.024331 -2.800244)'))) / (select extract(epoch from '2026-06-13 08:02:12'::timestamp) - extract(epoch from '2026-06-13 08:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024309 -2.80017)', '2026-06-13 08:02:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024331 -2.800244)'), GeomFromEWKT('SRID=4674;POINT (-40.024309 -2.80017)'))) / (select extract(epoch from '2026-06-13 08:02:18'::timestamp) - extract(epoch from '2026-06-13 08:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024331 -2.800244)'), GeomFromEWKT('SRID=4674;POINT (-40.024309 -2.80017)'))) / (select extract(epoch from '2026-06-13 08:02:18'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.024303 -2.800077)', '2026-06-13 08:02:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024309 -2.80017)'), GeomFromEWKT('SRID=4674;POINT (-40.024303 -2.800077)'))) / (select extract(epoch from '2026-06-13 08:02:24'::timestamp) - extract(epoch from '2026-06-13 08:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024309 -2.80017)'), GeomFromEWKT('SRID=4674;POINT (-40.024303 -2.800077)'))) / (select extract(epoch from '2026-06-13 08:02:24'::timestamp) - extract(epoch from '2026-06-13 08:02:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024296 -2.799996)', '2026-06-13 08:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024303 -2.800077)'), GeomFromEWKT('SRID=4674;POINT (-40.024296 -2.799996)'))) / (select extract(epoch from '2026-06-13 08:02:29'::timestamp) - extract(epoch from '2026-06-13 08:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024303 -2.800077)'), GeomFromEWKT('SRID=4674;POINT (-40.024296 -2.799996)'))) / (select extract(epoch from '2026-06-13 08:02:29'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.024287 -2.799903)', '2026-06-13 08:02:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024296 -2.799996)'), GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.799903)'))) / (select extract(epoch from '2026-06-13 08:02:35'::timestamp) - extract(epoch from '2026-06-13 08:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024296 -2.799996)'), GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.799903)'))) / (select extract(epoch from '2026-06-13 08:02:35'::timestamp) - extract(epoch from '2026-06-13 08:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024287 -2.799891)', '2026-06-13 08:02:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.799903)'), GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.799891)'))) / (select extract(epoch from '2026-06-13 08:02:36'::timestamp) - extract(epoch from '2026-06-13 08:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.799903)'), GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.799891)'))) / (select extract(epoch from '2026-06-13 08:02:36'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.024291 -2.799837)', '2026-06-13 08:02:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.799891)'), GeomFromEWKT('SRID=4674;POINT (-40.024291 -2.799837)'))) / (select extract(epoch from '2026-06-13 08:02:43'::timestamp) - extract(epoch from '2026-06-13 08:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.799891)'), GeomFromEWKT('SRID=4674;POINT (-40.024291 -2.799837)'))) / (select extract(epoch from '2026-06-13 08:02:43'::timestamp) - extract(epoch from '2026-06-13 08:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024334 -2.799798)', '2026-06-13 08:02:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024291 -2.799837)'), GeomFromEWKT('SRID=4674;POINT (-40.024334 -2.799798)'))) / (select extract(epoch from '2026-06-13 08:02:55'::timestamp) - extract(epoch from '2026-06-13 08:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024291 -2.799837)'), GeomFromEWKT('SRID=4674;POINT (-40.024334 -2.799798)'))) / (select extract(epoch from '2026-06-13 08:02:55'::timestamp) - extract(epoch from '2026-06-13 08:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024425 -2.7998)', '2026-06-13 08:03:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024334 -2.799798)'), GeomFromEWKT('SRID=4674;POINT (-40.024425 -2.7998)'))) / (select extract(epoch from '2026-06-13 08:03:12'::timestamp) - extract(epoch from '2026-06-13 08:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024334 -2.799798)'), GeomFromEWKT('SRID=4674;POINT (-40.024425 -2.7998)'))) / (select extract(epoch from '2026-06-13 08:03:12'::timestamp) - extract(epoch from '2026-06-13 08:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024452 -2.79981)', '2026-06-13 08:03:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024425 -2.7998)'), GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.79981)'))) / (select extract(epoch from '2026-06-13 08:03:27'::timestamp) - extract(epoch from '2026-06-13 08:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024425 -2.7998)'), GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.79981)'))) / (select extract(epoch from '2026-06-13 08:03:27'::timestamp) - extract(epoch from '2026-06-13 08:03:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024456 -2.799833)', '2026-06-13 08:03:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.79981)'), GeomFromEWKT('SRID=4674;POINT (-40.024456 -2.799833)'))) / (select extract(epoch from '2026-06-13 08:03:39'::timestamp) - extract(epoch from '2026-06-13 08:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.79981)'), GeomFromEWKT('SRID=4674;POINT (-40.024456 -2.799833)'))) / (select extract(epoch from '2026-06-13 08:03:39'::timestamp) - extract(epoch from '2026-06-13 08:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024454 -2.799835)', '2026-06-13 08:03:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024456 -2.799833)'), GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.799835)'))) / (select extract(epoch from '2026-06-13 08:03:56'::timestamp) - extract(epoch from '2026-06-13 08:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024456 -2.799833)'), GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.799835)'))) / (select extract(epoch from '2026-06-13 08:03:56'::timestamp) - extract(epoch from '2026-06-13 08:03: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'), 46703, 'SRID=4674;POINT (-40.024452 -2.799816)', '2026-06-13 08:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.799835)'), GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.799816)'))) / (select extract(epoch from '2026-06-13 08:04:03'::timestamp) - extract(epoch from '2026-06-13 08:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.799835)'), GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.799816)'))) / (select extract(epoch from '2026-06-13 08:04:03'::timestamp) - extract(epoch from '2026-06-13 08:03: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'), 46703, 'SRID=4674;POINT (-40.024449 -2.799826)', '2026-06-13 08:04:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.799816)'), GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.799826)'))) / (select extract(epoch from '2026-06-13 08:04:14'::timestamp) - extract(epoch from '2026-06-13 08:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.799816)'), GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.799826)'))) / (select extract(epoch from '2026-06-13 08:04:14'::timestamp) - extract(epoch from '2026-06-13 08:04: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'), 46703, 'SRID=4674;POINT (-40.024462 -2.799829)', '2026-06-13 08:04:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799829)'))) / (select extract(epoch from '2026-06-13 08:04:21'::timestamp) - extract(epoch from '2026-06-13 08:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799829)'))) / (select extract(epoch from '2026-06-13 08:04:21'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.02447 -2.799822)', '2026-06-13 08:04:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799829)'), GeomFromEWKT('SRID=4674;POINT (-40.02447 -2.799822)'))) / (select extract(epoch from '2026-06-13 08:04:28'::timestamp) - extract(epoch from '2026-06-13 08:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799829)'), GeomFromEWKT('SRID=4674;POINT (-40.02447 -2.799822)'))) / (select extract(epoch from '2026-06-13 08:04:28'::timestamp) - extract(epoch from '2026-06-13 08:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024469 -2.799832)', '2026-06-13 08:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02447 -2.799822)'), GeomFromEWKT('SRID=4674;POINT (-40.024469 -2.799832)'))) / (select extract(epoch from '2026-06-13 08:04:44'::timestamp) - extract(epoch from '2026-06-13 08:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02447 -2.799822)'), GeomFromEWKT('SRID=4674;POINT (-40.024469 -2.799832)'))) / (select extract(epoch from '2026-06-13 08:04:44'::timestamp) - extract(epoch from '2026-06-13 08:04:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024462 -2.799835)', '2026-06-13 08:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024469 -2.799832)'), GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799835)'))) / (select extract(epoch from '2026-06-13 08:04:58'::timestamp) - extract(epoch from '2026-06-13 08:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024469 -2.799832)'), GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799835)'))) / (select extract(epoch from '2026-06-13 08:04:58'::timestamp) - extract(epoch from '2026-06-13 08:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024449 -2.79983)', '2026-06-13 08:05:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799835)'), GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.79983)'))) / (select extract(epoch from '2026-06-13 08:05:13'::timestamp) - extract(epoch from '2026-06-13 08:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799835)'), GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.79983)'))) / (select extract(epoch from '2026-06-13 08:05:13'::timestamp) - extract(epoch from '2026-06-13 08:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024393 -2.799824)', '2026-06-13 08:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.79983)'), GeomFromEWKT('SRID=4674;POINT (-40.024393 -2.799824)'))) / (select extract(epoch from '2026-06-13 08:05:23'::timestamp) - extract(epoch from '2026-06-13 08:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.79983)'), GeomFromEWKT('SRID=4674;POINT (-40.024393 -2.799824)'))) / (select extract(epoch from '2026-06-13 08:05:23'::timestamp) - extract(epoch from '2026-06-13 08:05: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'), 46703, 'SRID=4674;POINT (-40.024374 -2.799826)', '2026-06-13 08:05:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024393 -2.799824)'), GeomFromEWKT('SRID=4674;POINT (-40.024374 -2.799826)'))) / (select extract(epoch from '2026-06-13 08:05:25'::timestamp) - extract(epoch from '2026-06-13 08:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024393 -2.799824)'), GeomFromEWKT('SRID=4674;POINT (-40.024374 -2.799826)'))) / (select extract(epoch from '2026-06-13 08:05:25'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.024293 -2.799834)', '2026-06-13 08:05:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024374 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.024293 -2.799834)'))) / (select extract(epoch from '2026-06-13 08:05:34'::timestamp) - extract(epoch from '2026-06-13 08:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024374 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.024293 -2.799834)'))) / (select extract(epoch from '2026-06-13 08:05:34'::timestamp) - extract(epoch from '2026-06-13 08:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024247 -2.799825)', '2026-06-13 08:05:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024293 -2.799834)'), GeomFromEWKT('SRID=4674;POINT (-40.024247 -2.799825)'))) / (select extract(epoch from '2026-06-13 08:05:41'::timestamp) - extract(epoch from '2026-06-13 08:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024293 -2.799834)'), GeomFromEWKT('SRID=4674;POINT (-40.024247 -2.799825)'))) / (select extract(epoch from '2026-06-13 08:05:41'::timestamp) - extract(epoch from '2026-06-13 08:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024206 -2.799813)', '2026-06-13 08:05:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024247 -2.799825)'), GeomFromEWKT('SRID=4674;POINT (-40.024206 -2.799813)'))) / (select extract(epoch from '2026-06-13 08:05:50'::timestamp) - extract(epoch from '2026-06-13 08:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024247 -2.799825)'), GeomFromEWKT('SRID=4674;POINT (-40.024206 -2.799813)'))) / (select extract(epoch from '2026-06-13 08:05:50'::timestamp) - extract(epoch from '2026-06-13 08:05: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'), 46703, 'SRID=4674;POINT (-40.024148 -2.799744)', '2026-06-13 08:06:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024206 -2.799813)'), GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.799744)'))) / (select extract(epoch from '2026-06-13 08:06:01'::timestamp) - extract(epoch from '2026-06-13 08:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024206 -2.799813)'), GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.799744)'))) / (select extract(epoch from '2026-06-13 08:06:01'::timestamp) - extract(epoch from '2026-06-13 08:05: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'), 46703, 'SRID=4674;POINT (-40.02412 -2.799636)', '2026-06-13 08:06:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.799744)'), GeomFromEWKT('SRID=4674;POINT (-40.02412 -2.799636)'))) / (select extract(epoch from '2026-06-13 08:06:09'::timestamp) - extract(epoch from '2026-06-13 08:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.799744)'), GeomFromEWKT('SRID=4674;POINT (-40.02412 -2.799636)'))) / (select extract(epoch from '2026-06-13 08:06:09'::timestamp) - extract(epoch from '2026-06-13 08:06: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'), 46703, 'SRID=4674;POINT (-40.024106 -2.799546)', '2026-06-13 08:06:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02412 -2.799636)'), GeomFromEWKT('SRID=4674;POINT (-40.024106 -2.799546)'))) / (select extract(epoch from '2026-06-13 08:06:15'::timestamp) - extract(epoch from '2026-06-13 08:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02412 -2.799636)'), GeomFromEWKT('SRID=4674;POINT (-40.024106 -2.799546)'))) / (select extract(epoch from '2026-06-13 08:06:15'::timestamp) - extract(epoch from '2026-06-13 08:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024095 -2.799404)', '2026-06-13 08:06:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024106 -2.799546)'), GeomFromEWKT('SRID=4674;POINT (-40.024095 -2.799404)'))) / (select extract(epoch from '2026-06-13 08:06:23'::timestamp) - extract(epoch from '2026-06-13 08:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024106 -2.799546)'), GeomFromEWKT('SRID=4674;POINT (-40.024095 -2.799404)'))) / (select extract(epoch from '2026-06-13 08:06:23'::timestamp) - extract(epoch from '2026-06-13 08:06: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'), 46703, 'SRID=4674;POINT (-40.024076 -2.799243)', '2026-06-13 08:06:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024095 -2.799404)'), GeomFromEWKT('SRID=4674;POINT (-40.024076 -2.799243)'))) / (select extract(epoch from '2026-06-13 08:06:32'::timestamp) - extract(epoch from '2026-06-13 08:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024095 -2.799404)'), GeomFromEWKT('SRID=4674;POINT (-40.024076 -2.799243)'))) / (select extract(epoch from '2026-06-13 08:06:32'::timestamp) - extract(epoch from '2026-06-13 08:06:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024068 -2.799118)', '2026-06-13 08:06:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024076 -2.799243)'), GeomFromEWKT('SRID=4674;POINT (-40.024068 -2.799118)'))) / (select extract(epoch from '2026-06-13 08:06:39'::timestamp) - extract(epoch from '2026-06-13 08:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024076 -2.799243)'), GeomFromEWKT('SRID=4674;POINT (-40.024068 -2.799118)'))) / (select extract(epoch from '2026-06-13 08:06:39'::timestamp) - extract(epoch from '2026-06-13 08:06: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'), 46703, 'SRID=4674;POINT (-40.024046 -2.799026)', '2026-06-13 08:06:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024068 -2.799118)'), GeomFromEWKT('SRID=4674;POINT (-40.024046 -2.799026)'))) / (select extract(epoch from '2026-06-13 08:06:45'::timestamp) - extract(epoch from '2026-06-13 08:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024068 -2.799118)'), GeomFromEWKT('SRID=4674;POINT (-40.024046 -2.799026)'))) / (select extract(epoch from '2026-06-13 08:06:45'::timestamp) - extract(epoch from '2026-06-13 08:06: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'), 46703, 'SRID=4674;POINT (-40.024031 -2.798972)', '2026-06-13 08:06:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024046 -2.799026)'), GeomFromEWKT('SRID=4674;POINT (-40.024031 -2.798972)'))) / (select extract(epoch from '2026-06-13 08:06:50'::timestamp) - extract(epoch from '2026-06-13 08:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024046 -2.799026)'), GeomFromEWKT('SRID=4674;POINT (-40.024031 -2.798972)'))) / (select extract(epoch from '2026-06-13 08:06:50'::timestamp) - extract(epoch from '2026-06-13 08:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024036 -2.798901)', '2026-06-13 08:06:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024031 -2.798972)'), GeomFromEWKT('SRID=4674;POINT (-40.024036 -2.798901)'))) / (select extract(epoch from '2026-06-13 08:06:58'::timestamp) - extract(epoch from '2026-06-13 08:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024031 -2.798972)'), GeomFromEWKT('SRID=4674;POINT (-40.024036 -2.798901)'))) / (select extract(epoch from '2026-06-13 08:06:58'::timestamp) - extract(epoch from '2026-06-13 08:06: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'), 46703, 'SRID=4674;POINT (-40.024065 -2.798862)', '2026-06-13 08:07:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024036 -2.798901)'), GeomFromEWKT('SRID=4674;POINT (-40.024065 -2.798862)'))) / (select extract(epoch from '2026-06-13 08:07:08'::timestamp) - extract(epoch from '2026-06-13 08:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024036 -2.798901)'), GeomFromEWKT('SRID=4674;POINT (-40.024065 -2.798862)'))) / (select extract(epoch from '2026-06-13 08:07:08'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.024128 -2.798847)', '2026-06-13 08:07:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024065 -2.798862)'), GeomFromEWKT('SRID=4674;POINT (-40.024128 -2.798847)'))) / (select extract(epoch from '2026-06-13 08:07:23'::timestamp) - extract(epoch from '2026-06-13 08:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024065 -2.798862)'), GeomFromEWKT('SRID=4674;POINT (-40.024128 -2.798847)'))) / (select extract(epoch from '2026-06-13 08:07:23'::timestamp) - extract(epoch from '2026-06-13 08:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024161 -2.79884)', '2026-06-13 08:07:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024128 -2.798847)'), GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.79884)'))) / (select extract(epoch from '2026-06-13 08:07:31'::timestamp) - extract(epoch from '2026-06-13 08:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024128 -2.798847)'), GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.79884)'))) / (select extract(epoch from '2026-06-13 08:07:31'::timestamp) - extract(epoch from '2026-06-13 08:07: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'), 46703, 'SRID=4674;POINT (-40.024162 -2.79886)', '2026-06-13 08:07:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.79884)'), GeomFromEWKT('SRID=4674;POINT (-40.024162 -2.79886)'))) / (select extract(epoch from '2026-06-13 08:07:58'::timestamp) - extract(epoch from '2026-06-13 08:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.79884)'), GeomFromEWKT('SRID=4674;POINT (-40.024162 -2.79886)'))) / (select extract(epoch from '2026-06-13 08:07:58'::timestamp) - extract(epoch from '2026-06-13 08:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024127 -2.798882)', '2026-06-13 08:08:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024162 -2.79886)'), GeomFromEWKT('SRID=4674;POINT (-40.024127 -2.798882)'))) / (select extract(epoch from '2026-06-13 08:08:10'::timestamp) - extract(epoch from '2026-06-13 08:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024162 -2.79886)'), GeomFromEWKT('SRID=4674;POINT (-40.024127 -2.798882)'))) / (select extract(epoch from '2026-06-13 08:08:10'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.024118 -2.798882)', '2026-06-13 08:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024127 -2.798882)'), GeomFromEWKT('SRID=4674;POINT (-40.024118 -2.798882)'))) / (select extract(epoch from '2026-06-13 08:08:23'::timestamp) - extract(epoch from '2026-06-13 08:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024127 -2.798882)'), GeomFromEWKT('SRID=4674;POINT (-40.024118 -2.798882)'))) / (select extract(epoch from '2026-06-13 08:08:23'::timestamp) - extract(epoch from '2026-06-13 08:08: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'), 46703, 'SRID=4674;POINT (-40.02414 -2.798875)', '2026-06-13 08:08:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024118 -2.798882)'), GeomFromEWKT('SRID=4674;POINT (-40.02414 -2.798875)'))) / (select extract(epoch from '2026-06-13 08:08:31'::timestamp) - extract(epoch from '2026-06-13 08:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024118 -2.798882)'), GeomFromEWKT('SRID=4674;POINT (-40.02414 -2.798875)'))) / (select extract(epoch from '2026-06-13 08:08:31'::timestamp) - extract(epoch from '2026-06-13 08:08: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'), 46703, 'SRID=4674;POINT (-40.024153 -2.798875)', '2026-06-13 08:08:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02414 -2.798875)'), GeomFromEWKT('SRID=4674;POINT (-40.024153 -2.798875)'))) / (select extract(epoch from '2026-06-13 08:08:38'::timestamp) - extract(epoch from '2026-06-13 08:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02414 -2.798875)'), GeomFromEWKT('SRID=4674;POINT (-40.024153 -2.798875)'))) / (select extract(epoch from '2026-06-13 08:08:38'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.024149 -2.798875)', '2026-06-13 08:08:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024153 -2.798875)'), GeomFromEWKT('SRID=4674;POINT (-40.024149 -2.798875)'))) / (select extract(epoch from '2026-06-13 08:08:47'::timestamp) - extract(epoch from '2026-06-13 08:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024153 -2.798875)'), GeomFromEWKT('SRID=4674;POINT (-40.024149 -2.798875)'))) / (select extract(epoch from '2026-06-13 08:08:47'::timestamp) - extract(epoch from '2026-06-13 08:08: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'), 46703, 'SRID=4674;POINT (-40.02413 -2.798873)', '2026-06-13 08:08:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024149 -2.798875)'), GeomFromEWKT('SRID=4674;POINT (-40.02413 -2.798873)'))) / (select extract(epoch from '2026-06-13 08:08:55'::timestamp) - extract(epoch from '2026-06-13 08:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024149 -2.798875)'), GeomFromEWKT('SRID=4674;POINT (-40.02413 -2.798873)'))) / (select extract(epoch from '2026-06-13 08:08:55'::timestamp) - extract(epoch from '2026-06-13 08:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024106 -2.798863)', '2026-06-13 08:09:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02413 -2.798873)'), GeomFromEWKT('SRID=4674;POINT (-40.024106 -2.798863)'))) / (select extract(epoch from '2026-06-13 08:09:01'::timestamp) - extract(epoch from '2026-06-13 08:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02413 -2.798873)'), GeomFromEWKT('SRID=4674;POINT (-40.024106 -2.798863)'))) / (select extract(epoch from '2026-06-13 08:09:01'::timestamp) - extract(epoch from '2026-06-13 08:08: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'), 46703, 'SRID=4674;POINT (-40.024111 -2.798858)', '2026-06-13 08:09:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024106 -2.798863)'), GeomFromEWKT('SRID=4674;POINT (-40.024111 -2.798858)'))) / (select extract(epoch from '2026-06-13 08:09:10'::timestamp) - extract(epoch from '2026-06-13 08:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024106 -2.798863)'), GeomFromEWKT('SRID=4674;POINT (-40.024111 -2.798858)'))) / (select extract(epoch from '2026-06-13 08:09:10'::timestamp) - extract(epoch from '2026-06-13 08:09: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'), 46703, 'SRID=4674;POINT (-40.024143 -2.798873)', '2026-06-13 08:09:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024111 -2.798858)'), GeomFromEWKT('SRID=4674;POINT (-40.024143 -2.798873)'))) / (select extract(epoch from '2026-06-13 08:09:17'::timestamp) - extract(epoch from '2026-06-13 08:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024111 -2.798858)'), GeomFromEWKT('SRID=4674;POINT (-40.024143 -2.798873)'))) / (select extract(epoch from '2026-06-13 08:09:17'::timestamp) - extract(epoch from '2026-06-13 08:09: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'), 46703, 'SRID=4674;POINT (-40.024161 -2.798887)', '2026-06-13 08:09:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024143 -2.798873)'), GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.798887)'))) / (select extract(epoch from '2026-06-13 08:09:24'::timestamp) - extract(epoch from '2026-06-13 08:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024143 -2.798873)'), GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.798887)'))) / (select extract(epoch from '2026-06-13 08:09:24'::timestamp) - extract(epoch from '2026-06-13 08:09: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'), 46703, 'SRID=4674;POINT (-40.024173 -2.798878)', '2026-06-13 08:09:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.798887)'), GeomFromEWKT('SRID=4674;POINT (-40.024173 -2.798878)'))) / (select extract(epoch from '2026-06-13 08:09:30'::timestamp) - extract(epoch from '2026-06-13 08:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.798887)'), GeomFromEWKT('SRID=4674;POINT (-40.024173 -2.798878)'))) / (select extract(epoch from '2026-06-13 08:09:30'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.024176 -2.798893)', '2026-06-13 08:09:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024173 -2.798878)'), GeomFromEWKT('SRID=4674;POINT (-40.024176 -2.798893)'))) / (select extract(epoch from '2026-06-13 08:09:43'::timestamp) - extract(epoch from '2026-06-13 08:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024173 -2.798878)'), GeomFromEWKT('SRID=4674;POINT (-40.024176 -2.798893)'))) / (select extract(epoch from '2026-06-13 08:09:43'::timestamp) - extract(epoch from '2026-06-13 08:09: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'), 46703, 'SRID=4674;POINT (-40.024164 -2.798886)', '2026-06-13 08:10:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024176 -2.798893)'), GeomFromEWKT('SRID=4674;POINT (-40.024164 -2.798886)'))) / (select extract(epoch from '2026-06-13 08:10:13'::timestamp) - extract(epoch from '2026-06-13 08:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024176 -2.798893)'), GeomFromEWKT('SRID=4674;POINT (-40.024164 -2.798886)'))) / (select extract(epoch from '2026-06-13 08:10:13'::timestamp) - extract(epoch from '2026-06-13 08:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024084 -2.798874)', '2026-06-13 08:10:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024164 -2.798886)'), GeomFromEWKT('SRID=4674;POINT (-40.024084 -2.798874)'))) / (select extract(epoch from '2026-06-13 08:10:24'::timestamp) - extract(epoch from '2026-06-13 08:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024164 -2.798886)'), GeomFromEWKT('SRID=4674;POINT (-40.024084 -2.798874)'))) / (select extract(epoch from '2026-06-13 08:10:24'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.024014 -2.798859)', '2026-06-13 08:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024084 -2.798874)'), GeomFromEWKT('SRID=4674;POINT (-40.024014 -2.798859)'))) / (select extract(epoch from '2026-06-13 08:10:33'::timestamp) - extract(epoch from '2026-06-13 08:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024084 -2.798874)'), GeomFromEWKT('SRID=4674;POINT (-40.024014 -2.798859)'))) / (select extract(epoch from '2026-06-13 08:10:33'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.023993 -2.798879)', '2026-06-13 08:10:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024014 -2.798859)'), GeomFromEWKT('SRID=4674;POINT (-40.023993 -2.798879)'))) / (select extract(epoch from '2026-06-13 08:10:43'::timestamp) - extract(epoch from '2026-06-13 08:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024014 -2.798859)'), GeomFromEWKT('SRID=4674;POINT (-40.023993 -2.798879)'))) / (select extract(epoch from '2026-06-13 08:10:43'::timestamp) - extract(epoch from '2026-06-13 08:10: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'), 46703, 'SRID=4674;POINT (-40.023968 -2.798902)', '2026-06-13 08:10:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023993 -2.798879)'), GeomFromEWKT('SRID=4674;POINT (-40.023968 -2.798902)'))) / (select extract(epoch from '2026-06-13 08:10:48'::timestamp) - extract(epoch from '2026-06-13 08:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023993 -2.798879)'), GeomFromEWKT('SRID=4674;POINT (-40.023968 -2.798902)'))) / (select extract(epoch from '2026-06-13 08:10:48'::timestamp) - extract(epoch from '2026-06-13 08:10:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023913 -2.798888)', '2026-06-13 08:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023968 -2.798902)'), GeomFromEWKT('SRID=4674;POINT (-40.023913 -2.798888)'))) / (select extract(epoch from '2026-06-13 08:10:55'::timestamp) - extract(epoch from '2026-06-13 08:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023968 -2.798902)'), GeomFromEWKT('SRID=4674;POINT (-40.023913 -2.798888)'))) / (select extract(epoch from '2026-06-13 08:10:55'::timestamp) - extract(epoch from '2026-06-13 08:10: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'), 46703, 'SRID=4674;POINT (-40.023888 -2.798821)', '2026-06-13 08:11:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023913 -2.798888)'), GeomFromEWKT('SRID=4674;POINT (-40.023888 -2.798821)'))) / (select extract(epoch from '2026-06-13 08:11:00'::timestamp) - extract(epoch from '2026-06-13 08:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023913 -2.798888)'), GeomFromEWKT('SRID=4674;POINT (-40.023888 -2.798821)'))) / (select extract(epoch from '2026-06-13 08:11:00'::timestamp) - extract(epoch from '2026-06-13 08:10: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'), 46703, 'SRID=4674;POINT (-40.023884 -2.798737)', '2026-06-13 08:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023888 -2.798821)'), GeomFromEWKT('SRID=4674;POINT (-40.023884 -2.798737)'))) / (select extract(epoch from '2026-06-13 08:11:07'::timestamp) - extract(epoch from '2026-06-13 08:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023888 -2.798821)'), GeomFromEWKT('SRID=4674;POINT (-40.023884 -2.798737)'))) / (select extract(epoch from '2026-06-13 08:11:07'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.023882 -2.798727)', '2026-06-13 08:11:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023884 -2.798737)'), GeomFromEWKT('SRID=4674;POINT (-40.023882 -2.798727)'))) / (select extract(epoch from '2026-06-13 08:11:08'::timestamp) - extract(epoch from '2026-06-13 08:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023884 -2.798737)'), GeomFromEWKT('SRID=4674;POINT (-40.023882 -2.798727)'))) / (select extract(epoch from '2026-06-13 08:11:08'::timestamp) - extract(epoch from '2026-06-13 08:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023871 -2.79867)', '2026-06-13 08:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023882 -2.798727)'), GeomFromEWKT('SRID=4674;POINT (-40.023871 -2.79867)'))) / (select extract(epoch from '2026-06-13 08:11:13'::timestamp) - extract(epoch from '2026-06-13 08:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023882 -2.798727)'), GeomFromEWKT('SRID=4674;POINT (-40.023871 -2.79867)'))) / (select extract(epoch from '2026-06-13 08:11:13'::timestamp) - extract(epoch from '2026-06-13 08:11: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'), 46703, 'SRID=4674;POINT (-40.023863 -2.798578)', '2026-06-13 08:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023871 -2.79867)'), GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.798578)'))) / (select extract(epoch from '2026-06-13 08:11:19'::timestamp) - extract(epoch from '2026-06-13 08:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023871 -2.79867)'), GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.798578)'))) / (select extract(epoch from '2026-06-13 08:11:19'::timestamp) - extract(epoch from '2026-06-13 08:11: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'), 46703, 'SRID=4674;POINT (-40.023856 -2.798474)', '2026-06-13 08:11:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.798578)'), GeomFromEWKT('SRID=4674;POINT (-40.023856 -2.798474)'))) / (select extract(epoch from '2026-06-13 08:11:25'::timestamp) - extract(epoch from '2026-06-13 08:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.798578)'), GeomFromEWKT('SRID=4674;POINT (-40.023856 -2.798474)'))) / (select extract(epoch from '2026-06-13 08:11:25'::timestamp) - extract(epoch from '2026-06-13 08:11:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023853 -2.798373)', '2026-06-13 08:11:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023856 -2.798474)'), GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.798373)'))) / (select extract(epoch from '2026-06-13 08:11:31'::timestamp) - extract(epoch from '2026-06-13 08:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023856 -2.798474)'), GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.798373)'))) / (select extract(epoch from '2026-06-13 08:11:31'::timestamp) - extract(epoch from '2026-06-13 08:11: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'), 46703, 'SRID=4674;POINT (-40.023834 -2.798264)', '2026-06-13 08:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.798373)'), GeomFromEWKT('SRID=4674;POINT (-40.023834 -2.798264)'))) / (select extract(epoch from '2026-06-13 08:11:38'::timestamp) - extract(epoch from '2026-06-13 08:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.798373)'), GeomFromEWKT('SRID=4674;POINT (-40.023834 -2.798264)'))) / (select extract(epoch from '2026-06-13 08:11:38'::timestamp) - extract(epoch from '2026-06-13 08:11: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'), 46703, 'SRID=4674;POINT (-40.023808 -2.79817)', '2026-06-13 08:11:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023834 -2.798264)'), GeomFromEWKT('SRID=4674;POINT (-40.023808 -2.79817)'))) / (select extract(epoch from '2026-06-13 08:11:45'::timestamp) - extract(epoch from '2026-06-13 08:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023834 -2.798264)'), GeomFromEWKT('SRID=4674;POINT (-40.023808 -2.79817)'))) / (select extract(epoch from '2026-06-13 08:11:45'::timestamp) - extract(epoch from '2026-06-13 08:11: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'), 46703, 'SRID=4674;POINT (-40.023768 -2.798096)', '2026-06-13 08:11:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023808 -2.79817)'), GeomFromEWKT('SRID=4674;POINT (-40.023768 -2.798096)'))) / (select extract(epoch from '2026-06-13 08:11:52'::timestamp) - extract(epoch from '2026-06-13 08:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023808 -2.79817)'), GeomFromEWKT('SRID=4674;POINT (-40.023768 -2.798096)'))) / (select extract(epoch from '2026-06-13 08:11:52'::timestamp) - extract(epoch from '2026-06-13 08:11: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'), 46703, 'SRID=4674;POINT (-40.023738 -2.798026)', '2026-06-13 08:12:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023768 -2.798096)'), GeomFromEWKT('SRID=4674;POINT (-40.023738 -2.798026)'))) / (select extract(epoch from '2026-06-13 08:12:00'::timestamp) - extract(epoch from '2026-06-13 08:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023768 -2.798096)'), GeomFromEWKT('SRID=4674;POINT (-40.023738 -2.798026)'))) / (select extract(epoch from '2026-06-13 08:12:00'::timestamp) - extract(epoch from '2026-06-13 08:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023729 -2.797964)', '2026-06-13 08:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023738 -2.798026)'), GeomFromEWKT('SRID=4674;POINT (-40.023729 -2.797964)'))) / (select extract(epoch from '2026-06-13 08:12:08'::timestamp) - extract(epoch from '2026-06-13 08:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023738 -2.798026)'), GeomFromEWKT('SRID=4674;POINT (-40.023729 -2.797964)'))) / (select extract(epoch from '2026-06-13 08:12:08'::timestamp) - extract(epoch from '2026-06-13 08:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023748 -2.797922)', '2026-06-13 08:12:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023729 -2.797964)'), GeomFromEWKT('SRID=4674;POINT (-40.023748 -2.797922)'))) / (select extract(epoch from '2026-06-13 08:12:16'::timestamp) - extract(epoch from '2026-06-13 08:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023729 -2.797964)'), GeomFromEWKT('SRID=4674;POINT (-40.023748 -2.797922)'))) / (select extract(epoch from '2026-06-13 08:12:16'::timestamp) - extract(epoch from '2026-06-13 08:12: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'), 46703, 'SRID=4674;POINT (-40.023776 -2.797901)', '2026-06-13 08:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023748 -2.797922)'), GeomFromEWKT('SRID=4674;POINT (-40.023776 -2.797901)'))) / (select extract(epoch from '2026-06-13 08:12:23'::timestamp) - extract(epoch from '2026-06-13 08:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023748 -2.797922)'), GeomFromEWKT('SRID=4674;POINT (-40.023776 -2.797901)'))) / (select extract(epoch from '2026-06-13 08:12:23'::timestamp) - extract(epoch from '2026-06-13 08:12: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'), 46703, 'SRID=4674;POINT (-40.023822 -2.797888)', '2026-06-13 08:12:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023776 -2.797901)'), GeomFromEWKT('SRID=4674;POINT (-40.023822 -2.797888)'))) / (select extract(epoch from '2026-06-13 08:12:33'::timestamp) - extract(epoch from '2026-06-13 08:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023776 -2.797901)'), GeomFromEWKT('SRID=4674;POINT (-40.023822 -2.797888)'))) / (select extract(epoch from '2026-06-13 08:12:33'::timestamp) - extract(epoch from '2026-06-13 08:12: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'), 46703, 'SRID=4674;POINT (-40.02387 -2.797868)', '2026-06-13 08:12:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023822 -2.797888)'), GeomFromEWKT('SRID=4674;POINT (-40.02387 -2.797868)'))) / (select extract(epoch from '2026-06-13 08:12:44'::timestamp) - extract(epoch from '2026-06-13 08:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023822 -2.797888)'), GeomFromEWKT('SRID=4674;POINT (-40.02387 -2.797868)'))) / (select extract(epoch from '2026-06-13 08:12:44'::timestamp) - extract(epoch from '2026-06-13 08:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023863 -2.797877)', '2026-06-13 08:12:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02387 -2.797868)'), GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.797877)'))) / (select extract(epoch from '2026-06-13 08:12:57'::timestamp) - extract(epoch from '2026-06-13 08:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02387 -2.797868)'), GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.797877)'))) / (select extract(epoch from '2026-06-13 08:12:57'::timestamp) - extract(epoch from '2026-06-13 08:12: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'), 46703, 'SRID=4674;POINT (-40.023858 -2.797869)', '2026-06-13 08:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.797877)'), GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.797869)'))) / (select extract(epoch from '2026-06-13 08:13:13'::timestamp) - extract(epoch from '2026-06-13 08:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.797877)'), GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.797869)'))) / (select extract(epoch from '2026-06-13 08:13:13'::timestamp) - extract(epoch from '2026-06-13 08:12: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'), 46703, 'SRID=4674;POINT (-40.023853 -2.797861)', '2026-06-13 08:13:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.797869)'), GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.797861)'))) / (select extract(epoch from '2026-06-13 08:13:23'::timestamp) - extract(epoch from '2026-06-13 08:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.797869)'), GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.797861)'))) / (select extract(epoch from '2026-06-13 08:13:23'::timestamp) - extract(epoch from '2026-06-13 08:13: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'), 46703, 'SRID=4674;POINT (-40.023851 -2.79787)', '2026-06-13 08:13:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.797861)'), GeomFromEWKT('SRID=4674;POINT (-40.023851 -2.79787)'))) / (select extract(epoch from '2026-06-13 08:13:31'::timestamp) - extract(epoch from '2026-06-13 08:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.797861)'), GeomFromEWKT('SRID=4674;POINT (-40.023851 -2.79787)'))) / (select extract(epoch from '2026-06-13 08:13:31'::timestamp) - extract(epoch from '2026-06-13 08:13: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'), 46703, 'SRID=4674;POINT (-40.023858 -2.79789)', '2026-06-13 08:13:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023851 -2.79787)'), GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.79789)'))) / (select extract(epoch from '2026-06-13 08:13:37'::timestamp) - extract(epoch from '2026-06-13 08:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023851 -2.79787)'), GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.79789)'))) / (select extract(epoch from '2026-06-13 08:13:37'::timestamp) - extract(epoch from '2026-06-13 08:13:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023885 -2.79791)', '2026-06-13 08:13:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.79789)'), GeomFromEWKT('SRID=4674;POINT (-40.023885 -2.79791)'))) / (select extract(epoch from '2026-06-13 08:13:45'::timestamp) - extract(epoch from '2026-06-13 08:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.79789)'), GeomFromEWKT('SRID=4674;POINT (-40.023885 -2.79791)'))) / (select extract(epoch from '2026-06-13 08:13:45'::timestamp) - extract(epoch from '2026-06-13 08:13: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'), 46703, 'SRID=4674;POINT (-40.023886 -2.797914)', '2026-06-13 08:14:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023885 -2.79791)'), GeomFromEWKT('SRID=4674;POINT (-40.023886 -2.797914)'))) / (select extract(epoch from '2026-06-13 08:14:01'::timestamp) - extract(epoch from '2026-06-13 08:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023885 -2.79791)'), GeomFromEWKT('SRID=4674;POINT (-40.023886 -2.797914)'))) / (select extract(epoch from '2026-06-13 08:14:01'::timestamp) - extract(epoch from '2026-06-13 08:13: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'), 46703, 'SRID=4674;POINT (-40.023888 -2.797912)', '2026-06-13 08:14:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023886 -2.797914)'), GeomFromEWKT('SRID=4674;POINT (-40.023888 -2.797912)'))) / (select extract(epoch from '2026-06-13 08:14:16'::timestamp) - extract(epoch from '2026-06-13 08:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023886 -2.797914)'), GeomFromEWKT('SRID=4674;POINT (-40.023888 -2.797912)'))) / (select extract(epoch from '2026-06-13 08:14:16'::timestamp) - extract(epoch from '2026-06-13 08:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023878 -2.797913)', '2026-06-13 08:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023888 -2.797912)'), GeomFromEWKT('SRID=4674;POINT (-40.023878 -2.797913)'))) / (select extract(epoch from '2026-06-13 08:14:39'::timestamp) - extract(epoch from '2026-06-13 08:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023888 -2.797912)'), GeomFromEWKT('SRID=4674;POINT (-40.023878 -2.797913)'))) / (select extract(epoch from '2026-06-13 08:14:39'::timestamp) - extract(epoch from '2026-06-13 08:14:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023815 -2.797935)', '2026-06-13 08:14:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023878 -2.797913)'), GeomFromEWKT('SRID=4674;POINT (-40.023815 -2.797935)'))) / (select extract(epoch from '2026-06-13 08:14:55'::timestamp) - extract(epoch from '2026-06-13 08:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023878 -2.797913)'), GeomFromEWKT('SRID=4674;POINT (-40.023815 -2.797935)'))) / (select extract(epoch from '2026-06-13 08:14:55'::timestamp) - extract(epoch from '2026-06-13 08:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02375 -2.797934)', '2026-06-13 08:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023815 -2.797935)'), GeomFromEWKT('SRID=4674;POINT (-40.02375 -2.797934)'))) / (select extract(epoch from '2026-06-13 08:15:04'::timestamp) - extract(epoch from '2026-06-13 08:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023815 -2.797935)'), GeomFromEWKT('SRID=4674;POINT (-40.02375 -2.797934)'))) / (select extract(epoch from '2026-06-13 08:15:04'::timestamp) - extract(epoch from '2026-06-13 08:14: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'), 46703, 'SRID=4674;POINT (-40.0237 -2.79792)', '2026-06-13 08:15:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02375 -2.797934)'), GeomFromEWKT('SRID=4674;POINT (-40.0237 -2.79792)'))) / (select extract(epoch from '2026-06-13 08:15:14'::timestamp) - extract(epoch from '2026-06-13 08:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02375 -2.797934)'), GeomFromEWKT('SRID=4674;POINT (-40.0237 -2.79792)'))) / (select extract(epoch from '2026-06-13 08:15:14'::timestamp) - extract(epoch from '2026-06-13 08:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023651 -2.797848)', '2026-06-13 08:15:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0237 -2.79792)'), GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.797848)'))) / (select extract(epoch from '2026-06-13 08:15:22'::timestamp) - extract(epoch from '2026-06-13 08:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0237 -2.79792)'), GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.797848)'))) / (select extract(epoch from '2026-06-13 08:15:22'::timestamp) - extract(epoch from '2026-06-13 08:15: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'), 46703, 'SRID=4674;POINT (-40.023619 -2.797736)', '2026-06-13 08:15:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.797848)'), GeomFromEWKT('SRID=4674;POINT (-40.023619 -2.797736)'))) / (select extract(epoch from '2026-06-13 08:15:30'::timestamp) - extract(epoch from '2026-06-13 08:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.797848)'), GeomFromEWKT('SRID=4674;POINT (-40.023619 -2.797736)'))) / (select extract(epoch from '2026-06-13 08:15:30'::timestamp) - extract(epoch from '2026-06-13 08:15: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'), 46703, 'SRID=4674;POINT (-40.023586 -2.797631)', '2026-06-13 08:15:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023619 -2.797736)'), GeomFromEWKT('SRID=4674;POINT (-40.023586 -2.797631)'))) / (select extract(epoch from '2026-06-13 08:15:39'::timestamp) - extract(epoch from '2026-06-13 08:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023619 -2.797736)'), GeomFromEWKT('SRID=4674;POINT (-40.023586 -2.797631)'))) / (select extract(epoch from '2026-06-13 08:15:39'::timestamp) - extract(epoch from '2026-06-13 08:15:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023554 -2.797534)', '2026-06-13 08:15:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023586 -2.797631)'), GeomFromEWKT('SRID=4674;POINT (-40.023554 -2.797534)'))) / (select extract(epoch from '2026-06-13 08:15:46'::timestamp) - extract(epoch from '2026-06-13 08:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023586 -2.797631)'), GeomFromEWKT('SRID=4674;POINT (-40.023554 -2.797534)'))) / (select extract(epoch from '2026-06-13 08:15:46'::timestamp) - extract(epoch from '2026-06-13 08:15: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'), 46703, 'SRID=4674;POINT (-40.023503 -2.797429)', '2026-06-13 08:15:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023554 -2.797534)'), GeomFromEWKT('SRID=4674;POINT (-40.023503 -2.797429)'))) / (select extract(epoch from '2026-06-13 08:15:54'::timestamp) - extract(epoch from '2026-06-13 08:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023554 -2.797534)'), GeomFromEWKT('SRID=4674;POINT (-40.023503 -2.797429)'))) / (select extract(epoch from '2026-06-13 08:15:54'::timestamp) - extract(epoch from '2026-06-13 08:15: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'), 46703, 'SRID=4674;POINT (-40.023447 -2.797304)', '2026-06-13 08:16:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023503 -2.797429)'), GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.797304)'))) / (select extract(epoch from '2026-06-13 08:16:04'::timestamp) - extract(epoch from '2026-06-13 08:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023503 -2.797429)'), GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.797304)'))) / (select extract(epoch from '2026-06-13 08:16:04'::timestamp) - extract(epoch from '2026-06-13 08:15: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'), 46703, 'SRID=4674;POINT (-40.023414 -2.797209)', '2026-06-13 08:16:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.797304)'), GeomFromEWKT('SRID=4674;POINT (-40.023414 -2.797209)'))) / (select extract(epoch from '2026-06-13 08:16:11'::timestamp) - extract(epoch from '2026-06-13 08:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.797304)'), GeomFromEWKT('SRID=4674;POINT (-40.023414 -2.797209)'))) / (select extract(epoch from '2026-06-13 08:16:11'::timestamp) - extract(epoch from '2026-06-13 08:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023365 -2.797085)', '2026-06-13 08:16:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023414 -2.797209)'), GeomFromEWKT('SRID=4674;POINT (-40.023365 -2.797085)'))) / (select extract(epoch from '2026-06-13 08:16:20'::timestamp) - extract(epoch from '2026-06-13 08:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023414 -2.797209)'), GeomFromEWKT('SRID=4674;POINT (-40.023365 -2.797085)'))) / (select extract(epoch from '2026-06-13 08:16:20'::timestamp) - extract(epoch from '2026-06-13 08:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023304 -2.79698)', '2026-06-13 08:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023365 -2.797085)'), GeomFromEWKT('SRID=4674;POINT (-40.023304 -2.79698)'))) / (select extract(epoch from '2026-06-13 08:16:28'::timestamp) - extract(epoch from '2026-06-13 08:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023365 -2.797085)'), GeomFromEWKT('SRID=4674;POINT (-40.023304 -2.79698)'))) / (select extract(epoch from '2026-06-13 08:16:28'::timestamp) - extract(epoch from '2026-06-13 08:16: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'), 46703, 'SRID=4674;POINT (-40.023268 -2.796914)', '2026-06-13 08:16:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023304 -2.79698)'), GeomFromEWKT('SRID=4674;POINT (-40.023268 -2.796914)'))) / (select extract(epoch from '2026-06-13 08:16:34'::timestamp) - extract(epoch from '2026-06-13 08:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023304 -2.79698)'), GeomFromEWKT('SRID=4674;POINT (-40.023268 -2.796914)'))) / (select extract(epoch from '2026-06-13 08:16:34'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.023276 -2.796876)', '2026-06-13 08:16:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023268 -2.796914)'), GeomFromEWKT('SRID=4674;POINT (-40.023276 -2.796876)'))) / (select extract(epoch from '2026-06-13 08:16:40'::timestamp) - extract(epoch from '2026-06-13 08:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023268 -2.796914)'), GeomFromEWKT('SRID=4674;POINT (-40.023276 -2.796876)'))) / (select extract(epoch from '2026-06-13 08:16:40'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.023367 -2.796814)', '2026-06-13 08:17:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023276 -2.796876)'), GeomFromEWKT('SRID=4674;POINT (-40.023367 -2.796814)'))) / (select extract(epoch from '2026-06-13 08:17:04'::timestamp) - extract(epoch from '2026-06-13 08:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023276 -2.796876)'), GeomFromEWKT('SRID=4674;POINT (-40.023367 -2.796814)'))) / (select extract(epoch from '2026-06-13 08:17:04'::timestamp) - extract(epoch from '2026-06-13 08:16: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'), 46703, 'SRID=4674;POINT (-40.023397 -2.796819)', '2026-06-13 08:17:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023367 -2.796814)'), GeomFromEWKT('SRID=4674;POINT (-40.023397 -2.796819)'))) / (select extract(epoch from '2026-06-13 08:17:22'::timestamp) - extract(epoch from '2026-06-13 08:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023367 -2.796814)'), GeomFromEWKT('SRID=4674;POINT (-40.023397 -2.796819)'))) / (select extract(epoch from '2026-06-13 08:17:22'::timestamp) - extract(epoch from '2026-06-13 08:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023405 -2.796846)', '2026-06-13 08:17:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023397 -2.796819)'), GeomFromEWKT('SRID=4674;POINT (-40.023405 -2.796846)'))) / (select extract(epoch from '2026-06-13 08:17:40'::timestamp) - extract(epoch from '2026-06-13 08:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023397 -2.796819)'), GeomFromEWKT('SRID=4674;POINT (-40.023405 -2.796846)'))) / (select extract(epoch from '2026-06-13 08:17:40'::timestamp) - extract(epoch from '2026-06-13 08:17: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'), 46703, 'SRID=4674;POINT (-40.023422 -2.796856)', '2026-06-13 08:17:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023405 -2.796846)'), GeomFromEWKT('SRID=4674;POINT (-40.023422 -2.796856)'))) / (select extract(epoch from '2026-06-13 08:17:55'::timestamp) - extract(epoch from '2026-06-13 08:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023405 -2.796846)'), GeomFromEWKT('SRID=4674;POINT (-40.023422 -2.796856)'))) / (select extract(epoch from '2026-06-13 08:17:55'::timestamp) - extract(epoch from '2026-06-13 08:17: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'), 46703, 'SRID=4674;POINT (-40.023415 -2.79686)', '2026-06-13 08:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023422 -2.796856)'), GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.79686)'))) / (select extract(epoch from '2026-06-13 08:18:03'::timestamp) - extract(epoch from '2026-06-13 08:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023422 -2.796856)'), GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.79686)'))) / (select extract(epoch from '2026-06-13 08:18:03'::timestamp) - extract(epoch from '2026-06-13 08:17: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'), 46703, 'SRID=4674;POINT (-40.023417 -2.796854)', '2026-06-13 08:18:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.79686)'), GeomFromEWKT('SRID=4674;POINT (-40.023417 -2.796854)'))) / (select extract(epoch from '2026-06-13 08:18:19'::timestamp) - extract(epoch from '2026-06-13 08:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.79686)'), GeomFromEWKT('SRID=4674;POINT (-40.023417 -2.796854)'))) / (select extract(epoch from '2026-06-13 08:18:19'::timestamp) - extract(epoch from '2026-06-13 08:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023411 -2.796852)', '2026-06-13 08:18:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023417 -2.796854)'), GeomFromEWKT('SRID=4674;POINT (-40.023411 -2.796852)'))) / (select extract(epoch from '2026-06-13 08:18:32'::timestamp) - extract(epoch from '2026-06-13 08:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023417 -2.796854)'), GeomFromEWKT('SRID=4674;POINT (-40.023411 -2.796852)'))) / (select extract(epoch from '2026-06-13 08:18:32'::timestamp) - extract(epoch from '2026-06-13 08:18: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'), 46703, 'SRID=4674;POINT (-40.023412 -2.796857)', '2026-06-13 08:18:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023411 -2.796852)'), GeomFromEWKT('SRID=4674;POINT (-40.023412 -2.796857)'))) / (select extract(epoch from '2026-06-13 08:18:54'::timestamp) - extract(epoch from '2026-06-13 08:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023411 -2.796852)'), GeomFromEWKT('SRID=4674;POINT (-40.023412 -2.796857)'))) / (select extract(epoch from '2026-06-13 08:18:54'::timestamp) - extract(epoch from '2026-06-13 08:18: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'), 46703, 'SRID=4674;POINT (-40.023415 -2.796858)', '2026-06-13 08:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023412 -2.796857)'), GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.796858)'))) / (select extract(epoch from '2026-06-13 08:19:20'::timestamp) - extract(epoch from '2026-06-13 08:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023412 -2.796857)'), GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.796858)'))) / (select extract(epoch from '2026-06-13 08:19:20'::timestamp) - extract(epoch from '2026-06-13 08:18: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'), 46703, 'SRID=4674;POINT (-40.023399 -2.796867)', '2026-06-13 08:20:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.796858)'), GeomFromEWKT('SRID=4674;POINT (-40.023399 -2.796867)'))) / (select extract(epoch from '2026-06-13 08:20:03'::timestamp) - extract(epoch from '2026-06-13 08:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.796858)'), GeomFromEWKT('SRID=4674;POINT (-40.023399 -2.796867)'))) / (select extract(epoch from '2026-06-13 08:20:03'::timestamp) - extract(epoch from '2026-06-13 08:19: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'), 46703, 'SRID=4674;POINT (-40.023341 -2.79687)', '2026-06-13 08:20:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023399 -2.796867)'), GeomFromEWKT('SRID=4674;POINT (-40.023341 -2.79687)'))) / (select extract(epoch from '2026-06-13 08:20:10'::timestamp) - extract(epoch from '2026-06-13 08:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023399 -2.796867)'), GeomFromEWKT('SRID=4674;POINT (-40.023341 -2.79687)'))) / (select extract(epoch from '2026-06-13 08:20:10'::timestamp) - extract(epoch from '2026-06-13 08:20: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'), 46703, 'SRID=4674;POINT (-40.023245 -2.796883)', '2026-06-13 08:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023341 -2.79687)'), GeomFromEWKT('SRID=4674;POINT (-40.023245 -2.796883)'))) / (select extract(epoch from '2026-06-13 08:20:19'::timestamp) - extract(epoch from '2026-06-13 08:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023341 -2.79687)'), GeomFromEWKT('SRID=4674;POINT (-40.023245 -2.796883)'))) / (select extract(epoch from '2026-06-13 08:20:19'::timestamp) - extract(epoch from '2026-06-13 08:20: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'), 46703, 'SRID=4674;POINT (-40.023189 -2.796877)', '2026-06-13 08:20:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023245 -2.796883)'), GeomFromEWKT('SRID=4674;POINT (-40.023189 -2.796877)'))) / (select extract(epoch from '2026-06-13 08:20:28'::timestamp) - extract(epoch from '2026-06-13 08:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023245 -2.796883)'), GeomFromEWKT('SRID=4674;POINT (-40.023189 -2.796877)'))) / (select extract(epoch from '2026-06-13 08:20:28'::timestamp) - extract(epoch from '2026-06-13 08:20: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'), 46703, 'SRID=4674;POINT (-40.023161 -2.796875)', '2026-06-13 08:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023189 -2.796877)'), GeomFromEWKT('SRID=4674;POINT (-40.023161 -2.796875)'))) / (select extract(epoch from '2026-06-13 08:20:37'::timestamp) - extract(epoch from '2026-06-13 08:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023189 -2.796877)'), GeomFromEWKT('SRID=4674;POINT (-40.023161 -2.796875)'))) / (select extract(epoch from '2026-06-13 08:20:37'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.023069 -2.796865)', '2026-06-13 08:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023161 -2.796875)'), GeomFromEWKT('SRID=4674;POINT (-40.023069 -2.796865)'))) / (select extract(epoch from '2026-06-13 08:20:46'::timestamp) - extract(epoch from '2026-06-13 08:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023161 -2.796875)'), GeomFromEWKT('SRID=4674;POINT (-40.023069 -2.796865)'))) / (select extract(epoch from '2026-06-13 08:20:46'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.022968 -2.796799)', '2026-06-13 08:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023069 -2.796865)'), GeomFromEWKT('SRID=4674;POINT (-40.022968 -2.796799)'))) / (select extract(epoch from '2026-06-13 08:20:55'::timestamp) - extract(epoch from '2026-06-13 08:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023069 -2.796865)'), GeomFromEWKT('SRID=4674;POINT (-40.022968 -2.796799)'))) / (select extract(epoch from '2026-06-13 08:20:55'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.022916 -2.796756)', '2026-06-13 08:21:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022968 -2.796799)'), GeomFromEWKT('SRID=4674;POINT (-40.022916 -2.796756)'))) / (select extract(epoch from '2026-06-13 08:21:01'::timestamp) - extract(epoch from '2026-06-13 08:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022968 -2.796799)'), GeomFromEWKT('SRID=4674;POINT (-40.022916 -2.796756)'))) / (select extract(epoch from '2026-06-13 08:21:01'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.022851 -2.796703)', '2026-06-13 08:21:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022916 -2.796756)'), GeomFromEWKT('SRID=4674;POINT (-40.022851 -2.796703)'))) / (select extract(epoch from '2026-06-13 08:21:09'::timestamp) - extract(epoch from '2026-06-13 08:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022916 -2.796756)'), GeomFromEWKT('SRID=4674;POINT (-40.022851 -2.796703)'))) / (select extract(epoch from '2026-06-13 08:21:09'::timestamp) - extract(epoch from '2026-06-13 08:21: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'), 46703, 'SRID=4674;POINT (-40.02275 -2.796629)', '2026-06-13 08:21:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022851 -2.796703)'), GeomFromEWKT('SRID=4674;POINT (-40.02275 -2.796629)'))) / (select extract(epoch from '2026-06-13 08:21:19'::timestamp) - extract(epoch from '2026-06-13 08:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022851 -2.796703)'), GeomFromEWKT('SRID=4674;POINT (-40.02275 -2.796629)'))) / (select extract(epoch from '2026-06-13 08:21:19'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.022653 -2.7966)', '2026-06-13 08:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02275 -2.796629)'), GeomFromEWKT('SRID=4674;POINT (-40.022653 -2.7966)'))) / (select extract(epoch from '2026-06-13 08:21:27'::timestamp) - extract(epoch from '2026-06-13 08:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02275 -2.796629)'), GeomFromEWKT('SRID=4674;POINT (-40.022653 -2.7966)'))) / (select extract(epoch from '2026-06-13 08:21:27'::timestamp) - extract(epoch from '2026-06-13 08:21: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'), 46703, 'SRID=4674;POINT (-40.022566 -2.796565)', '2026-06-13 08:21:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022653 -2.7966)'), GeomFromEWKT('SRID=4674;POINT (-40.022566 -2.796565)'))) / (select extract(epoch from '2026-06-13 08:21:35'::timestamp) - extract(epoch from '2026-06-13 08:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022653 -2.7966)'), GeomFromEWKT('SRID=4674;POINT (-40.022566 -2.796565)'))) / (select extract(epoch from '2026-06-13 08:21:35'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.022514 -2.796521)', '2026-06-13 08:21:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022566 -2.796565)'), GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.796521)'))) / (select extract(epoch from '2026-06-13 08:21:41'::timestamp) - extract(epoch from '2026-06-13 08:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022566 -2.796565)'), GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.796521)'))) / (select extract(epoch from '2026-06-13 08:21:41'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.022462 -2.796439)', '2026-06-13 08:21:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.796521)'), GeomFromEWKT('SRID=4674;POINT (-40.022462 -2.796439)'))) / (select extract(epoch from '2026-06-13 08:21:49'::timestamp) - extract(epoch from '2026-06-13 08:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.796521)'), GeomFromEWKT('SRID=4674;POINT (-40.022462 -2.796439)'))) / (select extract(epoch from '2026-06-13 08:21:49'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.02241 -2.796372)', '2026-06-13 08:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022462 -2.796439)'), GeomFromEWKT('SRID=4674;POINT (-40.02241 -2.796372)'))) / (select extract(epoch from '2026-06-13 08:21:56'::timestamp) - extract(epoch from '2026-06-13 08:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022462 -2.796439)'), GeomFromEWKT('SRID=4674;POINT (-40.02241 -2.796372)'))) / (select extract(epoch from '2026-06-13 08:21:56'::timestamp) - extract(epoch from '2026-06-13 08:21: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'), 46703, 'SRID=4674;POINT (-40.022347 -2.796302)', '2026-06-13 08:22:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02241 -2.796372)'), GeomFromEWKT('SRID=4674;POINT (-40.022347 -2.796302)'))) / (select extract(epoch from '2026-06-13 08:22:04'::timestamp) - extract(epoch from '2026-06-13 08:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02241 -2.796372)'), GeomFromEWKT('SRID=4674;POINT (-40.022347 -2.796302)'))) / (select extract(epoch from '2026-06-13 08:22:04'::timestamp) - extract(epoch from '2026-06-13 08:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.022274 -2.796271)', '2026-06-13 08:22:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022347 -2.796302)'), GeomFromEWKT('SRID=4674;POINT (-40.022274 -2.796271)'))) / (select extract(epoch from '2026-06-13 08:22:11'::timestamp) - extract(epoch from '2026-06-13 08:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022347 -2.796302)'), GeomFromEWKT('SRID=4674;POINT (-40.022274 -2.796271)'))) / (select extract(epoch from '2026-06-13 08:22:11'::timestamp) - extract(epoch from '2026-06-13 08:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.022181 -2.796251)', '2026-06-13 08:22:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022274 -2.796271)'), GeomFromEWKT('SRID=4674;POINT (-40.022181 -2.796251)'))) / (select extract(epoch from '2026-06-13 08:22:18'::timestamp) - extract(epoch from '2026-06-13 08:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022274 -2.796271)'), GeomFromEWKT('SRID=4674;POINT (-40.022181 -2.796251)'))) / (select extract(epoch from '2026-06-13 08:22:18'::timestamp) - extract(epoch from '2026-06-13 08:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.022101 -2.79623)', '2026-06-13 08:22:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022181 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.79623)'))) / (select extract(epoch from '2026-06-13 08:22:26'::timestamp) - extract(epoch from '2026-06-13 08:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022181 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.79623)'))) / (select extract(epoch from '2026-06-13 08:22:26'::timestamp) - extract(epoch from '2026-06-13 08:22: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'), 46703, 'SRID=4674;POINT (-40.022048 -2.796204)', '2026-06-13 08:22:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.79623)'), GeomFromEWKT('SRID=4674;POINT (-40.022048 -2.796204)'))) / (select extract(epoch from '2026-06-13 08:22:32'::timestamp) - extract(epoch from '2026-06-13 08:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.79623)'), GeomFromEWKT('SRID=4674;POINT (-40.022048 -2.796204)'))) / (select extract(epoch from '2026-06-13 08:22:32'::timestamp) - extract(epoch from '2026-06-13 08:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.021974 -2.796154)', '2026-06-13 08:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022048 -2.796204)'), GeomFromEWKT('SRID=4674;POINT (-40.021974 -2.796154)'))) / (select extract(epoch from '2026-06-13 08:22:40'::timestamp) - extract(epoch from '2026-06-13 08:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022048 -2.796204)'), GeomFromEWKT('SRID=4674;POINT (-40.021974 -2.796154)'))) / (select extract(epoch from '2026-06-13 08:22:40'::timestamp) - extract(epoch from '2026-06-13 08:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.021911 -2.796108)', '2026-06-13 08:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021974 -2.796154)'), GeomFromEWKT('SRID=4674;POINT (-40.021911 -2.796108)'))) / (select extract(epoch from '2026-06-13 08:22:47'::timestamp) - extract(epoch from '2026-06-13 08:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021974 -2.796154)'), GeomFromEWKT('SRID=4674;POINT (-40.021911 -2.796108)'))) / (select extract(epoch from '2026-06-13 08:22:47'::timestamp) - extract(epoch from '2026-06-13 08:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.021852 -2.796084)', '2026-06-13 08:22:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021911 -2.796108)'), GeomFromEWKT('SRID=4674;POINT (-40.021852 -2.796084)'))) / (select extract(epoch from '2026-06-13 08:22:53'::timestamp) - extract(epoch from '2026-06-13 08:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021911 -2.796108)'), GeomFromEWKT('SRID=4674;POINT (-40.021852 -2.796084)'))) / (select extract(epoch from '2026-06-13 08:22:53'::timestamp) - extract(epoch from '2026-06-13 08:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.021786 -2.796044)', '2026-06-13 08:23:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021852 -2.796084)'), GeomFromEWKT('SRID=4674;POINT (-40.021786 -2.796044)'))) / (select extract(epoch from '2026-06-13 08:23:00'::timestamp) - extract(epoch from '2026-06-13 08:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021852 -2.796084)'), GeomFromEWKT('SRID=4674;POINT (-40.021786 -2.796044)'))) / (select extract(epoch from '2026-06-13 08:23:00'::timestamp) - extract(epoch from '2026-06-13 08:22: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'), 46703, 'SRID=4674;POINT (-40.021687 -2.795976)', '2026-06-13 08:23:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021786 -2.796044)'), GeomFromEWKT('SRID=4674;POINT (-40.021687 -2.795976)'))) / (select extract(epoch from '2026-06-13 08:23:09'::timestamp) - extract(epoch from '2026-06-13 08:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021786 -2.796044)'), GeomFromEWKT('SRID=4674;POINT (-40.021687 -2.795976)'))) / (select extract(epoch from '2026-06-13 08:23:09'::timestamp) - extract(epoch from '2026-06-13 08:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.021637 -2.795952)', '2026-06-13 08:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021687 -2.795976)'), GeomFromEWKT('SRID=4674;POINT (-40.021637 -2.795952)'))) / (select extract(epoch from '2026-06-13 08:23:14'::timestamp) - extract(epoch from '2026-06-13 08:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021687 -2.795976)'), GeomFromEWKT('SRID=4674;POINT (-40.021637 -2.795952)'))) / (select extract(epoch from '2026-06-13 08:23:14'::timestamp) - extract(epoch from '2026-06-13 08:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.021627 -2.795947)', '2026-06-13 08:23:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021637 -2.795952)'), GeomFromEWKT('SRID=4674;POINT (-40.021627 -2.795947)'))) / (select extract(epoch from '2026-06-13 08:23:15'::timestamp) - extract(epoch from '2026-06-13 08:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021637 -2.795952)'), GeomFromEWKT('SRID=4674;POINT (-40.021627 -2.795947)'))) / (select extract(epoch from '2026-06-13 08:23:15'::timestamp) - extract(epoch from '2026-06-13 08:23: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'), 46703, 'SRID=4674;POINT (-40.021555 -2.795908)', '2026-06-13 08:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021627 -2.795947)'), GeomFromEWKT('SRID=4674;POINT (-40.021555 -2.795908)'))) / (select extract(epoch from '2026-06-13 08:23:22'::timestamp) - extract(epoch from '2026-06-13 08:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021627 -2.795947)'), GeomFromEWKT('SRID=4674;POINT (-40.021555 -2.795908)'))) / (select extract(epoch from '2026-06-13 08:23:22'::timestamp) - extract(epoch from '2026-06-13 08:23: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'), 46703, 'SRID=4674;POINT (-40.021471 -2.79586)', '2026-06-13 08:23:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021555 -2.795908)'), GeomFromEWKT('SRID=4674;POINT (-40.021471 -2.79586)'))) / (select extract(epoch from '2026-06-13 08:23:30'::timestamp) - extract(epoch from '2026-06-13 08:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021555 -2.795908)'), GeomFromEWKT('SRID=4674;POINT (-40.021471 -2.79586)'))) / (select extract(epoch from '2026-06-13 08:23:30'::timestamp) - extract(epoch from '2026-06-13 08:23: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'), 46703, 'SRID=4674;POINT (-40.02138 -2.795794)', '2026-06-13 08:23:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021471 -2.79586)'), GeomFromEWKT('SRID=4674;POINT (-40.02138 -2.795794)'))) / (select extract(epoch from '2026-06-13 08:23:39'::timestamp) - extract(epoch from '2026-06-13 08:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021471 -2.79586)'), GeomFromEWKT('SRID=4674;POINT (-40.02138 -2.795794)'))) / (select extract(epoch from '2026-06-13 08:23:39'::timestamp) - extract(epoch from '2026-06-13 08:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.021317 -2.795733)', '2026-06-13 08:23:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02138 -2.795794)'), GeomFromEWKT('SRID=4674;POINT (-40.021317 -2.795733)'))) / (select extract(epoch from '2026-06-13 08:23:46'::timestamp) - extract(epoch from '2026-06-13 08:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02138 -2.795794)'), GeomFromEWKT('SRID=4674;POINT (-40.021317 -2.795733)'))) / (select extract(epoch from '2026-06-13 08:23:46'::timestamp) - extract(epoch from '2026-06-13 08:23: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'), 46703, 'SRID=4674;POINT (-40.021254 -2.795663)', '2026-06-13 08:23:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021317 -2.795733)'), GeomFromEWKT('SRID=4674;POINT (-40.021254 -2.795663)'))) / (select extract(epoch from '2026-06-13 08:23:54'::timestamp) - extract(epoch from '2026-06-13 08:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021317 -2.795733)'), GeomFromEWKT('SRID=4674;POINT (-40.021254 -2.795663)'))) / (select extract(epoch from '2026-06-13 08:23:54'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.021178 -2.795609)', '2026-06-13 08:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021254 -2.795663)'), GeomFromEWKT('SRID=4674;POINT (-40.021178 -2.795609)'))) / (select extract(epoch from '2026-06-13 08:24:01'::timestamp) - extract(epoch from '2026-06-13 08:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021254 -2.795663)'), GeomFromEWKT('SRID=4674;POINT (-40.021178 -2.795609)'))) / (select extract(epoch from '2026-06-13 08:24:01'::timestamp) - extract(epoch from '2026-06-13 08:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02107 -2.79555)', '2026-06-13 08:24:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021178 -2.795609)'), GeomFromEWKT('SRID=4674;POINT (-40.02107 -2.79555)'))) / (select extract(epoch from '2026-06-13 08:24:10'::timestamp) - extract(epoch from '2026-06-13 08:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021178 -2.795609)'), GeomFromEWKT('SRID=4674;POINT (-40.02107 -2.79555)'))) / (select extract(epoch from '2026-06-13 08:24:10'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.020985 -2.795501)', '2026-06-13 08:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02107 -2.79555)'), GeomFromEWKT('SRID=4674;POINT (-40.020985 -2.795501)'))) / (select extract(epoch from '2026-06-13 08:24:17'::timestamp) - extract(epoch from '2026-06-13 08:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02107 -2.79555)'), GeomFromEWKT('SRID=4674;POINT (-40.020985 -2.795501)'))) / (select extract(epoch from '2026-06-13 08:24:17'::timestamp) - extract(epoch from '2026-06-13 08:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
