 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392468 -2.78676)', '2026-07-04 14:53:14', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39248 -2.786736)'), GeomFromEWKT('SRID=4674;POINT (-40.392468 -2.78676)'))) / (select extract(epoch from '2026-07-04 14:53:14'::timestamp) - extract(epoch from '2026-07-04 14:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39248 -2.786736)'), GeomFromEWKT('SRID=4674;POINT (-40.392468 -2.78676)'))) / (select extract(epoch from '2026-07-04 14:53:14'::timestamp) - extract(epoch from '2026-07-04 14:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.39246 -2.786786)', '2026-07-04 14:53:23', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392468 -2.78676)'), GeomFromEWKT('SRID=4674;POINT (-40.39246 -2.786786)'))) / (select extract(epoch from '2026-07-04 14:53:23'::timestamp) - extract(epoch from '2026-07-04 14:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392468 -2.78676)'), GeomFromEWKT('SRID=4674;POINT (-40.39246 -2.786786)'))) / (select extract(epoch from '2026-07-04 14:53:23'::timestamp) - extract(epoch from '2026-07-04 14:53: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'), 47827, 'SRID=4674;POINT (-40.392511 -2.786751)', '2026-07-04 14:53:59', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39246 -2.786786)'), GeomFromEWKT('SRID=4674;POINT (-40.392511 -2.786751)'))) / (select extract(epoch from '2026-07-04 14:53:59'::timestamp) - extract(epoch from '2026-07-04 14:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39246 -2.786786)'), GeomFromEWKT('SRID=4674;POINT (-40.392511 -2.786751)'))) / (select extract(epoch from '2026-07-04 14:53:59'::timestamp) - extract(epoch from '2026-07-04 14:53: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'), 47827, 'SRID=4674;POINT (-40.392564 -2.786754)', '2026-07-04 14:54:07', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392511 -2.786751)'), GeomFromEWKT('SRID=4674;POINT (-40.392564 -2.786754)'))) / (select extract(epoch from '2026-07-04 14:54:07'::timestamp) - extract(epoch from '2026-07-04 14:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392511 -2.786751)'), GeomFromEWKT('SRID=4674;POINT (-40.392564 -2.786754)'))) / (select extract(epoch from '2026-07-04 14:54:07'::timestamp) - extract(epoch from '2026-07-04 14:53:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392601 -2.786738)', '2026-07-04 14:54:16', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392564 -2.786754)'), GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786738)'))) / (select extract(epoch from '2026-07-04 14:54:16'::timestamp) - extract(epoch from '2026-07-04 14:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392564 -2.786754)'), GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786738)'))) / (select extract(epoch from '2026-07-04 14:54:16'::timestamp) - extract(epoch from '2026-07-04 14:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392614 -2.786719)', '2026-07-04 14:54:24', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786738)'), GeomFromEWKT('SRID=4674;POINT (-40.392614 -2.786719)'))) / (select extract(epoch from '2026-07-04 14:54:24'::timestamp) - extract(epoch from '2026-07-04 14:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786738)'), GeomFromEWKT('SRID=4674;POINT (-40.392614 -2.786719)'))) / (select extract(epoch from '2026-07-04 14:54:24'::timestamp) - extract(epoch from '2026-07-04 14:54: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'), 47827, 'SRID=4674;POINT (-40.392614 -2.7867)', '2026-07-04 14:54:26', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392614 -2.786719)'), GeomFromEWKT('SRID=4674;POINT (-40.392614 -2.7867)'))) / (select extract(epoch from '2026-07-04 14:54:26'::timestamp) - extract(epoch from '2026-07-04 14:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392614 -2.786719)'), GeomFromEWKT('SRID=4674;POINT (-40.392614 -2.7867)'))) / (select extract(epoch from '2026-07-04 14:54:26'::timestamp) - extract(epoch from '2026-07-04 14:54: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'), 47827, 'SRID=4674;POINT (-40.392609 -2.786666)', '2026-07-04 14:54:31', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392614 -2.7867)'), GeomFromEWKT('SRID=4674;POINT (-40.392609 -2.786666)'))) / (select extract(epoch from '2026-07-04 14:54:31'::timestamp) - extract(epoch from '2026-07-04 14:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392614 -2.7867)'), GeomFromEWKT('SRID=4674;POINT (-40.392609 -2.786666)'))) / (select extract(epoch from '2026-07-04 14:54:31'::timestamp) - extract(epoch from '2026-07-04 14:54:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392602 -2.786629)', '2026-07-04 14:54:37', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392609 -2.786666)'), GeomFromEWKT('SRID=4674;POINT (-40.392602 -2.786629)'))) / (select extract(epoch from '2026-07-04 14:54:37'::timestamp) - extract(epoch from '2026-07-04 14:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392609 -2.786666)'), GeomFromEWKT('SRID=4674;POINT (-40.392602 -2.786629)'))) / (select extract(epoch from '2026-07-04 14:54:37'::timestamp) - extract(epoch from '2026-07-04 14:54: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'), 47827, 'SRID=4674;POINT (-40.392558 -2.786637)', '2026-07-04 14:54:46', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392602 -2.786629)'), GeomFromEWKT('SRID=4674;POINT (-40.392558 -2.786637)'))) / (select extract(epoch from '2026-07-04 14:54:46'::timestamp) - extract(epoch from '2026-07-04 14:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392602 -2.786629)'), GeomFromEWKT('SRID=4674;POINT (-40.392558 -2.786637)'))) / (select extract(epoch from '2026-07-04 14:54:46'::timestamp) - extract(epoch from '2026-07-04 14:54: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'), 47827, 'SRID=4674;POINT (-40.392556 -2.786677)', '2026-07-04 14:54:52', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392558 -2.786637)'), GeomFromEWKT('SRID=4674;POINT (-40.392556 -2.786677)'))) / (select extract(epoch from '2026-07-04 14:54:52'::timestamp) - extract(epoch from '2026-07-04 14:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392558 -2.786637)'), GeomFromEWKT('SRID=4674;POINT (-40.392556 -2.786677)'))) / (select extract(epoch from '2026-07-04 14:54:52'::timestamp) - extract(epoch from '2026-07-04 14:54: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'), 47827, 'SRID=4674;POINT (-40.392575 -2.786713)', '2026-07-04 14:54:59', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392556 -2.786677)'), GeomFromEWKT('SRID=4674;POINT (-40.392575 -2.786713)'))) / (select extract(epoch from '2026-07-04 14:54:59'::timestamp) - extract(epoch from '2026-07-04 14:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392556 -2.786677)'), GeomFromEWKT('SRID=4674;POINT (-40.392575 -2.786713)'))) / (select extract(epoch from '2026-07-04 14:54:59'::timestamp) - extract(epoch from '2026-07-04 14:54:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392581 -2.786765)', '2026-07-04 14:55:06', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392575 -2.786713)'), GeomFromEWKT('SRID=4674;POINT (-40.392581 -2.786765)'))) / (select extract(epoch from '2026-07-04 14:55:06'::timestamp) - extract(epoch from '2026-07-04 14:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392575 -2.786713)'), GeomFromEWKT('SRID=4674;POINT (-40.392581 -2.786765)'))) / (select extract(epoch from '2026-07-04 14:55:06'::timestamp) - extract(epoch from '2026-07-04 14:54:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392598 -2.786782)', '2026-07-04 14:55:13', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392581 -2.786765)'), GeomFromEWKT('SRID=4674;POINT (-40.392598 -2.786782)'))) / (select extract(epoch from '2026-07-04 14:55:13'::timestamp) - extract(epoch from '2026-07-04 14:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392581 -2.786765)'), GeomFromEWKT('SRID=4674;POINT (-40.392598 -2.786782)'))) / (select extract(epoch from '2026-07-04 14:55:13'::timestamp) - extract(epoch from '2026-07-04 14:55: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'), 47827, 'SRID=4674;POINT (-40.392602 -2.786778)', '2026-07-04 14:55:20', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392598 -2.786782)'), GeomFromEWKT('SRID=4674;POINT (-40.392602 -2.786778)'))) / (select extract(epoch from '2026-07-04 14:55:20'::timestamp) - extract(epoch from '2026-07-04 14:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392598 -2.786782)'), GeomFromEWKT('SRID=4674;POINT (-40.392602 -2.786778)'))) / (select extract(epoch from '2026-07-04 14:55:20'::timestamp) - extract(epoch from '2026-07-04 14:55: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'), 47827, 'SRID=4674;POINT (-40.392586 -2.786807)', '2026-07-04 14:55:38', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392602 -2.786778)'), GeomFromEWKT('SRID=4674;POINT (-40.392586 -2.786807)'))) / (select extract(epoch from '2026-07-04 14:55:38'::timestamp) - extract(epoch from '2026-07-04 14:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392602 -2.786778)'), GeomFromEWKT('SRID=4674;POINT (-40.392586 -2.786807)'))) / (select extract(epoch from '2026-07-04 14:55:38'::timestamp) - extract(epoch from '2026-07-04 14:55:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392549 -2.786805)', '2026-07-04 14:55:49', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392586 -2.786807)'), GeomFromEWKT('SRID=4674;POINT (-40.392549 -2.786805)'))) / (select extract(epoch from '2026-07-04 14:55:49'::timestamp) - extract(epoch from '2026-07-04 14:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392586 -2.786807)'), GeomFromEWKT('SRID=4674;POINT (-40.392549 -2.786805)'))) / (select extract(epoch from '2026-07-04 14:55:49'::timestamp) - extract(epoch from '2026-07-04 14:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392569 -2.786791)', '2026-07-04 14:56:05', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392549 -2.786805)'), GeomFromEWKT('SRID=4674;POINT (-40.392569 -2.786791)'))) / (select extract(epoch from '2026-07-04 14:56:05'::timestamp) - extract(epoch from '2026-07-04 14:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392549 -2.786805)'), GeomFromEWKT('SRID=4674;POINT (-40.392569 -2.786791)'))) / (select extract(epoch from '2026-07-04 14:56:05'::timestamp) - extract(epoch from '2026-07-04 14:55: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'), 47827, 'SRID=4674;POINT (-40.392583 -2.786773)', '2026-07-04 14:56:13', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392569 -2.786791)'), GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786773)'))) / (select extract(epoch from '2026-07-04 14:56:13'::timestamp) - extract(epoch from '2026-07-04 14:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392569 -2.786791)'), GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786773)'))) / (select extract(epoch from '2026-07-04 14:56:13'::timestamp) - extract(epoch from '2026-07-04 14:56: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'), 47827, 'SRID=4674;POINT (-40.392583 -2.786757)', '2026-07-04 14:56:19', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786773)'), GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786757)'))) / (select extract(epoch from '2026-07-04 14:56:19'::timestamp) - extract(epoch from '2026-07-04 14:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786773)'), GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786757)'))) / (select extract(epoch from '2026-07-04 14:56:19'::timestamp) - extract(epoch from '2026-07-04 14:56: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'), 47827, 'SRID=4674;POINT (-40.392594 -2.786735)', '2026-07-04 14:56:28', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786757)'), GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.786735)'))) / (select extract(epoch from '2026-07-04 14:56:28'::timestamp) - extract(epoch from '2026-07-04 14:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786757)'), GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.786735)'))) / (select extract(epoch from '2026-07-04 14:56:28'::timestamp) - extract(epoch from '2026-07-04 14:56: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'), 47827, 'SRID=4674;POINT (-40.392608 -2.786729)', '2026-07-04 14:56:36', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.786735)'), GeomFromEWKT('SRID=4674;POINT (-40.392608 -2.786729)'))) / (select extract(epoch from '2026-07-04 14:56:36'::timestamp) - extract(epoch from '2026-07-04 14:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.786735)'), GeomFromEWKT('SRID=4674;POINT (-40.392608 -2.786729)'))) / (select extract(epoch from '2026-07-04 14:56:36'::timestamp) - extract(epoch from '2026-07-04 14:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.39264 -2.786706)', '2026-07-04 14:56:44', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392608 -2.786729)'), GeomFromEWKT('SRID=4674;POINT (-40.39264 -2.786706)'))) / (select extract(epoch from '2026-07-04 14:56:44'::timestamp) - extract(epoch from '2026-07-04 14:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392608 -2.786729)'), GeomFromEWKT('SRID=4674;POINT (-40.39264 -2.786706)'))) / (select extract(epoch from '2026-07-04 14:56:44'::timestamp) - extract(epoch from '2026-07-04 14:56: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'), 47827, 'SRID=4674;POINT (-40.392662 -2.786634)', '2026-07-04 14:56:55', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39264 -2.786706)'), GeomFromEWKT('SRID=4674;POINT (-40.392662 -2.786634)'))) / (select extract(epoch from '2026-07-04 14:56:55'::timestamp) - extract(epoch from '2026-07-04 14:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39264 -2.786706)'), GeomFromEWKT('SRID=4674;POINT (-40.392662 -2.786634)'))) / (select extract(epoch from '2026-07-04 14:56:55'::timestamp) - extract(epoch from '2026-07-04 14:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392613 -2.786596)', '2026-07-04 14:57:04', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392662 -2.786634)'), GeomFromEWKT('SRID=4674;POINT (-40.392613 -2.786596)'))) / (select extract(epoch from '2026-07-04 14:57:04'::timestamp) - extract(epoch from '2026-07-04 14:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392662 -2.786634)'), GeomFromEWKT('SRID=4674;POINT (-40.392613 -2.786596)'))) / (select extract(epoch from '2026-07-04 14:57:04'::timestamp) - extract(epoch from '2026-07-04 14:56: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'), 47827, 'SRID=4674;POINT (-40.392591 -2.786618)', '2026-07-04 14:57:08', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392613 -2.786596)'), GeomFromEWKT('SRID=4674;POINT (-40.392591 -2.786618)'))) / (select extract(epoch from '2026-07-04 14:57:08'::timestamp) - extract(epoch from '2026-07-04 14:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392613 -2.786596)'), GeomFromEWKT('SRID=4674;POINT (-40.392591 -2.786618)'))) / (select extract(epoch from '2026-07-04 14:57:08'::timestamp) - extract(epoch from '2026-07-04 14:57: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'), 47827, 'SRID=4674;POINT (-40.392589 -2.786632)', '2026-07-04 14:57:10', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392591 -2.786618)'), GeomFromEWKT('SRID=4674;POINT (-40.392589 -2.786632)'))) / (select extract(epoch from '2026-07-04 14:57:10'::timestamp) - extract(epoch from '2026-07-04 14:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392591 -2.786618)'), GeomFromEWKT('SRID=4674;POINT (-40.392589 -2.786632)'))) / (select extract(epoch from '2026-07-04 14:57:10'::timestamp) - extract(epoch from '2026-07-04 14:57: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'), 47827, 'SRID=4674;POINT (-40.392605 -2.786685)', '2026-07-04 14:57:16', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392589 -2.786632)'), GeomFromEWKT('SRID=4674;POINT (-40.392605 -2.786685)'))) / (select extract(epoch from '2026-07-04 14:57:16'::timestamp) - extract(epoch from '2026-07-04 14:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392589 -2.786632)'), GeomFromEWKT('SRID=4674;POINT (-40.392605 -2.786685)'))) / (select extract(epoch from '2026-07-04 14:57:16'::timestamp) - extract(epoch from '2026-07-04 14:57: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'), 47827, 'SRID=4674;POINT (-40.392613 -2.786702)', '2026-07-04 14:57:18', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392605 -2.786685)'), GeomFromEWKT('SRID=4674;POINT (-40.392613 -2.786702)'))) / (select extract(epoch from '2026-07-04 14:57:18'::timestamp) - extract(epoch from '2026-07-04 14:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392605 -2.786685)'), GeomFromEWKT('SRID=4674;POINT (-40.392613 -2.786702)'))) / (select extract(epoch from '2026-07-04 14:57:18'::timestamp) - extract(epoch from '2026-07-04 14:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392627 -2.786749)', '2026-07-04 14:57:25', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392613 -2.786702)'), GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786749)'))) / (select extract(epoch from '2026-07-04 14:57:25'::timestamp) - extract(epoch from '2026-07-04 14:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392613 -2.786702)'), GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786749)'))) / (select extract(epoch from '2026-07-04 14:57:25'::timestamp) - extract(epoch from '2026-07-04 14:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392601 -2.786789)', '2026-07-04 14:57:33', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786749)'), GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786789)'))) / (select extract(epoch from '2026-07-04 14:57:33'::timestamp) - extract(epoch from '2026-07-04 14:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786749)'), GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786789)'))) / (select extract(epoch from '2026-07-04 14:57:33'::timestamp) - extract(epoch from '2026-07-04 14:57: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'), 47827, 'SRID=4674;POINT (-40.392546 -2.786815)', '2026-07-04 14:57:39', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786789)'), GeomFromEWKT('SRID=4674;POINT (-40.392546 -2.786815)'))) / (select extract(epoch from '2026-07-04 14:57:39'::timestamp) - extract(epoch from '2026-07-04 14:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786789)'), GeomFromEWKT('SRID=4674;POINT (-40.392546 -2.786815)'))) / (select extract(epoch from '2026-07-04 14:57:39'::timestamp) - extract(epoch from '2026-07-04 14:57: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'), 47827, 'SRID=4674;POINT (-40.392534 -2.786818)', '2026-07-04 14:57:48', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392546 -2.786815)'), GeomFromEWKT('SRID=4674;POINT (-40.392534 -2.786818)'))) / (select extract(epoch from '2026-07-04 14:57:48'::timestamp) - extract(epoch from '2026-07-04 14:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392546 -2.786815)'), GeomFromEWKT('SRID=4674;POINT (-40.392534 -2.786818)'))) / (select extract(epoch from '2026-07-04 14:57:48'::timestamp) - extract(epoch from '2026-07-04 14:57: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'), 47827, 'SRID=4674;POINT (-40.392573 -2.786791)', '2026-07-04 14:58:12', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392534 -2.786818)'), GeomFromEWKT('SRID=4674;POINT (-40.392573 -2.786791)'))) / (select extract(epoch from '2026-07-04 14:58:12'::timestamp) - extract(epoch from '2026-07-04 14:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392534 -2.786818)'), GeomFromEWKT('SRID=4674;POINT (-40.392573 -2.786791)'))) / (select extract(epoch from '2026-07-04 14:58:12'::timestamp) - extract(epoch from '2026-07-04 14:57: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'), 47827, 'SRID=4674;POINT (-40.39259 -2.786777)', '2026-07-04 14:58:19', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392573 -2.786791)'), GeomFromEWKT('SRID=4674;POINT (-40.39259 -2.786777)'))) / (select extract(epoch from '2026-07-04 14:58:19'::timestamp) - extract(epoch from '2026-07-04 14:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392573 -2.786791)'), GeomFromEWKT('SRID=4674;POINT (-40.39259 -2.786777)'))) / (select extract(epoch from '2026-07-04 14:58:19'::timestamp) - extract(epoch from '2026-07-04 14:58: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'), 47827, 'SRID=4674;POINT (-40.392595 -2.786764)', '2026-07-04 14:58:26', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39259 -2.786777)'), GeomFromEWKT('SRID=4674;POINT (-40.392595 -2.786764)'))) / (select extract(epoch from '2026-07-04 14:58:26'::timestamp) - extract(epoch from '2026-07-04 14:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39259 -2.786777)'), GeomFromEWKT('SRID=4674;POINT (-40.392595 -2.786764)'))) / (select extract(epoch from '2026-07-04 14:58:26'::timestamp) - extract(epoch from '2026-07-04 14:58:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392647 -2.786739)', '2026-07-04 14:58:33', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392595 -2.786764)'), GeomFromEWKT('SRID=4674;POINT (-40.392647 -2.786739)'))) / (select extract(epoch from '2026-07-04 14:58:33'::timestamp) - extract(epoch from '2026-07-04 14:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392595 -2.786764)'), GeomFromEWKT('SRID=4674;POINT (-40.392647 -2.786739)'))) / (select extract(epoch from '2026-07-04 14:58:33'::timestamp) - extract(epoch from '2026-07-04 14:58: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'), 47827, 'SRID=4674;POINT (-40.392678 -2.786737)', '2026-07-04 14:58:47', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392647 -2.786739)'), GeomFromEWKT('SRID=4674;POINT (-40.392678 -2.786737)'))) / (select extract(epoch from '2026-07-04 14:58:47'::timestamp) - extract(epoch from '2026-07-04 14:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392647 -2.786739)'), GeomFromEWKT('SRID=4674;POINT (-40.392678 -2.786737)'))) / (select extract(epoch from '2026-07-04 14:58:47'::timestamp) - extract(epoch from '2026-07-04 14:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.39269 -2.786728)', '2026-07-04 14:58:56', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392678 -2.786737)'), GeomFromEWKT('SRID=4674;POINT (-40.39269 -2.786728)'))) / (select extract(epoch from '2026-07-04 14:58:56'::timestamp) - extract(epoch from '2026-07-04 14:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392678 -2.786737)'), GeomFromEWKT('SRID=4674;POINT (-40.39269 -2.786728)'))) / (select extract(epoch from '2026-07-04 14:58:56'::timestamp) - extract(epoch from '2026-07-04 14:58: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'), 47827, 'SRID=4674;POINT (-40.392717 -2.786723)', '2026-07-04 14:59:14', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39269 -2.786728)'), GeomFromEWKT('SRID=4674;POINT (-40.392717 -2.786723)'))) / (select extract(epoch from '2026-07-04 14:59:14'::timestamp) - extract(epoch from '2026-07-04 14:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39269 -2.786728)'), GeomFromEWKT('SRID=4674;POINT (-40.392717 -2.786723)'))) / (select extract(epoch from '2026-07-04 14:59:14'::timestamp) - extract(epoch from '2026-07-04 14:58: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'), 47827, 'SRID=4674;POINT (-40.39275 -2.786709)', '2026-07-04 14:59:28', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392717 -2.786723)'), GeomFromEWKT('SRID=4674;POINT (-40.39275 -2.786709)'))) / (select extract(epoch from '2026-07-04 14:59:28'::timestamp) - extract(epoch from '2026-07-04 14:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392717 -2.786723)'), GeomFromEWKT('SRID=4674;POINT (-40.39275 -2.786709)'))) / (select extract(epoch from '2026-07-04 14:59:28'::timestamp) - extract(epoch from '2026-07-04 14:59:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392856 -2.786662)', '2026-07-04 15:00:12', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39275 -2.786709)'), GeomFromEWKT('SRID=4674;POINT (-40.392856 -2.786662)'))) / (select extract(epoch from '2026-07-04 15:00:12'::timestamp) - extract(epoch from '2026-07-04 14:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39275 -2.786709)'), GeomFromEWKT('SRID=4674;POINT (-40.392856 -2.786662)'))) / (select extract(epoch from '2026-07-04 15:00:12'::timestamp) - extract(epoch from '2026-07-04 14:59:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392829 -2.786617)', '2026-07-04 15:00:18', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392856 -2.786662)'), GeomFromEWKT('SRID=4674;POINT (-40.392829 -2.786617)'))) / (select extract(epoch from '2026-07-04 15:00:18'::timestamp) - extract(epoch from '2026-07-04 15:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392856 -2.786662)'), GeomFromEWKT('SRID=4674;POINT (-40.392829 -2.786617)'))) / (select extract(epoch from '2026-07-04 15:00:18'::timestamp) - extract(epoch from '2026-07-04 15:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392791 -2.786595)', '2026-07-04 15:00:28', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392829 -2.786617)'), GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.786595)'))) / (select extract(epoch from '2026-07-04 15:00:28'::timestamp) - extract(epoch from '2026-07-04 15:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392829 -2.786617)'), GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.786595)'))) / (select extract(epoch from '2026-07-04 15:00:28'::timestamp) - extract(epoch from '2026-07-04 15:00:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392786 -2.786643)', '2026-07-04 15:00:35', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.786595)'), GeomFromEWKT('SRID=4674;POINT (-40.392786 -2.786643)'))) / (select extract(epoch from '2026-07-04 15:00:35'::timestamp) - extract(epoch from '2026-07-04 15:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.786595)'), GeomFromEWKT('SRID=4674;POINT (-40.392786 -2.786643)'))) / (select extract(epoch from '2026-07-04 15:00:35'::timestamp) - extract(epoch from '2026-07-04 15:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392744 -2.786696)', '2026-07-04 15:00:42', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392786 -2.786643)'), GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786696)'))) / (select extract(epoch from '2026-07-04 15:00:42'::timestamp) - extract(epoch from '2026-07-04 15:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392786 -2.786643)'), GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786696)'))) / (select extract(epoch from '2026-07-04 15:00:42'::timestamp) - extract(epoch from '2026-07-04 15:00: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'), 47827, 'SRID=4674;POINT (-40.392653 -2.786745)', '2026-07-04 15:00:50', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786696)'), GeomFromEWKT('SRID=4674;POINT (-40.392653 -2.786745)'))) / (select extract(epoch from '2026-07-04 15:00:50'::timestamp) - extract(epoch from '2026-07-04 15:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786696)'), GeomFromEWKT('SRID=4674;POINT (-40.392653 -2.786745)'))) / (select extract(epoch from '2026-07-04 15:00:50'::timestamp) - extract(epoch from '2026-07-04 15:00:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392585 -2.786748)', '2026-07-04 15:00:57', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392653 -2.786745)'), GeomFromEWKT('SRID=4674;POINT (-40.392585 -2.786748)'))) / (select extract(epoch from '2026-07-04 15:00:57'::timestamp) - extract(epoch from '2026-07-04 15:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392653 -2.786745)'), GeomFromEWKT('SRID=4674;POINT (-40.392585 -2.786748)'))) / (select extract(epoch from '2026-07-04 15:00:57'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.392543 -2.786739)', '2026-07-04 15:01:04', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392585 -2.786748)'), GeomFromEWKT('SRID=4674;POINT (-40.392543 -2.786739)'))) / (select extract(epoch from '2026-07-04 15:01:04'::timestamp) - extract(epoch from '2026-07-04 15:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392585 -2.786748)'), GeomFromEWKT('SRID=4674;POINT (-40.392543 -2.786739)'))) / (select extract(epoch from '2026-07-04 15:01:04'::timestamp) - extract(epoch from '2026-07-04 15:00: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'), 47827, 'SRID=4674;POINT (-40.392524 -2.786739)', '2026-07-04 15:01:10', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392543 -2.786739)'), GeomFromEWKT('SRID=4674;POINT (-40.392524 -2.786739)'))) / (select extract(epoch from '2026-07-04 15:01:10'::timestamp) - extract(epoch from '2026-07-04 15:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392543 -2.786739)'), GeomFromEWKT('SRID=4674;POINT (-40.392524 -2.786739)'))) / (select extract(epoch from '2026-07-04 15:01:10'::timestamp) - extract(epoch from '2026-07-04 15:01: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'), 47827, 'SRID=4674;POINT (-40.392501 -2.786759)', '2026-07-04 15:01:18', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392524 -2.786739)'), GeomFromEWKT('SRID=4674;POINT (-40.392501 -2.786759)'))) / (select extract(epoch from '2026-07-04 15:01:18'::timestamp) - extract(epoch from '2026-07-04 15:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392524 -2.786739)'), GeomFromEWKT('SRID=4674;POINT (-40.392501 -2.786759)'))) / (select extract(epoch from '2026-07-04 15:01:18'::timestamp) - extract(epoch from '2026-07-04 15:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392463 -2.786761)', '2026-07-04 15:01:26', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392501 -2.786759)'), GeomFromEWKT('SRID=4674;POINT (-40.392463 -2.786761)'))) / (select extract(epoch from '2026-07-04 15:01:26'::timestamp) - extract(epoch from '2026-07-04 15:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392501 -2.786759)'), GeomFromEWKT('SRID=4674;POINT (-40.392463 -2.786761)'))) / (select extract(epoch from '2026-07-04 15:01:26'::timestamp) - extract(epoch from '2026-07-04 15:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392557 -2.786708)', '2026-07-04 15:02:25', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392463 -2.786761)'), GeomFromEWKT('SRID=4674;POINT (-40.392557 -2.786708)'))) / (select extract(epoch from '2026-07-04 15:02:25'::timestamp) - extract(epoch from '2026-07-04 15:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392463 -2.786761)'), GeomFromEWKT('SRID=4674;POINT (-40.392557 -2.786708)'))) / (select extract(epoch from '2026-07-04 15:02:25'::timestamp) - extract(epoch from '2026-07-04 15:01:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392633 -2.786722)', '2026-07-04 15:02:33', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392557 -2.786708)'), GeomFromEWKT('SRID=4674;POINT (-40.392633 -2.786722)'))) / (select extract(epoch from '2026-07-04 15:02:33'::timestamp) - extract(epoch from '2026-07-04 15:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392557 -2.786708)'), GeomFromEWKT('SRID=4674;POINT (-40.392633 -2.786722)'))) / (select extract(epoch from '2026-07-04 15:02:33'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.392689 -2.786703)', '2026-07-04 15:02:45', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392633 -2.786722)'), GeomFromEWKT('SRID=4674;POINT (-40.392689 -2.786703)'))) / (select extract(epoch from '2026-07-04 15:02:45'::timestamp) - extract(epoch from '2026-07-04 15:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392633 -2.786722)'), GeomFromEWKT('SRID=4674;POINT (-40.392689 -2.786703)'))) / (select extract(epoch from '2026-07-04 15:02:45'::timestamp) - extract(epoch from '2026-07-04 15:02:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392713 -2.786664)', '2026-07-04 15:02:58', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392689 -2.786703)'), GeomFromEWKT('SRID=4674;POINT (-40.392713 -2.786664)'))) / (select extract(epoch from '2026-07-04 15:02:58'::timestamp) - extract(epoch from '2026-07-04 15:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392689 -2.786703)'), GeomFromEWKT('SRID=4674;POINT (-40.392713 -2.786664)'))) / (select extract(epoch from '2026-07-04 15:02:58'::timestamp) - extract(epoch from '2026-07-04 15:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392723 -2.786659)', '2026-07-04 15:03:05', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392713 -2.786664)'), GeomFromEWKT('SRID=4674;POINT (-40.392723 -2.786659)'))) / (select extract(epoch from '2026-07-04 15:03:05'::timestamp) - extract(epoch from '2026-07-04 15:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392713 -2.786664)'), GeomFromEWKT('SRID=4674;POINT (-40.392723 -2.786659)'))) / (select extract(epoch from '2026-07-04 15:03:05'::timestamp) - extract(epoch from '2026-07-04 15:02: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'), 47827, 'SRID=4674;POINT (-40.392776 -2.786666)', '2026-07-04 15:03:33', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392723 -2.786659)'), GeomFromEWKT('SRID=4674;POINT (-40.392776 -2.786666)'))) / (select extract(epoch from '2026-07-04 15:03:33'::timestamp) - extract(epoch from '2026-07-04 15:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392723 -2.786659)'), GeomFromEWKT('SRID=4674;POINT (-40.392776 -2.786666)'))) / (select extract(epoch from '2026-07-04 15:03:33'::timestamp) - extract(epoch from '2026-07-04 15:03: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'), 47827, 'SRID=4674;POINT (-40.392837 -2.786623)', '2026-07-04 15:04:06', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392776 -2.786666)'), GeomFromEWKT('SRID=4674;POINT (-40.392837 -2.786623)'))) / (select extract(epoch from '2026-07-04 15:04:06'::timestamp) - extract(epoch from '2026-07-04 15:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392776 -2.786666)'), GeomFromEWKT('SRID=4674;POINT (-40.392837 -2.786623)'))) / (select extract(epoch from '2026-07-04 15:04:06'::timestamp) - extract(epoch from '2026-07-04 15:03: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'), 47827, 'SRID=4674;POINT (-40.392822 -2.78657)', '2026-07-04 15:04:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392837 -2.786623)'), GeomFromEWKT('SRID=4674;POINT (-40.392822 -2.78657)'))) / (select extract(epoch from '2026-07-04 15:04:13'::timestamp) - extract(epoch from '2026-07-04 15:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392837 -2.786623)'), GeomFromEWKT('SRID=4674;POINT (-40.392822 -2.78657)'))) / (select extract(epoch from '2026-07-04 15:04:13'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.392794 -2.786566)', '2026-07-04 15:04:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392822 -2.78657)'), GeomFromEWKT('SRID=4674;POINT (-40.392794 -2.786566)'))) / (select extract(epoch from '2026-07-04 15:04:21'::timestamp) - extract(epoch from '2026-07-04 15:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392822 -2.78657)'), GeomFromEWKT('SRID=4674;POINT (-40.392794 -2.786566)'))) / (select extract(epoch from '2026-07-04 15:04:21'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.392791 -2.786618)', '2026-07-04 15:04:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392794 -2.786566)'), GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.786618)'))) / (select extract(epoch from '2026-07-04 15:04:29'::timestamp) - extract(epoch from '2026-07-04 15:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392794 -2.786566)'), GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.786618)'))) / (select extract(epoch from '2026-07-04 15:04:29'::timestamp) - extract(epoch from '2026-07-04 15:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392804 -2.786633)', '2026-07-04 15:04:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.786618)'), GeomFromEWKT('SRID=4674;POINT (-40.392804 -2.786633)'))) / (select extract(epoch from '2026-07-04 15:04:37'::timestamp) - extract(epoch from '2026-07-04 15:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.786618)'), GeomFromEWKT('SRID=4674;POINT (-40.392804 -2.786633)'))) / (select extract(epoch from '2026-07-04 15:04:37'::timestamp) - extract(epoch from '2026-07-04 15:04:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392874 -2.786664)', '2026-07-04 15:05:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392804 -2.786633)'), GeomFromEWKT('SRID=4674;POINT (-40.392874 -2.786664)'))) / (select extract(epoch from '2026-07-04 15:05:04'::timestamp) - extract(epoch from '2026-07-04 15:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392804 -2.786633)'), GeomFromEWKT('SRID=4674;POINT (-40.392874 -2.786664)'))) / (select extract(epoch from '2026-07-04 15:05:04'::timestamp) - extract(epoch from '2026-07-04 15:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392901 -2.786662)', '2026-07-04 15:05:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392874 -2.786664)'), GeomFromEWKT('SRID=4674;POINT (-40.392901 -2.786662)'))) / (select extract(epoch from '2026-07-04 15:05:15'::timestamp) - extract(epoch from '2026-07-04 15:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392874 -2.786664)'), GeomFromEWKT('SRID=4674;POINT (-40.392901 -2.786662)'))) / (select extract(epoch from '2026-07-04 15:05:15'::timestamp) - extract(epoch from '2026-07-04 15:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392909 -2.786656)', '2026-07-04 15:05:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392901 -2.786662)'), GeomFromEWKT('SRID=4674;POINT (-40.392909 -2.786656)'))) / (select extract(epoch from '2026-07-04 15:05:22'::timestamp) - extract(epoch from '2026-07-04 15:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392901 -2.786662)'), GeomFromEWKT('SRID=4674;POINT (-40.392909 -2.786656)'))) / (select extract(epoch from '2026-07-04 15:05:22'::timestamp) - extract(epoch from '2026-07-04 15:05: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'), 47827, 'SRID=4674;POINT (-40.392996 -2.786634)', '2026-07-04 15:05:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392909 -2.786656)'), GeomFromEWKT('SRID=4674;POINT (-40.392996 -2.786634)'))) / (select extract(epoch from '2026-07-04 15:05:42'::timestamp) - extract(epoch from '2026-07-04 15:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392909 -2.786656)'), GeomFromEWKT('SRID=4674;POINT (-40.392996 -2.786634)'))) / (select extract(epoch from '2026-07-04 15:05:42'::timestamp) - extract(epoch from '2026-07-04 15:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.393053 -2.786611)', '2026-07-04 15:05:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392996 -2.786634)'), GeomFromEWKT('SRID=4674;POINT (-40.393053 -2.786611)'))) / (select extract(epoch from '2026-07-04 15:05:50'::timestamp) - extract(epoch from '2026-07-04 15:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392996 -2.786634)'), GeomFromEWKT('SRID=4674;POINT (-40.393053 -2.786611)'))) / (select extract(epoch from '2026-07-04 15:05:50'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.393084 -2.786595)', '2026-07-04 15:06:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393053 -2.786611)'), GeomFromEWKT('SRID=4674;POINT (-40.393084 -2.786595)'))) / (select extract(epoch from '2026-07-04 15:06:09'::timestamp) - extract(epoch from '2026-07-04 15:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393053 -2.786611)'), GeomFromEWKT('SRID=4674;POINT (-40.393084 -2.786595)'))) / (select extract(epoch from '2026-07-04 15:06:09'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.393107 -2.78657)', '2026-07-04 15:06:16', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393084 -2.786595)'), GeomFromEWKT('SRID=4674;POINT (-40.393107 -2.78657)'))) / (select extract(epoch from '2026-07-04 15:06:16'::timestamp) - extract(epoch from '2026-07-04 15:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393084 -2.786595)'), GeomFromEWKT('SRID=4674;POINT (-40.393107 -2.78657)'))) / (select extract(epoch from '2026-07-04 15:06:16'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.393108 -2.7865)', '2026-07-04 15:06:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393107 -2.78657)'), GeomFromEWKT('SRID=4674;POINT (-40.393108 -2.7865)'))) / (select extract(epoch from '2026-07-04 15:06:24'::timestamp) - extract(epoch from '2026-07-04 15:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393107 -2.78657)'), GeomFromEWKT('SRID=4674;POINT (-40.393108 -2.7865)'))) / (select extract(epoch from '2026-07-04 15:06:24'::timestamp) - extract(epoch from '2026-07-04 15:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.393094 -2.786453)', '2026-07-04 15:06:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393108 -2.7865)'), GeomFromEWKT('SRID=4674;POINT (-40.393094 -2.786453)'))) / (select extract(epoch from '2026-07-04 15:06:28'::timestamp) - extract(epoch from '2026-07-04 15:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393108 -2.7865)'), GeomFromEWKT('SRID=4674;POINT (-40.393094 -2.786453)'))) / (select extract(epoch from '2026-07-04 15:06:28'::timestamp) - extract(epoch from '2026-07-04 15:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.393081 -2.786438)', '2026-07-04 15:06:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393094 -2.786453)'), GeomFromEWKT('SRID=4674;POINT (-40.393081 -2.786438)'))) / (select extract(epoch from '2026-07-04 15:06:30'::timestamp) - extract(epoch from '2026-07-04 15:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393094 -2.786453)'), GeomFromEWKT('SRID=4674;POINT (-40.393081 -2.786438)'))) / (select extract(epoch from '2026-07-04 15:06:30'::timestamp) - extract(epoch from '2026-07-04 15:06: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'), 47827, 'SRID=4674;POINT (-40.393069 -2.786427)', '2026-07-04 15:06:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393081 -2.786438)'), GeomFromEWKT('SRID=4674;POINT (-40.393069 -2.786427)'))) / (select extract(epoch from '2026-07-04 15:06:32'::timestamp) - extract(epoch from '2026-07-04 15:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393081 -2.786438)'), GeomFromEWKT('SRID=4674;POINT (-40.393069 -2.786427)'))) / (select extract(epoch from '2026-07-04 15:06:32'::timestamp) - extract(epoch from '2026-07-04 15:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.393022 -2.786411)', '2026-07-04 15:06:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393069 -2.786427)'), GeomFromEWKT('SRID=4674;POINT (-40.393022 -2.786411)'))) / (select extract(epoch from '2026-07-04 15:06:37'::timestamp) - extract(epoch from '2026-07-04 15:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393069 -2.786427)'), GeomFromEWKT('SRID=4674;POINT (-40.393022 -2.786411)'))) / (select extract(epoch from '2026-07-04 15:06:37'::timestamp) - extract(epoch from '2026-07-04 15:06:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392963 -2.786444)', '2026-07-04 15:06:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393022 -2.786411)'), GeomFromEWKT('SRID=4674;POINT (-40.392963 -2.786444)'))) / (select extract(epoch from '2026-07-04 15:06:45'::timestamp) - extract(epoch from '2026-07-04 15:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393022 -2.786411)'), GeomFromEWKT('SRID=4674;POINT (-40.392963 -2.786444)'))) / (select extract(epoch from '2026-07-04 15:06:45'::timestamp) - extract(epoch from '2026-07-04 15:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.39289 -2.786567)', '2026-07-04 15:06:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392963 -2.786444)'), GeomFromEWKT('SRID=4674;POINT (-40.39289 -2.786567)'))) / (select extract(epoch from '2026-07-04 15:06:53'::timestamp) - extract(epoch from '2026-07-04 15:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392963 -2.786444)'), GeomFromEWKT('SRID=4674;POINT (-40.39289 -2.786567)'))) / (select extract(epoch from '2026-07-04 15:06:53'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.392824 -2.786714)', '2026-07-04 15:07:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39289 -2.786567)'), GeomFromEWKT('SRID=4674;POINT (-40.392824 -2.786714)'))) / (select extract(epoch from '2026-07-04 15:07:00'::timestamp) - extract(epoch from '2026-07-04 15:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39289 -2.786567)'), GeomFromEWKT('SRID=4674;POINT (-40.392824 -2.786714)'))) / (select extract(epoch from '2026-07-04 15:07:00'::timestamp) - extract(epoch from '2026-07-04 15:06: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'), 47827, 'SRID=4674;POINT (-40.392759 -2.786855)', '2026-07-04 15:07:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392824 -2.786714)'), GeomFromEWKT('SRID=4674;POINT (-40.392759 -2.786855)'))) / (select extract(epoch from '2026-07-04 15:07:07'::timestamp) - extract(epoch from '2026-07-04 15:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392824 -2.786714)'), GeomFromEWKT('SRID=4674;POINT (-40.392759 -2.786855)'))) / (select extract(epoch from '2026-07-04 15:07:07'::timestamp) - extract(epoch from '2026-07-04 15:07: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'), 47827, 'SRID=4674;POINT (-40.392681 -2.786947)', '2026-07-04 15:07:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392759 -2.786855)'), GeomFromEWKT('SRID=4674;POINT (-40.392681 -2.786947)'))) / (select extract(epoch from '2026-07-04 15:07:13'::timestamp) - extract(epoch from '2026-07-04 15:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392759 -2.786855)'), GeomFromEWKT('SRID=4674;POINT (-40.392681 -2.786947)'))) / (select extract(epoch from '2026-07-04 15:07:13'::timestamp) - extract(epoch from '2026-07-04 15:07: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'), 47827, 'SRID=4674;POINT (-40.392578 -2.787039)', '2026-07-04 15:07:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392681 -2.786947)'), GeomFromEWKT('SRID=4674;POINT (-40.392578 -2.787039)'))) / (select extract(epoch from '2026-07-04 15:07:19'::timestamp) - extract(epoch from '2026-07-04 15:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392681 -2.786947)'), GeomFromEWKT('SRID=4674;POINT (-40.392578 -2.787039)'))) / (select extract(epoch from '2026-07-04 15:07:19'::timestamp) - extract(epoch from '2026-07-04 15:07: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'), 47827, 'SRID=4674;POINT (-40.392453 -2.787131)', '2026-07-04 15:07:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392578 -2.787039)'), GeomFromEWKT('SRID=4674;POINT (-40.392453 -2.787131)'))) / (select extract(epoch from '2026-07-04 15:07:26'::timestamp) - extract(epoch from '2026-07-04 15:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392578 -2.787039)'), GeomFromEWKT('SRID=4674;POINT (-40.392453 -2.787131)'))) / (select extract(epoch from '2026-07-04 15:07:26'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.392309 -2.787228)', '2026-07-04 15:07:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392453 -2.787131)'), GeomFromEWKT('SRID=4674;POINT (-40.392309 -2.787228)'))) / (select extract(epoch from '2026-07-04 15:07:34'::timestamp) - extract(epoch from '2026-07-04 15:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392453 -2.787131)'), GeomFromEWKT('SRID=4674;POINT (-40.392309 -2.787228)'))) / (select extract(epoch from '2026-07-04 15:07:34'::timestamp) - extract(epoch from '2026-07-04 15:07: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'), 47827, 'SRID=4674;POINT (-40.392219 -2.787303)', '2026-07-04 15:07:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392309 -2.787228)'), GeomFromEWKT('SRID=4674;POINT (-40.392219 -2.787303)'))) / (select extract(epoch from '2026-07-04 15:07:40'::timestamp) - extract(epoch from '2026-07-04 15:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392309 -2.787228)'), GeomFromEWKT('SRID=4674;POINT (-40.392219 -2.787303)'))) / (select extract(epoch from '2026-07-04 15:07:40'::timestamp) - extract(epoch from '2026-07-04 15:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.392099 -2.787369)', '2026-07-04 15:07:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392219 -2.787303)'), GeomFromEWKT('SRID=4674;POINT (-40.392099 -2.787369)'))) / (select extract(epoch from '2026-07-04 15:07:47'::timestamp) - extract(epoch from '2026-07-04 15:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392219 -2.787303)'), GeomFromEWKT('SRID=4674;POINT (-40.392099 -2.787369)'))) / (select extract(epoch from '2026-07-04 15:07:47'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.391976 -2.78743)', '2026-07-04 15:07:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392099 -2.787369)'), GeomFromEWKT('SRID=4674;POINT (-40.391976 -2.78743)'))) / (select extract(epoch from '2026-07-04 15:07:53'::timestamp) - extract(epoch from '2026-07-04 15:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392099 -2.787369)'), GeomFromEWKT('SRID=4674;POINT (-40.391976 -2.78743)'))) / (select extract(epoch from '2026-07-04 15:07:53'::timestamp) - extract(epoch from '2026-07-04 15:07: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'), 47827, 'SRID=4674;POINT (-40.391829 -2.787562)', '2026-07-04 15:08:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391976 -2.78743)'), GeomFromEWKT('SRID=4674;POINT (-40.391829 -2.787562)'))) / (select extract(epoch from '2026-07-04 15:08:01'::timestamp) - extract(epoch from '2026-07-04 15:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391976 -2.78743)'), GeomFromEWKT('SRID=4674;POINT (-40.391829 -2.787562)'))) / (select extract(epoch from '2026-07-04 15:08:01'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.391754 -2.787647)', '2026-07-04 15:08:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391829 -2.787562)'), GeomFromEWKT('SRID=4674;POINT (-40.391754 -2.787647)'))) / (select extract(epoch from '2026-07-04 15:08:07'::timestamp) - extract(epoch from '2026-07-04 15:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391829 -2.787562)'), GeomFromEWKT('SRID=4674;POINT (-40.391754 -2.787647)'))) / (select extract(epoch from '2026-07-04 15:08:07'::timestamp) - extract(epoch from '2026-07-04 15:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.391691 -2.787723)', '2026-07-04 15:08:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391754 -2.787647)'), GeomFromEWKT('SRID=4674;POINT (-40.391691 -2.787723)'))) / (select extract(epoch from '2026-07-04 15:08:13'::timestamp) - extract(epoch from '2026-07-04 15:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391754 -2.787647)'), GeomFromEWKT('SRID=4674;POINT (-40.391691 -2.787723)'))) / (select extract(epoch from '2026-07-04 15:08:13'::timestamp) - extract(epoch from '2026-07-04 15:08: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'), 47827, 'SRID=4674;POINT (-40.391589 -2.787784)', '2026-07-04 15:08:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391691 -2.787723)'), GeomFromEWKT('SRID=4674;POINT (-40.391589 -2.787784)'))) / (select extract(epoch from '2026-07-04 15:08:19'::timestamp) - extract(epoch from '2026-07-04 15:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391691 -2.787723)'), GeomFromEWKT('SRID=4674;POINT (-40.391589 -2.787784)'))) / (select extract(epoch from '2026-07-04 15:08:19'::timestamp) - extract(epoch from '2026-07-04 15:08: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'), 47827, 'SRID=4674;POINT (-40.391449 -2.787886)', '2026-07-04 15:08:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391589 -2.787784)'), GeomFromEWKT('SRID=4674;POINT (-40.391449 -2.787886)'))) / (select extract(epoch from '2026-07-04 15:08:27'::timestamp) - extract(epoch from '2026-07-04 15:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391589 -2.787784)'), GeomFromEWKT('SRID=4674;POINT (-40.391449 -2.787886)'))) / (select extract(epoch from '2026-07-04 15:08:27'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.391324 -2.787985)', '2026-07-04 15:08:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391449 -2.787886)'), GeomFromEWKT('SRID=4674;POINT (-40.391324 -2.787985)'))) / (select extract(epoch from '2026-07-04 15:08:35'::timestamp) - extract(epoch from '2026-07-04 15:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391449 -2.787886)'), GeomFromEWKT('SRID=4674;POINT (-40.391324 -2.787985)'))) / (select extract(epoch from '2026-07-04 15:08:35'::timestamp) - extract(epoch from '2026-07-04 15:08: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'), 47827, 'SRID=4674;POINT (-40.391227 -2.788101)', '2026-07-04 15:08:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391324 -2.787985)'), GeomFromEWKT('SRID=4674;POINT (-40.391227 -2.788101)'))) / (select extract(epoch from '2026-07-04 15:08:42'::timestamp) - extract(epoch from '2026-07-04 15:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391324 -2.787985)'), GeomFromEWKT('SRID=4674;POINT (-40.391227 -2.788101)'))) / (select extract(epoch from '2026-07-04 15:08:42'::timestamp) - extract(epoch from '2026-07-04 15:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.391142 -2.788209)', '2026-07-04 15:08:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391227 -2.788101)'), GeomFromEWKT('SRID=4674;POINT (-40.391142 -2.788209)'))) / (select extract(epoch from '2026-07-04 15:08:49'::timestamp) - extract(epoch from '2026-07-04 15:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391227 -2.788101)'), GeomFromEWKT('SRID=4674;POINT (-40.391142 -2.788209)'))) / (select extract(epoch from '2026-07-04 15:08:49'::timestamp) - extract(epoch from '2026-07-04 15:08: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'), 47827, 'SRID=4674;POINT (-40.391024 -2.788328)', '2026-07-04 15:08:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391142 -2.788209)'), GeomFromEWKT('SRID=4674;POINT (-40.391024 -2.788328)'))) / (select extract(epoch from '2026-07-04 15:08:57'::timestamp) - extract(epoch from '2026-07-04 15:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391142 -2.788209)'), GeomFromEWKT('SRID=4674;POINT (-40.391024 -2.788328)'))) / (select extract(epoch from '2026-07-04 15:08:57'::timestamp) - extract(epoch from '2026-07-04 15:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.39088 -2.788481)', '2026-07-04 15:09:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391024 -2.788328)'), GeomFromEWKT('SRID=4674;POINT (-40.39088 -2.788481)'))) / (select extract(epoch from '2026-07-04 15:09:06'::timestamp) - extract(epoch from '2026-07-04 15:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391024 -2.788328)'), GeomFromEWKT('SRID=4674;POINT (-40.39088 -2.788481)'))) / (select extract(epoch from '2026-07-04 15:09:06'::timestamp) - extract(epoch from '2026-07-04 15:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.39077 -2.788614)', '2026-07-04 15:09:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39088 -2.788481)'), GeomFromEWKT('SRID=4674;POINT (-40.39077 -2.788614)'))) / (select extract(epoch from '2026-07-04 15:09:14'::timestamp) - extract(epoch from '2026-07-04 15:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39088 -2.788481)'), GeomFromEWKT('SRID=4674;POINT (-40.39077 -2.788614)'))) / (select extract(epoch from '2026-07-04 15:09:14'::timestamp) - extract(epoch from '2026-07-04 15:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.390656 -2.78872)', '2026-07-04 15:09:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39077 -2.788614)'), GeomFromEWKT('SRID=4674;POINT (-40.390656 -2.78872)'))) / (select extract(epoch from '2026-07-04 15:09:22'::timestamp) - extract(epoch from '2026-07-04 15:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39077 -2.788614)'), GeomFromEWKT('SRID=4674;POINT (-40.390656 -2.78872)'))) / (select extract(epoch from '2026-07-04 15:09:22'::timestamp) - extract(epoch from '2026-07-04 15:09: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'), 47827, 'SRID=4674;POINT (-40.390487 -2.788828)', '2026-07-04 15:09:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390656 -2.78872)'), GeomFromEWKT('SRID=4674;POINT (-40.390487 -2.788828)'))) / (select extract(epoch from '2026-07-04 15:09:31'::timestamp) - extract(epoch from '2026-07-04 15:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390656 -2.78872)'), GeomFromEWKT('SRID=4674;POINT (-40.390487 -2.788828)'))) / (select extract(epoch from '2026-07-04 15:09:31'::timestamp) - extract(epoch from '2026-07-04 15:09: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'), 47827, 'SRID=4674;POINT (-40.39036 -2.788892)', '2026-07-04 15:09:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390487 -2.788828)'), GeomFromEWKT('SRID=4674;POINT (-40.39036 -2.788892)'))) / (select extract(epoch from '2026-07-04 15:09:38'::timestamp) - extract(epoch from '2026-07-04 15:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390487 -2.788828)'), GeomFromEWKT('SRID=4674;POINT (-40.39036 -2.788892)'))) / (select extract(epoch from '2026-07-04 15:09:38'::timestamp) - extract(epoch from '2026-07-04 15:09: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'), 47827, 'SRID=4674;POINT (-40.390229 -2.788941)', '2026-07-04 15:09:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39036 -2.788892)'), GeomFromEWKT('SRID=4674;POINT (-40.390229 -2.788941)'))) / (select extract(epoch from '2026-07-04 15:09:46'::timestamp) - extract(epoch from '2026-07-04 15:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39036 -2.788892)'), GeomFromEWKT('SRID=4674;POINT (-40.390229 -2.788941)'))) / (select extract(epoch from '2026-07-04 15:09:46'::timestamp) - extract(epoch from '2026-07-04 15:09: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'), 47827, 'SRID=4674;POINT (-40.390106 -2.789028)', '2026-07-04 15:09:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390229 -2.788941)'), GeomFromEWKT('SRID=4674;POINT (-40.390106 -2.789028)'))) / (select extract(epoch from '2026-07-04 15:09:53'::timestamp) - extract(epoch from '2026-07-04 15:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390229 -2.788941)'), GeomFromEWKT('SRID=4674;POINT (-40.390106 -2.789028)'))) / (select extract(epoch from '2026-07-04 15:09:53'::timestamp) - extract(epoch from '2026-07-04 15:09: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'), 47827, 'SRID=4674;POINT (-40.390017 -2.789122)', '2026-07-04 15:10:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390106 -2.789028)'), GeomFromEWKT('SRID=4674;POINT (-40.390017 -2.789122)'))) / (select extract(epoch from '2026-07-04 15:10:00'::timestamp) - extract(epoch from '2026-07-04 15:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390106 -2.789028)'), GeomFromEWKT('SRID=4674;POINT (-40.390017 -2.789122)'))) / (select extract(epoch from '2026-07-04 15:10:00'::timestamp) - extract(epoch from '2026-07-04 15:09: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'), 47827, 'SRID=4674;POINT (-40.389903 -2.789226)', '2026-07-04 15:10:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390017 -2.789122)'), GeomFromEWKT('SRID=4674;POINT (-40.389903 -2.789226)'))) / (select extract(epoch from '2026-07-04 15:10:08'::timestamp) - extract(epoch from '2026-07-04 15:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390017 -2.789122)'), GeomFromEWKT('SRID=4674;POINT (-40.389903 -2.789226)'))) / (select extract(epoch from '2026-07-04 15:10:08'::timestamp) - extract(epoch from '2026-07-04 15:10: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'), 47827, 'SRID=4674;POINT (-40.389806 -2.789312)', '2026-07-04 15:10:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389903 -2.789226)'), GeomFromEWKT('SRID=4674;POINT (-40.389806 -2.789312)'))) / (select extract(epoch from '2026-07-04 15:10:15'::timestamp) - extract(epoch from '2026-07-04 15:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389903 -2.789226)'), GeomFromEWKT('SRID=4674;POINT (-40.389806 -2.789312)'))) / (select extract(epoch from '2026-07-04 15:10:15'::timestamp) - extract(epoch from '2026-07-04 15:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.389711 -2.789406)', '2026-07-04 15:10:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389806 -2.789312)'), GeomFromEWKT('SRID=4674;POINT (-40.389711 -2.789406)'))) / (select extract(epoch from '2026-07-04 15:10:22'::timestamp) - extract(epoch from '2026-07-04 15:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389806 -2.789312)'), GeomFromEWKT('SRID=4674;POINT (-40.389711 -2.789406)'))) / (select extract(epoch from '2026-07-04 15:10:22'::timestamp) - extract(epoch from '2026-07-04 15:10: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'), 47827, 'SRID=4674;POINT (-40.389575 -2.78951)', '2026-07-04 15:10:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389711 -2.789406)'), GeomFromEWKT('SRID=4674;POINT (-40.389575 -2.78951)'))) / (select extract(epoch from '2026-07-04 15:10:30'::timestamp) - extract(epoch from '2026-07-04 15:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389711 -2.789406)'), GeomFromEWKT('SRID=4674;POINT (-40.389575 -2.78951)'))) / (select extract(epoch from '2026-07-04 15:10:30'::timestamp) - extract(epoch from '2026-07-04 15:10: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'), 47827, 'SRID=4674;POINT (-40.38944 -2.7896)', '2026-07-04 15:10:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389575 -2.78951)'), GeomFromEWKT('SRID=4674;POINT (-40.38944 -2.7896)'))) / (select extract(epoch from '2026-07-04 15:10:38'::timestamp) - extract(epoch from '2026-07-04 15:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389575 -2.78951)'), GeomFromEWKT('SRID=4674;POINT (-40.38944 -2.7896)'))) / (select extract(epoch from '2026-07-04 15:10:38'::timestamp) - extract(epoch from '2026-07-04 15:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.38928 -2.789647)', '2026-07-04 15:10:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38944 -2.7896)'), GeomFromEWKT('SRID=4674;POINT (-40.38928 -2.789647)'))) / (select extract(epoch from '2026-07-04 15:10:46'::timestamp) - extract(epoch from '2026-07-04 15:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38944 -2.7896)'), GeomFromEWKT('SRID=4674;POINT (-40.38928 -2.789647)'))) / (select extract(epoch from '2026-07-04 15:10:46'::timestamp) - extract(epoch from '2026-07-04 15:10: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'), 47827, 'SRID=4674;POINT (-40.38912 -2.789693)', '2026-07-04 15:10:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38928 -2.789647)'), GeomFromEWKT('SRID=4674;POINT (-40.38912 -2.789693)'))) / (select extract(epoch from '2026-07-04 15:10:54'::timestamp) - extract(epoch from '2026-07-04 15:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38928 -2.789647)'), GeomFromEWKT('SRID=4674;POINT (-40.38912 -2.789693)'))) / (select extract(epoch from '2026-07-04 15:10:54'::timestamp) - extract(epoch from '2026-07-04 15:10: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'), 47827, 'SRID=4674;POINT (-40.389016 -2.789783)', '2026-07-04 15:11:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38912 -2.789693)'), GeomFromEWKT('SRID=4674;POINT (-40.389016 -2.789783)'))) / (select extract(epoch from '2026-07-04 15:11:01'::timestamp) - extract(epoch from '2026-07-04 15:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38912 -2.789693)'), GeomFromEWKT('SRID=4674;POINT (-40.389016 -2.789783)'))) / (select extract(epoch from '2026-07-04 15:11:01'::timestamp) - extract(epoch from '2026-07-04 15:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.388922 -2.789903)', '2026-07-04 15:11:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389016 -2.789783)'), GeomFromEWKT('SRID=4674;POINT (-40.388922 -2.789903)'))) / (select extract(epoch from '2026-07-04 15:11:08'::timestamp) - extract(epoch from '2026-07-04 15:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389016 -2.789783)'), GeomFromEWKT('SRID=4674;POINT (-40.388922 -2.789903)'))) / (select extract(epoch from '2026-07-04 15:11:08'::timestamp) - extract(epoch from '2026-07-04 15:11: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'), 47827, 'SRID=4674;POINT (-40.388849 -2.790012)', '2026-07-04 15:11:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388922 -2.789903)'), GeomFromEWKT('SRID=4674;POINT (-40.388849 -2.790012)'))) / (select extract(epoch from '2026-07-04 15:11:14'::timestamp) - extract(epoch from '2026-07-04 15:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388922 -2.789903)'), GeomFromEWKT('SRID=4674;POINT (-40.388849 -2.790012)'))) / (select extract(epoch from '2026-07-04 15:11:14'::timestamp) - extract(epoch from '2026-07-04 15:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.388764 -2.79013)', '2026-07-04 15:11:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388849 -2.790012)'), GeomFromEWKT('SRID=4674;POINT (-40.388764 -2.79013)'))) / (select extract(epoch from '2026-07-04 15:11:21'::timestamp) - extract(epoch from '2026-07-04 15:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388849 -2.790012)'), GeomFromEWKT('SRID=4674;POINT (-40.388764 -2.79013)'))) / (select extract(epoch from '2026-07-04 15:11:21'::timestamp) - extract(epoch from '2026-07-04 15:11: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'), 47827, 'SRID=4674;POINT (-40.388649 -2.790222)', '2026-07-04 15:11:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388764 -2.79013)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.790222)'))) / (select extract(epoch from '2026-07-04 15:11:28'::timestamp) - extract(epoch from '2026-07-04 15:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388764 -2.79013)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.790222)'))) / (select extract(epoch from '2026-07-04 15:11:28'::timestamp) - extract(epoch from '2026-07-04 15:11: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'), 47827, 'SRID=4674;POINT (-40.388539 -2.790296)', '2026-07-04 15:11:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.790222)'), GeomFromEWKT('SRID=4674;POINT (-40.388539 -2.790296)'))) / (select extract(epoch from '2026-07-04 15:11:35'::timestamp) - extract(epoch from '2026-07-04 15:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.790222)'), GeomFromEWKT('SRID=4674;POINT (-40.388539 -2.790296)'))) / (select extract(epoch from '2026-07-04 15:11:35'::timestamp) - extract(epoch from '2026-07-04 15:11: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'), 47827, 'SRID=4674;POINT (-40.388415 -2.790333)', '2026-07-04 15:11:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388539 -2.790296)'), GeomFromEWKT('SRID=4674;POINT (-40.388415 -2.790333)'))) / (select extract(epoch from '2026-07-04 15:11:42'::timestamp) - extract(epoch from '2026-07-04 15:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388539 -2.790296)'), GeomFromEWKT('SRID=4674;POINT (-40.388415 -2.790333)'))) / (select extract(epoch from '2026-07-04 15:11:42'::timestamp) - extract(epoch from '2026-07-04 15:11: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'), 47827, 'SRID=4674;POINT (-40.388223 -2.790356)', '2026-07-04 15:11:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388415 -2.790333)'), GeomFromEWKT('SRID=4674;POINT (-40.388223 -2.790356)'))) / (select extract(epoch from '2026-07-04 15:11:51'::timestamp) - extract(epoch from '2026-07-04 15:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388415 -2.790333)'), GeomFromEWKT('SRID=4674;POINT (-40.388223 -2.790356)'))) / (select extract(epoch from '2026-07-04 15:11:51'::timestamp) - extract(epoch from '2026-07-04 15:11: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'), 47827, 'SRID=4674;POINT (-40.388123 -2.790359)', '2026-07-04 15:11:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388223 -2.790356)'), GeomFromEWKT('SRID=4674;POINT (-40.388123 -2.790359)'))) / (select extract(epoch from '2026-07-04 15:11:56'::timestamp) - extract(epoch from '2026-07-04 15:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388223 -2.790356)'), GeomFromEWKT('SRID=4674;POINT (-40.388123 -2.790359)'))) / (select extract(epoch from '2026-07-04 15:11:56'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.387982 -2.790361)', '2026-07-04 15:12:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388123 -2.790359)'), GeomFromEWKT('SRID=4674;POINT (-40.387982 -2.790361)'))) / (select extract(epoch from '2026-07-04 15:12:03'::timestamp) - extract(epoch from '2026-07-04 15:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388123 -2.790359)'), GeomFromEWKT('SRID=4674;POINT (-40.387982 -2.790361)'))) / (select extract(epoch from '2026-07-04 15:12:03'::timestamp) - extract(epoch from '2026-07-04 15:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.387834 -2.790384)', '2026-07-04 15:12:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387982 -2.790361)'), GeomFromEWKT('SRID=4674;POINT (-40.387834 -2.790384)'))) / (select extract(epoch from '2026-07-04 15:12:11'::timestamp) - extract(epoch from '2026-07-04 15:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387982 -2.790361)'), GeomFromEWKT('SRID=4674;POINT (-40.387834 -2.790384)'))) / (select extract(epoch from '2026-07-04 15:12:11'::timestamp) - extract(epoch from '2026-07-04 15:12:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.387723 -2.790429)', '2026-07-04 15:12:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387834 -2.790384)'), GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.790429)'))) / (select extract(epoch from '2026-07-04 15:12:17'::timestamp) - extract(epoch from '2026-07-04 15:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387834 -2.790384)'), GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.790429)'))) / (select extract(epoch from '2026-07-04 15:12:17'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.387558 -2.790494)', '2026-07-04 15:12:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.790429)'), GeomFromEWKT('SRID=4674;POINT (-40.387558 -2.790494)'))) / (select extract(epoch from '2026-07-04 15:12:26'::timestamp) - extract(epoch from '2026-07-04 15:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.790429)'), GeomFromEWKT('SRID=4674;POINT (-40.387558 -2.790494)'))) / (select extract(epoch from '2026-07-04 15:12:26'::timestamp) - extract(epoch from '2026-07-04 15:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.387355 -2.790525)', '2026-07-04 15:12:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387558 -2.790494)'), GeomFromEWKT('SRID=4674;POINT (-40.387355 -2.790525)'))) / (select extract(epoch from '2026-07-04 15:12:36'::timestamp) - extract(epoch from '2026-07-04 15:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387558 -2.790494)'), GeomFromEWKT('SRID=4674;POINT (-40.387355 -2.790525)'))) / (select extract(epoch from '2026-07-04 15:12:36'::timestamp) - extract(epoch from '2026-07-04 15:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.387265 -2.790563)', '2026-07-04 15:12:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387355 -2.790525)'), GeomFromEWKT('SRID=4674;POINT (-40.387265 -2.790563)'))) / (select extract(epoch from '2026-07-04 15:12:42'::timestamp) - extract(epoch from '2026-07-04 15:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387355 -2.790525)'), GeomFromEWKT('SRID=4674;POINT (-40.387265 -2.790563)'))) / (select extract(epoch from '2026-07-04 15:12:42'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.387166 -2.790633)', '2026-07-04 15:12:48', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387265 -2.790563)'), GeomFromEWKT('SRID=4674;POINT (-40.387166 -2.790633)'))) / (select extract(epoch from '2026-07-04 15:12:48'::timestamp) - extract(epoch from '2026-07-04 15:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387265 -2.790563)'), GeomFromEWKT('SRID=4674;POINT (-40.387166 -2.790633)'))) / (select extract(epoch from '2026-07-04 15:12:48'::timestamp) - extract(epoch from '2026-07-04 15:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.387048 -2.79072)', '2026-07-04 15:12:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387166 -2.790633)'), GeomFromEWKT('SRID=4674;POINT (-40.387048 -2.79072)'))) / (select extract(epoch from '2026-07-04 15:12:55'::timestamp) - extract(epoch from '2026-07-04 15:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387166 -2.790633)'), GeomFromEWKT('SRID=4674;POINT (-40.387048 -2.79072)'))) / (select extract(epoch from '2026-07-04 15:12:55'::timestamp) - extract(epoch from '2026-07-04 15:12: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'), 47827, 'SRID=4674;POINT (-40.386893 -2.790799)', '2026-07-04 15:13:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387048 -2.79072)'), GeomFromEWKT('SRID=4674;POINT (-40.386893 -2.790799)'))) / (select extract(epoch from '2026-07-04 15:13:03'::timestamp) - extract(epoch from '2026-07-04 15:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387048 -2.79072)'), GeomFromEWKT('SRID=4674;POINT (-40.386893 -2.790799)'))) / (select extract(epoch from '2026-07-04 15:13:03'::timestamp) - extract(epoch from '2026-07-04 15:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.386775 -2.790833)', '2026-07-04 15:13:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386893 -2.790799)'), GeomFromEWKT('SRID=4674;POINT (-40.386775 -2.790833)'))) / (select extract(epoch from '2026-07-04 15:13:09'::timestamp) - extract(epoch from '2026-07-04 15:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386893 -2.790799)'), GeomFromEWKT('SRID=4674;POINT (-40.386775 -2.790833)'))) / (select extract(epoch from '2026-07-04 15:13:09'::timestamp) - extract(epoch from '2026-07-04 15:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.386616 -2.790898)', '2026-07-04 15:13:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386775 -2.790833)'), GeomFromEWKT('SRID=4674;POINT (-40.386616 -2.790898)'))) / (select extract(epoch from '2026-07-04 15:13:16'::timestamp) - extract(epoch from '2026-07-04 15:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386775 -2.790833)'), GeomFromEWKT('SRID=4674;POINT (-40.386616 -2.790898)'))) / (select extract(epoch from '2026-07-04 15:13:16'::timestamp) - extract(epoch from '2026-07-04 15:13: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'), 47827, 'SRID=4674;POINT (-40.38647 -2.79099)', '2026-07-04 15:13:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386616 -2.790898)'), GeomFromEWKT('SRID=4674;POINT (-40.38647 -2.79099)'))) / (select extract(epoch from '2026-07-04 15:13:24'::timestamp) - extract(epoch from '2026-07-04 15:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386616 -2.790898)'), GeomFromEWKT('SRID=4674;POINT (-40.38647 -2.79099)'))) / (select extract(epoch from '2026-07-04 15:13:24'::timestamp) - extract(epoch from '2026-07-04 15:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.38631 -2.791078)', '2026-07-04 15:13:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38647 -2.79099)'), GeomFromEWKT('SRID=4674;POINT (-40.38631 -2.791078)'))) / (select extract(epoch from '2026-07-04 15:13:33'::timestamp) - extract(epoch from '2026-07-04 15:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38647 -2.79099)'), GeomFromEWKT('SRID=4674;POINT (-40.38631 -2.791078)'))) / (select extract(epoch from '2026-07-04 15:13:33'::timestamp) - extract(epoch from '2026-07-04 15:13: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'), 47827, 'SRID=4674;POINT (-40.38622 -2.791163)', '2026-07-04 15:13:39', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38631 -2.791078)'), GeomFromEWKT('SRID=4674;POINT (-40.38622 -2.791163)'))) / (select extract(epoch from '2026-07-04 15:13:39'::timestamp) - extract(epoch from '2026-07-04 15:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38631 -2.791078)'), GeomFromEWKT('SRID=4674;POINT (-40.38622 -2.791163)'))) / (select extract(epoch from '2026-07-04 15:13:39'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.3861 -2.791269)', '2026-07-04 15:13:46', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38622 -2.791163)'), GeomFromEWKT('SRID=4674;POINT (-40.3861 -2.791269)'))) / (select extract(epoch from '2026-07-04 15:13:46'::timestamp) - extract(epoch from '2026-07-04 15:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38622 -2.791163)'), GeomFromEWKT('SRID=4674;POINT (-40.3861 -2.791269)'))) / (select extract(epoch from '2026-07-04 15:13:46'::timestamp) - extract(epoch from '2026-07-04 15:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.386016 -2.791372)', '2026-07-04 15:13:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3861 -2.791269)'), GeomFromEWKT('SRID=4674;POINT (-40.386016 -2.791372)'))) / (select extract(epoch from '2026-07-04 15:13:53'::timestamp) - extract(epoch from '2026-07-04 15:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3861 -2.791269)'), GeomFromEWKT('SRID=4674;POINT (-40.386016 -2.791372)'))) / (select extract(epoch from '2026-07-04 15:13:53'::timestamp) - extract(epoch from '2026-07-04 15:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.3859 -2.791518)', '2026-07-04 15:14:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386016 -2.791372)'), GeomFromEWKT('SRID=4674;POINT (-40.3859 -2.791518)'))) / (select extract(epoch from '2026-07-04 15:14:02'::timestamp) - extract(epoch from '2026-07-04 15:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386016 -2.791372)'), GeomFromEWKT('SRID=4674;POINT (-40.3859 -2.791518)'))) / (select extract(epoch from '2026-07-04 15:14:02'::timestamp) - extract(epoch from '2026-07-04 15:13:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.385767 -2.791577)', '2026-07-04 15:14:10', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3859 -2.791518)'), GeomFromEWKT('SRID=4674;POINT (-40.385767 -2.791577)'))) / (select extract(epoch from '2026-07-04 15:14:10'::timestamp) - extract(epoch from '2026-07-04 15:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3859 -2.791518)'), GeomFromEWKT('SRID=4674;POINT (-40.385767 -2.791577)'))) / (select extract(epoch from '2026-07-04 15:14:10'::timestamp) - extract(epoch from '2026-07-04 15:14: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'), 47827, 'SRID=4674;POINT (-40.385621 -2.791611)', '2026-07-04 15:14:18', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385767 -2.791577)'), GeomFromEWKT('SRID=4674;POINT (-40.385621 -2.791611)'))) / (select extract(epoch from '2026-07-04 15:14:18'::timestamp) - extract(epoch from '2026-07-04 15:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385767 -2.791577)'), GeomFromEWKT('SRID=4674;POINT (-40.385621 -2.791611)'))) / (select extract(epoch from '2026-07-04 15:14:18'::timestamp) - extract(epoch from '2026-07-04 15:14: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'), 47827, 'SRID=4674;POINT (-40.385505 -2.79169)', '2026-07-04 15:14:26', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385621 -2.791611)'), GeomFromEWKT('SRID=4674;POINT (-40.385505 -2.79169)'))) / (select extract(epoch from '2026-07-04 15:14:26'::timestamp) - extract(epoch from '2026-07-04 15:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385621 -2.791611)'), GeomFromEWKT('SRID=4674;POINT (-40.385505 -2.79169)'))) / (select extract(epoch from '2026-07-04 15:14:26'::timestamp) - extract(epoch from '2026-07-04 15:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.385394 -2.791809)', '2026-07-04 15:14:34', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385505 -2.79169)'), GeomFromEWKT('SRID=4674;POINT (-40.385394 -2.791809)'))) / (select extract(epoch from '2026-07-04 15:14:34'::timestamp) - extract(epoch from '2026-07-04 15:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385505 -2.79169)'), GeomFromEWKT('SRID=4674;POINT (-40.385394 -2.791809)'))) / (select extract(epoch from '2026-07-04 15:14:34'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.385273 -2.791897)', '2026-07-04 15:14:42', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385394 -2.791809)'), GeomFromEWKT('SRID=4674;POINT (-40.385273 -2.791897)'))) / (select extract(epoch from '2026-07-04 15:14:42'::timestamp) - extract(epoch from '2026-07-04 15:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385394 -2.791809)'), GeomFromEWKT('SRID=4674;POINT (-40.385273 -2.791897)'))) / (select extract(epoch from '2026-07-04 15:14:42'::timestamp) - extract(epoch from '2026-07-04 15:14: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'), 47827, 'SRID=4674;POINT (-40.385164 -2.791942)', '2026-07-04 15:14:49', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385273 -2.791897)'), GeomFromEWKT('SRID=4674;POINT (-40.385164 -2.791942)'))) / (select extract(epoch from '2026-07-04 15:14:49'::timestamp) - extract(epoch from '2026-07-04 15:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385273 -2.791897)'), GeomFromEWKT('SRID=4674;POINT (-40.385164 -2.791942)'))) / (select extract(epoch from '2026-07-04 15:14:49'::timestamp) - extract(epoch from '2026-07-04 15:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.385052 -2.791962)', '2026-07-04 15:14:55', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385164 -2.791942)'), GeomFromEWKT('SRID=4674;POINT (-40.385052 -2.791962)'))) / (select extract(epoch from '2026-07-04 15:14:55'::timestamp) - extract(epoch from '2026-07-04 15:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385164 -2.791942)'), GeomFromEWKT('SRID=4674;POINT (-40.385052 -2.791962)'))) / (select extract(epoch from '2026-07-04 15:14:55'::timestamp) - extract(epoch from '2026-07-04 15:14:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.384879 -2.791976)', '2026-07-04 15:15:04', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385052 -2.791962)'), GeomFromEWKT('SRID=4674;POINT (-40.384879 -2.791976)'))) / (select extract(epoch from '2026-07-04 15:15:04'::timestamp) - extract(epoch from '2026-07-04 15:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385052 -2.791962)'), GeomFromEWKT('SRID=4674;POINT (-40.384879 -2.791976)'))) / (select extract(epoch from '2026-07-04 15:15:04'::timestamp) - extract(epoch from '2026-07-04 15:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.384693 -2.792023)', '2026-07-04 15:15:13', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384879 -2.791976)'), GeomFromEWKT('SRID=4674;POINT (-40.384693 -2.792023)'))) / (select extract(epoch from '2026-07-04 15:15:13'::timestamp) - extract(epoch from '2026-07-04 15:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384879 -2.791976)'), GeomFromEWKT('SRID=4674;POINT (-40.384693 -2.792023)'))) / (select extract(epoch from '2026-07-04 15:15:13'::timestamp) - extract(epoch from '2026-07-04 15:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.384491 -2.79208)', '2026-07-04 15:15:24', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384693 -2.792023)'), GeomFromEWKT('SRID=4674;POINT (-40.384491 -2.79208)'))) / (select extract(epoch from '2026-07-04 15:15:24'::timestamp) - extract(epoch from '2026-07-04 15:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384693 -2.792023)'), GeomFromEWKT('SRID=4674;POINT (-40.384491 -2.79208)'))) / (select extract(epoch from '2026-07-04 15:15:24'::timestamp) - extract(epoch from '2026-07-04 15:15: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'), 47827, 'SRID=4674;POINT (-40.384382 -2.792133)', '2026-07-04 15:15:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384491 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.384382 -2.792133)'))) / (select extract(epoch from '2026-07-04 15:15:30'::timestamp) - extract(epoch from '2026-07-04 15:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384491 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.384382 -2.792133)'))) / (select extract(epoch from '2026-07-04 15:15:30'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.384279 -2.792208)', '2026-07-04 15:15:37', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384382 -2.792133)'), GeomFromEWKT('SRID=4674;POINT (-40.384279 -2.792208)'))) / (select extract(epoch from '2026-07-04 15:15:37'::timestamp) - extract(epoch from '2026-07-04 15:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384382 -2.792133)'), GeomFromEWKT('SRID=4674;POINT (-40.384279 -2.792208)'))) / (select extract(epoch from '2026-07-04 15:15:37'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.384147 -2.792288)', '2026-07-04 15:15:44', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384279 -2.792208)'), GeomFromEWKT('SRID=4674;POINT (-40.384147 -2.792288)'))) / (select extract(epoch from '2026-07-04 15:15:44'::timestamp) - extract(epoch from '2026-07-04 15:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384279 -2.792208)'), GeomFromEWKT('SRID=4674;POINT (-40.384147 -2.792288)'))) / (select extract(epoch from '2026-07-04 15:15:44'::timestamp) - extract(epoch from '2026-07-04 15:15: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'), 47827, 'SRID=4674;POINT (-40.384036 -2.792357)', '2026-07-04 15:15:51', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384147 -2.792288)'), GeomFromEWKT('SRID=4674;POINT (-40.384036 -2.792357)'))) / (select extract(epoch from '2026-07-04 15:15:51'::timestamp) - extract(epoch from '2026-07-04 15:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384147 -2.792288)'), GeomFromEWKT('SRID=4674;POINT (-40.384036 -2.792357)'))) / (select extract(epoch from '2026-07-04 15:15:51'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.383888 -2.792401)', '2026-07-04 15:15:58', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384036 -2.792357)'), GeomFromEWKT('SRID=4674;POINT (-40.383888 -2.792401)'))) / (select extract(epoch from '2026-07-04 15:15:58'::timestamp) - extract(epoch from '2026-07-04 15:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384036 -2.792357)'), GeomFromEWKT('SRID=4674;POINT (-40.383888 -2.792401)'))) / (select extract(epoch from '2026-07-04 15:15:58'::timestamp) - extract(epoch from '2026-07-04 15:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.383788 -2.792478)', '2026-07-04 15:16:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383888 -2.792401)'), GeomFromEWKT('SRID=4674;POINT (-40.383788 -2.792478)'))) / (select extract(epoch from '2026-07-04 15:16:05'::timestamp) - extract(epoch from '2026-07-04 15:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383888 -2.792401)'), GeomFromEWKT('SRID=4674;POINT (-40.383788 -2.792478)'))) / (select extract(epoch from '2026-07-04 15:16:05'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.383679 -2.792537)', '2026-07-04 15:16:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383788 -2.792478)'), GeomFromEWKT('SRID=4674;POINT (-40.383679 -2.792537)'))) / (select extract(epoch from '2026-07-04 15:16:11'::timestamp) - extract(epoch from '2026-07-04 15:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383788 -2.792478)'), GeomFromEWKT('SRID=4674;POINT (-40.383679 -2.792537)'))) / (select extract(epoch from '2026-07-04 15:16:11'::timestamp) - extract(epoch from '2026-07-04 15:16: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'), 47827, 'SRID=4674;POINT (-40.383502 -2.792586)', '2026-07-04 15:16:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383679 -2.792537)'), GeomFromEWKT('SRID=4674;POINT (-40.383502 -2.792586)'))) / (select extract(epoch from '2026-07-04 15:16:20'::timestamp) - extract(epoch from '2026-07-04 15:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383679 -2.792537)'), GeomFromEWKT('SRID=4674;POINT (-40.383502 -2.792586)'))) / (select extract(epoch from '2026-07-04 15:16:20'::timestamp) - extract(epoch from '2026-07-04 15:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.383335 -2.792583)', '2026-07-04 15:16:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383502 -2.792586)'), GeomFromEWKT('SRID=4674;POINT (-40.383335 -2.792583)'))) / (select extract(epoch from '2026-07-04 15:16:27'::timestamp) - extract(epoch from '2026-07-04 15:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383502 -2.792586)'), GeomFromEWKT('SRID=4674;POINT (-40.383335 -2.792583)'))) / (select extract(epoch from '2026-07-04 15:16:27'::timestamp) - extract(epoch from '2026-07-04 15:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.383189 -2.792615)', '2026-07-04 15:16:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383335 -2.792583)'), GeomFromEWKT('SRID=4674;POINT (-40.383189 -2.792615)'))) / (select extract(epoch from '2026-07-04 15:16:34'::timestamp) - extract(epoch from '2026-07-04 15:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383335 -2.792583)'), GeomFromEWKT('SRID=4674;POINT (-40.383189 -2.792615)'))) / (select extract(epoch from '2026-07-04 15:16:34'::timestamp) - extract(epoch from '2026-07-04 15:16: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'), 47827, 'SRID=4674;POINT (-40.383096 -2.792681)', '2026-07-04 15:16:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383189 -2.792615)'), GeomFromEWKT('SRID=4674;POINT (-40.383096 -2.792681)'))) / (select extract(epoch from '2026-07-04 15:16:40'::timestamp) - extract(epoch from '2026-07-04 15:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383189 -2.792615)'), GeomFromEWKT('SRID=4674;POINT (-40.383096 -2.792681)'))) / (select extract(epoch from '2026-07-04 15:16:40'::timestamp) - extract(epoch from '2026-07-04 15:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.382941 -2.792817)', '2026-07-04 15:16:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383096 -2.792681)'), GeomFromEWKT('SRID=4674;POINT (-40.382941 -2.792817)'))) / (select extract(epoch from '2026-07-04 15:16:48'::timestamp) - extract(epoch from '2026-07-04 15:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383096 -2.792681)'), GeomFromEWKT('SRID=4674;POINT (-40.382941 -2.792817)'))) / (select extract(epoch from '2026-07-04 15:16:48'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.382816 -2.792924)', '2026-07-04 15:16:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382941 -2.792817)'), GeomFromEWKT('SRID=4674;POINT (-40.382816 -2.792924)'))) / (select extract(epoch from '2026-07-04 15:16:57'::timestamp) - extract(epoch from '2026-07-04 15:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382941 -2.792817)'), GeomFromEWKT('SRID=4674;POINT (-40.382816 -2.792924)'))) / (select extract(epoch from '2026-07-04 15:16:57'::timestamp) - extract(epoch from '2026-07-04 15:16: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'), 47827, 'SRID=4674;POINT (-40.382695 -2.792992)', '2026-07-04 15:17:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382816 -2.792924)'), GeomFromEWKT('SRID=4674;POINT (-40.382695 -2.792992)'))) / (select extract(epoch from '2026-07-04 15:17:04'::timestamp) - extract(epoch from '2026-07-04 15:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382816 -2.792924)'), GeomFromEWKT('SRID=4674;POINT (-40.382695 -2.792992)'))) / (select extract(epoch from '2026-07-04 15:17:04'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.38257 -2.793034)', '2026-07-04 15:17:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382695 -2.792992)'), GeomFromEWKT('SRID=4674;POINT (-40.38257 -2.793034)'))) / (select extract(epoch from '2026-07-04 15:17:11'::timestamp) - extract(epoch from '2026-07-04 15:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382695 -2.792992)'), GeomFromEWKT('SRID=4674;POINT (-40.38257 -2.793034)'))) / (select extract(epoch from '2026-07-04 15:17:11'::timestamp) - extract(epoch from '2026-07-04 15:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.382372 -2.793068)', '2026-07-04 15:17:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38257 -2.793034)'), GeomFromEWKT('SRID=4674;POINT (-40.382372 -2.793068)'))) / (select extract(epoch from '2026-07-04 15:17:20'::timestamp) - extract(epoch from '2026-07-04 15:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38257 -2.793034)'), GeomFromEWKT('SRID=4674;POINT (-40.382372 -2.793068)'))) / (select extract(epoch from '2026-07-04 15:17:20'::timestamp) - extract(epoch from '2026-07-04 15:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.382203 -2.79309)', '2026-07-04 15:17:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382372 -2.793068)'), GeomFromEWKT('SRID=4674;POINT (-40.382203 -2.79309)'))) / (select extract(epoch from '2026-07-04 15:17:28'::timestamp) - extract(epoch from '2026-07-04 15:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382372 -2.793068)'), GeomFromEWKT('SRID=4674;POINT (-40.382203 -2.79309)'))) / (select extract(epoch from '2026-07-04 15:17:28'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.382052 -2.793103)', '2026-07-04 15:17:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382203 -2.79309)'), GeomFromEWKT('SRID=4674;POINT (-40.382052 -2.793103)'))) / (select extract(epoch from '2026-07-04 15:17:35'::timestamp) - extract(epoch from '2026-07-04 15:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382203 -2.79309)'), GeomFromEWKT('SRID=4674;POINT (-40.382052 -2.793103)'))) / (select extract(epoch from '2026-07-04 15:17:35'::timestamp) - extract(epoch from '2026-07-04 15:17: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'), 47827, 'SRID=4674;POINT (-40.381923 -2.793121)', '2026-07-04 15:17:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382052 -2.793103)'), GeomFromEWKT('SRID=4674;POINT (-40.381923 -2.793121)'))) / (select extract(epoch from '2026-07-04 15:17:42'::timestamp) - extract(epoch from '2026-07-04 15:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382052 -2.793103)'), GeomFromEWKT('SRID=4674;POINT (-40.381923 -2.793121)'))) / (select extract(epoch from '2026-07-04 15:17:42'::timestamp) - extract(epoch from '2026-07-04 15:17:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.381838 -2.793129)', '2026-07-04 15:17:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381923 -2.793121)'), GeomFromEWKT('SRID=4674;POINT (-40.381838 -2.793129)'))) / (select extract(epoch from '2026-07-04 15:17:47'::timestamp) - extract(epoch from '2026-07-04 15:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381923 -2.793121)'), GeomFromEWKT('SRID=4674;POINT (-40.381838 -2.793129)'))) / (select extract(epoch from '2026-07-04 15:17:47'::timestamp) - extract(epoch from '2026-07-04 15:17: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'), 47827, 'SRID=4674;POINT (-40.381671 -2.793145)', '2026-07-04 15:17:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381838 -2.793129)'), GeomFromEWKT('SRID=4674;POINT (-40.381671 -2.793145)'))) / (select extract(epoch from '2026-07-04 15:17:57'::timestamp) - extract(epoch from '2026-07-04 15:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381838 -2.793129)'), GeomFromEWKT('SRID=4674;POINT (-40.381671 -2.793145)'))) / (select extract(epoch from '2026-07-04 15:17:57'::timestamp) - extract(epoch from '2026-07-04 15:17: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'), 47827, 'SRID=4674;POINT (-40.381482 -2.793143)', '2026-07-04 15:18:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381671 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.381482 -2.793143)'))) / (select extract(epoch from '2026-07-04 15:18:05'::timestamp) - extract(epoch from '2026-07-04 15:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381671 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.381482 -2.793143)'))) / (select extract(epoch from '2026-07-04 15:18:05'::timestamp) - extract(epoch from '2026-07-04 15:17:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.381286 -2.793164)', '2026-07-04 15:18:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381482 -2.793143)'), GeomFromEWKT('SRID=4674;POINT (-40.381286 -2.793164)'))) / (select extract(epoch from '2026-07-04 15:18:15'::timestamp) - extract(epoch from '2026-07-04 15:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381482 -2.793143)'), GeomFromEWKT('SRID=4674;POINT (-40.381286 -2.793164)'))) / (select extract(epoch from '2026-07-04 15:18:15'::timestamp) - extract(epoch from '2026-07-04 15:18: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'), 47827, 'SRID=4674;POINT (-40.38113 -2.793166)', '2026-07-04 15:18:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381286 -2.793164)'), GeomFromEWKT('SRID=4674;POINT (-40.38113 -2.793166)'))) / (select extract(epoch from '2026-07-04 15:18:22'::timestamp) - extract(epoch from '2026-07-04 15:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381286 -2.793164)'), GeomFromEWKT('SRID=4674;POINT (-40.38113 -2.793166)'))) / (select extract(epoch from '2026-07-04 15:18:22'::timestamp) - extract(epoch from '2026-07-04 15:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.380994 -2.793231)', '2026-07-04 15:18:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38113 -2.793166)'), GeomFromEWKT('SRID=4674;POINT (-40.380994 -2.793231)'))) / (select extract(epoch from '2026-07-04 15:18:29'::timestamp) - extract(epoch from '2026-07-04 15:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38113 -2.793166)'), GeomFromEWKT('SRID=4674;POINT (-40.380994 -2.793231)'))) / (select extract(epoch from '2026-07-04 15:18:29'::timestamp) - extract(epoch from '2026-07-04 15:18: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'), 47827, 'SRID=4674;POINT (-40.380899 -2.793357)', '2026-07-04 15:18:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380994 -2.793231)'), GeomFromEWKT('SRID=4674;POINT (-40.380899 -2.793357)'))) / (select extract(epoch from '2026-07-04 15:18:36'::timestamp) - extract(epoch from '2026-07-04 15:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380994 -2.793231)'), GeomFromEWKT('SRID=4674;POINT (-40.380899 -2.793357)'))) / (select extract(epoch from '2026-07-04 15:18:36'::timestamp) - extract(epoch from '2026-07-04 15:18: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'), 47827, 'SRID=4674;POINT (-40.380875 -2.79353)', '2026-07-04 15:18:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380899 -2.793357)'), GeomFromEWKT('SRID=4674;POINT (-40.380875 -2.79353)'))) / (select extract(epoch from '2026-07-04 15:18:43'::timestamp) - extract(epoch from '2026-07-04 15:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380899 -2.793357)'), GeomFromEWKT('SRID=4674;POINT (-40.380875 -2.79353)'))) / (select extract(epoch from '2026-07-04 15:18:43'::timestamp) - extract(epoch from '2026-07-04 15:18: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'), 47827, 'SRID=4674;POINT (-40.380784 -2.793635)', '2026-07-04 15:18:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380875 -2.79353)'), GeomFromEWKT('SRID=4674;POINT (-40.380784 -2.793635)'))) / (select extract(epoch from '2026-07-04 15:18:50'::timestamp) - extract(epoch from '2026-07-04 15:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380875 -2.79353)'), GeomFromEWKT('SRID=4674;POINT (-40.380784 -2.793635)'))) / (select extract(epoch from '2026-07-04 15:18:50'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.380643 -2.793695)', '2026-07-04 15:18:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380784 -2.793635)'), GeomFromEWKT('SRID=4674;POINT (-40.380643 -2.793695)'))) / (select extract(epoch from '2026-07-04 15:18:57'::timestamp) - extract(epoch from '2026-07-04 15:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380784 -2.793635)'), GeomFromEWKT('SRID=4674;POINT (-40.380643 -2.793695)'))) / (select extract(epoch from '2026-07-04 15:18:57'::timestamp) - extract(epoch from '2026-07-04 15:18: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'), 47827, 'SRID=4674;POINT (-40.380495 -2.793712)', '2026-07-04 15:19:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380643 -2.793695)'), GeomFromEWKT('SRID=4674;POINT (-40.380495 -2.793712)'))) / (select extract(epoch from '2026-07-04 15:19:04'::timestamp) - extract(epoch from '2026-07-04 15:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380643 -2.793695)'), GeomFromEWKT('SRID=4674;POINT (-40.380495 -2.793712)'))) / (select extract(epoch from '2026-07-04 15:19:04'::timestamp) - extract(epoch from '2026-07-04 15:18: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'), 47827, 'SRID=4674;POINT (-40.38038 -2.793726)', '2026-07-04 15:19:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380495 -2.793712)'), GeomFromEWKT('SRID=4674;POINT (-40.38038 -2.793726)'))) / (select extract(epoch from '2026-07-04 15:19:11'::timestamp) - extract(epoch from '2026-07-04 15:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380495 -2.793712)'), GeomFromEWKT('SRID=4674;POINT (-40.38038 -2.793726)'))) / (select extract(epoch from '2026-07-04 15:19:11'::timestamp) - extract(epoch from '2026-07-04 15:19: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'), 47827, 'SRID=4674;POINT (-40.38026 -2.793727)', '2026-07-04 15:19:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38038 -2.793726)'), GeomFromEWKT('SRID=4674;POINT (-40.38026 -2.793727)'))) / (select extract(epoch from '2026-07-04 15:19:17'::timestamp) - extract(epoch from '2026-07-04 15:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38038 -2.793726)'), GeomFromEWKT('SRID=4674;POINT (-40.38026 -2.793727)'))) / (select extract(epoch from '2026-07-04 15:19:17'::timestamp) - extract(epoch from '2026-07-04 15:19: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'), 47827, 'SRID=4674;POINT (-40.380094 -2.793747)', '2026-07-04 15:19:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38026 -2.793727)'), GeomFromEWKT('SRID=4674;POINT (-40.380094 -2.793747)'))) / (select extract(epoch from '2026-07-04 15:19:26'::timestamp) - extract(epoch from '2026-07-04 15:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38026 -2.793727)'), GeomFromEWKT('SRID=4674;POINT (-40.380094 -2.793747)'))) / (select extract(epoch from '2026-07-04 15:19:26'::timestamp) - extract(epoch from '2026-07-04 15:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.37991 -2.793759)', '2026-07-04 15:19:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380094 -2.793747)'), GeomFromEWKT('SRID=4674;POINT (-40.37991 -2.793759)'))) / (select extract(epoch from '2026-07-04 15:19:35'::timestamp) - extract(epoch from '2026-07-04 15:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380094 -2.793747)'), GeomFromEWKT('SRID=4674;POINT (-40.37991 -2.793759)'))) / (select extract(epoch from '2026-07-04 15:19:35'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.379758 -2.793769)', '2026-07-04 15:19:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37991 -2.793759)'), GeomFromEWKT('SRID=4674;POINT (-40.379758 -2.793769)'))) / (select extract(epoch from '2026-07-04 15:19:43'::timestamp) - extract(epoch from '2026-07-04 15:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37991 -2.793759)'), GeomFromEWKT('SRID=4674;POINT (-40.379758 -2.793769)'))) / (select extract(epoch from '2026-07-04 15:19:43'::timestamp) - extract(epoch from '2026-07-04 15:19: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'), 47827, 'SRID=4674;POINT (-40.379577 -2.793781)', '2026-07-04 15:19:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379758 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.793781)'))) / (select extract(epoch from '2026-07-04 15:19:51'::timestamp) - extract(epoch from '2026-07-04 15:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379758 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.793781)'))) / (select extract(epoch from '2026-07-04 15:19:51'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.379439 -2.793792)', '2026-07-04 15:19:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.793781)'), GeomFromEWKT('SRID=4674;POINT (-40.379439 -2.793792)'))) / (select extract(epoch from '2026-07-04 15:19:58'::timestamp) - extract(epoch from '2026-07-04 15:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.793781)'), GeomFromEWKT('SRID=4674;POINT (-40.379439 -2.793792)'))) / (select extract(epoch from '2026-07-04 15:19:58'::timestamp) - extract(epoch from '2026-07-04 15:19: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'), 47827, 'SRID=4674;POINT (-40.379303 -2.793813)', '2026-07-04 15:20:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379439 -2.793792)'), GeomFromEWKT('SRID=4674;POINT (-40.379303 -2.793813)'))) / (select extract(epoch from '2026-07-04 15:20:07'::timestamp) - extract(epoch from '2026-07-04 15:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379439 -2.793792)'), GeomFromEWKT('SRID=4674;POINT (-40.379303 -2.793813)'))) / (select extract(epoch from '2026-07-04 15:20:07'::timestamp) - extract(epoch from '2026-07-04 15:19: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'), 47827, 'SRID=4674;POINT (-40.379153 -2.793822)', '2026-07-04 15:20:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379303 -2.793813)'), GeomFromEWKT('SRID=4674;POINT (-40.379153 -2.793822)'))) / (select extract(epoch from '2026-07-04 15:20:14'::timestamp) - extract(epoch from '2026-07-04 15:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379303 -2.793813)'), GeomFromEWKT('SRID=4674;POINT (-40.379153 -2.793822)'))) / (select extract(epoch from '2026-07-04 15:20:14'::timestamp) - extract(epoch from '2026-07-04 15:20: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'), 47827, 'SRID=4674;POINT (-40.379012 -2.7938)', '2026-07-04 15:20:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379153 -2.793822)'), GeomFromEWKT('SRID=4674;POINT (-40.379012 -2.7938)'))) / (select extract(epoch from '2026-07-04 15:20:21'::timestamp) - extract(epoch from '2026-07-04 15:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379153 -2.793822)'), GeomFromEWKT('SRID=4674;POINT (-40.379012 -2.7938)'))) / (select extract(epoch from '2026-07-04 15:20:21'::timestamp) - extract(epoch from '2026-07-04 15:20: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'), 47827, 'SRID=4674;POINT (-40.378834 -2.793795)', '2026-07-04 15:20:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379012 -2.7938)'), GeomFromEWKT('SRID=4674;POINT (-40.378834 -2.793795)'))) / (select extract(epoch from '2026-07-04 15:20:28'::timestamp) - extract(epoch from '2026-07-04 15:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379012 -2.7938)'), GeomFromEWKT('SRID=4674;POINT (-40.378834 -2.793795)'))) / (select extract(epoch from '2026-07-04 15:20:28'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.378706 -2.793788)', '2026-07-04 15:20:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378834 -2.793795)'), GeomFromEWKT('SRID=4674;POINT (-40.378706 -2.793788)'))) / (select extract(epoch from '2026-07-04 15:20:35'::timestamp) - extract(epoch from '2026-07-04 15:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378834 -2.793795)'), GeomFromEWKT('SRID=4674;POINT (-40.378706 -2.793788)'))) / (select extract(epoch from '2026-07-04 15:20:35'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.378546 -2.793823)', '2026-07-04 15:20:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378706 -2.793788)'), GeomFromEWKT('SRID=4674;POINT (-40.378546 -2.793823)'))) / (select extract(epoch from '2026-07-04 15:20:44'::timestamp) - extract(epoch from '2026-07-04 15:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378706 -2.793788)'), GeomFromEWKT('SRID=4674;POINT (-40.378546 -2.793823)'))) / (select extract(epoch from '2026-07-04 15:20:44'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.378369 -2.793863)', '2026-07-04 15:20:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378546 -2.793823)'), GeomFromEWKT('SRID=4674;POINT (-40.378369 -2.793863)'))) / (select extract(epoch from '2026-07-04 15:20:53'::timestamp) - extract(epoch from '2026-07-04 15:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378546 -2.793823)'), GeomFromEWKT('SRID=4674;POINT (-40.378369 -2.793863)'))) / (select extract(epoch from '2026-07-04 15:20:53'::timestamp) - extract(epoch from '2026-07-04 15:20: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'), 47827, 'SRID=4674;POINT (-40.378259 -2.793891)', '2026-07-04 15:21:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378369 -2.793863)'), GeomFromEWKT('SRID=4674;POINT (-40.378259 -2.793891)'))) / (select extract(epoch from '2026-07-04 15:21:00'::timestamp) - extract(epoch from '2026-07-04 15:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378369 -2.793863)'), GeomFromEWKT('SRID=4674;POINT (-40.378259 -2.793891)'))) / (select extract(epoch from '2026-07-04 15:21:00'::timestamp) - extract(epoch from '2026-07-04 15:20: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'), 47827, 'SRID=4674;POINT (-40.378127 -2.793921)', '2026-07-04 15:21:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378259 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.378127 -2.793921)'))) / (select extract(epoch from '2026-07-04 15:21:07'::timestamp) - extract(epoch from '2026-07-04 15:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378259 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.378127 -2.793921)'))) / (select extract(epoch from '2026-07-04 15:21:07'::timestamp) - extract(epoch from '2026-07-04 15:21:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.377944 -2.793941)', '2026-07-04 15:21:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378127 -2.793921)'), GeomFromEWKT('SRID=4674;POINT (-40.377944 -2.793941)'))) / (select extract(epoch from '2026-07-04 15:21:15'::timestamp) - extract(epoch from '2026-07-04 15:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378127 -2.793921)'), GeomFromEWKT('SRID=4674;POINT (-40.377944 -2.793941)'))) / (select extract(epoch from '2026-07-04 15:21:15'::timestamp) - extract(epoch from '2026-07-04 15:21: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'), 47827, 'SRID=4674;POINT (-40.377756 -2.793975)', '2026-07-04 15:21:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377944 -2.793941)'), GeomFromEWKT('SRID=4674;POINT (-40.377756 -2.793975)'))) / (select extract(epoch from '2026-07-04 15:21:23'::timestamp) - extract(epoch from '2026-07-04 15:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377944 -2.793941)'), GeomFromEWKT('SRID=4674;POINT (-40.377756 -2.793975)'))) / (select extract(epoch from '2026-07-04 15:21:23'::timestamp) - extract(epoch from '2026-07-04 15:21: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'), 47827, 'SRID=4674;POINT (-40.377559 -2.794005)', '2026-07-04 15:21:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377756 -2.793975)'), GeomFromEWKT('SRID=4674;POINT (-40.377559 -2.794005)'))) / (select extract(epoch from '2026-07-04 15:21:33'::timestamp) - extract(epoch from '2026-07-04 15:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377756 -2.793975)'), GeomFromEWKT('SRID=4674;POINT (-40.377559 -2.794005)'))) / (select extract(epoch from '2026-07-04 15:21:33'::timestamp) - extract(epoch from '2026-07-04 15:21: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'), 47827, 'SRID=4674;POINT (-40.377374 -2.794027)', '2026-07-04 15:21:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377559 -2.794005)'), GeomFromEWKT('SRID=4674;POINT (-40.377374 -2.794027)'))) / (select extract(epoch from '2026-07-04 15:21:42'::timestamp) - extract(epoch from '2026-07-04 15:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377559 -2.794005)'), GeomFromEWKT('SRID=4674;POINT (-40.377374 -2.794027)'))) / (select extract(epoch from '2026-07-04 15:21:42'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.377225 -2.794046)', '2026-07-04 15:21:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377374 -2.794027)'), GeomFromEWKT('SRID=4674;POINT (-40.377225 -2.794046)'))) / (select extract(epoch from '2026-07-04 15:21:50'::timestamp) - extract(epoch from '2026-07-04 15:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377374 -2.794027)'), GeomFromEWKT('SRID=4674;POINT (-40.377225 -2.794046)'))) / (select extract(epoch from '2026-07-04 15:21:50'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.377085 -2.794052)', '2026-07-04 15:21:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377225 -2.794046)'), GeomFromEWKT('SRID=4674;POINT (-40.377085 -2.794052)'))) / (select extract(epoch from '2026-07-04 15:21:57'::timestamp) - extract(epoch from '2026-07-04 15:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377225 -2.794046)'), GeomFromEWKT('SRID=4674;POINT (-40.377085 -2.794052)'))) / (select extract(epoch from '2026-07-04 15:21:57'::timestamp) - extract(epoch from '2026-07-04 15:21: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'), 47827, 'SRID=4674;POINT (-40.376934 -2.794061)', '2026-07-04 15:22:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377085 -2.794052)'), GeomFromEWKT('SRID=4674;POINT (-40.376934 -2.794061)'))) / (select extract(epoch from '2026-07-04 15:22:04'::timestamp) - extract(epoch from '2026-07-04 15:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377085 -2.794052)'), GeomFromEWKT('SRID=4674;POINT (-40.376934 -2.794061)'))) / (select extract(epoch from '2026-07-04 15:22:04'::timestamp) - extract(epoch from '2026-07-04 15:21: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'), 47827, 'SRID=4674;POINT (-40.376795 -2.794077)', '2026-07-04 15:22:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376934 -2.794061)'), GeomFromEWKT('SRID=4674;POINT (-40.376795 -2.794077)'))) / (select extract(epoch from '2026-07-04 15:22:11'::timestamp) - extract(epoch from '2026-07-04 15:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376934 -2.794061)'), GeomFromEWKT('SRID=4674;POINT (-40.376795 -2.794077)'))) / (select extract(epoch from '2026-07-04 15:22:11'::timestamp) - extract(epoch from '2026-07-04 15:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.376618 -2.7941)', '2026-07-04 15:22:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376795 -2.794077)'), GeomFromEWKT('SRID=4674;POINT (-40.376618 -2.7941)'))) / (select extract(epoch from '2026-07-04 15:22:19'::timestamp) - extract(epoch from '2026-07-04 15:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376795 -2.794077)'), GeomFromEWKT('SRID=4674;POINT (-40.376618 -2.7941)'))) / (select extract(epoch from '2026-07-04 15:22:19'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.376492 -2.794119)', '2026-07-04 15:22:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376618 -2.7941)'), GeomFromEWKT('SRID=4674;POINT (-40.376492 -2.794119)'))) / (select extract(epoch from '2026-07-04 15:22:26'::timestamp) - extract(epoch from '2026-07-04 15:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376618 -2.7941)'), GeomFromEWKT('SRID=4674;POINT (-40.376492 -2.794119)'))) / (select extract(epoch from '2026-07-04 15:22:26'::timestamp) - extract(epoch from '2026-07-04 15:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.376334 -2.794124)', '2026-07-04 15:22:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376492 -2.794119)'), GeomFromEWKT('SRID=4674;POINT (-40.376334 -2.794124)'))) / (select extract(epoch from '2026-07-04 15:22:33'::timestamp) - extract(epoch from '2026-07-04 15:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376492 -2.794119)'), GeomFromEWKT('SRID=4674;POINT (-40.376334 -2.794124)'))) / (select extract(epoch from '2026-07-04 15:22:33'::timestamp) - extract(epoch from '2026-07-04 15:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.376175 -2.794137)', '2026-07-04 15:22:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376334 -2.794124)'), GeomFromEWKT('SRID=4674;POINT (-40.376175 -2.794137)'))) / (select extract(epoch from '2026-07-04 15:22:41'::timestamp) - extract(epoch from '2026-07-04 15:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376334 -2.794124)'), GeomFromEWKT('SRID=4674;POINT (-40.376175 -2.794137)'))) / (select extract(epoch from '2026-07-04 15:22:41'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.376024 -2.794158)', '2026-07-04 15:22:48', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376175 -2.794137)'), GeomFromEWKT('SRID=4674;POINT (-40.376024 -2.794158)'))) / (select extract(epoch from '2026-07-04 15:22:48'::timestamp) - extract(epoch from '2026-07-04 15:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376175 -2.794137)'), GeomFromEWKT('SRID=4674;POINT (-40.376024 -2.794158)'))) / (select extract(epoch from '2026-07-04 15:22:48'::timestamp) - extract(epoch from '2026-07-04 15:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.375842 -2.794174)', '2026-07-04 15:22:57', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376024 -2.794158)'), GeomFromEWKT('SRID=4674;POINT (-40.375842 -2.794174)'))) / (select extract(epoch from '2026-07-04 15:22:57'::timestamp) - extract(epoch from '2026-07-04 15:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376024 -2.794158)'), GeomFromEWKT('SRID=4674;POINT (-40.375842 -2.794174)'))) / (select extract(epoch from '2026-07-04 15:22:57'::timestamp) - extract(epoch from '2026-07-04 15:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.375686 -2.794181)', '2026-07-04 15:23:05', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375842 -2.794174)'), GeomFromEWKT('SRID=4674;POINT (-40.375686 -2.794181)'))) / (select extract(epoch from '2026-07-04 15:23:05'::timestamp) - extract(epoch from '2026-07-04 15:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375842 -2.794174)'), GeomFromEWKT('SRID=4674;POINT (-40.375686 -2.794181)'))) / (select extract(epoch from '2026-07-04 15:23:05'::timestamp) - extract(epoch from '2026-07-04 15:22: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'), 47827, 'SRID=4674;POINT (-40.375534 -2.794205)', '2026-07-04 15:23:13', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375686 -2.794181)'), GeomFromEWKT('SRID=4674;POINT (-40.375534 -2.794205)'))) / (select extract(epoch from '2026-07-04 15:23:13'::timestamp) - extract(epoch from '2026-07-04 15:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375686 -2.794181)'), GeomFromEWKT('SRID=4674;POINT (-40.375534 -2.794205)'))) / (select extract(epoch from '2026-07-04 15:23:13'::timestamp) - extract(epoch from '2026-07-04 15:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.375398 -2.79424)', '2026-07-04 15:23:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375534 -2.794205)'), GeomFromEWKT('SRID=4674;POINT (-40.375398 -2.79424)'))) / (select extract(epoch from '2026-07-04 15:23:20'::timestamp) - extract(epoch from '2026-07-04 15:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375534 -2.794205)'), GeomFromEWKT('SRID=4674;POINT (-40.375398 -2.79424)'))) / (select extract(epoch from '2026-07-04 15:23:20'::timestamp) - extract(epoch from '2026-07-04 15:23: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'), 47827, 'SRID=4674;POINT (-40.375246 -2.794275)', '2026-07-04 15:23:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375398 -2.79424)'), GeomFromEWKT('SRID=4674;POINT (-40.375246 -2.794275)'))) / (select extract(epoch from '2026-07-04 15:23:28'::timestamp) - extract(epoch from '2026-07-04 15:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375398 -2.79424)'), GeomFromEWKT('SRID=4674;POINT (-40.375246 -2.794275)'))) / (select extract(epoch from '2026-07-04 15:23:28'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.375095 -2.794338)', '2026-07-04 15:23:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375246 -2.794275)'), GeomFromEWKT('SRID=4674;POINT (-40.375095 -2.794338)'))) / (select extract(epoch from '2026-07-04 15:23:36'::timestamp) - extract(epoch from '2026-07-04 15:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375246 -2.794275)'), GeomFromEWKT('SRID=4674;POINT (-40.375095 -2.794338)'))) / (select extract(epoch from '2026-07-04 15:23:36'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.37493 -2.7944)', '2026-07-04 15:23:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375095 -2.794338)'), GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.7944)'))) / (select extract(epoch from '2026-07-04 15:23:44'::timestamp) - extract(epoch from '2026-07-04 15:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375095 -2.794338)'), GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.7944)'))) / (select extract(epoch from '2026-07-04 15:23:44'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.374814 -2.79443)', '2026-07-04 15:23:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.7944)'), GeomFromEWKT('SRID=4674;POINT (-40.374814 -2.79443)'))) / (select extract(epoch from '2026-07-04 15:23:50'::timestamp) - extract(epoch from '2026-07-04 15:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.7944)'), GeomFromEWKT('SRID=4674;POINT (-40.374814 -2.79443)'))) / (select extract(epoch from '2026-07-04 15:23:50'::timestamp) - extract(epoch from '2026-07-04 15:23: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'), 47827, 'SRID=4674;POINT (-40.374685 -2.794467)', '2026-07-04 15:23:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374814 -2.79443)'), GeomFromEWKT('SRID=4674;POINT (-40.374685 -2.794467)'))) / (select extract(epoch from '2026-07-04 15:23:57'::timestamp) - extract(epoch from '2026-07-04 15:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374814 -2.79443)'), GeomFromEWKT('SRID=4674;POINT (-40.374685 -2.794467)'))) / (select extract(epoch from '2026-07-04 15:23:57'::timestamp) - extract(epoch from '2026-07-04 15:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.374503 -2.794501)', '2026-07-04 15:24:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374685 -2.794467)'), GeomFromEWKT('SRID=4674;POINT (-40.374503 -2.794501)'))) / (select extract(epoch from '2026-07-04 15:24:06'::timestamp) - extract(epoch from '2026-07-04 15:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374685 -2.794467)'), GeomFromEWKT('SRID=4674;POINT (-40.374503 -2.794501)'))) / (select extract(epoch from '2026-07-04 15:24:06'::timestamp) - extract(epoch from '2026-07-04 15:23: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'), 47827, 'SRID=4674;POINT (-40.374365 -2.794549)', '2026-07-04 15:24:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374503 -2.794501)'), GeomFromEWKT('SRID=4674;POINT (-40.374365 -2.794549)'))) / (select extract(epoch from '2026-07-04 15:24:13'::timestamp) - extract(epoch from '2026-07-04 15:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374503 -2.794501)'), GeomFromEWKT('SRID=4674;POINT (-40.374365 -2.794549)'))) / (select extract(epoch from '2026-07-04 15:24:13'::timestamp) - extract(epoch from '2026-07-04 15:24: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'), 47827, 'SRID=4674;POINT (-40.374191 -2.79461)', '2026-07-04 15:24:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374365 -2.794549)'), GeomFromEWKT('SRID=4674;POINT (-40.374191 -2.79461)'))) / (select extract(epoch from '2026-07-04 15:24:22'::timestamp) - extract(epoch from '2026-07-04 15:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374365 -2.794549)'), GeomFromEWKT('SRID=4674;POINT (-40.374191 -2.79461)'))) / (select extract(epoch from '2026-07-04 15:24:22'::timestamp) - extract(epoch from '2026-07-04 15:24: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'), 47827, 'SRID=4674;POINT (-40.374065 -2.79466)', '2026-07-04 15:24:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374191 -2.79461)'), GeomFromEWKT('SRID=4674;POINT (-40.374065 -2.79466)'))) / (select extract(epoch from '2026-07-04 15:24:29'::timestamp) - extract(epoch from '2026-07-04 15:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374191 -2.79461)'), GeomFromEWKT('SRID=4674;POINT (-40.374065 -2.79466)'))) / (select extract(epoch from '2026-07-04 15:24:29'::timestamp) - extract(epoch from '2026-07-04 15:24: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'), 47827, 'SRID=4674;POINT (-40.373925 -2.794705)', '2026-07-04 15:24:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374065 -2.79466)'), GeomFromEWKT('SRID=4674;POINT (-40.373925 -2.794705)'))) / (select extract(epoch from '2026-07-04 15:24:36'::timestamp) - extract(epoch from '2026-07-04 15:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374065 -2.79466)'), GeomFromEWKT('SRID=4674;POINT (-40.373925 -2.794705)'))) / (select extract(epoch from '2026-07-04 15:24:36'::timestamp) - extract(epoch from '2026-07-04 15:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.373764 -2.794737)', '2026-07-04 15:24:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373925 -2.794705)'), GeomFromEWKT('SRID=4674;POINT (-40.373764 -2.794737)'))) / (select extract(epoch from '2026-07-04 15:24:45'::timestamp) - extract(epoch from '2026-07-04 15:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373925 -2.794705)'), GeomFromEWKT('SRID=4674;POINT (-40.373764 -2.794737)'))) / (select extract(epoch from '2026-07-04 15:24:45'::timestamp) - extract(epoch from '2026-07-04 15:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.373608 -2.794755)', '2026-07-04 15:24:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373764 -2.794737)'), GeomFromEWKT('SRID=4674;POINT (-40.373608 -2.794755)'))) / (select extract(epoch from '2026-07-04 15:24:53'::timestamp) - extract(epoch from '2026-07-04 15:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373764 -2.794737)'), GeomFromEWKT('SRID=4674;POINT (-40.373608 -2.794755)'))) / (select extract(epoch from '2026-07-04 15:24:53'::timestamp) - extract(epoch from '2026-07-04 15:24: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'), 47827, 'SRID=4674;POINT (-40.373455 -2.794804)', '2026-07-04 15:25:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373608 -2.794755)'), GeomFromEWKT('SRID=4674;POINT (-40.373455 -2.794804)'))) / (select extract(epoch from '2026-07-04 15:25:00'::timestamp) - extract(epoch from '2026-07-04 15:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373608 -2.794755)'), GeomFromEWKT('SRID=4674;POINT (-40.373455 -2.794804)'))) / (select extract(epoch from '2026-07-04 15:25:00'::timestamp) - extract(epoch from '2026-07-04 15:24: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'), 47827, 'SRID=4674;POINT (-40.373277 -2.794862)', '2026-07-04 15:25:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373455 -2.794804)'), GeomFromEWKT('SRID=4674;POINT (-40.373277 -2.794862)'))) / (select extract(epoch from '2026-07-04 15:25:08'::timestamp) - extract(epoch from '2026-07-04 15:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373455 -2.794804)'), GeomFromEWKT('SRID=4674;POINT (-40.373277 -2.794862)'))) / (select extract(epoch from '2026-07-04 15:25:08'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.373159 -2.79488)', '2026-07-04 15:25:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373277 -2.794862)'), GeomFromEWKT('SRID=4674;POINT (-40.373159 -2.79488)'))) / (select extract(epoch from '2026-07-04 15:25:16'::timestamp) - extract(epoch from '2026-07-04 15:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373277 -2.794862)'), GeomFromEWKT('SRID=4674;POINT (-40.373159 -2.79488)'))) / (select extract(epoch from '2026-07-04 15:25:16'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.372965 -2.794916)', '2026-07-04 15:25:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373159 -2.79488)'), GeomFromEWKT('SRID=4674;POINT (-40.372965 -2.794916)'))) / (select extract(epoch from '2026-07-04 15:25:25'::timestamp) - extract(epoch from '2026-07-04 15:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373159 -2.79488)'), GeomFromEWKT('SRID=4674;POINT (-40.372965 -2.794916)'))) / (select extract(epoch from '2026-07-04 15:25:25'::timestamp) - extract(epoch from '2026-07-04 15:25: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'), 47827, 'SRID=4674;POINT (-40.372797 -2.794956)', '2026-07-04 15:25:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372965 -2.794916)'), GeomFromEWKT('SRID=4674;POINT (-40.372797 -2.794956)'))) / (select extract(epoch from '2026-07-04 15:25:33'::timestamp) - extract(epoch from '2026-07-04 15:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372965 -2.794916)'), GeomFromEWKT('SRID=4674;POINT (-40.372797 -2.794956)'))) / (select extract(epoch from '2026-07-04 15:25:33'::timestamp) - extract(epoch from '2026-07-04 15:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.372618 -2.794999)', '2026-07-04 15:25:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372797 -2.794956)'), GeomFromEWKT('SRID=4674;POINT (-40.372618 -2.794999)'))) / (select extract(epoch from '2026-07-04 15:25:41'::timestamp) - extract(epoch from '2026-07-04 15:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372797 -2.794956)'), GeomFromEWKT('SRID=4674;POINT (-40.372618 -2.794999)'))) / (select extract(epoch from '2026-07-04 15:25:41'::timestamp) - extract(epoch from '2026-07-04 15:25: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'), 47827, 'SRID=4674;POINT (-40.372446 -2.795047)', '2026-07-04 15:25:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372618 -2.794999)'), GeomFromEWKT('SRID=4674;POINT (-40.372446 -2.795047)'))) / (select extract(epoch from '2026-07-04 15:25:49'::timestamp) - extract(epoch from '2026-07-04 15:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372618 -2.794999)'), GeomFromEWKT('SRID=4674;POINT (-40.372446 -2.795047)'))) / (select extract(epoch from '2026-07-04 15:25:49'::timestamp) - extract(epoch from '2026-07-04 15:25: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'), 47827, 'SRID=4674;POINT (-40.372244 -2.795111)', '2026-07-04 15:25:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372446 -2.795047)'), GeomFromEWKT('SRID=4674;POINT (-40.372244 -2.795111)'))) / (select extract(epoch from '2026-07-04 15:25:58'::timestamp) - extract(epoch from '2026-07-04 15:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372446 -2.795047)'), GeomFromEWKT('SRID=4674;POINT (-40.372244 -2.795111)'))) / (select extract(epoch from '2026-07-04 15:25:58'::timestamp) - extract(epoch from '2026-07-04 15:25: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'), 47827, 'SRID=4674;POINT (-40.372073 -2.795201)', '2026-07-04 15:26:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372244 -2.795111)'), GeomFromEWKT('SRID=4674;POINT (-40.372073 -2.795201)'))) / (select extract(epoch from '2026-07-04 15:26:07'::timestamp) - extract(epoch from '2026-07-04 15:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372244 -2.795111)'), GeomFromEWKT('SRID=4674;POINT (-40.372073 -2.795201)'))) / (select extract(epoch from '2026-07-04 15:26:07'::timestamp) - extract(epoch from '2026-07-04 15:25: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'), 47827, 'SRID=4674;POINT (-40.371922 -2.795244)', '2026-07-04 15:26:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372073 -2.795201)'), GeomFromEWKT('SRID=4674;POINT (-40.371922 -2.795244)'))) / (select extract(epoch from '2026-07-04 15:26:15'::timestamp) - extract(epoch from '2026-07-04 15:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372073 -2.795201)'), GeomFromEWKT('SRID=4674;POINT (-40.371922 -2.795244)'))) / (select extract(epoch from '2026-07-04 15:26:15'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.371787 -2.795297)', '2026-07-04 15:26:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371922 -2.795244)'), GeomFromEWKT('SRID=4674;POINT (-40.371787 -2.795297)'))) / (select extract(epoch from '2026-07-04 15:26:22'::timestamp) - extract(epoch from '2026-07-04 15:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371922 -2.795244)'), GeomFromEWKT('SRID=4674;POINT (-40.371787 -2.795297)'))) / (select extract(epoch from '2026-07-04 15:26:22'::timestamp) - extract(epoch from '2026-07-04 15:26: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'), 47827, 'SRID=4674;POINT (-40.371662 -2.795342)', '2026-07-04 15:26:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371787 -2.795297)'), GeomFromEWKT('SRID=4674;POINT (-40.371662 -2.795342)'))) / (select extract(epoch from '2026-07-04 15:26:29'::timestamp) - extract(epoch from '2026-07-04 15:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371787 -2.795297)'), GeomFromEWKT('SRID=4674;POINT (-40.371662 -2.795342)'))) / (select extract(epoch from '2026-07-04 15:26:29'::timestamp) - extract(epoch from '2026-07-04 15:26: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'), 47827, 'SRID=4674;POINT (-40.371534 -2.795406)', '2026-07-04 15:26:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371662 -2.795342)'), GeomFromEWKT('SRID=4674;POINT (-40.371534 -2.795406)'))) / (select extract(epoch from '2026-07-04 15:26:36'::timestamp) - extract(epoch from '2026-07-04 15:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371662 -2.795342)'), GeomFromEWKT('SRID=4674;POINT (-40.371534 -2.795406)'))) / (select extract(epoch from '2026-07-04 15:26:36'::timestamp) - extract(epoch from '2026-07-04 15:26: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'), 47827, 'SRID=4674;POINT (-40.371397 -2.795494)', '2026-07-04 15:26:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371534 -2.795406)'), GeomFromEWKT('SRID=4674;POINT (-40.371397 -2.795494)'))) / (select extract(epoch from '2026-07-04 15:26:44'::timestamp) - extract(epoch from '2026-07-04 15:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371534 -2.795406)'), GeomFromEWKT('SRID=4674;POINT (-40.371397 -2.795494)'))) / (select extract(epoch from '2026-07-04 15:26:44'::timestamp) - extract(epoch from '2026-07-04 15:26: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'), 47827, 'SRID=4674;POINT (-40.371272 -2.795575)', '2026-07-04 15:26:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371397 -2.795494)'), GeomFromEWKT('SRID=4674;POINT (-40.371272 -2.795575)'))) / (select extract(epoch from '2026-07-04 15:26:51'::timestamp) - extract(epoch from '2026-07-04 15:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371397 -2.795494)'), GeomFromEWKT('SRID=4674;POINT (-40.371272 -2.795575)'))) / (select extract(epoch from '2026-07-04 15:26:51'::timestamp) - extract(epoch from '2026-07-04 15:26: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'), 47827, 'SRID=4674;POINT (-40.371108 -2.795633)', '2026-07-04 15:26:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371272 -2.795575)'), GeomFromEWKT('SRID=4674;POINT (-40.371108 -2.795633)'))) / (select extract(epoch from '2026-07-04 15:26:58'::timestamp) - extract(epoch from '2026-07-04 15:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371272 -2.795575)'), GeomFromEWKT('SRID=4674;POINT (-40.371108 -2.795633)'))) / (select extract(epoch from '2026-07-04 15:26:58'::timestamp) - extract(epoch from '2026-07-04 15:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.370959 -2.795672)', '2026-07-04 15:27:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371108 -2.795633)'), GeomFromEWKT('SRID=4674;POINT (-40.370959 -2.795672)'))) / (select extract(epoch from '2026-07-04 15:27:06'::timestamp) - extract(epoch from '2026-07-04 15:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371108 -2.795633)'), GeomFromEWKT('SRID=4674;POINT (-40.370959 -2.795672)'))) / (select extract(epoch from '2026-07-04 15:27:06'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.370748 -2.795725)', '2026-07-04 15:27:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370959 -2.795672)'), GeomFromEWKT('SRID=4674;POINT (-40.370748 -2.795725)'))) / (select extract(epoch from '2026-07-04 15:27:15'::timestamp) - extract(epoch from '2026-07-04 15:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370959 -2.795672)'), GeomFromEWKT('SRID=4674;POINT (-40.370748 -2.795725)'))) / (select extract(epoch from '2026-07-04 15:27:15'::timestamp) - extract(epoch from '2026-07-04 15:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.37061 -2.795772)', '2026-07-04 15:27:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370748 -2.795725)'), GeomFromEWKT('SRID=4674;POINT (-40.37061 -2.795772)'))) / (select extract(epoch from '2026-07-04 15:27:22'::timestamp) - extract(epoch from '2026-07-04 15:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370748 -2.795725)'), GeomFromEWKT('SRID=4674;POINT (-40.37061 -2.795772)'))) / (select extract(epoch from '2026-07-04 15:27:22'::timestamp) - extract(epoch from '2026-07-04 15:27: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'), 47827, 'SRID=4674;POINT (-40.370489 -2.795835)', '2026-07-04 15:27:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37061 -2.795772)'), GeomFromEWKT('SRID=4674;POINT (-40.370489 -2.795835)'))) / (select extract(epoch from '2026-07-04 15:27:29'::timestamp) - extract(epoch from '2026-07-04 15:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37061 -2.795772)'), GeomFromEWKT('SRID=4674;POINT (-40.370489 -2.795835)'))) / (select extract(epoch from '2026-07-04 15:27:29'::timestamp) - extract(epoch from '2026-07-04 15:27: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'), 47827, 'SRID=4674;POINT (-40.370355 -2.79591)', '2026-07-04 15:27:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370489 -2.795835)'), GeomFromEWKT('SRID=4674;POINT (-40.370355 -2.79591)'))) / (select extract(epoch from '2026-07-04 15:27:37'::timestamp) - extract(epoch from '2026-07-04 15:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370489 -2.795835)'), GeomFromEWKT('SRID=4674;POINT (-40.370355 -2.79591)'))) / (select extract(epoch from '2026-07-04 15:27:37'::timestamp) - extract(epoch from '2026-07-04 15:27: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'), 47827, 'SRID=4674;POINT (-40.370194 -2.795989)', '2026-07-04 15:27:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370355 -2.79591)'), GeomFromEWKT('SRID=4674;POINT (-40.370194 -2.795989)'))) / (select extract(epoch from '2026-07-04 15:27:45'::timestamp) - extract(epoch from '2026-07-04 15:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370355 -2.79591)'), GeomFromEWKT('SRID=4674;POINT (-40.370194 -2.795989)'))) / (select extract(epoch from '2026-07-04 15:27:45'::timestamp) - extract(epoch from '2026-07-04 15:27: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'), 47827, 'SRID=4674;POINT (-40.370037 -2.796053)', '2026-07-04 15:27:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370194 -2.795989)'), GeomFromEWKT('SRID=4674;POINT (-40.370037 -2.796053)'))) / (select extract(epoch from '2026-07-04 15:27:53'::timestamp) - extract(epoch from '2026-07-04 15:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370194 -2.795989)'), GeomFromEWKT('SRID=4674;POINT (-40.370037 -2.796053)'))) / (select extract(epoch from '2026-07-04 15:27:53'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.369875 -2.796056)', '2026-07-04 15:28:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370037 -2.796053)'), GeomFromEWKT('SRID=4674;POINT (-40.369875 -2.796056)'))) / (select extract(epoch from '2026-07-04 15:28:00'::timestamp) - extract(epoch from '2026-07-04 15:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370037 -2.796053)'), GeomFromEWKT('SRID=4674;POINT (-40.369875 -2.796056)'))) / (select extract(epoch from '2026-07-04 15:28:00'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.36972 -2.796064)', '2026-07-04 15:28:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369875 -2.796056)'), GeomFromEWKT('SRID=4674;POINT (-40.36972 -2.796064)'))) / (select extract(epoch from '2026-07-04 15:28:08'::timestamp) - extract(epoch from '2026-07-04 15:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369875 -2.796056)'), GeomFromEWKT('SRID=4674;POINT (-40.36972 -2.796064)'))) / (select extract(epoch from '2026-07-04 15:28:08'::timestamp) - extract(epoch from '2026-07-04 15:28: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'), 47827, 'SRID=4674;POINT (-40.369543 -2.796091)', '2026-07-04 15:28:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36972 -2.796064)'), GeomFromEWKT('SRID=4674;POINT (-40.369543 -2.796091)'))) / (select extract(epoch from '2026-07-04 15:28:16'::timestamp) - extract(epoch from '2026-07-04 15:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36972 -2.796064)'), GeomFromEWKT('SRID=4674;POINT (-40.369543 -2.796091)'))) / (select extract(epoch from '2026-07-04 15:28:16'::timestamp) - extract(epoch from '2026-07-04 15:28: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'), 47827, 'SRID=4674;POINT (-40.369341 -2.796127)', '2026-07-04 15:28:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369543 -2.796091)'), GeomFromEWKT('SRID=4674;POINT (-40.369341 -2.796127)'))) / (select extract(epoch from '2026-07-04 15:28:25'::timestamp) - extract(epoch from '2026-07-04 15:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369543 -2.796091)'), GeomFromEWKT('SRID=4674;POINT (-40.369341 -2.796127)'))) / (select extract(epoch from '2026-07-04 15:28:25'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.369152 -2.796163)', '2026-07-04 15:28:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369341 -2.796127)'), GeomFromEWKT('SRID=4674;POINT (-40.369152 -2.796163)'))) / (select extract(epoch from '2026-07-04 15:28:35'::timestamp) - extract(epoch from '2026-07-04 15:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369341 -2.796127)'), GeomFromEWKT('SRID=4674;POINT (-40.369152 -2.796163)'))) / (select extract(epoch from '2026-07-04 15:28:35'::timestamp) - extract(epoch from '2026-07-04 15:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.368981 -2.796188)', '2026-07-04 15:28:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369152 -2.796163)'), GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.796188)'))) / (select extract(epoch from '2026-07-04 15:28:44'::timestamp) - extract(epoch from '2026-07-04 15:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369152 -2.796163)'), GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.796188)'))) / (select extract(epoch from '2026-07-04 15:28:44'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.368788 -2.796218)', '2026-07-04 15:28:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.796188)'), GeomFromEWKT('SRID=4674;POINT (-40.368788 -2.796218)'))) / (select extract(epoch from '2026-07-04 15:28:53'::timestamp) - extract(epoch from '2026-07-04 15:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.796188)'), GeomFromEWKT('SRID=4674;POINT (-40.368788 -2.796218)'))) / (select extract(epoch from '2026-07-04 15:28:53'::timestamp) - extract(epoch from '2026-07-04 15:28:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.368588 -2.796262)', '2026-07-04 15:29:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368788 -2.796218)'), GeomFromEWKT('SRID=4674;POINT (-40.368588 -2.796262)'))) / (select extract(epoch from '2026-07-04 15:29:02'::timestamp) - extract(epoch from '2026-07-04 15:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368788 -2.796218)'), GeomFromEWKT('SRID=4674;POINT (-40.368588 -2.796262)'))) / (select extract(epoch from '2026-07-04 15:29:02'::timestamp) - extract(epoch from '2026-07-04 15:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.368467 -2.796285)', '2026-07-04 15:29:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368588 -2.796262)'), GeomFromEWKT('SRID=4674;POINT (-40.368467 -2.796285)'))) / (select extract(epoch from '2026-07-04 15:29:09'::timestamp) - extract(epoch from '2026-07-04 15:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368588 -2.796262)'), GeomFromEWKT('SRID=4674;POINT (-40.368467 -2.796285)'))) / (select extract(epoch from '2026-07-04 15:29:09'::timestamp) - extract(epoch from '2026-07-04 15:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.368301 -2.796317)', '2026-07-04 15:29:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368467 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.368301 -2.796317)'))) / (select extract(epoch from '2026-07-04 15:29:16'::timestamp) - extract(epoch from '2026-07-04 15:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368467 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.368301 -2.796317)'))) / (select extract(epoch from '2026-07-04 15:29:16'::timestamp) - extract(epoch from '2026-07-04 15:29: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'), 47827, 'SRID=4674;POINT (-40.368181 -2.796346)', '2026-07-04 15:29:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368301 -2.796317)'), GeomFromEWKT('SRID=4674;POINT (-40.368181 -2.796346)'))) / (select extract(epoch from '2026-07-04 15:29:22'::timestamp) - extract(epoch from '2026-07-04 15:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368301 -2.796317)'), GeomFromEWKT('SRID=4674;POINT (-40.368181 -2.796346)'))) / (select extract(epoch from '2026-07-04 15:29:22'::timestamp) - extract(epoch from '2026-07-04 15:29: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'), 47827, 'SRID=4674;POINT (-40.367993 -2.796349)', '2026-07-04 15:29:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368181 -2.796346)'), GeomFromEWKT('SRID=4674;POINT (-40.367993 -2.796349)'))) / (select extract(epoch from '2026-07-04 15:29:30'::timestamp) - extract(epoch from '2026-07-04 15:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368181 -2.796346)'), GeomFromEWKT('SRID=4674;POINT (-40.367993 -2.796349)'))) / (select extract(epoch from '2026-07-04 15:29:30'::timestamp) - extract(epoch from '2026-07-04 15:29: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'), 47827, 'SRID=4674;POINT (-40.367861 -2.796369)', '2026-07-04 15:29:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367993 -2.796349)'), GeomFromEWKT('SRID=4674;POINT (-40.367861 -2.796369)'))) / (select extract(epoch from '2026-07-04 15:29:37'::timestamp) - extract(epoch from '2026-07-04 15:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367993 -2.796349)'), GeomFromEWKT('SRID=4674;POINT (-40.367861 -2.796369)'))) / (select extract(epoch from '2026-07-04 15:29:37'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.367717 -2.796392)', '2026-07-04 15:29:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367861 -2.796369)'), GeomFromEWKT('SRID=4674;POINT (-40.367717 -2.796392)'))) / (select extract(epoch from '2026-07-04 15:29:44'::timestamp) - extract(epoch from '2026-07-04 15:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367861 -2.796369)'), GeomFromEWKT('SRID=4674;POINT (-40.367717 -2.796392)'))) / (select extract(epoch from '2026-07-04 15:29:44'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.367543 -2.796416)', '2026-07-04 15:29:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367717 -2.796392)'), GeomFromEWKT('SRID=4674;POINT (-40.367543 -2.796416)'))) / (select extract(epoch from '2026-07-04 15:29:53'::timestamp) - extract(epoch from '2026-07-04 15:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367717 -2.796392)'), GeomFromEWKT('SRID=4674;POINT (-40.367543 -2.796416)'))) / (select extract(epoch from '2026-07-04 15:29:53'::timestamp) - extract(epoch from '2026-07-04 15:29:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.367377 -2.796422)', '2026-07-04 15:30:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367543 -2.796416)'), GeomFromEWKT('SRID=4674;POINT (-40.367377 -2.796422)'))) / (select extract(epoch from '2026-07-04 15:30:00'::timestamp) - extract(epoch from '2026-07-04 15:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367543 -2.796416)'), GeomFromEWKT('SRID=4674;POINT (-40.367377 -2.796422)'))) / (select extract(epoch from '2026-07-04 15:30:00'::timestamp) - extract(epoch from '2026-07-04 15:29: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'), 47827, 'SRID=4674;POINT (-40.367195 -2.796432)', '2026-07-04 15:30:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367377 -2.796422)'), GeomFromEWKT('SRID=4674;POINT (-40.367195 -2.796432)'))) / (select extract(epoch from '2026-07-04 15:30:08'::timestamp) - extract(epoch from '2026-07-04 15:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367377 -2.796422)'), GeomFromEWKT('SRID=4674;POINT (-40.367195 -2.796432)'))) / (select extract(epoch from '2026-07-04 15:30:08'::timestamp) - extract(epoch from '2026-07-04 15:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.367076 -2.796428)', '2026-07-04 15:30:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367195 -2.796432)'), GeomFromEWKT('SRID=4674;POINT (-40.367076 -2.796428)'))) / (select extract(epoch from '2026-07-04 15:30:14'::timestamp) - extract(epoch from '2026-07-04 15:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367195 -2.796432)'), GeomFromEWKT('SRID=4674;POINT (-40.367076 -2.796428)'))) / (select extract(epoch from '2026-07-04 15:30:14'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.366925 -2.79643)', '2026-07-04 15:30:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367076 -2.796428)'), GeomFromEWKT('SRID=4674;POINT (-40.366925 -2.79643)'))) / (select extract(epoch from '2026-07-04 15:30:21'::timestamp) - extract(epoch from '2026-07-04 15:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367076 -2.796428)'), GeomFromEWKT('SRID=4674;POINT (-40.366925 -2.79643)'))) / (select extract(epoch from '2026-07-04 15:30:21'::timestamp) - extract(epoch from '2026-07-04 15:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.366785 -2.796432)', '2026-07-04 15:30:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366925 -2.79643)'), GeomFromEWKT('SRID=4674;POINT (-40.366785 -2.796432)'))) / (select extract(epoch from '2026-07-04 15:30:28'::timestamp) - extract(epoch from '2026-07-04 15:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366925 -2.79643)'), GeomFromEWKT('SRID=4674;POINT (-40.366785 -2.796432)'))) / (select extract(epoch from '2026-07-04 15:30:28'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.36662 -2.79645)', '2026-07-04 15:30:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366785 -2.796432)'), GeomFromEWKT('SRID=4674;POINT (-40.36662 -2.79645)'))) / (select extract(epoch from '2026-07-04 15:30:35'::timestamp) - extract(epoch from '2026-07-04 15:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366785 -2.796432)'), GeomFromEWKT('SRID=4674;POINT (-40.36662 -2.79645)'))) / (select extract(epoch from '2026-07-04 15:30:35'::timestamp) - extract(epoch from '2026-07-04 15:30: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'), 47827, 'SRID=4674;POINT (-40.366463 -2.796466)', '2026-07-04 15:30:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36662 -2.79645)'), GeomFromEWKT('SRID=4674;POINT (-40.366463 -2.796466)'))) / (select extract(epoch from '2026-07-04 15:30:43'::timestamp) - extract(epoch from '2026-07-04 15:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36662 -2.79645)'), GeomFromEWKT('SRID=4674;POINT (-40.366463 -2.796466)'))) / (select extract(epoch from '2026-07-04 15:30:43'::timestamp) - extract(epoch from '2026-07-04 15:30: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'), 47827, 'SRID=4674;POINT (-40.366292 -2.796475)', '2026-07-04 15:30:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366463 -2.796466)'), GeomFromEWKT('SRID=4674;POINT (-40.366292 -2.796475)'))) / (select extract(epoch from '2026-07-04 15:30:50'::timestamp) - extract(epoch from '2026-07-04 15:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366463 -2.796466)'), GeomFromEWKT('SRID=4674;POINT (-40.366292 -2.796475)'))) / (select extract(epoch from '2026-07-04 15:30:50'::timestamp) - extract(epoch from '2026-07-04 15:30: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'), 47827, 'SRID=4674;POINT (-40.366149 -2.796491)', '2026-07-04 15:30:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366292 -2.796475)'), GeomFromEWKT('SRID=4674;POINT (-40.366149 -2.796491)'))) / (select extract(epoch from '2026-07-04 15:30:56'::timestamp) - extract(epoch from '2026-07-04 15:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366292 -2.796475)'), GeomFromEWKT('SRID=4674;POINT (-40.366149 -2.796491)'))) / (select extract(epoch from '2026-07-04 15:30:56'::timestamp) - extract(epoch from '2026-07-04 15:30:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.36602 -2.796516)', '2026-07-04 15:31:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366149 -2.796491)'), GeomFromEWKT('SRID=4674;POINT (-40.36602 -2.796516)'))) / (select extract(epoch from '2026-07-04 15:31:04'::timestamp) - extract(epoch from '2026-07-04 15:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366149 -2.796491)'), GeomFromEWKT('SRID=4674;POINT (-40.36602 -2.796516)'))) / (select extract(epoch from '2026-07-04 15:31:04'::timestamp) - extract(epoch from '2026-07-04 15:30: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'), 47827, 'SRID=4674;POINT (-40.365852 -2.796539)', '2026-07-04 15:31:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36602 -2.796516)'), GeomFromEWKT('SRID=4674;POINT (-40.365852 -2.796539)'))) / (select extract(epoch from '2026-07-04 15:31:13'::timestamp) - extract(epoch from '2026-07-04 15:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36602 -2.796516)'), GeomFromEWKT('SRID=4674;POINT (-40.365852 -2.796539)'))) / (select extract(epoch from '2026-07-04 15:31:13'::timestamp) - extract(epoch from '2026-07-04 15:31: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'), 47827, 'SRID=4674;POINT (-40.365687 -2.796586)', '2026-07-04 15:31:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365852 -2.796539)'), GeomFromEWKT('SRID=4674;POINT (-40.365687 -2.796586)'))) / (select extract(epoch from '2026-07-04 15:31:21'::timestamp) - extract(epoch from '2026-07-04 15:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365852 -2.796539)'), GeomFromEWKT('SRID=4674;POINT (-40.365687 -2.796586)'))) / (select extract(epoch from '2026-07-04 15:31:21'::timestamp) - extract(epoch from '2026-07-04 15:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.365551 -2.796612)', '2026-07-04 15:31:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365687 -2.796586)'), GeomFromEWKT('SRID=4674;POINT (-40.365551 -2.796612)'))) / (select extract(epoch from '2026-07-04 15:31:28'::timestamp) - extract(epoch from '2026-07-04 15:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365687 -2.796586)'), GeomFromEWKT('SRID=4674;POINT (-40.365551 -2.796612)'))) / (select extract(epoch from '2026-07-04 15:31:28'::timestamp) - extract(epoch from '2026-07-04 15:31: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'), 47827, 'SRID=4674;POINT (-40.365391 -2.796642)', '2026-07-04 15:31:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365551 -2.796612)'), GeomFromEWKT('SRID=4674;POINT (-40.365391 -2.796642)'))) / (select extract(epoch from '2026-07-04 15:31:36'::timestamp) - extract(epoch from '2026-07-04 15:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365551 -2.796612)'), GeomFromEWKT('SRID=4674;POINT (-40.365391 -2.796642)'))) / (select extract(epoch from '2026-07-04 15:31:36'::timestamp) - extract(epoch from '2026-07-04 15:31: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'), 47827, 'SRID=4674;POINT (-40.365211 -2.796662)', '2026-07-04 15:31:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365391 -2.796642)'), GeomFromEWKT('SRID=4674;POINT (-40.365211 -2.796662)'))) / (select extract(epoch from '2026-07-04 15:31:44'::timestamp) - extract(epoch from '2026-07-04 15:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365391 -2.796642)'), GeomFromEWKT('SRID=4674;POINT (-40.365211 -2.796662)'))) / (select extract(epoch from '2026-07-04 15:31:44'::timestamp) - extract(epoch from '2026-07-04 15:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.365076 -2.79669)', '2026-07-04 15:31:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365211 -2.796662)'), GeomFromEWKT('SRID=4674;POINT (-40.365076 -2.79669)'))) / (select extract(epoch from '2026-07-04 15:31:50'::timestamp) - extract(epoch from '2026-07-04 15:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365211 -2.796662)'), GeomFromEWKT('SRID=4674;POINT (-40.365076 -2.79669)'))) / (select extract(epoch from '2026-07-04 15:31:50'::timestamp) - extract(epoch from '2026-07-04 15:31: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'), 47827, 'SRID=4674;POINT (-40.364868 -2.796765)', '2026-07-04 15:31:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365076 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.364868 -2.796765)'))) / (select extract(epoch from '2026-07-04 15:31:59'::timestamp) - extract(epoch from '2026-07-04 15:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365076 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.364868 -2.796765)'))) / (select extract(epoch from '2026-07-04 15:31:59'::timestamp) - extract(epoch from '2026-07-04 15:31: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'), 47827, 'SRID=4674;POINT (-40.364709 -2.796807)', '2026-07-04 15:32:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364868 -2.796765)'), GeomFromEWKT('SRID=4674;POINT (-40.364709 -2.796807)'))) / (select extract(epoch from '2026-07-04 15:32:06'::timestamp) - extract(epoch from '2026-07-04 15:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364868 -2.796765)'), GeomFromEWKT('SRID=4674;POINT (-40.364709 -2.796807)'))) / (select extract(epoch from '2026-07-04 15:32:06'::timestamp) - extract(epoch from '2026-07-04 15:31: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'), 47827, 'SRID=4674;POINT (-40.364534 -2.796837)', '2026-07-04 15:32:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364709 -2.796807)'), GeomFromEWKT('SRID=4674;POINT (-40.364534 -2.796837)'))) / (select extract(epoch from '2026-07-04 15:32:13'::timestamp) - extract(epoch from '2026-07-04 15:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364709 -2.796807)'), GeomFromEWKT('SRID=4674;POINT (-40.364534 -2.796837)'))) / (select extract(epoch from '2026-07-04 15:32:13'::timestamp) - extract(epoch from '2026-07-04 15:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.364404 -2.796882)', '2026-07-04 15:32:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364534 -2.796837)'), GeomFromEWKT('SRID=4674;POINT (-40.364404 -2.796882)'))) / (select extract(epoch from '2026-07-04 15:32:21'::timestamp) - extract(epoch from '2026-07-04 15:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364534 -2.796837)'), GeomFromEWKT('SRID=4674;POINT (-40.364404 -2.796882)'))) / (select extract(epoch from '2026-07-04 15:32:21'::timestamp) - extract(epoch from '2026-07-04 15:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.364209 -2.796928)', '2026-07-04 15:32:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364404 -2.796882)'), GeomFromEWKT('SRID=4674;POINT (-40.364209 -2.796928)'))) / (select extract(epoch from '2026-07-04 15:32:31'::timestamp) - extract(epoch from '2026-07-04 15:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364404 -2.796882)'), GeomFromEWKT('SRID=4674;POINT (-40.364209 -2.796928)'))) / (select extract(epoch from '2026-07-04 15:32:31'::timestamp) - extract(epoch from '2026-07-04 15:32: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'), 47827, 'SRID=4674;POINT (-40.364068 -2.797)', '2026-07-04 15:32:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364209 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.364068 -2.797)'))) / (select extract(epoch from '2026-07-04 15:32:39'::timestamp) - extract(epoch from '2026-07-04 15:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364209 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.364068 -2.797)'))) / (select extract(epoch from '2026-07-04 15:32:39'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.363953 -2.797128)', '2026-07-04 15:32:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364068 -2.797)'), GeomFromEWKT('SRID=4674;POINT (-40.363953 -2.797128)'))) / (select extract(epoch from '2026-07-04 15:32:47'::timestamp) - extract(epoch from '2026-07-04 15:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364068 -2.797)'), GeomFromEWKT('SRID=4674;POINT (-40.363953 -2.797128)'))) / (select extract(epoch from '2026-07-04 15:32:47'::timestamp) - extract(epoch from '2026-07-04 15:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.36385 -2.797275)', '2026-07-04 15:32:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363953 -2.797128)'), GeomFromEWKT('SRID=4674;POINT (-40.36385 -2.797275)'))) / (select extract(epoch from '2026-07-04 15:32:55'::timestamp) - extract(epoch from '2026-07-04 15:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363953 -2.797128)'), GeomFromEWKT('SRID=4674;POINT (-40.36385 -2.797275)'))) / (select extract(epoch from '2026-07-04 15:32:55'::timestamp) - extract(epoch from '2026-07-04 15:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.363733 -2.797431)', '2026-07-04 15:33:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36385 -2.797275)'), GeomFromEWKT('SRID=4674;POINT (-40.363733 -2.797431)'))) / (select extract(epoch from '2026-07-04 15:33:03'::timestamp) - extract(epoch from '2026-07-04 15:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36385 -2.797275)'), GeomFromEWKT('SRID=4674;POINT (-40.363733 -2.797431)'))) / (select extract(epoch from '2026-07-04 15:33:03'::timestamp) - extract(epoch from '2026-07-04 15:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.36361 -2.797607)', '2026-07-04 15:33:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363733 -2.797431)'), GeomFromEWKT('SRID=4674;POINT (-40.36361 -2.797607)'))) / (select extract(epoch from '2026-07-04 15:33:11'::timestamp) - extract(epoch from '2026-07-04 15:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363733 -2.797431)'), GeomFromEWKT('SRID=4674;POINT (-40.36361 -2.797607)'))) / (select extract(epoch from '2026-07-04 15:33:11'::timestamp) - extract(epoch from '2026-07-04 15:33: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'), 47827, 'SRID=4674;POINT (-40.363549 -2.797779)', '2026-07-04 15:33:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36361 -2.797607)'), GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.797779)'))) / (select extract(epoch from '2026-07-04 15:33:19'::timestamp) - extract(epoch from '2026-07-04 15:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36361 -2.797607)'), GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.797779)'))) / (select extract(epoch from '2026-07-04 15:33:19'::timestamp) - extract(epoch from '2026-07-04 15:33: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'), 47827, 'SRID=4674;POINT (-40.363442 -2.797961)', '2026-07-04 15:33:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.797779)'), GeomFromEWKT('SRID=4674;POINT (-40.363442 -2.797961)'))) / (select extract(epoch from '2026-07-04 15:33:28'::timestamp) - extract(epoch from '2026-07-04 15:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.797779)'), GeomFromEWKT('SRID=4674;POINT (-40.363442 -2.797961)'))) / (select extract(epoch from '2026-07-04 15:33:28'::timestamp) - extract(epoch from '2026-07-04 15:33: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'), 47827, 'SRID=4674;POINT (-40.363327 -2.798125)', '2026-07-04 15:33:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363442 -2.797961)'), GeomFromEWKT('SRID=4674;POINT (-40.363327 -2.798125)'))) / (select extract(epoch from '2026-07-04 15:33:36'::timestamp) - extract(epoch from '2026-07-04 15:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363442 -2.797961)'), GeomFromEWKT('SRID=4674;POINT (-40.363327 -2.798125)'))) / (select extract(epoch from '2026-07-04 15:33:36'::timestamp) - extract(epoch from '2026-07-04 15:33: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'), 47827, 'SRID=4674;POINT (-40.363248 -2.79825)', '2026-07-04 15:33:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363327 -2.798125)'), GeomFromEWKT('SRID=4674;POINT (-40.363248 -2.79825)'))) / (select extract(epoch from '2026-07-04 15:33:42'::timestamp) - extract(epoch from '2026-07-04 15:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363327 -2.798125)'), GeomFromEWKT('SRID=4674;POINT (-40.363248 -2.79825)'))) / (select extract(epoch from '2026-07-04 15:33:42'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.363159 -2.798417)', '2026-07-04 15:33:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363248 -2.79825)'), GeomFromEWKT('SRID=4674;POINT (-40.363159 -2.798417)'))) / (select extract(epoch from '2026-07-04 15:33:51'::timestamp) - extract(epoch from '2026-07-04 15:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363248 -2.79825)'), GeomFromEWKT('SRID=4674;POINT (-40.363159 -2.798417)'))) / (select extract(epoch from '2026-07-04 15:33:51'::timestamp) - extract(epoch from '2026-07-04 15:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.363075 -2.798547)', '2026-07-04 15:33:58', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363159 -2.798417)'), GeomFromEWKT('SRID=4674;POINT (-40.363075 -2.798547)'))) / (select extract(epoch from '2026-07-04 15:33:58'::timestamp) - extract(epoch from '2026-07-04 15:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363159 -2.798417)'), GeomFromEWKT('SRID=4674;POINT (-40.363075 -2.798547)'))) / (select extract(epoch from '2026-07-04 15:33:58'::timestamp) - extract(epoch from '2026-07-04 15:33: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'), 47827, 'SRID=4674;POINT (-40.363002 -2.798671)', '2026-07-04 15:34:05', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363075 -2.798547)'), GeomFromEWKT('SRID=4674;POINT (-40.363002 -2.798671)'))) / (select extract(epoch from '2026-07-04 15:34:05'::timestamp) - extract(epoch from '2026-07-04 15:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363075 -2.798547)'), GeomFromEWKT('SRID=4674;POINT (-40.363002 -2.798671)'))) / (select extract(epoch from '2026-07-04 15:34:05'::timestamp) - extract(epoch from '2026-07-04 15:33: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'), 47827, 'SRID=4674;POINT (-40.362894 -2.798766)', '2026-07-04 15:34:12', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363002 -2.798671)'), GeomFromEWKT('SRID=4674;POINT (-40.362894 -2.798766)'))) / (select extract(epoch from '2026-07-04 15:34:12'::timestamp) - extract(epoch from '2026-07-04 15:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363002 -2.798671)'), GeomFromEWKT('SRID=4674;POINT (-40.362894 -2.798766)'))) / (select extract(epoch from '2026-07-04 15:34:12'::timestamp) - extract(epoch from '2026-07-04 15:34: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'), 47827, 'SRID=4674;POINT (-40.362733 -2.798923)', '2026-07-04 15:34:21', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362894 -2.798766)'), GeomFromEWKT('SRID=4674;POINT (-40.362733 -2.798923)'))) / (select extract(epoch from '2026-07-04 15:34:21'::timestamp) - extract(epoch from '2026-07-04 15:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362894 -2.798766)'), GeomFromEWKT('SRID=4674;POINT (-40.362733 -2.798923)'))) / (select extract(epoch from '2026-07-04 15:34:21'::timestamp) - extract(epoch from '2026-07-04 15:34: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'), 47827, 'SRID=4674;POINT (-40.362611 -2.799005)', '2026-07-04 15:34:28', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362733 -2.798923)'), GeomFromEWKT('SRID=4674;POINT (-40.362611 -2.799005)'))) / (select extract(epoch from '2026-07-04 15:34:28'::timestamp) - extract(epoch from '2026-07-04 15:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362733 -2.798923)'), GeomFromEWKT('SRID=4674;POINT (-40.362611 -2.799005)'))) / (select extract(epoch from '2026-07-04 15:34:28'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.362494 -2.799122)', '2026-07-04 15:34:36', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362611 -2.799005)'), GeomFromEWKT('SRID=4674;POINT (-40.362494 -2.799122)'))) / (select extract(epoch from '2026-07-04 15:34:36'::timestamp) - extract(epoch from '2026-07-04 15:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362611 -2.799005)'), GeomFromEWKT('SRID=4674;POINT (-40.362494 -2.799122)'))) / (select extract(epoch from '2026-07-04 15:34:36'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.362402 -2.799245)', '2026-07-04 15:34:43', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362494 -2.799122)'), GeomFromEWKT('SRID=4674;POINT (-40.362402 -2.799245)'))) / (select extract(epoch from '2026-07-04 15:34:43'::timestamp) - extract(epoch from '2026-07-04 15:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362494 -2.799122)'), GeomFromEWKT('SRID=4674;POINT (-40.362402 -2.799245)'))) / (select extract(epoch from '2026-07-04 15:34:43'::timestamp) - extract(epoch from '2026-07-04 15:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.362328 -2.799362)', '2026-07-04 15:34:50', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362402 -2.799245)'), GeomFromEWKT('SRID=4674;POINT (-40.362328 -2.799362)'))) / (select extract(epoch from '2026-07-04 15:34:50'::timestamp) - extract(epoch from '2026-07-04 15:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362402 -2.799245)'), GeomFromEWKT('SRID=4674;POINT (-40.362328 -2.799362)'))) / (select extract(epoch from '2026-07-04 15:34:50'::timestamp) - extract(epoch from '2026-07-04 15:34: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'), 47827, 'SRID=4674;POINT (-40.362235 -2.799481)', '2026-07-04 15:34:57', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362328 -2.799362)'), GeomFromEWKT('SRID=4674;POINT (-40.362235 -2.799481)'))) / (select extract(epoch from '2026-07-04 15:34:57'::timestamp) - extract(epoch from '2026-07-04 15:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362328 -2.799362)'), GeomFromEWKT('SRID=4674;POINT (-40.362235 -2.799481)'))) / (select extract(epoch from '2026-07-04 15:34:57'::timestamp) - extract(epoch from '2026-07-04 15:34: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'), 47827, 'SRID=4674;POINT (-40.36209 -2.799621)', '2026-07-04 15:35:05', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362235 -2.799481)'), GeomFromEWKT('SRID=4674;POINT (-40.36209 -2.799621)'))) / (select extract(epoch from '2026-07-04 15:35:05'::timestamp) - extract(epoch from '2026-07-04 15:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362235 -2.799481)'), GeomFromEWKT('SRID=4674;POINT (-40.36209 -2.799621)'))) / (select extract(epoch from '2026-07-04 15:35:05'::timestamp) - extract(epoch from '2026-07-04 15:34: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'), 47827, 'SRID=4674;POINT (-40.361962 -2.799726)', '2026-07-04 15:35:12', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36209 -2.799621)'), GeomFromEWKT('SRID=4674;POINT (-40.361962 -2.799726)'))) / (select extract(epoch from '2026-07-04 15:35:12'::timestamp) - extract(epoch from '2026-07-04 15:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36209 -2.799621)'), GeomFromEWKT('SRID=4674;POINT (-40.361962 -2.799726)'))) / (select extract(epoch from '2026-07-04 15:35:12'::timestamp) - extract(epoch from '2026-07-04 15:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.361822 -2.799858)', '2026-07-04 15:35:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361962 -2.799726)'), GeomFromEWKT('SRID=4674;POINT (-40.361822 -2.799858)'))) / (select extract(epoch from '2026-07-04 15:35:20'::timestamp) - extract(epoch from '2026-07-04 15:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361962 -2.799726)'), GeomFromEWKT('SRID=4674;POINT (-40.361822 -2.799858)'))) / (select extract(epoch from '2026-07-04 15:35:20'::timestamp) - extract(epoch from '2026-07-04 15:35: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'), 47827, 'SRID=4674;POINT (-40.36173 -2.799974)', '2026-07-04 15:35:28', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361822 -2.799858)'), GeomFromEWKT('SRID=4674;POINT (-40.36173 -2.799974)'))) / (select extract(epoch from '2026-07-04 15:35:28'::timestamp) - extract(epoch from '2026-07-04 15:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361822 -2.799858)'), GeomFromEWKT('SRID=4674;POINT (-40.36173 -2.799974)'))) / (select extract(epoch from '2026-07-04 15:35:28'::timestamp) - extract(epoch from '2026-07-04 15:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.361603 -2.800097)', '2026-07-04 15:35:36', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36173 -2.799974)'), GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.800097)'))) / (select extract(epoch from '2026-07-04 15:35:36'::timestamp) - extract(epoch from '2026-07-04 15:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36173 -2.799974)'), GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.800097)'))) / (select extract(epoch from '2026-07-04 15:35:36'::timestamp) - extract(epoch from '2026-07-04 15:35: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'), 47827, 'SRID=4674;POINT (-40.361514 -2.800201)', '2026-07-04 15:35:43', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.800097)'), GeomFromEWKT('SRID=4674;POINT (-40.361514 -2.800201)'))) / (select extract(epoch from '2026-07-04 15:35:43'::timestamp) - extract(epoch from '2026-07-04 15:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.800097)'), GeomFromEWKT('SRID=4674;POINT (-40.361514 -2.800201)'))) / (select extract(epoch from '2026-07-04 15:35:43'::timestamp) - extract(epoch from '2026-07-04 15:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.36141 -2.800346)', '2026-07-04 15:35:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361514 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.36141 -2.800346)'))) / (select extract(epoch from '2026-07-04 15:35:51'::timestamp) - extract(epoch from '2026-07-04 15:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361514 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.36141 -2.800346)'))) / (select extract(epoch from '2026-07-04 15:35:51'::timestamp) - extract(epoch from '2026-07-04 15:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.361315 -2.800445)', '2026-07-04 15:35:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36141 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.361315 -2.800445)'))) / (select extract(epoch from '2026-07-04 15:35:57'::timestamp) - extract(epoch from '2026-07-04 15:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36141 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.361315 -2.800445)'))) / (select extract(epoch from '2026-07-04 15:35:57'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.361183 -2.800609)', '2026-07-04 15:36:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361315 -2.800445)'), GeomFromEWKT('SRID=4674;POINT (-40.361183 -2.800609)'))) / (select extract(epoch from '2026-07-04 15:36:06'::timestamp) - extract(epoch from '2026-07-04 15:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361315 -2.800445)'), GeomFromEWKT('SRID=4674;POINT (-40.361183 -2.800609)'))) / (select extract(epoch from '2026-07-04 15:36:06'::timestamp) - extract(epoch from '2026-07-04 15:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.361084 -2.800738)', '2026-07-04 15:36:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361183 -2.800609)'), GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.800738)'))) / (select extract(epoch from '2026-07-04 15:36:13'::timestamp) - extract(epoch from '2026-07-04 15:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361183 -2.800609)'), GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.800738)'))) / (select extract(epoch from '2026-07-04 15:36:13'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.360965 -2.800872)', '2026-07-04 15:36:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.360965 -2.800872)'))) / (select extract(epoch from '2026-07-04 15:36:21'::timestamp) - extract(epoch from '2026-07-04 15:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.360965 -2.800872)'))) / (select extract(epoch from '2026-07-04 15:36:21'::timestamp) - extract(epoch from '2026-07-04 15:36: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'), 47827, 'SRID=4674;POINT (-40.360818 -2.801023)', '2026-07-04 15:36:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360965 -2.800872)'), GeomFromEWKT('SRID=4674;POINT (-40.360818 -2.801023)'))) / (select extract(epoch from '2026-07-04 15:36:30'::timestamp) - extract(epoch from '2026-07-04 15:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360965 -2.800872)'), GeomFromEWKT('SRID=4674;POINT (-40.360818 -2.801023)'))) / (select extract(epoch from '2026-07-04 15:36:30'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.360667 -2.801194)', '2026-07-04 15:36:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360818 -2.801023)'), GeomFromEWKT('SRID=4674;POINT (-40.360667 -2.801194)'))) / (select extract(epoch from '2026-07-04 15:36:39'::timestamp) - extract(epoch from '2026-07-04 15:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360818 -2.801023)'), GeomFromEWKT('SRID=4674;POINT (-40.360667 -2.801194)'))) / (select extract(epoch from '2026-07-04 15:36:39'::timestamp) - extract(epoch from '2026-07-04 15:36: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'), 47827, 'SRID=4674;POINT (-40.360551 -2.801334)', '2026-07-04 15:36:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360667 -2.801194)'), GeomFromEWKT('SRID=4674;POINT (-40.360551 -2.801334)'))) / (select extract(epoch from '2026-07-04 15:36:47'::timestamp) - extract(epoch from '2026-07-04 15:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360667 -2.801194)'), GeomFromEWKT('SRID=4674;POINT (-40.360551 -2.801334)'))) / (select extract(epoch from '2026-07-04 15:36:47'::timestamp) - extract(epoch from '2026-07-04 15:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.360432 -2.801507)', '2026-07-04 15:36:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360551 -2.801334)'), GeomFromEWKT('SRID=4674;POINT (-40.360432 -2.801507)'))) / (select extract(epoch from '2026-07-04 15:36:57'::timestamp) - extract(epoch from '2026-07-04 15:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360551 -2.801334)'), GeomFromEWKT('SRID=4674;POINT (-40.360432 -2.801507)'))) / (select extract(epoch from '2026-07-04 15:36:57'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.360354 -2.801697)', '2026-07-04 15:37:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360432 -2.801507)'), GeomFromEWKT('SRID=4674;POINT (-40.360354 -2.801697)'))) / (select extract(epoch from '2026-07-04 15:37:06'::timestamp) - extract(epoch from '2026-07-04 15:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360432 -2.801507)'), GeomFromEWKT('SRID=4674;POINT (-40.360354 -2.801697)'))) / (select extract(epoch from '2026-07-04 15:37:06'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.360244 -2.801796)', '2026-07-04 15:37:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360354 -2.801697)'), GeomFromEWKT('SRID=4674;POINT (-40.360244 -2.801796)'))) / (select extract(epoch from '2026-07-04 15:37:13'::timestamp) - extract(epoch from '2026-07-04 15:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360354 -2.801697)'), GeomFromEWKT('SRID=4674;POINT (-40.360244 -2.801796)'))) / (select extract(epoch from '2026-07-04 15:37:13'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.360069 -2.80194)', '2026-07-04 15:37:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360244 -2.801796)'), GeomFromEWKT('SRID=4674;POINT (-40.360069 -2.80194)'))) / (select extract(epoch from '2026-07-04 15:37:22'::timestamp) - extract(epoch from '2026-07-04 15:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360244 -2.801796)'), GeomFromEWKT('SRID=4674;POINT (-40.360069 -2.80194)'))) / (select extract(epoch from '2026-07-04 15:37:22'::timestamp) - extract(epoch from '2026-07-04 15:37: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'), 47827, 'SRID=4674;POINT (-40.35993 -2.802062)', '2026-07-04 15:37:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360069 -2.80194)'), GeomFromEWKT('SRID=4674;POINT (-40.35993 -2.802062)'))) / (select extract(epoch from '2026-07-04 15:37:30'::timestamp) - extract(epoch from '2026-07-04 15:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360069 -2.80194)'), GeomFromEWKT('SRID=4674;POINT (-40.35993 -2.802062)'))) / (select extract(epoch from '2026-07-04 15:37:30'::timestamp) - extract(epoch from '2026-07-04 15:37: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'), 47827, 'SRID=4674;POINT (-40.359792 -2.802221)', '2026-07-04 15:37:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35993 -2.802062)'), GeomFromEWKT('SRID=4674;POINT (-40.359792 -2.802221)'))) / (select extract(epoch from '2026-07-04 15:37:38'::timestamp) - extract(epoch from '2026-07-04 15:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35993 -2.802062)'), GeomFromEWKT('SRID=4674;POINT (-40.359792 -2.802221)'))) / (select extract(epoch from '2026-07-04 15:37:38'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.359765 -2.802366)', '2026-07-04 15:37:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359792 -2.802221)'), GeomFromEWKT('SRID=4674;POINT (-40.359765 -2.802366)'))) / (select extract(epoch from '2026-07-04 15:37:45'::timestamp) - extract(epoch from '2026-07-04 15:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359792 -2.802221)'), GeomFromEWKT('SRID=4674;POINT (-40.359765 -2.802366)'))) / (select extract(epoch from '2026-07-04 15:37:45'::timestamp) - extract(epoch from '2026-07-04 15:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.359729 -2.802488)', '2026-07-04 15:37:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359765 -2.802366)'), GeomFromEWKT('SRID=4674;POINT (-40.359729 -2.802488)'))) / (select extract(epoch from '2026-07-04 15:37:51'::timestamp) - extract(epoch from '2026-07-04 15:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359765 -2.802366)'), GeomFromEWKT('SRID=4674;POINT (-40.359729 -2.802488)'))) / (select extract(epoch from '2026-07-04 15:37:51'::timestamp) - extract(epoch from '2026-07-04 15:37:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.359657 -2.802664)', '2026-07-04 15:37:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359729 -2.802488)'), GeomFromEWKT('SRID=4674;POINT (-40.359657 -2.802664)'))) / (select extract(epoch from '2026-07-04 15:37:59'::timestamp) - extract(epoch from '2026-07-04 15:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359729 -2.802488)'), GeomFromEWKT('SRID=4674;POINT (-40.359657 -2.802664)'))) / (select extract(epoch from '2026-07-04 15:37:59'::timestamp) - extract(epoch from '2026-07-04 15:37:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.359593 -2.802808)', '2026-07-04 15:38:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359657 -2.802664)'), GeomFromEWKT('SRID=4674;POINT (-40.359593 -2.802808)'))) / (select extract(epoch from '2026-07-04 15:38:06'::timestamp) - extract(epoch from '2026-07-04 15:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359657 -2.802664)'), GeomFromEWKT('SRID=4674;POINT (-40.359593 -2.802808)'))) / (select extract(epoch from '2026-07-04 15:38:06'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.359551 -2.803037)', '2026-07-04 15:38:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359593 -2.802808)'), GeomFromEWKT('SRID=4674;POINT (-40.359551 -2.803037)'))) / (select extract(epoch from '2026-07-04 15:38:15'::timestamp) - extract(epoch from '2026-07-04 15:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359593 -2.802808)'), GeomFromEWKT('SRID=4674;POINT (-40.359551 -2.803037)'))) / (select extract(epoch from '2026-07-04 15:38:15'::timestamp) - extract(epoch from '2026-07-04 15:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.359515 -2.80319)', '2026-07-04 15:38:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359551 -2.803037)'), GeomFromEWKT('SRID=4674;POINT (-40.359515 -2.80319)'))) / (select extract(epoch from '2026-07-04 15:38:22'::timestamp) - extract(epoch from '2026-07-04 15:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359551 -2.803037)'), GeomFromEWKT('SRID=4674;POINT (-40.359515 -2.80319)'))) / (select extract(epoch from '2026-07-04 15:38:22'::timestamp) - extract(epoch from '2026-07-04 15:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.359431 -2.803395)', '2026-07-04 15:38:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359515 -2.80319)'), GeomFromEWKT('SRID=4674;POINT (-40.359431 -2.803395)'))) / (select extract(epoch from '2026-07-04 15:38:31'::timestamp) - extract(epoch from '2026-07-04 15:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359515 -2.80319)'), GeomFromEWKT('SRID=4674;POINT (-40.359431 -2.803395)'))) / (select extract(epoch from '2026-07-04 15:38:31'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.359371 -2.803564)', '2026-07-04 15:38:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359431 -2.803395)'), GeomFromEWKT('SRID=4674;POINT (-40.359371 -2.803564)'))) / (select extract(epoch from '2026-07-04 15:38:39'::timestamp) - extract(epoch from '2026-07-04 15:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359431 -2.803395)'), GeomFromEWKT('SRID=4674;POINT (-40.359371 -2.803564)'))) / (select extract(epoch from '2026-07-04 15:38:39'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.359304 -2.80373)', '2026-07-04 15:38:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359371 -2.803564)'), GeomFromEWKT('SRID=4674;POINT (-40.359304 -2.80373)'))) / (select extract(epoch from '2026-07-04 15:38:47'::timestamp) - extract(epoch from '2026-07-04 15:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359371 -2.803564)'), GeomFromEWKT('SRID=4674;POINT (-40.359304 -2.80373)'))) / (select extract(epoch from '2026-07-04 15:38:47'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.359212 -2.803907)', '2026-07-04 15:38:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359304 -2.80373)'), GeomFromEWKT('SRID=4674;POINT (-40.359212 -2.803907)'))) / (select extract(epoch from '2026-07-04 15:38:55'::timestamp) - extract(epoch from '2026-07-04 15:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359304 -2.80373)'), GeomFromEWKT('SRID=4674;POINT (-40.359212 -2.803907)'))) / (select extract(epoch from '2026-07-04 15:38:55'::timestamp) - extract(epoch from '2026-07-04 15: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'), 47827, 'SRID=4674;POINT (-40.359133 -2.804086)', '2026-07-04 15:39:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359212 -2.803907)'), GeomFromEWKT('SRID=4674;POINT (-40.359133 -2.804086)'))) / (select extract(epoch from '2026-07-04 15:39:03'::timestamp) - extract(epoch from '2026-07-04 15:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359212 -2.803907)'), GeomFromEWKT('SRID=4674;POINT (-40.359133 -2.804086)'))) / (select extract(epoch from '2026-07-04 15:39:03'::timestamp) - extract(epoch from '2026-07-04 15:38:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.359055 -2.804281)', '2026-07-04 15:39:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359133 -2.804086)'), GeomFromEWKT('SRID=4674;POINT (-40.359055 -2.804281)'))) / (select extract(epoch from '2026-07-04 15:39:11'::timestamp) - extract(epoch from '2026-07-04 15:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359133 -2.804086)'), GeomFromEWKT('SRID=4674;POINT (-40.359055 -2.804281)'))) / (select extract(epoch from '2026-07-04 15:39:11'::timestamp) - extract(epoch from '2026-07-04 15:39: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'), 47827, 'SRID=4674;POINT (-40.359046 -2.804441)', '2026-07-04 15:39:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359055 -2.804281)'), GeomFromEWKT('SRID=4674;POINT (-40.359046 -2.804441)'))) / (select extract(epoch from '2026-07-04 15:39:18'::timestamp) - extract(epoch from '2026-07-04 15:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359055 -2.804281)'), GeomFromEWKT('SRID=4674;POINT (-40.359046 -2.804441)'))) / (select extract(epoch from '2026-07-04 15:39:18'::timestamp) - extract(epoch from '2026-07-04 15:39: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'), 47827, 'SRID=4674;POINT (-40.359034 -2.804633)', '2026-07-04 15:39:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359046 -2.804441)'), GeomFromEWKT('SRID=4674;POINT (-40.359034 -2.804633)'))) / (select extract(epoch from '2026-07-04 15:39:26'::timestamp) - extract(epoch from '2026-07-04 15:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359046 -2.804441)'), GeomFromEWKT('SRID=4674;POINT (-40.359034 -2.804633)'))) / (select extract(epoch from '2026-07-04 15:39:26'::timestamp) - extract(epoch from '2026-07-04 15:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.359043 -2.804793)', '2026-07-04 15:39:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359034 -2.804633)'), GeomFromEWKT('SRID=4674;POINT (-40.359043 -2.804793)'))) / (select extract(epoch from '2026-07-04 15:39:33'::timestamp) - extract(epoch from '2026-07-04 15:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359034 -2.804633)'), GeomFromEWKT('SRID=4674;POINT (-40.359043 -2.804793)'))) / (select extract(epoch from '2026-07-04 15:39:33'::timestamp) - extract(epoch from '2026-07-04 15:39: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'), 47827, 'SRID=4674;POINT (-40.359044 -2.804987)', '2026-07-04 15:39:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359043 -2.804793)'), GeomFromEWKT('SRID=4674;POINT (-40.359044 -2.804987)'))) / (select extract(epoch from '2026-07-04 15:39:40'::timestamp) - extract(epoch from '2026-07-04 15:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359043 -2.804793)'), GeomFromEWKT('SRID=4674;POINT (-40.359044 -2.804987)'))) / (select extract(epoch from '2026-07-04 15:39:40'::timestamp) - extract(epoch from '2026-07-04 15:39: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'), 47827, 'SRID=4674;POINT (-40.359069 -2.805116)', '2026-07-04 15:39:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359044 -2.804987)'), GeomFromEWKT('SRID=4674;POINT (-40.359069 -2.805116)'))) / (select extract(epoch from '2026-07-04 15:39:46'::timestamp) - extract(epoch from '2026-07-04 15:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359044 -2.804987)'), GeomFromEWKT('SRID=4674;POINT (-40.359069 -2.805116)'))) / (select extract(epoch from '2026-07-04 15:39:46'::timestamp) - extract(epoch from '2026-07-04 15:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.359049 -2.805251)', '2026-07-04 15:39:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359069 -2.805116)'), GeomFromEWKT('SRID=4674;POINT (-40.359049 -2.805251)'))) / (select extract(epoch from '2026-07-04 15:39:53'::timestamp) - extract(epoch from '2026-07-04 15:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359069 -2.805116)'), GeomFromEWKT('SRID=4674;POINT (-40.359049 -2.805251)'))) / (select extract(epoch from '2026-07-04 15:39:53'::timestamp) - extract(epoch from '2026-07-04 15:39: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'), 47827, 'SRID=4674;POINT (-40.359017 -2.805446)', '2026-07-04 15:40:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359049 -2.805251)'), GeomFromEWKT('SRID=4674;POINT (-40.359017 -2.805446)'))) / (select extract(epoch from '2026-07-04 15:40:01'::timestamp) - extract(epoch from '2026-07-04 15:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359049 -2.805251)'), GeomFromEWKT('SRID=4674;POINT (-40.359017 -2.805446)'))) / (select extract(epoch from '2026-07-04 15:40:01'::timestamp) - extract(epoch from '2026-07-04 15:39: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'), 47827, 'SRID=4674;POINT (-40.358999 -2.805595)', '2026-07-04 15:40:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359017 -2.805446)'), GeomFromEWKT('SRID=4674;POINT (-40.358999 -2.805595)'))) / (select extract(epoch from '2026-07-04 15:40:08'::timestamp) - extract(epoch from '2026-07-04 15:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359017 -2.805446)'), GeomFromEWKT('SRID=4674;POINT (-40.358999 -2.805595)'))) / (select extract(epoch from '2026-07-04 15:40:08'::timestamp) - extract(epoch from '2026-07-04 15:40: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'), 47827, 'SRID=4674;POINT (-40.359008 -2.805753)', '2026-07-04 15:40:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358999 -2.805595)'), GeomFromEWKT('SRID=4674;POINT (-40.359008 -2.805753)'))) / (select extract(epoch from '2026-07-04 15:40:15'::timestamp) - extract(epoch from '2026-07-04 15:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358999 -2.805595)'), GeomFromEWKT('SRID=4674;POINT (-40.359008 -2.805753)'))) / (select extract(epoch from '2026-07-04 15:40:15'::timestamp) - extract(epoch from '2026-07-04 15:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.359027 -2.805935)', '2026-07-04 15:40:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359008 -2.805753)'), GeomFromEWKT('SRID=4674;POINT (-40.359027 -2.805935)'))) / (select extract(epoch from '2026-07-04 15:40:23'::timestamp) - extract(epoch from '2026-07-04 15:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359008 -2.805753)'), GeomFromEWKT('SRID=4674;POINT (-40.359027 -2.805935)'))) / (select extract(epoch from '2026-07-04 15:40:23'::timestamp) - extract(epoch from '2026-07-04 15:40: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'), 47827, 'SRID=4674;POINT (-40.359065 -2.806127)', '2026-07-04 15:40:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359027 -2.805935)'), GeomFromEWKT('SRID=4674;POINT (-40.359065 -2.806127)'))) / (select extract(epoch from '2026-07-04 15:40:30'::timestamp) - extract(epoch from '2026-07-04 15:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359027 -2.805935)'), GeomFromEWKT('SRID=4674;POINT (-40.359065 -2.806127)'))) / (select extract(epoch from '2026-07-04 15:40:30'::timestamp) - extract(epoch from '2026-07-04 15:40: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'), 47827, 'SRID=4674;POINT (-40.359075 -2.806298)', '2026-07-04 15:40:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359065 -2.806127)'), GeomFromEWKT('SRID=4674;POINT (-40.359075 -2.806298)'))) / (select extract(epoch from '2026-07-04 15:40:38'::timestamp) - extract(epoch from '2026-07-04 15:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359065 -2.806127)'), GeomFromEWKT('SRID=4674;POINT (-40.359075 -2.806298)'))) / (select extract(epoch from '2026-07-04 15:40:38'::timestamp) - extract(epoch from '2026-07-04 15:40:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.359089 -2.806476)', '2026-07-04 15:40:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359075 -2.806298)'), GeomFromEWKT('SRID=4674;POINT (-40.359089 -2.806476)'))) / (select extract(epoch from '2026-07-04 15:40:45'::timestamp) - extract(epoch from '2026-07-04 15:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359075 -2.806298)'), GeomFromEWKT('SRID=4674;POINT (-40.359089 -2.806476)'))) / (select extract(epoch from '2026-07-04 15:40:45'::timestamp) - extract(epoch from '2026-07-04 15:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47827, 'SRID=4674;POINT (-40.359133 -2.806652)', '2026-07-04 15:40:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359089 -2.806476)'), GeomFromEWKT('SRID=4674;POINT (-40.359133 -2.806652)'))) / (select extract(epoch from '2026-07-04 15:40:54'::timestamp) - extract(epoch from '2026-07-04 15:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359089 -2.806476)'), GeomFromEWKT('SRID=4674;POINT (-40.359133 -2.806652)'))) / (select extract(epoch from '2026-07-04 15:40:54'::timestamp) - extract(epoch from '2026-07-04 15:40: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'), 47827, 'SRID=4674;POINT (-40.359184 -2.80678)', '2026-07-04 15:41:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359133 -2.806652)'), GeomFromEWKT('SRID=4674;POINT (-40.359184 -2.80678)'))) / (select extract(epoch from '2026-07-04 15:41:02'::timestamp) - extract(epoch from '2026-07-04 15:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359133 -2.806652)'), GeomFromEWKT('SRID=4674;POINT (-40.359184 -2.80678)'))) / (select extract(epoch from '2026-07-04 15:41:02'::timestamp) - extract(epoch from '2026-07-04 15:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
