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'), 47628, 'SRID=4674;POINT (-40.042722 -2.839062)', '2026-07-13 06:34:35', 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'), 47628, 'SRID=4674;POINT (-40.042832 -2.838835)', '2026-07-13 06:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042722 -2.839062)'), GeomFromEWKT('SRID=4674;POINT (-40.042832 -2.838835)'))) / (select extract(epoch from '2026-07-13 06:34:47'::timestamp) - extract(epoch from '2026-07-13 06:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042722 -2.839062)'), GeomFromEWKT('SRID=4674;POINT (-40.042832 -2.838835)'))) / (select extract(epoch from '2026-07-13 06:34:47'::timestamp) - extract(epoch from '2026-07-13 06:34: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'), 47628, 'SRID=4674;POINT (-40.042854 -2.838756)', '2026-07-13 06:34:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042832 -2.838835)'), GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.838756)'))) / (select extract(epoch from '2026-07-13 06:34:52'::timestamp) - extract(epoch from '2026-07-13 06:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042832 -2.838835)'), GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.838756)'))) / (select extract(epoch from '2026-07-13 06:34:52'::timestamp) - extract(epoch from '2026-07-13 06:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.042863 -2.838702)', '2026-07-13 06:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.838756)'), GeomFromEWKT('SRID=4674;POINT (-40.042863 -2.838702)'))) / (select extract(epoch from '2026-07-13 06:34:55'::timestamp) - extract(epoch from '2026-07-13 06:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.838756)'), GeomFromEWKT('SRID=4674;POINT (-40.042863 -2.838702)'))) / (select extract(epoch from '2026-07-13 06:34:55'::timestamp) - extract(epoch from '2026-07-13 06: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'), 47628, 'SRID=4674;POINT (-40.04287 -2.838647)', '2026-07-13 06:34:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042863 -2.838702)'), GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.838647)'))) / (select extract(epoch from '2026-07-13 06:34:58'::timestamp) - extract(epoch from '2026-07-13 06:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042863 -2.838702)'), GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.838647)'))) / (select extract(epoch from '2026-07-13 06:34:58'::timestamp) - extract(epoch from '2026-07-13 06: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'), 47628, 'SRID=4674;POINT (-40.042831 -2.838514)', '2026-07-13 06:35:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.838647)'), GeomFromEWKT('SRID=4674;POINT (-40.042831 -2.838514)'))) / (select extract(epoch from '2026-07-13 06:35:07'::timestamp) - extract(epoch from '2026-07-13 06:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.838647)'), GeomFromEWKT('SRID=4674;POINT (-40.042831 -2.838514)'))) / (select extract(epoch from '2026-07-13 06:35:07'::timestamp) - extract(epoch from '2026-07-13 06:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.042706 -2.838354)', '2026-07-13 06:35:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042831 -2.838514)'), GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.838354)'))) / (select extract(epoch from '2026-07-13 06:35:17'::timestamp) - extract(epoch from '2026-07-13 06:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042831 -2.838514)'), GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.838354)'))) / (select extract(epoch from '2026-07-13 06:35:17'::timestamp) - extract(epoch from '2026-07-13 06:35: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'), 47628, 'SRID=4674;POINT (-40.042568 -2.83827)', '2026-07-13 06:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.838354)'), GeomFromEWKT('SRID=4674;POINT (-40.042568 -2.83827)'))) / (select extract(epoch from '2026-07-13 06:35:24'::timestamp) - extract(epoch from '2026-07-13 06:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.838354)'), GeomFromEWKT('SRID=4674;POINT (-40.042568 -2.83827)'))) / (select extract(epoch from '2026-07-13 06:35:24'::timestamp) - extract(epoch from '2026-07-13 06:35: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'), 47628, 'SRID=4674;POINT (-40.042412 -2.838129)', '2026-07-13 06:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042568 -2.83827)'), GeomFromEWKT('SRID=4674;POINT (-40.042412 -2.838129)'))) / (select extract(epoch from '2026-07-13 06:35:33'::timestamp) - extract(epoch from '2026-07-13 06:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042568 -2.83827)'), GeomFromEWKT('SRID=4674;POINT (-40.042412 -2.838129)'))) / (select extract(epoch from '2026-07-13 06:35:33'::timestamp) - extract(epoch from '2026-07-13 06: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'), 47628, 'SRID=4674;POINT (-40.042268 -2.837932)', '2026-07-13 06:35:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042412 -2.838129)'), GeomFromEWKT('SRID=4674;POINT (-40.042268 -2.837932)'))) / (select extract(epoch from '2026-07-13 06:35:43'::timestamp) - extract(epoch from '2026-07-13 06:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042412 -2.838129)'), GeomFromEWKT('SRID=4674;POINT (-40.042268 -2.837932)'))) / (select extract(epoch from '2026-07-13 06:35:43'::timestamp) - extract(epoch from '2026-07-13 06: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'), 47628, 'SRID=4674;POINT (-40.042179 -2.837777)', '2026-07-13 06:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042268 -2.837932)'), GeomFromEWKT('SRID=4674;POINT (-40.042179 -2.837777)'))) / (select extract(epoch from '2026-07-13 06:35:51'::timestamp) - extract(epoch from '2026-07-13 06:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042268 -2.837932)'), GeomFromEWKT('SRID=4674;POINT (-40.042179 -2.837777)'))) / (select extract(epoch from '2026-07-13 06:35:51'::timestamp) - extract(epoch from '2026-07-13 06:35: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'), 47628, 'SRID=4674;POINT (-40.042066 -2.83757)', '2026-07-13 06:36:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042179 -2.837777)'), GeomFromEWKT('SRID=4674;POINT (-40.042066 -2.83757)'))) / (select extract(epoch from '2026-07-13 06:36:02'::timestamp) - extract(epoch from '2026-07-13 06:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042179 -2.837777)'), GeomFromEWKT('SRID=4674;POINT (-40.042066 -2.83757)'))) / (select extract(epoch from '2026-07-13 06:36:02'::timestamp) - extract(epoch from '2026-07-13 06:35: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'), 47628, 'SRID=4674;POINT (-40.041936 -2.837359)', '2026-07-13 06:36:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042066 -2.83757)'), GeomFromEWKT('SRID=4674;POINT (-40.041936 -2.837359)'))) / (select extract(epoch from '2026-07-13 06:36:14'::timestamp) - extract(epoch from '2026-07-13 06:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042066 -2.83757)'), GeomFromEWKT('SRID=4674;POINT (-40.041936 -2.837359)'))) / (select extract(epoch from '2026-07-13 06:36:14'::timestamp) - extract(epoch from '2026-07-13 06:36:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.041841 -2.837227)', '2026-07-13 06:36:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041936 -2.837359)'), GeomFromEWKT('SRID=4674;POINT (-40.041841 -2.837227)'))) / (select extract(epoch from '2026-07-13 06:36:22'::timestamp) - extract(epoch from '2026-07-13 06:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041936 -2.837359)'), GeomFromEWKT('SRID=4674;POINT (-40.041841 -2.837227)'))) / (select extract(epoch from '2026-07-13 06:36:22'::timestamp) - extract(epoch from '2026-07-13 06:36: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'), 47628, 'SRID=4674;POINT (-40.041735 -2.837067)', '2026-07-13 06:36:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041841 -2.837227)'), GeomFromEWKT('SRID=4674;POINT (-40.041735 -2.837067)'))) / (select extract(epoch from '2026-07-13 06:36:31'::timestamp) - extract(epoch from '2026-07-13 06:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041841 -2.837227)'), GeomFromEWKT('SRID=4674;POINT (-40.041735 -2.837067)'))) / (select extract(epoch from '2026-07-13 06:36:31'::timestamp) - extract(epoch from '2026-07-13 06:36: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'), 47628, 'SRID=4674;POINT (-40.041633 -2.836874)', '2026-07-13 06:36:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041735 -2.837067)'), GeomFromEWKT('SRID=4674;POINT (-40.041633 -2.836874)'))) / (select extract(epoch from '2026-07-13 06:36:41'::timestamp) - extract(epoch from '2026-07-13 06:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041735 -2.837067)'), GeomFromEWKT('SRID=4674;POINT (-40.041633 -2.836874)'))) / (select extract(epoch from '2026-07-13 06:36:41'::timestamp) - extract(epoch from '2026-07-13 06:36: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'), 47628, 'SRID=4674;POINT (-40.041541 -2.836704)', '2026-07-13 06:36:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041633 -2.836874)'), GeomFromEWKT('SRID=4674;POINT (-40.041541 -2.836704)'))) / (select extract(epoch from '2026-07-13 06:36:50'::timestamp) - extract(epoch from '2026-07-13 06:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041633 -2.836874)'), GeomFromEWKT('SRID=4674;POINT (-40.041541 -2.836704)'))) / (select extract(epoch from '2026-07-13 06:36:50'::timestamp) - extract(epoch from '2026-07-13 06:36: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'), 47628, 'SRID=4674;POINT (-40.041487 -2.836583)', '2026-07-13 06:36:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041541 -2.836704)'), GeomFromEWKT('SRID=4674;POINT (-40.041487 -2.836583)'))) / (select extract(epoch from '2026-07-13 06:36:56'::timestamp) - extract(epoch from '2026-07-13 06:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041541 -2.836704)'), GeomFromEWKT('SRID=4674;POINT (-40.041487 -2.836583)'))) / (select extract(epoch from '2026-07-13 06:36:56'::timestamp) - extract(epoch from '2026-07-13 06:36: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'), 47628, 'SRID=4674;POINT (-40.041413 -2.836426)', '2026-07-13 06:37:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041487 -2.836583)'), GeomFromEWKT('SRID=4674;POINT (-40.041413 -2.836426)'))) / (select extract(epoch from '2026-07-13 06:37:04'::timestamp) - extract(epoch from '2026-07-13 06:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041487 -2.836583)'), GeomFromEWKT('SRID=4674;POINT (-40.041413 -2.836426)'))) / (select extract(epoch from '2026-07-13 06:37:04'::timestamp) - extract(epoch from '2026-07-13 06:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.041337 -2.83629)', '2026-07-13 06:37:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041413 -2.836426)'), GeomFromEWKT('SRID=4674;POINT (-40.041337 -2.83629)'))) / (select extract(epoch from '2026-07-13 06:37:11'::timestamp) - extract(epoch from '2026-07-13 06:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041413 -2.836426)'), GeomFromEWKT('SRID=4674;POINT (-40.041337 -2.83629)'))) / (select extract(epoch from '2026-07-13 06:37:11'::timestamp) - extract(epoch from '2026-07-13 06:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.041263 -2.836111)', '2026-07-13 06:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041337 -2.83629)'), GeomFromEWKT('SRID=4674;POINT (-40.041263 -2.836111)'))) / (select extract(epoch from '2026-07-13 06:37:20'::timestamp) - extract(epoch from '2026-07-13 06:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041337 -2.83629)'), GeomFromEWKT('SRID=4674;POINT (-40.041263 -2.836111)'))) / (select extract(epoch from '2026-07-13 06:37:20'::timestamp) - extract(epoch from '2026-07-13 06:37: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'), 47628, 'SRID=4674;POINT (-40.041168 -2.835886)', '2026-07-13 06:37:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041263 -2.836111)'), GeomFromEWKT('SRID=4674;POINT (-40.041168 -2.835886)'))) / (select extract(epoch from '2026-07-13 06:37:31'::timestamp) - extract(epoch from '2026-07-13 06:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041263 -2.836111)'), GeomFromEWKT('SRID=4674;POINT (-40.041168 -2.835886)'))) / (select extract(epoch from '2026-07-13 06:37:31'::timestamp) - extract(epoch from '2026-07-13 06:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.04109 -2.835751)', '2026-07-13 06:37:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041168 -2.835886)'), GeomFromEWKT('SRID=4674;POINT (-40.04109 -2.835751)'))) / (select extract(epoch from '2026-07-13 06:37:37'::timestamp) - extract(epoch from '2026-07-13 06:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041168 -2.835886)'), GeomFromEWKT('SRID=4674;POINT (-40.04109 -2.835751)'))) / (select extract(epoch from '2026-07-13 06:37:37'::timestamp) - extract(epoch from '2026-07-13 06:37: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'), 47628, 'SRID=4674;POINT (-40.041011 -2.835596)', '2026-07-13 06:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04109 -2.835751)'), GeomFromEWKT('SRID=4674;POINT (-40.041011 -2.835596)'))) / (select extract(epoch from '2026-07-13 06:37:45'::timestamp) - extract(epoch from '2026-07-13 06:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04109 -2.835751)'), GeomFromEWKT('SRID=4674;POINT (-40.041011 -2.835596)'))) / (select extract(epoch from '2026-07-13 06:37:45'::timestamp) - extract(epoch from '2026-07-13 06: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'), 47628, 'SRID=4674;POINT (-40.040948 -2.83548)', '2026-07-13 06:37:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041011 -2.835596)'), GeomFromEWKT('SRID=4674;POINT (-40.040948 -2.83548)'))) / (select extract(epoch from '2026-07-13 06:37:51'::timestamp) - extract(epoch from '2026-07-13 06:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041011 -2.835596)'), GeomFromEWKT('SRID=4674;POINT (-40.040948 -2.83548)'))) / (select extract(epoch from '2026-07-13 06:37:51'::timestamp) - extract(epoch from '2026-07-13 06:37:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040885 -2.835292)', '2026-07-13 06:38:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040948 -2.83548)'), GeomFromEWKT('SRID=4674;POINT (-40.040885 -2.835292)'))) / (select extract(epoch from '2026-07-13 06:38:00'::timestamp) - extract(epoch from '2026-07-13 06:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040948 -2.83548)'), GeomFromEWKT('SRID=4674;POINT (-40.040885 -2.835292)'))) / (select extract(epoch from '2026-07-13 06:38:00'::timestamp) - extract(epoch from '2026-07-13 06:37: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'), 47628, 'SRID=4674;POINT (-40.040845 -2.835163)', '2026-07-13 06:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040885 -2.835292)'), GeomFromEWKT('SRID=4674;POINT (-40.040845 -2.835163)'))) / (select extract(epoch from '2026-07-13 06:38:06'::timestamp) - extract(epoch from '2026-07-13 06:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040885 -2.835292)'), GeomFromEWKT('SRID=4674;POINT (-40.040845 -2.835163)'))) / (select extract(epoch from '2026-07-13 06:38:06'::timestamp) - extract(epoch from '2026-07-13 06:38:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040791 -2.834995)', '2026-07-13 06:38:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040845 -2.835163)'), GeomFromEWKT('SRID=4674;POINT (-40.040791 -2.834995)'))) / (select extract(epoch from '2026-07-13 06:38:14'::timestamp) - extract(epoch from '2026-07-13 06:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040845 -2.835163)'), GeomFromEWKT('SRID=4674;POINT (-40.040791 -2.834995)'))) / (select extract(epoch from '2026-07-13 06:38:14'::timestamp) - extract(epoch from '2026-07-13 06:38: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'), 47628, 'SRID=4674;POINT (-40.040689 -2.834759)', '2026-07-13 06:38:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040791 -2.834995)'), GeomFromEWKT('SRID=4674;POINT (-40.040689 -2.834759)'))) / (select extract(epoch from '2026-07-13 06:38:26'::timestamp) - extract(epoch from '2026-07-13 06:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040791 -2.834995)'), GeomFromEWKT('SRID=4674;POINT (-40.040689 -2.834759)'))) / (select extract(epoch from '2026-07-13 06:38:26'::timestamp) - extract(epoch from '2026-07-13 06:38: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'), 47628, 'SRID=4674;POINT (-40.040604 -2.834611)', '2026-07-13 06:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040689 -2.834759)'), GeomFromEWKT('SRID=4674;POINT (-40.040604 -2.834611)'))) / (select extract(epoch from '2026-07-13 06:38:34'::timestamp) - extract(epoch from '2026-07-13 06:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040689 -2.834759)'), GeomFromEWKT('SRID=4674;POINT (-40.040604 -2.834611)'))) / (select extract(epoch from '2026-07-13 06:38:34'::timestamp) - extract(epoch from '2026-07-13 06:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040559 -2.83445)', '2026-07-13 06:38:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040604 -2.834611)'), GeomFromEWKT('SRID=4674;POINT (-40.040559 -2.83445)'))) / (select extract(epoch from '2026-07-13 06:38:42'::timestamp) - extract(epoch from '2026-07-13 06:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040604 -2.834611)'), GeomFromEWKT('SRID=4674;POINT (-40.040559 -2.83445)'))) / (select extract(epoch from '2026-07-13 06:38:42'::timestamp) - extract(epoch from '2026-07-13 06:38: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'), 47628, 'SRID=4674;POINT (-40.04051 -2.834305)', '2026-07-13 06:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040559 -2.83445)'), GeomFromEWKT('SRID=4674;POINT (-40.04051 -2.834305)'))) / (select extract(epoch from '2026-07-13 06:38:50'::timestamp) - extract(epoch from '2026-07-13 06:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040559 -2.83445)'), GeomFromEWKT('SRID=4674;POINT (-40.04051 -2.834305)'))) / (select extract(epoch from '2026-07-13 06:38:50'::timestamp) - extract(epoch from '2026-07-13 06: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'), 47628, 'SRID=4674;POINT (-40.032525 -2.819425)', '2026-07-13 06:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04051 -2.834305)'), GeomFromEWKT('SRID=4674;POINT (-40.032525 -2.819425)'))) / (select extract(epoch from '2026-07-13 06:52:09'::timestamp) - extract(epoch from '2026-07-13 06:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04051 -2.834305)'), GeomFromEWKT('SRID=4674;POINT (-40.032525 -2.819425)'))) / (select extract(epoch from '2026-07-13 06:52:09'::timestamp) - extract(epoch from '2026-07-13 06: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'), 47628, 'SRID=4674;POINT (-40.032443 -2.819406)', '2026-07-13 06:52:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032525 -2.819425)'), GeomFromEWKT('SRID=4674;POINT (-40.032443 -2.819406)'))) / (select extract(epoch from '2026-07-13 06:52:17'::timestamp) - extract(epoch from '2026-07-13 06:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032525 -2.819425)'), GeomFromEWKT('SRID=4674;POINT (-40.032443 -2.819406)'))) / (select extract(epoch from '2026-07-13 06:52:17'::timestamp) - extract(epoch from '2026-07-13 06:52: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'), 47628, 'SRID=4674;POINT (-40.032403 -2.819319)', '2026-07-13 06:52:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032443 -2.819406)'), GeomFromEWKT('SRID=4674;POINT (-40.032403 -2.819319)'))) / (select extract(epoch from '2026-07-13 06:52:22'::timestamp) - extract(epoch from '2026-07-13 06:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032443 -2.819406)'), GeomFromEWKT('SRID=4674;POINT (-40.032403 -2.819319)'))) / (select extract(epoch from '2026-07-13 06:52:22'::timestamp) - extract(epoch from '2026-07-13 06:52: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'), 47628, 'SRID=4674;POINT (-40.032314 -2.819165)', '2026-07-13 06:52:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032403 -2.819319)'), GeomFromEWKT('SRID=4674;POINT (-40.032314 -2.819165)'))) / (select extract(epoch from '2026-07-13 06:52:31'::timestamp) - extract(epoch from '2026-07-13 06:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032403 -2.819319)'), GeomFromEWKT('SRID=4674;POINT (-40.032314 -2.819165)'))) / (select extract(epoch from '2026-07-13 06:52:31'::timestamp) - extract(epoch from '2026-07-13 06:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.032421 -2.818931)', '2026-07-13 06:52:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032314 -2.819165)'), GeomFromEWKT('SRID=4674;POINT (-40.032421 -2.818931)'))) / (select extract(epoch from '2026-07-13 06:52:40'::timestamp) - extract(epoch from '2026-07-13 06:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032314 -2.819165)'), GeomFromEWKT('SRID=4674;POINT (-40.032421 -2.818931)'))) / (select extract(epoch from '2026-07-13 06:52:40'::timestamp) - extract(epoch from '2026-07-13 06:52: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'), 47628, 'SRID=4674;POINT (-40.032438 -2.818783)', '2026-07-13 06:52:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032421 -2.818931)'), GeomFromEWKT('SRID=4674;POINT (-40.032438 -2.818783)'))) / (select extract(epoch from '2026-07-13 06:52:48'::timestamp) - extract(epoch from '2026-07-13 06:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032421 -2.818931)'), GeomFromEWKT('SRID=4674;POINT (-40.032438 -2.818783)'))) / (select extract(epoch from '2026-07-13 06:52:48'::timestamp) - extract(epoch from '2026-07-13 06:52: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'), 47628, 'SRID=4674;POINT (-40.032415 -2.818675)', '2026-07-13 06:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032438 -2.818783)'), GeomFromEWKT('SRID=4674;POINT (-40.032415 -2.818675)'))) / (select extract(epoch from '2026-07-13 06:52:55'::timestamp) - extract(epoch from '2026-07-13 06:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032438 -2.818783)'), GeomFromEWKT('SRID=4674;POINT (-40.032415 -2.818675)'))) / (select extract(epoch from '2026-07-13 06:52:55'::timestamp) - extract(epoch from '2026-07-13 06:52: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'), 47628, 'SRID=4674;POINT (-40.032394 -2.81856)', '2026-07-13 06:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032415 -2.818675)'), GeomFromEWKT('SRID=4674;POINT (-40.032394 -2.81856)'))) / (select extract(epoch from '2026-07-13 06:53:02'::timestamp) - extract(epoch from '2026-07-13 06:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032415 -2.818675)'), GeomFromEWKT('SRID=4674;POINT (-40.032394 -2.81856)'))) / (select extract(epoch from '2026-07-13 06:53:02'::timestamp) - extract(epoch from '2026-07-13 06:52: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'), 47628, 'SRID=4674;POINT (-40.032357 -2.818449)', '2026-07-13 06:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032394 -2.81856)'), GeomFromEWKT('SRID=4674;POINT (-40.032357 -2.818449)'))) / (select extract(epoch from '2026-07-13 06:53:09'::timestamp) - extract(epoch from '2026-07-13 06:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032394 -2.81856)'), GeomFromEWKT('SRID=4674;POINT (-40.032357 -2.818449)'))) / (select extract(epoch from '2026-07-13 06:53:09'::timestamp) - extract(epoch from '2026-07-13 06:53:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.032269 -2.818282)', '2026-07-13 06:53:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032357 -2.818449)'), GeomFromEWKT('SRID=4674;POINT (-40.032269 -2.818282)'))) / (select extract(epoch from '2026-07-13 06:53:19'::timestamp) - extract(epoch from '2026-07-13 06:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032357 -2.818449)'), GeomFromEWKT('SRID=4674;POINT (-40.032269 -2.818282)'))) / (select extract(epoch from '2026-07-13 06:53:19'::timestamp) - extract(epoch from '2026-07-13 06:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.032187 -2.81812)', '2026-07-13 06:53:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032269 -2.818282)'), GeomFromEWKT('SRID=4674;POINT (-40.032187 -2.81812)'))) / (select extract(epoch from '2026-07-13 06:53:29'::timestamp) - extract(epoch from '2026-07-13 06:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032269 -2.818282)'), GeomFromEWKT('SRID=4674;POINT (-40.032187 -2.81812)'))) / (select extract(epoch from '2026-07-13 06:53:29'::timestamp) - extract(epoch from '2026-07-13 06:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.032111 -2.817996)', '2026-07-13 06:53:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032187 -2.81812)'), GeomFromEWKT('SRID=4674;POINT (-40.032111 -2.817996)'))) / (select extract(epoch from '2026-07-13 06:53:37'::timestamp) - extract(epoch from '2026-07-13 06:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032187 -2.81812)'), GeomFromEWKT('SRID=4674;POINT (-40.032111 -2.817996)'))) / (select extract(epoch from '2026-07-13 06:53:37'::timestamp) - extract(epoch from '2026-07-13 06:53:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.032051 -2.817885)', '2026-07-13 06:53:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032111 -2.817996)'), GeomFromEWKT('SRID=4674;POINT (-40.032051 -2.817885)'))) / (select extract(epoch from '2026-07-13 06:53:44'::timestamp) - extract(epoch from '2026-07-13 06:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032111 -2.817996)'), GeomFromEWKT('SRID=4674;POINT (-40.032051 -2.817885)'))) / (select extract(epoch from '2026-07-13 06:53:44'::timestamp) - extract(epoch from '2026-07-13 06:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.031998 -2.81778)', '2026-07-13 06:53:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032051 -2.817885)'), GeomFromEWKT('SRID=4674;POINT (-40.031998 -2.81778)'))) / (select extract(epoch from '2026-07-13 06:53:51'::timestamp) - extract(epoch from '2026-07-13 06:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032051 -2.817885)'), GeomFromEWKT('SRID=4674;POINT (-40.031998 -2.81778)'))) / (select extract(epoch from '2026-07-13 06:53:51'::timestamp) - extract(epoch from '2026-07-13 06:53: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'), 47628, 'SRID=4674;POINT (-40.031922 -2.81766)', '2026-07-13 06:53:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031998 -2.81778)'), GeomFromEWKT('SRID=4674;POINT (-40.031922 -2.81766)'))) / (select extract(epoch from '2026-07-13 06:53:59'::timestamp) - extract(epoch from '2026-07-13 06:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031998 -2.81778)'), GeomFromEWKT('SRID=4674;POINT (-40.031922 -2.81766)'))) / (select extract(epoch from '2026-07-13 06:53:59'::timestamp) - extract(epoch from '2026-07-13 06:53: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'), 47628, 'SRID=4674;POINT (-40.031842 -2.817538)', '2026-07-13 06:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031922 -2.81766)'), GeomFromEWKT('SRID=4674;POINT (-40.031842 -2.817538)'))) / (select extract(epoch from '2026-07-13 06:54:07'::timestamp) - extract(epoch from '2026-07-13 06:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031922 -2.81766)'), GeomFromEWKT('SRID=4674;POINT (-40.031842 -2.817538)'))) / (select extract(epoch from '2026-07-13 06:54:07'::timestamp) - extract(epoch from '2026-07-13 06:53: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'), 47628, 'SRID=4674;POINT (-40.031759 -2.817401)', '2026-07-13 06:54:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031842 -2.817538)'), GeomFromEWKT('SRID=4674;POINT (-40.031759 -2.817401)'))) / (select extract(epoch from '2026-07-13 06:54:15'::timestamp) - extract(epoch from '2026-07-13 06:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031842 -2.817538)'), GeomFromEWKT('SRID=4674;POINT (-40.031759 -2.817401)'))) / (select extract(epoch from '2026-07-13 06:54:15'::timestamp) - extract(epoch from '2026-07-13 06:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.031639 -2.817218)', '2026-07-13 06:54:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031759 -2.817401)'), GeomFromEWKT('SRID=4674;POINT (-40.031639 -2.817218)'))) / (select extract(epoch from '2026-07-13 06:54:26'::timestamp) - extract(epoch from '2026-07-13 06:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031759 -2.817401)'), GeomFromEWKT('SRID=4674;POINT (-40.031639 -2.817218)'))) / (select extract(epoch from '2026-07-13 06:54:26'::timestamp) - extract(epoch from '2026-07-13 06:54: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'), 47628, 'SRID=4674;POINT (-40.031554 -2.817051)', '2026-07-13 06:54:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031639 -2.817218)'), GeomFromEWKT('SRID=4674;POINT (-40.031554 -2.817051)'))) / (select extract(epoch from '2026-07-13 06:54:36'::timestamp) - extract(epoch from '2026-07-13 06:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031639 -2.817218)'), GeomFromEWKT('SRID=4674;POINT (-40.031554 -2.817051)'))) / (select extract(epoch from '2026-07-13 06:54:36'::timestamp) - extract(epoch from '2026-07-13 06:54: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'), 47628, 'SRID=4674;POINT (-40.031498 -2.816921)', '2026-07-13 06:54:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031554 -2.817051)'), GeomFromEWKT('SRID=4674;POINT (-40.031498 -2.816921)'))) / (select extract(epoch from '2026-07-13 06:54:44'::timestamp) - extract(epoch from '2026-07-13 06:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031554 -2.817051)'), GeomFromEWKT('SRID=4674;POINT (-40.031498 -2.816921)'))) / (select extract(epoch from '2026-07-13 06:54:44'::timestamp) - extract(epoch from '2026-07-13 06:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.031429 -2.816792)', '2026-07-13 06:54:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031498 -2.816921)'), GeomFromEWKT('SRID=4674;POINT (-40.031429 -2.816792)'))) / (select extract(epoch from '2026-07-13 06:54:52'::timestamp) - extract(epoch from '2026-07-13 06:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031498 -2.816921)'), GeomFromEWKT('SRID=4674;POINT (-40.031429 -2.816792)'))) / (select extract(epoch from '2026-07-13 06:54:52'::timestamp) - extract(epoch from '2026-07-13 06:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.031356 -2.816646)', '2026-07-13 06:55:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031429 -2.816792)'), GeomFromEWKT('SRID=4674;POINT (-40.031356 -2.816646)'))) / (select extract(epoch from '2026-07-13 06:55:01'::timestamp) - extract(epoch from '2026-07-13 06:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031429 -2.816792)'), GeomFromEWKT('SRID=4674;POINT (-40.031356 -2.816646)'))) / (select extract(epoch from '2026-07-13 06:55:01'::timestamp) - extract(epoch from '2026-07-13 06:54:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.031261 -2.816475)', '2026-07-13 06:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031356 -2.816646)'), GeomFromEWKT('SRID=4674;POINT (-40.031261 -2.816475)'))) / (select extract(epoch from '2026-07-13 06:55:11'::timestamp) - extract(epoch from '2026-07-13 06:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031356 -2.816646)'), GeomFromEWKT('SRID=4674;POINT (-40.031261 -2.816475)'))) / (select extract(epoch from '2026-07-13 06:55:11'::timestamp) - extract(epoch from '2026-07-13 06:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.031176 -2.816328)', '2026-07-13 06:55:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031261 -2.816475)'), GeomFromEWKT('SRID=4674;POINT (-40.031176 -2.816328)'))) / (select extract(epoch from '2026-07-13 06:55:20'::timestamp) - extract(epoch from '2026-07-13 06:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031261 -2.816475)'), GeomFromEWKT('SRID=4674;POINT (-40.031176 -2.816328)'))) / (select extract(epoch from '2026-07-13 06:55:20'::timestamp) - extract(epoch from '2026-07-13 06: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'), 47628, 'SRID=4674;POINT (-40.031085 -2.816177)', '2026-07-13 06:55:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031176 -2.816328)'), GeomFromEWKT('SRID=4674;POINT (-40.031085 -2.816177)'))) / (select extract(epoch from '2026-07-13 06:55:29'::timestamp) - extract(epoch from '2026-07-13 06:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031176 -2.816328)'), GeomFromEWKT('SRID=4674;POINT (-40.031085 -2.816177)'))) / (select extract(epoch from '2026-07-13 06:55:29'::timestamp) - extract(epoch from '2026-07-13 06:55:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030991 -2.816019)', '2026-07-13 06:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031085 -2.816177)'), GeomFromEWKT('SRID=4674;POINT (-40.030991 -2.816019)'))) / (select extract(epoch from '2026-07-13 06:55:38'::timestamp) - extract(epoch from '2026-07-13 06:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031085 -2.816177)'), GeomFromEWKT('SRID=4674;POINT (-40.030991 -2.816019)'))) / (select extract(epoch from '2026-07-13 06:55:38'::timestamp) - extract(epoch from '2026-07-13 06:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030951 -2.8159)', '2026-07-13 06:55:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030991 -2.816019)'), GeomFromEWKT('SRID=4674;POINT (-40.030951 -2.8159)'))) / (select extract(epoch from '2026-07-13 06:55:45'::timestamp) - extract(epoch from '2026-07-13 06:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030991 -2.816019)'), GeomFromEWKT('SRID=4674;POINT (-40.030951 -2.8159)'))) / (select extract(epoch from '2026-07-13 06:55:45'::timestamp) - extract(epoch from '2026-07-13 06:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.03088 -2.815718)', '2026-07-13 06:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030951 -2.8159)'), GeomFromEWKT('SRID=4674;POINT (-40.03088 -2.815718)'))) / (select extract(epoch from '2026-07-13 06:55:55'::timestamp) - extract(epoch from '2026-07-13 06:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030951 -2.8159)'), GeomFromEWKT('SRID=4674;POINT (-40.03088 -2.815718)'))) / (select extract(epoch from '2026-07-13 06:55:55'::timestamp) - extract(epoch from '2026-07-13 06:55:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030817 -2.815583)', '2026-07-13 06:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03088 -2.815718)'), GeomFromEWKT('SRID=4674;POINT (-40.030817 -2.815583)'))) / (select extract(epoch from '2026-07-13 06:56:03'::timestamp) - extract(epoch from '2026-07-13 06:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03088 -2.815718)'), GeomFromEWKT('SRID=4674;POINT (-40.030817 -2.815583)'))) / (select extract(epoch from '2026-07-13 06:56:03'::timestamp) - extract(epoch from '2026-07-13 06:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030748 -2.815454)', '2026-07-13 06:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030817 -2.815583)'), GeomFromEWKT('SRID=4674;POINT (-40.030748 -2.815454)'))) / (select extract(epoch from '2026-07-13 06:56:11'::timestamp) - extract(epoch from '2026-07-13 06:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030817 -2.815583)'), GeomFromEWKT('SRID=4674;POINT (-40.030748 -2.815454)'))) / (select extract(epoch from '2026-07-13 06:56:11'::timestamp) - extract(epoch from '2026-07-13 06:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030662 -2.815303)', '2026-07-13 06:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030748 -2.815454)'), GeomFromEWKT('SRID=4674;POINT (-40.030662 -2.815303)'))) / (select extract(epoch from '2026-07-13 06:56:21'::timestamp) - extract(epoch from '2026-07-13 06:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030748 -2.815454)'), GeomFromEWKT('SRID=4674;POINT (-40.030662 -2.815303)'))) / (select extract(epoch from '2026-07-13 06:56:21'::timestamp) - extract(epoch from '2026-07-13 06: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'), 47628, 'SRID=4674;POINT (-40.030582 -2.815157)', '2026-07-13 06:56:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030662 -2.815303)'), GeomFromEWKT('SRID=4674;POINT (-40.030582 -2.815157)'))) / (select extract(epoch from '2026-07-13 06:56:30'::timestamp) - extract(epoch from '2026-07-13 06:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030662 -2.815303)'), GeomFromEWKT('SRID=4674;POINT (-40.030582 -2.815157)'))) / (select extract(epoch from '2026-07-13 06:56:30'::timestamp) - extract(epoch from '2026-07-13 06:56: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'), 47628, 'SRID=4674;POINT (-40.03053 -2.815043)', '2026-07-13 06:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030582 -2.815157)'), GeomFromEWKT('SRID=4674;POINT (-40.03053 -2.815043)'))) / (select extract(epoch from '2026-07-13 06:56:38'::timestamp) - extract(epoch from '2026-07-13 06:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030582 -2.815157)'), GeomFromEWKT('SRID=4674;POINT (-40.03053 -2.815043)'))) / (select extract(epoch from '2026-07-13 06:56:38'::timestamp) - extract(epoch from '2026-07-13 06:56:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030469 -2.814907)', '2026-07-13 06:56:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03053 -2.815043)'), GeomFromEWKT('SRID=4674;POINT (-40.030469 -2.814907)'))) / (select extract(epoch from '2026-07-13 06:56:47'::timestamp) - extract(epoch from '2026-07-13 06:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03053 -2.815043)'), GeomFromEWKT('SRID=4674;POINT (-40.030469 -2.814907)'))) / (select extract(epoch from '2026-07-13 06:56:47'::timestamp) - extract(epoch from '2026-07-13 06: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'), 47628, 'SRID=4674;POINT (-40.030418 -2.814815)', '2026-07-13 06:56:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030469 -2.814907)'), GeomFromEWKT('SRID=4674;POINT (-40.030418 -2.814815)'))) / (select extract(epoch from '2026-07-13 06:56:53'::timestamp) - extract(epoch from '2026-07-13 06:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030469 -2.814907)'), GeomFromEWKT('SRID=4674;POINT (-40.030418 -2.814815)'))) / (select extract(epoch from '2026-07-13 06:56:53'::timestamp) - extract(epoch from '2026-07-13 06:56:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030366 -2.814719)', '2026-07-13 06:57:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030418 -2.814815)'), GeomFromEWKT('SRID=4674;POINT (-40.030366 -2.814719)'))) / (select extract(epoch from '2026-07-13 06:57:00'::timestamp) - extract(epoch from '2026-07-13 06:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030418 -2.814815)'), GeomFromEWKT('SRID=4674;POINT (-40.030366 -2.814719)'))) / (select extract(epoch from '2026-07-13 06:57:00'::timestamp) - extract(epoch from '2026-07-13 06:56:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030322 -2.814658)', '2026-07-13 06:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030366 -2.814719)'), GeomFromEWKT('SRID=4674;POINT (-40.030322 -2.814658)'))) / (select extract(epoch from '2026-07-13 06:57:06'::timestamp) - extract(epoch from '2026-07-13 06:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030366 -2.814719)'), GeomFromEWKT('SRID=4674;POINT (-40.030322 -2.814658)'))) / (select extract(epoch from '2026-07-13 06:57:06'::timestamp) - extract(epoch from '2026-07-13 06:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030285 -2.814582)', '2026-07-13 06:57:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030322 -2.814658)'), GeomFromEWKT('SRID=4674;POINT (-40.030285 -2.814582)'))) / (select extract(epoch from '2026-07-13 06:57:12'::timestamp) - extract(epoch from '2026-07-13 06:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030322 -2.814658)'), GeomFromEWKT('SRID=4674;POINT (-40.030285 -2.814582)'))) / (select extract(epoch from '2026-07-13 06:57:12'::timestamp) - extract(epoch from '2026-07-13 06:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030245 -2.814506)', '2026-07-13 06:57:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030285 -2.814582)'), GeomFromEWKT('SRID=4674;POINT (-40.030245 -2.814506)'))) / (select extract(epoch from '2026-07-13 06:57:18'::timestamp) - extract(epoch from '2026-07-13 06:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030285 -2.814582)'), GeomFromEWKT('SRID=4674;POINT (-40.030245 -2.814506)'))) / (select extract(epoch from '2026-07-13 06:57:18'::timestamp) - extract(epoch from '2026-07-13 06:57: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'), 47628, 'SRID=4674;POINT (-40.030193 -2.81441)', '2026-07-13 06:57:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030245 -2.814506)'), GeomFromEWKT('SRID=4674;POINT (-40.030193 -2.81441)'))) / (select extract(epoch from '2026-07-13 06:57:24'::timestamp) - extract(epoch from '2026-07-13 06:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030245 -2.814506)'), GeomFromEWKT('SRID=4674;POINT (-40.030193 -2.81441)'))) / (select extract(epoch from '2026-07-13 06:57:24'::timestamp) - extract(epoch from '2026-07-13 06:57: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'), 47628, 'SRID=4674;POINT (-40.03011 -2.814252)', '2026-07-13 06:57:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030193 -2.81441)'), GeomFromEWKT('SRID=4674;POINT (-40.03011 -2.814252)'))) / (select extract(epoch from '2026-07-13 06:57:34'::timestamp) - extract(epoch from '2026-07-13 06:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030193 -2.81441)'), GeomFromEWKT('SRID=4674;POINT (-40.03011 -2.814252)'))) / (select extract(epoch from '2026-07-13 06:57:34'::timestamp) - extract(epoch from '2026-07-13 06:57: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'), 47628, 'SRID=4674;POINT (-40.03004 -2.814103)', '2026-07-13 06:57:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03011 -2.814252)'), GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.814103)'))) / (select extract(epoch from '2026-07-13 06:57:43'::timestamp) - extract(epoch from '2026-07-13 06:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03011 -2.814252)'), GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.814103)'))) / (select extract(epoch from '2026-07-13 06:57:43'::timestamp) - extract(epoch from '2026-07-13 06:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029969 -2.813916)', '2026-07-13 06:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.814103)'), GeomFromEWKT('SRID=4674;POINT (-40.029969 -2.813916)'))) / (select extract(epoch from '2026-07-13 06:57:54'::timestamp) - extract(epoch from '2026-07-13 06:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.814103)'), GeomFromEWKT('SRID=4674;POINT (-40.029969 -2.813916)'))) / (select extract(epoch from '2026-07-13 06:57:54'::timestamp) - extract(epoch from '2026-07-13 06:57:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029912 -2.813775)', '2026-07-13 06:58:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029969 -2.813916)'), GeomFromEWKT('SRID=4674;POINT (-40.029912 -2.813775)'))) / (select extract(epoch from '2026-07-13 06:58:02'::timestamp) - extract(epoch from '2026-07-13 06:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029969 -2.813916)'), GeomFromEWKT('SRID=4674;POINT (-40.029912 -2.813775)'))) / (select extract(epoch from '2026-07-13 06:58:02'::timestamp) - extract(epoch from '2026-07-13 06:57: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'), 47628, 'SRID=4674;POINT (-40.029855 -2.813655)', '2026-07-13 06:58:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029912 -2.813775)'), GeomFromEWKT('SRID=4674;POINT (-40.029855 -2.813655)'))) / (select extract(epoch from '2026-07-13 06:58:10'::timestamp) - extract(epoch from '2026-07-13 06:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029912 -2.813775)'), GeomFromEWKT('SRID=4674;POINT (-40.029855 -2.813655)'))) / (select extract(epoch from '2026-07-13 06:58:10'::timestamp) - extract(epoch from '2026-07-13 06:58: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'), 47628, 'SRID=4674;POINT (-40.029795 -2.813536)', '2026-07-13 06:58:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029855 -2.813655)'), GeomFromEWKT('SRID=4674;POINT (-40.029795 -2.813536)'))) / (select extract(epoch from '2026-07-13 06:58:18'::timestamp) - extract(epoch from '2026-07-13 06:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029855 -2.813655)'), GeomFromEWKT('SRID=4674;POINT (-40.029795 -2.813536)'))) / (select extract(epoch from '2026-07-13 06:58:18'::timestamp) - extract(epoch from '2026-07-13 06:58: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'), 47628, 'SRID=4674;POINT (-40.029738 -2.813427)', '2026-07-13 06:58:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029795 -2.813536)'), GeomFromEWKT('SRID=4674;POINT (-40.029738 -2.813427)'))) / (select extract(epoch from '2026-07-13 06:58:25'::timestamp) - extract(epoch from '2026-07-13 06:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029795 -2.813536)'), GeomFromEWKT('SRID=4674;POINT (-40.029738 -2.813427)'))) / (select extract(epoch from '2026-07-13 06:58:25'::timestamp) - extract(epoch from '2026-07-13 06:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029691 -2.813332)', '2026-07-13 06:58:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029738 -2.813427)'), GeomFromEWKT('SRID=4674;POINT (-40.029691 -2.813332)'))) / (select extract(epoch from '2026-07-13 06:58:31'::timestamp) - extract(epoch from '2026-07-13 06:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029738 -2.813427)'), GeomFromEWKT('SRID=4674;POINT (-40.029691 -2.813332)'))) / (select extract(epoch from '2026-07-13 06:58:31'::timestamp) - extract(epoch from '2026-07-13 06:58: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'), 47628, 'SRID=4674;POINT (-40.029654 -2.813247)', '2026-07-13 06:58:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029691 -2.813332)'), GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.813247)'))) / (select extract(epoch from '2026-07-13 06:58:36'::timestamp) - extract(epoch from '2026-07-13 06:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029691 -2.813332)'), GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.813247)'))) / (select extract(epoch from '2026-07-13 06:58:36'::timestamp) - extract(epoch from '2026-07-13 06:58: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'), 47628, 'SRID=4674;POINT (-40.029594 -2.813101)', '2026-07-13 06:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.813247)'), GeomFromEWKT('SRID=4674;POINT (-40.029594 -2.813101)'))) / (select extract(epoch from '2026-07-13 06:58:44'::timestamp) - extract(epoch from '2026-07-13 06:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.813247)'), GeomFromEWKT('SRID=4674;POINT (-40.029594 -2.813101)'))) / (select extract(epoch from '2026-07-13 06:58:44'::timestamp) - extract(epoch from '2026-07-13 06:58: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'), 47628, 'SRID=4674;POINT (-40.029544 -2.812923)', '2026-07-13 06:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029594 -2.813101)'), GeomFromEWKT('SRID=4674;POINT (-40.029544 -2.812923)'))) / (select extract(epoch from '2026-07-13 06:58:54'::timestamp) - extract(epoch from '2026-07-13 06:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029594 -2.813101)'), GeomFromEWKT('SRID=4674;POINT (-40.029544 -2.812923)'))) / (select extract(epoch from '2026-07-13 06:58:54'::timestamp) - extract(epoch from '2026-07-13 06:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029486 -2.812797)', '2026-07-13 06:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029544 -2.812923)'), GeomFromEWKT('SRID=4674;POINT (-40.029486 -2.812797)'))) / (select extract(epoch from '2026-07-13 06:59:01'::timestamp) - extract(epoch from '2026-07-13 06:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029544 -2.812923)'), GeomFromEWKT('SRID=4674;POINT (-40.029486 -2.812797)'))) / (select extract(epoch from '2026-07-13 06:59:01'::timestamp) - extract(epoch from '2026-07-13 06:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029421 -2.812643)', '2026-07-13 06:59:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029486 -2.812797)'), GeomFromEWKT('SRID=4674;POINT (-40.029421 -2.812643)'))) / (select extract(epoch from '2026-07-13 06:59:10'::timestamp) - extract(epoch from '2026-07-13 06:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029486 -2.812797)'), GeomFromEWKT('SRID=4674;POINT (-40.029421 -2.812643)'))) / (select extract(epoch from '2026-07-13 06:59:10'::timestamp) - extract(epoch from '2026-07-13 06:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029373 -2.812516)', '2026-07-13 06:59:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029421 -2.812643)'), GeomFromEWKT('SRID=4674;POINT (-40.029373 -2.812516)'))) / (select extract(epoch from '2026-07-13 06:59:18'::timestamp) - extract(epoch from '2026-07-13 06:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029421 -2.812643)'), GeomFromEWKT('SRID=4674;POINT (-40.029373 -2.812516)'))) / (select extract(epoch from '2026-07-13 06:59:18'::timestamp) - extract(epoch from '2026-07-13 06:59: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'), 47628, 'SRID=4674;POINT (-40.029308 -2.812372)', '2026-07-13 06:59:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029373 -2.812516)'), GeomFromEWKT('SRID=4674;POINT (-40.029308 -2.812372)'))) / (select extract(epoch from '2026-07-13 06:59:28'::timestamp) - extract(epoch from '2026-07-13 06:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029373 -2.812516)'), GeomFromEWKT('SRID=4674;POINT (-40.029308 -2.812372)'))) / (select extract(epoch from '2026-07-13 06:59:28'::timestamp) - extract(epoch from '2026-07-13 06:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029237 -2.812249)', '2026-07-13 06:59:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029308 -2.812372)'), GeomFromEWKT('SRID=4674;POINT (-40.029237 -2.812249)'))) / (select extract(epoch from '2026-07-13 06:59:37'::timestamp) - extract(epoch from '2026-07-13 06:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029308 -2.812372)'), GeomFromEWKT('SRID=4674;POINT (-40.029237 -2.812249)'))) / (select extract(epoch from '2026-07-13 06:59:37'::timestamp) - extract(epoch from '2026-07-13 06:59: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'), 47628, 'SRID=4674;POINT (-40.029145 -2.812101)', '2026-07-13 06:59:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029237 -2.812249)'), GeomFromEWKT('SRID=4674;POINT (-40.029145 -2.812101)'))) / (select extract(epoch from '2026-07-13 06:59:47'::timestamp) - extract(epoch from '2026-07-13 06:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029237 -2.812249)'), GeomFromEWKT('SRID=4674;POINT (-40.029145 -2.812101)'))) / (select extract(epoch from '2026-07-13 06:59:47'::timestamp) - extract(epoch from '2026-07-13 06:59: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'), 47628, 'SRID=4674;POINT (-40.029082 -2.811928)', '2026-07-13 06:59:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029145 -2.812101)'), GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.811928)'))) / (select extract(epoch from '2026-07-13 06:59:57'::timestamp) - extract(epoch from '2026-07-13 06:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029145 -2.812101)'), GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.811928)'))) / (select extract(epoch from '2026-07-13 06:59:57'::timestamp) - extract(epoch from '2026-07-13 06:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029048 -2.811818)', '2026-07-13 07:00:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.811928)'), GeomFromEWKT('SRID=4674;POINT (-40.029048 -2.811818)'))) / (select extract(epoch from '2026-07-13 07:00:04'::timestamp) - extract(epoch from '2026-07-13 06:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.811928)'), GeomFromEWKT('SRID=4674;POINT (-40.029048 -2.811818)'))) / (select extract(epoch from '2026-07-13 07:00:04'::timestamp) - extract(epoch from '2026-07-13 06:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029009 -2.811692)', '2026-07-13 07:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029048 -2.811818)'), GeomFromEWKT('SRID=4674;POINT (-40.029009 -2.811692)'))) / (select extract(epoch from '2026-07-13 07:00:12'::timestamp) - extract(epoch from '2026-07-13 07:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029048 -2.811818)'), GeomFromEWKT('SRID=4674;POINT (-40.029009 -2.811692)'))) / (select extract(epoch from '2026-07-13 07:00:12'::timestamp) - extract(epoch from '2026-07-13 07:00: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'), 47628, 'SRID=4674;POINT (-40.028963 -2.811568)', '2026-07-13 07:00:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029009 -2.811692)'), GeomFromEWKT('SRID=4674;POINT (-40.028963 -2.811568)'))) / (select extract(epoch from '2026-07-13 07:00:20'::timestamp) - extract(epoch from '2026-07-13 07:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029009 -2.811692)'), GeomFromEWKT('SRID=4674;POINT (-40.028963 -2.811568)'))) / (select extract(epoch from '2026-07-13 07:00:20'::timestamp) - extract(epoch from '2026-07-13 07:00: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'), 47628, 'SRID=4674;POINT (-40.028915 -2.811417)', '2026-07-13 07:00:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028963 -2.811568)'), GeomFromEWKT('SRID=4674;POINT (-40.028915 -2.811417)'))) / (select extract(epoch from '2026-07-13 07:00:29'::timestamp) - extract(epoch from '2026-07-13 07:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028963 -2.811568)'), GeomFromEWKT('SRID=4674;POINT (-40.028915 -2.811417)'))) / (select extract(epoch from '2026-07-13 07:00:29'::timestamp) - extract(epoch from '2026-07-13 07:00:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028859 -2.811295)', '2026-07-13 07:00:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028915 -2.811417)'), GeomFromEWKT('SRID=4674;POINT (-40.028859 -2.811295)'))) / (select extract(epoch from '2026-07-13 07:00:37'::timestamp) - extract(epoch from '2026-07-13 07:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028915 -2.811417)'), GeomFromEWKT('SRID=4674;POINT (-40.028859 -2.811295)'))) / (select extract(epoch from '2026-07-13 07:00:37'::timestamp) - extract(epoch from '2026-07-13 07:00:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028816 -2.811187)', '2026-07-13 07:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028859 -2.811295)'), GeomFromEWKT('SRID=4674;POINT (-40.028816 -2.811187)'))) / (select extract(epoch from '2026-07-13 07:00:44'::timestamp) - extract(epoch from '2026-07-13 07:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028859 -2.811295)'), GeomFromEWKT('SRID=4674;POINT (-40.028816 -2.811187)'))) / (select extract(epoch from '2026-07-13 07:00:44'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.028754 -2.811057)', '2026-07-13 07:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028816 -2.811187)'), GeomFromEWKT('SRID=4674;POINT (-40.028754 -2.811057)'))) / (select extract(epoch from '2026-07-13 07:00:52'::timestamp) - extract(epoch from '2026-07-13 07:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028816 -2.811187)'), GeomFromEWKT('SRID=4674;POINT (-40.028754 -2.811057)'))) / (select extract(epoch from '2026-07-13 07:00:52'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.028685 -2.810955)', '2026-07-13 07:00:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028754 -2.811057)'), GeomFromEWKT('SRID=4674;POINT (-40.028685 -2.810955)'))) / (select extract(epoch from '2026-07-13 07:00:59'::timestamp) - extract(epoch from '2026-07-13 07:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028754 -2.811057)'), GeomFromEWKT('SRID=4674;POINT (-40.028685 -2.810955)'))) / (select extract(epoch from '2026-07-13 07:00:59'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.028603 -2.810821)', '2026-07-13 07:01:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028685 -2.810955)'), GeomFromEWKT('SRID=4674;POINT (-40.028603 -2.810821)'))) / (select extract(epoch from '2026-07-13 07:01:08'::timestamp) - extract(epoch from '2026-07-13 07:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028685 -2.810955)'), GeomFromEWKT('SRID=4674;POINT (-40.028603 -2.810821)'))) / (select extract(epoch from '2026-07-13 07:01:08'::timestamp) - extract(epoch from '2026-07-13 07:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028532 -2.810658)', '2026-07-13 07:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028603 -2.810821)'), GeomFromEWKT('SRID=4674;POINT (-40.028532 -2.810658)'))) / (select extract(epoch from '2026-07-13 07:01:18'::timestamp) - extract(epoch from '2026-07-13 07:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028603 -2.810821)'), GeomFromEWKT('SRID=4674;POINT (-40.028532 -2.810658)'))) / (select extract(epoch from '2026-07-13 07:01:18'::timestamp) - extract(epoch from '2026-07-13 07:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028472 -2.810527)', '2026-07-13 07:01:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028532 -2.810658)'), GeomFromEWKT('SRID=4674;POINT (-40.028472 -2.810527)'))) / (select extract(epoch from '2026-07-13 07:01:26'::timestamp) - extract(epoch from '2026-07-13 07:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028532 -2.810658)'), GeomFromEWKT('SRID=4674;POINT (-40.028472 -2.810527)'))) / (select extract(epoch from '2026-07-13 07:01:26'::timestamp) - extract(epoch from '2026-07-13 07:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028413 -2.810392)', '2026-07-13 07:01:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028472 -2.810527)'), GeomFromEWKT('SRID=4674;POINT (-40.028413 -2.810392)'))) / (select extract(epoch from '2026-07-13 07:01:34'::timestamp) - extract(epoch from '2026-07-13 07:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028472 -2.810527)'), GeomFromEWKT('SRID=4674;POINT (-40.028413 -2.810392)'))) / (select extract(epoch from '2026-07-13 07:01:34'::timestamp) - extract(epoch from '2026-07-13 07:01: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'), 47628, 'SRID=4674;POINT (-40.028363 -2.810268)', '2026-07-13 07:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028413 -2.810392)'), GeomFromEWKT('SRID=4674;POINT (-40.028363 -2.810268)'))) / (select extract(epoch from '2026-07-13 07:01:42'::timestamp) - extract(epoch from '2026-07-13 07:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028413 -2.810392)'), GeomFromEWKT('SRID=4674;POINT (-40.028363 -2.810268)'))) / (select extract(epoch from '2026-07-13 07:01:42'::timestamp) - extract(epoch from '2026-07-13 07:01: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'), 47628, 'SRID=4674;POINT (-40.028313 -2.810143)', '2026-07-13 07:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028363 -2.810268)'), GeomFromEWKT('SRID=4674;POINT (-40.028313 -2.810143)'))) / (select extract(epoch from '2026-07-13 07:01:50'::timestamp) - extract(epoch from '2026-07-13 07:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028363 -2.810268)'), GeomFromEWKT('SRID=4674;POINT (-40.028313 -2.810143)'))) / (select extract(epoch from '2026-07-13 07:01:50'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.028251 -2.81004)', '2026-07-13 07:01:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028313 -2.810143)'), GeomFromEWKT('SRID=4674;POINT (-40.028251 -2.81004)'))) / (select extract(epoch from '2026-07-13 07:01:57'::timestamp) - extract(epoch from '2026-07-13 07:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028313 -2.810143)'), GeomFromEWKT('SRID=4674;POINT (-40.028251 -2.81004)'))) / (select extract(epoch from '2026-07-13 07:01:57'::timestamp) - extract(epoch from '2026-07-13 07:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028184 -2.809937)', '2026-07-13 07:02:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028251 -2.81004)'), GeomFromEWKT('SRID=4674;POINT (-40.028184 -2.809937)'))) / (select extract(epoch from '2026-07-13 07:02:04'::timestamp) - extract(epoch from '2026-07-13 07:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028251 -2.81004)'), GeomFromEWKT('SRID=4674;POINT (-40.028184 -2.809937)'))) / (select extract(epoch from '2026-07-13 07:02:04'::timestamp) - extract(epoch from '2026-07-13 07:01: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'), 47628, 'SRID=4674;POINT (-40.02813 -2.809834)', '2026-07-13 07:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028184 -2.809937)'), GeomFromEWKT('SRID=4674;POINT (-40.02813 -2.809834)'))) / (select extract(epoch from '2026-07-13 07:02:11'::timestamp) - extract(epoch from '2026-07-13 07:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028184 -2.809937)'), GeomFromEWKT('SRID=4674;POINT (-40.02813 -2.809834)'))) / (select extract(epoch from '2026-07-13 07:02:11'::timestamp) - extract(epoch from '2026-07-13 07:02: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'), 47628, 'SRID=4674;POINT (-40.02809 -2.809734)', '2026-07-13 07:02:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02813 -2.809834)'), GeomFromEWKT('SRID=4674;POINT (-40.02809 -2.809734)'))) / (select extract(epoch from '2026-07-13 07:02:18'::timestamp) - extract(epoch from '2026-07-13 07:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02813 -2.809834)'), GeomFromEWKT('SRID=4674;POINT (-40.02809 -2.809734)'))) / (select extract(epoch from '2026-07-13 07:02:18'::timestamp) - extract(epoch from '2026-07-13 07:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02803 -2.809589)', '2026-07-13 07:02:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02809 -2.809734)'), GeomFromEWKT('SRID=4674;POINT (-40.02803 -2.809589)'))) / (select extract(epoch from '2026-07-13 07:02:27'::timestamp) - extract(epoch from '2026-07-13 07:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02809 -2.809734)'), GeomFromEWKT('SRID=4674;POINT (-40.02803 -2.809589)'))) / (select extract(epoch from '2026-07-13 07:02:27'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.027964 -2.809422)', '2026-07-13 07:02:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02803 -2.809589)'), GeomFromEWKT('SRID=4674;POINT (-40.027964 -2.809422)'))) / (select extract(epoch from '2026-07-13 07:02:37'::timestamp) - extract(epoch from '2026-07-13 07:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02803 -2.809589)'), GeomFromEWKT('SRID=4674;POINT (-40.027964 -2.809422)'))) / (select extract(epoch from '2026-07-13 07:02:37'::timestamp) - extract(epoch from '2026-07-13 07:02: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'), 47628, 'SRID=4674;POINT (-40.027908 -2.809316)', '2026-07-13 07:02:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027964 -2.809422)'), GeomFromEWKT('SRID=4674;POINT (-40.027908 -2.809316)'))) / (select extract(epoch from '2026-07-13 07:02:44'::timestamp) - extract(epoch from '2026-07-13 07:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027964 -2.809422)'), GeomFromEWKT('SRID=4674;POINT (-40.027908 -2.809316)'))) / (select extract(epoch from '2026-07-13 07:02:44'::timestamp) - extract(epoch from '2026-07-13 07:02: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'), 47628, 'SRID=4674;POINT (-40.027899 -2.809302)', '2026-07-13 07:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027908 -2.809316)'), GeomFromEWKT('SRID=4674;POINT (-40.027899 -2.809302)'))) / (select extract(epoch from '2026-07-13 07:02:45'::timestamp) - extract(epoch from '2026-07-13 07:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027908 -2.809316)'), GeomFromEWKT('SRID=4674;POINT (-40.027899 -2.809302)'))) / (select extract(epoch from '2026-07-13 07:02:45'::timestamp) - extract(epoch from '2026-07-13 07:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027843 -2.809202)', '2026-07-13 07:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027899 -2.809302)'), GeomFromEWKT('SRID=4674;POINT (-40.027843 -2.809202)'))) / (select extract(epoch from '2026-07-13 07:02:52'::timestamp) - extract(epoch from '2026-07-13 07:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027899 -2.809302)'), GeomFromEWKT('SRID=4674;POINT (-40.027843 -2.809202)'))) / (select extract(epoch from '2026-07-13 07:02:52'::timestamp) - extract(epoch from '2026-07-13 07:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027787 -2.809069)', '2026-07-13 07:03:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027843 -2.809202)'), GeomFromEWKT('SRID=4674;POINT (-40.027787 -2.809069)'))) / (select extract(epoch from '2026-07-13 07:03:00'::timestamp) - extract(epoch from '2026-07-13 07:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027843 -2.809202)'), GeomFromEWKT('SRID=4674;POINT (-40.027787 -2.809069)'))) / (select extract(epoch from '2026-07-13 07:03:00'::timestamp) - extract(epoch from '2026-07-13 07:02: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'), 47628, 'SRID=4674;POINT (-40.027739 -2.808946)', '2026-07-13 07:03:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027787 -2.809069)'), GeomFromEWKT('SRID=4674;POINT (-40.027739 -2.808946)'))) / (select extract(epoch from '2026-07-13 07:03:08'::timestamp) - extract(epoch from '2026-07-13 07:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027787 -2.809069)'), GeomFromEWKT('SRID=4674;POINT (-40.027739 -2.808946)'))) / (select extract(epoch from '2026-07-13 07:03:08'::timestamp) - extract(epoch from '2026-07-13 07:03: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'), 47628, 'SRID=4674;POINT (-40.027691 -2.80884)', '2026-07-13 07:03:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027739 -2.808946)'), GeomFromEWKT('SRID=4674;POINT (-40.027691 -2.80884)'))) / (select extract(epoch from '2026-07-13 07:03:16'::timestamp) - extract(epoch from '2026-07-13 07:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027739 -2.808946)'), GeomFromEWKT('SRID=4674;POINT (-40.027691 -2.80884)'))) / (select extract(epoch from '2026-07-13 07:03:16'::timestamp) - extract(epoch from '2026-07-13 07:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027666 -2.808748)', '2026-07-13 07:03:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027691 -2.80884)'), GeomFromEWKT('SRID=4674;POINT (-40.027666 -2.808748)'))) / (select extract(epoch from '2026-07-13 07:03:23'::timestamp) - extract(epoch from '2026-07-13 07:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027691 -2.80884)'), GeomFromEWKT('SRID=4674;POINT (-40.027666 -2.808748)'))) / (select extract(epoch from '2026-07-13 07:03:23'::timestamp) - extract(epoch from '2026-07-13 07:03: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'), 47628, 'SRID=4674;POINT (-40.027646 -2.808657)', '2026-07-13 07:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027666 -2.808748)'), GeomFromEWKT('SRID=4674;POINT (-40.027646 -2.808657)'))) / (select extract(epoch from '2026-07-13 07:03:29'::timestamp) - extract(epoch from '2026-07-13 07:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027666 -2.808748)'), GeomFromEWKT('SRID=4674;POINT (-40.027646 -2.808657)'))) / (select extract(epoch from '2026-07-13 07:03:29'::timestamp) - extract(epoch from '2026-07-13 07:03: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'), 47628, 'SRID=4674;POINT (-40.027616 -2.808557)', '2026-07-13 07:03:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027646 -2.808657)'), GeomFromEWKT('SRID=4674;POINT (-40.027616 -2.808557)'))) / (select extract(epoch from '2026-07-13 07:03:35'::timestamp) - extract(epoch from '2026-07-13 07:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027646 -2.808657)'), GeomFromEWKT('SRID=4674;POINT (-40.027616 -2.808557)'))) / (select extract(epoch from '2026-07-13 07:03:35'::timestamp) - extract(epoch from '2026-07-13 07:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027564 -2.808421)', '2026-07-13 07:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027616 -2.808557)'), GeomFromEWKT('SRID=4674;POINT (-40.027564 -2.808421)'))) / (select extract(epoch from '2026-07-13 07:03:43'::timestamp) - extract(epoch from '2026-07-13 07:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027616 -2.808557)'), GeomFromEWKT('SRID=4674;POINT (-40.027564 -2.808421)'))) / (select extract(epoch from '2026-07-13 07:03:43'::timestamp) - extract(epoch from '2026-07-13 07:03: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'), 47628, 'SRID=4674;POINT (-40.027517 -2.808314)', '2026-07-13 07:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027564 -2.808421)'), GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.808314)'))) / (select extract(epoch from '2026-07-13 07:03:50'::timestamp) - extract(epoch from '2026-07-13 07:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027564 -2.808421)'), GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.808314)'))) / (select extract(epoch from '2026-07-13 07:03:50'::timestamp) - extract(epoch from '2026-07-13 07:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027454 -2.808196)', '2026-07-13 07:03:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.808314)'), GeomFromEWKT('SRID=4674;POINT (-40.027454 -2.808196)'))) / (select extract(epoch from '2026-07-13 07:03:58'::timestamp) - extract(epoch from '2026-07-13 07:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.808314)'), GeomFromEWKT('SRID=4674;POINT (-40.027454 -2.808196)'))) / (select extract(epoch from '2026-07-13 07:03:58'::timestamp) - extract(epoch from '2026-07-13 07:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027409 -2.808082)', '2026-07-13 07:04:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027454 -2.808196)'), GeomFromEWKT('SRID=4674;POINT (-40.027409 -2.808082)'))) / (select extract(epoch from '2026-07-13 07:04:06'::timestamp) - extract(epoch from '2026-07-13 07:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027454 -2.808196)'), GeomFromEWKT('SRID=4674;POINT (-40.027409 -2.808082)'))) / (select extract(epoch from '2026-07-13 07:04:06'::timestamp) - extract(epoch from '2026-07-13 07:03: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'), 47628, 'SRID=4674;POINT (-40.027384 -2.807981)', '2026-07-13 07:04:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027409 -2.808082)'), GeomFromEWKT('SRID=4674;POINT (-40.027384 -2.807981)'))) / (select extract(epoch from '2026-07-13 07:04:12'::timestamp) - extract(epoch from '2026-07-13 07:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027409 -2.808082)'), GeomFromEWKT('SRID=4674;POINT (-40.027384 -2.807981)'))) / (select extract(epoch from '2026-07-13 07:04:12'::timestamp) - extract(epoch from '2026-07-13 07:04: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'), 47628, 'SRID=4674;POINT (-40.027343 -2.807863)', '2026-07-13 07:04:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027384 -2.807981)'), GeomFromEWKT('SRID=4674;POINT (-40.027343 -2.807863)'))) / (select extract(epoch from '2026-07-13 07:04:19'::timestamp) - extract(epoch from '2026-07-13 07:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027384 -2.807981)'), GeomFromEWKT('SRID=4674;POINT (-40.027343 -2.807863)'))) / (select extract(epoch from '2026-07-13 07:04:19'::timestamp) - extract(epoch from '2026-07-13 07:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027291 -2.807718)', '2026-07-13 07:04:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027343 -2.807863)'), GeomFromEWKT('SRID=4674;POINT (-40.027291 -2.807718)'))) / (select extract(epoch from '2026-07-13 07:04:28'::timestamp) - extract(epoch from '2026-07-13 07:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027343 -2.807863)'), GeomFromEWKT('SRID=4674;POINT (-40.027291 -2.807718)'))) / (select extract(epoch from '2026-07-13 07:04:28'::timestamp) - extract(epoch from '2026-07-13 07:04: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'), 47628, 'SRID=4674;POINT (-40.027224 -2.807581)', '2026-07-13 07:04:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027291 -2.807718)'), GeomFromEWKT('SRID=4674;POINT (-40.027224 -2.807581)'))) / (select extract(epoch from '2026-07-13 07:04:37'::timestamp) - extract(epoch from '2026-07-13 07:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027291 -2.807718)'), GeomFromEWKT('SRID=4674;POINT (-40.027224 -2.807581)'))) / (select extract(epoch from '2026-07-13 07:04:37'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.027193 -2.807502)', '2026-07-13 07:04:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027224 -2.807581)'), GeomFromEWKT('SRID=4674;POINT (-40.027193 -2.807502)'))) / (select extract(epoch from '2026-07-13 07:04:42'::timestamp) - extract(epoch from '2026-07-13 07:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027224 -2.807581)'), GeomFromEWKT('SRID=4674;POINT (-40.027193 -2.807502)'))) / (select extract(epoch from '2026-07-13 07:04:42'::timestamp) - extract(epoch from '2026-07-13 07:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027163 -2.80742)', '2026-07-13 07:04:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027193 -2.807502)'), GeomFromEWKT('SRID=4674;POINT (-40.027163 -2.80742)'))) / (select extract(epoch from '2026-07-13 07:04:47'::timestamp) - extract(epoch from '2026-07-13 07:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027193 -2.807502)'), GeomFromEWKT('SRID=4674;POINT (-40.027163 -2.80742)'))) / (select extract(epoch from '2026-07-13 07:04:47'::timestamp) - extract(epoch from '2026-07-13 07:04:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027116 -2.807311)', '2026-07-13 07:04:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027163 -2.80742)'), GeomFromEWKT('SRID=4674;POINT (-40.027116 -2.807311)'))) / (select extract(epoch from '2026-07-13 07:04:54'::timestamp) - extract(epoch from '2026-07-13 07:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027163 -2.80742)'), GeomFromEWKT('SRID=4674;POINT (-40.027116 -2.807311)'))) / (select extract(epoch from '2026-07-13 07:04:54'::timestamp) - extract(epoch from '2026-07-13 07:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027075 -2.807189)', '2026-07-13 07:05:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027116 -2.807311)'), GeomFromEWKT('SRID=4674;POINT (-40.027075 -2.807189)'))) / (select extract(epoch from '2026-07-13 07:05:02'::timestamp) - extract(epoch from '2026-07-13 07:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027116 -2.807311)'), GeomFromEWKT('SRID=4674;POINT (-40.027075 -2.807189)'))) / (select extract(epoch from '2026-07-13 07:05:02'::timestamp) - extract(epoch from '2026-07-13 07:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027018 -2.807081)', '2026-07-13 07:05:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027075 -2.807189)'), GeomFromEWKT('SRID=4674;POINT (-40.027018 -2.807081)'))) / (select extract(epoch from '2026-07-13 07:05:10'::timestamp) - extract(epoch from '2026-07-13 07:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027075 -2.807189)'), GeomFromEWKT('SRID=4674;POINT (-40.027018 -2.807081)'))) / (select extract(epoch from '2026-07-13 07:05:10'::timestamp) - extract(epoch from '2026-07-13 07:05: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'), 47628, 'SRID=4674;POINT (-40.026956 -2.807006)', '2026-07-13 07:05:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027018 -2.807081)'), GeomFromEWKT('SRID=4674;POINT (-40.026956 -2.807006)'))) / (select extract(epoch from '2026-07-13 07:05:17'::timestamp) - extract(epoch from '2026-07-13 07:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027018 -2.807081)'), GeomFromEWKT('SRID=4674;POINT (-40.026956 -2.807006)'))) / (select extract(epoch from '2026-07-13 07:05:17'::timestamp) - extract(epoch from '2026-07-13 07:05: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'), 47628, 'SRID=4674;POINT (-40.026916 -2.806941)', '2026-07-13 07:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026956 -2.807006)'), GeomFromEWKT('SRID=4674;POINT (-40.026916 -2.806941)'))) / (select extract(epoch from '2026-07-13 07:05:22'::timestamp) - extract(epoch from '2026-07-13 07:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026956 -2.807006)'), GeomFromEWKT('SRID=4674;POINT (-40.026916 -2.806941)'))) / (select extract(epoch from '2026-07-13 07:05:22'::timestamp) - extract(epoch from '2026-07-13 07:05: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'), 47628, 'SRID=4674;POINT (-40.02691 -2.806927)', '2026-07-13 07:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026916 -2.806941)'), GeomFromEWKT('SRID=4674;POINT (-40.02691 -2.806927)'))) / (select extract(epoch from '2026-07-13 07:05:23'::timestamp) - extract(epoch from '2026-07-13 07:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026916 -2.806941)'), GeomFromEWKT('SRID=4674;POINT (-40.02691 -2.806927)'))) / (select extract(epoch from '2026-07-13 07:05:23'::timestamp) - extract(epoch from '2026-07-13 07:05: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'), 47628, 'SRID=4674;POINT (-40.026868 -2.806837)', '2026-07-13 07:05:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02691 -2.806927)'), GeomFromEWKT('SRID=4674;POINT (-40.026868 -2.806837)'))) / (select extract(epoch from '2026-07-13 07:05:29'::timestamp) - extract(epoch from '2026-07-13 07:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02691 -2.806927)'), GeomFromEWKT('SRID=4674;POINT (-40.026868 -2.806837)'))) / (select extract(epoch from '2026-07-13 07:05:29'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.026825 -2.806719)', '2026-07-13 07:05:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026868 -2.806837)'), GeomFromEWKT('SRID=4674;POINT (-40.026825 -2.806719)'))) / (select extract(epoch from '2026-07-13 07:05:36'::timestamp) - extract(epoch from '2026-07-13 07:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026868 -2.806837)'), GeomFromEWKT('SRID=4674;POINT (-40.026825 -2.806719)'))) / (select extract(epoch from '2026-07-13 07:05:36'::timestamp) - extract(epoch from '2026-07-13 07:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026791 -2.806618)', '2026-07-13 07:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026825 -2.806719)'), GeomFromEWKT('SRID=4674;POINT (-40.026791 -2.806618)'))) / (select extract(epoch from '2026-07-13 07:05:42'::timestamp) - extract(epoch from '2026-07-13 07:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026825 -2.806719)'), GeomFromEWKT('SRID=4674;POINT (-40.026791 -2.806618)'))) / (select extract(epoch from '2026-07-13 07:05:42'::timestamp) - extract(epoch from '2026-07-13 07:05: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'), 47628, 'SRID=4674;POINT (-40.026779 -2.80657)', '2026-07-13 07:05:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026791 -2.806618)'), GeomFromEWKT('SRID=4674;POINT (-40.026779 -2.80657)'))) / (select extract(epoch from '2026-07-13 07:05:45'::timestamp) - extract(epoch from '2026-07-13 07:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026791 -2.806618)'), GeomFromEWKT('SRID=4674;POINT (-40.026779 -2.80657)'))) / (select extract(epoch from '2026-07-13 07:05:45'::timestamp) - extract(epoch from '2026-07-13 07:05: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'), 47628, 'SRID=4674;POINT (-40.02677 -2.80654)', '2026-07-13 07:05:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026779 -2.80657)'), GeomFromEWKT('SRID=4674;POINT (-40.02677 -2.80654)'))) / (select extract(epoch from '2026-07-13 07:05:47'::timestamp) - extract(epoch from '2026-07-13 07:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026779 -2.80657)'), GeomFromEWKT('SRID=4674;POINT (-40.02677 -2.80654)'))) / (select extract(epoch from '2026-07-13 07:05:47'::timestamp) - extract(epoch from '2026-07-13 07:05:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026756 -2.806478)', '2026-07-13 07:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02677 -2.80654)'), GeomFromEWKT('SRID=4674;POINT (-40.026756 -2.806478)'))) / (select extract(epoch from '2026-07-13 07:05:51'::timestamp) - extract(epoch from '2026-07-13 07:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02677 -2.80654)'), GeomFromEWKT('SRID=4674;POINT (-40.026756 -2.806478)'))) / (select extract(epoch from '2026-07-13 07:05:51'::timestamp) - extract(epoch from '2026-07-13 07:05: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'), 47628, 'SRID=4674;POINT (-40.026727 -2.806386)', '2026-07-13 07:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026756 -2.806478)'), GeomFromEWKT('SRID=4674;POINT (-40.026727 -2.806386)'))) / (select extract(epoch from '2026-07-13 07:05:57'::timestamp) - extract(epoch from '2026-07-13 07:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026756 -2.806478)'), GeomFromEWKT('SRID=4674;POINT (-40.026727 -2.806386)'))) / (select extract(epoch from '2026-07-13 07:05:57'::timestamp) - extract(epoch from '2026-07-13 07:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026686 -2.806311)', '2026-07-13 07:06:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026727 -2.806386)'), GeomFromEWKT('SRID=4674;POINT (-40.026686 -2.806311)'))) / (select extract(epoch from '2026-07-13 07:06:03'::timestamp) - extract(epoch from '2026-07-13 07:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026727 -2.806386)'), GeomFromEWKT('SRID=4674;POINT (-40.026686 -2.806311)'))) / (select extract(epoch from '2026-07-13 07:06:03'::timestamp) - extract(epoch from '2026-07-13 07:05: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'), 47628, 'SRID=4674;POINT (-40.026641 -2.806215)', '2026-07-13 07:06:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026686 -2.806311)'), GeomFromEWKT('SRID=4674;POINT (-40.026641 -2.806215)'))) / (select extract(epoch from '2026-07-13 07:06:10'::timestamp) - extract(epoch from '2026-07-13 07:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026686 -2.806311)'), GeomFromEWKT('SRID=4674;POINT (-40.026641 -2.806215)'))) / (select extract(epoch from '2026-07-13 07:06:10'::timestamp) - extract(epoch from '2026-07-13 07:06: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'), 47628, 'SRID=4674;POINT (-40.02661 -2.806119)', '2026-07-13 07:06:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026641 -2.806215)'), GeomFromEWKT('SRID=4674;POINT (-40.02661 -2.806119)'))) / (select extract(epoch from '2026-07-13 07:06:17'::timestamp) - extract(epoch from '2026-07-13 07:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026641 -2.806215)'), GeomFromEWKT('SRID=4674;POINT (-40.02661 -2.806119)'))) / (select extract(epoch from '2026-07-13 07:06:17'::timestamp) - extract(epoch from '2026-07-13 07:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02657 -2.806013)', '2026-07-13 07:06:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02661 -2.806119)'), GeomFromEWKT('SRID=4674;POINT (-40.02657 -2.806013)'))) / (select extract(epoch from '2026-07-13 07:06:24'::timestamp) - extract(epoch from '2026-07-13 07:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02661 -2.806119)'), GeomFromEWKT('SRID=4674;POINT (-40.02657 -2.806013)'))) / (select extract(epoch from '2026-07-13 07:06:24'::timestamp) - extract(epoch from '2026-07-13 07:06: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'), 47628, 'SRID=4674;POINT (-40.026527 -2.805862)', '2026-07-13 07:06:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02657 -2.806013)'), GeomFromEWKT('SRID=4674;POINT (-40.026527 -2.805862)'))) / (select extract(epoch from '2026-07-13 07:06:33'::timestamp) - extract(epoch from '2026-07-13 07:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02657 -2.806013)'), GeomFromEWKT('SRID=4674;POINT (-40.026527 -2.805862)'))) / (select extract(epoch from '2026-07-13 07:06:33'::timestamp) - extract(epoch from '2026-07-13 07:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026508 -2.805809)', '2026-07-13 07:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026527 -2.805862)'), GeomFromEWKT('SRID=4674;POINT (-40.026508 -2.805809)'))) / (select extract(epoch from '2026-07-13 07:06:36'::timestamp) - extract(epoch from '2026-07-13 07:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026527 -2.805862)'), GeomFromEWKT('SRID=4674;POINT (-40.026508 -2.805809)'))) / (select extract(epoch from '2026-07-13 07:06:36'::timestamp) - extract(epoch from '2026-07-13 07:06: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'), 47628, 'SRID=4674;POINT (-40.0265 -2.805772)', '2026-07-13 07:06:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026508 -2.805809)'), GeomFromEWKT('SRID=4674;POINT (-40.0265 -2.805772)'))) / (select extract(epoch from '2026-07-13 07:06:38'::timestamp) - extract(epoch from '2026-07-13 07:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026508 -2.805809)'), GeomFromEWKT('SRID=4674;POINT (-40.0265 -2.805772)'))) / (select extract(epoch from '2026-07-13 07:06:38'::timestamp) - extract(epoch from '2026-07-13 07:06: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'), 47628, 'SRID=4674;POINT (-40.026467 -2.805663)', '2026-07-13 07:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0265 -2.805772)'), GeomFromEWKT('SRID=4674;POINT (-40.026467 -2.805663)'))) / (select extract(epoch from '2026-07-13 07:06:44'::timestamp) - extract(epoch from '2026-07-13 07:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0265 -2.805772)'), GeomFromEWKT('SRID=4674;POINT (-40.026467 -2.805663)'))) / (select extract(epoch from '2026-07-13 07:06:44'::timestamp) - extract(epoch from '2026-07-13 07:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026428 -2.805545)', '2026-07-13 07:06:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026467 -2.805663)'), GeomFromEWKT('SRID=4674;POINT (-40.026428 -2.805545)'))) / (select extract(epoch from '2026-07-13 07:06:51'::timestamp) - extract(epoch from '2026-07-13 07:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026467 -2.805663)'), GeomFromEWKT('SRID=4674;POINT (-40.026428 -2.805545)'))) / (select extract(epoch from '2026-07-13 07:06:51'::timestamp) - extract(epoch from '2026-07-13 07:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026391 -2.805447)', '2026-07-13 07:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026428 -2.805545)'), GeomFromEWKT('SRID=4674;POINT (-40.026391 -2.805447)'))) / (select extract(epoch from '2026-07-13 07:06:57'::timestamp) - extract(epoch from '2026-07-13 07:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026428 -2.805545)'), GeomFromEWKT('SRID=4674;POINT (-40.026391 -2.805447)'))) / (select extract(epoch from '2026-07-13 07:06:57'::timestamp) - extract(epoch from '2026-07-13 07:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026324 -2.805328)', '2026-07-13 07:07:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026391 -2.805447)'), GeomFromEWKT('SRID=4674;POINT (-40.026324 -2.805328)'))) / (select extract(epoch from '2026-07-13 07:07:05'::timestamp) - extract(epoch from '2026-07-13 07:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026391 -2.805447)'), GeomFromEWKT('SRID=4674;POINT (-40.026324 -2.805328)'))) / (select extract(epoch from '2026-07-13 07:07:05'::timestamp) - extract(epoch from '2026-07-13 07:06: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'), 47628, 'SRID=4674;POINT (-40.026299 -2.805289)', '2026-07-13 07:07:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026324 -2.805328)'), GeomFromEWKT('SRID=4674;POINT (-40.026299 -2.805289)'))) / (select extract(epoch from '2026-07-13 07:07:08'::timestamp) - extract(epoch from '2026-07-13 07:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026324 -2.805328)'), GeomFromEWKT('SRID=4674;POINT (-40.026299 -2.805289)'))) / (select extract(epoch from '2026-07-13 07:07:08'::timestamp) - extract(epoch from '2026-07-13 07:07: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'), 47628, 'SRID=4674;POINT (-40.026284 -2.805261)', '2026-07-13 07:07:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026299 -2.805289)'), GeomFromEWKT('SRID=4674;POINT (-40.026284 -2.805261)'))) / (select extract(epoch from '2026-07-13 07:07:10'::timestamp) - extract(epoch from '2026-07-13 07:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026299 -2.805289)'), GeomFromEWKT('SRID=4674;POINT (-40.026284 -2.805261)'))) / (select extract(epoch from '2026-07-13 07:07:10'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.026243 -2.805176)', '2026-07-13 07:07:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026284 -2.805261)'), GeomFromEWKT('SRID=4674;POINT (-40.026243 -2.805176)'))) / (select extract(epoch from '2026-07-13 07:07:16'::timestamp) - extract(epoch from '2026-07-13 07:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026284 -2.805261)'), GeomFromEWKT('SRID=4674;POINT (-40.026243 -2.805176)'))) / (select extract(epoch from '2026-07-13 07:07:16'::timestamp) - extract(epoch from '2026-07-13 07:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026229 -2.805148)', '2026-07-13 07:07:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026243 -2.805176)'), GeomFromEWKT('SRID=4674;POINT (-40.026229 -2.805148)'))) / (select extract(epoch from '2026-07-13 07:07:18'::timestamp) - extract(epoch from '2026-07-13 07:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026243 -2.805176)'), GeomFromEWKT('SRID=4674;POINT (-40.026229 -2.805148)'))) / (select extract(epoch from '2026-07-13 07:07:18'::timestamp) - extract(epoch from '2026-07-13 07:07: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'), 47628, 'SRID=4674;POINT (-40.026207 -2.805108)', '2026-07-13 07:07:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026229 -2.805148)'), GeomFromEWKT('SRID=4674;POINT (-40.026207 -2.805108)'))) / (select extract(epoch from '2026-07-13 07:07:21'::timestamp) - extract(epoch from '2026-07-13 07:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026229 -2.805148)'), GeomFromEWKT('SRID=4674;POINT (-40.026207 -2.805108)'))) / (select extract(epoch from '2026-07-13 07:07:21'::timestamp) - extract(epoch from '2026-07-13 07:07: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'), 47628, 'SRID=4674;POINT (-40.026155 -2.804986)', '2026-07-13 07:07:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026207 -2.805108)'), GeomFromEWKT('SRID=4674;POINT (-40.026155 -2.804986)'))) / (select extract(epoch from '2026-07-13 07:07:29'::timestamp) - extract(epoch from '2026-07-13 07:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026207 -2.805108)'), GeomFromEWKT('SRID=4674;POINT (-40.026155 -2.804986)'))) / (select extract(epoch from '2026-07-13 07:07:29'::timestamp) - extract(epoch from '2026-07-13 07:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026125 -2.804906)', '2026-07-13 07:07:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026155 -2.804986)'), GeomFromEWKT('SRID=4674;POINT (-40.026125 -2.804906)'))) / (select extract(epoch from '2026-07-13 07:07:34'::timestamp) - extract(epoch from '2026-07-13 07:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026155 -2.804986)'), GeomFromEWKT('SRID=4674;POINT (-40.026125 -2.804906)'))) / (select extract(epoch from '2026-07-13 07:07:34'::timestamp) - extract(epoch from '2026-07-13 07:07: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'), 47628, 'SRID=4674;POINT (-40.026093 -2.80479)', '2026-07-13 07:07:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026125 -2.804906)'), GeomFromEWKT('SRID=4674;POINT (-40.026093 -2.80479)'))) / (select extract(epoch from '2026-07-13 07:07:41'::timestamp) - extract(epoch from '2026-07-13 07:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026125 -2.804906)'), GeomFromEWKT('SRID=4674;POINT (-40.026093 -2.80479)'))) / (select extract(epoch from '2026-07-13 07:07:41'::timestamp) - extract(epoch from '2026-07-13 07:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026057 -2.804666)', '2026-07-13 07:07:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026093 -2.80479)'), GeomFromEWKT('SRID=4674;POINT (-40.026057 -2.804666)'))) / (select extract(epoch from '2026-07-13 07:07:49'::timestamp) - extract(epoch from '2026-07-13 07:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026093 -2.80479)'), GeomFromEWKT('SRID=4674;POINT (-40.026057 -2.804666)'))) / (select extract(epoch from '2026-07-13 07:07:49'::timestamp) - extract(epoch from '2026-07-13 07:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026031 -2.8046)', '2026-07-13 07:07:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026057 -2.804666)'), GeomFromEWKT('SRID=4674;POINT (-40.026031 -2.8046)'))) / (select extract(epoch from '2026-07-13 07:07:54'::timestamp) - extract(epoch from '2026-07-13 07:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026057 -2.804666)'), GeomFromEWKT('SRID=4674;POINT (-40.026031 -2.8046)'))) / (select extract(epoch from '2026-07-13 07:07:54'::timestamp) - extract(epoch from '2026-07-13 07:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025988 -2.804512)', '2026-07-13 07:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026031 -2.8046)'), GeomFromEWKT('SRID=4674;POINT (-40.025988 -2.804512)'))) / (select extract(epoch from '2026-07-13 07:08:01'::timestamp) - extract(epoch from '2026-07-13 07:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026031 -2.8046)'), GeomFromEWKT('SRID=4674;POINT (-40.025988 -2.804512)'))) / (select extract(epoch from '2026-07-13 07:08:01'::timestamp) - extract(epoch from '2026-07-13 07:07: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'), 47628, 'SRID=4674;POINT (-40.025948 -2.804417)', '2026-07-13 07:08:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025988 -2.804512)'), GeomFromEWKT('SRID=4674;POINT (-40.025948 -2.804417)'))) / (select extract(epoch from '2026-07-13 07:08:08'::timestamp) - extract(epoch from '2026-07-13 07:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025988 -2.804512)'), GeomFromEWKT('SRID=4674;POINT (-40.025948 -2.804417)'))) / (select extract(epoch from '2026-07-13 07:08:08'::timestamp) - extract(epoch from '2026-07-13 07:08: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'), 47628, 'SRID=4674;POINT (-40.025923 -2.804336)', '2026-07-13 07:08:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025948 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.025923 -2.804336)'))) / (select extract(epoch from '2026-07-13 07:08:14'::timestamp) - extract(epoch from '2026-07-13 07:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025948 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.025923 -2.804336)'))) / (select extract(epoch from '2026-07-13 07:08:14'::timestamp) - extract(epoch from '2026-07-13 07:08: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'), 47628, 'SRID=4674;POINT (-40.025896 -2.804233)', '2026-07-13 07:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025923 -2.804336)'), GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.804233)'))) / (select extract(epoch from '2026-07-13 07:08:21'::timestamp) - extract(epoch from '2026-07-13 07:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025923 -2.804336)'), GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.804233)'))) / (select extract(epoch from '2026-07-13 07:08:21'::timestamp) - extract(epoch from '2026-07-13 07:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025863 -2.804128)', '2026-07-13 07:08:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.804233)'), GeomFromEWKT('SRID=4674;POINT (-40.025863 -2.804128)'))) / (select extract(epoch from '2026-07-13 07:08:28'::timestamp) - extract(epoch from '2026-07-13 07:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.804233)'), GeomFromEWKT('SRID=4674;POINT (-40.025863 -2.804128)'))) / (select extract(epoch from '2026-07-13 07:08:28'::timestamp) - extract(epoch from '2026-07-13 07:08: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'), 47628, 'SRID=4674;POINT (-40.025817 -2.804021)', '2026-07-13 07:08:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025863 -2.804128)'), GeomFromEWKT('SRID=4674;POINT (-40.025817 -2.804021)'))) / (select extract(epoch from '2026-07-13 07:08:35'::timestamp) - extract(epoch from '2026-07-13 07:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025863 -2.804128)'), GeomFromEWKT('SRID=4674;POINT (-40.025817 -2.804021)'))) / (select extract(epoch from '2026-07-13 07:08:35'::timestamp) - extract(epoch from '2026-07-13 07:08: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'), 47628, 'SRID=4674;POINT (-40.02576 -2.803903)', '2026-07-13 07:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025817 -2.804021)'), GeomFromEWKT('SRID=4674;POINT (-40.02576 -2.803903)'))) / (select extract(epoch from '2026-07-13 07:08:43'::timestamp) - extract(epoch from '2026-07-13 07:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025817 -2.804021)'), GeomFromEWKT('SRID=4674;POINT (-40.02576 -2.803903)'))) / (select extract(epoch from '2026-07-13 07:08:43'::timestamp) - extract(epoch from '2026-07-13 07:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025722 -2.803804)', '2026-07-13 07:08:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02576 -2.803903)'), GeomFromEWKT('SRID=4674;POINT (-40.025722 -2.803804)'))) / (select extract(epoch from '2026-07-13 07:08:49'::timestamp) - extract(epoch from '2026-07-13 07:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02576 -2.803903)'), GeomFromEWKT('SRID=4674;POINT (-40.025722 -2.803804)'))) / (select extract(epoch from '2026-07-13 07:08:49'::timestamp) - extract(epoch from '2026-07-13 07:08: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'), 47628, 'SRID=4674;POINT (-40.025697 -2.803733)', '2026-07-13 07:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025722 -2.803804)'), GeomFromEWKT('SRID=4674;POINT (-40.025697 -2.803733)'))) / (select extract(epoch from '2026-07-13 07:08:54'::timestamp) - extract(epoch from '2026-07-13 07:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025722 -2.803804)'), GeomFromEWKT('SRID=4674;POINT (-40.025697 -2.803733)'))) / (select extract(epoch from '2026-07-13 07:08:54'::timestamp) - extract(epoch from '2026-07-13 07:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025681 -2.803689)', '2026-07-13 07:08:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025697 -2.803733)'), GeomFromEWKT('SRID=4674;POINT (-40.025681 -2.803689)'))) / (select extract(epoch from '2026-07-13 07:08:57'::timestamp) - extract(epoch from '2026-07-13 07:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025697 -2.803733)'), GeomFromEWKT('SRID=4674;POINT (-40.025681 -2.803689)'))) / (select extract(epoch from '2026-07-13 07:08:57'::timestamp) - extract(epoch from '2026-07-13 07:08: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'), 47628, 'SRID=4674;POINT (-40.025671 -2.803657)', '2026-07-13 07:08:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025681 -2.803689)'), GeomFromEWKT('SRID=4674;POINT (-40.025671 -2.803657)'))) / (select extract(epoch from '2026-07-13 07:08:59'::timestamp) - extract(epoch from '2026-07-13 07:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025681 -2.803689)'), GeomFromEWKT('SRID=4674;POINT (-40.025671 -2.803657)'))) / (select extract(epoch from '2026-07-13 07:08:59'::timestamp) - extract(epoch from '2026-07-13 07:08: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'), 47628, 'SRID=4674;POINT (-40.025633 -2.803526)', '2026-07-13 07:09:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025671 -2.803657)'), GeomFromEWKT('SRID=4674;POINT (-40.025633 -2.803526)'))) / (select extract(epoch from '2026-07-13 07:09:08'::timestamp) - extract(epoch from '2026-07-13 07:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025671 -2.803657)'), GeomFromEWKT('SRID=4674;POINT (-40.025633 -2.803526)'))) / (select extract(epoch from '2026-07-13 07:09:08'::timestamp) - extract(epoch from '2026-07-13 07:08: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'), 47628, 'SRID=4674;POINT (-40.025598 -2.803409)', '2026-07-13 07:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025633 -2.803526)'), GeomFromEWKT('SRID=4674;POINT (-40.025598 -2.803409)'))) / (select extract(epoch from '2026-07-13 07:09:16'::timestamp) - extract(epoch from '2026-07-13 07:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025633 -2.803526)'), GeomFromEWKT('SRID=4674;POINT (-40.025598 -2.803409)'))) / (select extract(epoch from '2026-07-13 07:09:16'::timestamp) - extract(epoch from '2026-07-13 07:09: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'), 47628, 'SRID=4674;POINT (-40.025551 -2.803305)', '2026-07-13 07:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025598 -2.803409)'), GeomFromEWKT('SRID=4674;POINT (-40.025551 -2.803305)'))) / (select extract(epoch from '2026-07-13 07:09:23'::timestamp) - extract(epoch from '2026-07-13 07:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025598 -2.803409)'), GeomFromEWKT('SRID=4674;POINT (-40.025551 -2.803305)'))) / (select extract(epoch from '2026-07-13 07:09:23'::timestamp) - extract(epoch from '2026-07-13 07:09: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'), 47628, 'SRID=4674;POINT (-40.025513 -2.803231)', '2026-07-13 07:09:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025551 -2.803305)'), GeomFromEWKT('SRID=4674;POINT (-40.025513 -2.803231)'))) / (select extract(epoch from '2026-07-13 07:09:29'::timestamp) - extract(epoch from '2026-07-13 07:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025551 -2.803305)'), GeomFromEWKT('SRID=4674;POINT (-40.025513 -2.803231)'))) / (select extract(epoch from '2026-07-13 07:09:29'::timestamp) - extract(epoch from '2026-07-13 07:09: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'), 47628, 'SRID=4674;POINT (-40.025453 -2.803151)', '2026-07-13 07:09:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025513 -2.803231)'), GeomFromEWKT('SRID=4674;POINT (-40.025453 -2.803151)'))) / (select extract(epoch from '2026-07-13 07:09:36'::timestamp) - extract(epoch from '2026-07-13 07:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025513 -2.803231)'), GeomFromEWKT('SRID=4674;POINT (-40.025453 -2.803151)'))) / (select extract(epoch from '2026-07-13 07:09:36'::timestamp) - extract(epoch from '2026-07-13 07:09: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'), 47628, 'SRID=4674;POINT (-40.025406 -2.803068)', '2026-07-13 07:09:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025453 -2.803151)'), GeomFromEWKT('SRID=4674;POINT (-40.025406 -2.803068)'))) / (select extract(epoch from '2026-07-13 07:09:42'::timestamp) - extract(epoch from '2026-07-13 07:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025453 -2.803151)'), GeomFromEWKT('SRID=4674;POINT (-40.025406 -2.803068)'))) / (select extract(epoch from '2026-07-13 07:09:42'::timestamp) - extract(epoch from '2026-07-13 07:09: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'), 47628, 'SRID=4674;POINT (-40.025364 -2.802989)', '2026-07-13 07:09:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025406 -2.803068)'), GeomFromEWKT('SRID=4674;POINT (-40.025364 -2.802989)'))) / (select extract(epoch from '2026-07-13 07:09:48'::timestamp) - extract(epoch from '2026-07-13 07:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025406 -2.803068)'), GeomFromEWKT('SRID=4674;POINT (-40.025364 -2.802989)'))) / (select extract(epoch from '2026-07-13 07:09:48'::timestamp) - extract(epoch from '2026-07-13 07:09: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'), 47628, 'SRID=4674;POINT (-40.025326 -2.802907)', '2026-07-13 07:09:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025364 -2.802989)'), GeomFromEWKT('SRID=4674;POINT (-40.025326 -2.802907)'))) / (select extract(epoch from '2026-07-13 07:09:54'::timestamp) - extract(epoch from '2026-07-13 07:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025364 -2.802989)'), GeomFromEWKT('SRID=4674;POINT (-40.025326 -2.802907)'))) / (select extract(epoch from '2026-07-13 07:09:54'::timestamp) - extract(epoch from '2026-07-13 07:09: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'), 47628, 'SRID=4674;POINT (-40.025283 -2.802784)', '2026-07-13 07:10:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025326 -2.802907)'), GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.802784)'))) / (select extract(epoch from '2026-07-13 07:10:02'::timestamp) - extract(epoch from '2026-07-13 07:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025326 -2.802907)'), GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.802784)'))) / (select extract(epoch from '2026-07-13 07:10:02'::timestamp) - extract(epoch from '2026-07-13 07:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025233 -2.802628)', '2026-07-13 07:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.802784)'), GeomFromEWKT('SRID=4674;POINT (-40.025233 -2.802628)'))) / (select extract(epoch from '2026-07-13 07:10:11'::timestamp) - extract(epoch from '2026-07-13 07:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.802784)'), GeomFromEWKT('SRID=4674;POINT (-40.025233 -2.802628)'))) / (select extract(epoch from '2026-07-13 07:10:11'::timestamp) - extract(epoch from '2026-07-13 07:10: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'), 47628, 'SRID=4674;POINT (-40.025211 -2.802508)', '2026-07-13 07:10:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025233 -2.802628)'), GeomFromEWKT('SRID=4674;POINT (-40.025211 -2.802508)'))) / (select extract(epoch from '2026-07-13 07:10:18'::timestamp) - extract(epoch from '2026-07-13 07:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025233 -2.802628)'), GeomFromEWKT('SRID=4674;POINT (-40.025211 -2.802508)'))) / (select extract(epoch from '2026-07-13 07:10:18'::timestamp) - extract(epoch from '2026-07-13 07:10: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'), 47628, 'SRID=4674;POINT (-40.025211 -2.802472)', '2026-07-13 07:10:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025211 -2.802508)'), GeomFromEWKT('SRID=4674;POINT (-40.025211 -2.802472)'))) / (select extract(epoch from '2026-07-13 07:10:20'::timestamp) - extract(epoch from '2026-07-13 07:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025211 -2.802508)'), GeomFromEWKT('SRID=4674;POINT (-40.025211 -2.802472)'))) / (select extract(epoch from '2026-07-13 07:10:20'::timestamp) - extract(epoch from '2026-07-13 07:10: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'), 47628, 'SRID=4674;POINT (-40.025193 -2.802429)', '2026-07-13 07:10:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025211 -2.802472)'), GeomFromEWKT('SRID=4674;POINT (-40.025193 -2.802429)'))) / (select extract(epoch from '2026-07-13 07:10:23'::timestamp) - extract(epoch from '2026-07-13 07:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025211 -2.802472)'), GeomFromEWKT('SRID=4674;POINT (-40.025193 -2.802429)'))) / (select extract(epoch from '2026-07-13 07:10:23'::timestamp) - extract(epoch from '2026-07-13 07:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025155 -2.802372)', '2026-07-13 07:10:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025193 -2.802429)'), GeomFromEWKT('SRID=4674;POINT (-40.025155 -2.802372)'))) / (select extract(epoch from '2026-07-13 07:10:28'::timestamp) - extract(epoch from '2026-07-13 07:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025193 -2.802429)'), GeomFromEWKT('SRID=4674;POINT (-40.025155 -2.802372)'))) / (select extract(epoch from '2026-07-13 07:10:28'::timestamp) - extract(epoch from '2026-07-13 07:10: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'), 47628, 'SRID=4674;POINT (-40.025148 -2.80236)', '2026-07-13 07:10:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025155 -2.802372)'), GeomFromEWKT('SRID=4674;POINT (-40.025148 -2.80236)'))) / (select extract(epoch from '2026-07-13 07:10:29'::timestamp) - extract(epoch from '2026-07-13 07:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025155 -2.802372)'), GeomFromEWKT('SRID=4674;POINT (-40.025148 -2.80236)'))) / (select extract(epoch from '2026-07-13 07:10:29'::timestamp) - extract(epoch from '2026-07-13 07:10: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'), 47628, 'SRID=4674;POINT (-40.025142 -2.802349)', '2026-07-13 07:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025148 -2.80236)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.802349)'))) / (select extract(epoch from '2026-07-13 07:10:30'::timestamp) - extract(epoch from '2026-07-13 07:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025148 -2.80236)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.802349)'))) / (select extract(epoch from '2026-07-13 07:10:30'::timestamp) - extract(epoch from '2026-07-13 07:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025126 -2.802311)', '2026-07-13 07:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.802349)'), GeomFromEWKT('SRID=4674;POINT (-40.025126 -2.802311)'))) / (select extract(epoch from '2026-07-13 07:10:33'::timestamp) - extract(epoch from '2026-07-13 07:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.802349)'), GeomFromEWKT('SRID=4674;POINT (-40.025126 -2.802311)'))) / (select extract(epoch from '2026-07-13 07:10:33'::timestamp) - extract(epoch from '2026-07-13 07:10: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'), 47628, 'SRID=4674;POINT (-40.025093 -2.802231)', '2026-07-13 07:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025126 -2.802311)'), GeomFromEWKT('SRID=4674;POINT (-40.025093 -2.802231)'))) / (select extract(epoch from '2026-07-13 07:10:39'::timestamp) - extract(epoch from '2026-07-13 07:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025126 -2.802311)'), GeomFromEWKT('SRID=4674;POINT (-40.025093 -2.802231)'))) / (select extract(epoch from '2026-07-13 07:10:39'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.025056 -2.802163)', '2026-07-13 07:10:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025093 -2.802231)'), GeomFromEWKT('SRID=4674;POINT (-40.025056 -2.802163)'))) / (select extract(epoch from '2026-07-13 07:10:45'::timestamp) - extract(epoch from '2026-07-13 07:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025093 -2.802231)'), GeomFromEWKT('SRID=4674;POINT (-40.025056 -2.802163)'))) / (select extract(epoch from '2026-07-13 07:10:45'::timestamp) - extract(epoch from '2026-07-13 07:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025023 -2.802115)', '2026-07-13 07:10:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025056 -2.802163)'), GeomFromEWKT('SRID=4674;POINT (-40.025023 -2.802115)'))) / (select extract(epoch from '2026-07-13 07:10:49'::timestamp) - extract(epoch from '2026-07-13 07:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025056 -2.802163)'), GeomFromEWKT('SRID=4674;POINT (-40.025023 -2.802115)'))) / (select extract(epoch from '2026-07-13 07:10:49'::timestamp) - extract(epoch from '2026-07-13 07:10:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025005 -2.802078)', '2026-07-13 07:10:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025023 -2.802115)'), GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.802078)'))) / (select extract(epoch from '2026-07-13 07:10:52'::timestamp) - extract(epoch from '2026-07-13 07:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025023 -2.802115)'), GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.802078)'))) / (select extract(epoch from '2026-07-13 07:10:52'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.025 -2.802066)', '2026-07-13 07:10:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.802078)'), GeomFromEWKT('SRID=4674;POINT (-40.025 -2.802066)'))) / (select extract(epoch from '2026-07-13 07:10:53'::timestamp) - extract(epoch from '2026-07-13 07:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.802078)'), GeomFromEWKT('SRID=4674;POINT (-40.025 -2.802066)'))) / (select extract(epoch from '2026-07-13 07:10:53'::timestamp) - extract(epoch from '2026-07-13 07:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024969 -2.802021)', '2026-07-13 07:10:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025 -2.802066)'), GeomFromEWKT('SRID=4674;POINT (-40.024969 -2.802021)'))) / (select extract(epoch from '2026-07-13 07:10:57'::timestamp) - extract(epoch from '2026-07-13 07:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025 -2.802066)'), GeomFromEWKT('SRID=4674;POINT (-40.024969 -2.802021)'))) / (select extract(epoch from '2026-07-13 07:10:57'::timestamp) - extract(epoch from '2026-07-13 07:10: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'), 47628, 'SRID=4674;POINT (-40.024926 -2.801966)', '2026-07-13 07:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024969 -2.802021)'), GeomFromEWKT('SRID=4674;POINT (-40.024926 -2.801966)'))) / (select extract(epoch from '2026-07-13 07:11:02'::timestamp) - extract(epoch from '2026-07-13 07:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024969 -2.802021)'), GeomFromEWKT('SRID=4674;POINT (-40.024926 -2.801966)'))) / (select extract(epoch from '2026-07-13 07:11:02'::timestamp) - extract(epoch from '2026-07-13 07:10: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'), 47628, 'SRID=4674;POINT (-40.024885 -2.801899)', '2026-07-13 07:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024926 -2.801966)'), GeomFromEWKT('SRID=4674;POINT (-40.024885 -2.801899)'))) / (select extract(epoch from '2026-07-13 07:11:07'::timestamp) - extract(epoch from '2026-07-13 07:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024926 -2.801966)'), GeomFromEWKT('SRID=4674;POINT (-40.024885 -2.801899)'))) / (select extract(epoch from '2026-07-13 07:11:07'::timestamp) - extract(epoch from '2026-07-13 07:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024849 -2.801815)', '2026-07-13 07:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024885 -2.801899)'), GeomFromEWKT('SRID=4674;POINT (-40.024849 -2.801815)'))) / (select extract(epoch from '2026-07-13 07:11:13'::timestamp) - extract(epoch from '2026-07-13 07:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024885 -2.801899)'), GeomFromEWKT('SRID=4674;POINT (-40.024849 -2.801815)'))) / (select extract(epoch from '2026-07-13 07:11:13'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.024837 -2.801789)', '2026-07-13 07:11:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024849 -2.801815)'), GeomFromEWKT('SRID=4674;POINT (-40.024837 -2.801789)'))) / (select extract(epoch from '2026-07-13 07:11:15'::timestamp) - extract(epoch from '2026-07-13 07:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024849 -2.801815)'), GeomFromEWKT('SRID=4674;POINT (-40.024837 -2.801789)'))) / (select extract(epoch from '2026-07-13 07:11:15'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.024822 -2.801763)', '2026-07-13 07:11:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024837 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.024822 -2.801763)'))) / (select extract(epoch from '2026-07-13 07:11:17'::timestamp) - extract(epoch from '2026-07-13 07:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024837 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.024822 -2.801763)'))) / (select extract(epoch from '2026-07-13 07:11:17'::timestamp) - extract(epoch from '2026-07-13 07:11: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'), 47628, 'SRID=4674;POINT (-40.024785 -2.801655)', '2026-07-13 07:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024822 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.024785 -2.801655)'))) / (select extract(epoch from '2026-07-13 07:11:24'::timestamp) - extract(epoch from '2026-07-13 07:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024822 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.024785 -2.801655)'))) / (select extract(epoch from '2026-07-13 07:11:24'::timestamp) - extract(epoch from '2026-07-13 07:11: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'), 47628, 'SRID=4674;POINT (-40.02476 -2.80151)', '2026-07-13 07:11:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024785 -2.801655)'), GeomFromEWKT('SRID=4674;POINT (-40.02476 -2.80151)'))) / (select extract(epoch from '2026-07-13 07:11:32'::timestamp) - extract(epoch from '2026-07-13 07:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024785 -2.801655)'), GeomFromEWKT('SRID=4674;POINT (-40.02476 -2.80151)'))) / (select extract(epoch from '2026-07-13 07:11:32'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.024735 -2.801421)', '2026-07-13 07:11:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02476 -2.80151)'), GeomFromEWKT('SRID=4674;POINT (-40.024735 -2.801421)'))) / (select extract(epoch from '2026-07-13 07:11:37'::timestamp) - extract(epoch from '2026-07-13 07:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02476 -2.80151)'), GeomFromEWKT('SRID=4674;POINT (-40.024735 -2.801421)'))) / (select extract(epoch from '2026-07-13 07:11:37'::timestamp) - extract(epoch from '2026-07-13 07:11: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'), 47628, 'SRID=4674;POINT (-40.024703 -2.801321)', '2026-07-13 07:11:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024735 -2.801421)'), GeomFromEWKT('SRID=4674;POINT (-40.024703 -2.801321)'))) / (select extract(epoch from '2026-07-13 07:11:43'::timestamp) - extract(epoch from '2026-07-13 07:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024735 -2.801421)'), GeomFromEWKT('SRID=4674;POINT (-40.024703 -2.801321)'))) / (select extract(epoch from '2026-07-13 07:11:43'::timestamp) - extract(epoch from '2026-07-13 07:11: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'), 47628, 'SRID=4674;POINT (-40.024687 -2.801224)', '2026-07-13 07:11:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024703 -2.801321)'), GeomFromEWKT('SRID=4674;POINT (-40.024687 -2.801224)'))) / (select extract(epoch from '2026-07-13 07:11:49'::timestamp) - extract(epoch from '2026-07-13 07:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024703 -2.801321)'), GeomFromEWKT('SRID=4674;POINT (-40.024687 -2.801224)'))) / (select extract(epoch from '2026-07-13 07:11:49'::timestamp) - extract(epoch from '2026-07-13 07:11: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'), 47628, 'SRID=4674;POINT (-40.024649 -2.801121)', '2026-07-13 07:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024687 -2.801224)'), GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.801121)'))) / (select extract(epoch from '2026-07-13 07:11:56'::timestamp) - extract(epoch from '2026-07-13 07:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024687 -2.801224)'), GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.801121)'))) / (select extract(epoch from '2026-07-13 07:11:56'::timestamp) - extract(epoch from '2026-07-13 07:11: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'), 47628, 'SRID=4674;POINT (-40.024618 -2.801023)', '2026-07-13 07:12:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.801121)'), GeomFromEWKT('SRID=4674;POINT (-40.024618 -2.801023)'))) / (select extract(epoch from '2026-07-13 07:12:02'::timestamp) - extract(epoch from '2026-07-13 07:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.801121)'), GeomFromEWKT('SRID=4674;POINT (-40.024618 -2.801023)'))) / (select extract(epoch from '2026-07-13 07:12:02'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.024585 -2.800947)', '2026-07-13 07:12:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024618 -2.801023)'), GeomFromEWKT('SRID=4674;POINT (-40.024585 -2.800947)'))) / (select extract(epoch from '2026-07-13 07:12:07'::timestamp) - extract(epoch from '2026-07-13 07:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024618 -2.801023)'), GeomFromEWKT('SRID=4674;POINT (-40.024585 -2.800947)'))) / (select extract(epoch from '2026-07-13 07:12:07'::timestamp) - extract(epoch from '2026-07-13 07:12: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'), 47628, 'SRID=4674;POINT (-40.024539 -2.800825)', '2026-07-13 07:12:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024585 -2.800947)'), GeomFromEWKT('SRID=4674;POINT (-40.024539 -2.800825)'))) / (select extract(epoch from '2026-07-13 07:12:15'::timestamp) - extract(epoch from '2026-07-13 07:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024585 -2.800947)'), GeomFromEWKT('SRID=4674;POINT (-40.024539 -2.800825)'))) / (select extract(epoch from '2026-07-13 07:12:15'::timestamp) - extract(epoch from '2026-07-13 07:12: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'), 47628, 'SRID=4674;POINT (-40.02451 -2.800725)', '2026-07-13 07:12:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024539 -2.800825)'), GeomFromEWKT('SRID=4674;POINT (-40.02451 -2.800725)'))) / (select extract(epoch from '2026-07-13 07:12:21'::timestamp) - extract(epoch from '2026-07-13 07:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024539 -2.800825)'), GeomFromEWKT('SRID=4674;POINT (-40.02451 -2.800725)'))) / (select extract(epoch from '2026-07-13 07:12:21'::timestamp) - extract(epoch from '2026-07-13 07:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024489 -2.800635)', '2026-07-13 07:12:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02451 -2.800725)'), GeomFromEWKT('SRID=4674;POINT (-40.024489 -2.800635)'))) / (select extract(epoch from '2026-07-13 07:12:26'::timestamp) - extract(epoch from '2026-07-13 07:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02451 -2.800725)'), GeomFromEWKT('SRID=4674;POINT (-40.024489 -2.800635)'))) / (select extract(epoch from '2026-07-13 07:12:26'::timestamp) - extract(epoch from '2026-07-13 07:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024475 -2.800528)', '2026-07-13 07:12:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024489 -2.800635)'), GeomFromEWKT('SRID=4674;POINT (-40.024475 -2.800528)'))) / (select extract(epoch from '2026-07-13 07:12:32'::timestamp) - extract(epoch from '2026-07-13 07:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024489 -2.800635)'), GeomFromEWKT('SRID=4674;POINT (-40.024475 -2.800528)'))) / (select extract(epoch from '2026-07-13 07:12:32'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.024461 -2.800457)', '2026-07-13 07:12:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024475 -2.800528)'), GeomFromEWKT('SRID=4674;POINT (-40.024461 -2.800457)'))) / (select extract(epoch from '2026-07-13 07:12:36'::timestamp) - extract(epoch from '2026-07-13 07:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024475 -2.800528)'), GeomFromEWKT('SRID=4674;POINT (-40.024461 -2.800457)'))) / (select extract(epoch from '2026-07-13 07:12:36'::timestamp) - extract(epoch from '2026-07-13 07:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024454 -2.800422)', '2026-07-13 07:12:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024461 -2.800457)'), GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.800422)'))) / (select extract(epoch from '2026-07-13 07:12:38'::timestamp) - extract(epoch from '2026-07-13 07:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024461 -2.800457)'), GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.800422)'))) / (select extract(epoch from '2026-07-13 07:12:38'::timestamp) - extract(epoch from '2026-07-13 07:12: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'), 47628, 'SRID=4674;POINT (-40.024424 -2.800346)', '2026-07-13 07:12:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.024424 -2.800346)'))) / (select extract(epoch from '2026-07-13 07:12:43'::timestamp) - extract(epoch from '2026-07-13 07:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.024424 -2.800346)'))) / (select extract(epoch from '2026-07-13 07:12:43'::timestamp) - extract(epoch from '2026-07-13 07:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024376 -2.800248)', '2026-07-13 07:12:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024424 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.024376 -2.800248)'))) / (select extract(epoch from '2026-07-13 07:12:50'::timestamp) - extract(epoch from '2026-07-13 07:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024424 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.024376 -2.800248)'))) / (select extract(epoch from '2026-07-13 07:12:50'::timestamp) - extract(epoch from '2026-07-13 07:12: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'), 47628, 'SRID=4674;POINT (-40.024313 -2.800105)', '2026-07-13 07:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024376 -2.800248)'), GeomFromEWKT('SRID=4674;POINT (-40.024313 -2.800105)'))) / (select extract(epoch from '2026-07-13 07:13:00'::timestamp) - extract(epoch from '2026-07-13 07:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024376 -2.800248)'), GeomFromEWKT('SRID=4674;POINT (-40.024313 -2.800105)'))) / (select extract(epoch from '2026-07-13 07:13:00'::timestamp) - extract(epoch from '2026-07-13 07:12: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'), 47628, 'SRID=4674;POINT (-40.024306 -2.800056)', '2026-07-13 07:13:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024313 -2.800105)'), GeomFromEWKT('SRID=4674;POINT (-40.024306 -2.800056)'))) / (select extract(epoch from '2026-07-13 07:13:03'::timestamp) - extract(epoch from '2026-07-13 07:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024313 -2.800105)'), GeomFromEWKT('SRID=4674;POINT (-40.024306 -2.800056)'))) / (select extract(epoch from '2026-07-13 07:13:03'::timestamp) - extract(epoch from '2026-07-13 07:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024298 -2.800023)', '2026-07-13 07:13:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024306 -2.800056)'), GeomFromEWKT('SRID=4674;POINT (-40.024298 -2.800023)'))) / (select extract(epoch from '2026-07-13 07:13:05'::timestamp) - extract(epoch from '2026-07-13 07:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024306 -2.800056)'), GeomFromEWKT('SRID=4674;POINT (-40.024298 -2.800023)'))) / (select extract(epoch from '2026-07-13 07:13:05'::timestamp) - extract(epoch from '2026-07-13 07:13: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'), 47628, 'SRID=4674;POINT (-40.02426 -2.799928)', '2026-07-13 07:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024298 -2.800023)'), GeomFromEWKT('SRID=4674;POINT (-40.02426 -2.799928)'))) / (select extract(epoch from '2026-07-13 07:13:11'::timestamp) - extract(epoch from '2026-07-13 07:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024298 -2.800023)'), GeomFromEWKT('SRID=4674;POINT (-40.02426 -2.799928)'))) / (select extract(epoch from '2026-07-13 07:13:11'::timestamp) - extract(epoch from '2026-07-13 07:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024224 -2.799847)', '2026-07-13 07:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02426 -2.799928)'), GeomFromEWKT('SRID=4674;POINT (-40.024224 -2.799847)'))) / (select extract(epoch from '2026-07-13 07:13:16'::timestamp) - extract(epoch from '2026-07-13 07:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02426 -2.799928)'), GeomFromEWKT('SRID=4674;POINT (-40.024224 -2.799847)'))) / (select extract(epoch from '2026-07-13 07:13:16'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.024188 -2.799755)', '2026-07-13 07:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024224 -2.799847)'), GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.799755)'))) / (select extract(epoch from '2026-07-13 07:13:22'::timestamp) - extract(epoch from '2026-07-13 07:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024224 -2.799847)'), GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.799755)'))) / (select extract(epoch from '2026-07-13 07:13:22'::timestamp) - extract(epoch from '2026-07-13 07:13: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'), 47628, 'SRID=4674;POINT (-40.024166 -2.799635)', '2026-07-13 07:13:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.799755)'), GeomFromEWKT('SRID=4674;POINT (-40.024166 -2.799635)'))) / (select extract(epoch from '2026-07-13 07:13:29'::timestamp) - extract(epoch from '2026-07-13 07:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.799755)'), GeomFromEWKT('SRID=4674;POINT (-40.024166 -2.799635)'))) / (select extract(epoch from '2026-07-13 07:13:29'::timestamp) - extract(epoch from '2026-07-13 07:13: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'), 47628, 'SRID=4674;POINT (-40.024161 -2.7996)', '2026-07-13 07:13:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024166 -2.799635)'), GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.7996)'))) / (select extract(epoch from '2026-07-13 07:13:31'::timestamp) - extract(epoch from '2026-07-13 07:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024166 -2.799635)'), GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.7996)'))) / (select extract(epoch from '2026-07-13 07:13:31'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.024153 -2.799567)', '2026-07-13 07:13:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.7996)'), GeomFromEWKT('SRID=4674;POINT (-40.024153 -2.799567)'))) / (select extract(epoch from '2026-07-13 07:13:33'::timestamp) - extract(epoch from '2026-07-13 07:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024161 -2.7996)'), GeomFromEWKT('SRID=4674;POINT (-40.024153 -2.799567)'))) / (select extract(epoch from '2026-07-13 07:13:33'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.024144 -2.799499)', '2026-07-13 07:13:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024153 -2.799567)'), GeomFromEWKT('SRID=4674;POINT (-40.024144 -2.799499)'))) / (select extract(epoch from '2026-07-13 07:13:37'::timestamp) - extract(epoch from '2026-07-13 07:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024153 -2.799567)'), GeomFromEWKT('SRID=4674;POINT (-40.024144 -2.799499)'))) / (select extract(epoch from '2026-07-13 07:13:37'::timestamp) - extract(epoch from '2026-07-13 07:13: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'), 47628, 'SRID=4674;POINT (-40.024131 -2.799478)', '2026-07-13 07:13:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024144 -2.799499)'), GeomFromEWKT('SRID=4674;POINT (-40.024131 -2.799478)'))) / (select extract(epoch from '2026-07-13 07:13:39'::timestamp) - extract(epoch from '2026-07-13 07:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024144 -2.799499)'), GeomFromEWKT('SRID=4674;POINT (-40.024131 -2.799478)'))) / (select extract(epoch from '2026-07-13 07:13:39'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.02408 -2.799413)', '2026-07-13 07:13:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024131 -2.799478)'), GeomFromEWKT('SRID=4674;POINT (-40.02408 -2.799413)'))) / (select extract(epoch from '2026-07-13 07:13:46'::timestamp) - extract(epoch from '2026-07-13 07:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024131 -2.799478)'), GeomFromEWKT('SRID=4674;POINT (-40.02408 -2.799413)'))) / (select extract(epoch from '2026-07-13 07:13:46'::timestamp) - extract(epoch from '2026-07-13 07:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024028 -2.799334)', '2026-07-13 07:13:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02408 -2.799413)'), GeomFromEWKT('SRID=4674;POINT (-40.024028 -2.799334)'))) / (select extract(epoch from '2026-07-13 07:13:53'::timestamp) - extract(epoch from '2026-07-13 07:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02408 -2.799413)'), GeomFromEWKT('SRID=4674;POINT (-40.024028 -2.799334)'))) / (select extract(epoch from '2026-07-13 07:13:53'::timestamp) - extract(epoch from '2026-07-13 07:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02399 -2.799259)', '2026-07-13 07:13:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024028 -2.799334)'), GeomFromEWKT('SRID=4674;POINT (-40.02399 -2.799259)'))) / (select extract(epoch from '2026-07-13 07:13:59'::timestamp) - extract(epoch from '2026-07-13 07:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024028 -2.799334)'), GeomFromEWKT('SRID=4674;POINT (-40.02399 -2.799259)'))) / (select extract(epoch from '2026-07-13 07:13:59'::timestamp) - extract(epoch from '2026-07-13 07:13: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'), 47628, 'SRID=4674;POINT (-40.023964 -2.799212)', '2026-07-13 07:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02399 -2.799259)'), GeomFromEWKT('SRID=4674;POINT (-40.023964 -2.799212)'))) / (select extract(epoch from '2026-07-13 07:14:03'::timestamp) - extract(epoch from '2026-07-13 07:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02399 -2.799259)'), GeomFromEWKT('SRID=4674;POINT (-40.023964 -2.799212)'))) / (select extract(epoch from '2026-07-13 07:14:03'::timestamp) - extract(epoch from '2026-07-13 07:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023956 -2.799199)', '2026-07-13 07:14:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023964 -2.799212)'), GeomFromEWKT('SRID=4674;POINT (-40.023956 -2.799199)'))) / (select extract(epoch from '2026-07-13 07:14:04'::timestamp) - extract(epoch from '2026-07-13 07:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023964 -2.799212)'), GeomFromEWKT('SRID=4674;POINT (-40.023956 -2.799199)'))) / (select extract(epoch from '2026-07-13 07:14:04'::timestamp) - extract(epoch from '2026-07-13 07:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023912 -2.799111)', '2026-07-13 07:14:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023956 -2.799199)'), GeomFromEWKT('SRID=4674;POINT (-40.023912 -2.799111)'))) / (select extract(epoch from '2026-07-13 07:14:11'::timestamp) - extract(epoch from '2026-07-13 07:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023956 -2.799199)'), GeomFromEWKT('SRID=4674;POINT (-40.023912 -2.799111)'))) / (select extract(epoch from '2026-07-13 07:14:11'::timestamp) - extract(epoch from '2026-07-13 07:14: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'), 47628, 'SRID=4674;POINT (-40.02388 -2.79904)', '2026-07-13 07:14:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023912 -2.799111)'), GeomFromEWKT('SRID=4674;POINT (-40.02388 -2.79904)'))) / (select extract(epoch from '2026-07-13 07:14:16'::timestamp) - extract(epoch from '2026-07-13 07:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023912 -2.799111)'), GeomFromEWKT('SRID=4674;POINT (-40.02388 -2.79904)'))) / (select extract(epoch from '2026-07-13 07:14:16'::timestamp) - extract(epoch from '2026-07-13 07:14: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'), 47628, 'SRID=4674;POINT (-40.023873 -2.799026)', '2026-07-13 07:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02388 -2.79904)'), GeomFromEWKT('SRID=4674;POINT (-40.023873 -2.799026)'))) / (select extract(epoch from '2026-07-13 07:14:17'::timestamp) - extract(epoch from '2026-07-13 07:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02388 -2.79904)'), GeomFromEWKT('SRID=4674;POINT (-40.023873 -2.799026)'))) / (select extract(epoch from '2026-07-13 07:14:17'::timestamp) - extract(epoch from '2026-07-13 07:14:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023849 -2.798953)', '2026-07-13 07:14:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023873 -2.799026)'), GeomFromEWKT('SRID=4674;POINT (-40.023849 -2.798953)'))) / (select extract(epoch from '2026-07-13 07:14:22'::timestamp) - extract(epoch from '2026-07-13 07:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023873 -2.799026)'), GeomFromEWKT('SRID=4674;POINT (-40.023849 -2.798953)'))) / (select extract(epoch from '2026-07-13 07:14:22'::timestamp) - extract(epoch from '2026-07-13 07:14: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'), 47628, 'SRID=4674;POINT (-40.023814 -2.798827)', '2026-07-13 07:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023849 -2.798953)'), GeomFromEWKT('SRID=4674;POINT (-40.023814 -2.798827)'))) / (select extract(epoch from '2026-07-13 07:14:30'::timestamp) - extract(epoch from '2026-07-13 07:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023849 -2.798953)'), GeomFromEWKT('SRID=4674;POINT (-40.023814 -2.798827)'))) / (select extract(epoch from '2026-07-13 07:14:30'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023782 -2.798755)', '2026-07-13 07:14:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023814 -2.798827)'), GeomFromEWKT('SRID=4674;POINT (-40.023782 -2.798755)'))) / (select extract(epoch from '2026-07-13 07:14:35'::timestamp) - extract(epoch from '2026-07-13 07:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023814 -2.798827)'), GeomFromEWKT('SRID=4674;POINT (-40.023782 -2.798755)'))) / (select extract(epoch from '2026-07-13 07:14:35'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023741 -2.798682)', '2026-07-13 07:14:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023782 -2.798755)'), GeomFromEWKT('SRID=4674;POINT (-40.023741 -2.798682)'))) / (select extract(epoch from '2026-07-13 07:14:40'::timestamp) - extract(epoch from '2026-07-13 07:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023782 -2.798755)'), GeomFromEWKT('SRID=4674;POINT (-40.023741 -2.798682)'))) / (select extract(epoch from '2026-07-13 07:14:40'::timestamp) - extract(epoch from '2026-07-13 07:14: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'), 47628, 'SRID=4674;POINT (-40.02373 -2.798651)', '2026-07-13 07:14:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023741 -2.798682)'), GeomFromEWKT('SRID=4674;POINT (-40.02373 -2.798651)'))) / (select extract(epoch from '2026-07-13 07:14:42'::timestamp) - extract(epoch from '2026-07-13 07:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023741 -2.798682)'), GeomFromEWKT('SRID=4674;POINT (-40.02373 -2.798651)'))) / (select extract(epoch from '2026-07-13 07:14:42'::timestamp) - extract(epoch from '2026-07-13 07:14: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'), 47628, 'SRID=4674;POINT (-40.023711 -2.798543)', '2026-07-13 07:14:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02373 -2.798651)'), GeomFromEWKT('SRID=4674;POINT (-40.023711 -2.798543)'))) / (select extract(epoch from '2026-07-13 07:14:49'::timestamp) - extract(epoch from '2026-07-13 07:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02373 -2.798651)'), GeomFromEWKT('SRID=4674;POINT (-40.023711 -2.798543)'))) / (select extract(epoch from '2026-07-13 07:14:49'::timestamp) - extract(epoch from '2026-07-13 07:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023705 -2.798513)', '2026-07-13 07:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023711 -2.798543)'), GeomFromEWKT('SRID=4674;POINT (-40.023705 -2.798513)'))) / (select extract(epoch from '2026-07-13 07:14:51'::timestamp) - extract(epoch from '2026-07-13 07:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023711 -2.798543)'), GeomFromEWKT('SRID=4674;POINT (-40.023705 -2.798513)'))) / (select extract(epoch from '2026-07-13 07:14:51'::timestamp) - extract(epoch from '2026-07-13 07:14: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'), 47628, 'SRID=4674;POINT (-40.023695 -2.798466)', '2026-07-13 07:14:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023705 -2.798513)'), GeomFromEWKT('SRID=4674;POINT (-40.023695 -2.798466)'))) / (select extract(epoch from '2026-07-13 07:14:54'::timestamp) - extract(epoch from '2026-07-13 07:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023705 -2.798513)'), GeomFromEWKT('SRID=4674;POINT (-40.023695 -2.798466)'))) / (select extract(epoch from '2026-07-13 07:14:54'::timestamp) - extract(epoch from '2026-07-13 07:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023681 -2.798401)', '2026-07-13 07:14:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023695 -2.798466)'), GeomFromEWKT('SRID=4674;POINT (-40.023681 -2.798401)'))) / (select extract(epoch from '2026-07-13 07:14:58'::timestamp) - extract(epoch from '2026-07-13 07:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023695 -2.798466)'), GeomFromEWKT('SRID=4674;POINT (-40.023681 -2.798401)'))) / (select extract(epoch from '2026-07-13 07:14:58'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.02367 -2.79832)', '2026-07-13 07:15:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023681 -2.798401)'), GeomFromEWKT('SRID=4674;POINT (-40.02367 -2.79832)'))) / (select extract(epoch from '2026-07-13 07:15:03'::timestamp) - extract(epoch from '2026-07-13 07:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023681 -2.798401)'), GeomFromEWKT('SRID=4674;POINT (-40.02367 -2.79832)'))) / (select extract(epoch from '2026-07-13 07:15:03'::timestamp) - extract(epoch from '2026-07-13 07:14: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'), 47628, 'SRID=4674;POINT (-40.023669 -2.798302)', '2026-07-13 07:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02367 -2.79832)'), GeomFromEWKT('SRID=4674;POINT (-40.023669 -2.798302)'))) / (select extract(epoch from '2026-07-13 07:15:04'::timestamp) - extract(epoch from '2026-07-13 07:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02367 -2.79832)'), GeomFromEWKT('SRID=4674;POINT (-40.023669 -2.798302)'))) / (select extract(epoch from '2026-07-13 07:15:04'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023668 -2.798286)', '2026-07-13 07:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023669 -2.798302)'), GeomFromEWKT('SRID=4674;POINT (-40.023668 -2.798286)'))) / (select extract(epoch from '2026-07-13 07:15:05'::timestamp) - extract(epoch from '2026-07-13 07:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023669 -2.798302)'), GeomFromEWKT('SRID=4674;POINT (-40.023668 -2.798286)'))) / (select extract(epoch from '2026-07-13 07:15:05'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.023663 -2.798235)', '2026-07-13 07:15:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023668 -2.798286)'), GeomFromEWKT('SRID=4674;POINT (-40.023663 -2.798235)'))) / (select extract(epoch from '2026-07-13 07:15:08'::timestamp) - extract(epoch from '2026-07-13 07:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023668 -2.798286)'), GeomFromEWKT('SRID=4674;POINT (-40.023663 -2.798235)'))) / (select extract(epoch from '2026-07-13 07:15:08'::timestamp) - extract(epoch from '2026-07-13 07:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023659 -2.798216)', '2026-07-13 07:15:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023663 -2.798235)'), GeomFromEWKT('SRID=4674;POINT (-40.023659 -2.798216)'))) / (select extract(epoch from '2026-07-13 07:15:09'::timestamp) - extract(epoch from '2026-07-13 07:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023663 -2.798235)'), GeomFromEWKT('SRID=4674;POINT (-40.023659 -2.798216)'))) / (select extract(epoch from '2026-07-13 07:15:09'::timestamp) - extract(epoch from '2026-07-13 07:15: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'), 47628, 'SRID=4674;POINT (-40.023651 -2.798161)', '2026-07-13 07:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023659 -2.798216)'), GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.798161)'))) / (select extract(epoch from '2026-07-13 07:15:12'::timestamp) - extract(epoch from '2026-07-13 07:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023659 -2.798216)'), GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.798161)'))) / (select extract(epoch from '2026-07-13 07:15:12'::timestamp) - extract(epoch from '2026-07-13 07:15: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'), 47628, 'SRID=4674;POINT (-40.023666 -2.798044)', '2026-07-13 07:15:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.798161)'), GeomFromEWKT('SRID=4674;POINT (-40.023666 -2.798044)'))) / (select extract(epoch from '2026-07-13 07:15:18'::timestamp) - extract(epoch from '2026-07-13 07:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.798161)'), GeomFromEWKT('SRID=4674;POINT (-40.023666 -2.798044)'))) / (select extract(epoch from '2026-07-13 07:15:18'::timestamp) - extract(epoch from '2026-07-13 07:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023671 -2.798025)', '2026-07-13 07:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023666 -2.798044)'), GeomFromEWKT('SRID=4674;POINT (-40.023671 -2.798025)'))) / (select extract(epoch from '2026-07-13 07:15:19'::timestamp) - extract(epoch from '2026-07-13 07:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023666 -2.798044)'), GeomFromEWKT('SRID=4674;POINT (-40.023671 -2.798025)'))) / (select extract(epoch from '2026-07-13 07:15:19'::timestamp) - extract(epoch from '2026-07-13 07:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023675 -2.797987)', '2026-07-13 07:15:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023671 -2.798025)'), GeomFromEWKT('SRID=4674;POINT (-40.023675 -2.797987)'))) / (select extract(epoch from '2026-07-13 07:15:21'::timestamp) - extract(epoch from '2026-07-13 07:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023671 -2.798025)'), GeomFromEWKT('SRID=4674;POINT (-40.023675 -2.797987)'))) / (select extract(epoch from '2026-07-13 07:15:21'::timestamp) - extract(epoch from '2026-07-13 07:15: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'), 47628, 'SRID=4674;POINT (-40.023678 -2.79795)', '2026-07-13 07:15:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023675 -2.797987)'), GeomFromEWKT('SRID=4674;POINT (-40.023678 -2.79795)'))) / (select extract(epoch from '2026-07-13 07:15:23'::timestamp) - extract(epoch from '2026-07-13 07:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023675 -2.797987)'), GeomFromEWKT('SRID=4674;POINT (-40.023678 -2.79795)'))) / (select extract(epoch from '2026-07-13 07:15:23'::timestamp) - extract(epoch from '2026-07-13 07:15:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023687 -2.797838)', '2026-07-13 07:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023678 -2.79795)'), GeomFromEWKT('SRID=4674;POINT (-40.023687 -2.797838)'))) / (select extract(epoch from '2026-07-13 07:15:29'::timestamp) - extract(epoch from '2026-07-13 07:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023678 -2.79795)'), GeomFromEWKT('SRID=4674;POINT (-40.023687 -2.797838)'))) / (select extract(epoch from '2026-07-13 07:15:29'::timestamp) - extract(epoch from '2026-07-13 07:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023677 -2.797734)', '2026-07-13 07:15:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023687 -2.797838)'), GeomFromEWKT('SRID=4674;POINT (-40.023677 -2.797734)'))) / (select extract(epoch from '2026-07-13 07:15:35'::timestamp) - extract(epoch from '2026-07-13 07:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023687 -2.797838)'), GeomFromEWKT('SRID=4674;POINT (-40.023677 -2.797734)'))) / (select extract(epoch from '2026-07-13 07:15:35'::timestamp) - extract(epoch from '2026-07-13 07:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023666 -2.797657)', '2026-07-13 07:15:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023677 -2.797734)'), GeomFromEWKT('SRID=4674;POINT (-40.023666 -2.797657)'))) / (select extract(epoch from '2026-07-13 07:15:41'::timestamp) - extract(epoch from '2026-07-13 07:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023677 -2.797734)'), GeomFromEWKT('SRID=4674;POINT (-40.023666 -2.797657)'))) / (select extract(epoch from '2026-07-13 07:15:41'::timestamp) - extract(epoch from '2026-07-13 07:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023637 -2.79758)', '2026-07-13 07:15:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023666 -2.797657)'), GeomFromEWKT('SRID=4674;POINT (-40.023637 -2.79758)'))) / (select extract(epoch from '2026-07-13 07:15:47'::timestamp) - extract(epoch from '2026-07-13 07:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023666 -2.797657)'), GeomFromEWKT('SRID=4674;POINT (-40.023637 -2.79758)'))) / (select extract(epoch from '2026-07-13 07:15:47'::timestamp) - extract(epoch from '2026-07-13 07:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023629 -2.797568)', '2026-07-13 07:15:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023637 -2.79758)'), GeomFromEWKT('SRID=4674;POINT (-40.023629 -2.797568)'))) / (select extract(epoch from '2026-07-13 07:15:48'::timestamp) - extract(epoch from '2026-07-13 07:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023637 -2.79758)'), GeomFromEWKT('SRID=4674;POINT (-40.023629 -2.797568)'))) / (select extract(epoch from '2026-07-13 07:15:48'::timestamp) - extract(epoch from '2026-07-13 07:15: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'), 47628, 'SRID=4674;POINT (-40.023601 -2.797521)', '2026-07-13 07:15:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023629 -2.797568)'), GeomFromEWKT('SRID=4674;POINT (-40.023601 -2.797521)'))) / (select extract(epoch from '2026-07-13 07:15:52'::timestamp) - extract(epoch from '2026-07-13 07:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023629 -2.797568)'), GeomFromEWKT('SRID=4674;POINT (-40.023601 -2.797521)'))) / (select extract(epoch from '2026-07-13 07:15:52'::timestamp) - extract(epoch from '2026-07-13 07:15: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'), 47628, 'SRID=4674;POINT (-40.023594 -2.797508)', '2026-07-13 07:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023601 -2.797521)'), GeomFromEWKT('SRID=4674;POINT (-40.023594 -2.797508)'))) / (select extract(epoch from '2026-07-13 07:15:53'::timestamp) - extract(epoch from '2026-07-13 07:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023601 -2.797521)'), GeomFromEWKT('SRID=4674;POINT (-40.023594 -2.797508)'))) / (select extract(epoch from '2026-07-13 07:15:53'::timestamp) - extract(epoch from '2026-07-13 07:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023574 -2.797465)', '2026-07-13 07:15:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023594 -2.797508)'), GeomFromEWKT('SRID=4674;POINT (-40.023574 -2.797465)'))) / (select extract(epoch from '2026-07-13 07:15:56'::timestamp) - extract(epoch from '2026-07-13 07:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023594 -2.797508)'), GeomFromEWKT('SRID=4674;POINT (-40.023574 -2.797465)'))) / (select extract(epoch from '2026-07-13 07:15:56'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023573 -2.79745)', '2026-07-13 07:15:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023574 -2.797465)'), GeomFromEWKT('SRID=4674;POINT (-40.023573 -2.79745)'))) / (select extract(epoch from '2026-07-13 07:15:57'::timestamp) - extract(epoch from '2026-07-13 07:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023574 -2.797465)'), GeomFromEWKT('SRID=4674;POINT (-40.023573 -2.79745)'))) / (select extract(epoch from '2026-07-13 07:15:57'::timestamp) - extract(epoch from '2026-07-13 07:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023566 -2.797423)', '2026-07-13 07:15:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023573 -2.79745)'), GeomFromEWKT('SRID=4674;POINT (-40.023566 -2.797423)'))) / (select extract(epoch from '2026-07-13 07:15:59'::timestamp) - extract(epoch from '2026-07-13 07:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023573 -2.79745)'), GeomFromEWKT('SRID=4674;POINT (-40.023566 -2.797423)'))) / (select extract(epoch from '2026-07-13 07:15:59'::timestamp) - extract(epoch from '2026-07-13 07:15: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'), 47628, 'SRID=4674;POINT (-40.02353 -2.797351)', '2026-07-13 07:16:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023566 -2.797423)'), GeomFromEWKT('SRID=4674;POINT (-40.02353 -2.797351)'))) / (select extract(epoch from '2026-07-13 07:16:04'::timestamp) - extract(epoch from '2026-07-13 07:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023566 -2.797423)'), GeomFromEWKT('SRID=4674;POINT (-40.02353 -2.797351)'))) / (select extract(epoch from '2026-07-13 07:16:04'::timestamp) - extract(epoch from '2026-07-13 07:15: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'), 47628, 'SRID=4674;POINT (-40.023503 -2.797235)', '2026-07-13 07:16:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02353 -2.797351)'), GeomFromEWKT('SRID=4674;POINT (-40.023503 -2.797235)'))) / (select extract(epoch from '2026-07-13 07:16:11'::timestamp) - extract(epoch from '2026-07-13 07:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02353 -2.797351)'), GeomFromEWKT('SRID=4674;POINT (-40.023503 -2.797235)'))) / (select extract(epoch from '2026-07-13 07:16:11'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.023489 -2.797169)', '2026-07-13 07:16:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023503 -2.797235)'), GeomFromEWKT('SRID=4674;POINT (-40.023489 -2.797169)'))) / (select extract(epoch from '2026-07-13 07:16:15'::timestamp) - extract(epoch from '2026-07-13 07:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023503 -2.797235)'), GeomFromEWKT('SRID=4674;POINT (-40.023489 -2.797169)'))) / (select extract(epoch from '2026-07-13 07:16:15'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023487 -2.79715)', '2026-07-13 07:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023489 -2.797169)'), GeomFromEWKT('SRID=4674;POINT (-40.023487 -2.79715)'))) / (select extract(epoch from '2026-07-13 07:16:16'::timestamp) - extract(epoch from '2026-07-13 07:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023489 -2.797169)'), GeomFromEWKT('SRID=4674;POINT (-40.023487 -2.79715)'))) / (select extract(epoch from '2026-07-13 07:16:16'::timestamp) - extract(epoch from '2026-07-13 07:16: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'), 47628, 'SRID=4674;POINT (-40.023467 -2.797044)', '2026-07-13 07:16:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023487 -2.79715)'), GeomFromEWKT('SRID=4674;POINT (-40.023467 -2.797044)'))) / (select extract(epoch from '2026-07-13 07:16:22'::timestamp) - extract(epoch from '2026-07-13 07:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023487 -2.79715)'), GeomFromEWKT('SRID=4674;POINT (-40.023467 -2.797044)'))) / (select extract(epoch from '2026-07-13 07:16:22'::timestamp) - extract(epoch from '2026-07-13 07:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023427 -2.796927)', '2026-07-13 07:16:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023467 -2.797044)'), GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.796927)'))) / (select extract(epoch from '2026-07-13 07:16:29'::timestamp) - extract(epoch from '2026-07-13 07:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023467 -2.797044)'), GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.796927)'))) / (select extract(epoch from '2026-07-13 07:16:29'::timestamp) - extract(epoch from '2026-07-13 07:16: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'), 47628, 'SRID=4674;POINT (-40.023416 -2.796893)', '2026-07-13 07:16:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.796927)'), GeomFromEWKT('SRID=4674;POINT (-40.023416 -2.796893)'))) / (select extract(epoch from '2026-07-13 07:16:31'::timestamp) - extract(epoch from '2026-07-13 07:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.796927)'), GeomFromEWKT('SRID=4674;POINT (-40.023416 -2.796893)'))) / (select extract(epoch from '2026-07-13 07:16:31'::timestamp) - extract(epoch from '2026-07-13 07:16:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023407 -2.796856)', '2026-07-13 07:16:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023416 -2.796893)'), GeomFromEWKT('SRID=4674;POINT (-40.023407 -2.796856)'))) / (select extract(epoch from '2026-07-13 07:16:33'::timestamp) - extract(epoch from '2026-07-13 07:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023416 -2.796893)'), GeomFromEWKT('SRID=4674;POINT (-40.023407 -2.796856)'))) / (select extract(epoch from '2026-07-13 07:16:33'::timestamp) - extract(epoch from '2026-07-13 07:16: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'), 47628, 'SRID=4674;POINT (-40.023406 -2.796762)', '2026-07-13 07:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023407 -2.796856)'), GeomFromEWKT('SRID=4674;POINT (-40.023406 -2.796762)'))) / (select extract(epoch from '2026-07-13 07:16:38'::timestamp) - extract(epoch from '2026-07-13 07:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023407 -2.796856)'), GeomFromEWKT('SRID=4674;POINT (-40.023406 -2.796762)'))) / (select extract(epoch from '2026-07-13 07:16:38'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023413 -2.796743)', '2026-07-13 07:16:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023406 -2.796762)'), GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.796743)'))) / (select extract(epoch from '2026-07-13 07:16:39'::timestamp) - extract(epoch from '2026-07-13 07:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023406 -2.796762)'), GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.796743)'))) / (select extract(epoch from '2026-07-13 07:16:39'::timestamp) - extract(epoch from '2026-07-13 07:16: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'), 47628, 'SRID=4674;POINT (-40.023443 -2.796651)', '2026-07-13 07:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.796743)'), GeomFromEWKT('SRID=4674;POINT (-40.023443 -2.796651)'))) / (select extract(epoch from '2026-07-13 07:16:44'::timestamp) - extract(epoch from '2026-07-13 07:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.796743)'), GeomFromEWKT('SRID=4674;POINT (-40.023443 -2.796651)'))) / (select extract(epoch from '2026-07-13 07:16:44'::timestamp) - extract(epoch from '2026-07-13 07:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023482 -2.796539)', '2026-07-13 07:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023443 -2.796651)'), GeomFromEWKT('SRID=4674;POINT (-40.023482 -2.796539)'))) / (select extract(epoch from '2026-07-13 07:16:50'::timestamp) - extract(epoch from '2026-07-13 07:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023443 -2.796651)'), GeomFromEWKT('SRID=4674;POINT (-40.023482 -2.796539)'))) / (select extract(epoch from '2026-07-13 07:16:50'::timestamp) - extract(epoch from '2026-07-13 07:16: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'), 47628, 'SRID=4674;POINT (-40.023512 -2.796427)', '2026-07-13 07:16:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023482 -2.796539)'), GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.796427)'))) / (select extract(epoch from '2026-07-13 07:16:56'::timestamp) - extract(epoch from '2026-07-13 07:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023482 -2.796539)'), GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.796427)'))) / (select extract(epoch from '2026-07-13 07:16:56'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023526 -2.796289)', '2026-07-13 07:17:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.796427)'), GeomFromEWKT('SRID=4674;POINT (-40.023526 -2.796289)'))) / (select extract(epoch from '2026-07-13 07:17:03'::timestamp) - extract(epoch from '2026-07-13 07:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.796427)'), GeomFromEWKT('SRID=4674;POINT (-40.023526 -2.796289)'))) / (select extract(epoch from '2026-07-13 07:17:03'::timestamp) - extract(epoch from '2026-07-13 07:16: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'), 47628, 'SRID=4674;POINT (-40.023527 -2.796128)', '2026-07-13 07:17:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023526 -2.796289)'), GeomFromEWKT('SRID=4674;POINT (-40.023527 -2.796128)'))) / (select extract(epoch from '2026-07-13 07:17:11'::timestamp) - extract(epoch from '2026-07-13 07:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023526 -2.796289)'), GeomFromEWKT('SRID=4674;POINT (-40.023527 -2.796128)'))) / (select extract(epoch from '2026-07-13 07:17:11'::timestamp) - extract(epoch from '2026-07-13 07:17: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'), 47628, 'SRID=4674;POINT (-40.023527 -2.796007)', '2026-07-13 07:17:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023527 -2.796128)'), GeomFromEWKT('SRID=4674;POINT (-40.023527 -2.796007)'))) / (select extract(epoch from '2026-07-13 07:17:17'::timestamp) - extract(epoch from '2026-07-13 07:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023527 -2.796128)'), GeomFromEWKT('SRID=4674;POINT (-40.023527 -2.796007)'))) / (select extract(epoch from '2026-07-13 07:17:17'::timestamp) - extract(epoch from '2026-07-13 07:17: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'), 47628, 'SRID=4674;POINT (-40.023516 -2.795834)', '2026-07-13 07:17:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023527 -2.796007)'), GeomFromEWKT('SRID=4674;POINT (-40.023516 -2.795834)'))) / (select extract(epoch from '2026-07-13 07:17:26'::timestamp) - extract(epoch from '2026-07-13 07:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023527 -2.796007)'), GeomFromEWKT('SRID=4674;POINT (-40.023516 -2.795834)'))) / (select extract(epoch from '2026-07-13 07:17:26'::timestamp) - extract(epoch from '2026-07-13 07:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023506 -2.795738)', '2026-07-13 07:17:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023516 -2.795834)'), GeomFromEWKT('SRID=4674;POINT (-40.023506 -2.795738)'))) / (select extract(epoch from '2026-07-13 07:17:31'::timestamp) - extract(epoch from '2026-07-13 07:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023516 -2.795834)'), GeomFromEWKT('SRID=4674;POINT (-40.023506 -2.795738)'))) / (select extract(epoch from '2026-07-13 07:17:31'::timestamp) - extract(epoch from '2026-07-13 07:17: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'), 47628, 'SRID=4674;POINT (-40.023502 -2.79572)', '2026-07-13 07:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023506 -2.795738)'), GeomFromEWKT('SRID=4674;POINT (-40.023502 -2.79572)'))) / (select extract(epoch from '2026-07-13 07:17:32'::timestamp) - extract(epoch from '2026-07-13 07:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023506 -2.795738)'), GeomFromEWKT('SRID=4674;POINT (-40.023502 -2.79572)'))) / (select extract(epoch from '2026-07-13 07:17:32'::timestamp) - extract(epoch from '2026-07-13 07:17: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'), 47628, 'SRID=4674;POINT (-40.023512 -2.795664)', '2026-07-13 07:17:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023502 -2.79572)'), GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.795664)'))) / (select extract(epoch from '2026-07-13 07:17:35'::timestamp) - extract(epoch from '2026-07-13 07:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023502 -2.79572)'), GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.795664)'))) / (select extract(epoch from '2026-07-13 07:17:35'::timestamp) - extract(epoch from '2026-07-13 07:17: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'), 47628, 'SRID=4674;POINT (-40.023524 -2.795646)', '2026-07-13 07:17:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.795664)'), GeomFromEWKT('SRID=4674;POINT (-40.023524 -2.795646)'))) / (select extract(epoch from '2026-07-13 07:17:36'::timestamp) - extract(epoch from '2026-07-13 07:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.795664)'), GeomFromEWKT('SRID=4674;POINT (-40.023524 -2.795646)'))) / (select extract(epoch from '2026-07-13 07:17:36'::timestamp) - extract(epoch from '2026-07-13 07:17: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'), 47628, 'SRID=4674;POINT (-40.023557 -2.795599)', '2026-07-13 07:17:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023524 -2.795646)'), GeomFromEWKT('SRID=4674;POINT (-40.023557 -2.795599)'))) / (select extract(epoch from '2026-07-13 07:17:39'::timestamp) - extract(epoch from '2026-07-13 07:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023524 -2.795646)'), GeomFromEWKT('SRID=4674;POINT (-40.023557 -2.795599)'))) / (select extract(epoch from '2026-07-13 07:17:39'::timestamp) - extract(epoch from '2026-07-13 07:17: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'), 47628, 'SRID=4674;POINT (-40.023598 -2.795517)', '2026-07-13 07:17:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023557 -2.795599)'), GeomFromEWKT('SRID=4674;POINT (-40.023598 -2.795517)'))) / (select extract(epoch from '2026-07-13 07:17:44'::timestamp) - extract(epoch from '2026-07-13 07:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023557 -2.795599)'), GeomFromEWKT('SRID=4674;POINT (-40.023598 -2.795517)'))) / (select extract(epoch from '2026-07-13 07:17:44'::timestamp) - extract(epoch from '2026-07-13 07:17: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'), 47628, 'SRID=4674;POINT (-40.023627 -2.795425)', '2026-07-13 07:17:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023598 -2.795517)'), GeomFromEWKT('SRID=4674;POINT (-40.023627 -2.795425)'))) / (select extract(epoch from '2026-07-13 07:17:49'::timestamp) - extract(epoch from '2026-07-13 07:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023598 -2.795517)'), GeomFromEWKT('SRID=4674;POINT (-40.023627 -2.795425)'))) / (select extract(epoch from '2026-07-13 07:17:49'::timestamp) - extract(epoch from '2026-07-13 07:17: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'), 47628, 'SRID=4674;POINT (-40.023651 -2.795287)', '2026-07-13 07:17:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023627 -2.795425)'), GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.795287)'))) / (select extract(epoch from '2026-07-13 07:17:56'::timestamp) - extract(epoch from '2026-07-13 07:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023627 -2.795425)'), GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.795287)'))) / (select extract(epoch from '2026-07-13 07:17:56'::timestamp) - extract(epoch from '2026-07-13 07:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023669 -2.795165)', '2026-07-13 07:18:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.795287)'), GeomFromEWKT('SRID=4674;POINT (-40.023669 -2.795165)'))) / (select extract(epoch from '2026-07-13 07:18:02'::timestamp) - extract(epoch from '2026-07-13 07:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023651 -2.795287)'), GeomFromEWKT('SRID=4674;POINT (-40.023669 -2.795165)'))) / (select extract(epoch from '2026-07-13 07:18:02'::timestamp) - extract(epoch from '2026-07-13 07:17: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'), 47628, 'SRID=4674;POINT (-40.023674 -2.795038)', '2026-07-13 07:18:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023669 -2.795165)'), GeomFromEWKT('SRID=4674;POINT (-40.023674 -2.795038)'))) / (select extract(epoch from '2026-07-13 07:18:08'::timestamp) - extract(epoch from '2026-07-13 07:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023669 -2.795165)'), GeomFromEWKT('SRID=4674;POINT (-40.023674 -2.795038)'))) / (select extract(epoch from '2026-07-13 07:18:08'::timestamp) - extract(epoch from '2026-07-13 07:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02369 -2.794908)', '2026-07-13 07:18:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023674 -2.795038)'), GeomFromEWKT('SRID=4674;POINT (-40.02369 -2.794908)'))) / (select extract(epoch from '2026-07-13 07:18:15'::timestamp) - extract(epoch from '2026-07-13 07:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023674 -2.795038)'), GeomFromEWKT('SRID=4674;POINT (-40.02369 -2.794908)'))) / (select extract(epoch from '2026-07-13 07:18:15'::timestamp) - extract(epoch from '2026-07-13 07:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023683 -2.794867)', '2026-07-13 07:18:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02369 -2.794908)'), GeomFromEWKT('SRID=4674;POINT (-40.023683 -2.794867)'))) / (select extract(epoch from '2026-07-13 07:18:19'::timestamp) - extract(epoch from '2026-07-13 07:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02369 -2.794908)'), GeomFromEWKT('SRID=4674;POINT (-40.023683 -2.794867)'))) / (select extract(epoch from '2026-07-13 07:18:19'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023682 -2.794859)', '2026-07-13 07:18:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023683 -2.794867)'), GeomFromEWKT('SRID=4674;POINT (-40.023682 -2.794859)'))) / (select extract(epoch from '2026-07-13 07:18:20'::timestamp) - extract(epoch from '2026-07-13 07:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023683 -2.794867)'), GeomFromEWKT('SRID=4674;POINT (-40.023682 -2.794859)'))) / (select extract(epoch from '2026-07-13 07:18:20'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.023691 -2.794823)', '2026-07-13 07:18:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023682 -2.794859)'), GeomFromEWKT('SRID=4674;POINT (-40.023691 -2.794823)'))) / (select extract(epoch from '2026-07-13 07:18:25'::timestamp) - extract(epoch from '2026-07-13 07:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023682 -2.794859)'), GeomFromEWKT('SRID=4674;POINT (-40.023691 -2.794823)'))) / (select extract(epoch from '2026-07-13 07:18:25'::timestamp) - extract(epoch from '2026-07-13 07:18:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023702 -2.794808)', '2026-07-13 07:18:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023691 -2.794823)'), GeomFromEWKT('SRID=4674;POINT (-40.023702 -2.794808)'))) / (select extract(epoch from '2026-07-13 07:18:28'::timestamp) - extract(epoch from '2026-07-13 07:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023691 -2.794823)'), GeomFromEWKT('SRID=4674;POINT (-40.023702 -2.794808)'))) / (select extract(epoch from '2026-07-13 07:18:28'::timestamp) - extract(epoch from '2026-07-13 07:18: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'), 47628, 'SRID=4674;POINT (-40.023698 -2.794805)', '2026-07-13 07:18:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023702 -2.794808)'), GeomFromEWKT('SRID=4674;POINT (-40.023698 -2.794805)'))) / (select extract(epoch from '2026-07-13 07:18:30'::timestamp) - extract(epoch from '2026-07-13 07:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023702 -2.794808)'), GeomFromEWKT('SRID=4674;POINT (-40.023698 -2.794805)'))) / (select extract(epoch from '2026-07-13 07:18:30'::timestamp) - extract(epoch from '2026-07-13 07:18: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'), 47628, 'SRID=4674;POINT (-40.023715 -2.794784)', '2026-07-13 07:18:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023698 -2.794805)'), GeomFromEWKT('SRID=4674;POINT (-40.023715 -2.794784)'))) / (select extract(epoch from '2026-07-13 07:18:37'::timestamp) - extract(epoch from '2026-07-13 07:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023698 -2.794805)'), GeomFromEWKT('SRID=4674;POINT (-40.023715 -2.794784)'))) / (select extract(epoch from '2026-07-13 07:18:37'::timestamp) - extract(epoch from '2026-07-13 07:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023756 -2.794774)', '2026-07-13 07:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023715 -2.794784)'), GeomFromEWKT('SRID=4674;POINT (-40.023756 -2.794774)'))) / (select extract(epoch from '2026-07-13 07:18:44'::timestamp) - extract(epoch from '2026-07-13 07:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023715 -2.794784)'), GeomFromEWKT('SRID=4674;POINT (-40.023756 -2.794774)'))) / (select extract(epoch from '2026-07-13 07:18:44'::timestamp) - extract(epoch from '2026-07-13 07:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023802 -2.794767)', '2026-07-13 07:18:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023756 -2.794774)'), GeomFromEWKT('SRID=4674;POINT (-40.023802 -2.794767)'))) / (select extract(epoch from '2026-07-13 07:18:53'::timestamp) - extract(epoch from '2026-07-13 07:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023756 -2.794774)'), GeomFromEWKT('SRID=4674;POINT (-40.023802 -2.794767)'))) / (select extract(epoch from '2026-07-13 07:18:53'::timestamp) - extract(epoch from '2026-07-13 07:18: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'), 47628, 'SRID=4674;POINT (-40.023837 -2.794752)', '2026-07-13 07:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023802 -2.794767)'), GeomFromEWKT('SRID=4674;POINT (-40.023837 -2.794752)'))) / (select extract(epoch from '2026-07-13 07:19:03'::timestamp) - extract(epoch from '2026-07-13 07:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023802 -2.794767)'), GeomFromEWKT('SRID=4674;POINT (-40.023837 -2.794752)'))) / (select extract(epoch from '2026-07-13 07:19:03'::timestamp) - extract(epoch from '2026-07-13 07:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023843 -2.794757)', '2026-07-13 07:19:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023837 -2.794752)'), GeomFromEWKT('SRID=4674;POINT (-40.023843 -2.794757)'))) / (select extract(epoch from '2026-07-13 07:19:15'::timestamp) - extract(epoch from '2026-07-13 07:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023837 -2.794752)'), GeomFromEWKT('SRID=4674;POINT (-40.023843 -2.794757)'))) / (select extract(epoch from '2026-07-13 07:19:15'::timestamp) - extract(epoch from '2026-07-13 07:19: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'), 47628, 'SRID=4674;POINT (-40.023845 -2.794761)', '2026-07-13 07:19:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023843 -2.794757)'), GeomFromEWKT('SRID=4674;POINT (-40.023845 -2.794761)'))) / (select extract(epoch from '2026-07-13 07:19:40'::timestamp) - extract(epoch from '2026-07-13 07:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023843 -2.794757)'), GeomFromEWKT('SRID=4674;POINT (-40.023845 -2.794761)'))) / (select extract(epoch from '2026-07-13 07:19:40'::timestamp) - extract(epoch from '2026-07-13 07:19: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'), 47628, 'SRID=4674;POINT (-40.023836 -2.794756)', '2026-07-13 07:19:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023845 -2.794761)'), GeomFromEWKT('SRID=4674;POINT (-40.023836 -2.794756)'))) / (select extract(epoch from '2026-07-13 07:19:49'::timestamp) - extract(epoch from '2026-07-13 07:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023845 -2.794761)'), GeomFromEWKT('SRID=4674;POINT (-40.023836 -2.794756)'))) / (select extract(epoch from '2026-07-13 07:19:49'::timestamp) - extract(epoch from '2026-07-13 07:19: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'), 47628, 'SRID=4674;POINT (-40.023842 -2.794749)', '2026-07-13 07:19:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023836 -2.794756)'), GeomFromEWKT('SRID=4674;POINT (-40.023842 -2.794749)'))) / (select extract(epoch from '2026-07-13 07:19:59'::timestamp) - extract(epoch from '2026-07-13 07:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023836 -2.794756)'), GeomFromEWKT('SRID=4674;POINT (-40.023842 -2.794749)'))) / (select extract(epoch from '2026-07-13 07:19:59'::timestamp) - extract(epoch from '2026-07-13 07:19: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'), 47628, 'SRID=4674;POINT (-40.02385 -2.794756)', '2026-07-13 07:20:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023842 -2.794749)'), GeomFromEWKT('SRID=4674;POINT (-40.02385 -2.794756)'))) / (select extract(epoch from '2026-07-13 07:20:09'::timestamp) - extract(epoch from '2026-07-13 07:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023842 -2.794749)'), GeomFromEWKT('SRID=4674;POINT (-40.02385 -2.794756)'))) / (select extract(epoch from '2026-07-13 07:20:09'::timestamp) - extract(epoch from '2026-07-13 07:19: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'), 47628, 'SRID=4674;POINT (-40.023858 -2.794766)', '2026-07-13 07:20:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02385 -2.794756)'), GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.794766)'))) / (select extract(epoch from '2026-07-13 07:20:18'::timestamp) - extract(epoch from '2026-07-13 07:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02385 -2.794756)'), GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.794766)'))) / (select extract(epoch from '2026-07-13 07:20:18'::timestamp) - extract(epoch from '2026-07-13 07:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023853 -2.794768)', '2026-07-13 07:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.794766)'), GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.794768)'))) / (select extract(epoch from '2026-07-13 07:20:31'::timestamp) - extract(epoch from '2026-07-13 07:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023858 -2.794766)'), GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.794768)'))) / (select extract(epoch from '2026-07-13 07:20:31'::timestamp) - extract(epoch from '2026-07-13 07:20:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023848 -2.794778)', '2026-07-13 07:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.794768)'), GeomFromEWKT('SRID=4674;POINT (-40.023848 -2.794778)'))) / (select extract(epoch from '2026-07-13 07:20:42'::timestamp) - extract(epoch from '2026-07-13 07:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023853 -2.794768)'), GeomFromEWKT('SRID=4674;POINT (-40.023848 -2.794778)'))) / (select extract(epoch from '2026-07-13 07:20:42'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.02385 -2.794772)', '2026-07-13 07:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023848 -2.794778)'), GeomFromEWKT('SRID=4674;POINT (-40.02385 -2.794772)'))) / (select extract(epoch from '2026-07-13 07:20:55'::timestamp) - extract(epoch from '2026-07-13 07:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023848 -2.794778)'), GeomFromEWKT('SRID=4674;POINT (-40.02385 -2.794772)'))) / (select extract(epoch from '2026-07-13 07:20:55'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023865 -2.79476)', '2026-07-13 07:21:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02385 -2.794772)'), GeomFromEWKT('SRID=4674;POINT (-40.023865 -2.79476)'))) / (select extract(epoch from '2026-07-13 07:21:03'::timestamp) - extract(epoch from '2026-07-13 07:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02385 -2.794772)'), GeomFromEWKT('SRID=4674;POINT (-40.023865 -2.79476)'))) / (select extract(epoch from '2026-07-13 07:21:03'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.023863 -2.794764)', '2026-07-13 07:21:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023865 -2.79476)'), GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.794764)'))) / (select extract(epoch from '2026-07-13 07:21:10'::timestamp) - extract(epoch from '2026-07-13 07:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023865 -2.79476)'), GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.794764)'))) / (select extract(epoch from '2026-07-13 07:21:10'::timestamp) - extract(epoch from '2026-07-13 07:21: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'), 47628, 'SRID=4674;POINT (-40.023857 -2.794789)', '2026-07-13 07:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.794764)'), GeomFromEWKT('SRID=4674;POINT (-40.023857 -2.794789)'))) / (select extract(epoch from '2026-07-13 07:21:17'::timestamp) - extract(epoch from '2026-07-13 07:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023863 -2.794764)'), GeomFromEWKT('SRID=4674;POINT (-40.023857 -2.794789)'))) / (select extract(epoch from '2026-07-13 07:21:17'::timestamp) - extract(epoch from '2026-07-13 07:21: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'), 47628, 'SRID=4674;POINT (-40.023852 -2.794788)', '2026-07-13 07:21:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023857 -2.794789)'), GeomFromEWKT('SRID=4674;POINT (-40.023852 -2.794788)'))) / (select extract(epoch from '2026-07-13 07:21:26'::timestamp) - extract(epoch from '2026-07-13 07:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023857 -2.794789)'), GeomFromEWKT('SRID=4674;POINT (-40.023852 -2.794788)'))) / (select extract(epoch from '2026-07-13 07:21:26'::timestamp) - extract(epoch from '2026-07-13 07:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023847 -2.794789)', '2026-07-13 07:21:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023852 -2.794788)'), GeomFromEWKT('SRID=4674;POINT (-40.023847 -2.794789)'))) / (select extract(epoch from '2026-07-13 07:21:48'::timestamp) - extract(epoch from '2026-07-13 07:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023852 -2.794788)'), GeomFromEWKT('SRID=4674;POINT (-40.023847 -2.794789)'))) / (select extract(epoch from '2026-07-13 07:21:48'::timestamp) - extract(epoch from '2026-07-13 07:21: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'), 47628, 'SRID=4674;POINT (-40.023765 -2.7948)', '2026-07-13 07:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023847 -2.794789)'), GeomFromEWKT('SRID=4674;POINT (-40.023765 -2.7948)'))) / (select extract(epoch from '2026-07-13 07:22:09'::timestamp) - extract(epoch from '2026-07-13 07:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023847 -2.794789)'), GeomFromEWKT('SRID=4674;POINT (-40.023765 -2.7948)'))) / (select extract(epoch from '2026-07-13 07:22:09'::timestamp) - extract(epoch from '2026-07-13 07:21: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'), 47628, 'SRID=4674;POINT (-40.02371 -2.794801)', '2026-07-13 07:22:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023765 -2.7948)'), GeomFromEWKT('SRID=4674;POINT (-40.02371 -2.794801)'))) / (select extract(epoch from '2026-07-13 07:22:17'::timestamp) - extract(epoch from '2026-07-13 07:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023765 -2.7948)'), GeomFromEWKT('SRID=4674;POINT (-40.02371 -2.794801)'))) / (select extract(epoch from '2026-07-13 07:22:17'::timestamp) - extract(epoch from '2026-07-13 07:22: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'), 47628, 'SRID=4674;POINT (-40.023646 -2.79481)', '2026-07-13 07:22:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02371 -2.794801)'), GeomFromEWKT('SRID=4674;POINT (-40.023646 -2.79481)'))) / (select extract(epoch from '2026-07-13 07:22:28'::timestamp) - extract(epoch from '2026-07-13 07:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02371 -2.794801)'), GeomFromEWKT('SRID=4674;POINT (-40.023646 -2.79481)'))) / (select extract(epoch from '2026-07-13 07:22:28'::timestamp) - extract(epoch from '2026-07-13 07:22:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02358 -2.794786)', '2026-07-13 07:22:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023646 -2.79481)'), GeomFromEWKT('SRID=4674;POINT (-40.02358 -2.794786)'))) / (select extract(epoch from '2026-07-13 07:22:39'::timestamp) - extract(epoch from '2026-07-13 07:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023646 -2.79481)'), GeomFromEWKT('SRID=4674;POINT (-40.02358 -2.794786)'))) / (select extract(epoch from '2026-07-13 07:22:39'::timestamp) - extract(epoch from '2026-07-13 07:22: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'), 47628, 'SRID=4674;POINT (-40.023556 -2.794749)', '2026-07-13 07:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02358 -2.794786)'), GeomFromEWKT('SRID=4674;POINT (-40.023556 -2.794749)'))) / (select extract(epoch from '2026-07-13 07:22:47'::timestamp) - extract(epoch from '2026-07-13 07:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02358 -2.794786)'), GeomFromEWKT('SRID=4674;POINT (-40.023556 -2.794749)'))) / (select extract(epoch from '2026-07-13 07:22:47'::timestamp) - extract(epoch from '2026-07-13 07:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023545 -2.79469)', '2026-07-13 07:22:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023556 -2.794749)'), GeomFromEWKT('SRID=4674;POINT (-40.023545 -2.79469)'))) / (select extract(epoch from '2026-07-13 07:22:56'::timestamp) - extract(epoch from '2026-07-13 07:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023556 -2.794749)'), GeomFromEWKT('SRID=4674;POINT (-40.023545 -2.79469)'))) / (select extract(epoch from '2026-07-13 07:22:56'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.023514 -2.794646)', '2026-07-13 07:23:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023545 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.023514 -2.794646)'))) / (select extract(epoch from '2026-07-13 07:23:04'::timestamp) - extract(epoch from '2026-07-13 07:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023545 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.023514 -2.794646)'))) / (select extract(epoch from '2026-07-13 07:23:04'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023506 -2.794642)', '2026-07-13 07:23:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023514 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.023506 -2.794642)'))) / (select extract(epoch from '2026-07-13 07:23:05'::timestamp) - extract(epoch from '2026-07-13 07:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023514 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.023506 -2.794642)'))) / (select extract(epoch from '2026-07-13 07:23:05'::timestamp) - extract(epoch from '2026-07-13 07:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023439 -2.794589)', '2026-07-13 07:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023506 -2.794642)'), GeomFromEWKT('SRID=4674;POINT (-40.023439 -2.794589)'))) / (select extract(epoch from '2026-07-13 07:23:14'::timestamp) - extract(epoch from '2026-07-13 07:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023506 -2.794642)'), GeomFromEWKT('SRID=4674;POINT (-40.023439 -2.794589)'))) / (select extract(epoch from '2026-07-13 07:23:14'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023407 -2.794503)', '2026-07-13 07:23:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023439 -2.794589)'), GeomFromEWKT('SRID=4674;POINT (-40.023407 -2.794503)'))) / (select extract(epoch from '2026-07-13 07:23:21'::timestamp) - extract(epoch from '2026-07-13 07:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023439 -2.794589)'), GeomFromEWKT('SRID=4674;POINT (-40.023407 -2.794503)'))) / (select extract(epoch from '2026-07-13 07:23:21'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023363 -2.794442)', '2026-07-13 07:23:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023407 -2.794503)'), GeomFromEWKT('SRID=4674;POINT (-40.023363 -2.794442)'))) / (select extract(epoch from '2026-07-13 07:23:29'::timestamp) - extract(epoch from '2026-07-13 07:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023407 -2.794503)'), GeomFromEWKT('SRID=4674;POINT (-40.023363 -2.794442)'))) / (select extract(epoch from '2026-07-13 07:23:29'::timestamp) - extract(epoch from '2026-07-13 07:23: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'), 47628, 'SRID=4674;POINT (-40.023322 -2.794358)', '2026-07-13 07:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023363 -2.794442)'), GeomFromEWKT('SRID=4674;POINT (-40.023322 -2.794358)'))) / (select extract(epoch from '2026-07-13 07:23:36'::timestamp) - extract(epoch from '2026-07-13 07:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023363 -2.794442)'), GeomFromEWKT('SRID=4674;POINT (-40.023322 -2.794358)'))) / (select extract(epoch from '2026-07-13 07:23:36'::timestamp) - extract(epoch from '2026-07-13 07:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023302 -2.794257)', '2026-07-13 07:23:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023322 -2.794358)'), GeomFromEWKT('SRID=4674;POINT (-40.023302 -2.794257)'))) / (select extract(epoch from '2026-07-13 07:23:42'::timestamp) - extract(epoch from '2026-07-13 07:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023322 -2.794358)'), GeomFromEWKT('SRID=4674;POINT (-40.023302 -2.794257)'))) / (select extract(epoch from '2026-07-13 07:23:42'::timestamp) - extract(epoch from '2026-07-13 07:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023293 -2.794124)', '2026-07-13 07:23:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023302 -2.794257)'), GeomFromEWKT('SRID=4674;POINT (-40.023293 -2.794124)'))) / (select extract(epoch from '2026-07-13 07:23:49'::timestamp) - extract(epoch from '2026-07-13 07:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023302 -2.794257)'), GeomFromEWKT('SRID=4674;POINT (-40.023293 -2.794124)'))) / (select extract(epoch from '2026-07-13 07:23:49'::timestamp) - extract(epoch from '2026-07-13 07:23: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'), 47628, 'SRID=4674;POINT (-40.023289 -2.794005)', '2026-07-13 07:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023293 -2.794124)'), GeomFromEWKT('SRID=4674;POINT (-40.023289 -2.794005)'))) / (select extract(epoch from '2026-07-13 07:23:55'::timestamp) - extract(epoch from '2026-07-13 07:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023293 -2.794124)'), GeomFromEWKT('SRID=4674;POINT (-40.023289 -2.794005)'))) / (select extract(epoch from '2026-07-13 07:23:55'::timestamp) - extract(epoch from '2026-07-13 07:23:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023274 -2.79388)', '2026-07-13 07:24:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023289 -2.794005)'), GeomFromEWKT('SRID=4674;POINT (-40.023274 -2.79388)'))) / (select extract(epoch from '2026-07-13 07:24:02'::timestamp) - extract(epoch from '2026-07-13 07:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023289 -2.794005)'), GeomFromEWKT('SRID=4674;POINT (-40.023274 -2.79388)'))) / (select extract(epoch from '2026-07-13 07:24:02'::timestamp) - extract(epoch from '2026-07-13 07:23: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'), 47628, 'SRID=4674;POINT (-40.023265 -2.793821)', '2026-07-13 07:24:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023274 -2.79388)'), GeomFromEWKT('SRID=4674;POINT (-40.023265 -2.793821)'))) / (select extract(epoch from '2026-07-13 07:24:08'::timestamp) - extract(epoch from '2026-07-13 07:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023274 -2.79388)'), GeomFromEWKT('SRID=4674;POINT (-40.023265 -2.793821)'))) / (select extract(epoch from '2026-07-13 07:24:08'::timestamp) - extract(epoch from '2026-07-13 07:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023281 -2.793787)', '2026-07-13 07:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023265 -2.793821)'), GeomFromEWKT('SRID=4674;POINT (-40.023281 -2.793787)'))) / (select extract(epoch from '2026-07-13 07:24:18'::timestamp) - extract(epoch from '2026-07-13 07:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023265 -2.793821)'), GeomFromEWKT('SRID=4674;POINT (-40.023281 -2.793787)'))) / (select extract(epoch from '2026-07-13 07:24:18'::timestamp) - extract(epoch from '2026-07-13 07:24:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023322 -2.793761)', '2026-07-13 07:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023281 -2.793787)'), GeomFromEWKT('SRID=4674;POINT (-40.023322 -2.793761)'))) / (select extract(epoch from '2026-07-13 07:24:29'::timestamp) - extract(epoch from '2026-07-13 07:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023281 -2.793787)'), GeomFromEWKT('SRID=4674;POINT (-40.023322 -2.793761)'))) / (select extract(epoch from '2026-07-13 07:24:29'::timestamp) - extract(epoch from '2026-07-13 07:24: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'), 47628, 'SRID=4674;POINT (-40.023356 -2.793746)', '2026-07-13 07:24:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023322 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.023356 -2.793746)'))) / (select extract(epoch from '2026-07-13 07:24:36'::timestamp) - extract(epoch from '2026-07-13 07:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023322 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.023356 -2.793746)'))) / (select extract(epoch from '2026-07-13 07:24:36'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023387 -2.793734)', '2026-07-13 07:24:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023356 -2.793746)'), GeomFromEWKT('SRID=4674;POINT (-40.023387 -2.793734)'))) / (select extract(epoch from '2026-07-13 07:24:43'::timestamp) - extract(epoch from '2026-07-13 07:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023356 -2.793746)'), GeomFromEWKT('SRID=4674;POINT (-40.023387 -2.793734)'))) / (select extract(epoch from '2026-07-13 07:24:43'::timestamp) - extract(epoch from '2026-07-13 07:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023413 -2.793728)', '2026-07-13 07:24:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023387 -2.793734)'), GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.793728)'))) / (select extract(epoch from '2026-07-13 07:24:50'::timestamp) - extract(epoch from '2026-07-13 07:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023387 -2.793734)'), GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.793728)'))) / (select extract(epoch from '2026-07-13 07:24:50'::timestamp) - extract(epoch from '2026-07-13 07:24: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'), 47628, 'SRID=4674;POINT (-40.023424 -2.793739)', '2026-07-13 07:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.793728)'), GeomFromEWKT('SRID=4674;POINT (-40.023424 -2.793739)'))) / (select extract(epoch from '2026-07-13 07:24:57'::timestamp) - extract(epoch from '2026-07-13 07:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.793728)'), GeomFromEWKT('SRID=4674;POINT (-40.023424 -2.793739)'))) / (select extract(epoch from '2026-07-13 07:24:57'::timestamp) - extract(epoch from '2026-07-13 07:24: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'), 47628, 'SRID=4674;POINT (-40.023423 -2.793752)', '2026-07-13 07:25:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023424 -2.793739)'), GeomFromEWKT('SRID=4674;POINT (-40.023423 -2.793752)'))) / (select extract(epoch from '2026-07-13 07:25:06'::timestamp) - extract(epoch from '2026-07-13 07:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023424 -2.793739)'), GeomFromEWKT('SRID=4674;POINT (-40.023423 -2.793752)'))) / (select extract(epoch from '2026-07-13 07:25:06'::timestamp) - extract(epoch from '2026-07-13 07:24: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'), 47628, 'SRID=4674;POINT (-40.02343 -2.793749)', '2026-07-13 07:25:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023423 -2.793752)'), GeomFromEWKT('SRID=4674;POINT (-40.02343 -2.793749)'))) / (select extract(epoch from '2026-07-13 07:25:24'::timestamp) - extract(epoch from '2026-07-13 07:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023423 -2.793752)'), GeomFromEWKT('SRID=4674;POINT (-40.02343 -2.793749)'))) / (select extract(epoch from '2026-07-13 07:25:24'::timestamp) - extract(epoch from '2026-07-13 07:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023446 -2.793769)', '2026-07-13 07:25:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02343 -2.793749)'), GeomFromEWKT('SRID=4674;POINT (-40.023446 -2.793769)'))) / (select extract(epoch from '2026-07-13 07:25:45'::timestamp) - extract(epoch from '2026-07-13 07:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02343 -2.793749)'), GeomFromEWKT('SRID=4674;POINT (-40.023446 -2.793769)'))) / (select extract(epoch from '2026-07-13 07:25:45'::timestamp) - extract(epoch from '2026-07-13 07:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023435 -2.793768)', '2026-07-13 07:26:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023446 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.023435 -2.793768)'))) / (select extract(epoch from '2026-07-13 07:26:04'::timestamp) - extract(epoch from '2026-07-13 07:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023446 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.023435 -2.793768)'))) / (select extract(epoch from '2026-07-13 07:26:04'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023395 -2.793775)', '2026-07-13 07:26:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023435 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.023395 -2.793775)'))) / (select extract(epoch from '2026-07-13 07:26:20'::timestamp) - extract(epoch from '2026-07-13 07:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023435 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.023395 -2.793775)'))) / (select extract(epoch from '2026-07-13 07:26:20'::timestamp) - extract(epoch from '2026-07-13 07:26: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'), 47628, 'SRID=4674;POINT (-40.023335 -2.793782)', '2026-07-13 07:26:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023395 -2.793775)'), GeomFromEWKT('SRID=4674;POINT (-40.023335 -2.793782)'))) / (select extract(epoch from '2026-07-13 07:26:27'::timestamp) - extract(epoch from '2026-07-13 07:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023395 -2.793775)'), GeomFromEWKT('SRID=4674;POINT (-40.023335 -2.793782)'))) / (select extract(epoch from '2026-07-13 07:26:27'::timestamp) - extract(epoch from '2026-07-13 07:26: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'), 47628, 'SRID=4674;POINT (-40.02331 -2.793785)', '2026-07-13 07:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023335 -2.793782)'), GeomFromEWKT('SRID=4674;POINT (-40.02331 -2.793785)'))) / (select extract(epoch from '2026-07-13 07:26:30'::timestamp) - extract(epoch from '2026-07-13 07:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023335 -2.793782)'), GeomFromEWKT('SRID=4674;POINT (-40.02331 -2.793785)'))) / (select extract(epoch from '2026-07-13 07:26:30'::timestamp) - extract(epoch from '2026-07-13 07:26: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'), 47628, 'SRID=4674;POINT (-40.023296 -2.79379)', '2026-07-13 07:26:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02331 -2.793785)'), GeomFromEWKT('SRID=4674;POINT (-40.023296 -2.79379)'))) / (select extract(epoch from '2026-07-13 07:26:32'::timestamp) - extract(epoch from '2026-07-13 07:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02331 -2.793785)'), GeomFromEWKT('SRID=4674;POINT (-40.023296 -2.79379)'))) / (select extract(epoch from '2026-07-13 07:26:32'::timestamp) - extract(epoch from '2026-07-13 07:26:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023279 -2.793796)', '2026-07-13 07:26:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023296 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.023279 -2.793796)'))) / (select extract(epoch from '2026-07-13 07:26:39'::timestamp) - extract(epoch from '2026-07-13 07:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023296 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.023279 -2.793796)'))) / (select extract(epoch from '2026-07-13 07:26:39'::timestamp) - extract(epoch from '2026-07-13 07:26: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'), 47628, 'SRID=4674;POINT (-40.023262 -2.793782)', '2026-07-13 07:26:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023279 -2.793796)'), GeomFromEWKT('SRID=4674;POINT (-40.023262 -2.793782)'))) / (select extract(epoch from '2026-07-13 07:26:51'::timestamp) - extract(epoch from '2026-07-13 07:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023279 -2.793796)'), GeomFromEWKT('SRID=4674;POINT (-40.023262 -2.793782)'))) / (select extract(epoch from '2026-07-13 07:26:51'::timestamp) - extract(epoch from '2026-07-13 07:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02324 -2.793746)', '2026-07-13 07:26:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023262 -2.793782)'), GeomFromEWKT('SRID=4674;POINT (-40.02324 -2.793746)'))) / (select extract(epoch from '2026-07-13 07:26:58'::timestamp) - extract(epoch from '2026-07-13 07:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023262 -2.793782)'), GeomFromEWKT('SRID=4674;POINT (-40.02324 -2.793746)'))) / (select extract(epoch from '2026-07-13 07:26:58'::timestamp) - extract(epoch from '2026-07-13 07:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023208 -2.793667)', '2026-07-13 07:27:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02324 -2.793746)'), GeomFromEWKT('SRID=4674;POINT (-40.023208 -2.793667)'))) / (select extract(epoch from '2026-07-13 07:27:05'::timestamp) - extract(epoch from '2026-07-13 07:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02324 -2.793746)'), GeomFromEWKT('SRID=4674;POINT (-40.023208 -2.793667)'))) / (select extract(epoch from '2026-07-13 07:27:05'::timestamp) - extract(epoch from '2026-07-13 07:26: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'), 47628, 'SRID=4674;POINT (-40.02315 -2.793559)', '2026-07-13 07:27:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023208 -2.793667)'), GeomFromEWKT('SRID=4674;POINT (-40.02315 -2.793559)'))) / (select extract(epoch from '2026-07-13 07:27:13'::timestamp) - extract(epoch from '2026-07-13 07:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023208 -2.793667)'), GeomFromEWKT('SRID=4674;POINT (-40.02315 -2.793559)'))) / (select extract(epoch from '2026-07-13 07:27:13'::timestamp) - extract(epoch from '2026-07-13 07:27: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'), 47628, 'SRID=4674;POINT (-40.02311 -2.79346)', '2026-07-13 07:27:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02315 -2.793559)'), GeomFromEWKT('SRID=4674;POINT (-40.02311 -2.79346)'))) / (select extract(epoch from '2026-07-13 07:27:19'::timestamp) - extract(epoch from '2026-07-13 07:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02315 -2.793559)'), GeomFromEWKT('SRID=4674;POINT (-40.02311 -2.79346)'))) / (select extract(epoch from '2026-07-13 07:27:19'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.02309 -2.79333)', '2026-07-13 07:27:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02311 -2.79346)'), GeomFromEWKT('SRID=4674;POINT (-40.02309 -2.79333)'))) / (select extract(epoch from '2026-07-13 07:27:26'::timestamp) - extract(epoch from '2026-07-13 07:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02311 -2.79346)'), GeomFromEWKT('SRID=4674;POINT (-40.02309 -2.79333)'))) / (select extract(epoch from '2026-07-13 07:27:26'::timestamp) - extract(epoch from '2026-07-13 07:27:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023056 -2.793208)', '2026-07-13 07:27:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02309 -2.79333)'), GeomFromEWKT('SRID=4674;POINT (-40.023056 -2.793208)'))) / (select extract(epoch from '2026-07-13 07:27:33'::timestamp) - extract(epoch from '2026-07-13 07:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02309 -2.79333)'), GeomFromEWKT('SRID=4674;POINT (-40.023056 -2.793208)'))) / (select extract(epoch from '2026-07-13 07:27:33'::timestamp) - extract(epoch from '2026-07-13 07:27: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'), 47628, 'SRID=4674;POINT (-40.023007 -2.793083)', '2026-07-13 07:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023056 -2.793208)'), GeomFromEWKT('SRID=4674;POINT (-40.023007 -2.793083)'))) / (select extract(epoch from '2026-07-13 07:27:40'::timestamp) - extract(epoch from '2026-07-13 07:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023056 -2.793208)'), GeomFromEWKT('SRID=4674;POINT (-40.023007 -2.793083)'))) / (select extract(epoch from '2026-07-13 07:27:40'::timestamp) - extract(epoch from '2026-07-13 07:27: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'), 47628, 'SRID=4674;POINT (-40.023003 -2.793066)', '2026-07-13 07:27:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023007 -2.793083)'), GeomFromEWKT('SRID=4674;POINT (-40.023003 -2.793066)'))) / (select extract(epoch from '2026-07-13 07:27:41'::timestamp) - extract(epoch from '2026-07-13 07:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023007 -2.793083)'), GeomFromEWKT('SRID=4674;POINT (-40.023003 -2.793066)'))) / (select extract(epoch from '2026-07-13 07:27:41'::timestamp) - extract(epoch from '2026-07-13 07:27: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'), 47628, 'SRID=4674;POINT (-40.022983 -2.792997)', '2026-07-13 07:27:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023003 -2.793066)'), GeomFromEWKT('SRID=4674;POINT (-40.022983 -2.792997)'))) / (select extract(epoch from '2026-07-13 07:27:45'::timestamp) - extract(epoch from '2026-07-13 07:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023003 -2.793066)'), GeomFromEWKT('SRID=4674;POINT (-40.022983 -2.792997)'))) / (select extract(epoch from '2026-07-13 07:27:45'::timestamp) - extract(epoch from '2026-07-13 07:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022965 -2.792907)', '2026-07-13 07:27:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022983 -2.792997)'), GeomFromEWKT('SRID=4674;POINT (-40.022965 -2.792907)'))) / (select extract(epoch from '2026-07-13 07:27:50'::timestamp) - extract(epoch from '2026-07-13 07:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022983 -2.792997)'), GeomFromEWKT('SRID=4674;POINT (-40.022965 -2.792907)'))) / (select extract(epoch from '2026-07-13 07:27:50'::timestamp) - extract(epoch from '2026-07-13 07:27: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'), 47628, 'SRID=4674;POINT (-40.022913 -2.792788)', '2026-07-13 07:27:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022965 -2.792907)'), GeomFromEWKT('SRID=4674;POINT (-40.022913 -2.792788)'))) / (select extract(epoch from '2026-07-13 07:27:58'::timestamp) - extract(epoch from '2026-07-13 07:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022965 -2.792907)'), GeomFromEWKT('SRID=4674;POINT (-40.022913 -2.792788)'))) / (select extract(epoch from '2026-07-13 07:27:58'::timestamp) - extract(epoch from '2026-07-13 07:27:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022905 -2.79272)', '2026-07-13 07:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022913 -2.792788)'), GeomFromEWKT('SRID=4674;POINT (-40.022905 -2.79272)'))) / (select extract(epoch from '2026-07-13 07:28:03'::timestamp) - extract(epoch from '2026-07-13 07:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022913 -2.792788)'), GeomFromEWKT('SRID=4674;POINT (-40.022905 -2.79272)'))) / (select extract(epoch from '2026-07-13 07:28:03'::timestamp) - extract(epoch from '2026-07-13 07:27: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'), 47628, 'SRID=4674;POINT (-40.022902 -2.792711)', '2026-07-13 07:28:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022905 -2.79272)'), GeomFromEWKT('SRID=4674;POINT (-40.022902 -2.792711)'))) / (select extract(epoch from '2026-07-13 07:28:04'::timestamp) - extract(epoch from '2026-07-13 07:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022905 -2.79272)'), GeomFromEWKT('SRID=4674;POINT (-40.022902 -2.792711)'))) / (select extract(epoch from '2026-07-13 07:28:04'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.022896 -2.792662)', '2026-07-13 07:28:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022902 -2.792711)'), GeomFromEWKT('SRID=4674;POINT (-40.022896 -2.792662)'))) / (select extract(epoch from '2026-07-13 07:28:10'::timestamp) - extract(epoch from '2026-07-13 07:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022902 -2.792711)'), GeomFromEWKT('SRID=4674;POINT (-40.022896 -2.792662)'))) / (select extract(epoch from '2026-07-13 07:28:10'::timestamp) - extract(epoch from '2026-07-13 07:28: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'), 47628, 'SRID=4674;POINT (-40.022907 -2.792621)', '2026-07-13 07:28:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022896 -2.792662)'), GeomFromEWKT('SRID=4674;POINT (-40.022907 -2.792621)'))) / (select extract(epoch from '2026-07-13 07:28:18'::timestamp) - extract(epoch from '2026-07-13 07:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022896 -2.792662)'), GeomFromEWKT('SRID=4674;POINT (-40.022907 -2.792621)'))) / (select extract(epoch from '2026-07-13 07:28:18'::timestamp) - extract(epoch from '2026-07-13 07:28:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022935 -2.792597)', '2026-07-13 07:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022907 -2.792621)'), GeomFromEWKT('SRID=4674;POINT (-40.022935 -2.792597)'))) / (select extract(epoch from '2026-07-13 07:28:25'::timestamp) - extract(epoch from '2026-07-13 07:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022907 -2.792621)'), GeomFromEWKT('SRID=4674;POINT (-40.022935 -2.792597)'))) / (select extract(epoch from '2026-07-13 07:28:25'::timestamp) - extract(epoch from '2026-07-13 07:28: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'), 47628, 'SRID=4674;POINT (-40.022974 -2.792579)', '2026-07-13 07:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022935 -2.792597)'), GeomFromEWKT('SRID=4674;POINT (-40.022974 -2.792579)'))) / (select extract(epoch from '2026-07-13 07:28:34'::timestamp) - extract(epoch from '2026-07-13 07:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022935 -2.792597)'), GeomFromEWKT('SRID=4674;POINT (-40.022974 -2.792579)'))) / (select extract(epoch from '2026-07-13 07:28:34'::timestamp) - extract(epoch from '2026-07-13 07:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023023 -2.792556)', '2026-07-13 07:28:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022974 -2.792579)'), GeomFromEWKT('SRID=4674;POINT (-40.023023 -2.792556)'))) / (select extract(epoch from '2026-07-13 07:28:44'::timestamp) - extract(epoch from '2026-07-13 07:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022974 -2.792579)'), GeomFromEWKT('SRID=4674;POINT (-40.023023 -2.792556)'))) / (select extract(epoch from '2026-07-13 07:28:44'::timestamp) - extract(epoch from '2026-07-13 07:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023031 -2.79255)', '2026-07-13 07:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023023 -2.792556)'), GeomFromEWKT('SRID=4674;POINT (-40.023031 -2.79255)'))) / (select extract(epoch from '2026-07-13 07:28:53'::timestamp) - extract(epoch from '2026-07-13 07:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023023 -2.792556)'), GeomFromEWKT('SRID=4674;POINT (-40.023031 -2.79255)'))) / (select extract(epoch from '2026-07-13 07:28:53'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023049 -2.792554)', '2026-07-13 07:29:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023031 -2.79255)'), GeomFromEWKT('SRID=4674;POINT (-40.023049 -2.792554)'))) / (select extract(epoch from '2026-07-13 07:29:02'::timestamp) - extract(epoch from '2026-07-13 07:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023031 -2.79255)'), GeomFromEWKT('SRID=4674;POINT (-40.023049 -2.792554)'))) / (select extract(epoch from '2026-07-13 07:29:02'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023071 -2.792553)', '2026-07-13 07:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023049 -2.792554)'), GeomFromEWKT('SRID=4674;POINT (-40.023071 -2.792553)'))) / (select extract(epoch from '2026-07-13 07:29:10'::timestamp) - extract(epoch from '2026-07-13 07:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023049 -2.792554)'), GeomFromEWKT('SRID=4674;POINT (-40.023071 -2.792553)'))) / (select extract(epoch from '2026-07-13 07:29:10'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023098 -2.792557)', '2026-07-13 07:29:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023071 -2.792553)'), GeomFromEWKT('SRID=4674;POINT (-40.023098 -2.792557)'))) / (select extract(epoch from '2026-07-13 07:29:21'::timestamp) - extract(epoch from '2026-07-13 07:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023071 -2.792553)'), GeomFromEWKT('SRID=4674;POINT (-40.023098 -2.792557)'))) / (select extract(epoch from '2026-07-13 07:29:21'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023116 -2.792561)', '2026-07-13 07:29:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023098 -2.792557)'), GeomFromEWKT('SRID=4674;POINT (-40.023116 -2.792561)'))) / (select extract(epoch from '2026-07-13 07:29:34'::timestamp) - extract(epoch from '2026-07-13 07:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023098 -2.792557)'), GeomFromEWKT('SRID=4674;POINT (-40.023116 -2.792561)'))) / (select extract(epoch from '2026-07-13 07:29:34'::timestamp) - extract(epoch from '2026-07-13 07:29:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02314 -2.792537)', '2026-07-13 07:29:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023116 -2.792561)'), GeomFromEWKT('SRID=4674;POINT (-40.02314 -2.792537)'))) / (select extract(epoch from '2026-07-13 07:29:49'::timestamp) - extract(epoch from '2026-07-13 07:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023116 -2.792561)'), GeomFromEWKT('SRID=4674;POINT (-40.02314 -2.792537)'))) / (select extract(epoch from '2026-07-13 07:29:49'::timestamp) - extract(epoch from '2026-07-13 07:29: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'), 47628, 'SRID=4674;POINT (-40.023156 -2.792525)', '2026-07-13 07:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02314 -2.792537)'), GeomFromEWKT('SRID=4674;POINT (-40.023156 -2.792525)'))) / (select extract(epoch from '2026-07-13 07:30:07'::timestamp) - extract(epoch from '2026-07-13 07:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02314 -2.792537)'), GeomFromEWKT('SRID=4674;POINT (-40.023156 -2.792525)'))) / (select extract(epoch from '2026-07-13 07:30:07'::timestamp) - extract(epoch from '2026-07-13 07:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023171 -2.79252)', '2026-07-13 07:30:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023156 -2.792525)'), GeomFromEWKT('SRID=4674;POINT (-40.023171 -2.79252)'))) / (select extract(epoch from '2026-07-13 07:30:23'::timestamp) - extract(epoch from '2026-07-13 07:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023156 -2.792525)'), GeomFromEWKT('SRID=4674;POINT (-40.023171 -2.79252)'))) / (select extract(epoch from '2026-07-13 07:30:23'::timestamp) - extract(epoch from '2026-07-13 07:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023179 -2.792506)', '2026-07-13 07:30:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023171 -2.79252)'), GeomFromEWKT('SRID=4674;POINT (-40.023179 -2.792506)'))) / (select extract(epoch from '2026-07-13 07:30:42'::timestamp) - extract(epoch from '2026-07-13 07:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023171 -2.79252)'), GeomFromEWKT('SRID=4674;POINT (-40.023179 -2.792506)'))) / (select extract(epoch from '2026-07-13 07:30:42'::timestamp) - extract(epoch from '2026-07-13 07:30: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'), 47628, 'SRID=4674;POINT (-40.023183 -2.792509)', '2026-07-13 07:31:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023179 -2.792506)'), GeomFromEWKT('SRID=4674;POINT (-40.023183 -2.792509)'))) / (select extract(epoch from '2026-07-13 07:31:01'::timestamp) - extract(epoch from '2026-07-13 07:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023179 -2.792506)'), GeomFromEWKT('SRID=4674;POINT (-40.023183 -2.792509)'))) / (select extract(epoch from '2026-07-13 07:31:01'::timestamp) - extract(epoch from '2026-07-13 07:30: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'), 47628, 'SRID=4674;POINT (-40.023177 -2.792507)', '2026-07-13 07:31:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023183 -2.792509)'), GeomFromEWKT('SRID=4674;POINT (-40.023177 -2.792507)'))) / (select extract(epoch from '2026-07-13 07:31:20'::timestamp) - extract(epoch from '2026-07-13 07:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023183 -2.792509)'), GeomFromEWKT('SRID=4674;POINT (-40.023177 -2.792507)'))) / (select extract(epoch from '2026-07-13 07:31:20'::timestamp) - extract(epoch from '2026-07-13 07:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023207 -2.792489)', '2026-07-13 07:31:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023177 -2.792507)'), GeomFromEWKT('SRID=4674;POINT (-40.023207 -2.792489)'))) / (select extract(epoch from '2026-07-13 07:31:49'::timestamp) - extract(epoch from '2026-07-13 07:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023177 -2.792507)'), GeomFromEWKT('SRID=4674;POINT (-40.023207 -2.792489)'))) / (select extract(epoch from '2026-07-13 07:31:49'::timestamp) - extract(epoch from '2026-07-13 07:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023218 -2.792492)', '2026-07-13 07:32:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023207 -2.792489)'), GeomFromEWKT('SRID=4674;POINT (-40.023218 -2.792492)'))) / (select extract(epoch from '2026-07-13 07:32:20'::timestamp) - extract(epoch from '2026-07-13 07:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023207 -2.792489)'), GeomFromEWKT('SRID=4674;POINT (-40.023218 -2.792492)'))) / (select extract(epoch from '2026-07-13 07:32:20'::timestamp) - extract(epoch from '2026-07-13 07:31: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'), 47628, 'SRID=4674;POINT (-40.023224 -2.792506)', '2026-07-13 07:33:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023218 -2.792492)'), GeomFromEWKT('SRID=4674;POINT (-40.023224 -2.792506)'))) / (select extract(epoch from '2026-07-13 07:33:12'::timestamp) - extract(epoch from '2026-07-13 07:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023218 -2.792492)'), GeomFromEWKT('SRID=4674;POINT (-40.023224 -2.792506)'))) / (select extract(epoch from '2026-07-13 07:33:12'::timestamp) - extract(epoch from '2026-07-13 07:32: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'), 47628, 'SRID=4674;POINT (-40.02318 -2.792521)', '2026-07-13 07:33:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023224 -2.792506)'), GeomFromEWKT('SRID=4674;POINT (-40.02318 -2.792521)'))) / (select extract(epoch from '2026-07-13 07:33:23'::timestamp) - extract(epoch from '2026-07-13 07:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023224 -2.792506)'), GeomFromEWKT('SRID=4674;POINT (-40.02318 -2.792521)'))) / (select extract(epoch from '2026-07-13 07:33:23'::timestamp) - extract(epoch from '2026-07-13 07:33:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023104 -2.79252)', '2026-07-13 07:33:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02318 -2.792521)'), GeomFromEWKT('SRID=4674;POINT (-40.023104 -2.79252)'))) / (select extract(epoch from '2026-07-13 07:33:32'::timestamp) - extract(epoch from '2026-07-13 07:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02318 -2.792521)'), GeomFromEWKT('SRID=4674;POINT (-40.023104 -2.79252)'))) / (select extract(epoch from '2026-07-13 07:33:32'::timestamp) - extract(epoch from '2026-07-13 07:33: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'), 47628, 'SRID=4674;POINT (-40.023055 -2.792512)', '2026-07-13 07:33:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023104 -2.79252)'), GeomFromEWKT('SRID=4674;POINT (-40.023055 -2.792512)'))) / (select extract(epoch from '2026-07-13 07:33:40'::timestamp) - extract(epoch from '2026-07-13 07:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023104 -2.79252)'), GeomFromEWKT('SRID=4674;POINT (-40.023055 -2.792512)'))) / (select extract(epoch from '2026-07-13 07:33:40'::timestamp) - extract(epoch from '2026-07-13 07:33: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'), 47628, 'SRID=4674;POINT (-40.023055 -2.792504)', '2026-07-13 07:33:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023055 -2.792512)'), GeomFromEWKT('SRID=4674;POINT (-40.023055 -2.792504)'))) / (select extract(epoch from '2026-07-13 07:33:52'::timestamp) - extract(epoch from '2026-07-13 07:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023055 -2.792512)'), GeomFromEWKT('SRID=4674;POINT (-40.023055 -2.792504)'))) / (select extract(epoch from '2026-07-13 07:33:52'::timestamp) - extract(epoch from '2026-07-13 07:33: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'), 47628, 'SRID=4674;POINT (-40.023064 -2.792519)', '2026-07-13 07:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023055 -2.792504)'), GeomFromEWKT('SRID=4674;POINT (-40.023064 -2.792519)'))) / (select extract(epoch from '2026-07-13 07:34:02'::timestamp) - extract(epoch from '2026-07-13 07:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023055 -2.792504)'), GeomFromEWKT('SRID=4674;POINT (-40.023064 -2.792519)'))) / (select extract(epoch from '2026-07-13 07:34:02'::timestamp) - extract(epoch from '2026-07-13 07:33: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'), 47628, 'SRID=4674;POINT (-40.023074 -2.792543)', '2026-07-13 07:34:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023064 -2.792519)'), GeomFromEWKT('SRID=4674;POINT (-40.023074 -2.792543)'))) / (select extract(epoch from '2026-07-13 07:34:13'::timestamp) - extract(epoch from '2026-07-13 07:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023064 -2.792519)'), GeomFromEWKT('SRID=4674;POINT (-40.023074 -2.792543)'))) / (select extract(epoch from '2026-07-13 07:34:13'::timestamp) - extract(epoch from '2026-07-13 07:34: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'), 47628, 'SRID=4674;POINT (-40.023081 -2.792557)', '2026-07-13 07:34:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023074 -2.792543)'), GeomFromEWKT('SRID=4674;POINT (-40.023081 -2.792557)'))) / (select extract(epoch from '2026-07-13 07:34:25'::timestamp) - extract(epoch from '2026-07-13 07:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023074 -2.792543)'), GeomFromEWKT('SRID=4674;POINT (-40.023081 -2.792557)'))) / (select extract(epoch from '2026-07-13 07:34:25'::timestamp) - extract(epoch from '2026-07-13 07:34: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'), 47628, 'SRID=4674;POINT (-40.023082 -2.792556)', '2026-07-13 07:34:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023081 -2.792557)'), GeomFromEWKT('SRID=4674;POINT (-40.023082 -2.792556)'))) / (select extract(epoch from '2026-07-13 07:34:40'::timestamp) - extract(epoch from '2026-07-13 07:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023081 -2.792557)'), GeomFromEWKT('SRID=4674;POINT (-40.023082 -2.792556)'))) / (select extract(epoch from '2026-07-13 07:34:40'::timestamp) - extract(epoch from '2026-07-13 07:34: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'), 47628, 'SRID=4674;POINT (-40.02307 -2.792542)', '2026-07-13 07:34:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023082 -2.792556)'), GeomFromEWKT('SRID=4674;POINT (-40.02307 -2.792542)'))) / (select extract(epoch from '2026-07-13 07:34:49'::timestamp) - extract(epoch from '2026-07-13 07:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023082 -2.792556)'), GeomFromEWKT('SRID=4674;POINT (-40.02307 -2.792542)'))) / (select extract(epoch from '2026-07-13 07:34:49'::timestamp) - extract(epoch from '2026-07-13 07:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023077 -2.792568)', '2026-07-13 07:34:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02307 -2.792542)'), GeomFromEWKT('SRID=4674;POINT (-40.023077 -2.792568)'))) / (select extract(epoch from '2026-07-13 07:34:54'::timestamp) - extract(epoch from '2026-07-13 07:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02307 -2.792542)'), GeomFromEWKT('SRID=4674;POINT (-40.023077 -2.792568)'))) / (select extract(epoch from '2026-07-13 07:34:54'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023082 -2.792574)', '2026-07-13 07:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023077 -2.792568)'), GeomFromEWKT('SRID=4674;POINT (-40.023082 -2.792574)'))) / (select extract(epoch from '2026-07-13 07:34:55'::timestamp) - extract(epoch from '2026-07-13 07:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023077 -2.792568)'), GeomFromEWKT('SRID=4674;POINT (-40.023082 -2.792574)'))) / (select extract(epoch from '2026-07-13 07:34:55'::timestamp) - extract(epoch from '2026-07-13 07:34: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'), 47628, 'SRID=4674;POINT (-40.023087 -2.792582)', '2026-07-13 07:35:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023082 -2.792574)'), GeomFromEWKT('SRID=4674;POINT (-40.023087 -2.792582)'))) / (select extract(epoch from '2026-07-13 07:35:05'::timestamp) - extract(epoch from '2026-07-13 07:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023082 -2.792574)'), GeomFromEWKT('SRID=4674;POINT (-40.023087 -2.792582)'))) / (select extract(epoch from '2026-07-13 07:35:05'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.023095 -2.792599)', '2026-07-13 07:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023087 -2.792582)'), GeomFromEWKT('SRID=4674;POINT (-40.023095 -2.792599)'))) / (select extract(epoch from '2026-07-13 07:35:18'::timestamp) - extract(epoch from '2026-07-13 07:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023087 -2.792582)'), GeomFromEWKT('SRID=4674;POINT (-40.023095 -2.792599)'))) / (select extract(epoch from '2026-07-13 07:35:18'::timestamp) - extract(epoch from '2026-07-13 07:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023063 -2.792616)', '2026-07-13 07:35:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023095 -2.792599)'), GeomFromEWKT('SRID=4674;POINT (-40.023063 -2.792616)'))) / (select extract(epoch from '2026-07-13 07:35:38'::timestamp) - extract(epoch from '2026-07-13 07:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023095 -2.792599)'), GeomFromEWKT('SRID=4674;POINT (-40.023063 -2.792616)'))) / (select extract(epoch from '2026-07-13 07:35:38'::timestamp) - extract(epoch from '2026-07-13 07:35: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'), 47628, 'SRID=4674;POINT (-40.023039 -2.792577)', '2026-07-13 07:35:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023063 -2.792616)'), GeomFromEWKT('SRID=4674;POINT (-40.023039 -2.792577)'))) / (select extract(epoch from '2026-07-13 07:35:48'::timestamp) - extract(epoch from '2026-07-13 07:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023063 -2.792616)'), GeomFromEWKT('SRID=4674;POINT (-40.023039 -2.792577)'))) / (select extract(epoch from '2026-07-13 07:35:48'::timestamp) - extract(epoch from '2026-07-13 07:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022982 -2.792572)', '2026-07-13 07:35:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023039 -2.792577)'), GeomFromEWKT('SRID=4674;POINT (-40.022982 -2.792572)'))) / (select extract(epoch from '2026-07-13 07:35:56'::timestamp) - extract(epoch from '2026-07-13 07:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023039 -2.792577)'), GeomFromEWKT('SRID=4674;POINT (-40.022982 -2.792572)'))) / (select extract(epoch from '2026-07-13 07:35:56'::timestamp) - extract(epoch from '2026-07-13 07:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022923 -2.792616)', '2026-07-13 07:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022982 -2.792572)'), GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.792616)'))) / (select extract(epoch from '2026-07-13 07:36:05'::timestamp) - extract(epoch from '2026-07-13 07:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022982 -2.792572)'), GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.792616)'))) / (select extract(epoch from '2026-07-13 07:36:05'::timestamp) - extract(epoch from '2026-07-13 07:35: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'), 47628, 'SRID=4674;POINT (-40.022891 -2.792637)', '2026-07-13 07:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.792616)'), GeomFromEWKT('SRID=4674;POINT (-40.022891 -2.792637)'))) / (select extract(epoch from '2026-07-13 07:36:11'::timestamp) - extract(epoch from '2026-07-13 07:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.792616)'), GeomFromEWKT('SRID=4674;POINT (-40.022891 -2.792637)'))) / (select extract(epoch from '2026-07-13 07:36:11'::timestamp) - extract(epoch from '2026-07-13 07:36: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'), 47628, 'SRID=4674;POINT (-40.022863 -2.792662)', '2026-07-13 07:36:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022891 -2.792637)'), GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.792662)'))) / (select extract(epoch from '2026-07-13 07:36:17'::timestamp) - extract(epoch from '2026-07-13 07:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022891 -2.792637)'), GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.792662)'))) / (select extract(epoch from '2026-07-13 07:36:17'::timestamp) - extract(epoch from '2026-07-13 07:36: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'), 47628, 'SRID=4674;POINT (-40.022863 -2.79267)', '2026-07-13 07:36:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.792662)'), GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.79267)'))) / (select extract(epoch from '2026-07-13 07:36:19'::timestamp) - extract(epoch from '2026-07-13 07:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.792662)'), GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.79267)'))) / (select extract(epoch from '2026-07-13 07:36:19'::timestamp) - extract(epoch from '2026-07-13 07:36: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'), 47628, 'SRID=4674;POINT (-40.022837 -2.792709)', '2026-07-13 07:36:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.79267)'), GeomFromEWKT('SRID=4674;POINT (-40.022837 -2.792709)'))) / (select extract(epoch from '2026-07-13 07:36:26'::timestamp) - extract(epoch from '2026-07-13 07:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.79267)'), GeomFromEWKT('SRID=4674;POINT (-40.022837 -2.792709)'))) / (select extract(epoch from '2026-07-13 07:36:26'::timestamp) - extract(epoch from '2026-07-13 07:36: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'), 47628, 'SRID=4674;POINT (-40.022816 -2.792715)', '2026-07-13 07:36:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022837 -2.792709)'), GeomFromEWKT('SRID=4674;POINT (-40.022816 -2.792715)'))) / (select extract(epoch from '2026-07-13 07:36:32'::timestamp) - extract(epoch from '2026-07-13 07:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022837 -2.792709)'), GeomFromEWKT('SRID=4674;POINT (-40.022816 -2.792715)'))) / (select extract(epoch from '2026-07-13 07:36:32'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.022792 -2.792676)', '2026-07-13 07:36:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022816 -2.792715)'), GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.792676)'))) / (select extract(epoch from '2026-07-13 07:36:39'::timestamp) - extract(epoch from '2026-07-13 07:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022816 -2.792715)'), GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.792676)'))) / (select extract(epoch from '2026-07-13 07:36:39'::timestamp) - extract(epoch from '2026-07-13 07:36: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'), 47628, 'SRID=4674;POINT (-40.022752 -2.79258)', '2026-07-13 07:36:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.792676)'), GeomFromEWKT('SRID=4674;POINT (-40.022752 -2.79258)'))) / (select extract(epoch from '2026-07-13 07:36:47'::timestamp) - extract(epoch from '2026-07-13 07:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.792676)'), GeomFromEWKT('SRID=4674;POINT (-40.022752 -2.79258)'))) / (select extract(epoch from '2026-07-13 07:36:47'::timestamp) - extract(epoch from '2026-07-13 07:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022733 -2.792527)', '2026-07-13 07:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022752 -2.79258)'), GeomFromEWKT('SRID=4674;POINT (-40.022733 -2.792527)'))) / (select extract(epoch from '2026-07-13 07:36:51'::timestamp) - extract(epoch from '2026-07-13 07:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022752 -2.79258)'), GeomFromEWKT('SRID=4674;POINT (-40.022733 -2.792527)'))) / (select extract(epoch from '2026-07-13 07:36:51'::timestamp) - extract(epoch from '2026-07-13 07:36: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'), 47628, 'SRID=4674;POINT (-40.022729 -2.792506)', '2026-07-13 07:36:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022733 -2.792527)'), GeomFromEWKT('SRID=4674;POINT (-40.022729 -2.792506)'))) / (select extract(epoch from '2026-07-13 07:36:53'::timestamp) - extract(epoch from '2026-07-13 07:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022733 -2.792527)'), GeomFromEWKT('SRID=4674;POINT (-40.022729 -2.792506)'))) / (select extract(epoch from '2026-07-13 07:36:53'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.022726 -2.79248)', '2026-07-13 07:36:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022729 -2.792506)'), GeomFromEWKT('SRID=4674;POINT (-40.022726 -2.79248)'))) / (select extract(epoch from '2026-07-13 07:36:56'::timestamp) - extract(epoch from '2026-07-13 07:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022729 -2.792506)'), GeomFromEWKT('SRID=4674;POINT (-40.022726 -2.79248)'))) / (select extract(epoch from '2026-07-13 07:36:56'::timestamp) - extract(epoch from '2026-07-13 07:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022726 -2.792438)', '2026-07-13 07:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022726 -2.79248)'), GeomFromEWKT('SRID=4674;POINT (-40.022726 -2.792438)'))) / (select extract(epoch from '2026-07-13 07:37:03'::timestamp) - extract(epoch from '2026-07-13 07:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022726 -2.79248)'), GeomFromEWKT('SRID=4674;POINT (-40.022726 -2.792438)'))) / (select extract(epoch from '2026-07-13 07:37:03'::timestamp) - extract(epoch from '2026-07-13 07:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022711 -2.792384)', '2026-07-13 07:37:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022726 -2.792438)'), GeomFromEWKT('SRID=4674;POINT (-40.022711 -2.792384)'))) / (select extract(epoch from '2026-07-13 07:37:09'::timestamp) - extract(epoch from '2026-07-13 07:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022726 -2.792438)'), GeomFromEWKT('SRID=4674;POINT (-40.022711 -2.792384)'))) / (select extract(epoch from '2026-07-13 07:37:09'::timestamp) - extract(epoch from '2026-07-13 07:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022702 -2.792361)', '2026-07-13 07:37:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022711 -2.792384)'), GeomFromEWKT('SRID=4674;POINT (-40.022702 -2.792361)'))) / (select extract(epoch from '2026-07-13 07:37:11'::timestamp) - extract(epoch from '2026-07-13 07:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022711 -2.792384)'), GeomFromEWKT('SRID=4674;POINT (-40.022702 -2.792361)'))) / (select extract(epoch from '2026-07-13 07:37:11'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.022686 -2.792325)', '2026-07-13 07:37:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022702 -2.792361)'), GeomFromEWKT('SRID=4674;POINT (-40.022686 -2.792325)'))) / (select extract(epoch from '2026-07-13 07:37:14'::timestamp) - extract(epoch from '2026-07-13 07:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022702 -2.792361)'), GeomFromEWKT('SRID=4674;POINT (-40.022686 -2.792325)'))) / (select extract(epoch from '2026-07-13 07:37:14'::timestamp) - extract(epoch from '2026-07-13 07:37: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'), 47628, 'SRID=4674;POINT (-40.02266 -2.792278)', '2026-07-13 07:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022686 -2.792325)'), GeomFromEWKT('SRID=4674;POINT (-40.02266 -2.792278)'))) / (select extract(epoch from '2026-07-13 07:37:20'::timestamp) - extract(epoch from '2026-07-13 07:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022686 -2.792325)'), GeomFromEWKT('SRID=4674;POINT (-40.02266 -2.792278)'))) / (select extract(epoch from '2026-07-13 07:37:20'::timestamp) - extract(epoch from '2026-07-13 07:37:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022604 -2.792221)', '2026-07-13 07:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02266 -2.792278)'), GeomFromEWKT('SRID=4674;POINT (-40.022604 -2.792221)'))) / (select extract(epoch from '2026-07-13 07:37:26'::timestamp) - extract(epoch from '2026-07-13 07:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02266 -2.792278)'), GeomFromEWKT('SRID=4674;POINT (-40.022604 -2.792221)'))) / (select extract(epoch from '2026-07-13 07:37:26'::timestamp) - extract(epoch from '2026-07-13 07:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022585 -2.792202)', '2026-07-13 07:37:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022604 -2.792221)'), GeomFromEWKT('SRID=4674;POINT (-40.022585 -2.792202)'))) / (select extract(epoch from '2026-07-13 07:37:28'::timestamp) - extract(epoch from '2026-07-13 07:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022604 -2.792221)'), GeomFromEWKT('SRID=4674;POINT (-40.022585 -2.792202)'))) / (select extract(epoch from '2026-07-13 07:37:28'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.022565 -2.79219)', '2026-07-13 07:37:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022585 -2.792202)'), GeomFromEWKT('SRID=4674;POINT (-40.022565 -2.79219)'))) / (select extract(epoch from '2026-07-13 07:37:30'::timestamp) - extract(epoch from '2026-07-13 07:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022585 -2.792202)'), GeomFromEWKT('SRID=4674;POINT (-40.022565 -2.79219)'))) / (select extract(epoch from '2026-07-13 07:37:30'::timestamp) - extract(epoch from '2026-07-13 07:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022514 -2.79214)', '2026-07-13 07:37:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022565 -2.79219)'), GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.79214)'))) / (select extract(epoch from '2026-07-13 07:37:36'::timestamp) - extract(epoch from '2026-07-13 07:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022565 -2.79219)'), GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.79214)'))) / (select extract(epoch from '2026-07-13 07:37:36'::timestamp) - extract(epoch from '2026-07-13 07:37: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'), 47628, 'SRID=4674;POINT (-40.022503 -2.792121)', '2026-07-13 07:37:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.79214)'), GeomFromEWKT('SRID=4674;POINT (-40.022503 -2.792121)'))) / (select extract(epoch from '2026-07-13 07:37:38'::timestamp) - extract(epoch from '2026-07-13 07:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.79214)'), GeomFromEWKT('SRID=4674;POINT (-40.022503 -2.792121)'))) / (select extract(epoch from '2026-07-13 07:37:38'::timestamp) - extract(epoch from '2026-07-13 07:37: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'), 47628, 'SRID=4674;POINT (-40.022493 -2.79208)', '2026-07-13 07:37:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022503 -2.792121)'), GeomFromEWKT('SRID=4674;POINT (-40.022493 -2.79208)'))) / (select extract(epoch from '2026-07-13 07:37:41'::timestamp) - extract(epoch from '2026-07-13 07:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022503 -2.792121)'), GeomFromEWKT('SRID=4674;POINT (-40.022493 -2.79208)'))) / (select extract(epoch from '2026-07-13 07:37:41'::timestamp) - extract(epoch from '2026-07-13 07:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022464 -2.792031)', '2026-07-13 07:37:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022493 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.022464 -2.792031)'))) / (select extract(epoch from '2026-07-13 07:37:47'::timestamp) - extract(epoch from '2026-07-13 07:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022493 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.022464 -2.792031)'))) / (select extract(epoch from '2026-07-13 07:37:47'::timestamp) - extract(epoch from '2026-07-13 07:37: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'), 47628, 'SRID=4674;POINT (-40.022433 -2.791987)', '2026-07-13 07:37:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022464 -2.792031)'), GeomFromEWKT('SRID=4674;POINT (-40.022433 -2.791987)'))) / (select extract(epoch from '2026-07-13 07:37:54'::timestamp) - extract(epoch from '2026-07-13 07:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022464 -2.792031)'), GeomFromEWKT('SRID=4674;POINT (-40.022433 -2.791987)'))) / (select extract(epoch from '2026-07-13 07:37:54'::timestamp) - extract(epoch from '2026-07-13 07:37: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'), 47628, 'SRID=4674;POINT (-40.022438 -2.79197)', '2026-07-13 07:37:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022433 -2.791987)'), GeomFromEWKT('SRID=4674;POINT (-40.022438 -2.79197)'))) / (select extract(epoch from '2026-07-13 07:37:56'::timestamp) - extract(epoch from '2026-07-13 07:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022433 -2.791987)'), GeomFromEWKT('SRID=4674;POINT (-40.022438 -2.79197)'))) / (select extract(epoch from '2026-07-13 07:37:56'::timestamp) - extract(epoch from '2026-07-13 07:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022442 -2.791952)', '2026-07-13 07:37:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022438 -2.79197)'), GeomFromEWKT('SRID=4674;POINT (-40.022442 -2.791952)'))) / (select extract(epoch from '2026-07-13 07:37:58'::timestamp) - extract(epoch from '2026-07-13 07:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022438 -2.79197)'), GeomFromEWKT('SRID=4674;POINT (-40.022442 -2.791952)'))) / (select extract(epoch from '2026-07-13 07:37:58'::timestamp) - extract(epoch from '2026-07-13 07:37: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'), 47628, 'SRID=4674;POINT (-40.022439 -2.791924)', '2026-07-13 07:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022442 -2.791952)'), GeomFromEWKT('SRID=4674;POINT (-40.022439 -2.791924)'))) / (select extract(epoch from '2026-07-13 07:38:01'::timestamp) - extract(epoch from '2026-07-13 07:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022442 -2.791952)'), GeomFromEWKT('SRID=4674;POINT (-40.022439 -2.791924)'))) / (select extract(epoch from '2026-07-13 07:38:01'::timestamp) - extract(epoch from '2026-07-13 07:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022428 -2.791899)', '2026-07-13 07:38:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022439 -2.791924)'), GeomFromEWKT('SRID=4674;POINT (-40.022428 -2.791899)'))) / (select extract(epoch from '2026-07-13 07:38:04'::timestamp) - extract(epoch from '2026-07-13 07:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022439 -2.791924)'), GeomFromEWKT('SRID=4674;POINT (-40.022428 -2.791899)'))) / (select extract(epoch from '2026-07-13 07:38:04'::timestamp) - extract(epoch from '2026-07-13 07:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022423 -2.791892)', '2026-07-13 07:38:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022428 -2.791899)'), GeomFromEWKT('SRID=4674;POINT (-40.022423 -2.791892)'))) / (select extract(epoch from '2026-07-13 07:38:05'::timestamp) - extract(epoch from '2026-07-13 07:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022428 -2.791899)'), GeomFromEWKT('SRID=4674;POINT (-40.022423 -2.791892)'))) / (select extract(epoch from '2026-07-13 07:38:05'::timestamp) - extract(epoch from '2026-07-13 07:38: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'), 47628, 'SRID=4674;POINT (-40.022414 -2.79187)', '2026-07-13 07:38:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022423 -2.791892)'), GeomFromEWKT('SRID=4674;POINT (-40.022414 -2.79187)'))) / (select extract(epoch from '2026-07-13 07:38:08'::timestamp) - extract(epoch from '2026-07-13 07:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022423 -2.791892)'), GeomFromEWKT('SRID=4674;POINT (-40.022414 -2.79187)'))) / (select extract(epoch from '2026-07-13 07:38:08'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.022401 -2.791841)', '2026-07-13 07:38:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022414 -2.79187)'), GeomFromEWKT('SRID=4674;POINT (-40.022401 -2.791841)'))) / (select extract(epoch from '2026-07-13 07:38:11'::timestamp) - extract(epoch from '2026-07-13 07:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022414 -2.79187)'), GeomFromEWKT('SRID=4674;POINT (-40.022401 -2.791841)'))) / (select extract(epoch from '2026-07-13 07:38:11'::timestamp) - extract(epoch from '2026-07-13 07:38:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022397 -2.791831)', '2026-07-13 07:38:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022401 -2.791841)'), GeomFromEWKT('SRID=4674;POINT (-40.022397 -2.791831)'))) / (select extract(epoch from '2026-07-13 07:38:12'::timestamp) - extract(epoch from '2026-07-13 07:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022401 -2.791841)'), GeomFromEWKT('SRID=4674;POINT (-40.022397 -2.791831)'))) / (select extract(epoch from '2026-07-13 07:38:12'::timestamp) - extract(epoch from '2026-07-13 07:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02239 -2.79181)', '2026-07-13 07:38:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022397 -2.791831)'), GeomFromEWKT('SRID=4674;POINT (-40.02239 -2.79181)'))) / (select extract(epoch from '2026-07-13 07:38:14'::timestamp) - extract(epoch from '2026-07-13 07:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022397 -2.791831)'), GeomFromEWKT('SRID=4674;POINT (-40.02239 -2.79181)'))) / (select extract(epoch from '2026-07-13 07:38:14'::timestamp) - extract(epoch from '2026-07-13 07:38: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'), 47628, 'SRID=4674;POINT (-40.022379 -2.791772)', '2026-07-13 07:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02239 -2.79181)'), GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.791772)'))) / (select extract(epoch from '2026-07-13 07:38:17'::timestamp) - extract(epoch from '2026-07-13 07:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02239 -2.79181)'), GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.791772)'))) / (select extract(epoch from '2026-07-13 07:38:17'::timestamp) - extract(epoch from '2026-07-13 07:38: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'), 47628, 'SRID=4674;POINT (-40.022332 -2.791664)', '2026-07-13 07:38:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.791772)'), GeomFromEWKT('SRID=4674;POINT (-40.022332 -2.791664)'))) / (select extract(epoch from '2026-07-13 07:38:24'::timestamp) - extract(epoch from '2026-07-13 07:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.791772)'), GeomFromEWKT('SRID=4674;POINT (-40.022332 -2.791664)'))) / (select extract(epoch from '2026-07-13 07:38:24'::timestamp) - extract(epoch from '2026-07-13 07:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022253 -2.791511)', '2026-07-13 07:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022332 -2.791664)'), GeomFromEWKT('SRID=4674;POINT (-40.022253 -2.791511)'))) / (select extract(epoch from '2026-07-13 07:38:34'::timestamp) - extract(epoch from '2026-07-13 07:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022332 -2.791664)'), GeomFromEWKT('SRID=4674;POINT (-40.022253 -2.791511)'))) / (select extract(epoch from '2026-07-13 07:38:34'::timestamp) - extract(epoch from '2026-07-13 07:38:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022205 -2.791432)', '2026-07-13 07:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022253 -2.791511)'), GeomFromEWKT('SRID=4674;POINT (-40.022205 -2.791432)'))) / (select extract(epoch from '2026-07-13 07:38:41'::timestamp) - extract(epoch from '2026-07-13 07:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022253 -2.791511)'), GeomFromEWKT('SRID=4674;POINT (-40.022205 -2.791432)'))) / (select extract(epoch from '2026-07-13 07:38:41'::timestamp) - extract(epoch from '2026-07-13 07:38: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'), 47628, 'SRID=4674;POINT (-40.022143 -2.791305)', '2026-07-13 07:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022205 -2.791432)'), GeomFromEWKT('SRID=4674;POINT (-40.022143 -2.791305)'))) / (select extract(epoch from '2026-07-13 07:38:50'::timestamp) - extract(epoch from '2026-07-13 07:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022205 -2.791432)'), GeomFromEWKT('SRID=4674;POINT (-40.022143 -2.791305)'))) / (select extract(epoch from '2026-07-13 07:38:50'::timestamp) - extract(epoch from '2026-07-13 07:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022104 -2.791171)', '2026-07-13 07:38:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022143 -2.791305)'), GeomFromEWKT('SRID=4674;POINT (-40.022104 -2.791171)'))) / (select extract(epoch from '2026-07-13 07:38:58'::timestamp) - extract(epoch from '2026-07-13 07:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022143 -2.791305)'), GeomFromEWKT('SRID=4674;POINT (-40.022104 -2.791171)'))) / (select extract(epoch from '2026-07-13 07:38:58'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.022083 -2.791025)', '2026-07-13 07:39:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022104 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.022083 -2.791025)'))) / (select extract(epoch from '2026-07-13 07:39:06'::timestamp) - extract(epoch from '2026-07-13 07:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022104 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.022083 -2.791025)'))) / (select extract(epoch from '2026-07-13 07:39:06'::timestamp) - extract(epoch from '2026-07-13 07:38: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'), 47628, 'SRID=4674;POINT (-40.022096 -2.790903)', '2026-07-13 07:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022083 -2.791025)'), GeomFromEWKT('SRID=4674;POINT (-40.022096 -2.790903)'))) / (select extract(epoch from '2026-07-13 07:39:12'::timestamp) - extract(epoch from '2026-07-13 07:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022083 -2.791025)'), GeomFromEWKT('SRID=4674;POINT (-40.022096 -2.790903)'))) / (select extract(epoch from '2026-07-13 07:39:12'::timestamp) - extract(epoch from '2026-07-13 07:39: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'), 47628, 'SRID=4674;POINT (-40.022114 -2.790777)', '2026-07-13 07:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022096 -2.790903)'), GeomFromEWKT('SRID=4674;POINT (-40.022114 -2.790777)'))) / (select extract(epoch from '2026-07-13 07:39:18'::timestamp) - extract(epoch from '2026-07-13 07:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022096 -2.790903)'), GeomFromEWKT('SRID=4674;POINT (-40.022114 -2.790777)'))) / (select extract(epoch from '2026-07-13 07:39:18'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.022116 -2.790657)', '2026-07-13 07:39:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022114 -2.790777)'), GeomFromEWKT('SRID=4674;POINT (-40.022116 -2.790657)'))) / (select extract(epoch from '2026-07-13 07:39:24'::timestamp) - extract(epoch from '2026-07-13 07:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022114 -2.790777)'), GeomFromEWKT('SRID=4674;POINT (-40.022116 -2.790657)'))) / (select extract(epoch from '2026-07-13 07:39:24'::timestamp) - extract(epoch from '2026-07-13 07:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022087 -2.790554)', '2026-07-13 07:39:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022116 -2.790657)'), GeomFromEWKT('SRID=4674;POINT (-40.022087 -2.790554)'))) / (select extract(epoch from '2026-07-13 07:39:30'::timestamp) - extract(epoch from '2026-07-13 07:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022116 -2.790657)'), GeomFromEWKT('SRID=4674;POINT (-40.022087 -2.790554)'))) / (select extract(epoch from '2026-07-13 07:39:30'::timestamp) - extract(epoch from '2026-07-13 07:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022062 -2.790464)', '2026-07-13 07:39:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022087 -2.790554)'), GeomFromEWKT('SRID=4674;POINT (-40.022062 -2.790464)'))) / (select extract(epoch from '2026-07-13 07:39:37'::timestamp) - extract(epoch from '2026-07-13 07:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022087 -2.790554)'), GeomFromEWKT('SRID=4674;POINT (-40.022062 -2.790464)'))) / (select extract(epoch from '2026-07-13 07:39:37'::timestamp) - extract(epoch from '2026-07-13 07:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022061 -2.790455)', '2026-07-13 07:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022062 -2.790464)'), GeomFromEWKT('SRID=4674;POINT (-40.022061 -2.790455)'))) / (select extract(epoch from '2026-07-13 07:39:38'::timestamp) - extract(epoch from '2026-07-13 07:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022062 -2.790464)'), GeomFromEWKT('SRID=4674;POINT (-40.022061 -2.790455)'))) / (select extract(epoch from '2026-07-13 07:39:38'::timestamp) - extract(epoch from '2026-07-13 07:39: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'), 47628, 'SRID=4674;POINT (-40.022051 -2.790418)', '2026-07-13 07:39:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022061 -2.790455)'), GeomFromEWKT('SRID=4674;POINT (-40.022051 -2.790418)'))) / (select extract(epoch from '2026-07-13 07:39:42'::timestamp) - extract(epoch from '2026-07-13 07:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022061 -2.790455)'), GeomFromEWKT('SRID=4674;POINT (-40.022051 -2.790418)'))) / (select extract(epoch from '2026-07-13 07:39:42'::timestamp) - extract(epoch from '2026-07-13 07:39: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'), 47628, 'SRID=4674;POINT (-40.022046 -2.790408)', '2026-07-13 07:39:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022051 -2.790418)'), GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.790408)'))) / (select extract(epoch from '2026-07-13 07:39:43'::timestamp) - extract(epoch from '2026-07-13 07:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022051 -2.790418)'), GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.790408)'))) / (select extract(epoch from '2026-07-13 07:39:43'::timestamp) - extract(epoch from '2026-07-13 07:39: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'), 47628, 'SRID=4674;POINT (-40.022022 -2.790324)', '2026-07-13 07:39:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.790408)'), GeomFromEWKT('SRID=4674;POINT (-40.022022 -2.790324)'))) / (select extract(epoch from '2026-07-13 07:39:49'::timestamp) - extract(epoch from '2026-07-13 07:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.790408)'), GeomFromEWKT('SRID=4674;POINT (-40.022022 -2.790324)'))) / (select extract(epoch from '2026-07-13 07:39:49'::timestamp) - extract(epoch from '2026-07-13 07:39: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'), 47628, 'SRID=4674;POINT (-40.02202 -2.790306)', '2026-07-13 07:39:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022022 -2.790324)'), GeomFromEWKT('SRID=4674;POINT (-40.02202 -2.790306)'))) / (select extract(epoch from '2026-07-13 07:39:50'::timestamp) - extract(epoch from '2026-07-13 07:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022022 -2.790324)'), GeomFromEWKT('SRID=4674;POINT (-40.02202 -2.790306)'))) / (select extract(epoch from '2026-07-13 07:39:50'::timestamp) - extract(epoch from '2026-07-13 07:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02204 -2.790235)', '2026-07-13 07:39:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02202 -2.790306)'), GeomFromEWKT('SRID=4674;POINT (-40.02204 -2.790235)'))) / (select extract(epoch from '2026-07-13 07:39:54'::timestamp) - extract(epoch from '2026-07-13 07:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02202 -2.790306)'), GeomFromEWKT('SRID=4674;POINT (-40.02204 -2.790235)'))) / (select extract(epoch from '2026-07-13 07:39:54'::timestamp) - extract(epoch from '2026-07-13 07:39: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'), 47628, 'SRID=4674;POINT (-40.022121 -2.790131)', '2026-07-13 07:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02204 -2.790235)'), GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.790131)'))) / (select extract(epoch from '2026-07-13 07:40:00'::timestamp) - extract(epoch from '2026-07-13 07:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02204 -2.790235)'), GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.790131)'))) / (select extract(epoch from '2026-07-13 07:40:00'::timestamp) - extract(epoch from '2026-07-13 07:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022202 -2.790058)', '2026-07-13 07:40:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.790131)'), GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.790058)'))) / (select extract(epoch from '2026-07-13 07:40:05'::timestamp) - extract(epoch from '2026-07-13 07:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.790131)'), GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.790058)'))) / (select extract(epoch from '2026-07-13 07:40:05'::timestamp) - extract(epoch from '2026-07-13 07:40: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'), 47628, 'SRID=4674;POINT (-40.022306 -2.78997)', '2026-07-13 07:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.790058)'), GeomFromEWKT('SRID=4674;POINT (-40.022306 -2.78997)'))) / (select extract(epoch from '2026-07-13 07:40:11'::timestamp) - extract(epoch from '2026-07-13 07:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.790058)'), GeomFromEWKT('SRID=4674;POINT (-40.022306 -2.78997)'))) / (select extract(epoch from '2026-07-13 07:40:11'::timestamp) - extract(epoch from '2026-07-13 07:40: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'), 47628, 'SRID=4674;POINT (-40.022405 -2.78988)', '2026-07-13 07:40:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022306 -2.78997)'), GeomFromEWKT('SRID=4674;POINT (-40.022405 -2.78988)'))) / (select extract(epoch from '2026-07-13 07:40:17'::timestamp) - extract(epoch from '2026-07-13 07:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022306 -2.78997)'), GeomFromEWKT('SRID=4674;POINT (-40.022405 -2.78988)'))) / (select extract(epoch from '2026-07-13 07:40:17'::timestamp) - extract(epoch from '2026-07-13 07:40: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'), 47628, 'SRID=4674;POINT (-40.022489 -2.789755)', '2026-07-13 07:40:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022405 -2.78988)'), GeomFromEWKT('SRID=4674;POINT (-40.022489 -2.789755)'))) / (select extract(epoch from '2026-07-13 07:40:24'::timestamp) - extract(epoch from '2026-07-13 07:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022405 -2.78988)'), GeomFromEWKT('SRID=4674;POINT (-40.022489 -2.789755)'))) / (select extract(epoch from '2026-07-13 07:40:24'::timestamp) - extract(epoch from '2026-07-13 07:40: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'), 47628, 'SRID=4674;POINT (-40.022514 -2.789637)', '2026-07-13 07:40:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022489 -2.789755)'), GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.789637)'))) / (select extract(epoch from '2026-07-13 07:40:30'::timestamp) - extract(epoch from '2026-07-13 07:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022489 -2.789755)'), GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.789637)'))) / (select extract(epoch from '2026-07-13 07:40:30'::timestamp) - extract(epoch from '2026-07-13 07:40: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'), 47628, 'SRID=4674;POINT (-40.022542 -2.789496)', '2026-07-13 07:40:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.789637)'), GeomFromEWKT('SRID=4674;POINT (-40.022542 -2.789496)'))) / (select extract(epoch from '2026-07-13 07:40:37'::timestamp) - extract(epoch from '2026-07-13 07:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022514 -2.789637)'), GeomFromEWKT('SRID=4674;POINT (-40.022542 -2.789496)'))) / (select extract(epoch from '2026-07-13 07:40:37'::timestamp) - extract(epoch from '2026-07-13 07:40: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'), 47628, 'SRID=4674;POINT (-40.022573 -2.78935)', '2026-07-13 07:40:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022542 -2.789496)'), GeomFromEWKT('SRID=4674;POINT (-40.022573 -2.78935)'))) / (select extract(epoch from '2026-07-13 07:40:44'::timestamp) - extract(epoch from '2026-07-13 07:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022542 -2.789496)'), GeomFromEWKT('SRID=4674;POINT (-40.022573 -2.78935)'))) / (select extract(epoch from '2026-07-13 07:40:44'::timestamp) - extract(epoch from '2026-07-13 07:40: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'), 47628, 'SRID=4674;POINT (-40.022608 -2.789229)', '2026-07-13 07:40:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022573 -2.78935)'), GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.789229)'))) / (select extract(epoch from '2026-07-13 07:40:51'::timestamp) - extract(epoch from '2026-07-13 07:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022573 -2.78935)'), GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.789229)'))) / (select extract(epoch from '2026-07-13 07:40:51'::timestamp) - extract(epoch from '2026-07-13 07:40: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'), 47628, 'SRID=4674;POINT (-40.022643 -2.789123)', '2026-07-13 07:40:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.789229)'), GeomFromEWKT('SRID=4674;POINT (-40.022643 -2.789123)'))) / (select extract(epoch from '2026-07-13 07:40:58'::timestamp) - extract(epoch from '2026-07-13 07:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.789229)'), GeomFromEWKT('SRID=4674;POINT (-40.022643 -2.789123)'))) / (select extract(epoch from '2026-07-13 07:40:58'::timestamp) - extract(epoch from '2026-07-13 07:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022657 -2.789083)', '2026-07-13 07:41:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022643 -2.789123)'), GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.789083)'))) / (select extract(epoch from '2026-07-13 07:41:01'::timestamp) - extract(epoch from '2026-07-13 07:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022643 -2.789123)'), GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.789083)'))) / (select extract(epoch from '2026-07-13 07:41:01'::timestamp) - extract(epoch from '2026-07-13 07:40: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'), 47628, 'SRID=4674;POINT (-40.022667 -2.789046)', '2026-07-13 07:41:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.789083)'), GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.789046)'))) / (select extract(epoch from '2026-07-13 07:41:04'::timestamp) - extract(epoch from '2026-07-13 07:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.789083)'), GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.789046)'))) / (select extract(epoch from '2026-07-13 07:41:04'::timestamp) - extract(epoch from '2026-07-13 07:41: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'), 47628, 'SRID=4674;POINT (-40.022703 -2.788963)', '2026-07-13 07:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.789046)'), GeomFromEWKT('SRID=4674;POINT (-40.022703 -2.788963)'))) / (select extract(epoch from '2026-07-13 07:41:10'::timestamp) - extract(epoch from '2026-07-13 07:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.789046)'), GeomFromEWKT('SRID=4674;POINT (-40.022703 -2.788963)'))) / (select extract(epoch from '2026-07-13 07:41:10'::timestamp) - extract(epoch from '2026-07-13 07:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022698 -2.788865)', '2026-07-13 07:41:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022703 -2.788963)'), GeomFromEWKT('SRID=4674;POINT (-40.022698 -2.788865)'))) / (select extract(epoch from '2026-07-13 07:41:16'::timestamp) - extract(epoch from '2026-07-13 07:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022703 -2.788963)'), GeomFromEWKT('SRID=4674;POINT (-40.022698 -2.788865)'))) / (select extract(epoch from '2026-07-13 07:41:16'::timestamp) - extract(epoch from '2026-07-13 07:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022657 -2.788746)', '2026-07-13 07:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022698 -2.788865)'), GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.788746)'))) / (select extract(epoch from '2026-07-13 07:41:24'::timestamp) - extract(epoch from '2026-07-13 07:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022698 -2.788865)'), GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.788746)'))) / (select extract(epoch from '2026-07-13 07:41:24'::timestamp) - extract(epoch from '2026-07-13 07:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022611 -2.788655)', '2026-07-13 07:41:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.788746)'), GeomFromEWKT('SRID=4674;POINT (-40.022611 -2.788655)'))) / (select extract(epoch from '2026-07-13 07:41:30'::timestamp) - extract(epoch from '2026-07-13 07:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.788746)'), GeomFromEWKT('SRID=4674;POINT (-40.022611 -2.788655)'))) / (select extract(epoch from '2026-07-13 07:41:30'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.022568 -2.788551)', '2026-07-13 07:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022611 -2.788655)'), GeomFromEWKT('SRID=4674;POINT (-40.022568 -2.788551)'))) / (select extract(epoch from '2026-07-13 07:41:37'::timestamp) - extract(epoch from '2026-07-13 07:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022611 -2.788655)'), GeomFromEWKT('SRID=4674;POINT (-40.022568 -2.788551)'))) / (select extract(epoch from '2026-07-13 07:41:37'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.022535 -2.788473)', '2026-07-13 07:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022568 -2.788551)'), GeomFromEWKT('SRID=4674;POINT (-40.022535 -2.788473)'))) / (select extract(epoch from '2026-07-13 07:41:42'::timestamp) - extract(epoch from '2026-07-13 07:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022568 -2.788551)'), GeomFromEWKT('SRID=4674;POINT (-40.022535 -2.788473)'))) / (select extract(epoch from '2026-07-13 07:41:42'::timestamp) - extract(epoch from '2026-07-13 07:41: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'), 47628, 'SRID=4674;POINT (-40.02248 -2.788365)', '2026-07-13 07:41:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022535 -2.788473)'), GeomFromEWKT('SRID=4674;POINT (-40.02248 -2.788365)'))) / (select extract(epoch from '2026-07-13 07:41:50'::timestamp) - extract(epoch from '2026-07-13 07:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022535 -2.788473)'), GeomFromEWKT('SRID=4674;POINT (-40.02248 -2.788365)'))) / (select extract(epoch from '2026-07-13 07:41:50'::timestamp) - extract(epoch from '2026-07-13 07:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022472 -2.788353)', '2026-07-13 07:41:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02248 -2.788365)'), GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.788353)'))) / (select extract(epoch from '2026-07-13 07:41:51'::timestamp) - extract(epoch from '2026-07-13 07:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02248 -2.788365)'), GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.788353)'))) / (select extract(epoch from '2026-07-13 07:41:51'::timestamp) - extract(epoch from '2026-07-13 07:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022447 -2.788305)', '2026-07-13 07:41:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.788353)'), GeomFromEWKT('SRID=4674;POINT (-40.022447 -2.788305)'))) / (select extract(epoch from '2026-07-13 07:41:54'::timestamp) - extract(epoch from '2026-07-13 07:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.788353)'), GeomFromEWKT('SRID=4674;POINT (-40.022447 -2.788305)'))) / (select extract(epoch from '2026-07-13 07:41:54'::timestamp) - extract(epoch from '2026-07-13 07:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022389 -2.788206)', '2026-07-13 07:42:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022447 -2.788305)'), GeomFromEWKT('SRID=4674;POINT (-40.022389 -2.788206)'))) / (select extract(epoch from '2026-07-13 07:42:01'::timestamp) - extract(epoch from '2026-07-13 07:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022447 -2.788305)'), GeomFromEWKT('SRID=4674;POINT (-40.022389 -2.788206)'))) / (select extract(epoch from '2026-07-13 07:42:01'::timestamp) - extract(epoch from '2026-07-13 07:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022347 -2.788139)', '2026-07-13 07:42:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022389 -2.788206)'), GeomFromEWKT('SRID=4674;POINT (-40.022347 -2.788139)'))) / (select extract(epoch from '2026-07-13 07:42:06'::timestamp) - extract(epoch from '2026-07-13 07:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022389 -2.788206)'), GeomFromEWKT('SRID=4674;POINT (-40.022347 -2.788139)'))) / (select extract(epoch from '2026-07-13 07:42:06'::timestamp) - extract(epoch from '2026-07-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'), 47628, 'SRID=4674;POINT (-40.022298 -2.788065)', '2026-07-13 07:42:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022347 -2.788139)'), GeomFromEWKT('SRID=4674;POINT (-40.022298 -2.788065)'))) / (select extract(epoch from '2026-07-13 07:42:12'::timestamp) - extract(epoch from '2026-07-13 07:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022347 -2.788139)'), GeomFromEWKT('SRID=4674;POINT (-40.022298 -2.788065)'))) / (select extract(epoch from '2026-07-13 07:42:12'::timestamp) - extract(epoch from '2026-07-13 07:42:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02223 -2.787946)', '2026-07-13 07:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022298 -2.788065)'), GeomFromEWKT('SRID=4674;POINT (-40.02223 -2.787946)'))) / (select extract(epoch from '2026-07-13 07:42:20'::timestamp) - extract(epoch from '2026-07-13 07:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022298 -2.788065)'), GeomFromEWKT('SRID=4674;POINT (-40.02223 -2.787946)'))) / (select extract(epoch from '2026-07-13 07:42:20'::timestamp) - extract(epoch from '2026-07-13 07:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
