 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573555 -3.228955)', '2026-05-31 13:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573516 -3.228867)'), GeomFromEWKT('SRID=4674;POINT (-38.573555 -3.228955)'))) / (select extract(epoch from '2026-05-31 13:00:58'::timestamp) - extract(epoch from '2026-05-31 13:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573516 -3.228867)'), GeomFromEWKT('SRID=4674;POINT (-38.573555 -3.228955)'))) / (select extract(epoch from '2026-05-31 13:00:58'::timestamp) - extract(epoch from '2026-05-31 13:00: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'), 46535, 'SRID=4674;POINT (-38.573558 -3.228965)', '2026-05-31 13:00:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573555 -3.228955)'), GeomFromEWKT('SRID=4674;POINT (-38.573558 -3.228965)'))) / (select extract(epoch from '2026-05-31 13:00:59'::timestamp) - extract(epoch from '2026-05-31 13:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573555 -3.228955)'), GeomFromEWKT('SRID=4674;POINT (-38.573558 -3.228965)'))) / (select extract(epoch from '2026-05-31 13:00:59'::timestamp) - extract(epoch from '2026-05-31 13:00: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'), 46535, 'SRID=4674;POINT (-38.573579 -3.229016)', '2026-05-31 13:01:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573558 -3.228965)'), GeomFromEWKT('SRID=4674;POINT (-38.573579 -3.229016)'))) / (select extract(epoch from '2026-05-31 13:01:03'::timestamp) - extract(epoch from '2026-05-31 13:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573558 -3.228965)'), GeomFromEWKT('SRID=4674;POINT (-38.573579 -3.229016)'))) / (select extract(epoch from '2026-05-31 13:01:03'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573602 -3.229082)', '2026-05-31 13:01:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573579 -3.229016)'), GeomFromEWKT('SRID=4674;POINT (-38.573602 -3.229082)'))) / (select extract(epoch from '2026-05-31 13:01:09'::timestamp) - extract(epoch from '2026-05-31 13:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573579 -3.229016)'), GeomFromEWKT('SRID=4674;POINT (-38.573602 -3.229082)'))) / (select extract(epoch from '2026-05-31 13:01:09'::timestamp) - extract(epoch from '2026-05-31 13:01: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'), 46535, 'SRID=4674;POINT (-38.573618 -3.229122)', '2026-05-31 13:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573602 -3.229082)'), GeomFromEWKT('SRID=4674;POINT (-38.573618 -3.229122)'))) / (select extract(epoch from '2026-05-31 13:01:12'::timestamp) - extract(epoch from '2026-05-31 13:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573602 -3.229082)'), GeomFromEWKT('SRID=4674;POINT (-38.573618 -3.229122)'))) / (select extract(epoch from '2026-05-31 13:01:12'::timestamp) - extract(epoch from '2026-05-31 13:01: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'), 46535, 'SRID=4674;POINT (-38.573631 -3.229158)', '2026-05-31 13:01:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573618 -3.229122)'), GeomFromEWKT('SRID=4674;POINT (-38.573631 -3.229158)'))) / (select extract(epoch from '2026-05-31 13:01:15'::timestamp) - extract(epoch from '2026-05-31 13:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573618 -3.229122)'), GeomFromEWKT('SRID=4674;POINT (-38.573631 -3.229158)'))) / (select extract(epoch from '2026-05-31 13:01:15'::timestamp) - extract(epoch from '2026-05-31 13:01: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'), 46535, 'SRID=4674;POINT (-38.573652 -3.229226)', '2026-05-31 13:01:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573631 -3.229158)'), GeomFromEWKT('SRID=4674;POINT (-38.573652 -3.229226)'))) / (select extract(epoch from '2026-05-31 13:01:21'::timestamp) - extract(epoch from '2026-05-31 13:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573631 -3.229158)'), GeomFromEWKT('SRID=4674;POINT (-38.573652 -3.229226)'))) / (select extract(epoch from '2026-05-31 13:01:21'::timestamp) - extract(epoch from '2026-05-31 13:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573668 -3.229311)', '2026-05-31 13:01:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573652 -3.229226)'), GeomFromEWKT('SRID=4674;POINT (-38.573668 -3.229311)'))) / (select extract(epoch from '2026-05-31 13:01:28'::timestamp) - extract(epoch from '2026-05-31 13:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573652 -3.229226)'), GeomFromEWKT('SRID=4674;POINT (-38.573668 -3.229311)'))) / (select extract(epoch from '2026-05-31 13:01:28'::timestamp) - extract(epoch from '2026-05-31 13:01: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'), 46535, 'SRID=4674;POINT (-38.573692 -3.229397)', '2026-05-31 13:01:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573668 -3.229311)'), GeomFromEWKT('SRID=4674;POINT (-38.573692 -3.229397)'))) / (select extract(epoch from '2026-05-31 13:01:36'::timestamp) - extract(epoch from '2026-05-31 13:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573668 -3.229311)'), GeomFromEWKT('SRID=4674;POINT (-38.573692 -3.229397)'))) / (select extract(epoch from '2026-05-31 13:01:36'::timestamp) - extract(epoch from '2026-05-31 13:01: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'), 46535, 'SRID=4674;POINT (-38.573698 -3.229445)', '2026-05-31 13:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573692 -3.229397)'), GeomFromEWKT('SRID=4674;POINT (-38.573698 -3.229445)'))) / (select extract(epoch from '2026-05-31 13:01:40'::timestamp) - extract(epoch from '2026-05-31 13:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573692 -3.229397)'), GeomFromEWKT('SRID=4674;POINT (-38.573698 -3.229445)'))) / (select extract(epoch from '2026-05-31 13:01:40'::timestamp) - extract(epoch from '2026-05-31 13:01: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'), 46535, 'SRID=4674;POINT (-38.573703 -3.229465)', '2026-05-31 13:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573698 -3.229445)'), GeomFromEWKT('SRID=4674;POINT (-38.573703 -3.229465)'))) / (select extract(epoch from '2026-05-31 13:01:42'::timestamp) - extract(epoch from '2026-05-31 13:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573698 -3.229445)'), GeomFromEWKT('SRID=4674;POINT (-38.573703 -3.229465)'))) / (select extract(epoch from '2026-05-31 13:01:42'::timestamp) - extract(epoch from '2026-05-31 13:01: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'), 46535, 'SRID=4674;POINT (-38.573703 -3.229475)', '2026-05-31 13:01:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573703 -3.229465)'), GeomFromEWKT('SRID=4674;POINT (-38.573703 -3.229475)'))) / (select extract(epoch from '2026-05-31 13:01:43'::timestamp) - extract(epoch from '2026-05-31 13:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573703 -3.229465)'), GeomFromEWKT('SRID=4674;POINT (-38.573703 -3.229475)'))) / (select extract(epoch from '2026-05-31 13:01:43'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573712 -3.229541)', '2026-05-31 13:01:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573703 -3.229475)'), GeomFromEWKT('SRID=4674;POINT (-38.573712 -3.229541)'))) / (select extract(epoch from '2026-05-31 13:01:49'::timestamp) - extract(epoch from '2026-05-31 13:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573703 -3.229475)'), GeomFromEWKT('SRID=4674;POINT (-38.573712 -3.229541)'))) / (select extract(epoch from '2026-05-31 13:01:49'::timestamp) - extract(epoch from '2026-05-31 13:01: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'), 46535, 'SRID=4674;POINT (-38.573707 -3.22957)', '2026-05-31 13:01:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573712 -3.229541)'), GeomFromEWKT('SRID=4674;POINT (-38.573707 -3.22957)'))) / (select extract(epoch from '2026-05-31 13:01:52'::timestamp) - extract(epoch from '2026-05-31 13:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573712 -3.229541)'), GeomFromEWKT('SRID=4674;POINT (-38.573707 -3.22957)'))) / (select extract(epoch from '2026-05-31 13:01:52'::timestamp) - extract(epoch from '2026-05-31 13:01: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'), 46535, 'SRID=4674;POINT (-38.573722 -3.229599)', '2026-05-31 13:01:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573707 -3.22957)'), GeomFromEWKT('SRID=4674;POINT (-38.573722 -3.229599)'))) / (select extract(epoch from '2026-05-31 13:01:55'::timestamp) - extract(epoch from '2026-05-31 13:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573707 -3.22957)'), GeomFromEWKT('SRID=4674;POINT (-38.573722 -3.229599)'))) / (select extract(epoch from '2026-05-31 13:01:55'::timestamp) - extract(epoch from '2026-05-31 13:01: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'), 46535, 'SRID=4674;POINT (-38.573738 -3.229659)', '2026-05-31 13:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573722 -3.229599)'), GeomFromEWKT('SRID=4674;POINT (-38.573738 -3.229659)'))) / (select extract(epoch from '2026-05-31 13:02:02'::timestamp) - extract(epoch from '2026-05-31 13:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573722 -3.229599)'), GeomFromEWKT('SRID=4674;POINT (-38.573738 -3.229659)'))) / (select extract(epoch from '2026-05-31 13:02:02'::timestamp) - extract(epoch from '2026-05-31 13:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573748 -3.229689)', '2026-05-31 13:02:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573738 -3.229659)'), GeomFromEWKT('SRID=4674;POINT (-38.573748 -3.229689)'))) / (select extract(epoch from '2026-05-31 13:02:05'::timestamp) - extract(epoch from '2026-05-31 13:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573738 -3.229659)'), GeomFromEWKT('SRID=4674;POINT (-38.573748 -3.229689)'))) / (select extract(epoch from '2026-05-31 13:02:05'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.573749 -3.229719)', '2026-05-31 13:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573748 -3.229689)'), GeomFromEWKT('SRID=4674;POINT (-38.573749 -3.229719)'))) / (select extract(epoch from '2026-05-31 13:02:08'::timestamp) - extract(epoch from '2026-05-31 13:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573748 -3.229689)'), GeomFromEWKT('SRID=4674;POINT (-38.573749 -3.229719)'))) / (select extract(epoch from '2026-05-31 13:02:08'::timestamp) - extract(epoch from '2026-05-31 13:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573765 -3.229745)', '2026-05-31 13:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573749 -3.229719)'), GeomFromEWKT('SRID=4674;POINT (-38.573765 -3.229745)'))) / (select extract(epoch from '2026-05-31 13:02:11'::timestamp) - extract(epoch from '2026-05-31 13:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573749 -3.229719)'), GeomFromEWKT('SRID=4674;POINT (-38.573765 -3.229745)'))) / (select extract(epoch from '2026-05-31 13:02:11'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.57377 -3.229759)', '2026-05-31 13:02:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573765 -3.229745)'), GeomFromEWKT('SRID=4674;POINT (-38.57377 -3.229759)'))) / (select extract(epoch from '2026-05-31 13:02:13'::timestamp) - extract(epoch from '2026-05-31 13:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573765 -3.229745)'), GeomFromEWKT('SRID=4674;POINT (-38.57377 -3.229759)'))) / (select extract(epoch from '2026-05-31 13:02:13'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573775 -3.229779)', '2026-05-31 13:02:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57377 -3.229759)'), GeomFromEWKT('SRID=4674;POINT (-38.573775 -3.229779)'))) / (select extract(epoch from '2026-05-31 13:02:15'::timestamp) - extract(epoch from '2026-05-31 13:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57377 -3.229759)'), GeomFromEWKT('SRID=4674;POINT (-38.573775 -3.229779)'))) / (select extract(epoch from '2026-05-31 13:02:15'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.573792 -3.229816)', '2026-05-31 13:02:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573775 -3.229779)'), GeomFromEWKT('SRID=4674;POINT (-38.573792 -3.229816)'))) / (select extract(epoch from '2026-05-31 13:02:19'::timestamp) - extract(epoch from '2026-05-31 13:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573775 -3.229779)'), GeomFromEWKT('SRID=4674;POINT (-38.573792 -3.229816)'))) / (select extract(epoch from '2026-05-31 13:02:19'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.573796 -3.229823)', '2026-05-31 13:02:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573792 -3.229816)'), GeomFromEWKT('SRID=4674;POINT (-38.573796 -3.229823)'))) / (select extract(epoch from '2026-05-31 13:02:20'::timestamp) - extract(epoch from '2026-05-31 13:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573792 -3.229816)'), GeomFromEWKT('SRID=4674;POINT (-38.573796 -3.229823)'))) / (select extract(epoch from '2026-05-31 13:02:20'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.573801 -3.229854)', '2026-05-31 13:02:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573796 -3.229823)'), GeomFromEWKT('SRID=4674;POINT (-38.573801 -3.229854)'))) / (select extract(epoch from '2026-05-31 13:02:23'::timestamp) - extract(epoch from '2026-05-31 13:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573796 -3.229823)'), GeomFromEWKT('SRID=4674;POINT (-38.573801 -3.229854)'))) / (select extract(epoch from '2026-05-31 13:02:23'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.573809 -3.229874)', '2026-05-31 13:02:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573801 -3.229854)'), GeomFromEWKT('SRID=4674;POINT (-38.573809 -3.229874)'))) / (select extract(epoch from '2026-05-31 13:02:25'::timestamp) - extract(epoch from '2026-05-31 13:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573801 -3.229854)'), GeomFromEWKT('SRID=4674;POINT (-38.573809 -3.229874)'))) / (select extract(epoch from '2026-05-31 13:02:25'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.573822 -3.22993)', '2026-05-31 13:02:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573809 -3.229874)'), GeomFromEWKT('SRID=4674;POINT (-38.573822 -3.22993)'))) / (select extract(epoch from '2026-05-31 13:02:30'::timestamp) - extract(epoch from '2026-05-31 13:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573809 -3.229874)'), GeomFromEWKT('SRID=4674;POINT (-38.573822 -3.22993)'))) / (select extract(epoch from '2026-05-31 13:02:30'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.573821 -3.22994)', '2026-05-31 13:02:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573822 -3.22993)'), GeomFromEWKT('SRID=4674;POINT (-38.573821 -3.22994)'))) / (select extract(epoch from '2026-05-31 13:02:31'::timestamp) - extract(epoch from '2026-05-31 13:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573822 -3.22993)'), GeomFromEWKT('SRID=4674;POINT (-38.573821 -3.22994)'))) / (select extract(epoch from '2026-05-31 13:02:31'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.573823 -3.22995)', '2026-05-31 13:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573821 -3.22994)'), GeomFromEWKT('SRID=4674;POINT (-38.573823 -3.22995)'))) / (select extract(epoch from '2026-05-31 13:02:32'::timestamp) - extract(epoch from '2026-05-31 13:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573821 -3.22994)'), GeomFromEWKT('SRID=4674;POINT (-38.573823 -3.22995)'))) / (select extract(epoch from '2026-05-31 13:02:32'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.573835 -3.229983)', '2026-05-31 13:02:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573823 -3.22995)'), GeomFromEWKT('SRID=4674;POINT (-38.573835 -3.229983)'))) / (select extract(epoch from '2026-05-31 13:02:35'::timestamp) - extract(epoch from '2026-05-31 13:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573823 -3.22995)'), GeomFromEWKT('SRID=4674;POINT (-38.573835 -3.229983)'))) / (select extract(epoch from '2026-05-31 13:02:35'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.57384 -3.230004)', '2026-05-31 13:02:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573835 -3.229983)'), GeomFromEWKT('SRID=4674;POINT (-38.57384 -3.230004)'))) / (select extract(epoch from '2026-05-31 13:02:37'::timestamp) - extract(epoch from '2026-05-31 13:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573835 -3.229983)'), GeomFromEWKT('SRID=4674;POINT (-38.57384 -3.230004)'))) / (select extract(epoch from '2026-05-31 13:02:37'::timestamp) - extract(epoch from '2026-05-31 13:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573874 -3.230107)', '2026-05-31 13:02:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57384 -3.230004)'), GeomFromEWKT('SRID=4674;POINT (-38.573874 -3.230107)'))) / (select extract(epoch from '2026-05-31 13:02:47'::timestamp) - extract(epoch from '2026-05-31 13:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57384 -3.230004)'), GeomFromEWKT('SRID=4674;POINT (-38.573874 -3.230107)'))) / (select extract(epoch from '2026-05-31 13:02:47'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573901 -3.230187)', '2026-05-31 13:02:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573874 -3.230107)'), GeomFromEWKT('SRID=4674;POINT (-38.573901 -3.230187)'))) / (select extract(epoch from '2026-05-31 13:02:54'::timestamp) - extract(epoch from '2026-05-31 13:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573874 -3.230107)'), GeomFromEWKT('SRID=4674;POINT (-38.573901 -3.230187)'))) / (select extract(epoch from '2026-05-31 13:02:54'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.573919 -3.230266)', '2026-05-31 13:03:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573901 -3.230187)'), GeomFromEWKT('SRID=4674;POINT (-38.573919 -3.230266)'))) / (select extract(epoch from '2026-05-31 13:03:01'::timestamp) - extract(epoch from '2026-05-31 13:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573901 -3.230187)'), GeomFromEWKT('SRID=4674;POINT (-38.573919 -3.230266)'))) / (select extract(epoch from '2026-05-31 13:03:01'::timestamp) - extract(epoch from '2026-05-31 13:02: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'), 46535, 'SRID=4674;POINT (-38.573922 -3.230354)', '2026-05-31 13:03:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573919 -3.230266)'), GeomFromEWKT('SRID=4674;POINT (-38.573922 -3.230354)'))) / (select extract(epoch from '2026-05-31 13:03:08'::timestamp) - extract(epoch from '2026-05-31 13:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573919 -3.230266)'), GeomFromEWKT('SRID=4674;POINT (-38.573922 -3.230354)'))) / (select extract(epoch from '2026-05-31 13:03:08'::timestamp) - extract(epoch from '2026-05-31 13:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573934 -3.230428)', '2026-05-31 13:03:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573922 -3.230354)'), GeomFromEWKT('SRID=4674;POINT (-38.573934 -3.230428)'))) / (select extract(epoch from '2026-05-31 13:03:15'::timestamp) - extract(epoch from '2026-05-31 13:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573922 -3.230354)'), GeomFromEWKT('SRID=4674;POINT (-38.573934 -3.230428)'))) / (select extract(epoch from '2026-05-31 13:03:15'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573954 -3.23052)', '2026-05-31 13:03:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573934 -3.230428)'), GeomFromEWKT('SRID=4674;POINT (-38.573954 -3.23052)'))) / (select extract(epoch from '2026-05-31 13:03:23'::timestamp) - extract(epoch from '2026-05-31 13:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573934 -3.230428)'), GeomFromEWKT('SRID=4674;POINT (-38.573954 -3.23052)'))) / (select extract(epoch from '2026-05-31 13:03:23'::timestamp) - extract(epoch from '2026-05-31 13:03: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'), 46535, 'SRID=4674;POINT (-38.573964 -3.230591)', '2026-05-31 13:03:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573954 -3.23052)'), GeomFromEWKT('SRID=4674;POINT (-38.573964 -3.230591)'))) / (select extract(epoch from '2026-05-31 13:03:30'::timestamp) - extract(epoch from '2026-05-31 13:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573954 -3.23052)'), GeomFromEWKT('SRID=4674;POINT (-38.573964 -3.230591)'))) / (select extract(epoch from '2026-05-31 13:03:30'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573972 -3.230657)', '2026-05-31 13:03:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573964 -3.230591)'), GeomFromEWKT('SRID=4674;POINT (-38.573972 -3.230657)'))) / (select extract(epoch from '2026-05-31 13:03:37'::timestamp) - extract(epoch from '2026-05-31 13:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573964 -3.230591)'), GeomFromEWKT('SRID=4674;POINT (-38.573972 -3.230657)'))) / (select extract(epoch from '2026-05-31 13:03:37'::timestamp) - extract(epoch from '2026-05-31 13:03: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'), 46535, 'SRID=4674;POINT (-38.573986 -3.230727)', '2026-05-31 13:03:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573972 -3.230657)'), GeomFromEWKT('SRID=4674;POINT (-38.573986 -3.230727)'))) / (select extract(epoch from '2026-05-31 13:03:45'::timestamp) - extract(epoch from '2026-05-31 13:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573972 -3.230657)'), GeomFromEWKT('SRID=4674;POINT (-38.573986 -3.230727)'))) / (select extract(epoch from '2026-05-31 13:03:45'::timestamp) - extract(epoch from '2026-05-31 13:03: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'), 46535, 'SRID=4674;POINT (-38.573985 -3.230739)', '2026-05-31 13:03:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573986 -3.230727)'), GeomFromEWKT('SRID=4674;POINT (-38.573985 -3.230739)'))) / (select extract(epoch from '2026-05-31 13:03:46'::timestamp) - extract(epoch from '2026-05-31 13:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573986 -3.230727)'), GeomFromEWKT('SRID=4674;POINT (-38.573985 -3.230739)'))) / (select extract(epoch from '2026-05-31 13:03:46'::timestamp) - extract(epoch from '2026-05-31 13:03:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573999 -3.230812)', '2026-05-31 13:03:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573985 -3.230739)'), GeomFromEWKT('SRID=4674;POINT (-38.573999 -3.230812)'))) / (select extract(epoch from '2026-05-31 13:03:52'::timestamp) - extract(epoch from '2026-05-31 13:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573985 -3.230739)'), GeomFromEWKT('SRID=4674;POINT (-38.573999 -3.230812)'))) / (select extract(epoch from '2026-05-31 13:03:52'::timestamp) - extract(epoch from '2026-05-31 13:03: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'), 46535, 'SRID=4674;POINT (-38.574017 -3.230903)', '2026-05-31 13:04:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573999 -3.230812)'), GeomFromEWKT('SRID=4674;POINT (-38.574017 -3.230903)'))) / (select extract(epoch from '2026-05-31 13:04:00'::timestamp) - extract(epoch from '2026-05-31 13:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573999 -3.230812)'), GeomFromEWKT('SRID=4674;POINT (-38.574017 -3.230903)'))) / (select extract(epoch from '2026-05-31 13:04:00'::timestamp) - extract(epoch from '2026-05-31 13:03: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'), 46535, 'SRID=4674;POINT (-38.574018 -3.230928)', '2026-05-31 13:04:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574017 -3.230903)'), GeomFromEWKT('SRID=4674;POINT (-38.574018 -3.230928)'))) / (select extract(epoch from '2026-05-31 13:04:02'::timestamp) - extract(epoch from '2026-05-31 13:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574017 -3.230903)'), GeomFromEWKT('SRID=4674;POINT (-38.574018 -3.230928)'))) / (select extract(epoch from '2026-05-31 13:04:02'::timestamp) - extract(epoch from '2026-05-31 13:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574032 -3.23096)', '2026-05-31 13:04:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574018 -3.230928)'), GeomFromEWKT('SRID=4674;POINT (-38.574032 -3.23096)'))) / (select extract(epoch from '2026-05-31 13:04:05'::timestamp) - extract(epoch from '2026-05-31 13:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574018 -3.230928)'), GeomFromEWKT('SRID=4674;POINT (-38.574032 -3.23096)'))) / (select extract(epoch from '2026-05-31 13:04:05'::timestamp) - extract(epoch from '2026-05-31 13:04: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'), 46535, 'SRID=4674;POINT (-38.574032 -3.230969)', '2026-05-31 13:04:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574032 -3.23096)'), GeomFromEWKT('SRID=4674;POINT (-38.574032 -3.230969)'))) / (select extract(epoch from '2026-05-31 13:04:06'::timestamp) - extract(epoch from '2026-05-31 13:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574032 -3.23096)'), GeomFromEWKT('SRID=4674;POINT (-38.574032 -3.230969)'))) / (select extract(epoch from '2026-05-31 13:04:06'::timestamp) - extract(epoch from '2026-05-31 13:04: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'), 46535, 'SRID=4674;POINT (-38.574054 -3.231016)', '2026-05-31 13:04:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574032 -3.230969)'), GeomFromEWKT('SRID=4674;POINT (-38.574054 -3.231016)'))) / (select extract(epoch from '2026-05-31 13:04:13'::timestamp) - extract(epoch from '2026-05-31 13:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574032 -3.230969)'), GeomFromEWKT('SRID=4674;POINT (-38.574054 -3.231016)'))) / (select extract(epoch from '2026-05-31 13:04:13'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574062 -3.231064)', '2026-05-31 13:04:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574054 -3.231016)'), GeomFromEWKT('SRID=4674;POINT (-38.574062 -3.231064)'))) / (select extract(epoch from '2026-05-31 13:04:19'::timestamp) - extract(epoch from '2026-05-31 13:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574054 -3.231016)'), GeomFromEWKT('SRID=4674;POINT (-38.574062 -3.231064)'))) / (select extract(epoch from '2026-05-31 13:04:19'::timestamp) - extract(epoch from '2026-05-31 13:04: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'), 46535, 'SRID=4674;POINT (-38.574083 -3.231113)', '2026-05-31 13:04:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574062 -3.231064)'), GeomFromEWKT('SRID=4674;POINT (-38.574083 -3.231113)'))) / (select extract(epoch from '2026-05-31 13:04:28'::timestamp) - extract(epoch from '2026-05-31 13:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574062 -3.231064)'), GeomFromEWKT('SRID=4674;POINT (-38.574083 -3.231113)'))) / (select extract(epoch from '2026-05-31 13:04:28'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574134 -3.231165)', '2026-05-31 13:04:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574083 -3.231113)'), GeomFromEWKT('SRID=4674;POINT (-38.574134 -3.231165)'))) / (select extract(epoch from '2026-05-31 13:04:38'::timestamp) - extract(epoch from '2026-05-31 13:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574083 -3.231113)'), GeomFromEWKT('SRID=4674;POINT (-38.574134 -3.231165)'))) / (select extract(epoch from '2026-05-31 13:04:38'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574158 -3.231205)', '2026-05-31 13:04:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574134 -3.231165)'), GeomFromEWKT('SRID=4674;POINT (-38.574158 -3.231205)'))) / (select extract(epoch from '2026-05-31 13:04:43'::timestamp) - extract(epoch from '2026-05-31 13:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574134 -3.231165)'), GeomFromEWKT('SRID=4674;POINT (-38.574158 -3.231205)'))) / (select extract(epoch from '2026-05-31 13:04:43'::timestamp) - extract(epoch from '2026-05-31 13:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574177 -3.231235)', '2026-05-31 13:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574158 -3.231205)'), GeomFromEWKT('SRID=4674;POINT (-38.574177 -3.231235)'))) / (select extract(epoch from '2026-05-31 13:04:46'::timestamp) - extract(epoch from '2026-05-31 13:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574158 -3.231205)'), GeomFromEWKT('SRID=4674;POINT (-38.574177 -3.231235)'))) / (select extract(epoch from '2026-05-31 13:04:46'::timestamp) - extract(epoch from '2026-05-31 13:04: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'), 46535, 'SRID=4674;POINT (-38.574202 -3.231268)', '2026-05-31 13:04:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574177 -3.231235)'), GeomFromEWKT('SRID=4674;POINT (-38.574202 -3.231268)'))) / (select extract(epoch from '2026-05-31 13:04:50'::timestamp) - extract(epoch from '2026-05-31 13:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574177 -3.231235)'), GeomFromEWKT('SRID=4674;POINT (-38.574202 -3.231268)'))) / (select extract(epoch from '2026-05-31 13:04:50'::timestamp) - extract(epoch from '2026-05-31 13:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574228 -3.231296)', '2026-05-31 13:04:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574202 -3.231268)'), GeomFromEWKT('SRID=4674;POINT (-38.574228 -3.231296)'))) / (select extract(epoch from '2026-05-31 13:04:53'::timestamp) - extract(epoch from '2026-05-31 13:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574202 -3.231268)'), GeomFromEWKT('SRID=4674;POINT (-38.574228 -3.231296)'))) / (select extract(epoch from '2026-05-31 13:04:53'::timestamp) - extract(epoch from '2026-05-31 13:04: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'), 46535, 'SRID=4674;POINT (-38.574253 -3.231342)', '2026-05-31 13:04:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574228 -3.231296)'), GeomFromEWKT('SRID=4674;POINT (-38.574253 -3.231342)'))) / (select extract(epoch from '2026-05-31 13:04:57'::timestamp) - extract(epoch from '2026-05-31 13:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574228 -3.231296)'), GeomFromEWKT('SRID=4674;POINT (-38.574253 -3.231342)'))) / (select extract(epoch from '2026-05-31 13:04:57'::timestamp) - extract(epoch from '2026-05-31 13:04: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'), 46535, 'SRID=4674;POINT (-38.574299 -3.231433)', '2026-05-31 13:05:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574253 -3.231342)'), GeomFromEWKT('SRID=4674;POINT (-38.574299 -3.231433)'))) / (select extract(epoch from '2026-05-31 13:05:06'::timestamp) - extract(epoch from '2026-05-31 13:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574253 -3.231342)'), GeomFromEWKT('SRID=4674;POINT (-38.574299 -3.231433)'))) / (select extract(epoch from '2026-05-31 13:05:06'::timestamp) - extract(epoch from '2026-05-31 13:04: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'), 46535, 'SRID=4674;POINT (-38.574325 -3.231524)', '2026-05-31 13:05:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574299 -3.231433)'), GeomFromEWKT('SRID=4674;POINT (-38.574325 -3.231524)'))) / (select extract(epoch from '2026-05-31 13:05:13'::timestamp) - extract(epoch from '2026-05-31 13:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574299 -3.231433)'), GeomFromEWKT('SRID=4674;POINT (-38.574325 -3.231524)'))) / (select extract(epoch from '2026-05-31 13:05:13'::timestamp) - extract(epoch from '2026-05-31 13:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574336 -3.23157)', '2026-05-31 13:05:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574325 -3.231524)'), GeomFromEWKT('SRID=4674;POINT (-38.574336 -3.23157)'))) / (select extract(epoch from '2026-05-31 13:05:18'::timestamp) - extract(epoch from '2026-05-31 13:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574325 -3.231524)'), GeomFromEWKT('SRID=4674;POINT (-38.574336 -3.23157)'))) / (select extract(epoch from '2026-05-31 13:05:18'::timestamp) - extract(epoch from '2026-05-31 13:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574335 -3.231581)', '2026-05-31 13:05:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574336 -3.23157)'), GeomFromEWKT('SRID=4674;POINT (-38.574335 -3.231581)'))) / (select extract(epoch from '2026-05-31 13:05:19'::timestamp) - extract(epoch from '2026-05-31 13:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574336 -3.23157)'), GeomFromEWKT('SRID=4674;POINT (-38.574335 -3.231581)'))) / (select extract(epoch from '2026-05-31 13:05:19'::timestamp) - extract(epoch from '2026-05-31 13:05: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'), 46535, 'SRID=4674;POINT (-38.574336 -3.231653)', '2026-05-31 13:05:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574335 -3.231581)'), GeomFromEWKT('SRID=4674;POINT (-38.574336 -3.231653)'))) / (select extract(epoch from '2026-05-31 13:05:25'::timestamp) - extract(epoch from '2026-05-31 13:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574335 -3.231581)'), GeomFromEWKT('SRID=4674;POINT (-38.574336 -3.231653)'))) / (select extract(epoch from '2026-05-31 13:05:25'::timestamp) - extract(epoch from '2026-05-31 13:05: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'), 46535, 'SRID=4674;POINT (-38.574344 -3.231729)', '2026-05-31 13:05:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574336 -3.231653)'), GeomFromEWKT('SRID=4674;POINT (-38.574344 -3.231729)'))) / (select extract(epoch from '2026-05-31 13:05:33'::timestamp) - extract(epoch from '2026-05-31 13:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574336 -3.231653)'), GeomFromEWKT('SRID=4674;POINT (-38.574344 -3.231729)'))) / (select extract(epoch from '2026-05-31 13:05:33'::timestamp) - extract(epoch from '2026-05-31 13:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574356 -3.231801)', '2026-05-31 13:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574344 -3.231729)'), GeomFromEWKT('SRID=4674;POINT (-38.574356 -3.231801)'))) / (select extract(epoch from '2026-05-31 13:05:42'::timestamp) - extract(epoch from '2026-05-31 13:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574344 -3.231729)'), GeomFromEWKT('SRID=4674;POINT (-38.574356 -3.231801)'))) / (select extract(epoch from '2026-05-31 13:05:42'::timestamp) - extract(epoch from '2026-05-31 13:05: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'), 46535, 'SRID=4674;POINT (-38.574375 -3.231856)', '2026-05-31 13:05:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574356 -3.231801)'), GeomFromEWKT('SRID=4674;POINT (-38.574375 -3.231856)'))) / (select extract(epoch from '2026-05-31 13:05:49'::timestamp) - extract(epoch from '2026-05-31 13:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574356 -3.231801)'), GeomFromEWKT('SRID=4674;POINT (-38.574375 -3.231856)'))) / (select extract(epoch from '2026-05-31 13:05:49'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574377 -3.231866)', '2026-05-31 13:05:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574375 -3.231856)'), GeomFromEWKT('SRID=4674;POINT (-38.574377 -3.231866)'))) / (select extract(epoch from '2026-05-31 13:05:50'::timestamp) - extract(epoch from '2026-05-31 13:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574375 -3.231856)'), GeomFromEWKT('SRID=4674;POINT (-38.574377 -3.231866)'))) / (select extract(epoch from '2026-05-31 13:05:50'::timestamp) - extract(epoch from '2026-05-31 13:05: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'), 46535, 'SRID=4674;POINT (-38.57439 -3.23192)', '2026-05-31 13:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574377 -3.231866)'), GeomFromEWKT('SRID=4674;POINT (-38.57439 -3.23192)'))) / (select extract(epoch from '2026-05-31 13:05:55'::timestamp) - extract(epoch from '2026-05-31 13:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574377 -3.231866)'), GeomFromEWKT('SRID=4674;POINT (-38.57439 -3.23192)'))) / (select extract(epoch from '2026-05-31 13:05:55'::timestamp) - extract(epoch from '2026-05-31 13:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574388 -3.231937)', '2026-05-31 13:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57439 -3.23192)'), GeomFromEWKT('SRID=4674;POINT (-38.574388 -3.231937)'))) / (select extract(epoch from '2026-05-31 13:05:57'::timestamp) - extract(epoch from '2026-05-31 13:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57439 -3.23192)'), GeomFromEWKT('SRID=4674;POINT (-38.574388 -3.231937)'))) / (select extract(epoch from '2026-05-31 13:05:57'::timestamp) - extract(epoch from '2026-05-31 13:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574387 -3.231981)', '2026-05-31 13:06:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574388 -3.231937)'), GeomFromEWKT('SRID=4674;POINT (-38.574387 -3.231981)'))) / (select extract(epoch from '2026-05-31 13:06:01'::timestamp) - extract(epoch from '2026-05-31 13:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574388 -3.231937)'), GeomFromEWKT('SRID=4674;POINT (-38.574387 -3.231981)'))) / (select extract(epoch from '2026-05-31 13:06:01'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574391 -3.232007)', '2026-05-31 13:06:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574387 -3.231981)'), GeomFromEWKT('SRID=4674;POINT (-38.574391 -3.232007)'))) / (select extract(epoch from '2026-05-31 13:06:03'::timestamp) - extract(epoch from '2026-05-31 13:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574387 -3.231981)'), GeomFromEWKT('SRID=4674;POINT (-38.574391 -3.232007)'))) / (select extract(epoch from '2026-05-31 13:06:03'::timestamp) - extract(epoch from '2026-05-31 13:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574393 -3.232026)', '2026-05-31 13:06:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574391 -3.232007)'), GeomFromEWKT('SRID=4674;POINT (-38.574393 -3.232026)'))) / (select extract(epoch from '2026-05-31 13:06:06'::timestamp) - extract(epoch from '2026-05-31 13:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574391 -3.232007)'), GeomFromEWKT('SRID=4674;POINT (-38.574393 -3.232026)'))) / (select extract(epoch from '2026-05-31 13:06:06'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574396 -3.23205)', '2026-05-31 13:06:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574393 -3.232026)'), GeomFromEWKT('SRID=4674;POINT (-38.574396 -3.23205)'))) / (select extract(epoch from '2026-05-31 13:06:09'::timestamp) - extract(epoch from '2026-05-31 13:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574393 -3.232026)'), GeomFromEWKT('SRID=4674;POINT (-38.574396 -3.23205)'))) / (select extract(epoch from '2026-05-31 13:06:09'::timestamp) - extract(epoch from '2026-05-31 13:06: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'), 46535, 'SRID=4674;POINT (-38.574406 -3.232072)', '2026-05-31 13:06:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574396 -3.23205)'), GeomFromEWKT('SRID=4674;POINT (-38.574406 -3.232072)'))) / (select extract(epoch from '2026-05-31 13:06:12'::timestamp) - extract(epoch from '2026-05-31 13:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574396 -3.23205)'), GeomFromEWKT('SRID=4674;POINT (-38.574406 -3.232072)'))) / (select extract(epoch from '2026-05-31 13:06:12'::timestamp) - extract(epoch from '2026-05-31 13:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574401 -3.232086)', '2026-05-31 13:06:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574406 -3.232072)'), GeomFromEWKT('SRID=4674;POINT (-38.574401 -3.232086)'))) / (select extract(epoch from '2026-05-31 13:06:14'::timestamp) - extract(epoch from '2026-05-31 13:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574406 -3.232072)'), GeomFromEWKT('SRID=4674;POINT (-38.574401 -3.232086)'))) / (select extract(epoch from '2026-05-31 13:06:14'::timestamp) - extract(epoch from '2026-05-31 13:06: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'), 46535, 'SRID=4674;POINT (-38.574414 -3.232141)', '2026-05-31 13:06:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574401 -3.232086)'), GeomFromEWKT('SRID=4674;POINT (-38.574414 -3.232141)'))) / (select extract(epoch from '2026-05-31 13:06:19'::timestamp) - extract(epoch from '2026-05-31 13:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574401 -3.232086)'), GeomFromEWKT('SRID=4674;POINT (-38.574414 -3.232141)'))) / (select extract(epoch from '2026-05-31 13:06:19'::timestamp) - extract(epoch from '2026-05-31 13:06: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'), 46535, 'SRID=4674;POINT (-38.574414 -3.23216)', '2026-05-31 13:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574414 -3.232141)'), GeomFromEWKT('SRID=4674;POINT (-38.574414 -3.23216)'))) / (select extract(epoch from '2026-05-31 13:06:21'::timestamp) - extract(epoch from '2026-05-31 13:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574414 -3.232141)'), GeomFromEWKT('SRID=4674;POINT (-38.574414 -3.23216)'))) / (select extract(epoch from '2026-05-31 13:06:21'::timestamp) - extract(epoch from '2026-05-31 13:06: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'), 46535, 'SRID=4674;POINT (-38.574416 -3.232203)', '2026-05-31 13:06:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574414 -3.23216)'), GeomFromEWKT('SRID=4674;POINT (-38.574416 -3.232203)'))) / (select extract(epoch from '2026-05-31 13:06:25'::timestamp) - extract(epoch from '2026-05-31 13:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574414 -3.23216)'), GeomFromEWKT('SRID=4674;POINT (-38.574416 -3.232203)'))) / (select extract(epoch from '2026-05-31 13:06:25'::timestamp) - extract(epoch from '2026-05-31 13:06: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'), 46535, 'SRID=4674;POINT (-38.574412 -3.232291)', '2026-05-31 13:06:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574416 -3.232203)'), GeomFromEWKT('SRID=4674;POINT (-38.574412 -3.232291)'))) / (select extract(epoch from '2026-05-31 13:06:33'::timestamp) - extract(epoch from '2026-05-31 13:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574416 -3.232203)'), GeomFromEWKT('SRID=4674;POINT (-38.574412 -3.232291)'))) / (select extract(epoch from '2026-05-31 13:06:33'::timestamp) - extract(epoch from '2026-05-31 13:06: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'), 46535, 'SRID=4674;POINT (-38.574413 -3.232312)', '2026-05-31 13:06:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574412 -3.232291)'), GeomFromEWKT('SRID=4674;POINT (-38.574413 -3.232312)'))) / (select extract(epoch from '2026-05-31 13:06:35'::timestamp) - extract(epoch from '2026-05-31 13:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574412 -3.232291)'), GeomFromEWKT('SRID=4674;POINT (-38.574413 -3.232312)'))) / (select extract(epoch from '2026-05-31 13:06:35'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574416 -3.232346)', '2026-05-31 13:06:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574413 -3.232312)'), GeomFromEWKT('SRID=4674;POINT (-38.574416 -3.232346)'))) / (select extract(epoch from '2026-05-31 13:06:39'::timestamp) - extract(epoch from '2026-05-31 13:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574413 -3.232312)'), GeomFromEWKT('SRID=4674;POINT (-38.574416 -3.232346)'))) / (select extract(epoch from '2026-05-31 13:06:39'::timestamp) - extract(epoch from '2026-05-31 13:06: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'), 46535, 'SRID=4674;POINT (-38.574419 -3.232389)', '2026-05-31 13:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574416 -3.232346)'), GeomFromEWKT('SRID=4674;POINT (-38.574419 -3.232389)'))) / (select extract(epoch from '2026-05-31 13:06:44'::timestamp) - extract(epoch from '2026-05-31 13:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574416 -3.232346)'), GeomFromEWKT('SRID=4674;POINT (-38.574419 -3.232389)'))) / (select extract(epoch from '2026-05-31 13:06:44'::timestamp) - extract(epoch from '2026-05-31 13:06:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574418 -3.2324)', '2026-05-31 13:06:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574419 -3.232389)'), GeomFromEWKT('SRID=4674;POINT (-38.574418 -3.2324)'))) / (select extract(epoch from '2026-05-31 13:06:45'::timestamp) - extract(epoch from '2026-05-31 13:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574419 -3.232389)'), GeomFromEWKT('SRID=4674;POINT (-38.574418 -3.2324)'))) / (select extract(epoch from '2026-05-31 13:06:45'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.57441 -3.232472)', '2026-05-31 13:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574418 -3.2324)'), GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.232472)'))) / (select extract(epoch from '2026-05-31 13:06:52'::timestamp) - extract(epoch from '2026-05-31 13:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574418 -3.2324)'), GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.232472)'))) / (select extract(epoch from '2026-05-31 13:06:52'::timestamp) - extract(epoch from '2026-05-31 13:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574398 -3.232538)', '2026-05-31 13:06:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.232472)'), GeomFromEWKT('SRID=4674;POINT (-38.574398 -3.232538)'))) / (select extract(epoch from '2026-05-31 13:06:58'::timestamp) - extract(epoch from '2026-05-31 13:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.232472)'), GeomFromEWKT('SRID=4674;POINT (-38.574398 -3.232538)'))) / (select extract(epoch from '2026-05-31 13:06:58'::timestamp) - extract(epoch from '2026-05-31 13:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574398 -3.232547)', '2026-05-31 13:06:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574398 -3.232538)'), GeomFromEWKT('SRID=4674;POINT (-38.574398 -3.232547)'))) / (select extract(epoch from '2026-05-31 13:06:59'::timestamp) - extract(epoch from '2026-05-31 13:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574398 -3.232538)'), GeomFromEWKT('SRID=4674;POINT (-38.574398 -3.232547)'))) / (select extract(epoch from '2026-05-31 13:06:59'::timestamp) - extract(epoch from '2026-05-31 13:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574392 -3.232601)', '2026-05-31 13:07:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574398 -3.232547)'), GeomFromEWKT('SRID=4674;POINT (-38.574392 -3.232601)'))) / (select extract(epoch from '2026-05-31 13:07:04'::timestamp) - extract(epoch from '2026-05-31 13:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574398 -3.232547)'), GeomFromEWKT('SRID=4674;POINT (-38.574392 -3.232601)'))) / (select extract(epoch from '2026-05-31 13:07:04'::timestamp) - extract(epoch from '2026-05-31 13:06: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'), 46535, 'SRID=4674;POINT (-38.574387 -3.232613)', '2026-05-31 13:07:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574392 -3.232601)'), GeomFromEWKT('SRID=4674;POINT (-38.574387 -3.232613)'))) / (select extract(epoch from '2026-05-31 13:07:05'::timestamp) - extract(epoch from '2026-05-31 13:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574392 -3.232601)'), GeomFromEWKT('SRID=4674;POINT (-38.574387 -3.232613)'))) / (select extract(epoch from '2026-05-31 13:07:05'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.574363 -3.232691)', '2026-05-31 13:07:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574387 -3.232613)'), GeomFromEWKT('SRID=4674;POINT (-38.574363 -3.232691)'))) / (select extract(epoch from '2026-05-31 13:07:12'::timestamp) - extract(epoch from '2026-05-31 13:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574387 -3.232613)'), GeomFromEWKT('SRID=4674;POINT (-38.574363 -3.232691)'))) / (select extract(epoch from '2026-05-31 13:07:12'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574343 -3.232769)', '2026-05-31 13:07:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574363 -3.232691)'), GeomFromEWKT('SRID=4674;POINT (-38.574343 -3.232769)'))) / (select extract(epoch from '2026-05-31 13:07:19'::timestamp) - extract(epoch from '2026-05-31 13:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574363 -3.232691)'), GeomFromEWKT('SRID=4674;POINT (-38.574343 -3.232769)'))) / (select extract(epoch from '2026-05-31 13:07:19'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.574332 -3.232826)', '2026-05-31 13:07:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574343 -3.232769)'), GeomFromEWKT('SRID=4674;POINT (-38.574332 -3.232826)'))) / (select extract(epoch from '2026-05-31 13:07:25'::timestamp) - extract(epoch from '2026-05-31 13:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574343 -3.232769)'), GeomFromEWKT('SRID=4674;POINT (-38.574332 -3.232826)'))) / (select extract(epoch from '2026-05-31 13:07:25'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.574319 -3.232895)', '2026-05-31 13:07:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574332 -3.232826)'), GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.232895)'))) / (select extract(epoch from '2026-05-31 13:07:32'::timestamp) - extract(epoch from '2026-05-31 13:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574332 -3.232826)'), GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.232895)'))) / (select extract(epoch from '2026-05-31 13:07:32'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.574303 -3.232971)', '2026-05-31 13:07:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.232895)'), GeomFromEWKT('SRID=4674;POINT (-38.574303 -3.232971)'))) / (select extract(epoch from '2026-05-31 13:07:39'::timestamp) - extract(epoch from '2026-05-31 13:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.232895)'), GeomFromEWKT('SRID=4674;POINT (-38.574303 -3.232971)'))) / (select extract(epoch from '2026-05-31 13:07:39'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.574302 -3.232982)', '2026-05-31 13:07:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574303 -3.232971)'), GeomFromEWKT('SRID=4674;POINT (-38.574302 -3.232982)'))) / (select extract(epoch from '2026-05-31 13:07:40'::timestamp) - extract(epoch from '2026-05-31 13:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574303 -3.232971)'), GeomFromEWKT('SRID=4674;POINT (-38.574302 -3.232982)'))) / (select extract(epoch from '2026-05-31 13:07:40'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.574299 -3.23302)', '2026-05-31 13:07:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574302 -3.232982)'), GeomFromEWKT('SRID=4674;POINT (-38.574299 -3.23302)'))) / (select extract(epoch from '2026-05-31 13:07:43'::timestamp) - extract(epoch from '2026-05-31 13:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574302 -3.232982)'), GeomFromEWKT('SRID=4674;POINT (-38.574299 -3.23302)'))) / (select extract(epoch from '2026-05-31 13:07:43'::timestamp) - extract(epoch from '2026-05-31 13:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574296 -3.233041)', '2026-05-31 13:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574299 -3.23302)'), GeomFromEWKT('SRID=4674;POINT (-38.574296 -3.233041)'))) / (select extract(epoch from '2026-05-31 13:07:45'::timestamp) - extract(epoch from '2026-05-31 13:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574299 -3.23302)'), GeomFromEWKT('SRID=4674;POINT (-38.574296 -3.233041)'))) / (select extract(epoch from '2026-05-31 13:07:45'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.574285 -3.233101)', '2026-05-31 13:07:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574296 -3.233041)'), GeomFromEWKT('SRID=4674;POINT (-38.574285 -3.233101)'))) / (select extract(epoch from '2026-05-31 13:07:50'::timestamp) - extract(epoch from '2026-05-31 13:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574296 -3.233041)'), GeomFromEWKT('SRID=4674;POINT (-38.574285 -3.233101)'))) / (select extract(epoch from '2026-05-31 13:07:50'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.574285 -3.233111)', '2026-05-31 13:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574285 -3.233101)'), GeomFromEWKT('SRID=4674;POINT (-38.574285 -3.233111)'))) / (select extract(epoch from '2026-05-31 13:07:51'::timestamp) - extract(epoch from '2026-05-31 13:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574285 -3.233101)'), GeomFromEWKT('SRID=4674;POINT (-38.574285 -3.233111)'))) / (select extract(epoch from '2026-05-31 13:07:51'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.574277 -3.233125)', '2026-05-31 13:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574285 -3.233111)'), GeomFromEWKT('SRID=4674;POINT (-38.574277 -3.233125)'))) / (select extract(epoch from '2026-05-31 13:07:53'::timestamp) - extract(epoch from '2026-05-31 13:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574285 -3.233111)'), GeomFromEWKT('SRID=4674;POINT (-38.574277 -3.233125)'))) / (select extract(epoch from '2026-05-31 13:07:53'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.57427 -3.233142)', '2026-05-31 13:07:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574277 -3.233125)'), GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.233142)'))) / (select extract(epoch from '2026-05-31 13:07:55'::timestamp) - extract(epoch from '2026-05-31 13:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574277 -3.233125)'), GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.233142)'))) / (select extract(epoch from '2026-05-31 13:07:55'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.574255 -3.233201)', '2026-05-31 13:08:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.233142)'), GeomFromEWKT('SRID=4674;POINT (-38.574255 -3.233201)'))) / (select extract(epoch from '2026-05-31 13:08:02'::timestamp) - extract(epoch from '2026-05-31 13:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.233142)'), GeomFromEWKT('SRID=4674;POINT (-38.574255 -3.233201)'))) / (select extract(epoch from '2026-05-31 13:08:02'::timestamp) - extract(epoch from '2026-05-31 13:07: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'), 46535, 'SRID=4674;POINT (-38.574245 -3.233258)', '2026-05-31 13:08:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574255 -3.233201)'), GeomFromEWKT('SRID=4674;POINT (-38.574245 -3.233258)'))) / (select extract(epoch from '2026-05-31 13:08:08'::timestamp) - extract(epoch from '2026-05-31 13:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574255 -3.233201)'), GeomFromEWKT('SRID=4674;POINT (-38.574245 -3.233258)'))) / (select extract(epoch from '2026-05-31 13:08:08'::timestamp) - extract(epoch from '2026-05-31 13:08: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'), 46535, 'SRID=4674;POINT (-38.574249 -3.23332)', '2026-05-31 13:08:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574245 -3.233258)'), GeomFromEWKT('SRID=4674;POINT (-38.574249 -3.23332)'))) / (select extract(epoch from '2026-05-31 13:08:15'::timestamp) - extract(epoch from '2026-05-31 13:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574245 -3.233258)'), GeomFromEWKT('SRID=4674;POINT (-38.574249 -3.23332)'))) / (select extract(epoch from '2026-05-31 13:08:15'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574248 -3.233331)', '2026-05-31 13:08:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574249 -3.23332)'), GeomFromEWKT('SRID=4674;POINT (-38.574248 -3.233331)'))) / (select extract(epoch from '2026-05-31 13:08:16'::timestamp) - extract(epoch from '2026-05-31 13:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574249 -3.23332)'), GeomFromEWKT('SRID=4674;POINT (-38.574248 -3.233331)'))) / (select extract(epoch from '2026-05-31 13:08:16'::timestamp) - extract(epoch from '2026-05-31 13:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574254 -3.233363)', '2026-05-31 13:08:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574248 -3.233331)'), GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.233363)'))) / (select extract(epoch from '2026-05-31 13:08:19'::timestamp) - extract(epoch from '2026-05-31 13:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574248 -3.233331)'), GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.233363)'))) / (select extract(epoch from '2026-05-31 13:08:19'::timestamp) - extract(epoch from '2026-05-31 13:08: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'), 46535, 'SRID=4674;POINT (-38.574248 -3.233382)', '2026-05-31 13:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.233363)'), GeomFromEWKT('SRID=4674;POINT (-38.574248 -3.233382)'))) / (select extract(epoch from '2026-05-31 13:08:21'::timestamp) - extract(epoch from '2026-05-31 13:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.233363)'), GeomFromEWKT('SRID=4674;POINT (-38.574248 -3.233382)'))) / (select extract(epoch from '2026-05-31 13:08:21'::timestamp) - extract(epoch from '2026-05-31 13:08: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'), 46535, 'SRID=4674;POINT (-38.574249 -3.233392)', '2026-05-31 13:08:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574248 -3.233382)'), GeomFromEWKT('SRID=4674;POINT (-38.574249 -3.233392)'))) / (select extract(epoch from '2026-05-31 13:08:22'::timestamp) - extract(epoch from '2026-05-31 13:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574248 -3.233382)'), GeomFromEWKT('SRID=4674;POINT (-38.574249 -3.233392)'))) / (select extract(epoch from '2026-05-31 13:08:22'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574251 -3.233441)', '2026-05-31 13:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574249 -3.233392)'), GeomFromEWKT('SRID=4674;POINT (-38.574251 -3.233441)'))) / (select extract(epoch from '2026-05-31 13:08:26'::timestamp) - extract(epoch from '2026-05-31 13:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574249 -3.233392)'), GeomFromEWKT('SRID=4674;POINT (-38.574251 -3.233441)'))) / (select extract(epoch from '2026-05-31 13:08:26'::timestamp) - extract(epoch from '2026-05-31 13:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574254 -3.233519)', '2026-05-31 13:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574251 -3.233441)'), GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.233519)'))) / (select extract(epoch from '2026-05-31 13:08:33'::timestamp) - extract(epoch from '2026-05-31 13:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574251 -3.233441)'), GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.233519)'))) / (select extract(epoch from '2026-05-31 13:08:33'::timestamp) - extract(epoch from '2026-05-31 13:08: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'), 46535, 'SRID=4674;POINT (-38.574258 -3.233613)', '2026-05-31 13:08:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.233519)'), GeomFromEWKT('SRID=4674;POINT (-38.574258 -3.233613)'))) / (select extract(epoch from '2026-05-31 13:08:41'::timestamp) - extract(epoch from '2026-05-31 13:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.233519)'), GeomFromEWKT('SRID=4674;POINT (-38.574258 -3.233613)'))) / (select extract(epoch from '2026-05-31 13:08:41'::timestamp) - extract(epoch from '2026-05-31 13:08: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'), 46535, 'SRID=4674;POINT (-38.574251 -3.23369)', '2026-05-31 13:08:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574258 -3.233613)'), GeomFromEWKT('SRID=4674;POINT (-38.574251 -3.23369)'))) / (select extract(epoch from '2026-05-31 13:08:48'::timestamp) - extract(epoch from '2026-05-31 13:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574258 -3.233613)'), GeomFromEWKT('SRID=4674;POINT (-38.574251 -3.23369)'))) / (select extract(epoch from '2026-05-31 13:08:48'::timestamp) - extract(epoch from '2026-05-31 13:08: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'), 46535, 'SRID=4674;POINT (-38.574255 -3.233754)', '2026-05-31 13:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574251 -3.23369)'), GeomFromEWKT('SRID=4674;POINT (-38.574255 -3.233754)'))) / (select extract(epoch from '2026-05-31 13:08:54'::timestamp) - extract(epoch from '2026-05-31 13:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574251 -3.23369)'), GeomFromEWKT('SRID=4674;POINT (-38.574255 -3.233754)'))) / (select extract(epoch from '2026-05-31 13:08:54'::timestamp) - extract(epoch from '2026-05-31 13:08:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574258 -3.233773)', '2026-05-31 13:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574255 -3.233754)'), GeomFromEWKT('SRID=4674;POINT (-38.574258 -3.233773)'))) / (select extract(epoch from '2026-05-31 13:08:56'::timestamp) - extract(epoch from '2026-05-31 13:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574255 -3.233754)'), GeomFromEWKT('SRID=4674;POINT (-38.574258 -3.233773)'))) / (select extract(epoch from '2026-05-31 13:08:56'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574281 -3.233858)', '2026-05-31 13:09:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574258 -3.233773)'), GeomFromEWKT('SRID=4674;POINT (-38.574281 -3.233858)'))) / (select extract(epoch from '2026-05-31 13:09:04'::timestamp) - extract(epoch from '2026-05-31 13:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574258 -3.233773)'), GeomFromEWKT('SRID=4674;POINT (-38.574281 -3.233858)'))) / (select extract(epoch from '2026-05-31 13:09:04'::timestamp) - extract(epoch from '2026-05-31 13:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574292 -3.233916)', '2026-05-31 13:09:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574281 -3.233858)'), GeomFromEWKT('SRID=4674;POINT (-38.574292 -3.233916)'))) / (select extract(epoch from '2026-05-31 13:09:10'::timestamp) - extract(epoch from '2026-05-31 13:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574281 -3.233858)'), GeomFromEWKT('SRID=4674;POINT (-38.574292 -3.233916)'))) / (select extract(epoch from '2026-05-31 13:09:10'::timestamp) - extract(epoch from '2026-05-31 13:09: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'), 46535, 'SRID=4674;POINT (-38.574303 -3.233948)', '2026-05-31 13:09:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574292 -3.233916)'), GeomFromEWKT('SRID=4674;POINT (-38.574303 -3.233948)'))) / (select extract(epoch from '2026-05-31 13:09:13'::timestamp) - extract(epoch from '2026-05-31 13:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574292 -3.233916)'), GeomFromEWKT('SRID=4674;POINT (-38.574303 -3.233948)'))) / (select extract(epoch from '2026-05-31 13:09:13'::timestamp) - extract(epoch from '2026-05-31 13:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574297 -3.233972)', '2026-05-31 13:09:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574303 -3.233948)'), GeomFromEWKT('SRID=4674;POINT (-38.574297 -3.233972)'))) / (select extract(epoch from '2026-05-31 13:09:15'::timestamp) - extract(epoch from '2026-05-31 13:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574303 -3.233948)'), GeomFromEWKT('SRID=4674;POINT (-38.574297 -3.233972)'))) / (select extract(epoch from '2026-05-31 13:09:15'::timestamp) - extract(epoch from '2026-05-31 13:09: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'), 46535, 'SRID=4674;POINT (-38.574286 -3.234068)', '2026-05-31 13:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574297 -3.233972)'), GeomFromEWKT('SRID=4674;POINT (-38.574286 -3.234068)'))) / (select extract(epoch from '2026-05-31 13:09:23'::timestamp) - extract(epoch from '2026-05-31 13:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574297 -3.233972)'), GeomFromEWKT('SRID=4674;POINT (-38.574286 -3.234068)'))) / (select extract(epoch from '2026-05-31 13:09:23'::timestamp) - extract(epoch from '2026-05-31 13:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574269 -3.23412)', '2026-05-31 13:09:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574286 -3.234068)'), GeomFromEWKT('SRID=4674;POINT (-38.574269 -3.23412)'))) / (select extract(epoch from '2026-05-31 13:09:29'::timestamp) - extract(epoch from '2026-05-31 13:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574286 -3.234068)'), GeomFromEWKT('SRID=4674;POINT (-38.574269 -3.23412)'))) / (select extract(epoch from '2026-05-31 13:09:29'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574268 -3.234131)', '2026-05-31 13:09:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574269 -3.23412)'), GeomFromEWKT('SRID=4674;POINT (-38.574268 -3.234131)'))) / (select extract(epoch from '2026-05-31 13:09:30'::timestamp) - extract(epoch from '2026-05-31 13:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574269 -3.23412)'), GeomFromEWKT('SRID=4674;POINT (-38.574268 -3.234131)'))) / (select extract(epoch from '2026-05-31 13:09:30'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574262 -3.234179)', '2026-05-31 13:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574268 -3.234131)'), GeomFromEWKT('SRID=4674;POINT (-38.574262 -3.234179)'))) / (select extract(epoch from '2026-05-31 13:09:37'::timestamp) - extract(epoch from '2026-05-31 13:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574268 -3.234131)'), GeomFromEWKT('SRID=4674;POINT (-38.574262 -3.234179)'))) / (select extract(epoch from '2026-05-31 13:09:37'::timestamp) - extract(epoch from '2026-05-31 13:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574257 -3.234218)', '2026-05-31 13:09:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574262 -3.234179)'), GeomFromEWKT('SRID=4674;POINT (-38.574257 -3.234218)'))) / (select extract(epoch from '2026-05-31 13:09:47'::timestamp) - extract(epoch from '2026-05-31 13:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574262 -3.234179)'), GeomFromEWKT('SRID=4674;POINT (-38.574257 -3.234218)'))) / (select extract(epoch from '2026-05-31 13:09:47'::timestamp) - extract(epoch from '2026-05-31 13:09: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'), 46535, 'SRID=4674;POINT (-38.574254 -3.234268)', '2026-05-31 13:09:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574257 -3.234218)'), GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.234268)'))) / (select extract(epoch from '2026-05-31 13:09:55'::timestamp) - extract(epoch from '2026-05-31 13:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574257 -3.234218)'), GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.234268)'))) / (select extract(epoch from '2026-05-31 13:09:55'::timestamp) - extract(epoch from '2026-05-31 13:09: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'), 46535, 'SRID=4674;POINT (-38.574267 -3.234355)', '2026-05-31 13:10:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.234268)'), GeomFromEWKT('SRID=4674;POINT (-38.574267 -3.234355)'))) / (select extract(epoch from '2026-05-31 13:10:05'::timestamp) - extract(epoch from '2026-05-31 13:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574254 -3.234268)'), GeomFromEWKT('SRID=4674;POINT (-38.574267 -3.234355)'))) / (select extract(epoch from '2026-05-31 13:10:05'::timestamp) - extract(epoch from '2026-05-31 13:09: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'), 46535, 'SRID=4674;POINT (-38.574292 -3.234438)', '2026-05-31 13:10:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574267 -3.234355)'), GeomFromEWKT('SRID=4674;POINT (-38.574292 -3.234438)'))) / (select extract(epoch from '2026-05-31 13:10:13'::timestamp) - extract(epoch from '2026-05-31 13:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574267 -3.234355)'), GeomFromEWKT('SRID=4674;POINT (-38.574292 -3.234438)'))) / (select extract(epoch from '2026-05-31 13:10:13'::timestamp) - extract(epoch from '2026-05-31 13:10: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'), 46535, 'SRID=4674;POINT (-38.574309 -3.234523)', '2026-05-31 13:10:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574292 -3.234438)'), GeomFromEWKT('SRID=4674;POINT (-38.574309 -3.234523)'))) / (select extract(epoch from '2026-05-31 13:10:21'::timestamp) - extract(epoch from '2026-05-31 13:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574292 -3.234438)'), GeomFromEWKT('SRID=4674;POINT (-38.574309 -3.234523)'))) / (select extract(epoch from '2026-05-31 13:10:21'::timestamp) - extract(epoch from '2026-05-31 13:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574309 -3.234579)', '2026-05-31 13:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574309 -3.234523)'), GeomFromEWKT('SRID=4674;POINT (-38.574309 -3.234579)'))) / (select extract(epoch from '2026-05-31 13:10:26'::timestamp) - extract(epoch from '2026-05-31 13:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574309 -3.234523)'), GeomFromEWKT('SRID=4674;POINT (-38.574309 -3.234579)'))) / (select extract(epoch from '2026-05-31 13:10:26'::timestamp) - extract(epoch from '2026-05-31 13:10: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'), 46535, 'SRID=4674;POINT (-38.57431 -3.234588)', '2026-05-31 13:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574309 -3.234579)'), GeomFromEWKT('SRID=4674;POINT (-38.57431 -3.234588)'))) / (select extract(epoch from '2026-05-31 13:10:27'::timestamp) - extract(epoch from '2026-05-31 13:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574309 -3.234579)'), GeomFromEWKT('SRID=4674;POINT (-38.57431 -3.234588)'))) / (select extract(epoch from '2026-05-31 13:10:27'::timestamp) - extract(epoch from '2026-05-31 13:10: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'), 46535, 'SRID=4674;POINT (-38.574319 -3.234665)', '2026-05-31 13:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57431 -3.234588)'), GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.234665)'))) / (select extract(epoch from '2026-05-31 13:10:34'::timestamp) - extract(epoch from '2026-05-31 13:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57431 -3.234588)'), GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.234665)'))) / (select extract(epoch from '2026-05-31 13:10:34'::timestamp) - extract(epoch from '2026-05-31 13:10: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'), 46535, 'SRID=4674;POINT (-38.574326 -3.234752)', '2026-05-31 13:10:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.234665)'), GeomFromEWKT('SRID=4674;POINT (-38.574326 -3.234752)'))) / (select extract(epoch from '2026-05-31 13:10:41'::timestamp) - extract(epoch from '2026-05-31 13:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.234665)'), GeomFromEWKT('SRID=4674;POINT (-38.574326 -3.234752)'))) / (select extract(epoch from '2026-05-31 13:10:41'::timestamp) - extract(epoch from '2026-05-31 13:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574339 -3.234852)', '2026-05-31 13:10:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574326 -3.234752)'), GeomFromEWKT('SRID=4674;POINT (-38.574339 -3.234852)'))) / (select extract(epoch from '2026-05-31 13:10:50'::timestamp) - extract(epoch from '2026-05-31 13:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574326 -3.234752)'), GeomFromEWKT('SRID=4674;POINT (-38.574339 -3.234852)'))) / (select extract(epoch from '2026-05-31 13:10:50'::timestamp) - extract(epoch from '2026-05-31 13:10: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'), 46535, 'SRID=4674;POINT (-38.574347 -3.234919)', '2026-05-31 13:10:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574339 -3.234852)'), GeomFromEWKT('SRID=4674;POINT (-38.574347 -3.234919)'))) / (select extract(epoch from '2026-05-31 13:10:57'::timestamp) - extract(epoch from '2026-05-31 13:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574339 -3.234852)'), GeomFromEWKT('SRID=4674;POINT (-38.574347 -3.234919)'))) / (select extract(epoch from '2026-05-31 13:10:57'::timestamp) - extract(epoch from '2026-05-31 13:10: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'), 46535, 'SRID=4674;POINT (-38.574347 -3.234938)', '2026-05-31 13:10:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574347 -3.234919)'), GeomFromEWKT('SRID=4674;POINT (-38.574347 -3.234938)'))) / (select extract(epoch from '2026-05-31 13:10:59'::timestamp) - extract(epoch from '2026-05-31 13:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574347 -3.234919)'), GeomFromEWKT('SRID=4674;POINT (-38.574347 -3.234938)'))) / (select extract(epoch from '2026-05-31 13:10:59'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574343 -3.234964)', '2026-05-31 13:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574347 -3.234938)'), GeomFromEWKT('SRID=4674;POINT (-38.574343 -3.234964)'))) / (select extract(epoch from '2026-05-31 13:11:02'::timestamp) - extract(epoch from '2026-05-31 13:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574347 -3.234938)'), GeomFromEWKT('SRID=4674;POINT (-38.574343 -3.234964)'))) / (select extract(epoch from '2026-05-31 13:11:02'::timestamp) - extract(epoch from '2026-05-31 13:10: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'), 46535, 'SRID=4674;POINT (-38.574341 -3.23502)', '2026-05-31 13:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574343 -3.234964)'), GeomFromEWKT('SRID=4674;POINT (-38.574341 -3.23502)'))) / (select extract(epoch from '2026-05-31 13:11:07'::timestamp) - extract(epoch from '2026-05-31 13:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574343 -3.234964)'), GeomFromEWKT('SRID=4674;POINT (-38.574341 -3.23502)'))) / (select extract(epoch from '2026-05-31 13:11:07'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574331 -3.235048)', '2026-05-31 13:11:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574341 -3.23502)'), GeomFromEWKT('SRID=4674;POINT (-38.574331 -3.235048)'))) / (select extract(epoch from '2026-05-31 13:11:10'::timestamp) - extract(epoch from '2026-05-31 13:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574341 -3.23502)'), GeomFromEWKT('SRID=4674;POINT (-38.574331 -3.235048)'))) / (select extract(epoch from '2026-05-31 13:11:10'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574319 -3.235097)', '2026-05-31 13:11:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574331 -3.235048)'), GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.235097)'))) / (select extract(epoch from '2026-05-31 13:11:15'::timestamp) - extract(epoch from '2026-05-31 13:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574331 -3.235048)'), GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.235097)'))) / (select extract(epoch from '2026-05-31 13:11:15'::timestamp) - extract(epoch from '2026-05-31 13:11: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'), 46535, 'SRID=4674;POINT (-38.574311 -3.235115)', '2026-05-31 13:11:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.235097)'), GeomFromEWKT('SRID=4674;POINT (-38.574311 -3.235115)'))) / (select extract(epoch from '2026-05-31 13:11:17'::timestamp) - extract(epoch from '2026-05-31 13:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574319 -3.235097)'), GeomFromEWKT('SRID=4674;POINT (-38.574311 -3.235115)'))) / (select extract(epoch from '2026-05-31 13:11:17'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574312 -3.235123)', '2026-05-31 13:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574311 -3.235115)'), GeomFromEWKT('SRID=4674;POINT (-38.574312 -3.235123)'))) / (select extract(epoch from '2026-05-31 13:11:18'::timestamp) - extract(epoch from '2026-05-31 13:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574311 -3.235115)'), GeomFromEWKT('SRID=4674;POINT (-38.574312 -3.235123)'))) / (select extract(epoch from '2026-05-31 13:11:18'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574311 -3.235145)', '2026-05-31 13:11:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574312 -3.235123)'), GeomFromEWKT('SRID=4674;POINT (-38.574311 -3.235145)'))) / (select extract(epoch from '2026-05-31 13:11:20'::timestamp) - extract(epoch from '2026-05-31 13:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574312 -3.235123)'), GeomFromEWKT('SRID=4674;POINT (-38.574311 -3.235145)'))) / (select extract(epoch from '2026-05-31 13:11:20'::timestamp) - extract(epoch from '2026-05-31 13:11: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'), 46535, 'SRID=4674;POINT (-38.574307 -3.235161)', '2026-05-31 13:11:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574311 -3.235145)'), GeomFromEWKT('SRID=4674;POINT (-38.574307 -3.235161)'))) / (select extract(epoch from '2026-05-31 13:11:22'::timestamp) - extract(epoch from '2026-05-31 13:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574311 -3.235145)'), GeomFromEWKT('SRID=4674;POINT (-38.574307 -3.235161)'))) / (select extract(epoch from '2026-05-31 13:11:22'::timestamp) - extract(epoch from '2026-05-31 13:11: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'), 46535, 'SRID=4674;POINT (-38.57429 -3.235251)', '2026-05-31 13:11:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574307 -3.235161)'), GeomFromEWKT('SRID=4674;POINT (-38.57429 -3.235251)'))) / (select extract(epoch from '2026-05-31 13:11:31'::timestamp) - extract(epoch from '2026-05-31 13:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574307 -3.235161)'), GeomFromEWKT('SRID=4674;POINT (-38.57429 -3.235251)'))) / (select extract(epoch from '2026-05-31 13:11:31'::timestamp) - extract(epoch from '2026-05-31 13:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574278 -3.235335)', '2026-05-31 13:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57429 -3.235251)'), GeomFromEWKT('SRID=4674;POINT (-38.574278 -3.235335)'))) / (select extract(epoch from '2026-05-31 13:11:38'::timestamp) - extract(epoch from '2026-05-31 13:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57429 -3.235251)'), GeomFromEWKT('SRID=4674;POINT (-38.574278 -3.235335)'))) / (select extract(epoch from '2026-05-31 13:11:38'::timestamp) - extract(epoch from '2026-05-31 13:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574267 -3.235403)', '2026-05-31 13:11:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574278 -3.235335)'), GeomFromEWKT('SRID=4674;POINT (-38.574267 -3.235403)'))) / (select extract(epoch from '2026-05-31 13:11:44'::timestamp) - extract(epoch from '2026-05-31 13:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574278 -3.235335)'), GeomFromEWKT('SRID=4674;POINT (-38.574267 -3.235403)'))) / (select extract(epoch from '2026-05-31 13:11:44'::timestamp) - extract(epoch from '2026-05-31 13:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57427 -3.235413)', '2026-05-31 13:11:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574267 -3.235403)'), GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.235413)'))) / (select extract(epoch from '2026-05-31 13:11:45'::timestamp) - extract(epoch from '2026-05-31 13:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574267 -3.235403)'), GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.235413)'))) / (select extract(epoch from '2026-05-31 13:11:45'::timestamp) - extract(epoch from '2026-05-31 13:11: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'), 46535, 'SRID=4674;POINT (-38.57427 -3.235425)', '2026-05-31 13:11:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.235413)'), GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.235425)'))) / (select extract(epoch from '2026-05-31 13:11:46'::timestamp) - extract(epoch from '2026-05-31 13:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.235413)'), GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.235425)'))) / (select extract(epoch from '2026-05-31 13:11:46'::timestamp) - extract(epoch from '2026-05-31 13:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574262 -3.235476)', '2026-05-31 13:11:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.235425)'), GeomFromEWKT('SRID=4674;POINT (-38.574262 -3.235476)'))) / (select extract(epoch from '2026-05-31 13:11:51'::timestamp) - extract(epoch from '2026-05-31 13:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57427 -3.235425)'), GeomFromEWKT('SRID=4674;POINT (-38.574262 -3.235476)'))) / (select extract(epoch from '2026-05-31 13:11:51'::timestamp) - extract(epoch from '2026-05-31 13:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574259 -3.235519)', '2026-05-31 13:11:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574262 -3.235476)'), GeomFromEWKT('SRID=4674;POINT (-38.574259 -3.235519)'))) / (select extract(epoch from '2026-05-31 13:11:55'::timestamp) - extract(epoch from '2026-05-31 13:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574262 -3.235476)'), GeomFromEWKT('SRID=4674;POINT (-38.574259 -3.235519)'))) / (select extract(epoch from '2026-05-31 13:11:55'::timestamp) - extract(epoch from '2026-05-31 13:11: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'), 46535, 'SRID=4674;POINT (-38.574253 -3.235553)', '2026-05-31 13:11:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574259 -3.235519)'), GeomFromEWKT('SRID=4674;POINT (-38.574253 -3.235553)'))) / (select extract(epoch from '2026-05-31 13:11:58'::timestamp) - extract(epoch from '2026-05-31 13:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574259 -3.235519)'), GeomFromEWKT('SRID=4674;POINT (-38.574253 -3.235553)'))) / (select extract(epoch from '2026-05-31 13:11:58'::timestamp) - extract(epoch from '2026-05-31 13:11: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'), 46535, 'SRID=4674;POINT (-38.57425 -3.235633)', '2026-05-31 13:12:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574253 -3.235553)'), GeomFromEWKT('SRID=4674;POINT (-38.57425 -3.235633)'))) / (select extract(epoch from '2026-05-31 13:12:05'::timestamp) - extract(epoch from '2026-05-31 13:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574253 -3.235553)'), GeomFromEWKT('SRID=4674;POINT (-38.57425 -3.235633)'))) / (select extract(epoch from '2026-05-31 13:12:05'::timestamp) - extract(epoch from '2026-05-31 13:11: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'), 46535, 'SRID=4674;POINT (-38.574245 -3.235682)', '2026-05-31 13:12:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57425 -3.235633)'), GeomFromEWKT('SRID=4674;POINT (-38.574245 -3.235682)'))) / (select extract(epoch from '2026-05-31 13:12:11'::timestamp) - extract(epoch from '2026-05-31 13:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57425 -3.235633)'), GeomFromEWKT('SRID=4674;POINT (-38.574245 -3.235682)'))) / (select extract(epoch from '2026-05-31 13:12:11'::timestamp) - extract(epoch from '2026-05-31 13:12: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'), 46535, 'SRID=4674;POINT (-38.574238 -3.235773)', '2026-05-31 13:12:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574245 -3.235682)'), GeomFromEWKT('SRID=4674;POINT (-38.574238 -3.235773)'))) / (select extract(epoch from '2026-05-31 13:12:20'::timestamp) - extract(epoch from '2026-05-31 13:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574245 -3.235682)'), GeomFromEWKT('SRID=4674;POINT (-38.574238 -3.235773)'))) / (select extract(epoch from '2026-05-31 13:12:20'::timestamp) - extract(epoch from '2026-05-31 13:12: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'), 46535, 'SRID=4674;POINT (-38.574234 -3.235819)', '2026-05-31 13:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574238 -3.235773)'), GeomFromEWKT('SRID=4674;POINT (-38.574234 -3.235819)'))) / (select extract(epoch from '2026-05-31 13:12:24'::timestamp) - extract(epoch from '2026-05-31 13:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574238 -3.235773)'), GeomFromEWKT('SRID=4674;POINT (-38.574234 -3.235819)'))) / (select extract(epoch from '2026-05-31 13:12:24'::timestamp) - extract(epoch from '2026-05-31 13:12: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'), 46535, 'SRID=4674;POINT (-38.57424 -3.235857)', '2026-05-31 13:12:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574234 -3.235819)'), GeomFromEWKT('SRID=4674;POINT (-38.57424 -3.235857)'))) / (select extract(epoch from '2026-05-31 13:12:28'::timestamp) - extract(epoch from '2026-05-31 13:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574234 -3.235819)'), GeomFromEWKT('SRID=4674;POINT (-38.57424 -3.235857)'))) / (select extract(epoch from '2026-05-31 13:12:28'::timestamp) - extract(epoch from '2026-05-31 13:12: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'), 46535, 'SRID=4674;POINT (-38.57424 -3.235867)', '2026-05-31 13:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57424 -3.235857)'), GeomFromEWKT('SRID=4674;POINT (-38.57424 -3.235867)'))) / (select extract(epoch from '2026-05-31 13:12:29'::timestamp) - extract(epoch from '2026-05-31 13:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57424 -3.235857)'), GeomFromEWKT('SRID=4674;POINT (-38.57424 -3.235867)'))) / (select extract(epoch from '2026-05-31 13:12:29'::timestamp) - extract(epoch from '2026-05-31 13:12: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'), 46535, 'SRID=4674;POINT (-38.574243 -3.235924)', '2026-05-31 13:12:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57424 -3.235867)'), GeomFromEWKT('SRID=4674;POINT (-38.574243 -3.235924)'))) / (select extract(epoch from '2026-05-31 13:12:34'::timestamp) - extract(epoch from '2026-05-31 13:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57424 -3.235867)'), GeomFromEWKT('SRID=4674;POINT (-38.574243 -3.235924)'))) / (select extract(epoch from '2026-05-31 13:12:34'::timestamp) - extract(epoch from '2026-05-31 13:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574239 -3.235945)', '2026-05-31 13:12:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574243 -3.235924)'), GeomFromEWKT('SRID=4674;POINT (-38.574239 -3.235945)'))) / (select extract(epoch from '2026-05-31 13:12:36'::timestamp) - extract(epoch from '2026-05-31 13:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574243 -3.235924)'), GeomFromEWKT('SRID=4674;POINT (-38.574239 -3.235945)'))) / (select extract(epoch from '2026-05-31 13:12:36'::timestamp) - extract(epoch from '2026-05-31 13:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574242 -3.235986)', '2026-05-31 13:12:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574239 -3.235945)'), GeomFromEWKT('SRID=4674;POINT (-38.574242 -3.235986)'))) / (select extract(epoch from '2026-05-31 13:12:40'::timestamp) - extract(epoch from '2026-05-31 13:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574239 -3.235945)'), GeomFromEWKT('SRID=4674;POINT (-38.574242 -3.235986)'))) / (select extract(epoch from '2026-05-31 13:12:40'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574236 -3.236058)', '2026-05-31 13:12:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574242 -3.235986)'), GeomFromEWKT('SRID=4674;POINT (-38.574236 -3.236058)'))) / (select extract(epoch from '2026-05-31 13:12:47'::timestamp) - extract(epoch from '2026-05-31 13:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574242 -3.235986)'), GeomFromEWKT('SRID=4674;POINT (-38.574236 -3.236058)'))) / (select extract(epoch from '2026-05-31 13:12:47'::timestamp) - extract(epoch from '2026-05-31 13:12: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'), 46535, 'SRID=4674;POINT (-38.574234 -3.236085)', '2026-05-31 13:12:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574236 -3.236058)'), GeomFromEWKT('SRID=4674;POINT (-38.574234 -3.236085)'))) / (select extract(epoch from '2026-05-31 13:12:49'::timestamp) - extract(epoch from '2026-05-31 13:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574236 -3.236058)'), GeomFromEWKT('SRID=4674;POINT (-38.574234 -3.236085)'))) / (select extract(epoch from '2026-05-31 13:12:49'::timestamp) - extract(epoch from '2026-05-31 13:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574226 -3.236102)', '2026-05-31 13:12:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574234 -3.236085)'), GeomFromEWKT('SRID=4674;POINT (-38.574226 -3.236102)'))) / (select extract(epoch from '2026-05-31 13:12:51'::timestamp) - extract(epoch from '2026-05-31 13:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574234 -3.236085)'), GeomFromEWKT('SRID=4674;POINT (-38.574226 -3.236102)'))) / (select extract(epoch from '2026-05-31 13:12:51'::timestamp) - extract(epoch from '2026-05-31 13:12: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'), 46535, 'SRID=4674;POINT (-38.574224 -3.23611)', '2026-05-31 13:12:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574226 -3.236102)'), GeomFromEWKT('SRID=4674;POINT (-38.574224 -3.23611)'))) / (select extract(epoch from '2026-05-31 13:12:52'::timestamp) - extract(epoch from '2026-05-31 13:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574226 -3.236102)'), GeomFromEWKT('SRID=4674;POINT (-38.574224 -3.23611)'))) / (select extract(epoch from '2026-05-31 13:12:52'::timestamp) - extract(epoch from '2026-05-31 13:12: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'), 46535, 'SRID=4674;POINT (-38.574209 -3.236202)', '2026-05-31 13:12:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574224 -3.23611)'), GeomFromEWKT('SRID=4674;POINT (-38.574209 -3.236202)'))) / (select extract(epoch from '2026-05-31 13:12:59'::timestamp) - extract(epoch from '2026-05-31 13:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574224 -3.23611)'), GeomFromEWKT('SRID=4674;POINT (-38.574209 -3.236202)'))) / (select extract(epoch from '2026-05-31 13:12:59'::timestamp) - extract(epoch from '2026-05-31 13:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574206 -3.236213)', '2026-05-31 13:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574209 -3.236202)'), GeomFromEWKT('SRID=4674;POINT (-38.574206 -3.236213)'))) / (select extract(epoch from '2026-05-31 13:13:00'::timestamp) - extract(epoch from '2026-05-31 13:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574209 -3.236202)'), GeomFromEWKT('SRID=4674;POINT (-38.574206 -3.236213)'))) / (select extract(epoch from '2026-05-31 13:13:00'::timestamp) - extract(epoch from '2026-05-31 13:12: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'), 46535, 'SRID=4674;POINT (-38.574193 -3.236278)', '2026-05-31 13:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574206 -3.236213)'), GeomFromEWKT('SRID=4674;POINT (-38.574193 -3.236278)'))) / (select extract(epoch from '2026-05-31 13:13:06'::timestamp) - extract(epoch from '2026-05-31 13:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574206 -3.236213)'), GeomFromEWKT('SRID=4674;POINT (-38.574193 -3.236278)'))) / (select extract(epoch from '2026-05-31 13:13:06'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574193 -3.236354)', '2026-05-31 13:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574193 -3.236278)'), GeomFromEWKT('SRID=4674;POINT (-38.574193 -3.236354)'))) / (select extract(epoch from '2026-05-31 13:13:14'::timestamp) - extract(epoch from '2026-05-31 13:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574193 -3.236278)'), GeomFromEWKT('SRID=4674;POINT (-38.574193 -3.236354)'))) / (select extract(epoch from '2026-05-31 13:13:14'::timestamp) - extract(epoch from '2026-05-31 13:13: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'), 46535, 'SRID=4674;POINT (-38.574185 -3.236425)', '2026-05-31 13:13:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574193 -3.236354)'), GeomFromEWKT('SRID=4674;POINT (-38.574185 -3.236425)'))) / (select extract(epoch from '2026-05-31 13:13:21'::timestamp) - extract(epoch from '2026-05-31 13:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574193 -3.236354)'), GeomFromEWKT('SRID=4674;POINT (-38.574185 -3.236425)'))) / (select extract(epoch from '2026-05-31 13:13:21'::timestamp) - extract(epoch from '2026-05-31 13:13: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'), 46535, 'SRID=4674;POINT (-38.57419 -3.236448)', '2026-05-31 13:13:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574185 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-38.57419 -3.236448)'))) / (select extract(epoch from '2026-05-31 13:13:23'::timestamp) - extract(epoch from '2026-05-31 13:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574185 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-38.57419 -3.236448)'))) / (select extract(epoch from '2026-05-31 13:13:23'::timestamp) - extract(epoch from '2026-05-31 13:13: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'), 46535, 'SRID=4674;POINT (-38.574183 -3.236484)', '2026-05-31 13:13:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57419 -3.236448)'), GeomFromEWKT('SRID=4674;POINT (-38.574183 -3.236484)'))) / (select extract(epoch from '2026-05-31 13:13:26'::timestamp) - extract(epoch from '2026-05-31 13:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57419 -3.236448)'), GeomFromEWKT('SRID=4674;POINT (-38.574183 -3.236484)'))) / (select extract(epoch from '2026-05-31 13:13:26'::timestamp) - extract(epoch from '2026-05-31 13:13:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574181 -3.236503)', '2026-05-31 13:13:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574183 -3.236484)'), GeomFromEWKT('SRID=4674;POINT (-38.574181 -3.236503)'))) / (select extract(epoch from '2026-05-31 13:13:28'::timestamp) - extract(epoch from '2026-05-31 13:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574183 -3.236484)'), GeomFromEWKT('SRID=4674;POINT (-38.574181 -3.236503)'))) / (select extract(epoch from '2026-05-31 13:13:28'::timestamp) - extract(epoch from '2026-05-31 13:13:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574166 -3.236559)', '2026-05-31 13:13:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574181 -3.236503)'), GeomFromEWKT('SRID=4674;POINT (-38.574166 -3.236559)'))) / (select extract(epoch from '2026-05-31 13:13:33'::timestamp) - extract(epoch from '2026-05-31 13:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574181 -3.236503)'), GeomFromEWKT('SRID=4674;POINT (-38.574166 -3.236559)'))) / (select extract(epoch from '2026-05-31 13:13:33'::timestamp) - extract(epoch from '2026-05-31 13:13: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'), 46535, 'SRID=4674;POINT (-38.574135 -3.236649)', '2026-05-31 13:13:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574166 -3.236559)'), GeomFromEWKT('SRID=4674;POINT (-38.574135 -3.236649)'))) / (select extract(epoch from '2026-05-31 13:13:41'::timestamp) - extract(epoch from '2026-05-31 13:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574166 -3.236559)'), GeomFromEWKT('SRID=4674;POINT (-38.574135 -3.236649)'))) / (select extract(epoch from '2026-05-31 13:13:41'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574114 -3.236711)', '2026-05-31 13:13:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574135 -3.236649)'), GeomFromEWKT('SRID=4674;POINT (-38.574114 -3.236711)'))) / (select extract(epoch from '2026-05-31 13:13:47'::timestamp) - extract(epoch from '2026-05-31 13:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574135 -3.236649)'), GeomFromEWKT('SRID=4674;POINT (-38.574114 -3.236711)'))) / (select extract(epoch from '2026-05-31 13:13:47'::timestamp) - extract(epoch from '2026-05-31 13:13: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'), 46535, 'SRID=4674;POINT (-38.574079 -3.236785)', '2026-05-31 13:13:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574114 -3.236711)'), GeomFromEWKT('SRID=4674;POINT (-38.574079 -3.236785)'))) / (select extract(epoch from '2026-05-31 13:13:54'::timestamp) - extract(epoch from '2026-05-31 13:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574114 -3.236711)'), GeomFromEWKT('SRID=4674;POINT (-38.574079 -3.236785)'))) / (select extract(epoch from '2026-05-31 13:13:54'::timestamp) - extract(epoch from '2026-05-31 13:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574046 -3.236866)', '2026-05-31 13:14:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574079 -3.236785)'), GeomFromEWKT('SRID=4674;POINT (-38.574046 -3.236866)'))) / (select extract(epoch from '2026-05-31 13:14:01'::timestamp) - extract(epoch from '2026-05-31 13:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574079 -3.236785)'), GeomFromEWKT('SRID=4674;POINT (-38.574046 -3.236866)'))) / (select extract(epoch from '2026-05-31 13:14:01'::timestamp) - extract(epoch from '2026-05-31 13:13: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'), 46535, 'SRID=4674;POINT (-38.57403 -3.236891)', '2026-05-31 13:14:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574046 -3.236866)'), GeomFromEWKT('SRID=4674;POINT (-38.57403 -3.236891)'))) / (select extract(epoch from '2026-05-31 13:14:04'::timestamp) - extract(epoch from '2026-05-31 13:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574046 -3.236866)'), GeomFromEWKT('SRID=4674;POINT (-38.57403 -3.236891)'))) / (select extract(epoch from '2026-05-31 13:14:04'::timestamp) - extract(epoch from '2026-05-31 13:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574025 -3.236907)', '2026-05-31 13:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57403 -3.236891)'), GeomFromEWKT('SRID=4674;POINT (-38.574025 -3.236907)'))) / (select extract(epoch from '2026-05-31 13:14:06'::timestamp) - extract(epoch from '2026-05-31 13:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57403 -3.236891)'), GeomFromEWKT('SRID=4674;POINT (-38.574025 -3.236907)'))) / (select extract(epoch from '2026-05-31 13:14:06'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.574018 -3.236914)', '2026-05-31 13:14:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574025 -3.236907)'), GeomFromEWKT('SRID=4674;POINT (-38.574018 -3.236914)'))) / (select extract(epoch from '2026-05-31 13:14:07'::timestamp) - extract(epoch from '2026-05-31 13:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574025 -3.236907)'), GeomFromEWKT('SRID=4674;POINT (-38.574018 -3.236914)'))) / (select extract(epoch from '2026-05-31 13:14:07'::timestamp) - extract(epoch from '2026-05-31 13:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573992 -3.236977)', '2026-05-31 13:14:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574018 -3.236914)'), GeomFromEWKT('SRID=4674;POINT (-38.573992 -3.236977)'))) / (select extract(epoch from '2026-05-31 13:14:13'::timestamp) - extract(epoch from '2026-05-31 13:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574018 -3.236914)'), GeomFromEWKT('SRID=4674;POINT (-38.573992 -3.236977)'))) / (select extract(epoch from '2026-05-31 13:14:13'::timestamp) - extract(epoch from '2026-05-31 13:14: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'), 46535, 'SRID=4674;POINT (-38.573961 -3.237057)', '2026-05-31 13:14:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573992 -3.236977)'), GeomFromEWKT('SRID=4674;POINT (-38.573961 -3.237057)'))) / (select extract(epoch from '2026-05-31 13:14:21'::timestamp) - extract(epoch from '2026-05-31 13:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573992 -3.236977)'), GeomFromEWKT('SRID=4674;POINT (-38.573961 -3.237057)'))) / (select extract(epoch from '2026-05-31 13:14:21'::timestamp) - extract(epoch from '2026-05-31 13:14: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'), 46535, 'SRID=4674;POINT (-38.573957 -3.237106)', '2026-05-31 13:14:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573961 -3.237057)'), GeomFromEWKT('SRID=4674;POINT (-38.573957 -3.237106)'))) / (select extract(epoch from '2026-05-31 13:14:26'::timestamp) - extract(epoch from '2026-05-31 13:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573961 -3.237057)'), GeomFromEWKT('SRID=4674;POINT (-38.573957 -3.237106)'))) / (select extract(epoch from '2026-05-31 13:14:26'::timestamp) - extract(epoch from '2026-05-31 13:14: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'), 46535, 'SRID=4674;POINT (-38.573951 -3.237137)', '2026-05-31 13:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573957 -3.237106)'), GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.237137)'))) / (select extract(epoch from '2026-05-31 13:14:30'::timestamp) - extract(epoch from '2026-05-31 13:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573957 -3.237106)'), GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.237137)'))) / (select extract(epoch from '2026-05-31 13:14:30'::timestamp) - extract(epoch from '2026-05-31 13:14: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'), 46535, 'SRID=4674;POINT (-38.573951 -3.237154)', '2026-05-31 13:14:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.237137)'), GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.237154)'))) / (select extract(epoch from '2026-05-31 13:14:32'::timestamp) - extract(epoch from '2026-05-31 13:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.237137)'), GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.237154)'))) / (select extract(epoch from '2026-05-31 13:14:32'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573948 -3.237241)', '2026-05-31 13:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.237154)'), GeomFromEWKT('SRID=4674;POINT (-38.573948 -3.237241)'))) / (select extract(epoch from '2026-05-31 13:14:44'::timestamp) - extract(epoch from '2026-05-31 13:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.237154)'), GeomFromEWKT('SRID=4674;POINT (-38.573948 -3.237241)'))) / (select extract(epoch from '2026-05-31 13:14:44'::timestamp) - extract(epoch from '2026-05-31 13:14: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'), 46535, 'SRID=4674;POINT (-38.573919 -3.237335)', '2026-05-31 13:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573948 -3.237241)'), GeomFromEWKT('SRID=4674;POINT (-38.573919 -3.237335)'))) / (select extract(epoch from '2026-05-31 13:14:53'::timestamp) - extract(epoch from '2026-05-31 13:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573948 -3.237241)'), GeomFromEWKT('SRID=4674;POINT (-38.573919 -3.237335)'))) / (select extract(epoch from '2026-05-31 13:14:53'::timestamp) - extract(epoch from '2026-05-31 13:14: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'), 46535, 'SRID=4674;POINT (-38.573892 -3.237406)', '2026-05-31 13:15:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573919 -3.237335)'), GeomFromEWKT('SRID=4674;POINT (-38.573892 -3.237406)'))) / (select extract(epoch from '2026-05-31 13:15:00'::timestamp) - extract(epoch from '2026-05-31 13:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573919 -3.237335)'), GeomFromEWKT('SRID=4674;POINT (-38.573892 -3.237406)'))) / (select extract(epoch from '2026-05-31 13:15:00'::timestamp) - extract(epoch from '2026-05-31 13:14: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'), 46535, 'SRID=4674;POINT (-38.573873 -3.237463)', '2026-05-31 13:15:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573892 -3.237406)'), GeomFromEWKT('SRID=4674;POINT (-38.573873 -3.237463)'))) / (select extract(epoch from '2026-05-31 13:15:06'::timestamp) - extract(epoch from '2026-05-31 13:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573892 -3.237406)'), GeomFromEWKT('SRID=4674;POINT (-38.573873 -3.237463)'))) / (select extract(epoch from '2026-05-31 13:15:06'::timestamp) - extract(epoch from '2026-05-31 13:15: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'), 46535, 'SRID=4674;POINT (-38.573856 -3.237513)', '2026-05-31 13:15:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573873 -3.237463)'), GeomFromEWKT('SRID=4674;POINT (-38.573856 -3.237513)'))) / (select extract(epoch from '2026-05-31 13:15:11'::timestamp) - extract(epoch from '2026-05-31 13:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573873 -3.237463)'), GeomFromEWKT('SRID=4674;POINT (-38.573856 -3.237513)'))) / (select extract(epoch from '2026-05-31 13:15:11'::timestamp) - extract(epoch from '2026-05-31 13:15: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'), 46535, 'SRID=4674;POINT (-38.573835 -3.237572)', '2026-05-31 13:15:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573856 -3.237513)'), GeomFromEWKT('SRID=4674;POINT (-38.573835 -3.237572)'))) / (select extract(epoch from '2026-05-31 13:15:18'::timestamp) - extract(epoch from '2026-05-31 13:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573856 -3.237513)'), GeomFromEWKT('SRID=4674;POINT (-38.573835 -3.237572)'))) / (select extract(epoch from '2026-05-31 13:15:18'::timestamp) - extract(epoch from '2026-05-31 13:15: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'), 46535, 'SRID=4674;POINT (-38.573821 -3.237601)', '2026-05-31 13:15:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573835 -3.237572)'), GeomFromEWKT('SRID=4674;POINT (-38.573821 -3.237601)'))) / (select extract(epoch from '2026-05-31 13:15:21'::timestamp) - extract(epoch from '2026-05-31 13:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573835 -3.237572)'), GeomFromEWKT('SRID=4674;POINT (-38.573821 -3.237601)'))) / (select extract(epoch from '2026-05-31 13:15:21'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573817 -3.237626)', '2026-05-31 13:15:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573821 -3.237601)'), GeomFromEWKT('SRID=4674;POINT (-38.573817 -3.237626)'))) / (select extract(epoch from '2026-05-31 13:15:24'::timestamp) - extract(epoch from '2026-05-31 13:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573821 -3.237601)'), GeomFromEWKT('SRID=4674;POINT (-38.573817 -3.237626)'))) / (select extract(epoch from '2026-05-31 13:15:24'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573803 -3.23766)', '2026-05-31 13:15:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573817 -3.237626)'), GeomFromEWKT('SRID=4674;POINT (-38.573803 -3.23766)'))) / (select extract(epoch from '2026-05-31 13:15:27'::timestamp) - extract(epoch from '2026-05-31 13:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573817 -3.237626)'), GeomFromEWKT('SRID=4674;POINT (-38.573803 -3.23766)'))) / (select extract(epoch from '2026-05-31 13:15:27'::timestamp) - extract(epoch from '2026-05-31 13:15: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'), 46535, 'SRID=4674;POINT (-38.573805 -3.237682)', '2026-05-31 13:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573803 -3.23766)'), GeomFromEWKT('SRID=4674;POINT (-38.573805 -3.237682)'))) / (select extract(epoch from '2026-05-31 13:15:29'::timestamp) - extract(epoch from '2026-05-31 13:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573803 -3.23766)'), GeomFromEWKT('SRID=4674;POINT (-38.573805 -3.237682)'))) / (select extract(epoch from '2026-05-31 13:15:29'::timestamp) - extract(epoch from '2026-05-31 13:15: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'), 46535, 'SRID=4674;POINT (-38.573799 -3.237694)', '2026-05-31 13:15:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573805 -3.237682)'), GeomFromEWKT('SRID=4674;POINT (-38.573799 -3.237694)'))) / (select extract(epoch from '2026-05-31 13:15:30'::timestamp) - extract(epoch from '2026-05-31 13:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573805 -3.237682)'), GeomFromEWKT('SRID=4674;POINT (-38.573799 -3.237694)'))) / (select extract(epoch from '2026-05-31 13:15:30'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573785 -3.23775)', '2026-05-31 13:15:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573799 -3.237694)'), GeomFromEWKT('SRID=4674;POINT (-38.573785 -3.23775)'))) / (select extract(epoch from '2026-05-31 13:15:36'::timestamp) - extract(epoch from '2026-05-31 13:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573799 -3.237694)'), GeomFromEWKT('SRID=4674;POINT (-38.573785 -3.23775)'))) / (select extract(epoch from '2026-05-31 13:15:36'::timestamp) - extract(epoch from '2026-05-31 13:15:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573761 -3.237817)', '2026-05-31 13:15:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573785 -3.23775)'), GeomFromEWKT('SRID=4674;POINT (-38.573761 -3.237817)'))) / (select extract(epoch from '2026-05-31 13:15:44'::timestamp) - extract(epoch from '2026-05-31 13:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573785 -3.23775)'), GeomFromEWKT('SRID=4674;POINT (-38.573761 -3.237817)'))) / (select extract(epoch from '2026-05-31 13:15:44'::timestamp) - extract(epoch from '2026-05-31 13:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573756 -3.237853)', '2026-05-31 13:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573761 -3.237817)'), GeomFromEWKT('SRID=4674;POINT (-38.573756 -3.237853)'))) / (select extract(epoch from '2026-05-31 13:15:50'::timestamp) - extract(epoch from '2026-05-31 13:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573761 -3.237817)'), GeomFromEWKT('SRID=4674;POINT (-38.573756 -3.237853)'))) / (select extract(epoch from '2026-05-31 13:15:50'::timestamp) - extract(epoch from '2026-05-31 13:15: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'), 46535, 'SRID=4674;POINT (-38.573743 -3.237932)', '2026-05-31 13:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573756 -3.237853)'), GeomFromEWKT('SRID=4674;POINT (-38.573743 -3.237932)'))) / (select extract(epoch from '2026-05-31 13:15:58'::timestamp) - extract(epoch from '2026-05-31 13:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573756 -3.237853)'), GeomFromEWKT('SRID=4674;POINT (-38.573743 -3.237932)'))) / (select extract(epoch from '2026-05-31 13:15:58'::timestamp) - extract(epoch from '2026-05-31 13:15: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'), 46535, 'SRID=4674;POINT (-38.573724 -3.238054)', '2026-05-31 13:16:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573743 -3.237932)'), GeomFromEWKT('SRID=4674;POINT (-38.573724 -3.238054)'))) / (select extract(epoch from '2026-05-31 13:16:09'::timestamp) - extract(epoch from '2026-05-31 13:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573743 -3.237932)'), GeomFromEWKT('SRID=4674;POINT (-38.573724 -3.238054)'))) / (select extract(epoch from '2026-05-31 13:16:09'::timestamp) - extract(epoch from '2026-05-31 13:15: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'), 46535, 'SRID=4674;POINT (-38.573695 -3.238152)', '2026-05-31 13:16:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573724 -3.238054)'), GeomFromEWKT('SRID=4674;POINT (-38.573695 -3.238152)'))) / (select extract(epoch from '2026-05-31 13:16:17'::timestamp) - extract(epoch from '2026-05-31 13:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573724 -3.238054)'), GeomFromEWKT('SRID=4674;POINT (-38.573695 -3.238152)'))) / (select extract(epoch from '2026-05-31 13:16:17'::timestamp) - extract(epoch from '2026-05-31 13:16: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'), 46535, 'SRID=4674;POINT (-38.573667 -3.238236)', '2026-05-31 13:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573695 -3.238152)'), GeomFromEWKT('SRID=4674;POINT (-38.573667 -3.238236)'))) / (select extract(epoch from '2026-05-31 13:16:24'::timestamp) - extract(epoch from '2026-05-31 13:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573695 -3.238152)'), GeomFromEWKT('SRID=4674;POINT (-38.573667 -3.238236)'))) / (select extract(epoch from '2026-05-31 13:16:24'::timestamp) - extract(epoch from '2026-05-31 13:16: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'), 46535, 'SRID=4674;POINT (-38.573668 -3.238244)', '2026-05-31 13:16:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573667 -3.238236)'), GeomFromEWKT('SRID=4674;POINT (-38.573668 -3.238244)'))) / (select extract(epoch from '2026-05-31 13:16:25'::timestamp) - extract(epoch from '2026-05-31 13:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573667 -3.238236)'), GeomFromEWKT('SRID=4674;POINT (-38.573668 -3.238244)'))) / (select extract(epoch from '2026-05-31 13:16:25'::timestamp) - extract(epoch from '2026-05-31 13:16: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'), 46535, 'SRID=4674;POINT (-38.573663 -3.238279)', '2026-05-31 13:16:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573668 -3.238244)'), GeomFromEWKT('SRID=4674;POINT (-38.573663 -3.238279)'))) / (select extract(epoch from '2026-05-31 13:16:30'::timestamp) - extract(epoch from '2026-05-31 13:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573668 -3.238244)'), GeomFromEWKT('SRID=4674;POINT (-38.573663 -3.238279)'))) / (select extract(epoch from '2026-05-31 13:16:30'::timestamp) - extract(epoch from '2026-05-31 13:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573648 -3.238352)', '2026-05-31 13:16:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573663 -3.238279)'), GeomFromEWKT('SRID=4674;POINT (-38.573648 -3.238352)'))) / (select extract(epoch from '2026-05-31 13:16:39'::timestamp) - extract(epoch from '2026-05-31 13:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573663 -3.238279)'), GeomFromEWKT('SRID=4674;POINT (-38.573648 -3.238352)'))) / (select extract(epoch from '2026-05-31 13:16:39'::timestamp) - extract(epoch from '2026-05-31 13:16: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'), 46535, 'SRID=4674;POINT (-38.573644 -3.238361)', '2026-05-31 13:16:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573648 -3.238352)'), GeomFromEWKT('SRID=4674;POINT (-38.573644 -3.238361)'))) / (select extract(epoch from '2026-05-31 13:16:40'::timestamp) - extract(epoch from '2026-05-31 13:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573648 -3.238352)'), GeomFromEWKT('SRID=4674;POINT (-38.573644 -3.238361)'))) / (select extract(epoch from '2026-05-31 13:16:40'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573624 -3.238405)', '2026-05-31 13:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573644 -3.238361)'), GeomFromEWKT('SRID=4674;POINT (-38.573624 -3.238405)'))) / (select extract(epoch from '2026-05-31 13:16:44'::timestamp) - extract(epoch from '2026-05-31 13:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573644 -3.238361)'), GeomFromEWKT('SRID=4674;POINT (-38.573624 -3.238405)'))) / (select extract(epoch from '2026-05-31 13:16:44'::timestamp) - extract(epoch from '2026-05-31 13:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573617 -3.238414)', '2026-05-31 13:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573624 -3.238405)'), GeomFromEWKT('SRID=4674;POINT (-38.573617 -3.238414)'))) / (select extract(epoch from '2026-05-31 13:16:45'::timestamp) - extract(epoch from '2026-05-31 13:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573624 -3.238405)'), GeomFromEWKT('SRID=4674;POINT (-38.573617 -3.238414)'))) / (select extract(epoch from '2026-05-31 13:16:45'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573612 -3.238426)', '2026-05-31 13:16:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573617 -3.238414)'), GeomFromEWKT('SRID=4674;POINT (-38.573612 -3.238426)'))) / (select extract(epoch from '2026-05-31 13:16:46'::timestamp) - extract(epoch from '2026-05-31 13:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573617 -3.238414)'), GeomFromEWKT('SRID=4674;POINT (-38.573612 -3.238426)'))) / (select extract(epoch from '2026-05-31 13:16:46'::timestamp) - extract(epoch from '2026-05-31 13:16: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'), 46535, 'SRID=4674;POINT (-38.573603 -3.238455)', '2026-05-31 13:16:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573612 -3.238426)'), GeomFromEWKT('SRID=4674;POINT (-38.573603 -3.238455)'))) / (select extract(epoch from '2026-05-31 13:16:49'::timestamp) - extract(epoch from '2026-05-31 13:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573612 -3.238426)'), GeomFromEWKT('SRID=4674;POINT (-38.573603 -3.238455)'))) / (select extract(epoch from '2026-05-31 13:16:49'::timestamp) - extract(epoch from '2026-05-31 13:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573592 -3.23847)', '2026-05-31 13:16:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573603 -3.238455)'), GeomFromEWKT('SRID=4674;POINT (-38.573592 -3.23847)'))) / (select extract(epoch from '2026-05-31 13:16:51'::timestamp) - extract(epoch from '2026-05-31 13:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573603 -3.238455)'), GeomFromEWKT('SRID=4674;POINT (-38.573592 -3.23847)'))) / (select extract(epoch from '2026-05-31 13:16:51'::timestamp) - extract(epoch from '2026-05-31 13:16: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'), 46535, 'SRID=4674;POINT (-38.573581 -3.23854)', '2026-05-31 13:16:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573592 -3.23847)'), GeomFromEWKT('SRID=4674;POINT (-38.573581 -3.23854)'))) / (select extract(epoch from '2026-05-31 13:16:57'::timestamp) - extract(epoch from '2026-05-31 13:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573592 -3.23847)'), GeomFromEWKT('SRID=4674;POINT (-38.573581 -3.23854)'))) / (select extract(epoch from '2026-05-31 13:16:57'::timestamp) - extract(epoch from '2026-05-31 13:16: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'), 46535, 'SRID=4674;POINT (-38.573577 -3.238553)', '2026-05-31 13:16:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573581 -3.23854)'), GeomFromEWKT('SRID=4674;POINT (-38.573577 -3.238553)'))) / (select extract(epoch from '2026-05-31 13:16:58'::timestamp) - extract(epoch from '2026-05-31 13:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573581 -3.23854)'), GeomFromEWKT('SRID=4674;POINT (-38.573577 -3.238553)'))) / (select extract(epoch from '2026-05-31 13:16:58'::timestamp) - extract(epoch from '2026-05-31 13:16: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'), 46535, 'SRID=4674;POINT (-38.57357 -3.238572)', '2026-05-31 13:17:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573577 -3.238553)'), GeomFromEWKT('SRID=4674;POINT (-38.57357 -3.238572)'))) / (select extract(epoch from '2026-05-31 13:17:00'::timestamp) - extract(epoch from '2026-05-31 13:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573577 -3.238553)'), GeomFromEWKT('SRID=4674;POINT (-38.57357 -3.238572)'))) / (select extract(epoch from '2026-05-31 13:17:00'::timestamp) - extract(epoch from '2026-05-31 13:16: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'), 46535, 'SRID=4674;POINT (-38.57357 -3.238594)', '2026-05-31 13:17:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57357 -3.238572)'), GeomFromEWKT('SRID=4674;POINT (-38.57357 -3.238594)'))) / (select extract(epoch from '2026-05-31 13:17:02'::timestamp) - extract(epoch from '2026-05-31 13:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57357 -3.238572)'), GeomFromEWKT('SRID=4674;POINT (-38.57357 -3.238594)'))) / (select extract(epoch from '2026-05-31 13:17:02'::timestamp) - extract(epoch from '2026-05-31 13:17: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'), 46535, 'SRID=4674;POINT (-38.573556 -3.238634)', '2026-05-31 13:17:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57357 -3.238594)'), GeomFromEWKT('SRID=4674;POINT (-38.573556 -3.238634)'))) / (select extract(epoch from '2026-05-31 13:17:05'::timestamp) - extract(epoch from '2026-05-31 13:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57357 -3.238594)'), GeomFromEWKT('SRID=4674;POINT (-38.573556 -3.238634)'))) / (select extract(epoch from '2026-05-31 13:17:05'::timestamp) - extract(epoch from '2026-05-31 13:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57356 -3.238664)', '2026-05-31 13:17:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573556 -3.238634)'), GeomFromEWKT('SRID=4674;POINT (-38.57356 -3.238664)'))) / (select extract(epoch from '2026-05-31 13:17:08'::timestamp) - extract(epoch from '2026-05-31 13:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573556 -3.238634)'), GeomFromEWKT('SRID=4674;POINT (-38.57356 -3.238664)'))) / (select extract(epoch from '2026-05-31 13:17:08'::timestamp) - extract(epoch from '2026-05-31 13:17: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'), 46535, 'SRID=4674;POINT (-38.573548 -3.238721)', '2026-05-31 13:17:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57356 -3.238664)'), GeomFromEWKT('SRID=4674;POINT (-38.573548 -3.238721)'))) / (select extract(epoch from '2026-05-31 13:17:14'::timestamp) - extract(epoch from '2026-05-31 13:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57356 -3.238664)'), GeomFromEWKT('SRID=4674;POINT (-38.573548 -3.238721)'))) / (select extract(epoch from '2026-05-31 13:17:14'::timestamp) - extract(epoch from '2026-05-31 13:17: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'), 46535, 'SRID=4674;POINT (-38.573544 -3.238763)', '2026-05-31 13:17:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573548 -3.238721)'), GeomFromEWKT('SRID=4674;POINT (-38.573544 -3.238763)'))) / (select extract(epoch from '2026-05-31 13:17:18'::timestamp) - extract(epoch from '2026-05-31 13:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573548 -3.238721)'), GeomFromEWKT('SRID=4674;POINT (-38.573544 -3.238763)'))) / (select extract(epoch from '2026-05-31 13:17:18'::timestamp) - extract(epoch from '2026-05-31 13:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573549 -3.238778)', '2026-05-31 13:17:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573544 -3.238763)'), GeomFromEWKT('SRID=4674;POINT (-38.573549 -3.238778)'))) / (select extract(epoch from '2026-05-31 13:17:20'::timestamp) - extract(epoch from '2026-05-31 13:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573544 -3.238763)'), GeomFromEWKT('SRID=4674;POINT (-38.573549 -3.238778)'))) / (select extract(epoch from '2026-05-31 13:17:20'::timestamp) - extract(epoch from '2026-05-31 13:17:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573547 -3.238787)', '2026-05-31 13:17:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573549 -3.238778)'), GeomFromEWKT('SRID=4674;POINT (-38.573547 -3.238787)'))) / (select extract(epoch from '2026-05-31 13:17:21'::timestamp) - extract(epoch from '2026-05-31 13:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573549 -3.238778)'), GeomFromEWKT('SRID=4674;POINT (-38.573547 -3.238787)'))) / (select extract(epoch from '2026-05-31 13:17:21'::timestamp) - extract(epoch from '2026-05-31 13:17: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'), 46535, 'SRID=4674;POINT (-38.573539 -3.238833)', '2026-05-31 13:17:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573547 -3.238787)'), GeomFromEWKT('SRID=4674;POINT (-38.573539 -3.238833)'))) / (select extract(epoch from '2026-05-31 13:17:25'::timestamp) - extract(epoch from '2026-05-31 13:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573547 -3.238787)'), GeomFromEWKT('SRID=4674;POINT (-38.573539 -3.238833)'))) / (select extract(epoch from '2026-05-31 13:17:25'::timestamp) - extract(epoch from '2026-05-31 13:17: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'), 46535, 'SRID=4674;POINT (-38.573527 -3.2389)', '2026-05-31 13:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573539 -3.238833)'), GeomFromEWKT('SRID=4674;POINT (-38.573527 -3.2389)'))) / (select extract(epoch from '2026-05-31 13:17:32'::timestamp) - extract(epoch from '2026-05-31 13:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573539 -3.238833)'), GeomFromEWKT('SRID=4674;POINT (-38.573527 -3.2389)'))) / (select extract(epoch from '2026-05-31 13:17:32'::timestamp) - extract(epoch from '2026-05-31 13:17:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573509 -3.238957)', '2026-05-31 13:17:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573527 -3.2389)'), GeomFromEWKT('SRID=4674;POINT (-38.573509 -3.238957)'))) / (select extract(epoch from '2026-05-31 13:17:38'::timestamp) - extract(epoch from '2026-05-31 13:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573527 -3.2389)'), GeomFromEWKT('SRID=4674;POINT (-38.573509 -3.238957)'))) / (select extract(epoch from '2026-05-31 13:17:38'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573491 -3.239015)', '2026-05-31 13:17:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573509 -3.238957)'), GeomFromEWKT('SRID=4674;POINT (-38.573491 -3.239015)'))) / (select extract(epoch from '2026-05-31 13:17:45'::timestamp) - extract(epoch from '2026-05-31 13:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573509 -3.238957)'), GeomFromEWKT('SRID=4674;POINT (-38.573491 -3.239015)'))) / (select extract(epoch from '2026-05-31 13:17:45'::timestamp) - extract(epoch from '2026-05-31 13:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573477 -3.239072)', '2026-05-31 13:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573491 -3.239015)'), GeomFromEWKT('SRID=4674;POINT (-38.573477 -3.239072)'))) / (select extract(epoch from '2026-05-31 13:17:51'::timestamp) - extract(epoch from '2026-05-31 13:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573491 -3.239015)'), GeomFromEWKT('SRID=4674;POINT (-38.573477 -3.239072)'))) / (select extract(epoch from '2026-05-31 13:17:51'::timestamp) - extract(epoch from '2026-05-31 13:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573466 -3.239132)', '2026-05-31 13:17:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573477 -3.239072)'), GeomFromEWKT('SRID=4674;POINT (-38.573466 -3.239132)'))) / (select extract(epoch from '2026-05-31 13:17:58'::timestamp) - extract(epoch from '2026-05-31 13:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573477 -3.239072)'), GeomFromEWKT('SRID=4674;POINT (-38.573466 -3.239132)'))) / (select extract(epoch from '2026-05-31 13:17:58'::timestamp) - extract(epoch from '2026-05-31 13:17: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'), 46535, 'SRID=4674;POINT (-38.57346 -3.23919)', '2026-05-31 13:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573466 -3.239132)'), GeomFromEWKT('SRID=4674;POINT (-38.57346 -3.23919)'))) / (select extract(epoch from '2026-05-31 13:18:04'::timestamp) - extract(epoch from '2026-05-31 13:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573466 -3.239132)'), GeomFromEWKT('SRID=4674;POINT (-38.57346 -3.23919)'))) / (select extract(epoch from '2026-05-31 13:18:04'::timestamp) - extract(epoch from '2026-05-31 13:17: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'), 46535, 'SRID=4674;POINT (-38.573456 -3.239266)', '2026-05-31 13:18:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57346 -3.23919)'), GeomFromEWKT('SRID=4674;POINT (-38.573456 -3.239266)'))) / (select extract(epoch from '2026-05-31 13:18:12'::timestamp) - extract(epoch from '2026-05-31 13:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57346 -3.23919)'), GeomFromEWKT('SRID=4674;POINT (-38.573456 -3.239266)'))) / (select extract(epoch from '2026-05-31 13:18:12'::timestamp) - extract(epoch from '2026-05-31 13:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573445 -3.239364)', '2026-05-31 13:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573456 -3.239266)'), GeomFromEWKT('SRID=4674;POINT (-38.573445 -3.239364)'))) / (select extract(epoch from '2026-05-31 13:18:24'::timestamp) - extract(epoch from '2026-05-31 13:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573456 -3.239266)'), GeomFromEWKT('SRID=4674;POINT (-38.573445 -3.239364)'))) / (select extract(epoch from '2026-05-31 13:18:24'::timestamp) - extract(epoch from '2026-05-31 13:18: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'), 46535, 'SRID=4674;POINT (-38.573438 -3.23942)', '2026-05-31 13:18:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573445 -3.239364)'), GeomFromEWKT('SRID=4674;POINT (-38.573438 -3.23942)'))) / (select extract(epoch from '2026-05-31 13:18:32'::timestamp) - extract(epoch from '2026-05-31 13:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573445 -3.239364)'), GeomFromEWKT('SRID=4674;POINT (-38.573438 -3.23942)'))) / (select extract(epoch from '2026-05-31 13:18:32'::timestamp) - extract(epoch from '2026-05-31 13:18: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'), 46535, 'SRID=4674;POINT (-38.573436 -3.23951)', '2026-05-31 13:18:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573438 -3.23942)'), GeomFromEWKT('SRID=4674;POINT (-38.573436 -3.23951)'))) / (select extract(epoch from '2026-05-31 13:18:43'::timestamp) - extract(epoch from '2026-05-31 13:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573438 -3.23942)'), GeomFromEWKT('SRID=4674;POINT (-38.573436 -3.23951)'))) / (select extract(epoch from '2026-05-31 13:18:43'::timestamp) - extract(epoch from '2026-05-31 13:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573419 -3.239603)', '2026-05-31 13:18:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573436 -3.23951)'), GeomFromEWKT('SRID=4674;POINT (-38.573419 -3.239603)'))) / (select extract(epoch from '2026-05-31 13:18:52'::timestamp) - extract(epoch from '2026-05-31 13:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573436 -3.23951)'), GeomFromEWKT('SRID=4674;POINT (-38.573419 -3.239603)'))) / (select extract(epoch from '2026-05-31 13:18:52'::timestamp) - extract(epoch from '2026-05-31 13:18: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'), 46535, 'SRID=4674;POINT (-38.573382 -3.239699)', '2026-05-31 13:19:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573419 -3.239603)'), GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.239699)'))) / (select extract(epoch from '2026-05-31 13:19:01'::timestamp) - extract(epoch from '2026-05-31 13:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573419 -3.239603)'), GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.239699)'))) / (select extract(epoch from '2026-05-31 13:19:01'::timestamp) - extract(epoch from '2026-05-31 13:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573379 -3.239707)', '2026-05-31 13:19:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.239699)'), GeomFromEWKT('SRID=4674;POINT (-38.573379 -3.239707)'))) / (select extract(epoch from '2026-05-31 13:19:02'::timestamp) - extract(epoch from '2026-05-31 13:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.239699)'), GeomFromEWKT('SRID=4674;POINT (-38.573379 -3.239707)'))) / (select extract(epoch from '2026-05-31 13:19:02'::timestamp) - extract(epoch from '2026-05-31 13:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573363 -3.239748)', '2026-05-31 13:19:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573379 -3.239707)'), GeomFromEWKT('SRID=4674;POINT (-38.573363 -3.239748)'))) / (select extract(epoch from '2026-05-31 13:19:06'::timestamp) - extract(epoch from '2026-05-31 13:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573379 -3.239707)'), GeomFromEWKT('SRID=4674;POINT (-38.573363 -3.239748)'))) / (select extract(epoch from '2026-05-31 13:19:06'::timestamp) - extract(epoch from '2026-05-31 13:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573327 -3.239835)', '2026-05-31 13:19:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573363 -3.239748)'), GeomFromEWKT('SRID=4674;POINT (-38.573327 -3.239835)'))) / (select extract(epoch from '2026-05-31 13:19:14'::timestamp) - extract(epoch from '2026-05-31 13:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573363 -3.239748)'), GeomFromEWKT('SRID=4674;POINT (-38.573327 -3.239835)'))) / (select extract(epoch from '2026-05-31 13:19:14'::timestamp) - extract(epoch from '2026-05-31 13:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573304 -3.239906)', '2026-05-31 13:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573327 -3.239835)'), GeomFromEWKT('SRID=4674;POINT (-38.573304 -3.239906)'))) / (select extract(epoch from '2026-05-31 13:19:20'::timestamp) - extract(epoch from '2026-05-31 13:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573327 -3.239835)'), GeomFromEWKT('SRID=4674;POINT (-38.573304 -3.239906)'))) / (select extract(epoch from '2026-05-31 13:19:20'::timestamp) - extract(epoch from '2026-05-31 13:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573295 -3.239936)', '2026-05-31 13:19:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573304 -3.239906)'), GeomFromEWKT('SRID=4674;POINT (-38.573295 -3.239936)'))) / (select extract(epoch from '2026-05-31 13:19:23'::timestamp) - extract(epoch from '2026-05-31 13:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573304 -3.239906)'), GeomFromEWKT('SRID=4674;POINT (-38.573295 -3.239936)'))) / (select extract(epoch from '2026-05-31 13:19:23'::timestamp) - extract(epoch from '2026-05-31 13:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573283 -3.239967)', '2026-05-31 13:19:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573295 -3.239936)'), GeomFromEWKT('SRID=4674;POINT (-38.573283 -3.239967)'))) / (select extract(epoch from '2026-05-31 13:19:26'::timestamp) - extract(epoch from '2026-05-31 13:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573295 -3.239936)'), GeomFromEWKT('SRID=4674;POINT (-38.573283 -3.239967)'))) / (select extract(epoch from '2026-05-31 13:19:26'::timestamp) - extract(epoch from '2026-05-31 13:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573263 -3.240016)', '2026-05-31 13:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573283 -3.239967)'), GeomFromEWKT('SRID=4674;POINT (-38.573263 -3.240016)'))) / (select extract(epoch from '2026-05-31 13:19:31'::timestamp) - extract(epoch from '2026-05-31 13:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573283 -3.239967)'), GeomFromEWKT('SRID=4674;POINT (-38.573263 -3.240016)'))) / (select extract(epoch from '2026-05-31 13:19:31'::timestamp) - extract(epoch from '2026-05-31 13:19: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'), 46535, 'SRID=4674;POINT (-38.573261 -3.240025)', '2026-05-31 13:19:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573263 -3.240016)'), GeomFromEWKT('SRID=4674;POINT (-38.573261 -3.240025)'))) / (select extract(epoch from '2026-05-31 13:19:32'::timestamp) - extract(epoch from '2026-05-31 13:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573263 -3.240016)'), GeomFromEWKT('SRID=4674;POINT (-38.573261 -3.240025)'))) / (select extract(epoch from '2026-05-31 13:19:32'::timestamp) - extract(epoch from '2026-05-31 13:19: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'), 46535, 'SRID=4674;POINT (-38.573246 -3.240064)', '2026-05-31 13:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573261 -3.240025)'), GeomFromEWKT('SRID=4674;POINT (-38.573246 -3.240064)'))) / (select extract(epoch from '2026-05-31 13:19:36'::timestamp) - extract(epoch from '2026-05-31 13:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573261 -3.240025)'), GeomFromEWKT('SRID=4674;POINT (-38.573246 -3.240064)'))) / (select extract(epoch from '2026-05-31 13:19:36'::timestamp) - extract(epoch from '2026-05-31 13:19: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'), 46535, 'SRID=4674;POINT (-38.573232 -3.240103)', '2026-05-31 13:19:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573246 -3.240064)'), GeomFromEWKT('SRID=4674;POINT (-38.573232 -3.240103)'))) / (select extract(epoch from '2026-05-31 13:19:40'::timestamp) - extract(epoch from '2026-05-31 13:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573246 -3.240064)'), GeomFromEWKT('SRID=4674;POINT (-38.573232 -3.240103)'))) / (select extract(epoch from '2026-05-31 13:19:40'::timestamp) - extract(epoch from '2026-05-31 13:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573225 -3.240135)', '2026-05-31 13:19:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573232 -3.240103)'), GeomFromEWKT('SRID=4674;POINT (-38.573225 -3.240135)'))) / (select extract(epoch from '2026-05-31 13:19:43'::timestamp) - extract(epoch from '2026-05-31 13:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573232 -3.240103)'), GeomFromEWKT('SRID=4674;POINT (-38.573225 -3.240135)'))) / (select extract(epoch from '2026-05-31 13:19:43'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573225 -3.240184)', '2026-05-31 13:19:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573225 -3.240135)'), GeomFromEWKT('SRID=4674;POINT (-38.573225 -3.240184)'))) / (select extract(epoch from '2026-05-31 13:19:48'::timestamp) - extract(epoch from '2026-05-31 13:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573225 -3.240135)'), GeomFromEWKT('SRID=4674;POINT (-38.573225 -3.240184)'))) / (select extract(epoch from '2026-05-31 13:19:48'::timestamp) - extract(epoch from '2026-05-31 13:19: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'), 46535, 'SRID=4674;POINT (-38.573228 -3.240197)', '2026-05-31 13:19:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573225 -3.240184)'), GeomFromEWKT('SRID=4674;POINT (-38.573228 -3.240197)'))) / (select extract(epoch from '2026-05-31 13:19:49'::timestamp) - extract(epoch from '2026-05-31 13:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573225 -3.240184)'), GeomFromEWKT('SRID=4674;POINT (-38.573228 -3.240197)'))) / (select extract(epoch from '2026-05-31 13:19:49'::timestamp) - extract(epoch from '2026-05-31 13:19: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'), 46535, 'SRID=4674;POINT (-38.57323 -3.24026)', '2026-05-31 13:19:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573228 -3.240197)'), GeomFromEWKT('SRID=4674;POINT (-38.57323 -3.24026)'))) / (select extract(epoch from '2026-05-31 13:19:55'::timestamp) - extract(epoch from '2026-05-31 13:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573228 -3.240197)'), GeomFromEWKT('SRID=4674;POINT (-38.57323 -3.24026)'))) / (select extract(epoch from '2026-05-31 13:19:55'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.57323 -3.240365)', '2026-05-31 13:20:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57323 -3.24026)'), GeomFromEWKT('SRID=4674;POINT (-38.57323 -3.240365)'))) / (select extract(epoch from '2026-05-31 13:20:05'::timestamp) - extract(epoch from '2026-05-31 13:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57323 -3.24026)'), GeomFromEWKT('SRID=4674;POINT (-38.57323 -3.240365)'))) / (select extract(epoch from '2026-05-31 13:20:05'::timestamp) - extract(epoch from '2026-05-31 13:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573228 -3.240432)', '2026-05-31 13:20:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57323 -3.240365)'), GeomFromEWKT('SRID=4674;POINT (-38.573228 -3.240432)'))) / (select extract(epoch from '2026-05-31 13:20:12'::timestamp) - extract(epoch from '2026-05-31 13:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57323 -3.240365)'), GeomFromEWKT('SRID=4674;POINT (-38.573228 -3.240432)'))) / (select extract(epoch from '2026-05-31 13:20:12'::timestamp) - extract(epoch from '2026-05-31 13:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573237 -3.240488)', '2026-05-31 13:20:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573228 -3.240432)'), GeomFromEWKT('SRID=4674;POINT (-38.573237 -3.240488)'))) / (select extract(epoch from '2026-05-31 13:20:17'::timestamp) - extract(epoch from '2026-05-31 13:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573228 -3.240432)'), GeomFromEWKT('SRID=4674;POINT (-38.573237 -3.240488)'))) / (select extract(epoch from '2026-05-31 13:20:17'::timestamp) - extract(epoch from '2026-05-31 13:20: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'), 46535, 'SRID=4674;POINT (-38.573243 -3.240506)', '2026-05-31 13:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573237 -3.240488)'), GeomFromEWKT('SRID=4674;POINT (-38.573243 -3.240506)'))) / (select extract(epoch from '2026-05-31 13:20:19'::timestamp) - extract(epoch from '2026-05-31 13:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573237 -3.240488)'), GeomFromEWKT('SRID=4674;POINT (-38.573243 -3.240506)'))) / (select extract(epoch from '2026-05-31 13:20:19'::timestamp) - extract(epoch from '2026-05-31 13:20: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'), 46535, 'SRID=4674;POINT (-38.573255 -3.24053)', '2026-05-31 13:20:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573243 -3.240506)'), GeomFromEWKT('SRID=4674;POINT (-38.573255 -3.24053)'))) / (select extract(epoch from '2026-05-31 13:20:21'::timestamp) - extract(epoch from '2026-05-31 13:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573243 -3.240506)'), GeomFromEWKT('SRID=4674;POINT (-38.573255 -3.24053)'))) / (select extract(epoch from '2026-05-31 13:20:21'::timestamp) - extract(epoch from '2026-05-31 13:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573256 -3.240558)', '2026-05-31 13:20:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573255 -3.24053)'), GeomFromEWKT('SRID=4674;POINT (-38.573256 -3.240558)'))) / (select extract(epoch from '2026-05-31 13:20:23'::timestamp) - extract(epoch from '2026-05-31 13:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573255 -3.24053)'), GeomFromEWKT('SRID=4674;POINT (-38.573256 -3.240558)'))) / (select extract(epoch from '2026-05-31 13:20:23'::timestamp) - extract(epoch from '2026-05-31 13:20: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'), 46535, 'SRID=4674;POINT (-38.57326 -3.240567)', '2026-05-31 13:20:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573256 -3.240558)'), GeomFromEWKT('SRID=4674;POINT (-38.57326 -3.240567)'))) / (select extract(epoch from '2026-05-31 13:20:24'::timestamp) - extract(epoch from '2026-05-31 13:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573256 -3.240558)'), GeomFromEWKT('SRID=4674;POINT (-38.57326 -3.240567)'))) / (select extract(epoch from '2026-05-31 13:20:24'::timestamp) - extract(epoch from '2026-05-31 13:20: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'), 46535, 'SRID=4674;POINT (-38.573266 -3.240618)', '2026-05-31 13:20:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57326 -3.240567)'), GeomFromEWKT('SRID=4674;POINT (-38.573266 -3.240618)'))) / (select extract(epoch from '2026-05-31 13:20:28'::timestamp) - extract(epoch from '2026-05-31 13:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57326 -3.240567)'), GeomFromEWKT('SRID=4674;POINT (-38.573266 -3.240618)'))) / (select extract(epoch from '2026-05-31 13:20:28'::timestamp) - extract(epoch from '2026-05-31 13:20: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'), 46535, 'SRID=4674;POINT (-38.57328 -3.240692)', '2026-05-31 13:20:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573266 -3.240618)'), GeomFromEWKT('SRID=4674;POINT (-38.57328 -3.240692)'))) / (select extract(epoch from '2026-05-31 13:20:35'::timestamp) - extract(epoch from '2026-05-31 13:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573266 -3.240618)'), GeomFromEWKT('SRID=4674;POINT (-38.57328 -3.240692)'))) / (select extract(epoch from '2026-05-31 13:20:35'::timestamp) - extract(epoch from '2026-05-31 13:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573298 -3.24078)', '2026-05-31 13:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57328 -3.240692)'), GeomFromEWKT('SRID=4674;POINT (-38.573298 -3.24078)'))) / (select extract(epoch from '2026-05-31 13:20:42'::timestamp) - extract(epoch from '2026-05-31 13:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57328 -3.240692)'), GeomFromEWKT('SRID=4674;POINT (-38.573298 -3.24078)'))) / (select extract(epoch from '2026-05-31 13:20:42'::timestamp) - extract(epoch from '2026-05-31 13:20: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'), 46535, 'SRID=4674;POINT (-38.573322 -3.240861)', '2026-05-31 13:20:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573298 -3.24078)'), GeomFromEWKT('SRID=4674;POINT (-38.573322 -3.240861)'))) / (select extract(epoch from '2026-05-31 13:20:50'::timestamp) - extract(epoch from '2026-05-31 13:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573298 -3.24078)'), GeomFromEWKT('SRID=4674;POINT (-38.573322 -3.240861)'))) / (select extract(epoch from '2026-05-31 13:20:50'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573341 -3.240933)', '2026-05-31 13:20:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573322 -3.240861)'), GeomFromEWKT('SRID=4674;POINT (-38.573341 -3.240933)'))) / (select extract(epoch from '2026-05-31 13:20:56'::timestamp) - extract(epoch from '2026-05-31 13:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573322 -3.240861)'), GeomFromEWKT('SRID=4674;POINT (-38.573341 -3.240933)'))) / (select extract(epoch from '2026-05-31 13:20:56'::timestamp) - extract(epoch from '2026-05-31 13:20: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'), 46535, 'SRID=4674;POINT (-38.573346 -3.240966)', '2026-05-31 13:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573341 -3.240933)'), GeomFromEWKT('SRID=4674;POINT (-38.573346 -3.240966)'))) / (select extract(epoch from '2026-05-31 13:20:59'::timestamp) - extract(epoch from '2026-05-31 13:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573341 -3.240933)'), GeomFromEWKT('SRID=4674;POINT (-38.573346 -3.240966)'))) / (select extract(epoch from '2026-05-31 13:20:59'::timestamp) - extract(epoch from '2026-05-31 13:20: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'), 46535, 'SRID=4674;POINT (-38.573359 -3.240992)', '2026-05-31 13:21:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573346 -3.240966)'), GeomFromEWKT('SRID=4674;POINT (-38.573359 -3.240992)'))) / (select extract(epoch from '2026-05-31 13:21:02'::timestamp) - extract(epoch from '2026-05-31 13:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573346 -3.240966)'), GeomFromEWKT('SRID=4674;POINT (-38.573359 -3.240992)'))) / (select extract(epoch from '2026-05-31 13:21:02'::timestamp) - extract(epoch from '2026-05-31 13:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573388 -3.241068)', '2026-05-31 13:21:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573359 -3.240992)'), GeomFromEWKT('SRID=4674;POINT (-38.573388 -3.241068)'))) / (select extract(epoch from '2026-05-31 13:21:10'::timestamp) - extract(epoch from '2026-05-31 13:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573359 -3.240992)'), GeomFromEWKT('SRID=4674;POINT (-38.573388 -3.241068)'))) / (select extract(epoch from '2026-05-31 13:21:10'::timestamp) - extract(epoch from '2026-05-31 13:21: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'), 46535, 'SRID=4674;POINT (-38.573404 -3.241116)', '2026-05-31 13:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573388 -3.241068)'), GeomFromEWKT('SRID=4674;POINT (-38.573404 -3.241116)'))) / (select extract(epoch from '2026-05-31 13:21:17'::timestamp) - extract(epoch from '2026-05-31 13:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573388 -3.241068)'), GeomFromEWKT('SRID=4674;POINT (-38.573404 -3.241116)'))) / (select extract(epoch from '2026-05-31 13:21:17'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573411 -3.241177)', '2026-05-31 13:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573404 -3.241116)'), GeomFromEWKT('SRID=4674;POINT (-38.573411 -3.241177)'))) / (select extract(epoch from '2026-05-31 13:21:24'::timestamp) - extract(epoch from '2026-05-31 13:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573404 -3.241116)'), GeomFromEWKT('SRID=4674;POINT (-38.573411 -3.241177)'))) / (select extract(epoch from '2026-05-31 13:21:24'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573408 -3.241197)', '2026-05-31 13:21:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573411 -3.241177)'), GeomFromEWKT('SRID=4674;POINT (-38.573408 -3.241197)'))) / (select extract(epoch from '2026-05-31 13:21:26'::timestamp) - extract(epoch from '2026-05-31 13:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573411 -3.241177)'), GeomFromEWKT('SRID=4674;POINT (-38.573408 -3.241197)'))) / (select extract(epoch from '2026-05-31 13:21:26'::timestamp) - extract(epoch from '2026-05-31 13:21: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'), 46535, 'SRID=4674;POINT (-38.573409 -3.241208)', '2026-05-31 13:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573408 -3.241197)'), GeomFromEWKT('SRID=4674;POINT (-38.573409 -3.241208)'))) / (select extract(epoch from '2026-05-31 13:21:27'::timestamp) - extract(epoch from '2026-05-31 13:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573408 -3.241197)'), GeomFromEWKT('SRID=4674;POINT (-38.573409 -3.241208)'))) / (select extract(epoch from '2026-05-31 13:21:27'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573399 -3.241279)', '2026-05-31 13:21:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573409 -3.241208)'), GeomFromEWKT('SRID=4674;POINT (-38.573399 -3.241279)'))) / (select extract(epoch from '2026-05-31 13:21:33'::timestamp) - extract(epoch from '2026-05-31 13:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573409 -3.241208)'), GeomFromEWKT('SRID=4674;POINT (-38.573399 -3.241279)'))) / (select extract(epoch from '2026-05-31 13:21:33'::timestamp) - extract(epoch from '2026-05-31 13:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573382 -3.241351)', '2026-05-31 13:21:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573399 -3.241279)'), GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.241351)'))) / (select extract(epoch from '2026-05-31 13:21:40'::timestamp) - extract(epoch from '2026-05-31 13:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573399 -3.241279)'), GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.241351)'))) / (select extract(epoch from '2026-05-31 13:21:40'::timestamp) - extract(epoch from '2026-05-31 13:21: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'), 46535, 'SRID=4674;POINT (-38.573381 -3.241375)', '2026-05-31 13:21:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.241351)'), GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.241375)'))) / (select extract(epoch from '2026-05-31 13:21:42'::timestamp) - extract(epoch from '2026-05-31 13:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.241351)'), GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.241375)'))) / (select extract(epoch from '2026-05-31 13:21:42'::timestamp) - extract(epoch from '2026-05-31 13:21: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'), 46535, 'SRID=4674;POINT (-38.573372 -3.241402)', '2026-05-31 13:21:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.241375)'), GeomFromEWKT('SRID=4674;POINT (-38.573372 -3.241402)'))) / (select extract(epoch from '2026-05-31 13:21:45'::timestamp) - extract(epoch from '2026-05-31 13:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.241375)'), GeomFromEWKT('SRID=4674;POINT (-38.573372 -3.241402)'))) / (select extract(epoch from '2026-05-31 13:21:45'::timestamp) - extract(epoch from '2026-05-31 13:21: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'), 46535, 'SRID=4674;POINT (-38.573371 -3.24141)', '2026-05-31 13:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573372 -3.241402)'), GeomFromEWKT('SRID=4674;POINT (-38.573371 -3.24141)'))) / (select extract(epoch from '2026-05-31 13:21:46'::timestamp) - extract(epoch from '2026-05-31 13:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573372 -3.241402)'), GeomFromEWKT('SRID=4674;POINT (-38.573371 -3.24141)'))) / (select extract(epoch from '2026-05-31 13:21:46'::timestamp) - extract(epoch from '2026-05-31 13:21: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'), 46535, 'SRID=4674;POINT (-38.573369 -3.241443)', '2026-05-31 13:21:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573371 -3.24141)'), GeomFromEWKT('SRID=4674;POINT (-38.573369 -3.241443)'))) / (select extract(epoch from '2026-05-31 13:21:49'::timestamp) - extract(epoch from '2026-05-31 13:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573371 -3.24141)'), GeomFromEWKT('SRID=4674;POINT (-38.573369 -3.241443)'))) / (select extract(epoch from '2026-05-31 13:21:49'::timestamp) - extract(epoch from '2026-05-31 13:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573366 -3.241472)', '2026-05-31 13:21:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573369 -3.241443)'), GeomFromEWKT('SRID=4674;POINT (-38.573366 -3.241472)'))) / (select extract(epoch from '2026-05-31 13:21:52'::timestamp) - extract(epoch from '2026-05-31 13:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573369 -3.241443)'), GeomFromEWKT('SRID=4674;POINT (-38.573366 -3.241472)'))) / (select extract(epoch from '2026-05-31 13:21:52'::timestamp) - extract(epoch from '2026-05-31 13:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57337 -3.241492)', '2026-05-31 13:21:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573366 -3.241472)'), GeomFromEWKT('SRID=4674;POINT (-38.57337 -3.241492)'))) / (select extract(epoch from '2026-05-31 13:21:54'::timestamp) - extract(epoch from '2026-05-31 13:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573366 -3.241472)'), GeomFromEWKT('SRID=4674;POINT (-38.57337 -3.241492)'))) / (select extract(epoch from '2026-05-31 13:21:54'::timestamp) - extract(epoch from '2026-05-31 13:21: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'), 46535, 'SRID=4674;POINT (-38.573365 -3.241511)', '2026-05-31 13:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57337 -3.241492)'), GeomFromEWKT('SRID=4674;POINT (-38.573365 -3.241511)'))) / (select extract(epoch from '2026-05-31 13:21:56'::timestamp) - extract(epoch from '2026-05-31 13:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57337 -3.241492)'), GeomFromEWKT('SRID=4674;POINT (-38.573365 -3.241511)'))) / (select extract(epoch from '2026-05-31 13:21:56'::timestamp) - extract(epoch from '2026-05-31 13:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573366 -3.241526)', '2026-05-31 13:21:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573365 -3.241511)'), GeomFromEWKT('SRID=4674;POINT (-38.573366 -3.241526)'))) / (select extract(epoch from '2026-05-31 13:21:58'::timestamp) - extract(epoch from '2026-05-31 13:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573365 -3.241511)'), GeomFromEWKT('SRID=4674;POINT (-38.573366 -3.241526)'))) / (select extract(epoch from '2026-05-31 13:21:58'::timestamp) - extract(epoch from '2026-05-31 13:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573352 -3.2416)', '2026-05-31 13:22:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573366 -3.241526)'), GeomFromEWKT('SRID=4674;POINT (-38.573352 -3.2416)'))) / (select extract(epoch from '2026-05-31 13:22:07'::timestamp) - extract(epoch from '2026-05-31 13:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573366 -3.241526)'), GeomFromEWKT('SRID=4674;POINT (-38.573352 -3.2416)'))) / (select extract(epoch from '2026-05-31 13:22:07'::timestamp) - extract(epoch from '2026-05-31 13:21: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'), 46535, 'SRID=4674;POINT (-38.573346 -3.241637)', '2026-05-31 13:22:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573352 -3.2416)'), GeomFromEWKT('SRID=4674;POINT (-38.573346 -3.241637)'))) / (select extract(epoch from '2026-05-31 13:22:11'::timestamp) - extract(epoch from '2026-05-31 13:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573352 -3.2416)'), GeomFromEWKT('SRID=4674;POINT (-38.573346 -3.241637)'))) / (select extract(epoch from '2026-05-31 13:22:11'::timestamp) - extract(epoch from '2026-05-31 13:22: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'), 46535, 'SRID=4674;POINT (-38.573335 -3.241678)', '2026-05-31 13:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573346 -3.241637)'), GeomFromEWKT('SRID=4674;POINT (-38.573335 -3.241678)'))) / (select extract(epoch from '2026-05-31 13:22:15'::timestamp) - extract(epoch from '2026-05-31 13:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573346 -3.241637)'), GeomFromEWKT('SRID=4674;POINT (-38.573335 -3.241678)'))) / (select extract(epoch from '2026-05-31 13:22:15'::timestamp) - extract(epoch from '2026-05-31 13:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573317 -3.24177)', '2026-05-31 13:22:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573335 -3.241678)'), GeomFromEWKT('SRID=4674;POINT (-38.573317 -3.24177)'))) / (select extract(epoch from '2026-05-31 13:22:22'::timestamp) - extract(epoch from '2026-05-31 13:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573335 -3.241678)'), GeomFromEWKT('SRID=4674;POINT (-38.573317 -3.24177)'))) / (select extract(epoch from '2026-05-31 13:22:22'::timestamp) - extract(epoch from '2026-05-31 13:22:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573311 -3.241816)', '2026-05-31 13:22:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573317 -3.24177)'), GeomFromEWKT('SRID=4674;POINT (-38.573311 -3.241816)'))) / (select extract(epoch from '2026-05-31 13:22:27'::timestamp) - extract(epoch from '2026-05-31 13:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573317 -3.24177)'), GeomFromEWKT('SRID=4674;POINT (-38.573311 -3.241816)'))) / (select extract(epoch from '2026-05-31 13:22:27'::timestamp) - extract(epoch from '2026-05-31 13:22: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'), 46535, 'SRID=4674;POINT (-38.573299 -3.241855)', '2026-05-31 13:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573311 -3.241816)'), GeomFromEWKT('SRID=4674;POINT (-38.573299 -3.241855)'))) / (select extract(epoch from '2026-05-31 13:22:30'::timestamp) - extract(epoch from '2026-05-31 13:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573311 -3.241816)'), GeomFromEWKT('SRID=4674;POINT (-38.573299 -3.241855)'))) / (select extract(epoch from '2026-05-31 13:22:30'::timestamp) - extract(epoch from '2026-05-31 13:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.5733 -3.2419)', '2026-05-31 13:22:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573299 -3.241855)'), GeomFromEWKT('SRID=4674;POINT (-38.5733 -3.2419)'))) / (select extract(epoch from '2026-05-31 13:22:33'::timestamp) - extract(epoch from '2026-05-31 13:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573299 -3.241855)'), GeomFromEWKT('SRID=4674;POINT (-38.5733 -3.2419)'))) / (select extract(epoch from '2026-05-31 13:22:33'::timestamp) - extract(epoch from '2026-05-31 13:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.5733 -3.241992)', '2026-05-31 13:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5733 -3.2419)'), GeomFromEWKT('SRID=4674;POINT (-38.5733 -3.241992)'))) / (select extract(epoch from '2026-05-31 13:22:40'::timestamp) - extract(epoch from '2026-05-31 13:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5733 -3.2419)'), GeomFromEWKT('SRID=4674;POINT (-38.5733 -3.241992)'))) / (select extract(epoch from '2026-05-31 13:22:40'::timestamp) - extract(epoch from '2026-05-31 13:22: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'), 46535, 'SRID=4674;POINT (-38.573306 -3.242011)', '2026-05-31 13:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5733 -3.241992)'), GeomFromEWKT('SRID=4674;POINT (-38.573306 -3.242011)'))) / (select extract(epoch from '2026-05-31 13:22:42'::timestamp) - extract(epoch from '2026-05-31 13:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5733 -3.241992)'), GeomFromEWKT('SRID=4674;POINT (-38.573306 -3.242011)'))) / (select extract(epoch from '2026-05-31 13:22:42'::timestamp) - extract(epoch from '2026-05-31 13:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573318 -3.242044)', '2026-05-31 13:22:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573306 -3.242011)'), GeomFromEWKT('SRID=4674;POINT (-38.573318 -3.242044)'))) / (select extract(epoch from '2026-05-31 13:22:46'::timestamp) - extract(epoch from '2026-05-31 13:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573306 -3.242011)'), GeomFromEWKT('SRID=4674;POINT (-38.573318 -3.242044)'))) / (select extract(epoch from '2026-05-31 13:22:46'::timestamp) - extract(epoch from '2026-05-31 13:22: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'), 46535, 'SRID=4674;POINT (-38.573321 -3.242055)', '2026-05-31 13:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573318 -3.242044)'), GeomFromEWKT('SRID=4674;POINT (-38.573321 -3.242055)'))) / (select extract(epoch from '2026-05-31 13:22:47'::timestamp) - extract(epoch from '2026-05-31 13:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573318 -3.242044)'), GeomFromEWKT('SRID=4674;POINT (-38.573321 -3.242055)'))) / (select extract(epoch from '2026-05-31 13:22:47'::timestamp) - extract(epoch from '2026-05-31 13:22: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'), 46535, 'SRID=4674;POINT (-38.573337 -3.2421)', '2026-05-31 13:22:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573321 -3.242055)'), GeomFromEWKT('SRID=4674;POINT (-38.573337 -3.2421)'))) / (select extract(epoch from '2026-05-31 13:22:51'::timestamp) - extract(epoch from '2026-05-31 13:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573321 -3.242055)'), GeomFromEWKT('SRID=4674;POINT (-38.573337 -3.2421)'))) / (select extract(epoch from '2026-05-31 13:22:51'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573352 -3.242173)', '2026-05-31 13:22:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573337 -3.2421)'), GeomFromEWKT('SRID=4674;POINT (-38.573352 -3.242173)'))) / (select extract(epoch from '2026-05-31 13:22:58'::timestamp) - extract(epoch from '2026-05-31 13:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573337 -3.2421)'), GeomFromEWKT('SRID=4674;POINT (-38.573352 -3.242173)'))) / (select extract(epoch from '2026-05-31 13:22:58'::timestamp) - extract(epoch from '2026-05-31 13:22: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'), 46535, 'SRID=4674;POINT (-38.573361 -3.242247)', '2026-05-31 13:23:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573352 -3.242173)'), GeomFromEWKT('SRID=4674;POINT (-38.573361 -3.242247)'))) / (select extract(epoch from '2026-05-31 13:23:04'::timestamp) - extract(epoch from '2026-05-31 13:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573352 -3.242173)'), GeomFromEWKT('SRID=4674;POINT (-38.573361 -3.242247)'))) / (select extract(epoch from '2026-05-31 13:23:04'::timestamp) - extract(epoch from '2026-05-31 13:22: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'), 46535, 'SRID=4674;POINT (-38.573375 -3.242308)', '2026-05-31 13:23:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573361 -3.242247)'), GeomFromEWKT('SRID=4674;POINT (-38.573375 -3.242308)'))) / (select extract(epoch from '2026-05-31 13:23:11'::timestamp) - extract(epoch from '2026-05-31 13:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573361 -3.242247)'), GeomFromEWKT('SRID=4674;POINT (-38.573375 -3.242308)'))) / (select extract(epoch from '2026-05-31 13:23:11'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573378 -3.242335)', '2026-05-31 13:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573375 -3.242308)'), GeomFromEWKT('SRID=4674;POINT (-38.573378 -3.242335)'))) / (select extract(epoch from '2026-05-31 13:23:14'::timestamp) - extract(epoch from '2026-05-31 13:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573375 -3.242308)'), GeomFromEWKT('SRID=4674;POINT (-38.573378 -3.242335)'))) / (select extract(epoch from '2026-05-31 13:23:14'::timestamp) - extract(epoch from '2026-05-31 13:23: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'), 46535, 'SRID=4674;POINT (-38.573378 -3.242352)', '2026-05-31 13:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573378 -3.242335)'), GeomFromEWKT('SRID=4674;POINT (-38.573378 -3.242352)'))) / (select extract(epoch from '2026-05-31 13:23:16'::timestamp) - extract(epoch from '2026-05-31 13:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573378 -3.242335)'), GeomFromEWKT('SRID=4674;POINT (-38.573378 -3.242352)'))) / (select extract(epoch from '2026-05-31 13:23:16'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573381 -3.242362)', '2026-05-31 13:23:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573378 -3.242352)'), GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.242362)'))) / (select extract(epoch from '2026-05-31 13:23:17'::timestamp) - extract(epoch from '2026-05-31 13:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573378 -3.242352)'), GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.242362)'))) / (select extract(epoch from '2026-05-31 13:23:17'::timestamp) - extract(epoch from '2026-05-31 13:23: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'), 46535, 'SRID=4674;POINT (-38.573381 -3.242374)', '2026-05-31 13:23:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.242362)'), GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.242374)'))) / (select extract(epoch from '2026-05-31 13:23:18'::timestamp) - extract(epoch from '2026-05-31 13:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.242362)'), GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.242374)'))) / (select extract(epoch from '2026-05-31 13:23:18'::timestamp) - extract(epoch from '2026-05-31 13:23: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'), 46535, 'SRID=4674;POINT (-38.573382 -3.242393)', '2026-05-31 13:23:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.242374)'), GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.242393)'))) / (select extract(epoch from '2026-05-31 13:23:20'::timestamp) - extract(epoch from '2026-05-31 13:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573381 -3.242374)'), GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.242393)'))) / (select extract(epoch from '2026-05-31 13:23:20'::timestamp) - extract(epoch from '2026-05-31 13:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573376 -3.242413)', '2026-05-31 13:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.242393)'), GeomFromEWKT('SRID=4674;POINT (-38.573376 -3.242413)'))) / (select extract(epoch from '2026-05-31 13:23:22'::timestamp) - extract(epoch from '2026-05-31 13:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573382 -3.242393)'), GeomFromEWKT('SRID=4674;POINT (-38.573376 -3.242413)'))) / (select extract(epoch from '2026-05-31 13:23:22'::timestamp) - extract(epoch from '2026-05-31 13:23: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'), 46535, 'SRID=4674;POINT (-38.573379 -3.242456)', '2026-05-31 13:23:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573376 -3.242413)'), GeomFromEWKT('SRID=4674;POINT (-38.573379 -3.242456)'))) / (select extract(epoch from '2026-05-31 13:23:28'::timestamp) - extract(epoch from '2026-05-31 13:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573376 -3.242413)'), GeomFromEWKT('SRID=4674;POINT (-38.573379 -3.242456)'))) / (select extract(epoch from '2026-05-31 13:23:28'::timestamp) - extract(epoch from '2026-05-31 13:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57338 -3.242517)', '2026-05-31 13:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573379 -3.242456)'), GeomFromEWKT('SRID=4674;POINT (-38.57338 -3.242517)'))) / (select extract(epoch from '2026-05-31 13:23:36'::timestamp) - extract(epoch from '2026-05-31 13:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573379 -3.242456)'), GeomFromEWKT('SRID=4674;POINT (-38.57338 -3.242517)'))) / (select extract(epoch from '2026-05-31 13:23:36'::timestamp) - extract(epoch from '2026-05-31 13:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573372 -3.242614)', '2026-05-31 13:23:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57338 -3.242517)'), GeomFromEWKT('SRID=4674;POINT (-38.573372 -3.242614)'))) / (select extract(epoch from '2026-05-31 13:23:46'::timestamp) - extract(epoch from '2026-05-31 13:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57338 -3.242517)'), GeomFromEWKT('SRID=4674;POINT (-38.573372 -3.242614)'))) / (select extract(epoch from '2026-05-31 13:23:46'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.57337 -3.242699)', '2026-05-31 13:23:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573372 -3.242614)'), GeomFromEWKT('SRID=4674;POINT (-38.57337 -3.242699)'))) / (select extract(epoch from '2026-05-31 13:23:54'::timestamp) - extract(epoch from '2026-05-31 13:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573372 -3.242614)'), GeomFromEWKT('SRID=4674;POINT (-38.57337 -3.242699)'))) / (select extract(epoch from '2026-05-31 13:23:54'::timestamp) - extract(epoch from '2026-05-31 13:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573371 -3.242707)', '2026-05-31 13:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57337 -3.242699)'), GeomFromEWKT('SRID=4674;POINT (-38.573371 -3.242707)'))) / (select extract(epoch from '2026-05-31 13:23:55'::timestamp) - extract(epoch from '2026-05-31 13:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57337 -3.242699)'), GeomFromEWKT('SRID=4674;POINT (-38.573371 -3.242707)'))) / (select extract(epoch from '2026-05-31 13:23:55'::timestamp) - extract(epoch from '2026-05-31 13:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573373 -3.242733)', '2026-05-31 13:23:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573371 -3.242707)'), GeomFromEWKT('SRID=4674;POINT (-38.573373 -3.242733)'))) / (select extract(epoch from '2026-05-31 13:23:58'::timestamp) - extract(epoch from '2026-05-31 13:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573371 -3.242707)'), GeomFromEWKT('SRID=4674;POINT (-38.573373 -3.242733)'))) / (select extract(epoch from '2026-05-31 13:23:58'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573368 -3.242758)', '2026-05-31 13:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573373 -3.242733)'), GeomFromEWKT('SRID=4674;POINT (-38.573368 -3.242758)'))) / (select extract(epoch from '2026-05-31 13:24:01'::timestamp) - extract(epoch from '2026-05-31 13:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573373 -3.242733)'), GeomFromEWKT('SRID=4674;POINT (-38.573368 -3.242758)'))) / (select extract(epoch from '2026-05-31 13:24:01'::timestamp) - extract(epoch from '2026-05-31 13:23: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'), 46535, 'SRID=4674;POINT (-38.573351 -3.242837)', '2026-05-31 13:24:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573368 -3.242758)'), GeomFromEWKT('SRID=4674;POINT (-38.573351 -3.242837)'))) / (select extract(epoch from '2026-05-31 13:24:10'::timestamp) - extract(epoch from '2026-05-31 13:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573368 -3.242758)'), GeomFromEWKT('SRID=4674;POINT (-38.573351 -3.242837)'))) / (select extract(epoch from '2026-05-31 13:24:10'::timestamp) - extract(epoch from '2026-05-31 13:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573331 -3.2429)', '2026-05-31 13:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573351 -3.242837)'), GeomFromEWKT('SRID=4674;POINT (-38.573331 -3.2429)'))) / (select extract(epoch from '2026-05-31 13:24:17'::timestamp) - extract(epoch from '2026-05-31 13:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573351 -3.242837)'), GeomFromEWKT('SRID=4674;POINT (-38.573331 -3.2429)'))) / (select extract(epoch from '2026-05-31 13:24:17'::timestamp) - extract(epoch from '2026-05-31 13:24: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'), 46535, 'SRID=4674;POINT (-38.573282 -3.242989)', '2026-05-31 13:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573331 -3.2429)'), GeomFromEWKT('SRID=4674;POINT (-38.573282 -3.242989)'))) / (select extract(epoch from '2026-05-31 13:24:26'::timestamp) - extract(epoch from '2026-05-31 13:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573331 -3.2429)'), GeomFromEWKT('SRID=4674;POINT (-38.573282 -3.242989)'))) / (select extract(epoch from '2026-05-31 13:24:26'::timestamp) - extract(epoch from '2026-05-31 13:24: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'), 46535, 'SRID=4674;POINT (-38.573233 -3.243064)', '2026-05-31 13:24:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573282 -3.242989)'), GeomFromEWKT('SRID=4674;POINT (-38.573233 -3.243064)'))) / (select extract(epoch from '2026-05-31 13:24:33'::timestamp) - extract(epoch from '2026-05-31 13:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573282 -3.242989)'), GeomFromEWKT('SRID=4674;POINT (-38.573233 -3.243064)'))) / (select extract(epoch from '2026-05-31 13:24:33'::timestamp) - extract(epoch from '2026-05-31 13:24: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'), 46535, 'SRID=4674;POINT (-38.573196 -3.243132)', '2026-05-31 13:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573233 -3.243064)'), GeomFromEWKT('SRID=4674;POINT (-38.573196 -3.243132)'))) / (select extract(epoch from '2026-05-31 13:24:40'::timestamp) - extract(epoch from '2026-05-31 13:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573233 -3.243064)'), GeomFromEWKT('SRID=4674;POINT (-38.573196 -3.243132)'))) / (select extract(epoch from '2026-05-31 13:24:40'::timestamp) - extract(epoch from '2026-05-31 13:24: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'), 46535, 'SRID=4674;POINT (-38.573178 -3.243191)', '2026-05-31 13:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573196 -3.243132)'), GeomFromEWKT('SRID=4674;POINT (-38.573178 -3.243191)'))) / (select extract(epoch from '2026-05-31 13:24:47'::timestamp) - extract(epoch from '2026-05-31 13:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573196 -3.243132)'), GeomFromEWKT('SRID=4674;POINT (-38.573178 -3.243191)'))) / (select extract(epoch from '2026-05-31 13:24:47'::timestamp) - extract(epoch from '2026-05-31 13:24: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'), 46535, 'SRID=4674;POINT (-38.573145 -3.243272)', '2026-05-31 13:24:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573178 -3.243191)'), GeomFromEWKT('SRID=4674;POINT (-38.573145 -3.243272)'))) / (select extract(epoch from '2026-05-31 13:24:56'::timestamp) - extract(epoch from '2026-05-31 13:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573178 -3.243191)'), GeomFromEWKT('SRID=4674;POINT (-38.573145 -3.243272)'))) / (select extract(epoch from '2026-05-31 13:24:56'::timestamp) - extract(epoch from '2026-05-31 13:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573144 -3.243281)', '2026-05-31 13:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573145 -3.243272)'), GeomFromEWKT('SRID=4674;POINT (-38.573144 -3.243281)'))) / (select extract(epoch from '2026-05-31 13:24:57'::timestamp) - extract(epoch from '2026-05-31 13:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573145 -3.243272)'), GeomFromEWKT('SRID=4674;POINT (-38.573144 -3.243281)'))) / (select extract(epoch from '2026-05-31 13:24:57'::timestamp) - extract(epoch from '2026-05-31 13:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573126 -3.243311)', '2026-05-31 13:25:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573144 -3.243281)'), GeomFromEWKT('SRID=4674;POINT (-38.573126 -3.243311)'))) / (select extract(epoch from '2026-05-31 13:25:00'::timestamp) - extract(epoch from '2026-05-31 13:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573144 -3.243281)'), GeomFromEWKT('SRID=4674;POINT (-38.573126 -3.243311)'))) / (select extract(epoch from '2026-05-31 13:25:00'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573121 -3.243337)', '2026-05-31 13:25:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573126 -3.243311)'), GeomFromEWKT('SRID=4674;POINT (-38.573121 -3.243337)'))) / (select extract(epoch from '2026-05-31 13:25:02'::timestamp) - extract(epoch from '2026-05-31 13:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573126 -3.243311)'), GeomFromEWKT('SRID=4674;POINT (-38.573121 -3.243337)'))) / (select extract(epoch from '2026-05-31 13:25:02'::timestamp) - extract(epoch from '2026-05-31 13:25: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'), 46535, 'SRID=4674;POINT (-38.57309 -3.243399)', '2026-05-31 13:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573121 -3.243337)'), GeomFromEWKT('SRID=4674;POINT (-38.57309 -3.243399)'))) / (select extract(epoch from '2026-05-31 13:25:08'::timestamp) - extract(epoch from '2026-05-31 13:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573121 -3.243337)'), GeomFromEWKT('SRID=4674;POINT (-38.57309 -3.243399)'))) / (select extract(epoch from '2026-05-31 13:25:08'::timestamp) - extract(epoch from '2026-05-31 13:25: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'), 46535, 'SRID=4674;POINT (-38.573077 -3.243435)', '2026-05-31 13:25:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57309 -3.243399)'), GeomFromEWKT('SRID=4674;POINT (-38.573077 -3.243435)'))) / (select extract(epoch from '2026-05-31 13:25:11'::timestamp) - extract(epoch from '2026-05-31 13:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57309 -3.243399)'), GeomFromEWKT('SRID=4674;POINT (-38.573077 -3.243435)'))) / (select extract(epoch from '2026-05-31 13:25:11'::timestamp) - extract(epoch from '2026-05-31 13:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573075 -3.243452)', '2026-05-31 13:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573077 -3.243435)'), GeomFromEWKT('SRID=4674;POINT (-38.573075 -3.243452)'))) / (select extract(epoch from '2026-05-31 13:25:13'::timestamp) - extract(epoch from '2026-05-31 13:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573077 -3.243435)'), GeomFromEWKT('SRID=4674;POINT (-38.573075 -3.243452)'))) / (select extract(epoch from '2026-05-31 13:25:13'::timestamp) - extract(epoch from '2026-05-31 13:25: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'), 46535, 'SRID=4674;POINT (-38.573069 -3.243461)', '2026-05-31 13:25:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573075 -3.243452)'), GeomFromEWKT('SRID=4674;POINT (-38.573069 -3.243461)'))) / (select extract(epoch from '2026-05-31 13:25:14'::timestamp) - extract(epoch from '2026-05-31 13:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573075 -3.243452)'), GeomFromEWKT('SRID=4674;POINT (-38.573069 -3.243461)'))) / (select extract(epoch from '2026-05-31 13:25:14'::timestamp) - extract(epoch from '2026-05-31 13:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573052 -3.243516)', '2026-05-31 13:25:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573069 -3.243461)'), GeomFromEWKT('SRID=4674;POINT (-38.573052 -3.243516)'))) / (select extract(epoch from '2026-05-31 13:25:20'::timestamp) - extract(epoch from '2026-05-31 13:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573069 -3.243461)'), GeomFromEWKT('SRID=4674;POINT (-38.573052 -3.243516)'))) / (select extract(epoch from '2026-05-31 13:25:20'::timestamp) - extract(epoch from '2026-05-31 13:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573035 -3.243566)', '2026-05-31 13:25:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573052 -3.243516)'), GeomFromEWKT('SRID=4674;POINT (-38.573035 -3.243566)'))) / (select extract(epoch from '2026-05-31 13:25:26'::timestamp) - extract(epoch from '2026-05-31 13:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573052 -3.243516)'), GeomFromEWKT('SRID=4674;POINT (-38.573035 -3.243566)'))) / (select extract(epoch from '2026-05-31 13:25:26'::timestamp) - extract(epoch from '2026-05-31 13:25: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'), 46535, 'SRID=4674;POINT (-38.573016 -3.24363)', '2026-05-31 13:25:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573035 -3.243566)'), GeomFromEWKT('SRID=4674;POINT (-38.573016 -3.24363)'))) / (select extract(epoch from '2026-05-31 13:25:32'::timestamp) - extract(epoch from '2026-05-31 13:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573035 -3.243566)'), GeomFromEWKT('SRID=4674;POINT (-38.573016 -3.24363)'))) / (select extract(epoch from '2026-05-31 13:25:32'::timestamp) - extract(epoch from '2026-05-31 13:25: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'), 46535, 'SRID=4674;POINT (-38.572995 -3.243701)', '2026-05-31 13:25:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573016 -3.24363)'), GeomFromEWKT('SRID=4674;POINT (-38.572995 -3.243701)'))) / (select extract(epoch from '2026-05-31 13:25:39'::timestamp) - extract(epoch from '2026-05-31 13:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573016 -3.24363)'), GeomFromEWKT('SRID=4674;POINT (-38.572995 -3.243701)'))) / (select extract(epoch from '2026-05-31 13:25:39'::timestamp) - extract(epoch from '2026-05-31 13:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572979 -3.243765)', '2026-05-31 13:25:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572995 -3.243701)'), GeomFromEWKT('SRID=4674;POINT (-38.572979 -3.243765)'))) / (select extract(epoch from '2026-05-31 13:25:46'::timestamp) - extract(epoch from '2026-05-31 13:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572995 -3.243701)'), GeomFromEWKT('SRID=4674;POINT (-38.572979 -3.243765)'))) / (select extract(epoch from '2026-05-31 13:25:46'::timestamp) - extract(epoch from '2026-05-31 13:25: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'), 46535, 'SRID=4674;POINT (-38.57296 -3.243835)', '2026-05-31 13:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572979 -3.243765)'), GeomFromEWKT('SRID=4674;POINT (-38.57296 -3.243835)'))) / (select extract(epoch from '2026-05-31 13:25:54'::timestamp) - extract(epoch from '2026-05-31 13:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572979 -3.243765)'), GeomFromEWKT('SRID=4674;POINT (-38.57296 -3.243835)'))) / (select extract(epoch from '2026-05-31 13:25:54'::timestamp) - extract(epoch from '2026-05-31 13:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572955 -3.243843)', '2026-05-31 13:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57296 -3.243835)'), GeomFromEWKT('SRID=4674;POINT (-38.572955 -3.243843)'))) / (select extract(epoch from '2026-05-31 13:25:55'::timestamp) - extract(epoch from '2026-05-31 13:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57296 -3.243835)'), GeomFromEWKT('SRID=4674;POINT (-38.572955 -3.243843)'))) / (select extract(epoch from '2026-05-31 13:25:55'::timestamp) - extract(epoch from '2026-05-31 13:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57294 -3.243904)', '2026-05-31 13:26:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572955 -3.243843)'), GeomFromEWKT('SRID=4674;POINT (-38.57294 -3.243904)'))) / (select extract(epoch from '2026-05-31 13:26:01'::timestamp) - extract(epoch from '2026-05-31 13:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572955 -3.243843)'), GeomFromEWKT('SRID=4674;POINT (-38.57294 -3.243904)'))) / (select extract(epoch from '2026-05-31 13:26:01'::timestamp) - extract(epoch from '2026-05-31 13:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572939 -3.243924)', '2026-05-31 13:26:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57294 -3.243904)'), GeomFromEWKT('SRID=4674;POINT (-38.572939 -3.243924)'))) / (select extract(epoch from '2026-05-31 13:26:03'::timestamp) - extract(epoch from '2026-05-31 13:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57294 -3.243904)'), GeomFromEWKT('SRID=4674;POINT (-38.572939 -3.243924)'))) / (select extract(epoch from '2026-05-31 13:26:03'::timestamp) - extract(epoch from '2026-05-31 13:26: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'), 46535, 'SRID=4674;POINT (-38.57292 -3.243963)', '2026-05-31 13:26:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572939 -3.243924)'), GeomFromEWKT('SRID=4674;POINT (-38.57292 -3.243963)'))) / (select extract(epoch from '2026-05-31 13:26:07'::timestamp) - extract(epoch from '2026-05-31 13:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572939 -3.243924)'), GeomFromEWKT('SRID=4674;POINT (-38.57292 -3.243963)'))) / (select extract(epoch from '2026-05-31 13:26:07'::timestamp) - extract(epoch from '2026-05-31 13:26: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'), 46535, 'SRID=4674;POINT (-38.572917 -3.243975)', '2026-05-31 13:26:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57292 -3.243963)'), GeomFromEWKT('SRID=4674;POINT (-38.572917 -3.243975)'))) / (select extract(epoch from '2026-05-31 13:26:08'::timestamp) - extract(epoch from '2026-05-31 13:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57292 -3.243963)'), GeomFromEWKT('SRID=4674;POINT (-38.572917 -3.243975)'))) / (select extract(epoch from '2026-05-31 13:26:08'::timestamp) - extract(epoch from '2026-05-31 13:26: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'), 46535, 'SRID=4674;POINT (-38.572897 -3.244018)', '2026-05-31 13:26:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572917 -3.243975)'), GeomFromEWKT('SRID=4674;POINT (-38.572897 -3.244018)'))) / (select extract(epoch from '2026-05-31 13:26:12'::timestamp) - extract(epoch from '2026-05-31 13:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572917 -3.243975)'), GeomFromEWKT('SRID=4674;POINT (-38.572897 -3.244018)'))) / (select extract(epoch from '2026-05-31 13:26:12'::timestamp) - extract(epoch from '2026-05-31 13:26: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'), 46535, 'SRID=4674;POINT (-38.572875 -3.244098)', '2026-05-31 13:26:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572897 -3.244018)'), GeomFromEWKT('SRID=4674;POINT (-38.572875 -3.244098)'))) / (select extract(epoch from '2026-05-31 13:26:19'::timestamp) - extract(epoch from '2026-05-31 13:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572897 -3.244018)'), GeomFromEWKT('SRID=4674;POINT (-38.572875 -3.244098)'))) / (select extract(epoch from '2026-05-31 13:26:19'::timestamp) - extract(epoch from '2026-05-31 13:26: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'), 46535, 'SRID=4674;POINT (-38.572848 -3.244186)', '2026-05-31 13:26:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572875 -3.244098)'), GeomFromEWKT('SRID=4674;POINT (-38.572848 -3.244186)'))) / (select extract(epoch from '2026-05-31 13:26:27'::timestamp) - extract(epoch from '2026-05-31 13:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572875 -3.244098)'), GeomFromEWKT('SRID=4674;POINT (-38.572848 -3.244186)'))) / (select extract(epoch from '2026-05-31 13:26:27'::timestamp) - extract(epoch from '2026-05-31 13:26: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'), 46535, 'SRID=4674;POINT (-38.572845 -3.244218)', '2026-05-31 13:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572848 -3.244186)'), GeomFromEWKT('SRID=4674;POINT (-38.572845 -3.244218)'))) / (select extract(epoch from '2026-05-31 13:26:30'::timestamp) - extract(epoch from '2026-05-31 13:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572848 -3.244186)'), GeomFromEWKT('SRID=4674;POINT (-38.572845 -3.244218)'))) / (select extract(epoch from '2026-05-31 13:26:30'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572838 -3.244246)', '2026-05-31 13:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572845 -3.244218)'), GeomFromEWKT('SRID=4674;POINT (-38.572838 -3.244246)'))) / (select extract(epoch from '2026-05-31 13:26:33'::timestamp) - extract(epoch from '2026-05-31 13:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572845 -3.244218)'), GeomFromEWKT('SRID=4674;POINT (-38.572838 -3.244246)'))) / (select extract(epoch from '2026-05-31 13:26:33'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572828 -3.244305)', '2026-05-31 13:26:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572838 -3.244246)'), GeomFromEWKT('SRID=4674;POINT (-38.572828 -3.244305)'))) / (select extract(epoch from '2026-05-31 13:26:39'::timestamp) - extract(epoch from '2026-05-31 13:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572838 -3.244246)'), GeomFromEWKT('SRID=4674;POINT (-38.572828 -3.244305)'))) / (select extract(epoch from '2026-05-31 13:26:39'::timestamp) - extract(epoch from '2026-05-31 13:26:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572811 -3.244383)', '2026-05-31 13:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572828 -3.244305)'), GeomFromEWKT('SRID=4674;POINT (-38.572811 -3.244383)'))) / (select extract(epoch from '2026-05-31 13:26:48'::timestamp) - extract(epoch from '2026-05-31 13:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572828 -3.244305)'), GeomFromEWKT('SRID=4674;POINT (-38.572811 -3.244383)'))) / (select extract(epoch from '2026-05-31 13:26:48'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572822 -3.244443)', '2026-05-31 13:26:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572811 -3.244383)'), GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.244443)'))) / (select extract(epoch from '2026-05-31 13:26:56'::timestamp) - extract(epoch from '2026-05-31 13:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572811 -3.244383)'), GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.244443)'))) / (select extract(epoch from '2026-05-31 13:26:56'::timestamp) - extract(epoch from '2026-05-31 13:26: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'), 46535, 'SRID=4674;POINT (-38.572827 -3.24446)', '2026-05-31 13:26:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.244443)'), GeomFromEWKT('SRID=4674;POINT (-38.572827 -3.24446)'))) / (select extract(epoch from '2026-05-31 13:26:58'::timestamp) - extract(epoch from '2026-05-31 13:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.244443)'), GeomFromEWKT('SRID=4674;POINT (-38.572827 -3.24446)'))) / (select extract(epoch from '2026-05-31 13:26:58'::timestamp) - extract(epoch from '2026-05-31 13:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57285 -3.244519)', '2026-05-31 13:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572827 -3.24446)'), GeomFromEWKT('SRID=4674;POINT (-38.57285 -3.244519)'))) / (select extract(epoch from '2026-05-31 13:27:08'::timestamp) - extract(epoch from '2026-05-31 13:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572827 -3.24446)'), GeomFromEWKT('SRID=4674;POINT (-38.57285 -3.244519)'))) / (select extract(epoch from '2026-05-31 13:27:08'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572885 -3.244583)', '2026-05-31 13:27:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57285 -3.244519)'), GeomFromEWKT('SRID=4674;POINT (-38.572885 -3.244583)'))) / (select extract(epoch from '2026-05-31 13:27:16'::timestamp) - extract(epoch from '2026-05-31 13:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57285 -3.244519)'), GeomFromEWKT('SRID=4674;POINT (-38.572885 -3.244583)'))) / (select extract(epoch from '2026-05-31 13:27:16'::timestamp) - extract(epoch from '2026-05-31 13:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572927 -3.244644)', '2026-05-31 13:27:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572885 -3.244583)'), GeomFromEWKT('SRID=4674;POINT (-38.572927 -3.244644)'))) / (select extract(epoch from '2026-05-31 13:27:23'::timestamp) - extract(epoch from '2026-05-31 13:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572885 -3.244583)'), GeomFromEWKT('SRID=4674;POINT (-38.572927 -3.244644)'))) / (select extract(epoch from '2026-05-31 13:27:23'::timestamp) - extract(epoch from '2026-05-31 13:27: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'), 46535, 'SRID=4674;POINT (-38.572971 -3.244712)', '2026-05-31 13:27:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572927 -3.244644)'), GeomFromEWKT('SRID=4674;POINT (-38.572971 -3.244712)'))) / (select extract(epoch from '2026-05-31 13:27:31'::timestamp) - extract(epoch from '2026-05-31 13:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572927 -3.244644)'), GeomFromEWKT('SRID=4674;POINT (-38.572971 -3.244712)'))) / (select extract(epoch from '2026-05-31 13:27:31'::timestamp) - extract(epoch from '2026-05-31 13:27:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573015 -3.244777)', '2026-05-31 13:27:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572971 -3.244712)'), GeomFromEWKT('SRID=4674;POINT (-38.573015 -3.244777)'))) / (select extract(epoch from '2026-05-31 13:27:38'::timestamp) - extract(epoch from '2026-05-31 13:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572971 -3.244712)'), GeomFromEWKT('SRID=4674;POINT (-38.573015 -3.244777)'))) / (select extract(epoch from '2026-05-31 13:27:38'::timestamp) - extract(epoch from '2026-05-31 13:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573048 -3.244842)', '2026-05-31 13:27:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573015 -3.244777)'), GeomFromEWKT('SRID=4674;POINT (-38.573048 -3.244842)'))) / (select extract(epoch from '2026-05-31 13:27:45'::timestamp) - extract(epoch from '2026-05-31 13:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573015 -3.244777)'), GeomFromEWKT('SRID=4674;POINT (-38.573048 -3.244842)'))) / (select extract(epoch from '2026-05-31 13:27:45'::timestamp) - extract(epoch from '2026-05-31 13:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57307 -3.244926)', '2026-05-31 13:27:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573048 -3.244842)'), GeomFromEWKT('SRID=4674;POINT (-38.57307 -3.244926)'))) / (select extract(epoch from '2026-05-31 13:27:53'::timestamp) - extract(epoch from '2026-05-31 13:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573048 -3.244842)'), GeomFromEWKT('SRID=4674;POINT (-38.57307 -3.244926)'))) / (select extract(epoch from '2026-05-31 13:27:53'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573078 -3.245024)', '2026-05-31 13:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57307 -3.244926)'), GeomFromEWKT('SRID=4674;POINT (-38.573078 -3.245024)'))) / (select extract(epoch from '2026-05-31 13:28:03'::timestamp) - extract(epoch from '2026-05-31 13:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57307 -3.244926)'), GeomFromEWKT('SRID=4674;POINT (-38.573078 -3.245024)'))) / (select extract(epoch from '2026-05-31 13:28:03'::timestamp) - extract(epoch from '2026-05-31 13:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573065 -3.245099)', '2026-05-31 13:28:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573078 -3.245024)'), GeomFromEWKT('SRID=4674;POINT (-38.573065 -3.245099)'))) / (select extract(epoch from '2026-05-31 13:28:10'::timestamp) - extract(epoch from '2026-05-31 13:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573078 -3.245024)'), GeomFromEWKT('SRID=4674;POINT (-38.573065 -3.245099)'))) / (select extract(epoch from '2026-05-31 13:28:10'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573057 -3.245147)', '2026-05-31 13:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573065 -3.245099)'), GeomFromEWKT('SRID=4674;POINT (-38.573057 -3.245147)'))) / (select extract(epoch from '2026-05-31 13:28:16'::timestamp) - extract(epoch from '2026-05-31 13:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573065 -3.245099)'), GeomFromEWKT('SRID=4674;POINT (-38.573057 -3.245147)'))) / (select extract(epoch from '2026-05-31 13:28:16'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573055 -3.245156)', '2026-05-31 13:28:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573057 -3.245147)'), GeomFromEWKT('SRID=4674;POINT (-38.573055 -3.245156)'))) / (select extract(epoch from '2026-05-31 13:28:17'::timestamp) - extract(epoch from '2026-05-31 13:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573057 -3.245147)'), GeomFromEWKT('SRID=4674;POINT (-38.573055 -3.245156)'))) / (select extract(epoch from '2026-05-31 13:28:17'::timestamp) - extract(epoch from '2026-05-31 13:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573042 -3.245212)', '2026-05-31 13:28:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573055 -3.245156)'), GeomFromEWKT('SRID=4674;POINT (-38.573042 -3.245212)'))) / (select extract(epoch from '2026-05-31 13:28:23'::timestamp) - extract(epoch from '2026-05-31 13:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573055 -3.245156)'), GeomFromEWKT('SRID=4674;POINT (-38.573042 -3.245212)'))) / (select extract(epoch from '2026-05-31 13:28:23'::timestamp) - extract(epoch from '2026-05-31 13:28:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573012 -3.245289)', '2026-05-31 13:28:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573042 -3.245212)'), GeomFromEWKT('SRID=4674;POINT (-38.573012 -3.245289)'))) / (select extract(epoch from '2026-05-31 13:28:31'::timestamp) - extract(epoch from '2026-05-31 13:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573042 -3.245212)'), GeomFromEWKT('SRID=4674;POINT (-38.573012 -3.245289)'))) / (select extract(epoch from '2026-05-31 13:28:31'::timestamp) - extract(epoch from '2026-05-31 13:28: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'), 46535, 'SRID=4674;POINT (-38.572993 -3.245331)', '2026-05-31 13:28:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573012 -3.245289)'), GeomFromEWKT('SRID=4674;POINT (-38.572993 -3.245331)'))) / (select extract(epoch from '2026-05-31 13:28:35'::timestamp) - extract(epoch from '2026-05-31 13:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573012 -3.245289)'), GeomFromEWKT('SRID=4674;POINT (-38.572993 -3.245331)'))) / (select extract(epoch from '2026-05-31 13:28:35'::timestamp) - extract(epoch from '2026-05-31 13:28: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'), 46535, 'SRID=4674;POINT (-38.572981 -3.245347)', '2026-05-31 13:28:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572993 -3.245331)'), GeomFromEWKT('SRID=4674;POINT (-38.572981 -3.245347)'))) / (select extract(epoch from '2026-05-31 13:28:37'::timestamp) - extract(epoch from '2026-05-31 13:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572993 -3.245331)'), GeomFromEWKT('SRID=4674;POINT (-38.572981 -3.245347)'))) / (select extract(epoch from '2026-05-31 13:28:37'::timestamp) - extract(epoch from '2026-05-31 13:28: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'), 46535, 'SRID=4674;POINT (-38.572945 -3.2454)', '2026-05-31 13:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572981 -3.245347)'), GeomFromEWKT('SRID=4674;POINT (-38.572945 -3.2454)'))) / (select extract(epoch from '2026-05-31 13:28:43'::timestamp) - extract(epoch from '2026-05-31 13:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572981 -3.245347)'), GeomFromEWKT('SRID=4674;POINT (-38.572945 -3.2454)'))) / (select extract(epoch from '2026-05-31 13:28:43'::timestamp) - extract(epoch from '2026-05-31 13:28: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'), 46535, 'SRID=4674;POINT (-38.572938 -3.245417)', '2026-05-31 13:28:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572945 -3.2454)'), GeomFromEWKT('SRID=4674;POINT (-38.572938 -3.245417)'))) / (select extract(epoch from '2026-05-31 13:28:45'::timestamp) - extract(epoch from '2026-05-31 13:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572945 -3.2454)'), GeomFromEWKT('SRID=4674;POINT (-38.572938 -3.245417)'))) / (select extract(epoch from '2026-05-31 13:28:45'::timestamp) - extract(epoch from '2026-05-31 13:28: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'), 46535, 'SRID=4674;POINT (-38.572922 -3.245455)', '2026-05-31 13:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572938 -3.245417)'), GeomFromEWKT('SRID=4674;POINT (-38.572922 -3.245455)'))) / (select extract(epoch from '2026-05-31 13:28:49'::timestamp) - extract(epoch from '2026-05-31 13:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572938 -3.245417)'), GeomFromEWKT('SRID=4674;POINT (-38.572922 -3.245455)'))) / (select extract(epoch from '2026-05-31 13:28:49'::timestamp) - extract(epoch from '2026-05-31 13:28: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'), 46535, 'SRID=4674;POINT (-38.572912 -3.245504)', '2026-05-31 13:28:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572922 -3.245455)'), GeomFromEWKT('SRID=4674;POINT (-38.572912 -3.245504)'))) / (select extract(epoch from '2026-05-31 13:28:57'::timestamp) - extract(epoch from '2026-05-31 13:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572922 -3.245455)'), GeomFromEWKT('SRID=4674;POINT (-38.572912 -3.245504)'))) / (select extract(epoch from '2026-05-31 13:28:57'::timestamp) - extract(epoch from '2026-05-31 13:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572911 -3.245566)', '2026-05-31 13:29:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572912 -3.245504)'), GeomFromEWKT('SRID=4674;POINT (-38.572911 -3.245566)'))) / (select extract(epoch from '2026-05-31 13:29:05'::timestamp) - extract(epoch from '2026-05-31 13:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572912 -3.245504)'), GeomFromEWKT('SRID=4674;POINT (-38.572911 -3.245566)'))) / (select extract(epoch from '2026-05-31 13:29:05'::timestamp) - extract(epoch from '2026-05-31 13:28: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'), 46535, 'SRID=4674;POINT (-38.572903 -3.245652)', '2026-05-31 13:29:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572911 -3.245566)'), GeomFromEWKT('SRID=4674;POINT (-38.572903 -3.245652)'))) / (select extract(epoch from '2026-05-31 13:29:17'::timestamp) - extract(epoch from '2026-05-31 13:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572911 -3.245566)'), GeomFromEWKT('SRID=4674;POINT (-38.572903 -3.245652)'))) / (select extract(epoch from '2026-05-31 13:29:17'::timestamp) - extract(epoch from '2026-05-31 13:29: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'), 46535, 'SRID=4674;POINT (-38.572916 -3.245713)', '2026-05-31 13:29:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572903 -3.245652)'), GeomFromEWKT('SRID=4674;POINT (-38.572916 -3.245713)'))) / (select extract(epoch from '2026-05-31 13:29:26'::timestamp) - extract(epoch from '2026-05-31 13:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572903 -3.245652)'), GeomFromEWKT('SRID=4674;POINT (-38.572916 -3.245713)'))) / (select extract(epoch from '2026-05-31 13:29:26'::timestamp) - extract(epoch from '2026-05-31 13:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572933 -3.245755)', '2026-05-31 13:29:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572916 -3.245713)'), GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.245755)'))) / (select extract(epoch from '2026-05-31 13:29:30'::timestamp) - extract(epoch from '2026-05-31 13:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572916 -3.245713)'), GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.245755)'))) / (select extract(epoch from '2026-05-31 13:29:30'::timestamp) - extract(epoch from '2026-05-31 13:29: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'), 46535, 'SRID=4674;POINT (-38.572933 -3.245765)', '2026-05-31 13:29:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.245755)'), GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.245765)'))) / (select extract(epoch from '2026-05-31 13:29:31'::timestamp) - extract(epoch from '2026-05-31 13:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.245755)'), GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.245765)'))) / (select extract(epoch from '2026-05-31 13:29:31'::timestamp) - extract(epoch from '2026-05-31 13:29: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'), 46535, 'SRID=4674;POINT (-38.572954 -3.245819)', '2026-05-31 13:29:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.245765)'), GeomFromEWKT('SRID=4674;POINT (-38.572954 -3.245819)'))) / (select extract(epoch from '2026-05-31 13:29:37'::timestamp) - extract(epoch from '2026-05-31 13:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.245765)'), GeomFromEWKT('SRID=4674;POINT (-38.572954 -3.245819)'))) / (select extract(epoch from '2026-05-31 13:29:37'::timestamp) - extract(epoch from '2026-05-31 13:29: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'), 46535, 'SRID=4674;POINT (-38.572956 -3.2459)', '2026-05-31 13:29:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572954 -3.245819)'), GeomFromEWKT('SRID=4674;POINT (-38.572956 -3.2459)'))) / (select extract(epoch from '2026-05-31 13:29:45'::timestamp) - extract(epoch from '2026-05-31 13:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572954 -3.245819)'), GeomFromEWKT('SRID=4674;POINT (-38.572956 -3.2459)'))) / (select extract(epoch from '2026-05-31 13:29:45'::timestamp) - extract(epoch from '2026-05-31 13:29:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572944 -3.245993)', '2026-05-31 13:29:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572956 -3.2459)'), GeomFromEWKT('SRID=4674;POINT (-38.572944 -3.245993)'))) / (select extract(epoch from '2026-05-31 13:29:54'::timestamp) - extract(epoch from '2026-05-31 13:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572956 -3.2459)'), GeomFromEWKT('SRID=4674;POINT (-38.572944 -3.245993)'))) / (select extract(epoch from '2026-05-31 13:29:54'::timestamp) - extract(epoch from '2026-05-31 13:29: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'), 46535, 'SRID=4674;POINT (-38.572942 -3.246014)', '2026-05-31 13:29:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572944 -3.245993)'), GeomFromEWKT('SRID=4674;POINT (-38.572942 -3.246014)'))) / (select extract(epoch from '2026-05-31 13:29:56'::timestamp) - extract(epoch from '2026-05-31 13:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572944 -3.245993)'), GeomFromEWKT('SRID=4674;POINT (-38.572942 -3.246014)'))) / (select extract(epoch from '2026-05-31 13:29:56'::timestamp) - extract(epoch from '2026-05-31 13:29: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'), 46535, 'SRID=4674;POINT (-38.572928 -3.246069)', '2026-05-31 13:30:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572942 -3.246014)'), GeomFromEWKT('SRID=4674;POINT (-38.572928 -3.246069)'))) / (select extract(epoch from '2026-05-31 13:30:01'::timestamp) - extract(epoch from '2026-05-31 13:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572942 -3.246014)'), GeomFromEWKT('SRID=4674;POINT (-38.572928 -3.246069)'))) / (select extract(epoch from '2026-05-31 13:30:01'::timestamp) - extract(epoch from '2026-05-31 13:29: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'), 46535, 'SRID=4674;POINT (-38.572912 -3.24611)', '2026-05-31 13:30:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572928 -3.246069)'), GeomFromEWKT('SRID=4674;POINT (-38.572912 -3.24611)'))) / (select extract(epoch from '2026-05-31 13:30:06'::timestamp) - extract(epoch from '2026-05-31 13:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572928 -3.246069)'), GeomFromEWKT('SRID=4674;POINT (-38.572912 -3.24611)'))) / (select extract(epoch from '2026-05-31 13:30:06'::timestamp) - extract(epoch from '2026-05-31 13:30: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'), 46535, 'SRID=4674;POINT (-38.572909 -3.246128)', '2026-05-31 13:30:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572912 -3.24611)'), GeomFromEWKT('SRID=4674;POINT (-38.572909 -3.246128)'))) / (select extract(epoch from '2026-05-31 13:30:08'::timestamp) - extract(epoch from '2026-05-31 13:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572912 -3.24611)'), GeomFromEWKT('SRID=4674;POINT (-38.572909 -3.246128)'))) / (select extract(epoch from '2026-05-31 13:30:08'::timestamp) - extract(epoch from '2026-05-31 13:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572889 -3.246197)', '2026-05-31 13:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572909 -3.246128)'), GeomFromEWKT('SRID=4674;POINT (-38.572889 -3.246197)'))) / (select extract(epoch from '2026-05-31 13:30:16'::timestamp) - extract(epoch from '2026-05-31 13:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572909 -3.246128)'), GeomFromEWKT('SRID=4674;POINT (-38.572889 -3.246197)'))) / (select extract(epoch from '2026-05-31 13:30:16'::timestamp) - extract(epoch from '2026-05-31 13:30: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'), 46535, 'SRID=4674;POINT (-38.572876 -3.246251)', '2026-05-31 13:30:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572889 -3.246197)'), GeomFromEWKT('SRID=4674;POINT (-38.572876 -3.246251)'))) / (select extract(epoch from '2026-05-31 13:30:21'::timestamp) - extract(epoch from '2026-05-31 13:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572889 -3.246197)'), GeomFromEWKT('SRID=4674;POINT (-38.572876 -3.246251)'))) / (select extract(epoch from '2026-05-31 13:30:21'::timestamp) - extract(epoch from '2026-05-31 13:30: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'), 46535, 'SRID=4674;POINT (-38.572872 -3.246262)', '2026-05-31 13:30:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572876 -3.246251)'), GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.246262)'))) / (select extract(epoch from '2026-05-31 13:30:22'::timestamp) - extract(epoch from '2026-05-31 13:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572876 -3.246251)'), GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.246262)'))) / (select extract(epoch from '2026-05-31 13:30:22'::timestamp) - extract(epoch from '2026-05-31 13:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572858 -3.246297)', '2026-05-31 13:30:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.246262)'), GeomFromEWKT('SRID=4674;POINT (-38.572858 -3.246297)'))) / (select extract(epoch from '2026-05-31 13:30:25'::timestamp) - extract(epoch from '2026-05-31 13:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.246262)'), GeomFromEWKT('SRID=4674;POINT (-38.572858 -3.246297)'))) / (select extract(epoch from '2026-05-31 13:30:25'::timestamp) - extract(epoch from '2026-05-31 13:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572844 -3.246339)', '2026-05-31 13:30:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572858 -3.246297)'), GeomFromEWKT('SRID=4674;POINT (-38.572844 -3.246339)'))) / (select extract(epoch from '2026-05-31 13:30:29'::timestamp) - extract(epoch from '2026-05-31 13:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572858 -3.246297)'), GeomFromEWKT('SRID=4674;POINT (-38.572844 -3.246339)'))) / (select extract(epoch from '2026-05-31 13:30:29'::timestamp) - extract(epoch from '2026-05-31 13:30: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'), 46535, 'SRID=4674;POINT (-38.572822 -3.246402)', '2026-05-31 13:30:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572844 -3.246339)'), GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.246402)'))) / (select extract(epoch from '2026-05-31 13:30:36'::timestamp) - extract(epoch from '2026-05-31 13:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572844 -3.246339)'), GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.246402)'))) / (select extract(epoch from '2026-05-31 13:30:36'::timestamp) - extract(epoch from '2026-05-31 13:30: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'), 46535, 'SRID=4674;POINT (-38.572797 -3.246463)', '2026-05-31 13:30:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.246402)'), GeomFromEWKT('SRID=4674;POINT (-38.572797 -3.246463)'))) / (select extract(epoch from '2026-05-31 13:30:44'::timestamp) - extract(epoch from '2026-05-31 13:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.246402)'), GeomFromEWKT('SRID=4674;POINT (-38.572797 -3.246463)'))) / (select extract(epoch from '2026-05-31 13:30:44'::timestamp) - extract(epoch from '2026-05-31 13:30: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'), 46535, 'SRID=4674;POINT (-38.572759 -3.246519)', '2026-05-31 13:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572797 -3.246463)'), GeomFromEWKT('SRID=4674;POINT (-38.572759 -3.246519)'))) / (select extract(epoch from '2026-05-31 13:30:51'::timestamp) - extract(epoch from '2026-05-31 13:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572797 -3.246463)'), GeomFromEWKT('SRID=4674;POINT (-38.572759 -3.246519)'))) / (select extract(epoch from '2026-05-31 13:30:51'::timestamp) - extract(epoch from '2026-05-31 13:30: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'), 46535, 'SRID=4674;POINT (-38.572744 -3.246552)', '2026-05-31 13:30:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572759 -3.246519)'), GeomFromEWKT('SRID=4674;POINT (-38.572744 -3.246552)'))) / (select extract(epoch from '2026-05-31 13:30:55'::timestamp) - extract(epoch from '2026-05-31 13:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572759 -3.246519)'), GeomFromEWKT('SRID=4674;POINT (-38.572744 -3.246552)'))) / (select extract(epoch from '2026-05-31 13:30:55'::timestamp) - extract(epoch from '2026-05-31 13:30: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'), 46535, 'SRID=4674;POINT (-38.572726 -3.246612)', '2026-05-31 13:31:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572744 -3.246552)'), GeomFromEWKT('SRID=4674;POINT (-38.572726 -3.246612)'))) / (select extract(epoch from '2026-05-31 13:31:02'::timestamp) - extract(epoch from '2026-05-31 13:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572744 -3.246552)'), GeomFromEWKT('SRID=4674;POINT (-38.572726 -3.246612)'))) / (select extract(epoch from '2026-05-31 13:31:02'::timestamp) - extract(epoch from '2026-05-31 13:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572707 -3.246686)', '2026-05-31 13:31:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572726 -3.246612)'), GeomFromEWKT('SRID=4674;POINT (-38.572707 -3.246686)'))) / (select extract(epoch from '2026-05-31 13:31:09'::timestamp) - extract(epoch from '2026-05-31 13:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572726 -3.246612)'), GeomFromEWKT('SRID=4674;POINT (-38.572707 -3.246686)'))) / (select extract(epoch from '2026-05-31 13:31:09'::timestamp) - extract(epoch from '2026-05-31 13:31: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'), 46535, 'SRID=4674;POINT (-38.5727 -3.246735)', '2026-05-31 13:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572707 -3.246686)'), GeomFromEWKT('SRID=4674;POINT (-38.5727 -3.246735)'))) / (select extract(epoch from '2026-05-31 13:31:15'::timestamp) - extract(epoch from '2026-05-31 13:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572707 -3.246686)'), GeomFromEWKT('SRID=4674;POINT (-38.5727 -3.246735)'))) / (select extract(epoch from '2026-05-31 13:31:15'::timestamp) - extract(epoch from '2026-05-31 13:31: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'), 46535, 'SRID=4674;POINT (-38.572694 -3.246806)', '2026-05-31 13:31:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5727 -3.246735)'), GeomFromEWKT('SRID=4674;POINT (-38.572694 -3.246806)'))) / (select extract(epoch from '2026-05-31 13:31:24'::timestamp) - extract(epoch from '2026-05-31 13:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5727 -3.246735)'), GeomFromEWKT('SRID=4674;POINT (-38.572694 -3.246806)'))) / (select extract(epoch from '2026-05-31 13:31:24'::timestamp) - extract(epoch from '2026-05-31 13:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.5727 -3.24688)', '2026-05-31 13:31:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572694 -3.246806)'), GeomFromEWKT('SRID=4674;POINT (-38.5727 -3.24688)'))) / (select extract(epoch from '2026-05-31 13:31:34'::timestamp) - extract(epoch from '2026-05-31 13:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572694 -3.246806)'), GeomFromEWKT('SRID=4674;POINT (-38.5727 -3.24688)'))) / (select extract(epoch from '2026-05-31 13:31:34'::timestamp) - extract(epoch from '2026-05-31 13:31:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572705 -3.246969)', '2026-05-31 13:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5727 -3.24688)'), GeomFromEWKT('SRID=4674;POINT (-38.572705 -3.246969)'))) / (select extract(epoch from '2026-05-31 13:31:46'::timestamp) - extract(epoch from '2026-05-31 13:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5727 -3.24688)'), GeomFromEWKT('SRID=4674;POINT (-38.572705 -3.246969)'))) / (select extract(epoch from '2026-05-31 13:31:46'::timestamp) - extract(epoch from '2026-05-31 13:31: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'), 46535, 'SRID=4674;POINT (-38.572715 -3.24702)', '2026-05-31 13:31:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572705 -3.246969)'), GeomFromEWKT('SRID=4674;POINT (-38.572715 -3.24702)'))) / (select extract(epoch from '2026-05-31 13:31:55'::timestamp) - extract(epoch from '2026-05-31 13:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572705 -3.246969)'), GeomFromEWKT('SRID=4674;POINT (-38.572715 -3.24702)'))) / (select extract(epoch from '2026-05-31 13:31:55'::timestamp) - extract(epoch from '2026-05-31 13:31: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'), 46535, 'SRID=4674;POINT (-38.572727 -3.247109)', '2026-05-31 13:32:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572715 -3.24702)'), GeomFromEWKT('SRID=4674;POINT (-38.572727 -3.247109)'))) / (select extract(epoch from '2026-05-31 13:32:04'::timestamp) - extract(epoch from '2026-05-31 13:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572715 -3.24702)'), GeomFromEWKT('SRID=4674;POINT (-38.572727 -3.247109)'))) / (select extract(epoch from '2026-05-31 13:32:04'::timestamp) - extract(epoch from '2026-05-31 13:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572721 -3.247159)', '2026-05-31 13:32:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572727 -3.247109)'), GeomFromEWKT('SRID=4674;POINT (-38.572721 -3.247159)'))) / (select extract(epoch from '2026-05-31 13:32:09'::timestamp) - extract(epoch from '2026-05-31 13:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572727 -3.247109)'), GeomFromEWKT('SRID=4674;POINT (-38.572721 -3.247159)'))) / (select extract(epoch from '2026-05-31 13:32:09'::timestamp) - extract(epoch from '2026-05-31 13:32: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'), 46535, 'SRID=4674;POINT (-38.572714 -3.247228)', '2026-05-31 13:32:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572721 -3.247159)'), GeomFromEWKT('SRID=4674;POINT (-38.572714 -3.247228)'))) / (select extract(epoch from '2026-05-31 13:32:15'::timestamp) - extract(epoch from '2026-05-31 13:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572721 -3.247159)'), GeomFromEWKT('SRID=4674;POINT (-38.572714 -3.247228)'))) / (select extract(epoch from '2026-05-31 13:32:15'::timestamp) - extract(epoch from '2026-05-31 13:32: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'), 46535, 'SRID=4674;POINT (-38.572696 -3.247331)', '2026-05-31 13:32:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572714 -3.247228)'), GeomFromEWKT('SRID=4674;POINT (-38.572696 -3.247331)'))) / (select extract(epoch from '2026-05-31 13:32:24'::timestamp) - extract(epoch from '2026-05-31 13:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572714 -3.247228)'), GeomFromEWKT('SRID=4674;POINT (-38.572696 -3.247331)'))) / (select extract(epoch from '2026-05-31 13:32:24'::timestamp) - extract(epoch from '2026-05-31 13:32: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'), 46535, 'SRID=4674;POINT (-38.572686 -3.247405)', '2026-05-31 13:32:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572696 -3.247331)'), GeomFromEWKT('SRID=4674;POINT (-38.572686 -3.247405)'))) / (select extract(epoch from '2026-05-31 13:32:30'::timestamp) - extract(epoch from '2026-05-31 13:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572696 -3.247331)'), GeomFromEWKT('SRID=4674;POINT (-38.572686 -3.247405)'))) / (select extract(epoch from '2026-05-31 13:32:30'::timestamp) - extract(epoch from '2026-05-31 13:32: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'), 46535, 'SRID=4674;POINT (-38.572682 -3.247415)', '2026-05-31 13:32:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572686 -3.247405)'), GeomFromEWKT('SRID=4674;POINT (-38.572682 -3.247415)'))) / (select extract(epoch from '2026-05-31 13:32:31'::timestamp) - extract(epoch from '2026-05-31 13:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572686 -3.247405)'), GeomFromEWKT('SRID=4674;POINT (-38.572682 -3.247415)'))) / (select extract(epoch from '2026-05-31 13:32:31'::timestamp) - extract(epoch from '2026-05-31 13:32: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'), 46535, 'SRID=4674;POINT (-38.572668 -3.247474)', '2026-05-31 13:32:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572682 -3.247415)'), GeomFromEWKT('SRID=4674;POINT (-38.572668 -3.247474)'))) / (select extract(epoch from '2026-05-31 13:32:37'::timestamp) - extract(epoch from '2026-05-31 13:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572682 -3.247415)'), GeomFromEWKT('SRID=4674;POINT (-38.572668 -3.247474)'))) / (select extract(epoch from '2026-05-31 13:32:37'::timestamp) - extract(epoch from '2026-05-31 13:32: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'), 46535, 'SRID=4674;POINT (-38.572667 -3.247506)', '2026-05-31 13:32:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572668 -3.247474)'), GeomFromEWKT('SRID=4674;POINT (-38.572667 -3.247506)'))) / (select extract(epoch from '2026-05-31 13:32:40'::timestamp) - extract(epoch from '2026-05-31 13:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572668 -3.247474)'), GeomFromEWKT('SRID=4674;POINT (-38.572667 -3.247506)'))) / (select extract(epoch from '2026-05-31 13:32:40'::timestamp) - extract(epoch from '2026-05-31 13:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572657 -3.247542)', '2026-05-31 13:32:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572667 -3.247506)'), GeomFromEWKT('SRID=4674;POINT (-38.572657 -3.247542)'))) / (select extract(epoch from '2026-05-31 13:32:44'::timestamp) - extract(epoch from '2026-05-31 13:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572667 -3.247506)'), GeomFromEWKT('SRID=4674;POINT (-38.572657 -3.247542)'))) / (select extract(epoch from '2026-05-31 13:32:44'::timestamp) - extract(epoch from '2026-05-31 13:32: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'), 46535, 'SRID=4674;POINT (-38.572647 -3.247608)', '2026-05-31 13:32:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572657 -3.247542)'), GeomFromEWKT('SRID=4674;POINT (-38.572647 -3.247608)'))) / (select extract(epoch from '2026-05-31 13:32:50'::timestamp) - extract(epoch from '2026-05-31 13:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572657 -3.247542)'), GeomFromEWKT('SRID=4674;POINT (-38.572647 -3.247608)'))) / (select extract(epoch from '2026-05-31 13:32:50'::timestamp) - extract(epoch from '2026-05-31 13:32: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'), 46535, 'SRID=4674;POINT (-38.572635 -3.247671)', '2026-05-31 13:32:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572647 -3.247608)'), GeomFromEWKT('SRID=4674;POINT (-38.572635 -3.247671)'))) / (select extract(epoch from '2026-05-31 13:32:56'::timestamp) - extract(epoch from '2026-05-31 13:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572647 -3.247608)'), GeomFromEWKT('SRID=4674;POINT (-38.572635 -3.247671)'))) / (select extract(epoch from '2026-05-31 13:32:56'::timestamp) - extract(epoch from '2026-05-31 13:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572628 -3.247692)', '2026-05-31 13:32:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572635 -3.247671)'), GeomFromEWKT('SRID=4674;POINT (-38.572628 -3.247692)'))) / (select extract(epoch from '2026-05-31 13:32:58'::timestamp) - extract(epoch from '2026-05-31 13:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572635 -3.247671)'), GeomFromEWKT('SRID=4674;POINT (-38.572628 -3.247692)'))) / (select extract(epoch from '2026-05-31 13:32:58'::timestamp) - extract(epoch from '2026-05-31 13:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57263 -3.247713)', '2026-05-31 13:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572628 -3.247692)'), GeomFromEWKT('SRID=4674;POINT (-38.57263 -3.247713)'))) / (select extract(epoch from '2026-05-31 13:33:00'::timestamp) - extract(epoch from '2026-05-31 13:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572628 -3.247692)'), GeomFromEWKT('SRID=4674;POINT (-38.57263 -3.247713)'))) / (select extract(epoch from '2026-05-31 13:33:00'::timestamp) - extract(epoch from '2026-05-31 13:32: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'), 46535, 'SRID=4674;POINT (-38.572625 -3.247724)', '2026-05-31 13:33:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57263 -3.247713)'), GeomFromEWKT('SRID=4674;POINT (-38.572625 -3.247724)'))) / (select extract(epoch from '2026-05-31 13:33:01'::timestamp) - extract(epoch from '2026-05-31 13:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57263 -3.247713)'), GeomFromEWKT('SRID=4674;POINT (-38.572625 -3.247724)'))) / (select extract(epoch from '2026-05-31 13:33:01'::timestamp) - extract(epoch from '2026-05-31 13:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572611 -3.247795)', '2026-05-31 13:33:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572625 -3.247724)'), GeomFromEWKT('SRID=4674;POINT (-38.572611 -3.247795)'))) / (select extract(epoch from '2026-05-31 13:33:07'::timestamp) - extract(epoch from '2026-05-31 13:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572625 -3.247724)'), GeomFromEWKT('SRID=4674;POINT (-38.572611 -3.247795)'))) / (select extract(epoch from '2026-05-31 13:33:07'::timestamp) - extract(epoch from '2026-05-31 13:33: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'), 46535, 'SRID=4674;POINT (-38.572609 -3.247875)', '2026-05-31 13:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572611 -3.247795)'), GeomFromEWKT('SRID=4674;POINT (-38.572609 -3.247875)'))) / (select extract(epoch from '2026-05-31 13:33:15'::timestamp) - extract(epoch from '2026-05-31 13:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572611 -3.247795)'), GeomFromEWKT('SRID=4674;POINT (-38.572609 -3.247875)'))) / (select extract(epoch from '2026-05-31 13:33:15'::timestamp) - extract(epoch from '2026-05-31 13:33: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'), 46535, 'SRID=4674;POINT (-38.572617 -3.247908)', '2026-05-31 13:33:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572609 -3.247875)'), GeomFromEWKT('SRID=4674;POINT (-38.572617 -3.247908)'))) / (select extract(epoch from '2026-05-31 13:33:20'::timestamp) - extract(epoch from '2026-05-31 13:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572609 -3.247875)'), GeomFromEWKT('SRID=4674;POINT (-38.572617 -3.247908)'))) / (select extract(epoch from '2026-05-31 13:33:20'::timestamp) - extract(epoch from '2026-05-31 13:33: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'), 46535, 'SRID=4674;POINT (-38.572613 -3.247966)', '2026-05-31 13:33:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572617 -3.247908)'), GeomFromEWKT('SRID=4674;POINT (-38.572613 -3.247966)'))) / (select extract(epoch from '2026-05-31 13:33:27'::timestamp) - extract(epoch from '2026-05-31 13:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572617 -3.247908)'), GeomFromEWKT('SRID=4674;POINT (-38.572613 -3.247966)'))) / (select extract(epoch from '2026-05-31 13:33:27'::timestamp) - extract(epoch from '2026-05-31 13:33: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'), 46535, 'SRID=4674;POINT (-38.57261 -3.248043)', '2026-05-31 13:33:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572613 -3.247966)'), GeomFromEWKT('SRID=4674;POINT (-38.57261 -3.248043)'))) / (select extract(epoch from '2026-05-31 13:33:35'::timestamp) - extract(epoch from '2026-05-31 13:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572613 -3.247966)'), GeomFromEWKT('SRID=4674;POINT (-38.57261 -3.248043)'))) / (select extract(epoch from '2026-05-31 13:33:35'::timestamp) - extract(epoch from '2026-05-31 13:33: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'), 46535, 'SRID=4674;POINT (-38.572607 -3.248054)', '2026-05-31 13:33:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57261 -3.248043)'), GeomFromEWKT('SRID=4674;POINT (-38.572607 -3.248054)'))) / (select extract(epoch from '2026-05-31 13:33:36'::timestamp) - extract(epoch from '2026-05-31 13:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57261 -3.248043)'), GeomFromEWKT('SRID=4674;POINT (-38.572607 -3.248054)'))) / (select extract(epoch from '2026-05-31 13:33:36'::timestamp) - extract(epoch from '2026-05-31 13:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572602 -3.248077)', '2026-05-31 13:33:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572607 -3.248054)'), GeomFromEWKT('SRID=4674;POINT (-38.572602 -3.248077)'))) / (select extract(epoch from '2026-05-31 13:33:38'::timestamp) - extract(epoch from '2026-05-31 13:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572607 -3.248054)'), GeomFromEWKT('SRID=4674;POINT (-38.572602 -3.248077)'))) / (select extract(epoch from '2026-05-31 13:33:38'::timestamp) - extract(epoch from '2026-05-31 13:33: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'), 46535, 'SRID=4674;POINT (-38.572601 -3.248103)', '2026-05-31 13:33:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572602 -3.248077)'), GeomFromEWKT('SRID=4674;POINT (-38.572601 -3.248103)'))) / (select extract(epoch from '2026-05-31 13:33:41'::timestamp) - extract(epoch from '2026-05-31 13:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572602 -3.248077)'), GeomFromEWKT('SRID=4674;POINT (-38.572601 -3.248103)'))) / (select extract(epoch from '2026-05-31 13:33:41'::timestamp) - extract(epoch from '2026-05-31 13:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572593 -3.248123)', '2026-05-31 13:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572601 -3.248103)'), GeomFromEWKT('SRID=4674;POINT (-38.572593 -3.248123)'))) / (select extract(epoch from '2026-05-31 13:33:43'::timestamp) - extract(epoch from '2026-05-31 13:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572601 -3.248103)'), GeomFromEWKT('SRID=4674;POINT (-38.572593 -3.248123)'))) / (select extract(epoch from '2026-05-31 13:33:43'::timestamp) - extract(epoch from '2026-05-31 13:33: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'), 46535, 'SRID=4674;POINT (-38.57259 -3.248177)', '2026-05-31 13:33:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572593 -3.248123)'), GeomFromEWKT('SRID=4674;POINT (-38.57259 -3.248177)'))) / (select extract(epoch from '2026-05-31 13:33:48'::timestamp) - extract(epoch from '2026-05-31 13:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572593 -3.248123)'), GeomFromEWKT('SRID=4674;POINT (-38.57259 -3.248177)'))) / (select extract(epoch from '2026-05-31 13:33:48'::timestamp) - extract(epoch from '2026-05-31 13:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572578 -3.248246)', '2026-05-31 13:33:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57259 -3.248177)'), GeomFromEWKT('SRID=4674;POINT (-38.572578 -3.248246)'))) / (select extract(epoch from '2026-05-31 13:33:54'::timestamp) - extract(epoch from '2026-05-31 13:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57259 -3.248177)'), GeomFromEWKT('SRID=4674;POINT (-38.572578 -3.248246)'))) / (select extract(epoch from '2026-05-31 13:33:54'::timestamp) - extract(epoch from '2026-05-31 13:33: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'), 46535, 'SRID=4674;POINT (-38.57257 -3.248312)', '2026-05-31 13:34:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572578 -3.248246)'), GeomFromEWKT('SRID=4674;POINT (-38.57257 -3.248312)'))) / (select extract(epoch from '2026-05-31 13:34:01'::timestamp) - extract(epoch from '2026-05-31 13:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572578 -3.248246)'), GeomFromEWKT('SRID=4674;POINT (-38.57257 -3.248312)'))) / (select extract(epoch from '2026-05-31 13:34:01'::timestamp) - extract(epoch from '2026-05-31 13:33: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'), 46535, 'SRID=4674;POINT (-38.572561 -3.248391)', '2026-05-31 13:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57257 -3.248312)'), GeomFromEWKT('SRID=4674;POINT (-38.572561 -3.248391)'))) / (select extract(epoch from '2026-05-31 13:34:09'::timestamp) - extract(epoch from '2026-05-31 13:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57257 -3.248312)'), GeomFromEWKT('SRID=4674;POINT (-38.572561 -3.248391)'))) / (select extract(epoch from '2026-05-31 13:34:09'::timestamp) - extract(epoch from '2026-05-31 13:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572546 -3.248466)', '2026-05-31 13:34:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572561 -3.248391)'), GeomFromEWKT('SRID=4674;POINT (-38.572546 -3.248466)'))) / (select extract(epoch from '2026-05-31 13:34:16'::timestamp) - extract(epoch from '2026-05-31 13:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572561 -3.248391)'), GeomFromEWKT('SRID=4674;POINT (-38.572546 -3.248466)'))) / (select extract(epoch from '2026-05-31 13:34:16'::timestamp) - extract(epoch from '2026-05-31 13:34: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'), 46535, 'SRID=4674;POINT (-38.572546 -3.24848)', '2026-05-31 13:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572546 -3.248466)'), GeomFromEWKT('SRID=4674;POINT (-38.572546 -3.24848)'))) / (select extract(epoch from '2026-05-31 13:34:17'::timestamp) - extract(epoch from '2026-05-31 13:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572546 -3.248466)'), GeomFromEWKT('SRID=4674;POINT (-38.572546 -3.24848)'))) / (select extract(epoch from '2026-05-31 13:34:17'::timestamp) - extract(epoch from '2026-05-31 13:34:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572548 -3.248514)', '2026-05-31 13:34:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572546 -3.24848)'), GeomFromEWKT('SRID=4674;POINT (-38.572548 -3.248514)'))) / (select extract(epoch from '2026-05-31 13:34:20'::timestamp) - extract(epoch from '2026-05-31 13:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572546 -3.24848)'), GeomFromEWKT('SRID=4674;POINT (-38.572548 -3.248514)'))) / (select extract(epoch from '2026-05-31 13:34:20'::timestamp) - extract(epoch from '2026-05-31 13:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572543 -3.248526)', '2026-05-31 13:34:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572548 -3.248514)'), GeomFromEWKT('SRID=4674;POINT (-38.572543 -3.248526)'))) / (select extract(epoch from '2026-05-31 13:34:21'::timestamp) - extract(epoch from '2026-05-31 13:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572548 -3.248514)'), GeomFromEWKT('SRID=4674;POINT (-38.572543 -3.248526)'))) / (select extract(epoch from '2026-05-31 13:34:21'::timestamp) - extract(epoch from '2026-05-31 13:34: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'), 46535, 'SRID=4674;POINT (-38.572545 -3.248591)', '2026-05-31 13:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572543 -3.248526)'), GeomFromEWKT('SRID=4674;POINT (-38.572545 -3.248591)'))) / (select extract(epoch from '2026-05-31 13:34:28'::timestamp) - extract(epoch from '2026-05-31 13:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572543 -3.248526)'), GeomFromEWKT('SRID=4674;POINT (-38.572545 -3.248591)'))) / (select extract(epoch from '2026-05-31 13:34:28'::timestamp) - extract(epoch from '2026-05-31 13:34: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'), 46535, 'SRID=4674;POINT (-38.572538 -3.248646)', '2026-05-31 13:34:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572545 -3.248591)'), GeomFromEWKT('SRID=4674;POINT (-38.572538 -3.248646)'))) / (select extract(epoch from '2026-05-31 13:34:33'::timestamp) - extract(epoch from '2026-05-31 13:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572545 -3.248591)'), GeomFromEWKT('SRID=4674;POINT (-38.572538 -3.248646)'))) / (select extract(epoch from '2026-05-31 13:34:33'::timestamp) - extract(epoch from '2026-05-31 13:34: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'), 46535, 'SRID=4674;POINT (-38.572533 -3.248656)', '2026-05-31 13:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572538 -3.248646)'), GeomFromEWKT('SRID=4674;POINT (-38.572533 -3.248656)'))) / (select extract(epoch from '2026-05-31 13:34:34'::timestamp) - extract(epoch from '2026-05-31 13:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572538 -3.248646)'), GeomFromEWKT('SRID=4674;POINT (-38.572533 -3.248656)'))) / (select extract(epoch from '2026-05-31 13:34:34'::timestamp) - extract(epoch from '2026-05-31 13:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572517 -3.248716)', '2026-05-31 13:34:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572533 -3.248656)'), GeomFromEWKT('SRID=4674;POINT (-38.572517 -3.248716)'))) / (select extract(epoch from '2026-05-31 13:34:41'::timestamp) - extract(epoch from '2026-05-31 13:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572533 -3.248656)'), GeomFromEWKT('SRID=4674;POINT (-38.572517 -3.248716)'))) / (select extract(epoch from '2026-05-31 13:34:41'::timestamp) - extract(epoch from '2026-05-31 13:34: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'), 46535, 'SRID=4674;POINT (-38.57248 -3.248799)', '2026-05-31 13:34:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572517 -3.248716)'), GeomFromEWKT('SRID=4674;POINT (-38.57248 -3.248799)'))) / (select extract(epoch from '2026-05-31 13:34:49'::timestamp) - extract(epoch from '2026-05-31 13:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572517 -3.248716)'), GeomFromEWKT('SRID=4674;POINT (-38.57248 -3.248799)'))) / (select extract(epoch from '2026-05-31 13:34:49'::timestamp) - extract(epoch from '2026-05-31 13:34: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'), 46535, 'SRID=4674;POINT (-38.572463 -3.248852)', '2026-05-31 13:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57248 -3.248799)'), GeomFromEWKT('SRID=4674;POINT (-38.572463 -3.248852)'))) / (select extract(epoch from '2026-05-31 13:34:55'::timestamp) - extract(epoch from '2026-05-31 13:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57248 -3.248799)'), GeomFromEWKT('SRID=4674;POINT (-38.572463 -3.248852)'))) / (select extract(epoch from '2026-05-31 13:34:55'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572437 -3.24893)', '2026-05-31 13:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572463 -3.248852)'), GeomFromEWKT('SRID=4674;POINT (-38.572437 -3.24893)'))) / (select extract(epoch from '2026-05-31 13:35:02'::timestamp) - extract(epoch from '2026-05-31 13:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572463 -3.248852)'), GeomFromEWKT('SRID=4674;POINT (-38.572437 -3.24893)'))) / (select extract(epoch from '2026-05-31 13:35:02'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572426 -3.248972)', '2026-05-31 13:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572437 -3.24893)'), GeomFromEWKT('SRID=4674;POINT (-38.572426 -3.248972)'))) / (select extract(epoch from '2026-05-31 13:35:06'::timestamp) - extract(epoch from '2026-05-31 13:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572437 -3.24893)'), GeomFromEWKT('SRID=4674;POINT (-38.572426 -3.248972)'))) / (select extract(epoch from '2026-05-31 13:35:06'::timestamp) - extract(epoch from '2026-05-31 13:35: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'), 46535, 'SRID=4674;POINT (-38.572417 -3.24899)', '2026-05-31 13:35:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572426 -3.248972)'), GeomFromEWKT('SRID=4674;POINT (-38.572417 -3.24899)'))) / (select extract(epoch from '2026-05-31 13:35:08'::timestamp) - extract(epoch from '2026-05-31 13:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572426 -3.248972)'), GeomFromEWKT('SRID=4674;POINT (-38.572417 -3.24899)'))) / (select extract(epoch from '2026-05-31 13:35:08'::timestamp) - extract(epoch from '2026-05-31 13:35: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'), 46535, 'SRID=4674;POINT (-38.572402 -3.249047)', '2026-05-31 13:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572417 -3.24899)'), GeomFromEWKT('SRID=4674;POINT (-38.572402 -3.249047)'))) / (select extract(epoch from '2026-05-31 13:35:13'::timestamp) - extract(epoch from '2026-05-31 13:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572417 -3.24899)'), GeomFromEWKT('SRID=4674;POINT (-38.572402 -3.249047)'))) / (select extract(epoch from '2026-05-31 13:35:13'::timestamp) - extract(epoch from '2026-05-31 13:35: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'), 46535, 'SRID=4674;POINT (-38.572393 -3.249067)', '2026-05-31 13:35:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572402 -3.249047)'), GeomFromEWKT('SRID=4674;POINT (-38.572393 -3.249067)'))) / (select extract(epoch from '2026-05-31 13:35:15'::timestamp) - extract(epoch from '2026-05-31 13:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572402 -3.249047)'), GeomFromEWKT('SRID=4674;POINT (-38.572393 -3.249067)'))) / (select extract(epoch from '2026-05-31 13:35:15'::timestamp) - extract(epoch from '2026-05-31 13:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572387 -3.249103)', '2026-05-31 13:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572393 -3.249067)'), GeomFromEWKT('SRID=4674;POINT (-38.572387 -3.249103)'))) / (select extract(epoch from '2026-05-31 13:35:18'::timestamp) - extract(epoch from '2026-05-31 13:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572393 -3.249067)'), GeomFromEWKT('SRID=4674;POINT (-38.572387 -3.249103)'))) / (select extract(epoch from '2026-05-31 13:35:18'::timestamp) - extract(epoch from '2026-05-31 13:35: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'), 46535, 'SRID=4674;POINT (-38.572378 -3.249134)', '2026-05-31 13:35:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572387 -3.249103)'), GeomFromEWKT('SRID=4674;POINT (-38.572378 -3.249134)'))) / (select extract(epoch from '2026-05-31 13:35:21'::timestamp) - extract(epoch from '2026-05-31 13:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572387 -3.249103)'), GeomFromEWKT('SRID=4674;POINT (-38.572378 -3.249134)'))) / (select extract(epoch from '2026-05-31 13:35:21'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572375 -3.249142)', '2026-05-31 13:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572378 -3.249134)'), GeomFromEWKT('SRID=4674;POINT (-38.572375 -3.249142)'))) / (select extract(epoch from '2026-05-31 13:35:22'::timestamp) - extract(epoch from '2026-05-31 13:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572378 -3.249134)'), GeomFromEWKT('SRID=4674;POINT (-38.572375 -3.249142)'))) / (select extract(epoch from '2026-05-31 13:35:22'::timestamp) - extract(epoch from '2026-05-31 13:35: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'), 46535, 'SRID=4674;POINT (-38.572363 -3.249193)', '2026-05-31 13:35:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572375 -3.249142)'), GeomFromEWKT('SRID=4674;POINT (-38.572363 -3.249193)'))) / (select extract(epoch from '2026-05-31 13:35:27'::timestamp) - extract(epoch from '2026-05-31 13:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572375 -3.249142)'), GeomFromEWKT('SRID=4674;POINT (-38.572363 -3.249193)'))) / (select extract(epoch from '2026-05-31 13:35:27'::timestamp) - extract(epoch from '2026-05-31 13:35: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'), 46535, 'SRID=4674;POINT (-38.572349 -3.249231)', '2026-05-31 13:35:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572363 -3.249193)'), GeomFromEWKT('SRID=4674;POINT (-38.572349 -3.249231)'))) / (select extract(epoch from '2026-05-31 13:35:30'::timestamp) - extract(epoch from '2026-05-31 13:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572363 -3.249193)'), GeomFromEWKT('SRID=4674;POINT (-38.572349 -3.249231)'))) / (select extract(epoch from '2026-05-31 13:35:30'::timestamp) - extract(epoch from '2026-05-31 13:35: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'), 46535, 'SRID=4674;POINT (-38.572343 -3.249265)', '2026-05-31 13:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572349 -3.249231)'), GeomFromEWKT('SRID=4674;POINT (-38.572343 -3.249265)'))) / (select extract(epoch from '2026-05-31 13:35:33'::timestamp) - extract(epoch from '2026-05-31 13:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572349 -3.249231)'), GeomFromEWKT('SRID=4674;POINT (-38.572343 -3.249265)'))) / (select extract(epoch from '2026-05-31 13:35:33'::timestamp) - extract(epoch from '2026-05-31 13:35: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'), 46535, 'SRID=4674;POINT (-38.572326 -3.249313)', '2026-05-31 13:35:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572343 -3.249265)'), GeomFromEWKT('SRID=4674;POINT (-38.572326 -3.249313)'))) / (select extract(epoch from '2026-05-31 13:35:38'::timestamp) - extract(epoch from '2026-05-31 13:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572343 -3.249265)'), GeomFromEWKT('SRID=4674;POINT (-38.572326 -3.249313)'))) / (select extract(epoch from '2026-05-31 13:35:38'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572305 -3.249355)', '2026-05-31 13:35:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572326 -3.249313)'), GeomFromEWKT('SRID=4674;POINT (-38.572305 -3.249355)'))) / (select extract(epoch from '2026-05-31 13:35:42'::timestamp) - extract(epoch from '2026-05-31 13:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572326 -3.249313)'), GeomFromEWKT('SRID=4674;POINT (-38.572305 -3.249355)'))) / (select extract(epoch from '2026-05-31 13:35:42'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572293 -3.249382)', '2026-05-31 13:35:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572305 -3.249355)'), GeomFromEWKT('SRID=4674;POINT (-38.572293 -3.249382)'))) / (select extract(epoch from '2026-05-31 13:35:45'::timestamp) - extract(epoch from '2026-05-31 13:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572305 -3.249355)'), GeomFromEWKT('SRID=4674;POINT (-38.572293 -3.249382)'))) / (select extract(epoch from '2026-05-31 13:35:45'::timestamp) - extract(epoch from '2026-05-31 13:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572277 -3.249439)', '2026-05-31 13:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572293 -3.249382)'), GeomFromEWKT('SRID=4674;POINT (-38.572277 -3.249439)'))) / (select extract(epoch from '2026-05-31 13:35:51'::timestamp) - extract(epoch from '2026-05-31 13:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572293 -3.249382)'), GeomFromEWKT('SRID=4674;POINT (-38.572277 -3.249439)'))) / (select extract(epoch from '2026-05-31 13:35:51'::timestamp) - extract(epoch from '2026-05-31 13:35: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'), 46535, 'SRID=4674;POINT (-38.57226 -3.249495)', '2026-05-31 13:35:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572277 -3.249439)'), GeomFromEWKT('SRID=4674;POINT (-38.57226 -3.249495)'))) / (select extract(epoch from '2026-05-31 13:35:58'::timestamp) - extract(epoch from '2026-05-31 13:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572277 -3.249439)'), GeomFromEWKT('SRID=4674;POINT (-38.57226 -3.249495)'))) / (select extract(epoch from '2026-05-31 13:35:58'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572245 -3.249539)', '2026-05-31 13:36:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57226 -3.249495)'), GeomFromEWKT('SRID=4674;POINT (-38.572245 -3.249539)'))) / (select extract(epoch from '2026-05-31 13:36:03'::timestamp) - extract(epoch from '2026-05-31 13:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57226 -3.249495)'), GeomFromEWKT('SRID=4674;POINT (-38.572245 -3.249539)'))) / (select extract(epoch from '2026-05-31 13:36:03'::timestamp) - extract(epoch from '2026-05-31 13:35: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'), 46535, 'SRID=4674;POINT (-38.572242 -3.249561)', '2026-05-31 13:36:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572245 -3.249539)'), GeomFromEWKT('SRID=4674;POINT (-38.572242 -3.249561)'))) / (select extract(epoch from '2026-05-31 13:36:06'::timestamp) - extract(epoch from '2026-05-31 13:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572245 -3.249539)'), GeomFromEWKT('SRID=4674;POINT (-38.572242 -3.249561)'))) / (select extract(epoch from '2026-05-31 13:36:06'::timestamp) - extract(epoch from '2026-05-31 13:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572232 -3.249623)', '2026-05-31 13:36:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572242 -3.249561)'), GeomFromEWKT('SRID=4674;POINT (-38.572232 -3.249623)'))) / (select extract(epoch from '2026-05-31 13:36:12'::timestamp) - extract(epoch from '2026-05-31 13:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572242 -3.249561)'), GeomFromEWKT('SRID=4674;POINT (-38.572232 -3.249623)'))) / (select extract(epoch from '2026-05-31 13:36:12'::timestamp) - extract(epoch from '2026-05-31 13:36:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572212 -3.249693)', '2026-05-31 13:36:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572232 -3.249623)'), GeomFromEWKT('SRID=4674;POINT (-38.572212 -3.249693)'))) / (select extract(epoch from '2026-05-31 13:36:21'::timestamp) - extract(epoch from '2026-05-31 13:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572232 -3.249623)'), GeomFromEWKT('SRID=4674;POINT (-38.572212 -3.249693)'))) / (select extract(epoch from '2026-05-31 13:36:21'::timestamp) - extract(epoch from '2026-05-31 13:36: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'), 46535, 'SRID=4674;POINT (-38.572208 -3.24974)', '2026-05-31 13:36:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572212 -3.249693)'), GeomFromEWKT('SRID=4674;POINT (-38.572208 -3.24974)'))) / (select extract(epoch from '2026-05-31 13:36:27'::timestamp) - extract(epoch from '2026-05-31 13:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572212 -3.249693)'), GeomFromEWKT('SRID=4674;POINT (-38.572208 -3.24974)'))) / (select extract(epoch from '2026-05-31 13:36:27'::timestamp) - extract(epoch from '2026-05-31 13:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572214 -3.249763)', '2026-05-31 13:36:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572208 -3.24974)'), GeomFromEWKT('SRID=4674;POINT (-38.572214 -3.249763)'))) / (select extract(epoch from '2026-05-31 13:36:29'::timestamp) - extract(epoch from '2026-05-31 13:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572208 -3.24974)'), GeomFromEWKT('SRID=4674;POINT (-38.572214 -3.249763)'))) / (select extract(epoch from '2026-05-31 13:36:29'::timestamp) - extract(epoch from '2026-05-31 13:36: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'), 46535, 'SRID=4674;POINT (-38.572203 -3.249811)', '2026-05-31 13:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572214 -3.249763)'), GeomFromEWKT('SRID=4674;POINT (-38.572203 -3.249811)'))) / (select extract(epoch from '2026-05-31 13:36:34'::timestamp) - extract(epoch from '2026-05-31 13:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572214 -3.249763)'), GeomFromEWKT('SRID=4674;POINT (-38.572203 -3.249811)'))) / (select extract(epoch from '2026-05-31 13:36:34'::timestamp) - extract(epoch from '2026-05-31 13:36:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572178 -3.249881)', '2026-05-31 13:36:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572203 -3.249811)'), GeomFromEWKT('SRID=4674;POINT (-38.572178 -3.249881)'))) / (select extract(epoch from '2026-05-31 13:36:41'::timestamp) - extract(epoch from '2026-05-31 13:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572203 -3.249811)'), GeomFromEWKT('SRID=4674;POINT (-38.572178 -3.249881)'))) / (select extract(epoch from '2026-05-31 13:36:41'::timestamp) - extract(epoch from '2026-05-31 13:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572176 -3.249901)', '2026-05-31 13:36:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572178 -3.249881)'), GeomFromEWKT('SRID=4674;POINT (-38.572176 -3.249901)'))) / (select extract(epoch from '2026-05-31 13:36:43'::timestamp) - extract(epoch from '2026-05-31 13:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572178 -3.249881)'), GeomFromEWKT('SRID=4674;POINT (-38.572176 -3.249901)'))) / (select extract(epoch from '2026-05-31 13:36:43'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572164 -3.249932)', '2026-05-31 13:36:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572176 -3.249901)'), GeomFromEWKT('SRID=4674;POINT (-38.572164 -3.249932)'))) / (select extract(epoch from '2026-05-31 13:36:47'::timestamp) - extract(epoch from '2026-05-31 13:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572176 -3.249901)'), GeomFromEWKT('SRID=4674;POINT (-38.572164 -3.249932)'))) / (select extract(epoch from '2026-05-31 13:36:47'::timestamp) - extract(epoch from '2026-05-31 13:36: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'), 46535, 'SRID=4674;POINT (-38.57213 -3.250019)', '2026-05-31 13:36:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572164 -3.249932)'), GeomFromEWKT('SRID=4674;POINT (-38.57213 -3.250019)'))) / (select extract(epoch from '2026-05-31 13:36:57'::timestamp) - extract(epoch from '2026-05-31 13:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572164 -3.249932)'), GeomFromEWKT('SRID=4674;POINT (-38.57213 -3.250019)'))) / (select extract(epoch from '2026-05-31 13:36:57'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.57212 -3.250074)', '2026-05-31 13:37:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57213 -3.250019)'), GeomFromEWKT('SRID=4674;POINT (-38.57212 -3.250074)'))) / (select extract(epoch from '2026-05-31 13:37:06'::timestamp) - extract(epoch from '2026-05-31 13:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57213 -3.250019)'), GeomFromEWKT('SRID=4674;POINT (-38.57212 -3.250074)'))) / (select extract(epoch from '2026-05-31 13:37:06'::timestamp) - extract(epoch from '2026-05-31 13:36:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57211 -3.250147)', '2026-05-31 13:37:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57212 -3.250074)'), GeomFromEWKT('SRID=4674;POINT (-38.57211 -3.250147)'))) / (select extract(epoch from '2026-05-31 13:37:14'::timestamp) - extract(epoch from '2026-05-31 13:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57212 -3.250074)'), GeomFromEWKT('SRID=4674;POINT (-38.57211 -3.250147)'))) / (select extract(epoch from '2026-05-31 13:37:14'::timestamp) - extract(epoch from '2026-05-31 13:37:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572096 -3.250217)', '2026-05-31 13:37:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57211 -3.250147)'), GeomFromEWKT('SRID=4674;POINT (-38.572096 -3.250217)'))) / (select extract(epoch from '2026-05-31 13:37:21'::timestamp) - extract(epoch from '2026-05-31 13:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57211 -3.250147)'), GeomFromEWKT('SRID=4674;POINT (-38.572096 -3.250217)'))) / (select extract(epoch from '2026-05-31 13:37:21'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572073 -3.250303)', '2026-05-31 13:37:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572096 -3.250217)'), GeomFromEWKT('SRID=4674;POINT (-38.572073 -3.250303)'))) / (select extract(epoch from '2026-05-31 13:37:30'::timestamp) - extract(epoch from '2026-05-31 13:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572096 -3.250217)'), GeomFromEWKT('SRID=4674;POINT (-38.572073 -3.250303)'))) / (select extract(epoch from '2026-05-31 13:37:30'::timestamp) - extract(epoch from '2026-05-31 13:37: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'), 46535, 'SRID=4674;POINT (-38.572049 -3.250355)', '2026-05-31 13:37:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572073 -3.250303)'), GeomFromEWKT('SRID=4674;POINT (-38.572049 -3.250355)'))) / (select extract(epoch from '2026-05-31 13:37:36'::timestamp) - extract(epoch from '2026-05-31 13:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572073 -3.250303)'), GeomFromEWKT('SRID=4674;POINT (-38.572049 -3.250355)'))) / (select extract(epoch from '2026-05-31 13:37:36'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572045 -3.250363)', '2026-05-31 13:37:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572049 -3.250355)'), GeomFromEWKT('SRID=4674;POINT (-38.572045 -3.250363)'))) / (select extract(epoch from '2026-05-31 13:37:37'::timestamp) - extract(epoch from '2026-05-31 13:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572049 -3.250355)'), GeomFromEWKT('SRID=4674;POINT (-38.572045 -3.250363)'))) / (select extract(epoch from '2026-05-31 13:37:37'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572036 -3.250398)', '2026-05-31 13:37:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572045 -3.250363)'), GeomFromEWKT('SRID=4674;POINT (-38.572036 -3.250398)'))) / (select extract(epoch from '2026-05-31 13:37:42'::timestamp) - extract(epoch from '2026-05-31 13:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572045 -3.250363)'), GeomFromEWKT('SRID=4674;POINT (-38.572036 -3.250398)'))) / (select extract(epoch from '2026-05-31 13:37:42'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.572029 -3.250414)', '2026-05-31 13:37:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572036 -3.250398)'), GeomFromEWKT('SRID=4674;POINT (-38.572029 -3.250414)'))) / (select extract(epoch from '2026-05-31 13:37:44'::timestamp) - extract(epoch from '2026-05-31 13:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572036 -3.250398)'), GeomFromEWKT('SRID=4674;POINT (-38.572029 -3.250414)'))) / (select extract(epoch from '2026-05-31 13:37:44'::timestamp) - extract(epoch from '2026-05-31 13:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572019 -3.250462)', '2026-05-31 13:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572029 -3.250414)'), GeomFromEWKT('SRID=4674;POINT (-38.572019 -3.250462)'))) / (select extract(epoch from '2026-05-31 13:37:49'::timestamp) - extract(epoch from '2026-05-31 13:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572029 -3.250414)'), GeomFromEWKT('SRID=4674;POINT (-38.572019 -3.250462)'))) / (select extract(epoch from '2026-05-31 13:37:49'::timestamp) - extract(epoch from '2026-05-31 13:37:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572 -3.250522)', '2026-05-31 13:37:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572019 -3.250462)'), GeomFromEWKT('SRID=4674;POINT (-38.572 -3.250522)'))) / (select extract(epoch from '2026-05-31 13:37:55'::timestamp) - extract(epoch from '2026-05-31 13:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572019 -3.250462)'), GeomFromEWKT('SRID=4674;POINT (-38.572 -3.250522)'))) / (select extract(epoch from '2026-05-31 13:37:55'::timestamp) - extract(epoch from '2026-05-31 13:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571988 -3.25056)', '2026-05-31 13:37:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572 -3.250522)'), GeomFromEWKT('SRID=4674;POINT (-38.571988 -3.25056)'))) / (select extract(epoch from '2026-05-31 13:37:59'::timestamp) - extract(epoch from '2026-05-31 13:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572 -3.250522)'), GeomFromEWKT('SRID=4674;POINT (-38.571988 -3.25056)'))) / (select extract(epoch from '2026-05-31 13:37:59'::timestamp) - extract(epoch from '2026-05-31 13:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571985 -3.25058)', '2026-05-31 13:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571988 -3.25056)'), GeomFromEWKT('SRID=4674;POINT (-38.571985 -3.25058)'))) / (select extract(epoch from '2026-05-31 13:38:01'::timestamp) - extract(epoch from '2026-05-31 13:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571988 -3.25056)'), GeomFromEWKT('SRID=4674;POINT (-38.571985 -3.25058)'))) / (select extract(epoch from '2026-05-31 13:38:01'::timestamp) - extract(epoch from '2026-05-31 13:37: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'), 46535, 'SRID=4674;POINT (-38.571947 -3.250664)', '2026-05-31 13:38:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571985 -3.25058)'), GeomFromEWKT('SRID=4674;POINT (-38.571947 -3.250664)'))) / (select extract(epoch from '2026-05-31 13:38:09'::timestamp) - extract(epoch from '2026-05-31 13:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571985 -3.25058)'), GeomFromEWKT('SRID=4674;POINT (-38.571947 -3.250664)'))) / (select extract(epoch from '2026-05-31 13:38:09'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.571913 -3.250737)', '2026-05-31 13:38:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571947 -3.250664)'), GeomFromEWKT('SRID=4674;POINT (-38.571913 -3.250737)'))) / (select extract(epoch from '2026-05-31 13:38:16'::timestamp) - extract(epoch from '2026-05-31 13:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571947 -3.250664)'), GeomFromEWKT('SRID=4674;POINT (-38.571913 -3.250737)'))) / (select extract(epoch from '2026-05-31 13:38:16'::timestamp) - extract(epoch from '2026-05-31 13:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57189 -3.250767)', '2026-05-31 13:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571913 -3.250737)'), GeomFromEWKT('SRID=4674;POINT (-38.57189 -3.250767)'))) / (select extract(epoch from '2026-05-31 13:38:19'::timestamp) - extract(epoch from '2026-05-31 13:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571913 -3.250737)'), GeomFromEWKT('SRID=4674;POINT (-38.57189 -3.250767)'))) / (select extract(epoch from '2026-05-31 13:38:19'::timestamp) - extract(epoch from '2026-05-31 13:38: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'), 46535, 'SRID=4674;POINT (-38.571873 -3.250802)', '2026-05-31 13:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57189 -3.250767)'), GeomFromEWKT('SRID=4674;POINT (-38.571873 -3.250802)'))) / (select extract(epoch from '2026-05-31 13:38:22'::timestamp) - extract(epoch from '2026-05-31 13:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57189 -3.250767)'), GeomFromEWKT('SRID=4674;POINT (-38.571873 -3.250802)'))) / (select extract(epoch from '2026-05-31 13:38:22'::timestamp) - extract(epoch from '2026-05-31 13:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571866 -3.250815)', '2026-05-31 13:38:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571873 -3.250802)'), GeomFromEWKT('SRID=4674;POINT (-38.571866 -3.250815)'))) / (select extract(epoch from '2026-05-31 13:38:23'::timestamp) - extract(epoch from '2026-05-31 13:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571873 -3.250802)'), GeomFromEWKT('SRID=4674;POINT (-38.571866 -3.250815)'))) / (select extract(epoch from '2026-05-31 13:38:23'::timestamp) - extract(epoch from '2026-05-31 13:38: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'), 46535, 'SRID=4674;POINT (-38.571836 -3.25086)', '2026-05-31 13:38:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571866 -3.250815)'), GeomFromEWKT('SRID=4674;POINT (-38.571836 -3.25086)'))) / (select extract(epoch from '2026-05-31 13:38:28'::timestamp) - extract(epoch from '2026-05-31 13:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571866 -3.250815)'), GeomFromEWKT('SRID=4674;POINT (-38.571836 -3.25086)'))) / (select extract(epoch from '2026-05-31 13:38:28'::timestamp) - extract(epoch from '2026-05-31 13:38: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'), 46535, 'SRID=4674;POINT (-38.571817 -3.250884)', '2026-05-31 13:38:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571836 -3.25086)'), GeomFromEWKT('SRID=4674;POINT (-38.571817 -3.250884)'))) / (select extract(epoch from '2026-05-31 13:38:31'::timestamp) - extract(epoch from '2026-05-31 13:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571836 -3.25086)'), GeomFromEWKT('SRID=4674;POINT (-38.571817 -3.250884)'))) / (select extract(epoch from '2026-05-31 13:38:31'::timestamp) - extract(epoch from '2026-05-31 13:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571803 -3.250915)', '2026-05-31 13:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571817 -3.250884)'), GeomFromEWKT('SRID=4674;POINT (-38.571803 -3.250915)'))) / (select extract(epoch from '2026-05-31 13:38:34'::timestamp) - extract(epoch from '2026-05-31 13:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571817 -3.250884)'), GeomFromEWKT('SRID=4674;POINT (-38.571803 -3.250915)'))) / (select extract(epoch from '2026-05-31 13:38:34'::timestamp) - extract(epoch from '2026-05-31 13:38: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'), 46535, 'SRID=4674;POINT (-38.5718 -3.250922)', '2026-05-31 13:38:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571803 -3.250915)'), GeomFromEWKT('SRID=4674;POINT (-38.5718 -3.250922)'))) / (select extract(epoch from '2026-05-31 13:38:35'::timestamp) - extract(epoch from '2026-05-31 13:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571803 -3.250915)'), GeomFromEWKT('SRID=4674;POINT (-38.5718 -3.250922)'))) / (select extract(epoch from '2026-05-31 13:38:35'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.571788 -3.250952)', '2026-05-31 13:38:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5718 -3.250922)'), GeomFromEWKT('SRID=4674;POINT (-38.571788 -3.250952)'))) / (select extract(epoch from '2026-05-31 13:38:39'::timestamp) - extract(epoch from '2026-05-31 13:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5718 -3.250922)'), GeomFromEWKT('SRID=4674;POINT (-38.571788 -3.250952)'))) / (select extract(epoch from '2026-05-31 13:38:39'::timestamp) - extract(epoch from '2026-05-31 13:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571782 -3.250968)', '2026-05-31 13:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571788 -3.250952)'), GeomFromEWKT('SRID=4674;POINT (-38.571782 -3.250968)'))) / (select extract(epoch from '2026-05-31 13:38:41'::timestamp) - extract(epoch from '2026-05-31 13:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571788 -3.250952)'), GeomFromEWKT('SRID=4674;POINT (-38.571782 -3.250968)'))) / (select extract(epoch from '2026-05-31 13:38:41'::timestamp) - extract(epoch from '2026-05-31 13:38: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'), 46535, 'SRID=4674;POINT (-38.571766 -3.251015)', '2026-05-31 13:38:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571782 -3.250968)'), GeomFromEWKT('SRID=4674;POINT (-38.571766 -3.251015)'))) / (select extract(epoch from '2026-05-31 13:38:46'::timestamp) - extract(epoch from '2026-05-31 13:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571782 -3.250968)'), GeomFromEWKT('SRID=4674;POINT (-38.571766 -3.251015)'))) / (select extract(epoch from '2026-05-31 13:38:46'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.57176 -3.251024)', '2026-05-31 13:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571766 -3.251015)'), GeomFromEWKT('SRID=4674;POINT (-38.57176 -3.251024)'))) / (select extract(epoch from '2026-05-31 13:38:47'::timestamp) - extract(epoch from '2026-05-31 13:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571766 -3.251015)'), GeomFromEWKT('SRID=4674;POINT (-38.57176 -3.251024)'))) / (select extract(epoch from '2026-05-31 13:38:47'::timestamp) - extract(epoch from '2026-05-31 13:38: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'), 46535, 'SRID=4674;POINT (-38.571753 -3.251038)', '2026-05-31 13:38:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57176 -3.251024)'), GeomFromEWKT('SRID=4674;POINT (-38.571753 -3.251038)'))) / (select extract(epoch from '2026-05-31 13:38:49'::timestamp) - extract(epoch from '2026-05-31 13:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57176 -3.251024)'), GeomFromEWKT('SRID=4674;POINT (-38.571753 -3.251038)'))) / (select extract(epoch from '2026-05-31 13:38:49'::timestamp) - extract(epoch from '2026-05-31 13:38: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'), 46535, 'SRID=4674;POINT (-38.571737 -3.25108)', '2026-05-31 13:38:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571753 -3.251038)'), GeomFromEWKT('SRID=4674;POINT (-38.571737 -3.25108)'))) / (select extract(epoch from '2026-05-31 13:38:54'::timestamp) - extract(epoch from '2026-05-31 13:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571753 -3.251038)'), GeomFromEWKT('SRID=4674;POINT (-38.571737 -3.25108)'))) / (select extract(epoch from '2026-05-31 13:38:54'::timestamp) - extract(epoch from '2026-05-31 13:38: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'), 46535, 'SRID=4674;POINT (-38.57172 -3.251148)', '2026-05-31 13:39:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571737 -3.25108)'), GeomFromEWKT('SRID=4674;POINT (-38.57172 -3.251148)'))) / (select extract(epoch from '2026-05-31 13:39:01'::timestamp) - extract(epoch from '2026-05-31 13:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571737 -3.25108)'), GeomFromEWKT('SRID=4674;POINT (-38.57172 -3.251148)'))) / (select extract(epoch from '2026-05-31 13:39:01'::timestamp) - extract(epoch from '2026-05-31 13:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
