 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313422 -2.761785)', '2026-07-28 05:35:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313282 -2.761846)'), GeomFromEWKT('SRID=4674;POINT (-40.313422 -2.761785)'))) / (select extract(epoch from '2026-07-28 05:35:57'::timestamp) - extract(epoch from '2026-07-28 05:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313282 -2.761846)'), GeomFromEWKT('SRID=4674;POINT (-40.313422 -2.761785)'))) / (select extract(epoch from '2026-07-28 05:35:57'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.313516 -2.761722)', '2026-07-28 05:36:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313422 -2.761785)'), GeomFromEWKT('SRID=4674;POINT (-40.313516 -2.761722)'))) / (select extract(epoch from '2026-07-28 05:36:02'::timestamp) - extract(epoch from '2026-07-28 05:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313422 -2.761785)'), GeomFromEWKT('SRID=4674;POINT (-40.313516 -2.761722)'))) / (select extract(epoch from '2026-07-28 05:36:02'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.313634 -2.76165)', '2026-07-28 05:36:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313516 -2.761722)'), GeomFromEWKT('SRID=4674;POINT (-40.313634 -2.76165)'))) / (select extract(epoch from '2026-07-28 05:36:07'::timestamp) - extract(epoch from '2026-07-28 05:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313516 -2.761722)'), GeomFromEWKT('SRID=4674;POINT (-40.313634 -2.76165)'))) / (select extract(epoch from '2026-07-28 05:36:07'::timestamp) - extract(epoch from '2026-07-28 05:36:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313745 -2.761605)', '2026-07-28 05:36:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313634 -2.76165)'), GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.761605)'))) / (select extract(epoch from '2026-07-28 05:36:12'::timestamp) - extract(epoch from '2026-07-28 05:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313634 -2.76165)'), GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.761605)'))) / (select extract(epoch from '2026-07-28 05:36:12'::timestamp) - extract(epoch from '2026-07-28 05:36: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'), 47647, 'SRID=4674;POINT (-40.313891 -2.761548)', '2026-07-28 05:36:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.761605)'), GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.761548)'))) / (select extract(epoch from '2026-07-28 05:36:19'::timestamp) - extract(epoch from '2026-07-28 05:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.761605)'), GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.761548)'))) / (select extract(epoch from '2026-07-28 05:36:19'::timestamp) - extract(epoch from '2026-07-28 05:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314035 -2.761499)', '2026-07-28 05:36:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.761548)'), GeomFromEWKT('SRID=4674;POINT (-40.314035 -2.761499)'))) / (select extract(epoch from '2026-07-28 05:36:26'::timestamp) - extract(epoch from '2026-07-28 05:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.761548)'), GeomFromEWKT('SRID=4674;POINT (-40.314035 -2.761499)'))) / (select extract(epoch from '2026-07-28 05:36:26'::timestamp) - extract(epoch from '2026-07-28 05:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314204 -2.76147)', '2026-07-28 05:36:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314035 -2.761499)'), GeomFromEWKT('SRID=4674;POINT (-40.314204 -2.76147)'))) / (select extract(epoch from '2026-07-28 05:36:34'::timestamp) - extract(epoch from '2026-07-28 05:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314035 -2.761499)'), GeomFromEWKT('SRID=4674;POINT (-40.314204 -2.76147)'))) / (select extract(epoch from '2026-07-28 05:36:34'::timestamp) - extract(epoch from '2026-07-28 05:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31432 -2.761475)', '2026-07-28 05:36:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314204 -2.76147)'), GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.761475)'))) / (select extract(epoch from '2026-07-28 05:36:39'::timestamp) - extract(epoch from '2026-07-28 05:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314204 -2.76147)'), GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.761475)'))) / (select extract(epoch from '2026-07-28 05:36:39'::timestamp) - extract(epoch from '2026-07-28 05:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314474 -2.761468)', '2026-07-28 05:36:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.761475)'), GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.761468)'))) / (select extract(epoch from '2026-07-28 05:36:46'::timestamp) - extract(epoch from '2026-07-28 05:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.761475)'), GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.761468)'))) / (select extract(epoch from '2026-07-28 05:36:46'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.314645 -2.761471)', '2026-07-28 05:36:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.761468)'), GeomFromEWKT('SRID=4674;POINT (-40.314645 -2.761471)'))) / (select extract(epoch from '2026-07-28 05:36:54'::timestamp) - extract(epoch from '2026-07-28 05:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.761468)'), GeomFromEWKT('SRID=4674;POINT (-40.314645 -2.761471)'))) / (select extract(epoch from '2026-07-28 05:36:54'::timestamp) - extract(epoch from '2026-07-28 05:36: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'), 47647, 'SRID=4674;POINT (-40.314798 -2.761461)', '2026-07-28 05:37:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314645 -2.761471)'), GeomFromEWKT('SRID=4674;POINT (-40.314798 -2.761461)'))) / (select extract(epoch from '2026-07-28 05:37:01'::timestamp) - extract(epoch from '2026-07-28 05:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314645 -2.761471)'), GeomFromEWKT('SRID=4674;POINT (-40.314798 -2.761461)'))) / (select extract(epoch from '2026-07-28 05:37:01'::timestamp) - extract(epoch from '2026-07-28 05:36: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'), 47647, 'SRID=4674;POINT (-40.314946 -2.761449)', '2026-07-28 05:37:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314798 -2.761461)'), GeomFromEWKT('SRID=4674;POINT (-40.314946 -2.761449)'))) / (select extract(epoch from '2026-07-28 05:37:08'::timestamp) - extract(epoch from '2026-07-28 05:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314798 -2.761461)'), GeomFromEWKT('SRID=4674;POINT (-40.314946 -2.761449)'))) / (select extract(epoch from '2026-07-28 05:37:08'::timestamp) - extract(epoch from '2026-07-28 05:37: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'), 47647, 'SRID=4674;POINT (-40.315093 -2.761381)', '2026-07-28 05:37:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314946 -2.761449)'), GeomFromEWKT('SRID=4674;POINT (-40.315093 -2.761381)'))) / (select extract(epoch from '2026-07-28 05:37:15'::timestamp) - extract(epoch from '2026-07-28 05:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314946 -2.761449)'), GeomFromEWKT('SRID=4674;POINT (-40.315093 -2.761381)'))) / (select extract(epoch from '2026-07-28 05:37:15'::timestamp) - extract(epoch from '2026-07-28 05:37: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'), 47647, 'SRID=4674;POINT (-40.315233 -2.761307)', '2026-07-28 05:37:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315093 -2.761381)'), GeomFromEWKT('SRID=4674;POINT (-40.315233 -2.761307)'))) / (select extract(epoch from '2026-07-28 05:37:22'::timestamp) - extract(epoch from '2026-07-28 05:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315093 -2.761381)'), GeomFromEWKT('SRID=4674;POINT (-40.315233 -2.761307)'))) / (select extract(epoch from '2026-07-28 05:37:22'::timestamp) - extract(epoch from '2026-07-28 05:37: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'), 47647, 'SRID=4674;POINT (-40.315323 -2.761214)', '2026-07-28 05:37:28', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315233 -2.761307)'), GeomFromEWKT('SRID=4674;POINT (-40.315323 -2.761214)'))) / (select extract(epoch from '2026-07-28 05:37:28'::timestamp) - extract(epoch from '2026-07-28 05:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315233 -2.761307)'), GeomFromEWKT('SRID=4674;POINT (-40.315323 -2.761214)'))) / (select extract(epoch from '2026-07-28 05:37:28'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.315367 -2.761063)', '2026-07-28 05:37:35', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315323 -2.761214)'), GeomFromEWKT('SRID=4674;POINT (-40.315367 -2.761063)'))) / (select extract(epoch from '2026-07-28 05:37:35'::timestamp) - extract(epoch from '2026-07-28 05:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315323 -2.761214)'), GeomFromEWKT('SRID=4674;POINT (-40.315367 -2.761063)'))) / (select extract(epoch from '2026-07-28 05:37:35'::timestamp) - extract(epoch from '2026-07-28 05:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315328 -2.760949)', '2026-07-28 05:37:41', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315367 -2.761063)'), GeomFromEWKT('SRID=4674;POINT (-40.315328 -2.760949)'))) / (select extract(epoch from '2026-07-28 05:37:41'::timestamp) - extract(epoch from '2026-07-28 05:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315367 -2.761063)'), GeomFromEWKT('SRID=4674;POINT (-40.315328 -2.760949)'))) / (select extract(epoch from '2026-07-28 05:37:41'::timestamp) - extract(epoch from '2026-07-28 05:37: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'), 47647, 'SRID=4674;POINT (-40.315268 -2.760927)', '2026-07-28 05:37:46', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315328 -2.760949)'), GeomFromEWKT('SRID=4674;POINT (-40.315268 -2.760927)'))) / (select extract(epoch from '2026-07-28 05:37:46'::timestamp) - extract(epoch from '2026-07-28 05:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315328 -2.760949)'), GeomFromEWKT('SRID=4674;POINT (-40.315268 -2.760927)'))) / (select extract(epoch from '2026-07-28 05:37:46'::timestamp) - extract(epoch from '2026-07-28 05:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315212 -2.760951)', '2026-07-28 05:37:54', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315268 -2.760927)'), GeomFromEWKT('SRID=4674;POINT (-40.315212 -2.760951)'))) / (select extract(epoch from '2026-07-28 05:37:54'::timestamp) - extract(epoch from '2026-07-28 05:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315268 -2.760927)'), GeomFromEWKT('SRID=4674;POINT (-40.315212 -2.760951)'))) / (select extract(epoch from '2026-07-28 05:37:54'::timestamp) - extract(epoch from '2026-07-28 05:37: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'), 47647, 'SRID=4674;POINT (-40.315168 -2.760955)', '2026-07-28 05:38:05', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315212 -2.760951)'), GeomFromEWKT('SRID=4674;POINT (-40.315168 -2.760955)'))) / (select extract(epoch from '2026-07-28 05:38:05'::timestamp) - extract(epoch from '2026-07-28 05:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315212 -2.760951)'), GeomFromEWKT('SRID=4674;POINT (-40.315168 -2.760955)'))) / (select extract(epoch from '2026-07-28 05:38:05'::timestamp) - extract(epoch from '2026-07-28 05:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315171 -2.760947)', '2026-07-28 05:38:18', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315168 -2.760955)'), GeomFromEWKT('SRID=4674;POINT (-40.315171 -2.760947)'))) / (select extract(epoch from '2026-07-28 05:38:18'::timestamp) - extract(epoch from '2026-07-28 05:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315168 -2.760955)'), GeomFromEWKT('SRID=4674;POINT (-40.315171 -2.760947)'))) / (select extract(epoch from '2026-07-28 05:38:18'::timestamp) - extract(epoch from '2026-07-28 05:38:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315201 -2.76094)', '2026-07-28 05:38:33', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315171 -2.760947)'), GeomFromEWKT('SRID=4674;POINT (-40.315201 -2.76094)'))) / (select extract(epoch from '2026-07-28 05:38:33'::timestamp) - extract(epoch from '2026-07-28 05:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315171 -2.760947)'), GeomFromEWKT('SRID=4674;POINT (-40.315201 -2.76094)'))) / (select extract(epoch from '2026-07-28 05:38:33'::timestamp) - extract(epoch from '2026-07-28 05:38: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'), 47647, 'SRID=4674;POINT (-40.315203 -2.760937)', '2026-07-28 05:38:43', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315201 -2.76094)'), GeomFromEWKT('SRID=4674;POINT (-40.315203 -2.760937)'))) / (select extract(epoch from '2026-07-28 05:38:43'::timestamp) - extract(epoch from '2026-07-28 05:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315201 -2.76094)'), GeomFromEWKT('SRID=4674;POINT (-40.315203 -2.760937)'))) / (select extract(epoch from '2026-07-28 05:38:43'::timestamp) - extract(epoch from '2026-07-28 05:38: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'), 47647, 'SRID=4674;POINT (-40.315213 -2.760931)', '2026-07-28 05:38:55', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315203 -2.760937)'), GeomFromEWKT('SRID=4674;POINT (-40.315213 -2.760931)'))) / (select extract(epoch from '2026-07-28 05:38:55'::timestamp) - extract(epoch from '2026-07-28 05:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315203 -2.760937)'), GeomFromEWKT('SRID=4674;POINT (-40.315213 -2.760931)'))) / (select extract(epoch from '2026-07-28 05:38:55'::timestamp) - extract(epoch from '2026-07-28 05:38: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'), 47647, 'SRID=4674;POINT (-40.315218 -2.76092)', '2026-07-28 05:39:05', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315213 -2.760931)'), GeomFromEWKT('SRID=4674;POINT (-40.315218 -2.76092)'))) / (select extract(epoch from '2026-07-28 05:39:05'::timestamp) - extract(epoch from '2026-07-28 05:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315213 -2.760931)'), GeomFromEWKT('SRID=4674;POINT (-40.315218 -2.76092)'))) / (select extract(epoch from '2026-07-28 05:39:05'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.31523 -2.760908)', '2026-07-28 05:39:13', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315218 -2.76092)'), GeomFromEWKT('SRID=4674;POINT (-40.31523 -2.760908)'))) / (select extract(epoch from '2026-07-28 05:39:13'::timestamp) - extract(epoch from '2026-07-28 05:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315218 -2.76092)'), GeomFromEWKT('SRID=4674;POINT (-40.31523 -2.760908)'))) / (select extract(epoch from '2026-07-28 05:39:13'::timestamp) - extract(epoch from '2026-07-28 05:39: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'), 47647, 'SRID=4674;POINT (-40.315233 -2.7609)', '2026-07-28 05:39:26', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31523 -2.760908)'), GeomFromEWKT('SRID=4674;POINT (-40.315233 -2.7609)'))) / (select extract(epoch from '2026-07-28 05:39:26'::timestamp) - extract(epoch from '2026-07-28 05:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31523 -2.760908)'), GeomFromEWKT('SRID=4674;POINT (-40.315233 -2.7609)'))) / (select extract(epoch from '2026-07-28 05:39:26'::timestamp) - extract(epoch from '2026-07-28 05:39: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'), 47647, 'SRID=4674;POINT (-40.315227 -2.760904)', '2026-07-28 05:39:34', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315233 -2.7609)'), GeomFromEWKT('SRID=4674;POINT (-40.315227 -2.760904)'))) / (select extract(epoch from '2026-07-28 05:39:34'::timestamp) - extract(epoch from '2026-07-28 05:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315233 -2.7609)'), GeomFromEWKT('SRID=4674;POINT (-40.315227 -2.760904)'))) / (select extract(epoch from '2026-07-28 05:39:34'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.315232 -2.760877)', '2026-07-28 05:39:51', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315227 -2.760904)'), GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760877)'))) / (select extract(epoch from '2026-07-28 05:39:51'::timestamp) - extract(epoch from '2026-07-28 05:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315227 -2.760904)'), GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760877)'))) / (select extract(epoch from '2026-07-28 05:39:51'::timestamp) - extract(epoch from '2026-07-28 05:39: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'), 47647, 'SRID=4674;POINT (-40.315232 -2.760878)', '2026-07-28 05:40:03', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760877)'), GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760878)'))) / (select extract(epoch from '2026-07-28 05:40:03'::timestamp) - extract(epoch from '2026-07-28 05:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760877)'), GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760878)'))) / (select extract(epoch from '2026-07-28 05:40:03'::timestamp) - extract(epoch from '2026-07-28 05:39: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'), 47647, 'SRID=4674;POINT (-40.315243 -2.760876)', '2026-07-28 05:40:13', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760878)'), GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.760876)'))) / (select extract(epoch from '2026-07-28 05:40:13'::timestamp) - extract(epoch from '2026-07-28 05:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760878)'), GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.760876)'))) / (select extract(epoch from '2026-07-28 05:40:13'::timestamp) - extract(epoch from '2026-07-28 05:40: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'), 47647, 'SRID=4674;POINT (-40.315241 -2.76088)', '2026-07-28 05:40:25', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.760876)'), GeomFromEWKT('SRID=4674;POINT (-40.315241 -2.76088)'))) / (select extract(epoch from '2026-07-28 05:40:25'::timestamp) - extract(epoch from '2026-07-28 05:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.760876)'), GeomFromEWKT('SRID=4674;POINT (-40.315241 -2.76088)'))) / (select extract(epoch from '2026-07-28 05:40:25'::timestamp) - extract(epoch from '2026-07-28 05:40: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'), 47647, 'SRID=4674;POINT (-40.315248 -2.76088)', '2026-07-28 05:40:37', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315241 -2.76088)'), GeomFromEWKT('SRID=4674;POINT (-40.315248 -2.76088)'))) / (select extract(epoch from '2026-07-28 05:40:37'::timestamp) - extract(epoch from '2026-07-28 05:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315241 -2.76088)'), GeomFromEWKT('SRID=4674;POINT (-40.315248 -2.76088)'))) / (select extract(epoch from '2026-07-28 05:40:37'::timestamp) - extract(epoch from '2026-07-28 05:40: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'), 47647, 'SRID=4674;POINT (-40.315247 -2.760872)', '2026-07-28 05:40:46', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315248 -2.76088)'), GeomFromEWKT('SRID=4674;POINT (-40.315247 -2.760872)'))) / (select extract(epoch from '2026-07-28 05:40:46'::timestamp) - extract(epoch from '2026-07-28 05:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315248 -2.76088)'), GeomFromEWKT('SRID=4674;POINT (-40.315247 -2.760872)'))) / (select extract(epoch from '2026-07-28 05:40:46'::timestamp) - extract(epoch from '2026-07-28 05:40:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315249 -2.760872)', '2026-07-28 05:40:57', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315247 -2.760872)'), GeomFromEWKT('SRID=4674;POINT (-40.315249 -2.760872)'))) / (select extract(epoch from '2026-07-28 05:40:57'::timestamp) - extract(epoch from '2026-07-28 05:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315247 -2.760872)'), GeomFromEWKT('SRID=4674;POINT (-40.315249 -2.760872)'))) / (select extract(epoch from '2026-07-28 05:40:57'::timestamp) - extract(epoch from '2026-07-28 05:40: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'), 47647, 'SRID=4674;POINT (-40.315247 -2.760868)', '2026-07-28 05:41:08', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315249 -2.760872)'), GeomFromEWKT('SRID=4674;POINT (-40.315247 -2.760868)'))) / (select extract(epoch from '2026-07-28 05:41:08'::timestamp) - extract(epoch from '2026-07-28 05:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315249 -2.760872)'), GeomFromEWKT('SRID=4674;POINT (-40.315247 -2.760868)'))) / (select extract(epoch from '2026-07-28 05:41:08'::timestamp) - extract(epoch from '2026-07-28 05:40: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'), 47647, 'SRID=4674;POINT (-40.315232 -2.760861)', '2026-07-28 05:41:22', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315247 -2.760868)'), GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760861)'))) / (select extract(epoch from '2026-07-28 05:41:22'::timestamp) - extract(epoch from '2026-07-28 05:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315247 -2.760868)'), GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760861)'))) / (select extract(epoch from '2026-07-28 05:41:22'::timestamp) - extract(epoch from '2026-07-28 05:41: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'), 47647, 'SRID=4674;POINT (-40.315228 -2.760858)', '2026-07-28 05:41:36', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760861)'), GeomFromEWKT('SRID=4674;POINT (-40.315228 -2.760858)'))) / (select extract(epoch from '2026-07-28 05:41:36'::timestamp) - extract(epoch from '2026-07-28 05:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760861)'), GeomFromEWKT('SRID=4674;POINT (-40.315228 -2.760858)'))) / (select extract(epoch from '2026-07-28 05:41:36'::timestamp) - extract(epoch from '2026-07-28 05:41: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'), 47647, 'SRID=4674;POINT (-40.315226 -2.760853)', '2026-07-28 05:41:50', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315228 -2.760858)'), GeomFromEWKT('SRID=4674;POINT (-40.315226 -2.760853)'))) / (select extract(epoch from '2026-07-28 05:41:50'::timestamp) - extract(epoch from '2026-07-28 05:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315228 -2.760858)'), GeomFromEWKT('SRID=4674;POINT (-40.315226 -2.760853)'))) / (select extract(epoch from '2026-07-28 05:41:50'::timestamp) - extract(epoch from '2026-07-28 05:41: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'), 47647, 'SRID=4674;POINT (-40.315227 -2.760854)', '2026-07-28 05:42:01', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315226 -2.760853)'), GeomFromEWKT('SRID=4674;POINT (-40.315227 -2.760854)'))) / (select extract(epoch from '2026-07-28 05:42:01'::timestamp) - extract(epoch from '2026-07-28 05:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315226 -2.760853)'), GeomFromEWKT('SRID=4674;POINT (-40.315227 -2.760854)'))) / (select extract(epoch from '2026-07-28 05:42:01'::timestamp) - extract(epoch from '2026-07-28 05:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315232 -2.760852)', '2026-07-28 05:42:12', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315227 -2.760854)'), GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760852)'))) / (select extract(epoch from '2026-07-28 05:42:12'::timestamp) - extract(epoch from '2026-07-28 05:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315227 -2.760854)'), GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760852)'))) / (select extract(epoch from '2026-07-28 05:42:12'::timestamp) - extract(epoch from '2026-07-28 05:42:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31523 -2.760846)', '2026-07-28 05:42:20', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760852)'), GeomFromEWKT('SRID=4674;POINT (-40.31523 -2.760846)'))) / (select extract(epoch from '2026-07-28 05:42:20'::timestamp) - extract(epoch from '2026-07-28 05:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315232 -2.760852)'), GeomFromEWKT('SRID=4674;POINT (-40.31523 -2.760846)'))) / (select extract(epoch from '2026-07-28 05:42:20'::timestamp) - extract(epoch from '2026-07-28 05:42: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'), 47647, 'SRID=4674;POINT (-40.315238 -2.760846)', '2026-07-28 05:42:29', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31523 -2.760846)'), GeomFromEWKT('SRID=4674;POINT (-40.315238 -2.760846)'))) / (select extract(epoch from '2026-07-28 05:42:29'::timestamp) - extract(epoch from '2026-07-28 05:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31523 -2.760846)'), GeomFromEWKT('SRID=4674;POINT (-40.315238 -2.760846)'))) / (select extract(epoch from '2026-07-28 05:42:29'::timestamp) - extract(epoch from '2026-07-28 05:42: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'), 47647, 'SRID=4674;POINT (-40.315243 -2.760831)', '2026-07-28 05:42:37', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315238 -2.760846)'), GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.760831)'))) / (select extract(epoch from '2026-07-28 05:42:37'::timestamp) - extract(epoch from '2026-07-28 05:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315238 -2.760846)'), GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.760831)'))) / (select extract(epoch from '2026-07-28 05:42:37'::timestamp) - extract(epoch from '2026-07-28 05:42: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'), 47647, 'SRID=4674;POINT (-40.315244 -2.760826)', '2026-07-28 05:42:44', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.760831)'), GeomFromEWKT('SRID=4674;POINT (-40.315244 -2.760826)'))) / (select extract(epoch from '2026-07-28 05:42:44'::timestamp) - extract(epoch from '2026-07-28 05:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.760831)'), GeomFromEWKT('SRID=4674;POINT (-40.315244 -2.760826)'))) / (select extract(epoch from '2026-07-28 05:42:44'::timestamp) - extract(epoch from '2026-07-28 05:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315239 -2.760827)', '2026-07-28 05:42:54', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315244 -2.760826)'), GeomFromEWKT('SRID=4674;POINT (-40.315239 -2.760827)'))) / (select extract(epoch from '2026-07-28 05:42:54'::timestamp) - extract(epoch from '2026-07-28 05:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315244 -2.760826)'), GeomFromEWKT('SRID=4674;POINT (-40.315239 -2.760827)'))) / (select extract(epoch from '2026-07-28 05:42:54'::timestamp) - extract(epoch from '2026-07-28 05:42: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'), 47647, 'SRID=4674;POINT (-40.315224 -2.760823)', '2026-07-28 05:43:04', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315239 -2.760827)'), GeomFromEWKT('SRID=4674;POINT (-40.315224 -2.760823)'))) / (select extract(epoch from '2026-07-28 05:43:04'::timestamp) - extract(epoch from '2026-07-28 05:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315239 -2.760827)'), GeomFromEWKT('SRID=4674;POINT (-40.315224 -2.760823)'))) / (select extract(epoch from '2026-07-28 05:43:04'::timestamp) - extract(epoch from '2026-07-28 05:42: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'), 47647, 'SRID=4674;POINT (-40.315219 -2.760824)', '2026-07-28 05:43:13', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315224 -2.760823)'), GeomFromEWKT('SRID=4674;POINT (-40.315219 -2.760824)'))) / (select extract(epoch from '2026-07-28 05:43:13'::timestamp) - extract(epoch from '2026-07-28 05:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315224 -2.760823)'), GeomFromEWKT('SRID=4674;POINT (-40.315219 -2.760824)'))) / (select extract(epoch from '2026-07-28 05:43:13'::timestamp) - extract(epoch from '2026-07-28 05:43: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'), 47647, 'SRID=4674;POINT (-40.315176 -2.76086)', '2026-07-28 05:43:27', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315219 -2.760824)'), GeomFromEWKT('SRID=4674;POINT (-40.315176 -2.76086)'))) / (select extract(epoch from '2026-07-28 05:43:27'::timestamp) - extract(epoch from '2026-07-28 05:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315219 -2.760824)'), GeomFromEWKT('SRID=4674;POINT (-40.315176 -2.76086)'))) / (select extract(epoch from '2026-07-28 05:43:27'::timestamp) - extract(epoch from '2026-07-28 05:43: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'), 47647, 'SRID=4674;POINT (-40.315164 -2.76088)', '2026-07-28 05:43:34', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315176 -2.76086)'), GeomFromEWKT('SRID=4674;POINT (-40.315164 -2.76088)'))) / (select extract(epoch from '2026-07-28 05:43:34'::timestamp) - extract(epoch from '2026-07-28 05:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315176 -2.76086)'), GeomFromEWKT('SRID=4674;POINT (-40.315164 -2.76088)'))) / (select extract(epoch from '2026-07-28 05:43:34'::timestamp) - extract(epoch from '2026-07-28 05:43: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'), 47647, 'SRID=4674;POINT (-40.315171 -2.76088)', '2026-07-28 05:43:42', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315164 -2.76088)'), GeomFromEWKT('SRID=4674;POINT (-40.315171 -2.76088)'))) / (select extract(epoch from '2026-07-28 05:43:42'::timestamp) - extract(epoch from '2026-07-28 05:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315164 -2.76088)'), GeomFromEWKT('SRID=4674;POINT (-40.315171 -2.76088)'))) / (select extract(epoch from '2026-07-28 05:43:42'::timestamp) - extract(epoch from '2026-07-28 05:43: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'), 47647, 'SRID=4674;POINT (-40.315135 -2.760886)', '2026-07-28 05:43:51', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315171 -2.76088)'), GeomFromEWKT('SRID=4674;POINT (-40.315135 -2.760886)'))) / (select extract(epoch from '2026-07-28 05:43:51'::timestamp) - extract(epoch from '2026-07-28 05:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315171 -2.76088)'), GeomFromEWKT('SRID=4674;POINT (-40.315135 -2.760886)'))) / (select extract(epoch from '2026-07-28 05:43:51'::timestamp) - extract(epoch from '2026-07-28 05:43: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'), 47647, 'SRID=4674;POINT (-40.3151 -2.760898)', '2026-07-28 05:43:59', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315135 -2.760886)'), GeomFromEWKT('SRID=4674;POINT (-40.3151 -2.760898)'))) / (select extract(epoch from '2026-07-28 05:43:59'::timestamp) - extract(epoch from '2026-07-28 05:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315135 -2.760886)'), GeomFromEWKT('SRID=4674;POINT (-40.3151 -2.760898)'))) / (select extract(epoch from '2026-07-28 05:43:59'::timestamp) - extract(epoch from '2026-07-28 05:43: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'), 47647, 'SRID=4674;POINT (-40.315085 -2.760903)', '2026-07-28 05:44:05', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3151 -2.760898)'), GeomFromEWKT('SRID=4674;POINT (-40.315085 -2.760903)'))) / (select extract(epoch from '2026-07-28 05:44:05'::timestamp) - extract(epoch from '2026-07-28 05:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3151 -2.760898)'), GeomFromEWKT('SRID=4674;POINT (-40.315085 -2.760903)'))) / (select extract(epoch from '2026-07-28 05:44:05'::timestamp) - extract(epoch from '2026-07-28 05:43: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'), 47647, 'SRID=4674;POINT (-40.315074 -2.760909)', '2026-07-28 05:44:15', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315085 -2.760903)'), GeomFromEWKT('SRID=4674;POINT (-40.315074 -2.760909)'))) / (select extract(epoch from '2026-07-28 05:44:15'::timestamp) - extract(epoch from '2026-07-28 05:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315085 -2.760903)'), GeomFromEWKT('SRID=4674;POINT (-40.315074 -2.760909)'))) / (select extract(epoch from '2026-07-28 05:44:15'::timestamp) - extract(epoch from '2026-07-28 05:44: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'), 47647, 'SRID=4674;POINT (-40.315055 -2.760915)', '2026-07-28 05:44:22', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315074 -2.760909)'), GeomFromEWKT('SRID=4674;POINT (-40.315055 -2.760915)'))) / (select extract(epoch from '2026-07-28 05:44:22'::timestamp) - extract(epoch from '2026-07-28 05:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315074 -2.760909)'), GeomFromEWKT('SRID=4674;POINT (-40.315055 -2.760915)'))) / (select extract(epoch from '2026-07-28 05:44:22'::timestamp) - extract(epoch from '2026-07-28 05:44: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'), 47647, 'SRID=4674;POINT (-40.315012 -2.760905)', '2026-07-28 05:44:32', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315055 -2.760915)'), GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.760905)'))) / (select extract(epoch from '2026-07-28 05:44:32'::timestamp) - extract(epoch from '2026-07-28 05:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315055 -2.760915)'), GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.760905)'))) / (select extract(epoch from '2026-07-28 05:44:32'::timestamp) - extract(epoch from '2026-07-28 05:44: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'), 47647, 'SRID=4674;POINT (-40.314998 -2.760893)', '2026-07-28 05:44:40', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.760905)'), GeomFromEWKT('SRID=4674;POINT (-40.314998 -2.760893)'))) / (select extract(epoch from '2026-07-28 05:44:40'::timestamp) - extract(epoch from '2026-07-28 05:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.760905)'), GeomFromEWKT('SRID=4674;POINT (-40.314998 -2.760893)'))) / (select extract(epoch from '2026-07-28 05:44:40'::timestamp) - extract(epoch from '2026-07-28 05:44: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'), 47647, 'SRID=4674;POINT (-40.314993 -2.760882)', '2026-07-28 05:44:50', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314998 -2.760893)'), GeomFromEWKT('SRID=4674;POINT (-40.314993 -2.760882)'))) / (select extract(epoch from '2026-07-28 05:44:50'::timestamp) - extract(epoch from '2026-07-28 05:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314998 -2.760893)'), GeomFromEWKT('SRID=4674;POINT (-40.314993 -2.760882)'))) / (select extract(epoch from '2026-07-28 05:44:50'::timestamp) - extract(epoch from '2026-07-28 05:44: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'), 47647, 'SRID=4674;POINT (-40.314993 -2.760874)', '2026-07-28 05:44:58', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314993 -2.760882)'), GeomFromEWKT('SRID=4674;POINT (-40.314993 -2.760874)'))) / (select extract(epoch from '2026-07-28 05:44:58'::timestamp) - extract(epoch from '2026-07-28 05:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314993 -2.760882)'), GeomFromEWKT('SRID=4674;POINT (-40.314993 -2.760874)'))) / (select extract(epoch from '2026-07-28 05:44:58'::timestamp) - extract(epoch from '2026-07-28 05:44: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'), 47647, 'SRID=4674;POINT (-40.315003 -2.760869)', '2026-07-28 05:45:05', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314993 -2.760874)'), GeomFromEWKT('SRID=4674;POINT (-40.315003 -2.760869)'))) / (select extract(epoch from '2026-07-28 05:45:05'::timestamp) - extract(epoch from '2026-07-28 05:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314993 -2.760874)'), GeomFromEWKT('SRID=4674;POINT (-40.315003 -2.760869)'))) / (select extract(epoch from '2026-07-28 05:45:05'::timestamp) - extract(epoch from '2026-07-28 05:44: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'), 47647, 'SRID=4674;POINT (-40.315004 -2.760856)', '2026-07-28 05:45:14', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315003 -2.760869)'), GeomFromEWKT('SRID=4674;POINT (-40.315004 -2.760856)'))) / (select extract(epoch from '2026-07-28 05:45:14'::timestamp) - extract(epoch from '2026-07-28 05:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315003 -2.760869)'), GeomFromEWKT('SRID=4674;POINT (-40.315004 -2.760856)'))) / (select extract(epoch from '2026-07-28 05:45:14'::timestamp) - extract(epoch from '2026-07-28 05:45: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'), 47647, 'SRID=4674;POINT (-40.314987 -2.760856)', '2026-07-28 05:45:23', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315004 -2.760856)'), GeomFromEWKT('SRID=4674;POINT (-40.314987 -2.760856)'))) / (select extract(epoch from '2026-07-28 05:45:23'::timestamp) - extract(epoch from '2026-07-28 05:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315004 -2.760856)'), GeomFromEWKT('SRID=4674;POINT (-40.314987 -2.760856)'))) / (select extract(epoch from '2026-07-28 05:45:23'::timestamp) - extract(epoch from '2026-07-28 05:45: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'), 47647, 'SRID=4674;POINT (-40.314967 -2.760864)', '2026-07-28 05:45:31', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314987 -2.760856)'), GeomFromEWKT('SRID=4674;POINT (-40.314967 -2.760864)'))) / (select extract(epoch from '2026-07-28 05:45:31'::timestamp) - extract(epoch from '2026-07-28 05:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314987 -2.760856)'), GeomFromEWKT('SRID=4674;POINT (-40.314967 -2.760864)'))) / (select extract(epoch from '2026-07-28 05:45:31'::timestamp) - extract(epoch from '2026-07-28 05:45: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'), 47647, 'SRID=4674;POINT (-40.314932 -2.760868)', '2026-07-28 05:45:42', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314967 -2.760864)'), GeomFromEWKT('SRID=4674;POINT (-40.314932 -2.760868)'))) / (select extract(epoch from '2026-07-28 05:45:42'::timestamp) - extract(epoch from '2026-07-28 05:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314967 -2.760864)'), GeomFromEWKT('SRID=4674;POINT (-40.314932 -2.760868)'))) / (select extract(epoch from '2026-07-28 05:45:42'::timestamp) - extract(epoch from '2026-07-28 05:45: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'), 47647, 'SRID=4674;POINT (-40.314898 -2.760869)', '2026-07-28 05:45:51', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314932 -2.760868)'), GeomFromEWKT('SRID=4674;POINT (-40.314898 -2.760869)'))) / (select extract(epoch from '2026-07-28 05:45:51'::timestamp) - extract(epoch from '2026-07-28 05:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314932 -2.760868)'), GeomFromEWKT('SRID=4674;POINT (-40.314898 -2.760869)'))) / (select extract(epoch from '2026-07-28 05:45:51'::timestamp) - extract(epoch from '2026-07-28 05:45: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'), 47647, 'SRID=4674;POINT (-40.314868 -2.760867)', '2026-07-28 05:45:59', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314898 -2.760869)'), GeomFromEWKT('SRID=4674;POINT (-40.314868 -2.760867)'))) / (select extract(epoch from '2026-07-28 05:45:59'::timestamp) - extract(epoch from '2026-07-28 05:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314898 -2.760869)'), GeomFromEWKT('SRID=4674;POINT (-40.314868 -2.760867)'))) / (select extract(epoch from '2026-07-28 05:45:59'::timestamp) - extract(epoch from '2026-07-28 05:45: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'), 47647, 'SRID=4674;POINT (-40.314832 -2.76085)', '2026-07-28 05:46:07', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314868 -2.760867)'), GeomFromEWKT('SRID=4674;POINT (-40.314832 -2.76085)'))) / (select extract(epoch from '2026-07-28 05:46:07'::timestamp) - extract(epoch from '2026-07-28 05:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314868 -2.760867)'), GeomFromEWKT('SRID=4674;POINT (-40.314832 -2.76085)'))) / (select extract(epoch from '2026-07-28 05:46:07'::timestamp) - extract(epoch from '2026-07-28 05:45: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'), 47647, 'SRID=4674;POINT (-40.314815 -2.760852)', '2026-07-28 05:46:17', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314832 -2.76085)'), GeomFromEWKT('SRID=4674;POINT (-40.314815 -2.760852)'))) / (select extract(epoch from '2026-07-28 05:46:17'::timestamp) - extract(epoch from '2026-07-28 05:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314832 -2.76085)'), GeomFromEWKT('SRID=4674;POINT (-40.314815 -2.760852)'))) / (select extract(epoch from '2026-07-28 05:46:17'::timestamp) - extract(epoch from '2026-07-28 05:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314789 -2.76084)', '2026-07-28 05:46:25', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314815 -2.760852)'), GeomFromEWKT('SRID=4674;POINT (-40.314789 -2.76084)'))) / (select extract(epoch from '2026-07-28 05:46:25'::timestamp) - extract(epoch from '2026-07-28 05:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314815 -2.760852)'), GeomFromEWKT('SRID=4674;POINT (-40.314789 -2.76084)'))) / (select extract(epoch from '2026-07-28 05:46:25'::timestamp) - extract(epoch from '2026-07-28 05:46: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'), 47647, 'SRID=4674;POINT (-40.314749 -2.760851)', '2026-07-28 05:46:34', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314789 -2.76084)'), GeomFromEWKT('SRID=4674;POINT (-40.314749 -2.760851)'))) / (select extract(epoch from '2026-07-28 05:46:34'::timestamp) - extract(epoch from '2026-07-28 05:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314789 -2.76084)'), GeomFromEWKT('SRID=4674;POINT (-40.314749 -2.760851)'))) / (select extract(epoch from '2026-07-28 05:46:34'::timestamp) - extract(epoch from '2026-07-28 05:46: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'), 47647, 'SRID=4674;POINT (-40.314716 -2.76086)', '2026-07-28 05:46:42', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314749 -2.760851)'), GeomFromEWKT('SRID=4674;POINT (-40.314716 -2.76086)'))) / (select extract(epoch from '2026-07-28 05:46:42'::timestamp) - extract(epoch from '2026-07-28 05:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314749 -2.760851)'), GeomFromEWKT('SRID=4674;POINT (-40.314716 -2.76086)'))) / (select extract(epoch from '2026-07-28 05:46:42'::timestamp) - extract(epoch from '2026-07-28 05:46: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'), 47647, 'SRID=4674;POINT (-40.314697 -2.760862)', '2026-07-28 05:46:51', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314716 -2.76086)'), GeomFromEWKT('SRID=4674;POINT (-40.314697 -2.760862)'))) / (select extract(epoch from '2026-07-28 05:46:51'::timestamp) - extract(epoch from '2026-07-28 05:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314716 -2.76086)'), GeomFromEWKT('SRID=4674;POINT (-40.314697 -2.760862)'))) / (select extract(epoch from '2026-07-28 05:46:51'::timestamp) - extract(epoch from '2026-07-28 05:46: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'), 47647, 'SRID=4674;POINT (-40.314667 -2.760868)', '2026-07-28 05:47:00', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314697 -2.760862)'), GeomFromEWKT('SRID=4674;POINT (-40.314667 -2.760868)'))) / (select extract(epoch from '2026-07-28 05:47:00'::timestamp) - extract(epoch from '2026-07-28 05:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314697 -2.760862)'), GeomFromEWKT('SRID=4674;POINT (-40.314667 -2.760868)'))) / (select extract(epoch from '2026-07-28 05:47:00'::timestamp) - extract(epoch from '2026-07-28 05:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314621 -2.760873)', '2026-07-28 05:47:08', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314667 -2.760868)'), GeomFromEWKT('SRID=4674;POINT (-40.314621 -2.760873)'))) / (select extract(epoch from '2026-07-28 05:47:08'::timestamp) - extract(epoch from '2026-07-28 05:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314667 -2.760868)'), GeomFromEWKT('SRID=4674;POINT (-40.314621 -2.760873)'))) / (select extract(epoch from '2026-07-28 05:47:08'::timestamp) - extract(epoch from '2026-07-28 05:47: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'), 47647, 'SRID=4674;POINT (-40.314588 -2.760877)', '2026-07-28 05:47:17', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314621 -2.760873)'), GeomFromEWKT('SRID=4674;POINT (-40.314588 -2.760877)'))) / (select extract(epoch from '2026-07-28 05:47:17'::timestamp) - extract(epoch from '2026-07-28 05:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314621 -2.760873)'), GeomFromEWKT('SRID=4674;POINT (-40.314588 -2.760877)'))) / (select extract(epoch from '2026-07-28 05:47:17'::timestamp) - extract(epoch from '2026-07-28 05:47: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'), 47647, 'SRID=4674;POINT (-40.314538 -2.760895)', '2026-07-28 05:47:26', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314588 -2.760877)'), GeomFromEWKT('SRID=4674;POINT (-40.314538 -2.760895)'))) / (select extract(epoch from '2026-07-28 05:47:26'::timestamp) - extract(epoch from '2026-07-28 05:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314588 -2.760877)'), GeomFromEWKT('SRID=4674;POINT (-40.314538 -2.760895)'))) / (select extract(epoch from '2026-07-28 05:47:26'::timestamp) - extract(epoch from '2026-07-28 05:47:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314511 -2.760906)', '2026-07-28 05:47:33', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314538 -2.760895)'), GeomFromEWKT('SRID=4674;POINT (-40.314511 -2.760906)'))) / (select extract(epoch from '2026-07-28 05:47:33'::timestamp) - extract(epoch from '2026-07-28 05:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314538 -2.760895)'), GeomFromEWKT('SRID=4674;POINT (-40.314511 -2.760906)'))) / (select extract(epoch from '2026-07-28 05:47:33'::timestamp) - extract(epoch from '2026-07-28 05:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314474 -2.760913)', '2026-07-28 05:47:42', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314511 -2.760906)'), GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.760913)'))) / (select extract(epoch from '2026-07-28 05:47:42'::timestamp) - extract(epoch from '2026-07-28 05:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314511 -2.760906)'), GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.760913)'))) / (select extract(epoch from '2026-07-28 05:47:42'::timestamp) - extract(epoch from '2026-07-28 05:47: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'), 47647, 'SRID=4674;POINT (-40.314414 -2.76093)', '2026-07-28 05:47:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.760913)'), GeomFromEWKT('SRID=4674;POINT (-40.314414 -2.76093)'))) / (select extract(epoch from '2026-07-28 05:47:52'::timestamp) - extract(epoch from '2026-07-28 05:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.760913)'), GeomFromEWKT('SRID=4674;POINT (-40.314414 -2.76093)'))) / (select extract(epoch from '2026-07-28 05:47:52'::timestamp) - extract(epoch from '2026-07-28 05:47:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314374 -2.76093)', '2026-07-28 05:48:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314414 -2.76093)'), GeomFromEWKT('SRID=4674;POINT (-40.314374 -2.76093)'))) / (select extract(epoch from '2026-07-28 05:48:00'::timestamp) - extract(epoch from '2026-07-28 05:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314414 -2.76093)'), GeomFromEWKT('SRID=4674;POINT (-40.314374 -2.76093)'))) / (select extract(epoch from '2026-07-28 05:48:00'::timestamp) - extract(epoch from '2026-07-28 05:47: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'), 47647, 'SRID=4674;POINT (-40.314336 -2.760942)', '2026-07-28 05:48:08', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314374 -2.76093)'), GeomFromEWKT('SRID=4674;POINT (-40.314336 -2.760942)'))) / (select extract(epoch from '2026-07-28 05:48:08'::timestamp) - extract(epoch from '2026-07-28 05:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314374 -2.76093)'), GeomFromEWKT('SRID=4674;POINT (-40.314336 -2.760942)'))) / (select extract(epoch from '2026-07-28 05:48:08'::timestamp) - extract(epoch from '2026-07-28 05:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314318 -2.760952)', '2026-07-28 05:48:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314336 -2.760942)'), GeomFromEWKT('SRID=4674;POINT (-40.314318 -2.760952)'))) / (select extract(epoch from '2026-07-28 05:48:15'::timestamp) - extract(epoch from '2026-07-28 05:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314336 -2.760942)'), GeomFromEWKT('SRID=4674;POINT (-40.314318 -2.760952)'))) / (select extract(epoch from '2026-07-28 05:48:15'::timestamp) - extract(epoch from '2026-07-28 05:48: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'), 47647, 'SRID=4674;POINT (-40.314295 -2.760959)', '2026-07-28 05:48:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314318 -2.760952)'), GeomFromEWKT('SRID=4674;POINT (-40.314295 -2.760959)'))) / (select extract(epoch from '2026-07-28 05:48:24'::timestamp) - extract(epoch from '2026-07-28 05:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314318 -2.760952)'), GeomFromEWKT('SRID=4674;POINT (-40.314295 -2.760959)'))) / (select extract(epoch from '2026-07-28 05:48:24'::timestamp) - extract(epoch from '2026-07-28 05:48: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'), 47647, 'SRID=4674;POINT (-40.314259 -2.760956)', '2026-07-28 05:48:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314295 -2.760959)'), GeomFromEWKT('SRID=4674;POINT (-40.314259 -2.760956)'))) / (select extract(epoch from '2026-07-28 05:48:34'::timestamp) - extract(epoch from '2026-07-28 05:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314295 -2.760959)'), GeomFromEWKT('SRID=4674;POINT (-40.314259 -2.760956)'))) / (select extract(epoch from '2026-07-28 05:48:34'::timestamp) - extract(epoch from '2026-07-28 05:48: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'), 47647, 'SRID=4674;POINT (-40.314248 -2.760982)', '2026-07-28 05:48:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314259 -2.760956)'), GeomFromEWKT('SRID=4674;POINT (-40.314248 -2.760982)'))) / (select extract(epoch from '2026-07-28 05:48:43'::timestamp) - extract(epoch from '2026-07-28 05:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314259 -2.760956)'), GeomFromEWKT('SRID=4674;POINT (-40.314248 -2.760982)'))) / (select extract(epoch from '2026-07-28 05:48:43'::timestamp) - extract(epoch from '2026-07-28 05:48: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'), 47647, 'SRID=4674;POINT (-40.314238 -2.760988)', '2026-07-28 05:48:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314248 -2.760982)'), GeomFromEWKT('SRID=4674;POINT (-40.314238 -2.760988)'))) / (select extract(epoch from '2026-07-28 05:48:55'::timestamp) - extract(epoch from '2026-07-28 05:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314248 -2.760982)'), GeomFromEWKT('SRID=4674;POINT (-40.314238 -2.760988)'))) / (select extract(epoch from '2026-07-28 05:48:55'::timestamp) - extract(epoch from '2026-07-28 05:48: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'), 47647, 'SRID=4674;POINT (-40.31419 -2.760989)', '2026-07-28 05:49:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314238 -2.760988)'), GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.760989)'))) / (select extract(epoch from '2026-07-28 05:49:04'::timestamp) - extract(epoch from '2026-07-28 05:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314238 -2.760988)'), GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.760989)'))) / (select extract(epoch from '2026-07-28 05:49:04'::timestamp) - extract(epoch from '2026-07-28 05:48: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'), 47647, 'SRID=4674;POINT (-40.314148 -2.760998)', '2026-07-28 05:49:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.760989)'), GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.760998)'))) / (select extract(epoch from '2026-07-28 05:49:11'::timestamp) - extract(epoch from '2026-07-28 05:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.760989)'), GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.760998)'))) / (select extract(epoch from '2026-07-28 05:49:11'::timestamp) - extract(epoch from '2026-07-28 05:49: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'), 47647, 'SRID=4674;POINT (-40.314107 -2.761016)', '2026-07-28 05:49:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.760998)'), GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.761016)'))) / (select extract(epoch from '2026-07-28 05:49:20'::timestamp) - extract(epoch from '2026-07-28 05:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.760998)'), GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.761016)'))) / (select extract(epoch from '2026-07-28 05:49:20'::timestamp) - extract(epoch from '2026-07-28 05:49: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'), 47647, 'SRID=4674;POINT (-40.314073 -2.761017)', '2026-07-28 05:49:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.761016)'), GeomFromEWKT('SRID=4674;POINT (-40.314073 -2.761017)'))) / (select extract(epoch from '2026-07-28 05:49:27'::timestamp) - extract(epoch from '2026-07-28 05:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.761016)'), GeomFromEWKT('SRID=4674;POINT (-40.314073 -2.761017)'))) / (select extract(epoch from '2026-07-28 05:49:27'::timestamp) - extract(epoch from '2026-07-28 05:49: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'), 47647, 'SRID=4674;POINT (-40.31406 -2.761022)', '2026-07-28 05:49:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314073 -2.761017)'), GeomFromEWKT('SRID=4674;POINT (-40.31406 -2.761022)'))) / (select extract(epoch from '2026-07-28 05:49:36'::timestamp) - extract(epoch from '2026-07-28 05:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314073 -2.761017)'), GeomFromEWKT('SRID=4674;POINT (-40.31406 -2.761022)'))) / (select extract(epoch from '2026-07-28 05:49:36'::timestamp) - extract(epoch from '2026-07-28 05:49: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'), 47647, 'SRID=4674;POINT (-40.31402 -2.761031)', '2026-07-28 05:49:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31406 -2.761022)'), GeomFromEWKT('SRID=4674;POINT (-40.31402 -2.761031)'))) / (select extract(epoch from '2026-07-28 05:49:45'::timestamp) - extract(epoch from '2026-07-28 05:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31406 -2.761022)'), GeomFromEWKT('SRID=4674;POINT (-40.31402 -2.761031)'))) / (select extract(epoch from '2026-07-28 05:49:45'::timestamp) - extract(epoch from '2026-07-28 05:49: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'), 47647, 'SRID=4674;POINT (-40.313979 -2.76102)', '2026-07-28 05:49:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31402 -2.761031)'), GeomFromEWKT('SRID=4674;POINT (-40.313979 -2.76102)'))) / (select extract(epoch from '2026-07-28 05:49:52'::timestamp) - extract(epoch from '2026-07-28 05:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31402 -2.761031)'), GeomFromEWKT('SRID=4674;POINT (-40.313979 -2.76102)'))) / (select extract(epoch from '2026-07-28 05:49:52'::timestamp) - extract(epoch from '2026-07-28 05:49: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'), 47647, 'SRID=4674;POINT (-40.313946 -2.761024)', '2026-07-28 05:50:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313979 -2.76102)'), GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.761024)'))) / (select extract(epoch from '2026-07-28 05:50:00'::timestamp) - extract(epoch from '2026-07-28 05:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313979 -2.76102)'), GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.761024)'))) / (select extract(epoch from '2026-07-28 05:50:00'::timestamp) - extract(epoch from '2026-07-28 05:49: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'), 47647, 'SRID=4674;POINT (-40.313897 -2.761052)', '2026-07-28 05:50:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.761024)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.761052)'))) / (select extract(epoch from '2026-07-28 05:50:08'::timestamp) - extract(epoch from '2026-07-28 05:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.761024)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.761052)'))) / (select extract(epoch from '2026-07-28 05:50:08'::timestamp) - extract(epoch from '2026-07-28 05:50: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'), 47647, 'SRID=4674;POINT (-40.313868 -2.761066)', '2026-07-28 05:50:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.761052)'), GeomFromEWKT('SRID=4674;POINT (-40.313868 -2.761066)'))) / (select extract(epoch from '2026-07-28 05:50:16'::timestamp) - extract(epoch from '2026-07-28 05:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.761052)'), GeomFromEWKT('SRID=4674;POINT (-40.313868 -2.761066)'))) / (select extract(epoch from '2026-07-28 05:50:16'::timestamp) - extract(epoch from '2026-07-28 05:50: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'), 47647, 'SRID=4674;POINT (-40.313838 -2.761085)', '2026-07-28 05:50:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313868 -2.761066)'), GeomFromEWKT('SRID=4674;POINT (-40.313838 -2.761085)'))) / (select extract(epoch from '2026-07-28 05:50:23'::timestamp) - extract(epoch from '2026-07-28 05:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313868 -2.761066)'), GeomFromEWKT('SRID=4674;POINT (-40.313838 -2.761085)'))) / (select extract(epoch from '2026-07-28 05:50:23'::timestamp) - extract(epoch from '2026-07-28 05:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313793 -2.761089)', '2026-07-28 05:50:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313838 -2.761085)'), GeomFromEWKT('SRID=4674;POINT (-40.313793 -2.761089)'))) / (select extract(epoch from '2026-07-28 05:50:32'::timestamp) - extract(epoch from '2026-07-28 05:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313838 -2.761085)'), GeomFromEWKT('SRID=4674;POINT (-40.313793 -2.761089)'))) / (select extract(epoch from '2026-07-28 05:50:32'::timestamp) - extract(epoch from '2026-07-28 05:50: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'), 47647, 'SRID=4674;POINT (-40.313775 -2.761114)', '2026-07-28 05:50:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313793 -2.761089)'), GeomFromEWKT('SRID=4674;POINT (-40.313775 -2.761114)'))) / (select extract(epoch from '2026-07-28 05:50:39'::timestamp) - extract(epoch from '2026-07-28 05:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313793 -2.761089)'), GeomFromEWKT('SRID=4674;POINT (-40.313775 -2.761114)'))) / (select extract(epoch from '2026-07-28 05:50:39'::timestamp) - extract(epoch from '2026-07-28 05:50: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'), 47647, 'SRID=4674;POINT (-40.313754 -2.761144)', '2026-07-28 05:50:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313775 -2.761114)'), GeomFromEWKT('SRID=4674;POINT (-40.313754 -2.761144)'))) / (select extract(epoch from '2026-07-28 05:50:47'::timestamp) - extract(epoch from '2026-07-28 05:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313775 -2.761114)'), GeomFromEWKT('SRID=4674;POINT (-40.313754 -2.761144)'))) / (select extract(epoch from '2026-07-28 05:50:47'::timestamp) - extract(epoch from '2026-07-28 05:50: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'), 47647, 'SRID=4674;POINT (-40.313722 -2.761154)', '2026-07-28 05:50:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313754 -2.761144)'), GeomFromEWKT('SRID=4674;POINT (-40.313722 -2.761154)'))) / (select extract(epoch from '2026-07-28 05:50:55'::timestamp) - extract(epoch from '2026-07-28 05:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313754 -2.761144)'), GeomFromEWKT('SRID=4674;POINT (-40.313722 -2.761154)'))) / (select extract(epoch from '2026-07-28 05:50:55'::timestamp) - extract(epoch from '2026-07-28 05:50: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'), 47647, 'SRID=4674;POINT (-40.313705 -2.761173)', '2026-07-28 05:51:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313722 -2.761154)'), GeomFromEWKT('SRID=4674;POINT (-40.313705 -2.761173)'))) / (select extract(epoch from '2026-07-28 05:51:04'::timestamp) - extract(epoch from '2026-07-28 05:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313722 -2.761154)'), GeomFromEWKT('SRID=4674;POINT (-40.313705 -2.761173)'))) / (select extract(epoch from '2026-07-28 05:51:04'::timestamp) - extract(epoch from '2026-07-28 05:50: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'), 47647, 'SRID=4674;POINT (-40.313663 -2.761189)', '2026-07-28 05:51:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313705 -2.761173)'), GeomFromEWKT('SRID=4674;POINT (-40.313663 -2.761189)'))) / (select extract(epoch from '2026-07-28 05:51:12'::timestamp) - extract(epoch from '2026-07-28 05:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313705 -2.761173)'), GeomFromEWKT('SRID=4674;POINT (-40.313663 -2.761189)'))) / (select extract(epoch from '2026-07-28 05:51:12'::timestamp) - extract(epoch from '2026-07-28 05:51: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'), 47647, 'SRID=4674;POINT (-40.313624 -2.761215)', '2026-07-28 05:51:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313663 -2.761189)'), GeomFromEWKT('SRID=4674;POINT (-40.313624 -2.761215)'))) / (select extract(epoch from '2026-07-28 05:51:18'::timestamp) - extract(epoch from '2026-07-28 05:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313663 -2.761189)'), GeomFromEWKT('SRID=4674;POINT (-40.313624 -2.761215)'))) / (select extract(epoch from '2026-07-28 05:51:18'::timestamp) - extract(epoch from '2026-07-28 05:51: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'), 47647, 'SRID=4674;POINT (-40.313599 -2.76125)', '2026-07-28 05:51:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313624 -2.761215)'), GeomFromEWKT('SRID=4674;POINT (-40.313599 -2.76125)'))) / (select extract(epoch from '2026-07-28 05:51:26'::timestamp) - extract(epoch from '2026-07-28 05:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313624 -2.761215)'), GeomFromEWKT('SRID=4674;POINT (-40.313599 -2.76125)'))) / (select extract(epoch from '2026-07-28 05:51:26'::timestamp) - extract(epoch from '2026-07-28 05:51: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'), 47647, 'SRID=4674;POINT (-40.313591 -2.761265)', '2026-07-28 05:51:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313599 -2.76125)'), GeomFromEWKT('SRID=4674;POINT (-40.313591 -2.761265)'))) / (select extract(epoch from '2026-07-28 05:51:33'::timestamp) - extract(epoch from '2026-07-28 05:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313599 -2.76125)'), GeomFromEWKT('SRID=4674;POINT (-40.313591 -2.761265)'))) / (select extract(epoch from '2026-07-28 05:51:33'::timestamp) - extract(epoch from '2026-07-28 05:51: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'), 47647, 'SRID=4674;POINT (-40.313596 -2.761264)', '2026-07-28 05:51:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313591 -2.761265)'), GeomFromEWKT('SRID=4674;POINT (-40.313596 -2.761264)'))) / (select extract(epoch from '2026-07-28 05:51:50'::timestamp) - extract(epoch from '2026-07-28 05:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313591 -2.761265)'), GeomFromEWKT('SRID=4674;POINT (-40.313596 -2.761264)'))) / (select extract(epoch from '2026-07-28 05:51:50'::timestamp) - extract(epoch from '2026-07-28 05:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313606 -2.761257)', '2026-07-28 05:51:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313596 -2.761264)'), GeomFromEWKT('SRID=4674;POINT (-40.313606 -2.761257)'))) / (select extract(epoch from '2026-07-28 05:51:57'::timestamp) - extract(epoch from '2026-07-28 05:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313596 -2.761264)'), GeomFromEWKT('SRID=4674;POINT (-40.313606 -2.761257)'))) / (select extract(epoch from '2026-07-28 05:51:57'::timestamp) - extract(epoch from '2026-07-28 05:51: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'), 47647, 'SRID=4674;POINT (-40.313617 -2.761237)', '2026-07-28 05:52:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313606 -2.761257)'), GeomFromEWKT('SRID=4674;POINT (-40.313617 -2.761237)'))) / (select extract(epoch from '2026-07-28 05:52:06'::timestamp) - extract(epoch from '2026-07-28 05:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313606 -2.761257)'), GeomFromEWKT('SRID=4674;POINT (-40.313617 -2.761237)'))) / (select extract(epoch from '2026-07-28 05:52:06'::timestamp) - extract(epoch from '2026-07-28 05:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31363 -2.761207)', '2026-07-28 05:52:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313617 -2.761237)'), GeomFromEWKT('SRID=4674;POINT (-40.31363 -2.761207)'))) / (select extract(epoch from '2026-07-28 05:52:17'::timestamp) - extract(epoch from '2026-07-28 05:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313617 -2.761237)'), GeomFromEWKT('SRID=4674;POINT (-40.31363 -2.761207)'))) / (select extract(epoch from '2026-07-28 05:52:17'::timestamp) - extract(epoch from '2026-07-28 05:52: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'), 47647, 'SRID=4674;POINT (-40.313644 -2.761191)', '2026-07-28 05:52:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31363 -2.761207)'), GeomFromEWKT('SRID=4674;POINT (-40.313644 -2.761191)'))) / (select extract(epoch from '2026-07-28 05:52:25'::timestamp) - extract(epoch from '2026-07-28 05:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31363 -2.761207)'), GeomFromEWKT('SRID=4674;POINT (-40.313644 -2.761191)'))) / (select extract(epoch from '2026-07-28 05:52:25'::timestamp) - extract(epoch from '2026-07-28 05:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313662 -2.76118)', '2026-07-28 05:52:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313644 -2.761191)'), GeomFromEWKT('SRID=4674;POINT (-40.313662 -2.76118)'))) / (select extract(epoch from '2026-07-28 05:52:33'::timestamp) - extract(epoch from '2026-07-28 05:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313644 -2.761191)'), GeomFromEWKT('SRID=4674;POINT (-40.313662 -2.76118)'))) / (select extract(epoch from '2026-07-28 05:52:33'::timestamp) - extract(epoch from '2026-07-28 05:52:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313673 -2.76117)', '2026-07-28 05:52:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313662 -2.76118)'), GeomFromEWKT('SRID=4674;POINT (-40.313673 -2.76117)'))) / (select extract(epoch from '2026-07-28 05:52:42'::timestamp) - extract(epoch from '2026-07-28 05:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313662 -2.76118)'), GeomFromEWKT('SRID=4674;POINT (-40.313673 -2.76117)'))) / (select extract(epoch from '2026-07-28 05:52:42'::timestamp) - extract(epoch from '2026-07-28 05:52: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'), 47647, 'SRID=4674;POINT (-40.313687 -2.761167)', '2026-07-28 05:52:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313673 -2.76117)'), GeomFromEWKT('SRID=4674;POINT (-40.313687 -2.761167)'))) / (select extract(epoch from '2026-07-28 05:52:50'::timestamp) - extract(epoch from '2026-07-28 05:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313673 -2.76117)'), GeomFromEWKT('SRID=4674;POINT (-40.313687 -2.761167)'))) / (select extract(epoch from '2026-07-28 05:52:50'::timestamp) - extract(epoch from '2026-07-28 05:52: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'), 47647, 'SRID=4674;POINT (-40.313719 -2.761143)', '2026-07-28 05:52:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313687 -2.761167)'), GeomFromEWKT('SRID=4674;POINT (-40.313719 -2.761143)'))) / (select extract(epoch from '2026-07-28 05:52:59'::timestamp) - extract(epoch from '2026-07-28 05:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313687 -2.761167)'), GeomFromEWKT('SRID=4674;POINT (-40.313719 -2.761143)'))) / (select extract(epoch from '2026-07-28 05:52:59'::timestamp) - extract(epoch from '2026-07-28 05:52: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'), 47647, 'SRID=4674;POINT (-40.31376 -2.761149)', '2026-07-28 05:53:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313719 -2.761143)'), GeomFromEWKT('SRID=4674;POINT (-40.31376 -2.761149)'))) / (select extract(epoch from '2026-07-28 05:53:07'::timestamp) - extract(epoch from '2026-07-28 05:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313719 -2.761143)'), GeomFromEWKT('SRID=4674;POINT (-40.31376 -2.761149)'))) / (select extract(epoch from '2026-07-28 05:53:07'::timestamp) - extract(epoch from '2026-07-28 05:52: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'), 47647, 'SRID=4674;POINT (-40.313795 -2.761129)', '2026-07-28 05:53:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31376 -2.761149)'), GeomFromEWKT('SRID=4674;POINT (-40.313795 -2.761129)'))) / (select extract(epoch from '2026-07-28 05:53:15'::timestamp) - extract(epoch from '2026-07-28 05:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31376 -2.761149)'), GeomFromEWKT('SRID=4674;POINT (-40.313795 -2.761129)'))) / (select extract(epoch from '2026-07-28 05:53:15'::timestamp) - extract(epoch from '2026-07-28 05:53: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'), 47647, 'SRID=4674;POINT (-40.313753 -2.761079)', '2026-07-28 05:53:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313795 -2.761129)'), GeomFromEWKT('SRID=4674;POINT (-40.313753 -2.761079)'))) / (select extract(epoch from '2026-07-28 05:53:23'::timestamp) - extract(epoch from '2026-07-28 05:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313795 -2.761129)'), GeomFromEWKT('SRID=4674;POINT (-40.313753 -2.761079)'))) / (select extract(epoch from '2026-07-28 05:53:23'::timestamp) - extract(epoch from '2026-07-28 05:53: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'), 47647, 'SRID=4674;POINT (-40.313756 -2.761066)', '2026-07-28 05:53:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313753 -2.761079)'), GeomFromEWKT('SRID=4674;POINT (-40.313756 -2.761066)'))) / (select extract(epoch from '2026-07-28 05:53:24'::timestamp) - extract(epoch from '2026-07-28 05:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313753 -2.761079)'), GeomFromEWKT('SRID=4674;POINT (-40.313756 -2.761066)'))) / (select extract(epoch from '2026-07-28 05:53:24'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.313746 -2.761003)', '2026-07-28 05:53:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313756 -2.761066)'), GeomFromEWKT('SRID=4674;POINT (-40.313746 -2.761003)'))) / (select extract(epoch from '2026-07-28 05:53:28'::timestamp) - extract(epoch from '2026-07-28 05:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313756 -2.761066)'), GeomFromEWKT('SRID=4674;POINT (-40.313746 -2.761003)'))) / (select extract(epoch from '2026-07-28 05:53:28'::timestamp) - extract(epoch from '2026-07-28 05:53: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'), 47647, 'SRID=4674;POINT (-40.313762 -2.760876)', '2026-07-28 05:53:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313746 -2.761003)'), GeomFromEWKT('SRID=4674;POINT (-40.313762 -2.760876)'))) / (select extract(epoch from '2026-07-28 05:53:35'::timestamp) - extract(epoch from '2026-07-28 05:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313746 -2.761003)'), GeomFromEWKT('SRID=4674;POINT (-40.313762 -2.760876)'))) / (select extract(epoch from '2026-07-28 05:53:35'::timestamp) - extract(epoch from '2026-07-28 05:53:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313836 -2.760785)', '2026-07-28 05:53:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313762 -2.760876)'), GeomFromEWKT('SRID=4674;POINT (-40.313836 -2.760785)'))) / (select extract(epoch from '2026-07-28 05:53:41'::timestamp) - extract(epoch from '2026-07-28 05:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313762 -2.760876)'), GeomFromEWKT('SRID=4674;POINT (-40.313836 -2.760785)'))) / (select extract(epoch from '2026-07-28 05:53:41'::timestamp) - extract(epoch from '2026-07-28 05:53: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'), 47647, 'SRID=4674;POINT (-40.313894 -2.760675)', '2026-07-28 05:53:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313836 -2.760785)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.760675)'))) / (select extract(epoch from '2026-07-28 05:53:47'::timestamp) - extract(epoch from '2026-07-28 05:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313836 -2.760785)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.760675)'))) / (select extract(epoch from '2026-07-28 05:53:47'::timestamp) - extract(epoch from '2026-07-28 05:53: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'), 47647, 'SRID=4674;POINT (-40.313946 -2.760529)', '2026-07-28 05:53:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.760675)'), GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.760529)'))) / (select extract(epoch from '2026-07-28 05:53:55'::timestamp) - extract(epoch from '2026-07-28 05:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.760675)'), GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.760529)'))) / (select extract(epoch from '2026-07-28 05:53:55'::timestamp) - extract(epoch from '2026-07-28 05:53: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'), 47647, 'SRID=4674;POINT (-40.314081 -2.760405)', '2026-07-28 05:54:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.760529)'), GeomFromEWKT('SRID=4674;POINT (-40.314081 -2.760405)'))) / (select extract(epoch from '2026-07-28 05:54:03'::timestamp) - extract(epoch from '2026-07-28 05:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.760529)'), GeomFromEWKT('SRID=4674;POINT (-40.314081 -2.760405)'))) / (select extract(epoch from '2026-07-28 05:54:03'::timestamp) - extract(epoch from '2026-07-28 05:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31423 -2.760269)', '2026-07-28 05:54:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314081 -2.760405)'), GeomFromEWKT('SRID=4674;POINT (-40.31423 -2.760269)'))) / (select extract(epoch from '2026-07-28 05:54:11'::timestamp) - extract(epoch from '2026-07-28 05:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314081 -2.760405)'), GeomFromEWKT('SRID=4674;POINT (-40.31423 -2.760269)'))) / (select extract(epoch from '2026-07-28 05:54:11'::timestamp) - extract(epoch from '2026-07-28 05:54: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'), 47647, 'SRID=4674;POINT (-40.314319 -2.760106)', '2026-07-28 05:54:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31423 -2.760269)'), GeomFromEWKT('SRID=4674;POINT (-40.314319 -2.760106)'))) / (select extract(epoch from '2026-07-28 05:54:19'::timestamp) - extract(epoch from '2026-07-28 05:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31423 -2.760269)'), GeomFromEWKT('SRID=4674;POINT (-40.314319 -2.760106)'))) / (select extract(epoch from '2026-07-28 05:54:19'::timestamp) - extract(epoch from '2026-07-28 05:54: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'), 47647, 'SRID=4674;POINT (-40.314451 -2.759981)', '2026-07-28 05:54:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314319 -2.760106)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.759981)'))) / (select extract(epoch from '2026-07-28 05:54:26'::timestamp) - extract(epoch from '2026-07-28 05:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314319 -2.760106)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.759981)'))) / (select extract(epoch from '2026-07-28 05:54:26'::timestamp) - extract(epoch from '2026-07-28 05:54: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'), 47647, 'SRID=4674;POINT (-40.314576 -2.759843)', '2026-07-28 05:54:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.759981)'), GeomFromEWKT('SRID=4674;POINT (-40.314576 -2.759843)'))) / (select extract(epoch from '2026-07-28 05:54:34'::timestamp) - extract(epoch from '2026-07-28 05:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.759981)'), GeomFromEWKT('SRID=4674;POINT (-40.314576 -2.759843)'))) / (select extract(epoch from '2026-07-28 05:54:34'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.314668 -2.759751)', '2026-07-28 05:54:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314576 -2.759843)'), GeomFromEWKT('SRID=4674;POINT (-40.314668 -2.759751)'))) / (select extract(epoch from '2026-07-28 05:54:40'::timestamp) - extract(epoch from '2026-07-28 05:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314576 -2.759843)'), GeomFromEWKT('SRID=4674;POINT (-40.314668 -2.759751)'))) / (select extract(epoch from '2026-07-28 05:54:40'::timestamp) - extract(epoch from '2026-07-28 05:54: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'), 47647, 'SRID=4674;POINT (-40.314708 -2.759649)', '2026-07-28 05:54:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314668 -2.759751)'), GeomFromEWKT('SRID=4674;POINT (-40.314708 -2.759649)'))) / (select extract(epoch from '2026-07-28 05:54:46'::timestamp) - extract(epoch from '2026-07-28 05:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314668 -2.759751)'), GeomFromEWKT('SRID=4674;POINT (-40.314708 -2.759649)'))) / (select extract(epoch from '2026-07-28 05:54:46'::timestamp) - extract(epoch from '2026-07-28 05:54: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'), 47647, 'SRID=4674;POINT (-40.314769 -2.759509)', '2026-07-28 05:54:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314708 -2.759649)'), GeomFromEWKT('SRID=4674;POINT (-40.314769 -2.759509)'))) / (select extract(epoch from '2026-07-28 05:54:53'::timestamp) - extract(epoch from '2026-07-28 05:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314708 -2.759649)'), GeomFromEWKT('SRID=4674;POINT (-40.314769 -2.759509)'))) / (select extract(epoch from '2026-07-28 05:54:53'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.314853 -2.759344)', '2026-07-28 05:55:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314769 -2.759509)'), GeomFromEWKT('SRID=4674;POINT (-40.314853 -2.759344)'))) / (select extract(epoch from '2026-07-28 05:55:01'::timestamp) - extract(epoch from '2026-07-28 05:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314769 -2.759509)'), GeomFromEWKT('SRID=4674;POINT (-40.314853 -2.759344)'))) / (select extract(epoch from '2026-07-28 05:55:01'::timestamp) - extract(epoch from '2026-07-28 05:54:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314952 -2.75921)', '2026-07-28 05:55:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314853 -2.759344)'), GeomFromEWKT('SRID=4674;POINT (-40.314952 -2.75921)'))) / (select extract(epoch from '2026-07-28 05:55:08'::timestamp) - extract(epoch from '2026-07-28 05:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314853 -2.759344)'), GeomFromEWKT('SRID=4674;POINT (-40.314952 -2.75921)'))) / (select extract(epoch from '2026-07-28 05:55:08'::timestamp) - extract(epoch from '2026-07-28 05:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315103 -2.759057)', '2026-07-28 05:55:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314952 -2.75921)'), GeomFromEWKT('SRID=4674;POINT (-40.315103 -2.759057)'))) / (select extract(epoch from '2026-07-28 05:55:17'::timestamp) - extract(epoch from '2026-07-28 05:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314952 -2.75921)'), GeomFromEWKT('SRID=4674;POINT (-40.315103 -2.759057)'))) / (select extract(epoch from '2026-07-28 05:55:17'::timestamp) - extract(epoch from '2026-07-28 05:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315185 -2.758904)', '2026-07-28 05:55:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315103 -2.759057)'), GeomFromEWKT('SRID=4674;POINT (-40.315185 -2.758904)'))) / (select extract(epoch from '2026-07-28 05:55:24'::timestamp) - extract(epoch from '2026-07-28 05:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315103 -2.759057)'), GeomFromEWKT('SRID=4674;POINT (-40.315185 -2.758904)'))) / (select extract(epoch from '2026-07-28 05:55:24'::timestamp) - extract(epoch from '2026-07-28 05:55: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'), 47647, 'SRID=4674;POINT (-40.315216 -2.758754)', '2026-07-28 05:55:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315185 -2.758904)'), GeomFromEWKT('SRID=4674;POINT (-40.315216 -2.758754)'))) / (select extract(epoch from '2026-07-28 05:55:31'::timestamp) - extract(epoch from '2026-07-28 05:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315185 -2.758904)'), GeomFromEWKT('SRID=4674;POINT (-40.315216 -2.758754)'))) / (select extract(epoch from '2026-07-28 05:55:31'::timestamp) - extract(epoch from '2026-07-28 05:55: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'), 47647, 'SRID=4674;POINT (-40.315199 -2.758651)', '2026-07-28 05:55:38', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315216 -2.758754)'), GeomFromEWKT('SRID=4674;POINT (-40.315199 -2.758651)'))) / (select extract(epoch from '2026-07-28 05:55:38'::timestamp) - extract(epoch from '2026-07-28 05:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315216 -2.758754)'), GeomFromEWKT('SRID=4674;POINT (-40.315199 -2.758651)'))) / (select extract(epoch from '2026-07-28 05:55:38'::timestamp) - extract(epoch from '2026-07-28 05:55: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'), 47647, 'SRID=4674;POINT (-40.315109 -2.758636)', '2026-07-28 05:55:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315199 -2.758651)'), GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.758636)'))) / (select extract(epoch from '2026-07-28 05:55:48'::timestamp) - extract(epoch from '2026-07-28 05:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315199 -2.758651)'), GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.758636)'))) / (select extract(epoch from '2026-07-28 05:55:48'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.315072 -2.758633)', '2026-07-28 05:55:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.758636)'), GeomFromEWKT('SRID=4674;POINT (-40.315072 -2.758633)'))) / (select extract(epoch from '2026-07-28 05:55:54'::timestamp) - extract(epoch from '2026-07-28 05:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.758636)'), GeomFromEWKT('SRID=4674;POINT (-40.315072 -2.758633)'))) / (select extract(epoch from '2026-07-28 05:55:54'::timestamp) - extract(epoch from '2026-07-28 05:55: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'), 47647, 'SRID=4674;POINT (-40.3151 -2.758639)', '2026-07-28 05:56:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315072 -2.758633)'), GeomFromEWKT('SRID=4674;POINT (-40.3151 -2.758639)'))) / (select extract(epoch from '2026-07-28 05:56:02'::timestamp) - extract(epoch from '2026-07-28 05:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315072 -2.758633)'), GeomFromEWKT('SRID=4674;POINT (-40.3151 -2.758639)'))) / (select extract(epoch from '2026-07-28 05:56:02'::timestamp) - extract(epoch from '2026-07-28 05:55: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'), 47647, 'SRID=4674;POINT (-40.315106 -2.758635)', '2026-07-28 05:56:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3151 -2.758639)'), GeomFromEWKT('SRID=4674;POINT (-40.315106 -2.758635)'))) / (select extract(epoch from '2026-07-28 05:56:14'::timestamp) - extract(epoch from '2026-07-28 05:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3151 -2.758639)'), GeomFromEWKT('SRID=4674;POINT (-40.315106 -2.758635)'))) / (select extract(epoch from '2026-07-28 05:56:14'::timestamp) - extract(epoch from '2026-07-28 05:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315104 -2.758624)', '2026-07-28 05:56:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315106 -2.758635)'), GeomFromEWKT('SRID=4674;POINT (-40.315104 -2.758624)'))) / (select extract(epoch from '2026-07-28 05:56:24'::timestamp) - extract(epoch from '2026-07-28 05:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315106 -2.758635)'), GeomFromEWKT('SRID=4674;POINT (-40.315104 -2.758624)'))) / (select extract(epoch from '2026-07-28 05:56:24'::timestamp) - extract(epoch from '2026-07-28 05:56: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'), 47647, 'SRID=4674;POINT (-40.315097 -2.758619)', '2026-07-28 05:56:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315104 -2.758624)'), GeomFromEWKT('SRID=4674;POINT (-40.315097 -2.758619)'))) / (select extract(epoch from '2026-07-28 05:56:32'::timestamp) - extract(epoch from '2026-07-28 05:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315104 -2.758624)'), GeomFromEWKT('SRID=4674;POINT (-40.315097 -2.758619)'))) / (select extract(epoch from '2026-07-28 05:56:32'::timestamp) - extract(epoch from '2026-07-28 05:56: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'), 47647, 'SRID=4674;POINT (-40.315087 -2.758646)', '2026-07-28 05:56:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315097 -2.758619)'), GeomFromEWKT('SRID=4674;POINT (-40.315087 -2.758646)'))) / (select extract(epoch from '2026-07-28 05:56:40'::timestamp) - extract(epoch from '2026-07-28 05:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315097 -2.758619)'), GeomFromEWKT('SRID=4674;POINT (-40.315087 -2.758646)'))) / (select extract(epoch from '2026-07-28 05:56:40'::timestamp) - extract(epoch from '2026-07-28 05:56: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'), 47647, 'SRID=4674;POINT (-40.315086 -2.758688)', '2026-07-28 05:56:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315087 -2.758646)'), GeomFromEWKT('SRID=4674;POINT (-40.315086 -2.758688)'))) / (select extract(epoch from '2026-07-28 05:56:47'::timestamp) - extract(epoch from '2026-07-28 05:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315087 -2.758646)'), GeomFromEWKT('SRID=4674;POINT (-40.315086 -2.758688)'))) / (select extract(epoch from '2026-07-28 05:56:47'::timestamp) - extract(epoch from '2026-07-28 05:56: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'), 47647, 'SRID=4674;POINT (-40.315088 -2.758725)', '2026-07-28 05:56:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315086 -2.758688)'), GeomFromEWKT('SRID=4674;POINT (-40.315088 -2.758725)'))) / (select extract(epoch from '2026-07-28 05:56:55'::timestamp) - extract(epoch from '2026-07-28 05:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315086 -2.758688)'), GeomFromEWKT('SRID=4674;POINT (-40.315088 -2.758725)'))) / (select extract(epoch from '2026-07-28 05:56:55'::timestamp) - extract(epoch from '2026-07-28 05:56:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315057 -2.758744)', '2026-07-28 05:57:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315088 -2.758725)'), GeomFromEWKT('SRID=4674;POINT (-40.315057 -2.758744)'))) / (select extract(epoch from '2026-07-28 05:57:03'::timestamp) - extract(epoch from '2026-07-28 05:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315088 -2.758725)'), GeomFromEWKT('SRID=4674;POINT (-40.315057 -2.758744)'))) / (select extract(epoch from '2026-07-28 05:57:03'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.315021 -2.758754)', '2026-07-28 05:57:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315057 -2.758744)'), GeomFromEWKT('SRID=4674;POINT (-40.315021 -2.758754)'))) / (select extract(epoch from '2026-07-28 05:57:15'::timestamp) - extract(epoch from '2026-07-28 05:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315057 -2.758744)'), GeomFromEWKT('SRID=4674;POINT (-40.315021 -2.758754)'))) / (select extract(epoch from '2026-07-28 05:57:15'::timestamp) - extract(epoch from '2026-07-28 05:57: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'), 47647, 'SRID=4674;POINT (-40.315005 -2.758767)', '2026-07-28 05:57:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315021 -2.758754)'), GeomFromEWKT('SRID=4674;POINT (-40.315005 -2.758767)'))) / (select extract(epoch from '2026-07-28 05:57:22'::timestamp) - extract(epoch from '2026-07-28 05:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315021 -2.758754)'), GeomFromEWKT('SRID=4674;POINT (-40.315005 -2.758767)'))) / (select extract(epoch from '2026-07-28 05:57:22'::timestamp) - extract(epoch from '2026-07-28 05:57: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'), 47647, 'SRID=4674;POINT (-40.31497 -2.758767)', '2026-07-28 05:57:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315005 -2.758767)'), GeomFromEWKT('SRID=4674;POINT (-40.31497 -2.758767)'))) / (select extract(epoch from '2026-07-28 05:57:29'::timestamp) - extract(epoch from '2026-07-28 05:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315005 -2.758767)'), GeomFromEWKT('SRID=4674;POINT (-40.31497 -2.758767)'))) / (select extract(epoch from '2026-07-28 05:57:29'::timestamp) - extract(epoch from '2026-07-28 05:57: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'), 47647, 'SRID=4674;POINT (-40.314934 -2.758763)', '2026-07-28 05:57:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31497 -2.758767)'), GeomFromEWKT('SRID=4674;POINT (-40.314934 -2.758763)'))) / (select extract(epoch from '2026-07-28 05:57:36'::timestamp) - extract(epoch from '2026-07-28 05:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31497 -2.758767)'), GeomFromEWKT('SRID=4674;POINT (-40.314934 -2.758763)'))) / (select extract(epoch from '2026-07-28 05:57:36'::timestamp) - extract(epoch from '2026-07-28 05:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314896 -2.758752)', '2026-07-28 05:57:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314934 -2.758763)'), GeomFromEWKT('SRID=4674;POINT (-40.314896 -2.758752)'))) / (select extract(epoch from '2026-07-28 05:57:44'::timestamp) - extract(epoch from '2026-07-28 05:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314934 -2.758763)'), GeomFromEWKT('SRID=4674;POINT (-40.314896 -2.758752)'))) / (select extract(epoch from '2026-07-28 05:57:44'::timestamp) - extract(epoch from '2026-07-28 05:57: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'), 47647, 'SRID=4674;POINT (-40.314874 -2.758745)', '2026-07-28 05:57:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314896 -2.758752)'), GeomFromEWKT('SRID=4674;POINT (-40.314874 -2.758745)'))) / (select extract(epoch from '2026-07-28 05:57:54'::timestamp) - extract(epoch from '2026-07-28 05:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314896 -2.758752)'), GeomFromEWKT('SRID=4674;POINT (-40.314874 -2.758745)'))) / (select extract(epoch from '2026-07-28 05:57:54'::timestamp) - extract(epoch from '2026-07-28 05:57: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'), 47647, 'SRID=4674;POINT (-40.314871 -2.758751)', '2026-07-28 05:58:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314874 -2.758745)'), GeomFromEWKT('SRID=4674;POINT (-40.314871 -2.758751)'))) / (select extract(epoch from '2026-07-28 05:58:01'::timestamp) - extract(epoch from '2026-07-28 05:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314874 -2.758745)'), GeomFromEWKT('SRID=4674;POINT (-40.314871 -2.758751)'))) / (select extract(epoch from '2026-07-28 05:58:01'::timestamp) - extract(epoch from '2026-07-28 05:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314865 -2.75875)', '2026-07-28 05:58:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314871 -2.758751)'), GeomFromEWKT('SRID=4674;POINT (-40.314865 -2.75875)'))) / (select extract(epoch from '2026-07-28 05:58:09'::timestamp) - extract(epoch from '2026-07-28 05:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314871 -2.758751)'), GeomFromEWKT('SRID=4674;POINT (-40.314865 -2.75875)'))) / (select extract(epoch from '2026-07-28 05:58:09'::timestamp) - extract(epoch from '2026-07-28 05:58: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'), 47647, 'SRID=4674;POINT (-40.314865 -2.758763)', '2026-07-28 05:58:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314865 -2.75875)'), GeomFromEWKT('SRID=4674;POINT (-40.314865 -2.758763)'))) / (select extract(epoch from '2026-07-28 05:58:18'::timestamp) - extract(epoch from '2026-07-28 05:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314865 -2.75875)'), GeomFromEWKT('SRID=4674;POINT (-40.314865 -2.758763)'))) / (select extract(epoch from '2026-07-28 05:58:18'::timestamp) - extract(epoch from '2026-07-28 05:58:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314859 -2.758765)', '2026-07-28 05:58:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314865 -2.758763)'), GeomFromEWKT('SRID=4674;POINT (-40.314859 -2.758765)'))) / (select extract(epoch from '2026-07-28 05:58:33'::timestamp) - extract(epoch from '2026-07-28 05:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314865 -2.758763)'), GeomFromEWKT('SRID=4674;POINT (-40.314859 -2.758765)'))) / (select extract(epoch from '2026-07-28 05:58:33'::timestamp) - extract(epoch from '2026-07-28 05:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314852 -2.758757)', '2026-07-28 05:58:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314859 -2.758765)'), GeomFromEWKT('SRID=4674;POINT (-40.314852 -2.758757)'))) / (select extract(epoch from '2026-07-28 05:58:40'::timestamp) - extract(epoch from '2026-07-28 05:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314859 -2.758765)'), GeomFromEWKT('SRID=4674;POINT (-40.314852 -2.758757)'))) / (select extract(epoch from '2026-07-28 05:58:40'::timestamp) - extract(epoch from '2026-07-28 05: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'), 47647, 'SRID=4674;POINT (-40.314838 -2.758768)', '2026-07-28 05:58:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314852 -2.758757)'), GeomFromEWKT('SRID=4674;POINT (-40.314838 -2.758768)'))) / (select extract(epoch from '2026-07-28 05:58:48'::timestamp) - extract(epoch from '2026-07-28 05:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314852 -2.758757)'), GeomFromEWKT('SRID=4674;POINT (-40.314838 -2.758768)'))) / (select extract(epoch from '2026-07-28 05:58:48'::timestamp) - extract(epoch from '2026-07-28 05:58: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'), 47647, 'SRID=4674;POINT (-40.314767 -2.758779)', '2026-07-28 05:59:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314838 -2.758768)'), GeomFromEWKT('SRID=4674;POINT (-40.314767 -2.758779)'))) / (select extract(epoch from '2026-07-28 05:59:06'::timestamp) - extract(epoch from '2026-07-28 05:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314838 -2.758768)'), GeomFromEWKT('SRID=4674;POINT (-40.314767 -2.758779)'))) / (select extract(epoch from '2026-07-28 05:59:06'::timestamp) - extract(epoch from '2026-07-28 05:58:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314732 -2.758796)', '2026-07-28 05:59:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314767 -2.758779)'), GeomFromEWKT('SRID=4674;POINT (-40.314732 -2.758796)'))) / (select extract(epoch from '2026-07-28 05:59:19'::timestamp) - extract(epoch from '2026-07-28 05:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314767 -2.758779)'), GeomFromEWKT('SRID=4674;POINT (-40.314732 -2.758796)'))) / (select extract(epoch from '2026-07-28 05:59:19'::timestamp) - extract(epoch from '2026-07-28 05:59: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'), 47647, 'SRID=4674;POINT (-40.314728 -2.758795)', '2026-07-28 05:59:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314732 -2.758796)'), GeomFromEWKT('SRID=4674;POINT (-40.314728 -2.758795)'))) / (select extract(epoch from '2026-07-28 05:59:30'::timestamp) - extract(epoch from '2026-07-28 05:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314732 -2.758796)'), GeomFromEWKT('SRID=4674;POINT (-40.314728 -2.758795)'))) / (select extract(epoch from '2026-07-28 05:59:30'::timestamp) - extract(epoch from '2026-07-28 05:59: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'), 47647, 'SRID=4674;POINT (-40.314715 -2.758785)', '2026-07-28 05:59:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314728 -2.758795)'), GeomFromEWKT('SRID=4674;POINT (-40.314715 -2.758785)'))) / (select extract(epoch from '2026-07-28 05:59:41'::timestamp) - extract(epoch from '2026-07-28 05:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314728 -2.758795)'), GeomFromEWKT('SRID=4674;POINT (-40.314715 -2.758785)'))) / (select extract(epoch from '2026-07-28 05:59:41'::timestamp) - extract(epoch from '2026-07-28 05:59: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'), 47647, 'SRID=4674;POINT (-40.314708 -2.758772)', '2026-07-28 05:59:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314715 -2.758785)'), GeomFromEWKT('SRID=4674;POINT (-40.314708 -2.758772)'))) / (select extract(epoch from '2026-07-28 05:59:56'::timestamp) - extract(epoch from '2026-07-28 05:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314715 -2.758785)'), GeomFromEWKT('SRID=4674;POINT (-40.314708 -2.758772)'))) / (select extract(epoch from '2026-07-28 05:59:56'::timestamp) - extract(epoch from '2026-07-28 05:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314699 -2.758763)', '2026-07-28 06:00:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314708 -2.758772)'), GeomFromEWKT('SRID=4674;POINT (-40.314699 -2.758763)'))) / (select extract(epoch from '2026-07-28 06:00:06'::timestamp) - extract(epoch from '2026-07-28 05:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314708 -2.758772)'), GeomFromEWKT('SRID=4674;POINT (-40.314699 -2.758763)'))) / (select extract(epoch from '2026-07-28 06:00:06'::timestamp) - extract(epoch from '2026-07-28 05:59: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'), 47647, 'SRID=4674;POINT (-40.314678 -2.758773)', '2026-07-28 06:00:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314699 -2.758763)'), GeomFromEWKT('SRID=4674;POINT (-40.314678 -2.758773)'))) / (select extract(epoch from '2026-07-28 06:00:15'::timestamp) - extract(epoch from '2026-07-28 06:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314699 -2.758763)'), GeomFromEWKT('SRID=4674;POINT (-40.314678 -2.758773)'))) / (select extract(epoch from '2026-07-28 06:00:15'::timestamp) - extract(epoch from '2026-07-28 06:00: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'), 47647, 'SRID=4674;POINT (-40.314608 -2.758787)', '2026-07-28 06:00:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314678 -2.758773)'), GeomFromEWKT('SRID=4674;POINT (-40.314608 -2.758787)'))) / (select extract(epoch from '2026-07-28 06:00:32'::timestamp) - extract(epoch from '2026-07-28 06:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314678 -2.758773)'), GeomFromEWKT('SRID=4674;POINT (-40.314608 -2.758787)'))) / (select extract(epoch from '2026-07-28 06:00:32'::timestamp) - extract(epoch from '2026-07-28 06:00: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'), 47647, 'SRID=4674;POINT (-40.314589 -2.758796)', '2026-07-28 06:00:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314608 -2.758787)'), GeomFromEWKT('SRID=4674;POINT (-40.314589 -2.758796)'))) / (select extract(epoch from '2026-07-28 06:00:41'::timestamp) - extract(epoch from '2026-07-28 06:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314608 -2.758787)'), GeomFromEWKT('SRID=4674;POINT (-40.314589 -2.758796)'))) / (select extract(epoch from '2026-07-28 06:00:41'::timestamp) - extract(epoch from '2026-07-28 06:00: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'), 47647, 'SRID=4674;POINT (-40.314572 -2.758798)', '2026-07-28 06:00:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314589 -2.758796)'), GeomFromEWKT('SRID=4674;POINT (-40.314572 -2.758798)'))) / (select extract(epoch from '2026-07-28 06:00:49'::timestamp) - extract(epoch from '2026-07-28 06:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314589 -2.758796)'), GeomFromEWKT('SRID=4674;POINT (-40.314572 -2.758798)'))) / (select extract(epoch from '2026-07-28 06:00:49'::timestamp) - extract(epoch from '2026-07-28 06:00: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'), 47647, 'SRID=4674;POINT (-40.314551 -2.758789)', '2026-07-28 06:00:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314572 -2.758798)'), GeomFromEWKT('SRID=4674;POINT (-40.314551 -2.758789)'))) / (select extract(epoch from '2026-07-28 06:00:58'::timestamp) - extract(epoch from '2026-07-28 06:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314572 -2.758798)'), GeomFromEWKT('SRID=4674;POINT (-40.314551 -2.758789)'))) / (select extract(epoch from '2026-07-28 06:00:58'::timestamp) - extract(epoch from '2026-07-28 06:00: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'), 47647, 'SRID=4674;POINT (-40.314552 -2.758785)', '2026-07-28 06:01:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314551 -2.758789)'), GeomFromEWKT('SRID=4674;POINT (-40.314552 -2.758785)'))) / (select extract(epoch from '2026-07-28 06:01:10'::timestamp) - extract(epoch from '2026-07-28 06:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314551 -2.758789)'), GeomFromEWKT('SRID=4674;POINT (-40.314552 -2.758785)'))) / (select extract(epoch from '2026-07-28 06:01:10'::timestamp) - extract(epoch from '2026-07-28 06:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31451 -2.758806)', '2026-07-28 06:01:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314552 -2.758785)'), GeomFromEWKT('SRID=4674;POINT (-40.31451 -2.758806)'))) / (select extract(epoch from '2026-07-28 06:01:21'::timestamp) - extract(epoch from '2026-07-28 06:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314552 -2.758785)'), GeomFromEWKT('SRID=4674;POINT (-40.31451 -2.758806)'))) / (select extract(epoch from '2026-07-28 06:01:21'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314493 -2.758838)', '2026-07-28 06:01:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31451 -2.758806)'), GeomFromEWKT('SRID=4674;POINT (-40.314493 -2.758838)'))) / (select extract(epoch from '2026-07-28 06:01:28'::timestamp) - extract(epoch from '2026-07-28 06:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31451 -2.758806)'), GeomFromEWKT('SRID=4674;POINT (-40.314493 -2.758838)'))) / (select extract(epoch from '2026-07-28 06:01:28'::timestamp) - extract(epoch from '2026-07-28 06:01:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31445 -2.758842)', '2026-07-28 06:01:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314493 -2.758838)'), GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.758842)'))) / (select extract(epoch from '2026-07-28 06:01:35'::timestamp) - extract(epoch from '2026-07-28 06:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314493 -2.758838)'), GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.758842)'))) / (select extract(epoch from '2026-07-28 06:01:35'::timestamp) - extract(epoch from '2026-07-28 06:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314422 -2.758854)', '2026-07-28 06:01:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.758842)'), GeomFromEWKT('SRID=4674;POINT (-40.314422 -2.758854)'))) / (select extract(epoch from '2026-07-28 06:01:42'::timestamp) - extract(epoch from '2026-07-28 06:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.758842)'), GeomFromEWKT('SRID=4674;POINT (-40.314422 -2.758854)'))) / (select extract(epoch from '2026-07-28 06:01:42'::timestamp) - extract(epoch from '2026-07-28 06:01: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'), 47647, 'SRID=4674;POINT (-40.314385 -2.758861)', '2026-07-28 06:01:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314422 -2.758854)'), GeomFromEWKT('SRID=4674;POINT (-40.314385 -2.758861)'))) / (select extract(epoch from '2026-07-28 06:01:50'::timestamp) - extract(epoch from '2026-07-28 06:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314422 -2.758854)'), GeomFromEWKT('SRID=4674;POINT (-40.314385 -2.758861)'))) / (select extract(epoch from '2026-07-28 06:01:50'::timestamp) - extract(epoch from '2026-07-28 06:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314338 -2.758866)', '2026-07-28 06:01:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314385 -2.758861)'), GeomFromEWKT('SRID=4674;POINT (-40.314338 -2.758866)'))) / (select extract(epoch from '2026-07-28 06:01:58'::timestamp) - extract(epoch from '2026-07-28 06:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314385 -2.758861)'), GeomFromEWKT('SRID=4674;POINT (-40.314338 -2.758866)'))) / (select extract(epoch from '2026-07-28 06:01:58'::timestamp) - extract(epoch from '2026-07-28 06:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314285 -2.758868)', '2026-07-28 06:02:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314338 -2.758866)'), GeomFromEWKT('SRID=4674;POINT (-40.314285 -2.758868)'))) / (select extract(epoch from '2026-07-28 06:02:05'::timestamp) - extract(epoch from '2026-07-28 06:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314338 -2.758866)'), GeomFromEWKT('SRID=4674;POINT (-40.314285 -2.758868)'))) / (select extract(epoch from '2026-07-28 06:02:05'::timestamp) - extract(epoch from '2026-07-28 06:01: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'), 47647, 'SRID=4674;POINT (-40.31425 -2.758868)', '2026-07-28 06:02:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314285 -2.758868)'), GeomFromEWKT('SRID=4674;POINT (-40.31425 -2.758868)'))) / (select extract(epoch from '2026-07-28 06:02:12'::timestamp) - extract(epoch from '2026-07-28 06:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314285 -2.758868)'), GeomFromEWKT('SRID=4674;POINT (-40.31425 -2.758868)'))) / (select extract(epoch from '2026-07-28 06:02:12'::timestamp) - extract(epoch from '2026-07-28 06:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314208 -2.75888)', '2026-07-28 06:02:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31425 -2.758868)'), GeomFromEWKT('SRID=4674;POINT (-40.314208 -2.75888)'))) / (select extract(epoch from '2026-07-28 06:02:21'::timestamp) - extract(epoch from '2026-07-28 06:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31425 -2.758868)'), GeomFromEWKT('SRID=4674;POINT (-40.314208 -2.75888)'))) / (select extract(epoch from '2026-07-28 06:02:21'::timestamp) - extract(epoch from '2026-07-28 06:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314185 -2.758888)', '2026-07-28 06:02:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314208 -2.75888)'), GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.758888)'))) / (select extract(epoch from '2026-07-28 06:02:24'::timestamp) - extract(epoch from '2026-07-28 06:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314208 -2.75888)'), GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.758888)'))) / (select extract(epoch from '2026-07-28 06:02:24'::timestamp) - extract(epoch from '2026-07-28 06:02: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'), 47647, 'SRID=4674;POINT (-40.314162 -2.758902)', '2026-07-28 06:02:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.758888)'), GeomFromEWKT('SRID=4674;POINT (-40.314162 -2.758902)'))) / (select extract(epoch from '2026-07-28 06:02:28'::timestamp) - extract(epoch from '2026-07-28 06:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.758888)'), GeomFromEWKT('SRID=4674;POINT (-40.314162 -2.758902)'))) / (select extract(epoch from '2026-07-28 06:02:28'::timestamp) - extract(epoch from '2026-07-28 06:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314107 -2.758932)', '2026-07-28 06:02:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314162 -2.758902)'), GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.758932)'))) / (select extract(epoch from '2026-07-28 06:02:41'::timestamp) - extract(epoch from '2026-07-28 06:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314162 -2.758902)'), GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.758932)'))) / (select extract(epoch from '2026-07-28 06:02:41'::timestamp) - extract(epoch from '2026-07-28 06:02: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'), 47647, 'SRID=4674;POINT (-40.314039 -2.758959)', '2026-07-28 06:02:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.758932)'), GeomFromEWKT('SRID=4674;POINT (-40.314039 -2.758959)'))) / (select extract(epoch from '2026-07-28 06:02:57'::timestamp) - extract(epoch from '2026-07-28 06:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.758932)'), GeomFromEWKT('SRID=4674;POINT (-40.314039 -2.758959)'))) / (select extract(epoch from '2026-07-28 06:02:57'::timestamp) - extract(epoch from '2026-07-28 06:02: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'), 47647, 'SRID=4674;POINT (-40.313956 -2.758977)', '2026-07-28 06:03:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314039 -2.758959)'), GeomFromEWKT('SRID=4674;POINT (-40.313956 -2.758977)'))) / (select extract(epoch from '2026-07-28 06:03:13'::timestamp) - extract(epoch from '2026-07-28 06:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314039 -2.758959)'), GeomFromEWKT('SRID=4674;POINT (-40.313956 -2.758977)'))) / (select extract(epoch from '2026-07-28 06:03:13'::timestamp) - extract(epoch from '2026-07-28 06:02:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313906 -2.758983)', '2026-07-28 06:03:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313956 -2.758977)'), GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.758983)'))) / (select extract(epoch from '2026-07-28 06:03:23'::timestamp) - extract(epoch from '2026-07-28 06:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313956 -2.758977)'), GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.758983)'))) / (select extract(epoch from '2026-07-28 06:03:23'::timestamp) - extract(epoch from '2026-07-28 06:03: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'), 47647, 'SRID=4674;POINT (-40.313877 -2.759014)', '2026-07-28 06:03:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.758983)'), GeomFromEWKT('SRID=4674;POINT (-40.313877 -2.759014)'))) / (select extract(epoch from '2026-07-28 06:03:32'::timestamp) - extract(epoch from '2026-07-28 06:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.758983)'), GeomFromEWKT('SRID=4674;POINT (-40.313877 -2.759014)'))) / (select extract(epoch from '2026-07-28 06:03:32'::timestamp) - extract(epoch from '2026-07-28 06:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313844 -2.759027)', '2026-07-28 06:03:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313877 -2.759014)'), GeomFromEWKT('SRID=4674;POINT (-40.313844 -2.759027)'))) / (select extract(epoch from '2026-07-28 06:03:39'::timestamp) - extract(epoch from '2026-07-28 06:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313877 -2.759014)'), GeomFromEWKT('SRID=4674;POINT (-40.313844 -2.759027)'))) / (select extract(epoch from '2026-07-28 06:03:39'::timestamp) - extract(epoch from '2026-07-28 06:03: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'), 47647, 'SRID=4674;POINT (-40.313788 -2.759041)', '2026-07-28 06:03:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313844 -2.759027)'), GeomFromEWKT('SRID=4674;POINT (-40.313788 -2.759041)'))) / (select extract(epoch from '2026-07-28 06:03:47'::timestamp) - extract(epoch from '2026-07-28 06:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313844 -2.759027)'), GeomFromEWKT('SRID=4674;POINT (-40.313788 -2.759041)'))) / (select extract(epoch from '2026-07-28 06:03:47'::timestamp) - extract(epoch from '2026-07-28 06:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313763 -2.75907)', '2026-07-28 06:03:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313788 -2.759041)'), GeomFromEWKT('SRID=4674;POINT (-40.313763 -2.75907)'))) / (select extract(epoch from '2026-07-28 06:03:55'::timestamp) - extract(epoch from '2026-07-28 06:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313788 -2.759041)'), GeomFromEWKT('SRID=4674;POINT (-40.313763 -2.75907)'))) / (select extract(epoch from '2026-07-28 06:03:55'::timestamp) - extract(epoch from '2026-07-28 06:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313721 -2.759082)', '2026-07-28 06:04:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313763 -2.75907)'), GeomFromEWKT('SRID=4674;POINT (-40.313721 -2.759082)'))) / (select extract(epoch from '2026-07-28 06:04:02'::timestamp) - extract(epoch from '2026-07-28 06:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313763 -2.75907)'), GeomFromEWKT('SRID=4674;POINT (-40.313721 -2.759082)'))) / (select extract(epoch from '2026-07-28 06:04:02'::timestamp) - extract(epoch from '2026-07-28 06:03: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'), 47647, 'SRID=4674;POINT (-40.313676 -2.75908)', '2026-07-28 06:04:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313721 -2.759082)'), GeomFromEWKT('SRID=4674;POINT (-40.313676 -2.75908)'))) / (select extract(epoch from '2026-07-28 06:04:09'::timestamp) - extract(epoch from '2026-07-28 06:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313721 -2.759082)'), GeomFromEWKT('SRID=4674;POINT (-40.313676 -2.75908)'))) / (select extract(epoch from '2026-07-28 06:04:09'::timestamp) - extract(epoch from '2026-07-28 06:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313644 -2.759083)', '2026-07-28 06:04:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313676 -2.75908)'), GeomFromEWKT('SRID=4674;POINT (-40.313644 -2.759083)'))) / (select extract(epoch from '2026-07-28 06:04:17'::timestamp) - extract(epoch from '2026-07-28 06:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313676 -2.75908)'), GeomFromEWKT('SRID=4674;POINT (-40.313644 -2.759083)'))) / (select extract(epoch from '2026-07-28 06:04:17'::timestamp) - extract(epoch from '2026-07-28 06:04: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'), 47647, 'SRID=4674;POINT (-40.313616 -2.759097)', '2026-07-28 06:04:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313644 -2.759083)'), GeomFromEWKT('SRID=4674;POINT (-40.313616 -2.759097)'))) / (select extract(epoch from '2026-07-28 06:04:25'::timestamp) - extract(epoch from '2026-07-28 06:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313644 -2.759083)'), GeomFromEWKT('SRID=4674;POINT (-40.313616 -2.759097)'))) / (select extract(epoch from '2026-07-28 06:04:25'::timestamp) - extract(epoch from '2026-07-28 06:04: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'), 47647, 'SRID=4674;POINT (-40.313564 -2.75911)', '2026-07-28 06:04:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313616 -2.759097)'), GeomFromEWKT('SRID=4674;POINT (-40.313564 -2.75911)'))) / (select extract(epoch from '2026-07-28 06:04:34'::timestamp) - extract(epoch from '2026-07-28 06:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313616 -2.759097)'), GeomFromEWKT('SRID=4674;POINT (-40.313564 -2.75911)'))) / (select extract(epoch from '2026-07-28 06:04:34'::timestamp) - extract(epoch from '2026-07-28 06:04: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'), 47647, 'SRID=4674;POINT (-40.313538 -2.759122)', '2026-07-28 06:04:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313564 -2.75911)'), GeomFromEWKT('SRID=4674;POINT (-40.313538 -2.759122)'))) / (select extract(epoch from '2026-07-28 06:04:42'::timestamp) - extract(epoch from '2026-07-28 06:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313564 -2.75911)'), GeomFromEWKT('SRID=4674;POINT (-40.313538 -2.759122)'))) / (select extract(epoch from '2026-07-28 06:04:42'::timestamp) - extract(epoch from '2026-07-28 06:04: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'), 47647, 'SRID=4674;POINT (-40.313522 -2.759128)', '2026-07-28 06:04:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313538 -2.759122)'), GeomFromEWKT('SRID=4674;POINT (-40.313522 -2.759128)'))) / (select extract(epoch from '2026-07-28 06:04:50'::timestamp) - extract(epoch from '2026-07-28 06:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313538 -2.759122)'), GeomFromEWKT('SRID=4674;POINT (-40.313522 -2.759128)'))) / (select extract(epoch from '2026-07-28 06:04:50'::timestamp) - extract(epoch from '2026-07-28 06:04:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313528 -2.759121)', '2026-07-28 06:04:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313522 -2.759128)'), GeomFromEWKT('SRID=4674;POINT (-40.313528 -2.759121)'))) / (select extract(epoch from '2026-07-28 06:04:59'::timestamp) - extract(epoch from '2026-07-28 06:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313522 -2.759128)'), GeomFromEWKT('SRID=4674;POINT (-40.313528 -2.759121)'))) / (select extract(epoch from '2026-07-28 06:04:59'::timestamp) - extract(epoch from '2026-07-28 06:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313523 -2.759098)', '2026-07-28 06:05:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313528 -2.759121)'), GeomFromEWKT('SRID=4674;POINT (-40.313523 -2.759098)'))) / (select extract(epoch from '2026-07-28 06:05:06'::timestamp) - extract(epoch from '2026-07-28 06:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313528 -2.759121)'), GeomFromEWKT('SRID=4674;POINT (-40.313523 -2.759098)'))) / (select extract(epoch from '2026-07-28 06:05:06'::timestamp) - extract(epoch from '2026-07-28 06:04: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'), 47647, 'SRID=4674;POINT (-40.313534 -2.759081)', '2026-07-28 06:05:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313523 -2.759098)'), GeomFromEWKT('SRID=4674;POINT (-40.313534 -2.759081)'))) / (select extract(epoch from '2026-07-28 06:05:13'::timestamp) - extract(epoch from '2026-07-28 06:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313523 -2.759098)'), GeomFromEWKT('SRID=4674;POINT (-40.313534 -2.759081)'))) / (select extract(epoch from '2026-07-28 06:05:13'::timestamp) - extract(epoch from '2026-07-28 06:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313539 -2.759077)', '2026-07-28 06:05:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313534 -2.759081)'), GeomFromEWKT('SRID=4674;POINT (-40.313539 -2.759077)'))) / (select extract(epoch from '2026-07-28 06:05:22'::timestamp) - extract(epoch from '2026-07-28 06:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313534 -2.759081)'), GeomFromEWKT('SRID=4674;POINT (-40.313539 -2.759077)'))) / (select extract(epoch from '2026-07-28 06:05:22'::timestamp) - extract(epoch from '2026-07-28 06:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313539 -2.759072)', '2026-07-28 06:05:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313539 -2.759077)'), GeomFromEWKT('SRID=4674;POINT (-40.313539 -2.759072)'))) / (select extract(epoch from '2026-07-28 06:05:31'::timestamp) - extract(epoch from '2026-07-28 06:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313539 -2.759077)'), GeomFromEWKT('SRID=4674;POINT (-40.313539 -2.759072)'))) / (select extract(epoch from '2026-07-28 06:05:31'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313516 -2.75908)', '2026-07-28 06:05:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313539 -2.759072)'), GeomFromEWKT('SRID=4674;POINT (-40.313516 -2.75908)'))) / (select extract(epoch from '2026-07-28 06:05:41'::timestamp) - extract(epoch from '2026-07-28 06:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313539 -2.759072)'), GeomFromEWKT('SRID=4674;POINT (-40.313516 -2.75908)'))) / (select extract(epoch from '2026-07-28 06:05:41'::timestamp) - extract(epoch from '2026-07-28 06:05: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'), 47647, 'SRID=4674;POINT (-40.313416 -2.759149)', '2026-07-28 06:05:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313516 -2.75908)'), GeomFromEWKT('SRID=4674;POINT (-40.313416 -2.759149)'))) / (select extract(epoch from '2026-07-28 06:05:59'::timestamp) - extract(epoch from '2026-07-28 06:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313516 -2.75908)'), GeomFromEWKT('SRID=4674;POINT (-40.313416 -2.759149)'))) / (select extract(epoch from '2026-07-28 06:05:59'::timestamp) - extract(epoch from '2026-07-28 06:05:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313338 -2.759201)', '2026-07-28 06:06:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313416 -2.759149)'), GeomFromEWKT('SRID=4674;POINT (-40.313338 -2.759201)'))) / (select extract(epoch from '2026-07-28 06:06:13'::timestamp) - extract(epoch from '2026-07-28 06:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313416 -2.759149)'), GeomFromEWKT('SRID=4674;POINT (-40.313338 -2.759201)'))) / (select extract(epoch from '2026-07-28 06:06:13'::timestamp) - extract(epoch from '2026-07-28 06:05: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'), 47647, 'SRID=4674;POINT (-40.313341 -2.75925)', '2026-07-28 06:06:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313338 -2.759201)'), GeomFromEWKT('SRID=4674;POINT (-40.313341 -2.75925)'))) / (select extract(epoch from '2026-07-28 06:06:20'::timestamp) - extract(epoch from '2026-07-28 06:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313338 -2.759201)'), GeomFromEWKT('SRID=4674;POINT (-40.313341 -2.75925)'))) / (select extract(epoch from '2026-07-28 06:06:20'::timestamp) - extract(epoch from '2026-07-28 06:06: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'), 47647, 'SRID=4674;POINT (-40.313314 -2.759278)', '2026-07-28 06:06:28', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313341 -2.75925)'), GeomFromEWKT('SRID=4674;POINT (-40.313314 -2.759278)'))) / (select extract(epoch from '2026-07-28 06:06:28'::timestamp) - extract(epoch from '2026-07-28 06:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313341 -2.75925)'), GeomFromEWKT('SRID=4674;POINT (-40.313314 -2.759278)'))) / (select extract(epoch from '2026-07-28 06:06:28'::timestamp) - extract(epoch from '2026-07-28 06:06: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'), 47647, 'SRID=4674;POINT (-40.313308 -2.759294)', '2026-07-28 06:06:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313314 -2.759278)'), GeomFromEWKT('SRID=4674;POINT (-40.313308 -2.759294)'))) / (select extract(epoch from '2026-07-28 06:06:35'::timestamp) - extract(epoch from '2026-07-28 06:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313314 -2.759278)'), GeomFromEWKT('SRID=4674;POINT (-40.313308 -2.759294)'))) / (select extract(epoch from '2026-07-28 06:06:35'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313304 -2.759294)', '2026-07-28 06:06:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313308 -2.759294)'), GeomFromEWKT('SRID=4674;POINT (-40.313304 -2.759294)'))) / (select extract(epoch from '2026-07-28 06:06:44'::timestamp) - extract(epoch from '2026-07-28 06:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313308 -2.759294)'), GeomFromEWKT('SRID=4674;POINT (-40.313304 -2.759294)'))) / (select extract(epoch from '2026-07-28 06:06:44'::timestamp) - extract(epoch from '2026-07-28 06:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31331 -2.759295)', '2026-07-28 06:07:00', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313304 -2.759294)'), GeomFromEWKT('SRID=4674;POINT (-40.31331 -2.759295)'))) / (select extract(epoch from '2026-07-28 06:07:00'::timestamp) - extract(epoch from '2026-07-28 06:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313304 -2.759294)'), GeomFromEWKT('SRID=4674;POINT (-40.31331 -2.759295)'))) / (select extract(epoch from '2026-07-28 06:07:00'::timestamp) - extract(epoch from '2026-07-28 06:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313305 -2.759268)', '2026-07-28 06:07:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31331 -2.759295)'), GeomFromEWKT('SRID=4674;POINT (-40.313305 -2.759268)'))) / (select extract(epoch from '2026-07-28 06:07:07'::timestamp) - extract(epoch from '2026-07-28 06:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31331 -2.759295)'), GeomFromEWKT('SRID=4674;POINT (-40.313305 -2.759268)'))) / (select extract(epoch from '2026-07-28 06:07:07'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313311 -2.759227)', '2026-07-28 06:07:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313305 -2.759268)'), GeomFromEWKT('SRID=4674;POINT (-40.313311 -2.759227)'))) / (select extract(epoch from '2026-07-28 06:07:17'::timestamp) - extract(epoch from '2026-07-28 06:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313305 -2.759268)'), GeomFromEWKT('SRID=4674;POINT (-40.313311 -2.759227)'))) / (select extract(epoch from '2026-07-28 06:07:17'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313325 -2.759216)', '2026-07-28 06:07:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313311 -2.759227)'), GeomFromEWKT('SRID=4674;POINT (-40.313325 -2.759216)'))) / (select extract(epoch from '2026-07-28 06:07:24'::timestamp) - extract(epoch from '2026-07-28 06:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313311 -2.759227)'), GeomFromEWKT('SRID=4674;POINT (-40.313325 -2.759216)'))) / (select extract(epoch from '2026-07-28 06:07:24'::timestamp) - extract(epoch from '2026-07-28 06:07: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'), 47647, 'SRID=4674;POINT (-40.313351 -2.759223)', '2026-07-28 06:07:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313325 -2.759216)'), GeomFromEWKT('SRID=4674;POINT (-40.313351 -2.759223)'))) / (select extract(epoch from '2026-07-28 06:07:33'::timestamp) - extract(epoch from '2026-07-28 06:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313325 -2.759216)'), GeomFromEWKT('SRID=4674;POINT (-40.313351 -2.759223)'))) / (select extract(epoch from '2026-07-28 06:07:33'::timestamp) - extract(epoch from '2026-07-28 06:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313377 -2.759225)', '2026-07-28 06:07:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313351 -2.759223)'), GeomFromEWKT('SRID=4674;POINT (-40.313377 -2.759225)'))) / (select extract(epoch from '2026-07-28 06:07:40'::timestamp) - extract(epoch from '2026-07-28 06:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313351 -2.759223)'), GeomFromEWKT('SRID=4674;POINT (-40.313377 -2.759225)'))) / (select extract(epoch from '2026-07-28 06:07:40'::timestamp) - extract(epoch from '2026-07-28 06:07: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'), 47647, 'SRID=4674;POINT (-40.313391 -2.759229)', '2026-07-28 06:07:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313377 -2.759225)'), GeomFromEWKT('SRID=4674;POINT (-40.313391 -2.759229)'))) / (select extract(epoch from '2026-07-28 06:07:50'::timestamp) - extract(epoch from '2026-07-28 06:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313377 -2.759225)'), GeomFromEWKT('SRID=4674;POINT (-40.313391 -2.759229)'))) / (select extract(epoch from '2026-07-28 06:07:50'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313366 -2.75918)', '2026-07-28 06:07:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313391 -2.759229)'), GeomFromEWKT('SRID=4674;POINT (-40.313366 -2.75918)'))) / (select extract(epoch from '2026-07-28 06:07:59'::timestamp) - extract(epoch from '2026-07-28 06:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313391 -2.759229)'), GeomFromEWKT('SRID=4674;POINT (-40.313366 -2.75918)'))) / (select extract(epoch from '2026-07-28 06:07:59'::timestamp) - extract(epoch from '2026-07-28 06:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313332 -2.759147)', '2026-07-28 06:08:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313366 -2.75918)'), GeomFromEWKT('SRID=4674;POINT (-40.313332 -2.759147)'))) / (select extract(epoch from '2026-07-28 06:08:06'::timestamp) - extract(epoch from '2026-07-28 06:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313366 -2.75918)'), GeomFromEWKT('SRID=4674;POINT (-40.313332 -2.759147)'))) / (select extract(epoch from '2026-07-28 06:08:06'::timestamp) - extract(epoch from '2026-07-28 06:07: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'), 47647, 'SRID=4674;POINT (-40.313272 -2.758975)', '2026-07-28 06:08:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313332 -2.759147)'), GeomFromEWKT('SRID=4674;POINT (-40.313272 -2.758975)'))) / (select extract(epoch from '2026-07-28 06:08:13'::timestamp) - extract(epoch from '2026-07-28 06:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313332 -2.759147)'), GeomFromEWKT('SRID=4674;POINT (-40.313272 -2.758975)'))) / (select extract(epoch from '2026-07-28 06:08:13'::timestamp) - extract(epoch from '2026-07-28 06:08: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'), 47647, 'SRID=4674;POINT (-40.31327 -2.758833)', '2026-07-28 06:08:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313272 -2.758975)'), GeomFromEWKT('SRID=4674;POINT (-40.31327 -2.758833)'))) / (select extract(epoch from '2026-07-28 06:08:20'::timestamp) - extract(epoch from '2026-07-28 06:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313272 -2.758975)'), GeomFromEWKT('SRID=4674;POINT (-40.31327 -2.758833)'))) / (select extract(epoch from '2026-07-28 06:08:20'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313336 -2.758709)', '2026-07-28 06:08:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31327 -2.758833)'), GeomFromEWKT('SRID=4674;POINT (-40.313336 -2.758709)'))) / (select extract(epoch from '2026-07-28 06:08:27'::timestamp) - extract(epoch from '2026-07-28 06:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31327 -2.758833)'), GeomFromEWKT('SRID=4674;POINT (-40.313336 -2.758709)'))) / (select extract(epoch from '2026-07-28 06:08:27'::timestamp) - extract(epoch from '2026-07-28 06:08: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'), 47647, 'SRID=4674;POINT (-40.313448 -2.758587)', '2026-07-28 06:08:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313336 -2.758709)'), GeomFromEWKT('SRID=4674;POINT (-40.313448 -2.758587)'))) / (select extract(epoch from '2026-07-28 06:08:34'::timestamp) - extract(epoch from '2026-07-28 06:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313336 -2.758709)'), GeomFromEWKT('SRID=4674;POINT (-40.313448 -2.758587)'))) / (select extract(epoch from '2026-07-28 06:08:34'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313561 -2.758465)', '2026-07-28 06:08:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313448 -2.758587)'), GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.758465)'))) / (select extract(epoch from '2026-07-28 06:08:41'::timestamp) - extract(epoch from '2026-07-28 06:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313448 -2.758587)'), GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.758465)'))) / (select extract(epoch from '2026-07-28 06:08:41'::timestamp) - extract(epoch from '2026-07-28 06:08: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'), 47647, 'SRID=4674;POINT (-40.313691 -2.75828)', '2026-07-28 06:08:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.758465)'), GeomFromEWKT('SRID=4674;POINT (-40.313691 -2.75828)'))) / (select extract(epoch from '2026-07-28 06:08:50'::timestamp) - extract(epoch from '2026-07-28 06:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.758465)'), GeomFromEWKT('SRID=4674;POINT (-40.313691 -2.75828)'))) / (select extract(epoch from '2026-07-28 06:08:50'::timestamp) - extract(epoch from '2026-07-28 06:08:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313766 -2.758128)', '2026-07-28 06:08:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313691 -2.75828)'), GeomFromEWKT('SRID=4674;POINT (-40.313766 -2.758128)'))) / (select extract(epoch from '2026-07-28 06:08:57'::timestamp) - extract(epoch from '2026-07-28 06:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313691 -2.75828)'), GeomFromEWKT('SRID=4674;POINT (-40.313766 -2.758128)'))) / (select extract(epoch from '2026-07-28 06:08:57'::timestamp) - extract(epoch from '2026-07-28 06:08: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'), 47647, 'SRID=4674;POINT (-40.313832 -2.757991)', '2026-07-28 06:09:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313766 -2.758128)'), GeomFromEWKT('SRID=4674;POINT (-40.313832 -2.757991)'))) / (select extract(epoch from '2026-07-28 06:09:04'::timestamp) - extract(epoch from '2026-07-28 06:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313766 -2.758128)'), GeomFromEWKT('SRID=4674;POINT (-40.313832 -2.757991)'))) / (select extract(epoch from '2026-07-28 06:09:04'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313909 -2.757887)', '2026-07-28 06:09:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313832 -2.757991)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.757887)'))) / (select extract(epoch from '2026-07-28 06:09:11'::timestamp) - extract(epoch from '2026-07-28 06:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313832 -2.757991)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.757887)'))) / (select extract(epoch from '2026-07-28 06:09:11'::timestamp) - extract(epoch from '2026-07-28 06:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313972 -2.757742)', '2026-07-28 06:09:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.757887)'), GeomFromEWKT('SRID=4674;POINT (-40.313972 -2.757742)'))) / (select extract(epoch from '2026-07-28 06:09:18'::timestamp) - extract(epoch from '2026-07-28 06:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.757887)'), GeomFromEWKT('SRID=4674;POINT (-40.313972 -2.757742)'))) / (select extract(epoch from '2026-07-28 06:09:18'::timestamp) - extract(epoch from '2026-07-28 06:09: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'), 47647, 'SRID=4674;POINT (-40.314084 -2.757603)', '2026-07-28 06:09:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313972 -2.757742)'), GeomFromEWKT('SRID=4674;POINT (-40.314084 -2.757603)'))) / (select extract(epoch from '2026-07-28 06:09:26'::timestamp) - extract(epoch from '2026-07-28 06:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313972 -2.757742)'), GeomFromEWKT('SRID=4674;POINT (-40.314084 -2.757603)'))) / (select extract(epoch from '2026-07-28 06:09:26'::timestamp) - extract(epoch from '2026-07-28 06:09: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'), 47647, 'SRID=4674;POINT (-40.314173 -2.757479)', '2026-07-28 06:09:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314084 -2.757603)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.757479)'))) / (select extract(epoch from '2026-07-28 06:09:33'::timestamp) - extract(epoch from '2026-07-28 06:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314084 -2.757603)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.757479)'))) / (select extract(epoch from '2026-07-28 06:09:33'::timestamp) - extract(epoch from '2026-07-28 06:09: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'), 47647, 'SRID=4674;POINT (-40.314313 -2.757388)', '2026-07-28 06:09:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.757479)'), GeomFromEWKT('SRID=4674;POINT (-40.314313 -2.757388)'))) / (select extract(epoch from '2026-07-28 06:09:41'::timestamp) - extract(epoch from '2026-07-28 06:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.757479)'), GeomFromEWKT('SRID=4674;POINT (-40.314313 -2.757388)'))) / (select extract(epoch from '2026-07-28 06:09:41'::timestamp) - extract(epoch from '2026-07-28 06:09: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'), 47647, 'SRID=4674;POINT (-40.314436 -2.757268)', '2026-07-28 06:09:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314313 -2.757388)'), GeomFromEWKT('SRID=4674;POINT (-40.314436 -2.757268)'))) / (select extract(epoch from '2026-07-28 06:09:49'::timestamp) - extract(epoch from '2026-07-28 06:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314313 -2.757388)'), GeomFromEWKT('SRID=4674;POINT (-40.314436 -2.757268)'))) / (select extract(epoch from '2026-07-28 06:09:49'::timestamp) - extract(epoch from '2026-07-28 06:09: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'), 47647, 'SRID=4674;POINT (-40.314534 -2.757195)', '2026-07-28 06:09:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314436 -2.757268)'), GeomFromEWKT('SRID=4674;POINT (-40.314534 -2.757195)'))) / (select extract(epoch from '2026-07-28 06:09:55'::timestamp) - extract(epoch from '2026-07-28 06:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314436 -2.757268)'), GeomFromEWKT('SRID=4674;POINT (-40.314534 -2.757195)'))) / (select extract(epoch from '2026-07-28 06:09:55'::timestamp) - extract(epoch from '2026-07-28 06:09: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'), 47647, 'SRID=4674;POINT (-40.314504 -2.757141)', '2026-07-28 06:09:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314534 -2.757195)'), GeomFromEWKT('SRID=4674;POINT (-40.314504 -2.757141)'))) / (select extract(epoch from '2026-07-28 06:09:56'::timestamp) - extract(epoch from '2026-07-28 06:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314534 -2.757195)'), GeomFromEWKT('SRID=4674;POINT (-40.314504 -2.757141)'))) / (select extract(epoch from '2026-07-28 06:09:56'::timestamp) - extract(epoch from '2026-07-28 06:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314498 -2.757023)', '2026-07-28 06:10:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314504 -2.757141)'), GeomFromEWKT('SRID=4674;POINT (-40.314498 -2.757023)'))) / (select extract(epoch from '2026-07-28 06:10:00'::timestamp) - extract(epoch from '2026-07-28 06:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314504 -2.757141)'), GeomFromEWKT('SRID=4674;POINT (-40.314498 -2.757023)'))) / (select extract(epoch from '2026-07-28 06:10:00'::timestamp) - extract(epoch from '2026-07-28 06:09: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'), 47647, 'SRID=4674;POINT (-40.314568 -2.756875)', '2026-07-28 06:10:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314498 -2.757023)'), GeomFromEWKT('SRID=4674;POINT (-40.314568 -2.756875)'))) / (select extract(epoch from '2026-07-28 06:10:07'::timestamp) - extract(epoch from '2026-07-28 06:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314498 -2.757023)'), GeomFromEWKT('SRID=4674;POINT (-40.314568 -2.756875)'))) / (select extract(epoch from '2026-07-28 06:10:07'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314734 -2.756711)', '2026-07-28 06:10:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314568 -2.756875)'), GeomFromEWKT('SRID=4674;POINT (-40.314734 -2.756711)'))) / (select extract(epoch from '2026-07-28 06:10:17'::timestamp) - extract(epoch from '2026-07-28 06:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314568 -2.756875)'), GeomFromEWKT('SRID=4674;POINT (-40.314734 -2.756711)'))) / (select extract(epoch from '2026-07-28 06:10:17'::timestamp) - extract(epoch from '2026-07-28 06:10: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'), 47647, 'SRID=4674;POINT (-40.314756 -2.756578)', '2026-07-28 06:10:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314734 -2.756711)'), GeomFromEWKT('SRID=4674;POINT (-40.314756 -2.756578)'))) / (select extract(epoch from '2026-07-28 06:10:24'::timestamp) - extract(epoch from '2026-07-28 06:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314734 -2.756711)'), GeomFromEWKT('SRID=4674;POINT (-40.314756 -2.756578)'))) / (select extract(epoch from '2026-07-28 06:10:24'::timestamp) - extract(epoch from '2026-07-28 06:10: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'), 47647, 'SRID=4674;POINT (-40.314707 -2.7565)', '2026-07-28 06:10:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314756 -2.756578)'), GeomFromEWKT('SRID=4674;POINT (-40.314707 -2.7565)'))) / (select extract(epoch from '2026-07-28 06:10:30'::timestamp) - extract(epoch from '2026-07-28 06:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314756 -2.756578)'), GeomFromEWKT('SRID=4674;POINT (-40.314707 -2.7565)'))) / (select extract(epoch from '2026-07-28 06:10:30'::timestamp) - extract(epoch from '2026-07-28 06:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314623 -2.756497)', '2026-07-28 06:10:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314707 -2.7565)'), GeomFromEWKT('SRID=4674;POINT (-40.314623 -2.756497)'))) / (select extract(epoch from '2026-07-28 06:10:36'::timestamp) - extract(epoch from '2026-07-28 06:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314707 -2.7565)'), GeomFromEWKT('SRID=4674;POINT (-40.314623 -2.756497)'))) / (select extract(epoch from '2026-07-28 06:10:36'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314523 -2.756519)', '2026-07-28 06:10:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314623 -2.756497)'), GeomFromEWKT('SRID=4674;POINT (-40.314523 -2.756519)'))) / (select extract(epoch from '2026-07-28 06:10:44'::timestamp) - extract(epoch from '2026-07-28 06:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314623 -2.756497)'), GeomFromEWKT('SRID=4674;POINT (-40.314523 -2.756519)'))) / (select extract(epoch from '2026-07-28 06:10:44'::timestamp) - extract(epoch from '2026-07-28 06:10: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'), 47647, 'SRID=4674;POINT (-40.314508 -2.756533)', '2026-07-28 06:10:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314523 -2.756519)'), GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.756533)'))) / (select extract(epoch from '2026-07-28 06:10:50'::timestamp) - extract(epoch from '2026-07-28 06:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314523 -2.756519)'), GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.756533)'))) / (select extract(epoch from '2026-07-28 06:10:50'::timestamp) - extract(epoch from '2026-07-28 06:10: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'), 47647, 'SRID=4674;POINT (-40.314506 -2.75655)', '2026-07-28 06:11:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.756533)'), GeomFromEWKT('SRID=4674;POINT (-40.314506 -2.75655)'))) / (select extract(epoch from '2026-07-28 06:11:00'::timestamp) - extract(epoch from '2026-07-28 06:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.756533)'), GeomFromEWKT('SRID=4674;POINT (-40.314506 -2.75655)'))) / (select extract(epoch from '2026-07-28 06:11:00'::timestamp) - extract(epoch from '2026-07-28 06:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314508 -2.756538)', '2026-07-28 06:11:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314506 -2.75655)'), GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.756538)'))) / (select extract(epoch from '2026-07-28 06:11:12'::timestamp) - extract(epoch from '2026-07-28 06:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314506 -2.75655)'), GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.756538)'))) / (select extract(epoch from '2026-07-28 06:11:12'::timestamp) - extract(epoch from '2026-07-28 06:11:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314511 -2.75653)', '2026-07-28 06:11:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.756538)'), GeomFromEWKT('SRID=4674;POINT (-40.314511 -2.75653)'))) / (select extract(epoch from '2026-07-28 06:11:22'::timestamp) - extract(epoch from '2026-07-28 06:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.756538)'), GeomFromEWKT('SRID=4674;POINT (-40.314511 -2.75653)'))) / (select extract(epoch from '2026-07-28 06:11:22'::timestamp) - extract(epoch from '2026-07-28 06:11: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'), 47647, 'SRID=4674;POINT (-40.314539 -2.756547)', '2026-07-28 06:11:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314511 -2.75653)'), GeomFromEWKT('SRID=4674;POINT (-40.314539 -2.756547)'))) / (select extract(epoch from '2026-07-28 06:11:30'::timestamp) - extract(epoch from '2026-07-28 06:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314511 -2.75653)'), GeomFromEWKT('SRID=4674;POINT (-40.314539 -2.756547)'))) / (select extract(epoch from '2026-07-28 06:11:30'::timestamp) - extract(epoch from '2026-07-28 06:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314535 -2.756557)', '2026-07-28 06:11:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314539 -2.756547)'), GeomFromEWKT('SRID=4674;POINT (-40.314535 -2.756557)'))) / (select extract(epoch from '2026-07-28 06:11:42'::timestamp) - extract(epoch from '2026-07-28 06:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314539 -2.756547)'), GeomFromEWKT('SRID=4674;POINT (-40.314535 -2.756557)'))) / (select extract(epoch from '2026-07-28 06:11:42'::timestamp) - extract(epoch from '2026-07-28 06:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314535 -2.756568)', '2026-07-28 06:11:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314535 -2.756557)'), GeomFromEWKT('SRID=4674;POINT (-40.314535 -2.756568)'))) / (select extract(epoch from '2026-07-28 06:11:50'::timestamp) - extract(epoch from '2026-07-28 06:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314535 -2.756557)'), GeomFromEWKT('SRID=4674;POINT (-40.314535 -2.756568)'))) / (select extract(epoch from '2026-07-28 06:11:50'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314538 -2.75658)', '2026-07-28 06:12:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314535 -2.756568)'), GeomFromEWKT('SRID=4674;POINT (-40.314538 -2.75658)'))) / (select extract(epoch from '2026-07-28 06:12:05'::timestamp) - extract(epoch from '2026-07-28 06:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314535 -2.756568)'), GeomFromEWKT('SRID=4674;POINT (-40.314538 -2.75658)'))) / (select extract(epoch from '2026-07-28 06:12:05'::timestamp) - extract(epoch from '2026-07-28 06:11: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'), 47647, 'SRID=4674;POINT (-40.314527 -2.756585)', '2026-07-28 06:12:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314538 -2.75658)'), GeomFromEWKT('SRID=4674;POINT (-40.314527 -2.756585)'))) / (select extract(epoch from '2026-07-28 06:12:15'::timestamp) - extract(epoch from '2026-07-28 06:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314538 -2.75658)'), GeomFromEWKT('SRID=4674;POINT (-40.314527 -2.756585)'))) / (select extract(epoch from '2026-07-28 06:12:15'::timestamp) - extract(epoch from '2026-07-28 06:12:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314523 -2.756614)', '2026-07-28 06:12:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314527 -2.756585)'), GeomFromEWKT('SRID=4674;POINT (-40.314523 -2.756614)'))) / (select extract(epoch from '2026-07-28 06:12:22'::timestamp) - extract(epoch from '2026-07-28 06:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314527 -2.756585)'), GeomFromEWKT('SRID=4674;POINT (-40.314523 -2.756614)'))) / (select extract(epoch from '2026-07-28 06:12:22'::timestamp) - extract(epoch from '2026-07-28 06:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314512 -2.756631)', '2026-07-28 06:12:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314523 -2.756614)'), GeomFromEWKT('SRID=4674;POINT (-40.314512 -2.756631)'))) / (select extract(epoch from '2026-07-28 06:12:31'::timestamp) - extract(epoch from '2026-07-28 06:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314523 -2.756614)'), GeomFromEWKT('SRID=4674;POINT (-40.314512 -2.756631)'))) / (select extract(epoch from '2026-07-28 06:12:31'::timestamp) - extract(epoch from '2026-07-28 06:12: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'), 47647, 'SRID=4674;POINT (-40.314485 -2.756646)', '2026-07-28 06:12:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314512 -2.756631)'), GeomFromEWKT('SRID=4674;POINT (-40.314485 -2.756646)'))) / (select extract(epoch from '2026-07-28 06:12:40'::timestamp) - extract(epoch from '2026-07-28 06:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314512 -2.756631)'), GeomFromEWKT('SRID=4674;POINT (-40.314485 -2.756646)'))) / (select extract(epoch from '2026-07-28 06:12:40'::timestamp) - extract(epoch from '2026-07-28 06:12: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'), 47647, 'SRID=4674;POINT (-40.314474 -2.756633)', '2026-07-28 06:12:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314485 -2.756646)'), GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.756633)'))) / (select extract(epoch from '2026-07-28 06:12:47'::timestamp) - extract(epoch from '2026-07-28 06:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314485 -2.756646)'), GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.756633)'))) / (select extract(epoch from '2026-07-28 06:12:47'::timestamp) - extract(epoch from '2026-07-28 06:12:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314465 -2.756616)', '2026-07-28 06:12:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.756633)'), GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.756616)'))) / (select extract(epoch from '2026-07-28 06:12:55'::timestamp) - extract(epoch from '2026-07-28 06:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.756633)'), GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.756616)'))) / (select extract(epoch from '2026-07-28 06:12:55'::timestamp) - extract(epoch from '2026-07-28 06:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314448 -2.756596)', '2026-07-28 06:13:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.756616)'), GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.756596)'))) / (select extract(epoch from '2026-07-28 06:13:04'::timestamp) - extract(epoch from '2026-07-28 06:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.756616)'), GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.756596)'))) / (select extract(epoch from '2026-07-28 06:13:04'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314424 -2.756601)', '2026-07-28 06:13:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.756596)'), GeomFromEWKT('SRID=4674;POINT (-40.314424 -2.756601)'))) / (select extract(epoch from '2026-07-28 06:13:12'::timestamp) - extract(epoch from '2026-07-28 06:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.756596)'), GeomFromEWKT('SRID=4674;POINT (-40.314424 -2.756601)'))) / (select extract(epoch from '2026-07-28 06:13:12'::timestamp) - extract(epoch from '2026-07-28 06:13: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'), 47647, 'SRID=4674;POINT (-40.314392 -2.756604)', '2026-07-28 06:13:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314424 -2.756601)'), GeomFromEWKT('SRID=4674;POINT (-40.314392 -2.756604)'))) / (select extract(epoch from '2026-07-28 06:13:18'::timestamp) - extract(epoch from '2026-07-28 06:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314424 -2.756601)'), GeomFromEWKT('SRID=4674;POINT (-40.314392 -2.756604)'))) / (select extract(epoch from '2026-07-28 06:13:18'::timestamp) - extract(epoch from '2026-07-28 06:13: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'), 47647, 'SRID=4674;POINT (-40.314379 -2.756606)', '2026-07-28 06:13:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314392 -2.756604)'), GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.756606)'))) / (select extract(epoch from '2026-07-28 06:13:24'::timestamp) - extract(epoch from '2026-07-28 06:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314392 -2.756604)'), GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.756606)'))) / (select extract(epoch from '2026-07-28 06:13:24'::timestamp) - extract(epoch from '2026-07-28 06:13:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31436 -2.756612)', '2026-07-28 06:13:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.756606)'), GeomFromEWKT('SRID=4674;POINT (-40.31436 -2.756612)'))) / (select extract(epoch from '2026-07-28 06:13:32'::timestamp) - extract(epoch from '2026-07-28 06:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.756606)'), GeomFromEWKT('SRID=4674;POINT (-40.31436 -2.756612)'))) / (select extract(epoch from '2026-07-28 06:13:32'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.31432 -2.756605)', '2026-07-28 06:13:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31436 -2.756612)'), GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.756605)'))) / (select extract(epoch from '2026-07-28 06:13:39'::timestamp) - extract(epoch from '2026-07-28 06:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31436 -2.756612)'), GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.756605)'))) / (select extract(epoch from '2026-07-28 06:13:39'::timestamp) - extract(epoch from '2026-07-28 06:13: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'), 47647, 'SRID=4674;POINT (-40.314273 -2.756608)', '2026-07-28 06:13:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.756605)'), GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.756608)'))) / (select extract(epoch from '2026-07-28 06:13:47'::timestamp) - extract(epoch from '2026-07-28 06:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.756605)'), GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.756608)'))) / (select extract(epoch from '2026-07-28 06:13:47'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314233 -2.756602)', '2026-07-28 06:13:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.756608)'), GeomFromEWKT('SRID=4674;POINT (-40.314233 -2.756602)'))) / (select extract(epoch from '2026-07-28 06:13:55'::timestamp) - extract(epoch from '2026-07-28 06:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.756608)'), GeomFromEWKT('SRID=4674;POINT (-40.314233 -2.756602)'))) / (select extract(epoch from '2026-07-28 06:13:55'::timestamp) - extract(epoch from '2026-07-28 06:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314174 -2.756575)', '2026-07-28 06:14:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314233 -2.756602)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.756575)'))) / (select extract(epoch from '2026-07-28 06:14:03'::timestamp) - extract(epoch from '2026-07-28 06:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314233 -2.756602)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.756575)'))) / (select extract(epoch from '2026-07-28 06:14:03'::timestamp) - extract(epoch from '2026-07-28 06:13: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'), 47647, 'SRID=4674;POINT (-40.314155 -2.756558)', '2026-07-28 06:14:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.756575)'), GeomFromEWKT('SRID=4674;POINT (-40.314155 -2.756558)'))) / (select extract(epoch from '2026-07-28 06:14:09'::timestamp) - extract(epoch from '2026-07-28 06:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.756575)'), GeomFromEWKT('SRID=4674;POINT (-40.314155 -2.756558)'))) / (select extract(epoch from '2026-07-28 06:14:09'::timestamp) - extract(epoch from '2026-07-28 06:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314151 -2.756554)', '2026-07-28 06:14:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314155 -2.756558)'), GeomFromEWKT('SRID=4674;POINT (-40.314151 -2.756554)'))) / (select extract(epoch from '2026-07-28 06:14:10'::timestamp) - extract(epoch from '2026-07-28 06:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314155 -2.756558)'), GeomFromEWKT('SRID=4674;POINT (-40.314151 -2.756554)'))) / (select extract(epoch from '2026-07-28 06:14:10'::timestamp) - extract(epoch from '2026-07-28 06:14: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'), 47647, 'SRID=4674;POINT (-40.31414 -2.756548)', '2026-07-28 06:14:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314151 -2.756554)'), GeomFromEWKT('SRID=4674;POINT (-40.31414 -2.756548)'))) / (select extract(epoch from '2026-07-28 06:14:12'::timestamp) - extract(epoch from '2026-07-28 06:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314151 -2.756554)'), GeomFromEWKT('SRID=4674;POINT (-40.31414 -2.756548)'))) / (select extract(epoch from '2026-07-28 06:14:12'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.31413 -2.756537)', '2026-07-28 06:14:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31414 -2.756548)'), GeomFromEWKT('SRID=4674;POINT (-40.31413 -2.756537)'))) / (select extract(epoch from '2026-07-28 06:14:16'::timestamp) - extract(epoch from '2026-07-28 06:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31414 -2.756548)'), GeomFromEWKT('SRID=4674;POINT (-40.31413 -2.756537)'))) / (select extract(epoch from '2026-07-28 06:14:16'::timestamp) - extract(epoch from '2026-07-28 06:14: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'), 47647, 'SRID=4674;POINT (-40.314088 -2.756502)', '2026-07-28 06:14:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31413 -2.756537)'), GeomFromEWKT('SRID=4674;POINT (-40.314088 -2.756502)'))) / (select extract(epoch from '2026-07-28 06:14:23'::timestamp) - extract(epoch from '2026-07-28 06:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31413 -2.756537)'), GeomFromEWKT('SRID=4674;POINT (-40.314088 -2.756502)'))) / (select extract(epoch from '2026-07-28 06:14:23'::timestamp) - extract(epoch from '2026-07-28 06:14:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314094 -2.756488)', '2026-07-28 06:14:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314088 -2.756502)'), GeomFromEWKT('SRID=4674;POINT (-40.314094 -2.756488)'))) / (select extract(epoch from '2026-07-28 06:14:30'::timestamp) - extract(epoch from '2026-07-28 06:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314088 -2.756502)'), GeomFromEWKT('SRID=4674;POINT (-40.314094 -2.756488)'))) / (select extract(epoch from '2026-07-28 06:14:30'::timestamp) - extract(epoch from '2026-07-28 06:14: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'), 47647, 'SRID=4674;POINT (-40.314068 -2.756469)', '2026-07-28 06:14:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314094 -2.756488)'), GeomFromEWKT('SRID=4674;POINT (-40.314068 -2.756469)'))) / (select extract(epoch from '2026-07-28 06:14:39'::timestamp) - extract(epoch from '2026-07-28 06:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314094 -2.756488)'), GeomFromEWKT('SRID=4674;POINT (-40.314068 -2.756469)'))) / (select extract(epoch from '2026-07-28 06:14:39'::timestamp) - extract(epoch from '2026-07-28 06:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314057 -2.756461)', '2026-07-28 06:14:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314068 -2.756469)'), GeomFromEWKT('SRID=4674;POINT (-40.314057 -2.756461)'))) / (select extract(epoch from '2026-07-28 06:14:48'::timestamp) - extract(epoch from '2026-07-28 06:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314068 -2.756469)'), GeomFromEWKT('SRID=4674;POINT (-40.314057 -2.756461)'))) / (select extract(epoch from '2026-07-28 06:14:48'::timestamp) - extract(epoch from '2026-07-28 06:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314047 -2.756443)', '2026-07-28 06:14:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314057 -2.756461)'), GeomFromEWKT('SRID=4674;POINT (-40.314047 -2.756443)'))) / (select extract(epoch from '2026-07-28 06:14:56'::timestamp) - extract(epoch from '2026-07-28 06:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314057 -2.756461)'), GeomFromEWKT('SRID=4674;POINT (-40.314047 -2.756443)'))) / (select extract(epoch from '2026-07-28 06:14:56'::timestamp) - extract(epoch from '2026-07-28 06:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314038 -2.756434)', '2026-07-28 06:15:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314047 -2.756443)'), GeomFromEWKT('SRID=4674;POINT (-40.314038 -2.756434)'))) / (select extract(epoch from '2026-07-28 06:15:03'::timestamp) - extract(epoch from '2026-07-28 06:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314047 -2.756443)'), GeomFromEWKT('SRID=4674;POINT (-40.314038 -2.756434)'))) / (select extract(epoch from '2026-07-28 06:15:03'::timestamp) - extract(epoch from '2026-07-28 06:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314014 -2.75642)', '2026-07-28 06:15:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314038 -2.756434)'), GeomFromEWKT('SRID=4674;POINT (-40.314014 -2.75642)'))) / (select extract(epoch from '2026-07-28 06:15:10'::timestamp) - extract(epoch from '2026-07-28 06:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314038 -2.756434)'), GeomFromEWKT('SRID=4674;POINT (-40.314014 -2.75642)'))) / (select extract(epoch from '2026-07-28 06:15:10'::timestamp) - extract(epoch from '2026-07-28 06:15:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313983 -2.756412)', '2026-07-28 06:15:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314014 -2.75642)'), GeomFromEWKT('SRID=4674;POINT (-40.313983 -2.756412)'))) / (select extract(epoch from '2026-07-28 06:15:17'::timestamp) - extract(epoch from '2026-07-28 06:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314014 -2.75642)'), GeomFromEWKT('SRID=4674;POINT (-40.313983 -2.756412)'))) / (select extract(epoch from '2026-07-28 06:15:17'::timestamp) - extract(epoch from '2026-07-28 06:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313941 -2.756396)', '2026-07-28 06:15:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313983 -2.756412)'), GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.756396)'))) / (select extract(epoch from '2026-07-28 06:15:24'::timestamp) - extract(epoch from '2026-07-28 06:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313983 -2.756412)'), GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.756396)'))) / (select extract(epoch from '2026-07-28 06:15:24'::timestamp) - extract(epoch from '2026-07-28 06:15: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'), 47647, 'SRID=4674;POINT (-40.313886 -2.756397)', '2026-07-28 06:15:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.756396)'), GeomFromEWKT('SRID=4674;POINT (-40.313886 -2.756397)'))) / (select extract(epoch from '2026-07-28 06:15:32'::timestamp) - extract(epoch from '2026-07-28 06:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.756396)'), GeomFromEWKT('SRID=4674;POINT (-40.313886 -2.756397)'))) / (select extract(epoch from '2026-07-28 06:15:32'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313854 -2.756399)', '2026-07-28 06:15:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313886 -2.756397)'), GeomFromEWKT('SRID=4674;POINT (-40.313854 -2.756399)'))) / (select extract(epoch from '2026-07-28 06:15:39'::timestamp) - extract(epoch from '2026-07-28 06:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313886 -2.756397)'), GeomFromEWKT('SRID=4674;POINT (-40.313854 -2.756399)'))) / (select extract(epoch from '2026-07-28 06:15:39'::timestamp) - extract(epoch from '2026-07-28 06:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313815 -2.756415)', '2026-07-28 06:15:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313854 -2.756399)'), GeomFromEWKT('SRID=4674;POINT (-40.313815 -2.756415)'))) / (select extract(epoch from '2026-07-28 06:15:47'::timestamp) - extract(epoch from '2026-07-28 06:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313854 -2.756399)'), GeomFromEWKT('SRID=4674;POINT (-40.313815 -2.756415)'))) / (select extract(epoch from '2026-07-28 06:15:47'::timestamp) - extract(epoch from '2026-07-28 06:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313779 -2.75643)', '2026-07-28 06:15:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313815 -2.756415)'), GeomFromEWKT('SRID=4674;POINT (-40.313779 -2.75643)'))) / (select extract(epoch from '2026-07-28 06:15:55'::timestamp) - extract(epoch from '2026-07-28 06:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313815 -2.756415)'), GeomFromEWKT('SRID=4674;POINT (-40.313779 -2.75643)'))) / (select extract(epoch from '2026-07-28 06:15:55'::timestamp) - extract(epoch from '2026-07-28 06:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313749 -2.756433)', '2026-07-28 06:16:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313779 -2.75643)'), GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.756433)'))) / (select extract(epoch from '2026-07-28 06:16:02'::timestamp) - extract(epoch from '2026-07-28 06:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313779 -2.75643)'), GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.756433)'))) / (select extract(epoch from '2026-07-28 06:16:02'::timestamp) - extract(epoch from '2026-07-28 06:15: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'), 47647, 'SRID=4674;POINT (-40.313699 -2.756433)', '2026-07-28 06:16:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.756433)'), GeomFromEWKT('SRID=4674;POINT (-40.313699 -2.756433)'))) / (select extract(epoch from '2026-07-28 06:16:11'::timestamp) - extract(epoch from '2026-07-28 06:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.756433)'), GeomFromEWKT('SRID=4674;POINT (-40.313699 -2.756433)'))) / (select extract(epoch from '2026-07-28 06:16:11'::timestamp) - extract(epoch from '2026-07-28 06:16:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313651 -2.756424)', '2026-07-28 06:16:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313699 -2.756433)'), GeomFromEWKT('SRID=4674;POINT (-40.313651 -2.756424)'))) / (select extract(epoch from '2026-07-28 06:16:19'::timestamp) - extract(epoch from '2026-07-28 06:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313699 -2.756433)'), GeomFromEWKT('SRID=4674;POINT (-40.313651 -2.756424)'))) / (select extract(epoch from '2026-07-28 06:16:19'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313605 -2.75641)', '2026-07-28 06:16:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313651 -2.756424)'), GeomFromEWKT('SRID=4674;POINT (-40.313605 -2.75641)'))) / (select extract(epoch from '2026-07-28 06:16:26'::timestamp) - extract(epoch from '2026-07-28 06:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313651 -2.756424)'), GeomFromEWKT('SRID=4674;POINT (-40.313605 -2.75641)'))) / (select extract(epoch from '2026-07-28 06:16:26'::timestamp) - extract(epoch from '2026-07-28 06:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313563 -2.756408)', '2026-07-28 06:16:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313605 -2.75641)'), GeomFromEWKT('SRID=4674;POINT (-40.313563 -2.756408)'))) / (select extract(epoch from '2026-07-28 06:16:34'::timestamp) - extract(epoch from '2026-07-28 06:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313605 -2.75641)'), GeomFromEWKT('SRID=4674;POINT (-40.313563 -2.756408)'))) / (select extract(epoch from '2026-07-28 06:16:34'::timestamp) - extract(epoch from '2026-07-28 06:16: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'), 47647, 'SRID=4674;POINT (-40.313534 -2.756401)', '2026-07-28 06:16:43', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313563 -2.756408)'), GeomFromEWKT('SRID=4674;POINT (-40.313534 -2.756401)'))) / (select extract(epoch from '2026-07-28 06:16:43'::timestamp) - extract(epoch from '2026-07-28 06:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313563 -2.756408)'), GeomFromEWKT('SRID=4674;POINT (-40.313534 -2.756401)'))) / (select extract(epoch from '2026-07-28 06:16:43'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313475 -2.756389)', '2026-07-28 06:16:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313534 -2.756401)'), GeomFromEWKT('SRID=4674;POINT (-40.313475 -2.756389)'))) / (select extract(epoch from '2026-07-28 06:16:53'::timestamp) - extract(epoch from '2026-07-28 06:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313534 -2.756401)'), GeomFromEWKT('SRID=4674;POINT (-40.313475 -2.756389)'))) / (select extract(epoch from '2026-07-28 06:16:53'::timestamp) - extract(epoch from '2026-07-28 06:16: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'), 47647, 'SRID=4674;POINT (-40.313451 -2.756401)', '2026-07-28 06:17:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313475 -2.756389)'), GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.756401)'))) / (select extract(epoch from '2026-07-28 06:17:01'::timestamp) - extract(epoch from '2026-07-28 06:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313475 -2.756389)'), GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.756401)'))) / (select extract(epoch from '2026-07-28 06:17:01'::timestamp) - extract(epoch from '2026-07-28 06:16:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313417 -2.756407)', '2026-07-28 06:17:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.756401)'), GeomFromEWKT('SRID=4674;POINT (-40.313417 -2.756407)'))) / (select extract(epoch from '2026-07-28 06:17:08'::timestamp) - extract(epoch from '2026-07-28 06:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.756401)'), GeomFromEWKT('SRID=4674;POINT (-40.313417 -2.756407)'))) / (select extract(epoch from '2026-07-28 06:17:08'::timestamp) - extract(epoch from '2026-07-28 06:17: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'), 47647, 'SRID=4674;POINT (-40.313387 -2.756429)', '2026-07-28 06:17:14', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313417 -2.756407)'), GeomFromEWKT('SRID=4674;POINT (-40.313387 -2.756429)'))) / (select extract(epoch from '2026-07-28 06:17:14'::timestamp) - extract(epoch from '2026-07-28 06:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313417 -2.756407)'), GeomFromEWKT('SRID=4674;POINT (-40.313387 -2.756429)'))) / (select extract(epoch from '2026-07-28 06:17:14'::timestamp) - extract(epoch from '2026-07-28 06:17:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313342 -2.756444)', '2026-07-28 06:17:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313387 -2.756429)'), GeomFromEWKT('SRID=4674;POINT (-40.313342 -2.756444)'))) / (select extract(epoch from '2026-07-28 06:17:22'::timestamp) - extract(epoch from '2026-07-28 06:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313387 -2.756429)'), GeomFromEWKT('SRID=4674;POINT (-40.313342 -2.756444)'))) / (select extract(epoch from '2026-07-28 06:17:22'::timestamp) - extract(epoch from '2026-07-28 06:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313308 -2.756476)', '2026-07-28 06:17:30', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313342 -2.756444)'), GeomFromEWKT('SRID=4674;POINT (-40.313308 -2.756476)'))) / (select extract(epoch from '2026-07-28 06:17:30'::timestamp) - extract(epoch from '2026-07-28 06:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313342 -2.756444)'), GeomFromEWKT('SRID=4674;POINT (-40.313308 -2.756476)'))) / (select extract(epoch from '2026-07-28 06:17:30'::timestamp) - extract(epoch from '2026-07-28 06:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313296 -2.756496)', '2026-07-28 06:17:36', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313308 -2.756476)'), GeomFromEWKT('SRID=4674;POINT (-40.313296 -2.756496)'))) / (select extract(epoch from '2026-07-28 06:17:36'::timestamp) - extract(epoch from '2026-07-28 06:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313308 -2.756476)'), GeomFromEWKT('SRID=4674;POINT (-40.313296 -2.756496)'))) / (select extract(epoch from '2026-07-28 06:17:36'::timestamp) - extract(epoch from '2026-07-28 06:17: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'), 47647, 'SRID=4674;POINT (-40.313269 -2.756501)', '2026-07-28 06:17:45', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313296 -2.756496)'), GeomFromEWKT('SRID=4674;POINT (-40.313269 -2.756501)'))) / (select extract(epoch from '2026-07-28 06:17:45'::timestamp) - extract(epoch from '2026-07-28 06:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313296 -2.756496)'), GeomFromEWKT('SRID=4674;POINT (-40.313269 -2.756501)'))) / (select extract(epoch from '2026-07-28 06:17:45'::timestamp) - extract(epoch from '2026-07-28 06:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313239 -2.756504)', '2026-07-28 06:17:54', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313269 -2.756501)'), GeomFromEWKT('SRID=4674;POINT (-40.313239 -2.756504)'))) / (select extract(epoch from '2026-07-28 06:17:54'::timestamp) - extract(epoch from '2026-07-28 06:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313269 -2.756501)'), GeomFromEWKT('SRID=4674;POINT (-40.313239 -2.756504)'))) / (select extract(epoch from '2026-07-28 06:17:54'::timestamp) - extract(epoch from '2026-07-28 06:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313196 -2.756528)', '2026-07-28 06:18:02', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313239 -2.756504)'), GeomFromEWKT('SRID=4674;POINT (-40.313196 -2.756528)'))) / (select extract(epoch from '2026-07-28 06:18:02'::timestamp) - extract(epoch from '2026-07-28 06:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313239 -2.756504)'), GeomFromEWKT('SRID=4674;POINT (-40.313196 -2.756528)'))) / (select extract(epoch from '2026-07-28 06:18:02'::timestamp) - extract(epoch from '2026-07-28 06:17: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'), 47647, 'SRID=4674;POINT (-40.313143 -2.756548)', '2026-07-28 06:18:12', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313196 -2.756528)'), GeomFromEWKT('SRID=4674;POINT (-40.313143 -2.756548)'))) / (select extract(epoch from '2026-07-28 06:18:12'::timestamp) - extract(epoch from '2026-07-28 06:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313196 -2.756528)'), GeomFromEWKT('SRID=4674;POINT (-40.313143 -2.756548)'))) / (select extract(epoch from '2026-07-28 06:18:12'::timestamp) - extract(epoch from '2026-07-28 06:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313115 -2.756556)', '2026-07-28 06:18:19', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313143 -2.756548)'), GeomFromEWKT('SRID=4674;POINT (-40.313115 -2.756556)'))) / (select extract(epoch from '2026-07-28 06:18:19'::timestamp) - extract(epoch from '2026-07-28 06:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313143 -2.756548)'), GeomFromEWKT('SRID=4674;POINT (-40.313115 -2.756556)'))) / (select extract(epoch from '2026-07-28 06:18:19'::timestamp) - extract(epoch from '2026-07-28 06:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313083 -2.75656)', '2026-07-28 06:18:26', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313115 -2.756556)'), GeomFromEWKT('SRID=4674;POINT (-40.313083 -2.75656)'))) / (select extract(epoch from '2026-07-28 06:18:26'::timestamp) - extract(epoch from '2026-07-28 06:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313115 -2.756556)'), GeomFromEWKT('SRID=4674;POINT (-40.313083 -2.75656)'))) / (select extract(epoch from '2026-07-28 06:18:26'::timestamp) - extract(epoch from '2026-07-28 06:18:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313044 -2.756555)', '2026-07-28 06:18:33', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313083 -2.75656)'), GeomFromEWKT('SRID=4674;POINT (-40.313044 -2.756555)'))) / (select extract(epoch from '2026-07-28 06:18:33'::timestamp) - extract(epoch from '2026-07-28 06:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313083 -2.75656)'), GeomFromEWKT('SRID=4674;POINT (-40.313044 -2.756555)'))) / (select extract(epoch from '2026-07-28 06:18:33'::timestamp) - extract(epoch from '2026-07-28 06:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313035 -2.756593)', '2026-07-28 06:18:42', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313044 -2.756555)'), GeomFromEWKT('SRID=4674;POINT (-40.313035 -2.756593)'))) / (select extract(epoch from '2026-07-28 06:18:42'::timestamp) - extract(epoch from '2026-07-28 06:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313044 -2.756555)'), GeomFromEWKT('SRID=4674;POINT (-40.313035 -2.756593)'))) / (select extract(epoch from '2026-07-28 06:18:42'::timestamp) - extract(epoch from '2026-07-28 06:18: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'), 47647, 'SRID=4674;POINT (-40.313019 -2.756608)', '2026-07-28 06:18:49', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313035 -2.756593)'), GeomFromEWKT('SRID=4674;POINT (-40.313019 -2.756608)'))) / (select extract(epoch from '2026-07-28 06:18:49'::timestamp) - extract(epoch from '2026-07-28 06:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313035 -2.756593)'), GeomFromEWKT('SRID=4674;POINT (-40.313019 -2.756608)'))) / (select extract(epoch from '2026-07-28 06:18:49'::timestamp) - extract(epoch from '2026-07-28 06:18: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'), 47647, 'SRID=4674;POINT (-40.313019 -2.756609)', '2026-07-28 06:18:59', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313019 -2.756608)'), GeomFromEWKT('SRID=4674;POINT (-40.313019 -2.756609)'))) / (select extract(epoch from '2026-07-28 06:18:59'::timestamp) - extract(epoch from '2026-07-28 06:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313019 -2.756608)'), GeomFromEWKT('SRID=4674;POINT (-40.313019 -2.756609)'))) / (select extract(epoch from '2026-07-28 06:18:59'::timestamp) - extract(epoch from '2026-07-28 06:18: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'), 47647, 'SRID=4674;POINT (-40.313042 -2.756611)', '2026-07-28 06:19:07', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313019 -2.756609)'), GeomFromEWKT('SRID=4674;POINT (-40.313042 -2.756611)'))) / (select extract(epoch from '2026-07-28 06:19:07'::timestamp) - extract(epoch from '2026-07-28 06:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313019 -2.756609)'), GeomFromEWKT('SRID=4674;POINT (-40.313042 -2.756611)'))) / (select extract(epoch from '2026-07-28 06:19:07'::timestamp) - extract(epoch from '2026-07-28 06:18: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'), 47647, 'SRID=4674;POINT (-40.313054 -2.756615)', '2026-07-28 06:19:16', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313042 -2.756611)'), GeomFromEWKT('SRID=4674;POINT (-40.313054 -2.756615)'))) / (select extract(epoch from '2026-07-28 06:19:16'::timestamp) - extract(epoch from '2026-07-28 06:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313042 -2.756611)'), GeomFromEWKT('SRID=4674;POINT (-40.313054 -2.756615)'))) / (select extract(epoch from '2026-07-28 06:19:16'::timestamp) - extract(epoch from '2026-07-28 06:19: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'), 47647, 'SRID=4674;POINT (-40.313093 -2.756601)', '2026-07-28 06:19:25', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313054 -2.756615)'), GeomFromEWKT('SRID=4674;POINT (-40.313093 -2.756601)'))) / (select extract(epoch from '2026-07-28 06:19:25'::timestamp) - extract(epoch from '2026-07-28 06:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313054 -2.756615)'), GeomFromEWKT('SRID=4674;POINT (-40.313093 -2.756601)'))) / (select extract(epoch from '2026-07-28 06:19:25'::timestamp) - extract(epoch from '2026-07-28 06:19: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'), 47647, 'SRID=4674;POINT (-40.313108 -2.756592)', '2026-07-28 06:19:36', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313093 -2.756601)'), GeomFromEWKT('SRID=4674;POINT (-40.313108 -2.756592)'))) / (select extract(epoch from '2026-07-28 06:19:36'::timestamp) - extract(epoch from '2026-07-28 06:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313093 -2.756601)'), GeomFromEWKT('SRID=4674;POINT (-40.313108 -2.756592)'))) / (select extract(epoch from '2026-07-28 06:19:36'::timestamp) - extract(epoch from '2026-07-28 06:19: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'), 47647, 'SRID=4674;POINT (-40.313125 -2.756599)', '2026-07-28 06:19:44', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313108 -2.756592)'), GeomFromEWKT('SRID=4674;POINT (-40.313125 -2.756599)'))) / (select extract(epoch from '2026-07-28 06:19:44'::timestamp) - extract(epoch from '2026-07-28 06:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313108 -2.756592)'), GeomFromEWKT('SRID=4674;POINT (-40.313125 -2.756599)'))) / (select extract(epoch from '2026-07-28 06:19:44'::timestamp) - extract(epoch from '2026-07-28 06:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313147 -2.756576)', '2026-07-28 06:19:58', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313125 -2.756599)'), GeomFromEWKT('SRID=4674;POINT (-40.313147 -2.756576)'))) / (select extract(epoch from '2026-07-28 06:19:58'::timestamp) - extract(epoch from '2026-07-28 06:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313125 -2.756599)'), GeomFromEWKT('SRID=4674;POINT (-40.313147 -2.756576)'))) / (select extract(epoch from '2026-07-28 06:19:58'::timestamp) - extract(epoch from '2026-07-28 06:19: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'), 47647, 'SRID=4674;POINT (-40.313177 -2.756558)', '2026-07-28 06:20:06', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313147 -2.756576)'), GeomFromEWKT('SRID=4674;POINT (-40.313177 -2.756558)'))) / (select extract(epoch from '2026-07-28 06:20:06'::timestamp) - extract(epoch from '2026-07-28 06:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313147 -2.756576)'), GeomFromEWKT('SRID=4674;POINT (-40.313177 -2.756558)'))) / (select extract(epoch from '2026-07-28 06:20:06'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.31319 -2.756517)', '2026-07-28 06:20:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313177 -2.756558)'), GeomFromEWKT('SRID=4674;POINT (-40.31319 -2.756517)'))) / (select extract(epoch from '2026-07-28 06:20:13'::timestamp) - extract(epoch from '2026-07-28 06:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313177 -2.756558)'), GeomFromEWKT('SRID=4674;POINT (-40.31319 -2.756517)'))) / (select extract(epoch from '2026-07-28 06:20:13'::timestamp) - extract(epoch from '2026-07-28 06:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313211 -2.756478)', '2026-07-28 06:20:21', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31319 -2.756517)'), GeomFromEWKT('SRID=4674;POINT (-40.313211 -2.756478)'))) / (select extract(epoch from '2026-07-28 06:20:21'::timestamp) - extract(epoch from '2026-07-28 06:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31319 -2.756517)'), GeomFromEWKT('SRID=4674;POINT (-40.313211 -2.756478)'))) / (select extract(epoch from '2026-07-28 06:20:21'::timestamp) - extract(epoch from '2026-07-28 06:20: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'), 47647, 'SRID=4674;POINT (-40.313241 -2.756461)', '2026-07-28 06:20:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313211 -2.756478)'), GeomFromEWKT('SRID=4674;POINT (-40.313241 -2.756461)'))) / (select extract(epoch from '2026-07-28 06:20:31'::timestamp) - extract(epoch from '2026-07-28 06:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313211 -2.756478)'), GeomFromEWKT('SRID=4674;POINT (-40.313241 -2.756461)'))) / (select extract(epoch from '2026-07-28 06:20:31'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313284 -2.756459)', '2026-07-28 06:20:39', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313241 -2.756461)'), GeomFromEWKT('SRID=4674;POINT (-40.313284 -2.756459)'))) / (select extract(epoch from '2026-07-28 06:20:39'::timestamp) - extract(epoch from '2026-07-28 06:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313241 -2.756461)'), GeomFromEWKT('SRID=4674;POINT (-40.313284 -2.756459)'))) / (select extract(epoch from '2026-07-28 06:20:39'::timestamp) - extract(epoch from '2026-07-28 06:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313311 -2.756459)', '2026-07-28 06:20:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313284 -2.756459)'), GeomFromEWKT('SRID=4674;POINT (-40.313311 -2.756459)'))) / (select extract(epoch from '2026-07-28 06:20:47'::timestamp) - extract(epoch from '2026-07-28 06:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313284 -2.756459)'), GeomFromEWKT('SRID=4674;POINT (-40.313311 -2.756459)'))) / (select extract(epoch from '2026-07-28 06:20:47'::timestamp) - extract(epoch from '2026-07-28 06:20: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'), 47647, 'SRID=4674;POINT (-40.313319 -2.756444)', '2026-07-28 06:20:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313311 -2.756459)'), GeomFromEWKT('SRID=4674;POINT (-40.313319 -2.756444)'))) / (select extract(epoch from '2026-07-28 06:20:56'::timestamp) - extract(epoch from '2026-07-28 06:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313311 -2.756459)'), GeomFromEWKT('SRID=4674;POINT (-40.313319 -2.756444)'))) / (select extract(epoch from '2026-07-28 06:20:56'::timestamp) - extract(epoch from '2026-07-28 06:20: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'), 47647, 'SRID=4674;POINT (-40.313354 -2.756453)', '2026-07-28 06:21:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313319 -2.756444)'), GeomFromEWKT('SRID=4674;POINT (-40.313354 -2.756453)'))) / (select extract(epoch from '2026-07-28 06:21:05'::timestamp) - extract(epoch from '2026-07-28 06:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313319 -2.756444)'), GeomFromEWKT('SRID=4674;POINT (-40.313354 -2.756453)'))) / (select extract(epoch from '2026-07-28 06:21:05'::timestamp) - extract(epoch from '2026-07-28 06:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31339 -2.756467)', '2026-07-28 06:21:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313354 -2.756453)'), GeomFromEWKT('SRID=4674;POINT (-40.31339 -2.756467)'))) / (select extract(epoch from '2026-07-28 06:21:13'::timestamp) - extract(epoch from '2026-07-28 06:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313354 -2.756453)'), GeomFromEWKT('SRID=4674;POINT (-40.31339 -2.756467)'))) / (select extract(epoch from '2026-07-28 06:21:13'::timestamp) - extract(epoch from '2026-07-28 06:21: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'), 47647, 'SRID=4674;POINT (-40.313422 -2.756477)', '2026-07-28 06:21:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31339 -2.756467)'), GeomFromEWKT('SRID=4674;POINT (-40.313422 -2.756477)'))) / (select extract(epoch from '2026-07-28 06:21:21'::timestamp) - extract(epoch from '2026-07-28 06:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31339 -2.756467)'), GeomFromEWKT('SRID=4674;POINT (-40.313422 -2.756477)'))) / (select extract(epoch from '2026-07-28 06:21:21'::timestamp) - extract(epoch from '2026-07-28 06:21: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'), 47647, 'SRID=4674;POINT (-40.31342 -2.756463)', '2026-07-28 06:21:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313422 -2.756477)'), GeomFromEWKT('SRID=4674;POINT (-40.31342 -2.756463)'))) / (select extract(epoch from '2026-07-28 06:21:30'::timestamp) - extract(epoch from '2026-07-28 06:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313422 -2.756477)'), GeomFromEWKT('SRID=4674;POINT (-40.31342 -2.756463)'))) / (select extract(epoch from '2026-07-28 06:21:30'::timestamp) - extract(epoch from '2026-07-28 06:21: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'), 47647, 'SRID=4674;POINT (-40.313434 -2.756455)', '2026-07-28 06:21:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31342 -2.756463)'), GeomFromEWKT('SRID=4674;POINT (-40.313434 -2.756455)'))) / (select extract(epoch from '2026-07-28 06:21:42'::timestamp) - extract(epoch from '2026-07-28 06:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31342 -2.756463)'), GeomFromEWKT('SRID=4674;POINT (-40.313434 -2.756455)'))) / (select extract(epoch from '2026-07-28 06:21:42'::timestamp) - extract(epoch from '2026-07-28 06:21: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'), 47647, 'SRID=4674;POINT (-40.313446 -2.756425)', '2026-07-28 06:21:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313434 -2.756455)'), GeomFromEWKT('SRID=4674;POINT (-40.313446 -2.756425)'))) / (select extract(epoch from '2026-07-28 06:21:49'::timestamp) - extract(epoch from '2026-07-28 06:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313434 -2.756455)'), GeomFromEWKT('SRID=4674;POINT (-40.313446 -2.756425)'))) / (select extract(epoch from '2026-07-28 06:21:49'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313457 -2.756396)', '2026-07-28 06:21:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313446 -2.756425)'), GeomFromEWKT('SRID=4674;POINT (-40.313457 -2.756396)'))) / (select extract(epoch from '2026-07-28 06:21:57'::timestamp) - extract(epoch from '2026-07-28 06:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313446 -2.756425)'), GeomFromEWKT('SRID=4674;POINT (-40.313457 -2.756396)'))) / (select extract(epoch from '2026-07-28 06:21:57'::timestamp) - extract(epoch from '2026-07-28 06:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313474 -2.75634)', '2026-07-28 06:22:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313457 -2.756396)'), GeomFromEWKT('SRID=4674;POINT (-40.313474 -2.75634)'))) / (select extract(epoch from '2026-07-28 06:22:05'::timestamp) - extract(epoch from '2026-07-28 06:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313457 -2.756396)'), GeomFromEWKT('SRID=4674;POINT (-40.313474 -2.75634)'))) / (select extract(epoch from '2026-07-28 06:22:05'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313451 -2.756257)', '2026-07-28 06:22:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313474 -2.75634)'), GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.756257)'))) / (select extract(epoch from '2026-07-28 06:22:14'::timestamp) - extract(epoch from '2026-07-28 06:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313474 -2.75634)'), GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.756257)'))) / (select extract(epoch from '2026-07-28 06:22:14'::timestamp) - extract(epoch from '2026-07-28 06:22: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'), 47647, 'SRID=4674;POINT (-40.313415 -2.756112)', '2026-07-28 06:22:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.756257)'), GeomFromEWKT('SRID=4674;POINT (-40.313415 -2.756112)'))) / (select extract(epoch from '2026-07-28 06:22:21'::timestamp) - extract(epoch from '2026-07-28 06:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.756257)'), GeomFromEWKT('SRID=4674;POINT (-40.313415 -2.756112)'))) / (select extract(epoch from '2026-07-28 06:22:21'::timestamp) - extract(epoch from '2026-07-28 06:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31345 -2.755963)', '2026-07-28 06:22:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313415 -2.756112)'), GeomFromEWKT('SRID=4674;POINT (-40.31345 -2.755963)'))) / (select extract(epoch from '2026-07-28 06:22:28'::timestamp) - extract(epoch from '2026-07-28 06:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313415 -2.756112)'), GeomFromEWKT('SRID=4674;POINT (-40.31345 -2.755963)'))) / (select extract(epoch from '2026-07-28 06:22:28'::timestamp) - extract(epoch from '2026-07-28 06:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313527 -2.755844)', '2026-07-28 06:22:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31345 -2.755963)'), GeomFromEWKT('SRID=4674;POINT (-40.313527 -2.755844)'))) / (select extract(epoch from '2026-07-28 06:22:36'::timestamp) - extract(epoch from '2026-07-28 06:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31345 -2.755963)'), GeomFromEWKT('SRID=4674;POINT (-40.313527 -2.755844)'))) / (select extract(epoch from '2026-07-28 06:22:36'::timestamp) - extract(epoch from '2026-07-28 06:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313687 -2.755752)', '2026-07-28 06:22:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313527 -2.755844)'), GeomFromEWKT('SRID=4674;POINT (-40.313687 -2.755752)'))) / (select extract(epoch from '2026-07-28 06:22:43'::timestamp) - extract(epoch from '2026-07-28 06:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313527 -2.755844)'), GeomFromEWKT('SRID=4674;POINT (-40.313687 -2.755752)'))) / (select extract(epoch from '2026-07-28 06:22:43'::timestamp) - extract(epoch from '2026-07-28 06:22: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'), 47647, 'SRID=4674;POINT (-40.313797 -2.755632)', '2026-07-28 06:22:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313687 -2.755752)'), GeomFromEWKT('SRID=4674;POINT (-40.313797 -2.755632)'))) / (select extract(epoch from '2026-07-28 06:22:50'::timestamp) - extract(epoch from '2026-07-28 06:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313687 -2.755752)'), GeomFromEWKT('SRID=4674;POINT (-40.313797 -2.755632)'))) / (select extract(epoch from '2026-07-28 06:22:50'::timestamp) - extract(epoch from '2026-07-28 06:22: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'), 47647, 'SRID=4674;POINT (-40.313842 -2.755509)', '2026-07-28 06:22:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313797 -2.755632)'), GeomFromEWKT('SRID=4674;POINT (-40.313842 -2.755509)'))) / (select extract(epoch from '2026-07-28 06:22:56'::timestamp) - extract(epoch from '2026-07-28 06:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313797 -2.755632)'), GeomFromEWKT('SRID=4674;POINT (-40.313842 -2.755509)'))) / (select extract(epoch from '2026-07-28 06:22:56'::timestamp) - extract(epoch from '2026-07-28 06:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313907 -2.755351)', '2026-07-28 06:23:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313842 -2.755509)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.755351)'))) / (select extract(epoch from '2026-07-28 06:23:04'::timestamp) - extract(epoch from '2026-07-28 06:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313842 -2.755509)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.755351)'))) / (select extract(epoch from '2026-07-28 06:23:04'::timestamp) - extract(epoch from '2026-07-28 06:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313984 -2.755219)', '2026-07-28 06:23:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.755351)'), GeomFromEWKT('SRID=4674;POINT (-40.313984 -2.755219)'))) / (select extract(epoch from '2026-07-28 06:23:11'::timestamp) - extract(epoch from '2026-07-28 06:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.755351)'), GeomFromEWKT('SRID=4674;POINT (-40.313984 -2.755219)'))) / (select extract(epoch from '2026-07-28 06:23:11'::timestamp) - extract(epoch from '2026-07-28 06:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314079 -2.755033)', '2026-07-28 06:23:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313984 -2.755219)'), GeomFromEWKT('SRID=4674;POINT (-40.314079 -2.755033)'))) / (select extract(epoch from '2026-07-28 06:23:20'::timestamp) - extract(epoch from '2026-07-28 06:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313984 -2.755219)'), GeomFromEWKT('SRID=4674;POINT (-40.314079 -2.755033)'))) / (select extract(epoch from '2026-07-28 06:23:20'::timestamp) - extract(epoch from '2026-07-28 06:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314099 -2.754873)', '2026-07-28 06:23:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314079 -2.755033)'), GeomFromEWKT('SRID=4674;POINT (-40.314099 -2.754873)'))) / (select extract(epoch from '2026-07-28 06:23:27'::timestamp) - extract(epoch from '2026-07-28 06:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314079 -2.755033)'), GeomFromEWKT('SRID=4674;POINT (-40.314099 -2.754873)'))) / (select extract(epoch from '2026-07-28 06:23:27'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314169 -2.754758)', '2026-07-28 06:23:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314099 -2.754873)'), GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.754758)'))) / (select extract(epoch from '2026-07-28 06:23:35'::timestamp) - extract(epoch from '2026-07-28 06:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314099 -2.754873)'), GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.754758)'))) / (select extract(epoch from '2026-07-28 06:23:35'::timestamp) - extract(epoch from '2026-07-28 06:23: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'), 47647, 'SRID=4674;POINT (-40.314289 -2.75471)', '2026-07-28 06:23:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.754758)'), GeomFromEWKT('SRID=4674;POINT (-40.314289 -2.75471)'))) / (select extract(epoch from '2026-07-28 06:23:42'::timestamp) - extract(epoch from '2026-07-28 06:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.754758)'), GeomFromEWKT('SRID=4674;POINT (-40.314289 -2.75471)'))) / (select extract(epoch from '2026-07-28 06:23:42'::timestamp) - extract(epoch from '2026-07-28 06:23: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'), 47647, 'SRID=4674;POINT (-40.314463 -2.754653)', '2026-07-28 06:23:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314289 -2.75471)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.754653)'))) / (select extract(epoch from '2026-07-28 06:23:51'::timestamp) - extract(epoch from '2026-07-28 06:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314289 -2.75471)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.754653)'))) / (select extract(epoch from '2026-07-28 06:23:51'::timestamp) - extract(epoch from '2026-07-28 06:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314584 -2.75459)', '2026-07-28 06:23:58', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.754653)'), GeomFromEWKT('SRID=4674;POINT (-40.314584 -2.75459)'))) / (select extract(epoch from '2026-07-28 06:23:58'::timestamp) - extract(epoch from '2026-07-28 06:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.754653)'), GeomFromEWKT('SRID=4674;POINT (-40.314584 -2.75459)'))) / (select extract(epoch from '2026-07-28 06:23:58'::timestamp) - extract(epoch from '2026-07-28 06:23: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'), 47647, 'SRID=4674;POINT (-40.314769 -2.75449)', '2026-07-28 06:24:07', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314584 -2.75459)'), GeomFromEWKT('SRID=4674;POINT (-40.314769 -2.75449)'))) / (select extract(epoch from '2026-07-28 06:24:07'::timestamp) - extract(epoch from '2026-07-28 06:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314584 -2.75459)'), GeomFromEWKT('SRID=4674;POINT (-40.314769 -2.75449)'))) / (select extract(epoch from '2026-07-28 06:24:07'::timestamp) - extract(epoch from '2026-07-28 06:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314867 -2.754434)', '2026-07-28 06:24:13', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314769 -2.75449)'), GeomFromEWKT('SRID=4674;POINT (-40.314867 -2.754434)'))) / (select extract(epoch from '2026-07-28 06:24:13'::timestamp) - extract(epoch from '2026-07-28 06:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314769 -2.75449)'), GeomFromEWKT('SRID=4674;POINT (-40.314867 -2.754434)'))) / (select extract(epoch from '2026-07-28 06:24:13'::timestamp) - extract(epoch from '2026-07-28 06:24: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'), 47647, 'SRID=4674;POINT (-40.315039 -2.754408)', '2026-07-28 06:24:21', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314867 -2.754434)'), GeomFromEWKT('SRID=4674;POINT (-40.315039 -2.754408)'))) / (select extract(epoch from '2026-07-28 06:24:21'::timestamp) - extract(epoch from '2026-07-28 06:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314867 -2.754434)'), GeomFromEWKT('SRID=4674;POINT (-40.315039 -2.754408)'))) / (select extract(epoch from '2026-07-28 06:24:21'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.315246 -2.754397)', '2026-07-28 06:24:30', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315039 -2.754408)'), GeomFromEWKT('SRID=4674;POINT (-40.315246 -2.754397)'))) / (select extract(epoch from '2026-07-28 06:24:30'::timestamp) - extract(epoch from '2026-07-28 06:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315039 -2.754408)'), GeomFromEWKT('SRID=4674;POINT (-40.315246 -2.754397)'))) / (select extract(epoch from '2026-07-28 06:24:30'::timestamp) - extract(epoch from '2026-07-28 06:24: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'), 47647, 'SRID=4674;POINT (-40.315486 -2.75438)', '2026-07-28 06:24:39', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315246 -2.754397)'), GeomFromEWKT('SRID=4674;POINT (-40.315486 -2.75438)'))) / (select extract(epoch from '2026-07-28 06:24:39'::timestamp) - extract(epoch from '2026-07-28 06:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315246 -2.754397)'), GeomFromEWKT('SRID=4674;POINT (-40.315486 -2.75438)'))) / (select extract(epoch from '2026-07-28 06:24:39'::timestamp) - extract(epoch from '2026-07-28 06:24: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'), 47647, 'SRID=4674;POINT (-40.315622 -2.754415)', '2026-07-28 06:24:47', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315486 -2.75438)'), GeomFromEWKT('SRID=4674;POINT (-40.315622 -2.754415)'))) / (select extract(epoch from '2026-07-28 06:24:47'::timestamp) - extract(epoch from '2026-07-28 06:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315486 -2.75438)'), GeomFromEWKT('SRID=4674;POINT (-40.315622 -2.754415)'))) / (select extract(epoch from '2026-07-28 06:24:47'::timestamp) - extract(epoch from '2026-07-28 06:24: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'), 47647, 'SRID=4674;POINT (-40.315691 -2.754518)', '2026-07-28 06:24:54', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315622 -2.754415)'), GeomFromEWKT('SRID=4674;POINT (-40.315691 -2.754518)'))) / (select extract(epoch from '2026-07-28 06:24:54'::timestamp) - extract(epoch from '2026-07-28 06:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315622 -2.754415)'), GeomFromEWKT('SRID=4674;POINT (-40.315691 -2.754518)'))) / (select extract(epoch from '2026-07-28 06:24:54'::timestamp) - extract(epoch from '2026-07-28 06:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315726 -2.754668)', '2026-07-28 06:25:02', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315691 -2.754518)'), GeomFromEWKT('SRID=4674;POINT (-40.315726 -2.754668)'))) / (select extract(epoch from '2026-07-28 06:25:02'::timestamp) - extract(epoch from '2026-07-28 06:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315691 -2.754518)'), GeomFromEWKT('SRID=4674;POINT (-40.315726 -2.754668)'))) / (select extract(epoch from '2026-07-28 06:25:02'::timestamp) - extract(epoch from '2026-07-28 06:24: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'), 47647, 'SRID=4674;POINT (-40.315717 -2.754771)', '2026-07-28 06:25:10', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315726 -2.754668)'), GeomFromEWKT('SRID=4674;POINT (-40.315717 -2.754771)'))) / (select extract(epoch from '2026-07-28 06:25:10'::timestamp) - extract(epoch from '2026-07-28 06:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315726 -2.754668)'), GeomFromEWKT('SRID=4674;POINT (-40.315717 -2.754771)'))) / (select extract(epoch from '2026-07-28 06:25:10'::timestamp) - extract(epoch from '2026-07-28 06:25:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315707 -2.75482)', '2026-07-28 06:25:17', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315717 -2.754771)'), GeomFromEWKT('SRID=4674;POINT (-40.315707 -2.75482)'))) / (select extract(epoch from '2026-07-28 06:25:17'::timestamp) - extract(epoch from '2026-07-28 06:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315717 -2.754771)'), GeomFromEWKT('SRID=4674;POINT (-40.315707 -2.75482)'))) / (select extract(epoch from '2026-07-28 06:25:17'::timestamp) - extract(epoch from '2026-07-28 06:25: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'), 47647, 'SRID=4674;POINT (-40.315679 -2.75487)', '2026-07-28 06:25:26', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315707 -2.75482)'), GeomFromEWKT('SRID=4674;POINT (-40.315679 -2.75487)'))) / (select extract(epoch from '2026-07-28 06:25:26'::timestamp) - extract(epoch from '2026-07-28 06:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315707 -2.75482)'), GeomFromEWKT('SRID=4674;POINT (-40.315679 -2.75487)'))) / (select extract(epoch from '2026-07-28 06:25:26'::timestamp) - extract(epoch from '2026-07-28 06:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315626 -2.754832)', '2026-07-28 06:25:33', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315679 -2.75487)'), GeomFromEWKT('SRID=4674;POINT (-40.315626 -2.754832)'))) / (select extract(epoch from '2026-07-28 06:25:33'::timestamp) - extract(epoch from '2026-07-28 06:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315679 -2.75487)'), GeomFromEWKT('SRID=4674;POINT (-40.315626 -2.754832)'))) / (select extract(epoch from '2026-07-28 06:25:33'::timestamp) - extract(epoch from '2026-07-28 06:25:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315622 -2.754803)', '2026-07-28 06:25:36', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315626 -2.754832)'), GeomFromEWKT('SRID=4674;POINT (-40.315622 -2.754803)'))) / (select extract(epoch from '2026-07-28 06:25:36'::timestamp) - extract(epoch from '2026-07-28 06:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315626 -2.754832)'), GeomFromEWKT('SRID=4674;POINT (-40.315622 -2.754803)'))) / (select extract(epoch from '2026-07-28 06:25:36'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.315634 -2.754758)', '2026-07-28 06:25:39', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315622 -2.754803)'), GeomFromEWKT('SRID=4674;POINT (-40.315634 -2.754758)'))) / (select extract(epoch from '2026-07-28 06:25:39'::timestamp) - extract(epoch from '2026-07-28 06:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315622 -2.754803)'), GeomFromEWKT('SRID=4674;POINT (-40.315634 -2.754758)'))) / (select extract(epoch from '2026-07-28 06:25:39'::timestamp) - extract(epoch from '2026-07-28 06:25:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315647 -2.754675)', '2026-07-28 06:25:45', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315634 -2.754758)'), GeomFromEWKT('SRID=4674;POINT (-40.315647 -2.754675)'))) / (select extract(epoch from '2026-07-28 06:25:45'::timestamp) - extract(epoch from '2026-07-28 06:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315634 -2.754758)'), GeomFromEWKT('SRID=4674;POINT (-40.315647 -2.754675)'))) / (select extract(epoch from '2026-07-28 06:25:45'::timestamp) - extract(epoch from '2026-07-28 06:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315671 -2.754673)', '2026-07-28 06:25:47', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315647 -2.754675)'), GeomFromEWKT('SRID=4674;POINT (-40.315671 -2.754673)'))) / (select extract(epoch from '2026-07-28 06:25:47'::timestamp) - extract(epoch from '2026-07-28 06:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315647 -2.754675)'), GeomFromEWKT('SRID=4674;POINT (-40.315671 -2.754673)'))) / (select extract(epoch from '2026-07-28 06:25:47'::timestamp) - extract(epoch from '2026-07-28 06:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315712 -2.754701)', '2026-07-28 06:25:54', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315671 -2.754673)'), GeomFromEWKT('SRID=4674;POINT (-40.315712 -2.754701)'))) / (select extract(epoch from '2026-07-28 06:25:54'::timestamp) - extract(epoch from '2026-07-28 06:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315671 -2.754673)'), GeomFromEWKT('SRID=4674;POINT (-40.315712 -2.754701)'))) / (select extract(epoch from '2026-07-28 06:25:54'::timestamp) - extract(epoch from '2026-07-28 06:25: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'), 47647, 'SRID=4674;POINT (-40.315694 -2.754798)', '2026-07-28 06:26:02', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315712 -2.754701)'), GeomFromEWKT('SRID=4674;POINT (-40.315694 -2.754798)'))) / (select extract(epoch from '2026-07-28 06:26:02'::timestamp) - extract(epoch from '2026-07-28 06:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315712 -2.754701)'), GeomFromEWKT('SRID=4674;POINT (-40.315694 -2.754798)'))) / (select extract(epoch from '2026-07-28 06:26:02'::timestamp) - extract(epoch from '2026-07-28 06:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315685 -2.754806)', '2026-07-28 06:26:03', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315694 -2.754798)'), GeomFromEWKT('SRID=4674;POINT (-40.315685 -2.754806)'))) / (select extract(epoch from '2026-07-28 06:26:03'::timestamp) - extract(epoch from '2026-07-28 06:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315694 -2.754798)'), GeomFromEWKT('SRID=4674;POINT (-40.315685 -2.754806)'))) / (select extract(epoch from '2026-07-28 06:26:03'::timestamp) - extract(epoch from '2026-07-28 06:26: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'), 47647, 'SRID=4674;POINT (-40.315644 -2.754842)', '2026-07-28 06:26:07', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315685 -2.754806)'), GeomFromEWKT('SRID=4674;POINT (-40.315644 -2.754842)'))) / (select extract(epoch from '2026-07-28 06:26:07'::timestamp) - extract(epoch from '2026-07-28 06:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315685 -2.754806)'), GeomFromEWKT('SRID=4674;POINT (-40.315644 -2.754842)'))) / (select extract(epoch from '2026-07-28 06:26:07'::timestamp) - extract(epoch from '2026-07-28 06:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315636 -2.754859)', '2026-07-28 06:26:13', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315644 -2.754842)'), GeomFromEWKT('SRID=4674;POINT (-40.315636 -2.754859)'))) / (select extract(epoch from '2026-07-28 06:26:13'::timestamp) - extract(epoch from '2026-07-28 06:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315644 -2.754842)'), GeomFromEWKT('SRID=4674;POINT (-40.315636 -2.754859)'))) / (select extract(epoch from '2026-07-28 06:26:13'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.315627 -2.754857)', '2026-07-28 06:26:21', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315636 -2.754859)'), GeomFromEWKT('SRID=4674;POINT (-40.315627 -2.754857)'))) / (select extract(epoch from '2026-07-28 06:26:21'::timestamp) - extract(epoch from '2026-07-28 06:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315636 -2.754859)'), GeomFromEWKT('SRID=4674;POINT (-40.315627 -2.754857)'))) / (select extract(epoch from '2026-07-28 06:26:21'::timestamp) - extract(epoch from '2026-07-28 06:26: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'), 47647, 'SRID=4674;POINT (-40.315661 -2.754839)', '2026-07-28 06:26:28', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315627 -2.754857)'), GeomFromEWKT('SRID=4674;POINT (-40.315661 -2.754839)'))) / (select extract(epoch from '2026-07-28 06:26:28'::timestamp) - extract(epoch from '2026-07-28 06:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315627 -2.754857)'), GeomFromEWKT('SRID=4674;POINT (-40.315661 -2.754839)'))) / (select extract(epoch from '2026-07-28 06:26:28'::timestamp) - extract(epoch from '2026-07-28 06:26: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'), 47647, 'SRID=4674;POINT (-40.315715 -2.754829)', '2026-07-28 06:26:35', 32, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315661 -2.754839)'), GeomFromEWKT('SRID=4674;POINT (-40.315715 -2.754829)'))) / (select extract(epoch from '2026-07-28 06:26:35'::timestamp) - extract(epoch from '2026-07-28 06:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315661 -2.754839)'), GeomFromEWKT('SRID=4674;POINT (-40.315715 -2.754829)'))) / (select extract(epoch from '2026-07-28 06:26:35'::timestamp) - extract(epoch from '2026-07-28 06:26: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'), 47647, 'SRID=4674;POINT (-40.315764 -2.754822)', '2026-07-28 06:26:44', 32, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315715 -2.754829)'), GeomFromEWKT('SRID=4674;POINT (-40.315764 -2.754822)'))) / (select extract(epoch from '2026-07-28 06:26:44'::timestamp) - extract(epoch from '2026-07-28 06:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315715 -2.754829)'), GeomFromEWKT('SRID=4674;POINT (-40.315764 -2.754822)'))) / (select extract(epoch from '2026-07-28 06:26:44'::timestamp) - extract(epoch from '2026-07-28 06:26: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'), 47647, 'SRID=4674;POINT (-40.31573 -2.754826)', '2026-07-28 06:26:50', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315764 -2.754822)'), GeomFromEWKT('SRID=4674;POINT (-40.31573 -2.754826)'))) / (select extract(epoch from '2026-07-28 06:26:50'::timestamp) - extract(epoch from '2026-07-28 06:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315764 -2.754822)'), GeomFromEWKT('SRID=4674;POINT (-40.31573 -2.754826)'))) / (select extract(epoch from '2026-07-28 06:26:50'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.315679 -2.75484)', '2026-07-28 06:26:57', 31.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31573 -2.754826)'), GeomFromEWKT('SRID=4674;POINT (-40.315679 -2.75484)'))) / (select extract(epoch from '2026-07-28 06:26:57'::timestamp) - extract(epoch from '2026-07-28 06:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31573 -2.754826)'), GeomFromEWKT('SRID=4674;POINT (-40.315679 -2.75484)'))) / (select extract(epoch from '2026-07-28 06:26:57'::timestamp) - extract(epoch from '2026-07-28 06:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315664 -2.754853)', '2026-07-28 06:27:05', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315679 -2.75484)'), GeomFromEWKT('SRID=4674;POINT (-40.315664 -2.754853)'))) / (select extract(epoch from '2026-07-28 06:27:05'::timestamp) - extract(epoch from '2026-07-28 06:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315679 -2.75484)'), GeomFromEWKT('SRID=4674;POINT (-40.315664 -2.754853)'))) / (select extract(epoch from '2026-07-28 06:27:05'::timestamp) - extract(epoch from '2026-07-28 06:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315659 -2.75488)', '2026-07-28 06:27:16', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315664 -2.754853)'), GeomFromEWKT('SRID=4674;POINT (-40.315659 -2.75488)'))) / (select extract(epoch from '2026-07-28 06:27:16'::timestamp) - extract(epoch from '2026-07-28 06:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315664 -2.754853)'), GeomFromEWKT('SRID=4674;POINT (-40.315659 -2.75488)'))) / (select extract(epoch from '2026-07-28 06:27:16'::timestamp) - extract(epoch from '2026-07-28 06:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31565 -2.754882)', '2026-07-28 06:27:24', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315659 -2.75488)'), GeomFromEWKT('SRID=4674;POINT (-40.31565 -2.754882)'))) / (select extract(epoch from '2026-07-28 06:27:24'::timestamp) - extract(epoch from '2026-07-28 06:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315659 -2.75488)'), GeomFromEWKT('SRID=4674;POINT (-40.31565 -2.754882)'))) / (select extract(epoch from '2026-07-28 06:27:24'::timestamp) - extract(epoch from '2026-07-28 06:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315641 -2.754875)', '2026-07-28 06:27:34', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31565 -2.754882)'), GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.754875)'))) / (select extract(epoch from '2026-07-28 06:27:34'::timestamp) - extract(epoch from '2026-07-28 06:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31565 -2.754882)'), GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.754875)'))) / (select extract(epoch from '2026-07-28 06:27:34'::timestamp) - extract(epoch from '2026-07-28 06:27: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'), 47647, 'SRID=4674;POINT (-40.315618 -2.754855)', '2026-07-28 06:27:43', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.754875)'), GeomFromEWKT('SRID=4674;POINT (-40.315618 -2.754855)'))) / (select extract(epoch from '2026-07-28 06:27:43'::timestamp) - extract(epoch from '2026-07-28 06:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.754875)'), GeomFromEWKT('SRID=4674;POINT (-40.315618 -2.754855)'))) / (select extract(epoch from '2026-07-28 06:27:43'::timestamp) - extract(epoch from '2026-07-28 06:27: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'), 47647, 'SRID=4674;POINT (-40.315607 -2.75485)', '2026-07-28 06:27:51', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315618 -2.754855)'), GeomFromEWKT('SRID=4674;POINT (-40.315607 -2.75485)'))) / (select extract(epoch from '2026-07-28 06:27:51'::timestamp) - extract(epoch from '2026-07-28 06:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315618 -2.754855)'), GeomFromEWKT('SRID=4674;POINT (-40.315607 -2.75485)'))) / (select extract(epoch from '2026-07-28 06:27:51'::timestamp) - extract(epoch from '2026-07-28 06:27: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'), 47647, 'SRID=4674;POINT (-40.315586 -2.754862)', '2026-07-28 06:28:00', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315607 -2.75485)'), GeomFromEWKT('SRID=4674;POINT (-40.315586 -2.754862)'))) / (select extract(epoch from '2026-07-28 06:28:00'::timestamp) - extract(epoch from '2026-07-28 06:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315607 -2.75485)'), GeomFromEWKT('SRID=4674;POINT (-40.315586 -2.754862)'))) / (select extract(epoch from '2026-07-28 06:28:00'::timestamp) - extract(epoch from '2026-07-28 06:27: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'), 47647, 'SRID=4674;POINT (-40.31557 -2.754891)', '2026-07-28 06:28:07', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315586 -2.754862)'), GeomFromEWKT('SRID=4674;POINT (-40.31557 -2.754891)'))) / (select extract(epoch from '2026-07-28 06:28:07'::timestamp) - extract(epoch from '2026-07-28 06:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315586 -2.754862)'), GeomFromEWKT('SRID=4674;POINT (-40.31557 -2.754891)'))) / (select extract(epoch from '2026-07-28 06:28:07'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.315554 -2.754907)', '2026-07-28 06:28:14', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31557 -2.754891)'), GeomFromEWKT('SRID=4674;POINT (-40.315554 -2.754907)'))) / (select extract(epoch from '2026-07-28 06:28:14'::timestamp) - extract(epoch from '2026-07-28 06:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31557 -2.754891)'), GeomFromEWKT('SRID=4674;POINT (-40.315554 -2.754907)'))) / (select extract(epoch from '2026-07-28 06:28:14'::timestamp) - extract(epoch from '2026-07-28 06:28: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'), 47647, 'SRID=4674;POINT (-40.315514 -2.754952)', '2026-07-28 06:28:24', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315554 -2.754907)'), GeomFromEWKT('SRID=4674;POINT (-40.315514 -2.754952)'))) / (select extract(epoch from '2026-07-28 06:28:24'::timestamp) - extract(epoch from '2026-07-28 06:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315554 -2.754907)'), GeomFromEWKT('SRID=4674;POINT (-40.315514 -2.754952)'))) / (select extract(epoch from '2026-07-28 06:28:24'::timestamp) - extract(epoch from '2026-07-28 06:28: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'), 47647, 'SRID=4674;POINT (-40.31549 -2.754981)', '2026-07-28 06:28:32', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315514 -2.754952)'), GeomFromEWKT('SRID=4674;POINT (-40.31549 -2.754981)'))) / (select extract(epoch from '2026-07-28 06:28:32'::timestamp) - extract(epoch from '2026-07-28 06:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315514 -2.754952)'), GeomFromEWKT('SRID=4674;POINT (-40.31549 -2.754981)'))) / (select extract(epoch from '2026-07-28 06:28:32'::timestamp) - extract(epoch from '2026-07-28 06:28: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'), 47647, 'SRID=4674;POINT (-40.315458 -2.754995)', '2026-07-28 06:28:40', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31549 -2.754981)'), GeomFromEWKT('SRID=4674;POINT (-40.315458 -2.754995)'))) / (select extract(epoch from '2026-07-28 06:28:40'::timestamp) - extract(epoch from '2026-07-28 06:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31549 -2.754981)'), GeomFromEWKT('SRID=4674;POINT (-40.315458 -2.754995)'))) / (select extract(epoch from '2026-07-28 06:28:40'::timestamp) - extract(epoch from '2026-07-28 06:28: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'), 47647, 'SRID=4674;POINT (-40.315419 -2.755008)', '2026-07-28 06:28:48', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315458 -2.754995)'), GeomFromEWKT('SRID=4674;POINT (-40.315419 -2.755008)'))) / (select extract(epoch from '2026-07-28 06:28:48'::timestamp) - extract(epoch from '2026-07-28 06:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315458 -2.754995)'), GeomFromEWKT('SRID=4674;POINT (-40.315419 -2.755008)'))) / (select extract(epoch from '2026-07-28 06:28:48'::timestamp) - extract(epoch from '2026-07-28 06:28: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'), 47647, 'SRID=4674;POINT (-40.315373 -2.755012)', '2026-07-28 06:28:58', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315419 -2.755008)'), GeomFromEWKT('SRID=4674;POINT (-40.315373 -2.755012)'))) / (select extract(epoch from '2026-07-28 06:28:58'::timestamp) - extract(epoch from '2026-07-28 06:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315419 -2.755008)'), GeomFromEWKT('SRID=4674;POINT (-40.315373 -2.755012)'))) / (select extract(epoch from '2026-07-28 06:28:58'::timestamp) - extract(epoch from '2026-07-28 06:28: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'), 47647, 'SRID=4674;POINT (-40.315353 -2.755009)', '2026-07-28 06:29:06', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315373 -2.755012)'), GeomFromEWKT('SRID=4674;POINT (-40.315353 -2.755009)'))) / (select extract(epoch from '2026-07-28 06:29:06'::timestamp) - extract(epoch from '2026-07-28 06:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315373 -2.755012)'), GeomFromEWKT('SRID=4674;POINT (-40.315353 -2.755009)'))) / (select extract(epoch from '2026-07-28 06:29:06'::timestamp) - extract(epoch from '2026-07-28 06:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315341 -2.755014)', '2026-07-28 06:29:15', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315353 -2.755009)'), GeomFromEWKT('SRID=4674;POINT (-40.315341 -2.755014)'))) / (select extract(epoch from '2026-07-28 06:29:15'::timestamp) - extract(epoch from '2026-07-28 06:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315353 -2.755009)'), GeomFromEWKT('SRID=4674;POINT (-40.315341 -2.755014)'))) / (select extract(epoch from '2026-07-28 06:29:15'::timestamp) - extract(epoch from '2026-07-28 06:29: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'), 47647, 'SRID=4674;POINT (-40.31532 -2.755017)', '2026-07-28 06:29:23', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315341 -2.755014)'), GeomFromEWKT('SRID=4674;POINT (-40.31532 -2.755017)'))) / (select extract(epoch from '2026-07-28 06:29:23'::timestamp) - extract(epoch from '2026-07-28 06:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315341 -2.755014)'), GeomFromEWKT('SRID=4674;POINT (-40.31532 -2.755017)'))) / (select extract(epoch from '2026-07-28 06:29:23'::timestamp) - extract(epoch from '2026-07-28 06:29: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'), 47647, 'SRID=4674;POINT (-40.315277 -2.755024)', '2026-07-28 06:29:33', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31532 -2.755017)'), GeomFromEWKT('SRID=4674;POINT (-40.315277 -2.755024)'))) / (select extract(epoch from '2026-07-28 06:29:33'::timestamp) - extract(epoch from '2026-07-28 06:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31532 -2.755017)'), GeomFromEWKT('SRID=4674;POINT (-40.315277 -2.755024)'))) / (select extract(epoch from '2026-07-28 06:29:33'::timestamp) - extract(epoch from '2026-07-28 06:29: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'), 47647, 'SRID=4674;POINT (-40.315277 -2.755019)', '2026-07-28 06:29:41', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315277 -2.755024)'), GeomFromEWKT('SRID=4674;POINT (-40.315277 -2.755019)'))) / (select extract(epoch from '2026-07-28 06:29:41'::timestamp) - extract(epoch from '2026-07-28 06:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315277 -2.755024)'), GeomFromEWKT('SRID=4674;POINT (-40.315277 -2.755019)'))) / (select extract(epoch from '2026-07-28 06:29:41'::timestamp) - extract(epoch from '2026-07-28 06:29: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'), 47647, 'SRID=4674;POINT (-40.315272 -2.755012)', '2026-07-28 06:29:49', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315277 -2.755019)'), GeomFromEWKT('SRID=4674;POINT (-40.315272 -2.755012)'))) / (select extract(epoch from '2026-07-28 06:29:49'::timestamp) - extract(epoch from '2026-07-28 06:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315277 -2.755019)'), GeomFromEWKT('SRID=4674;POINT (-40.315272 -2.755012)'))) / (select extract(epoch from '2026-07-28 06:29:49'::timestamp) - extract(epoch from '2026-07-28 06:29: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'), 47647, 'SRID=4674;POINT (-40.315254 -2.755035)', '2026-07-28 06:29:56', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315272 -2.755012)'), GeomFromEWKT('SRID=4674;POINT (-40.315254 -2.755035)'))) / (select extract(epoch from '2026-07-28 06:29:56'::timestamp) - extract(epoch from '2026-07-28 06:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315272 -2.755012)'), GeomFromEWKT('SRID=4674;POINT (-40.315254 -2.755035)'))) / (select extract(epoch from '2026-07-28 06:29:56'::timestamp) - extract(epoch from '2026-07-28 06:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31521 -2.755069)', '2026-07-28 06:30:05', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315254 -2.755035)'), GeomFromEWKT('SRID=4674;POINT (-40.31521 -2.755069)'))) / (select extract(epoch from '2026-07-28 06:30:05'::timestamp) - extract(epoch from '2026-07-28 06:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315254 -2.755035)'), GeomFromEWKT('SRID=4674;POINT (-40.31521 -2.755069)'))) / (select extract(epoch from '2026-07-28 06:30:05'::timestamp) - extract(epoch from '2026-07-28 06:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315177 -2.75508)', '2026-07-28 06:30:14', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31521 -2.755069)'), GeomFromEWKT('SRID=4674;POINT (-40.315177 -2.75508)'))) / (select extract(epoch from '2026-07-28 06:30:14'::timestamp) - extract(epoch from '2026-07-28 06:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31521 -2.755069)'), GeomFromEWKT('SRID=4674;POINT (-40.315177 -2.75508)'))) / (select extract(epoch from '2026-07-28 06:30:14'::timestamp) - extract(epoch from '2026-07-28 06:30: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'), 47647, 'SRID=4674;POINT (-40.315161 -2.755087)', '2026-07-28 06:30:22', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315177 -2.75508)'), GeomFromEWKT('SRID=4674;POINT (-40.315161 -2.755087)'))) / (select extract(epoch from '2026-07-28 06:30:22'::timestamp) - extract(epoch from '2026-07-28 06:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315177 -2.75508)'), GeomFromEWKT('SRID=4674;POINT (-40.315161 -2.755087)'))) / (select extract(epoch from '2026-07-28 06:30:22'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.315126 -2.755086)', '2026-07-28 06:30:31', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315161 -2.755087)'), GeomFromEWKT('SRID=4674;POINT (-40.315126 -2.755086)'))) / (select extract(epoch from '2026-07-28 06:30:31'::timestamp) - extract(epoch from '2026-07-28 06:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315161 -2.755087)'), GeomFromEWKT('SRID=4674;POINT (-40.315126 -2.755086)'))) / (select extract(epoch from '2026-07-28 06:30:31'::timestamp) - extract(epoch from '2026-07-28 06:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31509 -2.755091)', '2026-07-28 06:30:42', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315126 -2.755086)'), GeomFromEWKT('SRID=4674;POINT (-40.31509 -2.755091)'))) / (select extract(epoch from '2026-07-28 06:30:42'::timestamp) - extract(epoch from '2026-07-28 06:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315126 -2.755086)'), GeomFromEWKT('SRID=4674;POINT (-40.31509 -2.755091)'))) / (select extract(epoch from '2026-07-28 06:30:42'::timestamp) - extract(epoch from '2026-07-28 06:30: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'), 47647, 'SRID=4674;POINT (-40.315085 -2.755086)', '2026-07-28 06:30:49', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31509 -2.755091)'), GeomFromEWKT('SRID=4674;POINT (-40.315085 -2.755086)'))) / (select extract(epoch from '2026-07-28 06:30:49'::timestamp) - extract(epoch from '2026-07-28 06:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31509 -2.755091)'), GeomFromEWKT('SRID=4674;POINT (-40.315085 -2.755086)'))) / (select extract(epoch from '2026-07-28 06:30:49'::timestamp) - extract(epoch from '2026-07-28 06:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31508 -2.755086)', '2026-07-28 06:31:05', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315085 -2.755086)'), GeomFromEWKT('SRID=4674;POINT (-40.31508 -2.755086)'))) / (select extract(epoch from '2026-07-28 06:31:05'::timestamp) - extract(epoch from '2026-07-28 06:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315085 -2.755086)'), GeomFromEWKT('SRID=4674;POINT (-40.31508 -2.755086)'))) / (select extract(epoch from '2026-07-28 06:31:05'::timestamp) - extract(epoch from '2026-07-28 06:30: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'), 47647, 'SRID=4674;POINT (-40.315076 -2.75507)', '2026-07-28 06:31:14', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31508 -2.755086)'), GeomFromEWKT('SRID=4674;POINT (-40.315076 -2.75507)'))) / (select extract(epoch from '2026-07-28 06:31:14'::timestamp) - extract(epoch from '2026-07-28 06:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31508 -2.755086)'), GeomFromEWKT('SRID=4674;POINT (-40.315076 -2.75507)'))) / (select extract(epoch from '2026-07-28 06:31:14'::timestamp) - extract(epoch from '2026-07-28 06:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315073 -2.755063)', '2026-07-28 06:31:26', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315076 -2.75507)'), GeomFromEWKT('SRID=4674;POINT (-40.315073 -2.755063)'))) / (select extract(epoch from '2026-07-28 06:31:26'::timestamp) - extract(epoch from '2026-07-28 06:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315076 -2.75507)'), GeomFromEWKT('SRID=4674;POINT (-40.315073 -2.755063)'))) / (select extract(epoch from '2026-07-28 06:31:26'::timestamp) - extract(epoch from '2026-07-28 06:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315049 -2.755073)', '2026-07-28 06:31:34', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315073 -2.755063)'), GeomFromEWKT('SRID=4674;POINT (-40.315049 -2.755073)'))) / (select extract(epoch from '2026-07-28 06:31:34'::timestamp) - extract(epoch from '2026-07-28 06:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315073 -2.755063)'), GeomFromEWKT('SRID=4674;POINT (-40.315049 -2.755073)'))) / (select extract(epoch from '2026-07-28 06:31:34'::timestamp) - extract(epoch from '2026-07-28 06:31: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'), 47647, 'SRID=4674;POINT (-40.315015 -2.755084)', '2026-07-28 06:31:42', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315049 -2.755073)'), GeomFromEWKT('SRID=4674;POINT (-40.315015 -2.755084)'))) / (select extract(epoch from '2026-07-28 06:31:42'::timestamp) - extract(epoch from '2026-07-28 06:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315049 -2.755073)'), GeomFromEWKT('SRID=4674;POINT (-40.315015 -2.755084)'))) / (select extract(epoch from '2026-07-28 06:31:42'::timestamp) - extract(epoch from '2026-07-28 06:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31498 -2.755101)', '2026-07-28 06:31:49', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315015 -2.755084)'), GeomFromEWKT('SRID=4674;POINT (-40.31498 -2.755101)'))) / (select extract(epoch from '2026-07-28 06:31:49'::timestamp) - extract(epoch from '2026-07-28 06:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315015 -2.755084)'), GeomFromEWKT('SRID=4674;POINT (-40.31498 -2.755101)'))) / (select extract(epoch from '2026-07-28 06:31:49'::timestamp) - extract(epoch from '2026-07-28 06:31: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'), 47647, 'SRID=4674;POINT (-40.314943 -2.755121)', '2026-07-28 06:31:57', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31498 -2.755101)'), GeomFromEWKT('SRID=4674;POINT (-40.314943 -2.755121)'))) / (select extract(epoch from '2026-07-28 06:31:57'::timestamp) - extract(epoch from '2026-07-28 06:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31498 -2.755101)'), GeomFromEWKT('SRID=4674;POINT (-40.314943 -2.755121)'))) / (select extract(epoch from '2026-07-28 06:31:57'::timestamp) - extract(epoch from '2026-07-28 06:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314941 -2.75517)', '2026-07-28 06:32:05', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314943 -2.755121)'), GeomFromEWKT('SRID=4674;POINT (-40.314941 -2.75517)'))) / (select extract(epoch from '2026-07-28 06:32:05'::timestamp) - extract(epoch from '2026-07-28 06:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314943 -2.755121)'), GeomFromEWKT('SRID=4674;POINT (-40.314941 -2.75517)'))) / (select extract(epoch from '2026-07-28 06:32:05'::timestamp) - extract(epoch from '2026-07-28 06:31: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'), 47647, 'SRID=4674;POINT (-40.314917 -2.755194)', '2026-07-28 06:32:13', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314941 -2.75517)'), GeomFromEWKT('SRID=4674;POINT (-40.314917 -2.755194)'))) / (select extract(epoch from '2026-07-28 06:32:13'::timestamp) - extract(epoch from '2026-07-28 06:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314941 -2.75517)'), GeomFromEWKT('SRID=4674;POINT (-40.314917 -2.755194)'))) / (select extract(epoch from '2026-07-28 06:32:13'::timestamp) - extract(epoch from '2026-07-28 06:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314887 -2.755218)', '2026-07-28 06:32:22', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314917 -2.755194)'), GeomFromEWKT('SRID=4674;POINT (-40.314887 -2.755218)'))) / (select extract(epoch from '2026-07-28 06:32:22'::timestamp) - extract(epoch from '2026-07-28 06:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314917 -2.755194)'), GeomFromEWKT('SRID=4674;POINT (-40.314887 -2.755218)'))) / (select extract(epoch from '2026-07-28 06:32:22'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314862 -2.755237)', '2026-07-28 06:32:30', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314887 -2.755218)'), GeomFromEWKT('SRID=4674;POINT (-40.314862 -2.755237)'))) / (select extract(epoch from '2026-07-28 06:32:30'::timestamp) - extract(epoch from '2026-07-28 06:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314887 -2.755218)'), GeomFromEWKT('SRID=4674;POINT (-40.314862 -2.755237)'))) / (select extract(epoch from '2026-07-28 06:32:30'::timestamp) - extract(epoch from '2026-07-28 06:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314819 -2.755251)', '2026-07-28 06:32:38', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314862 -2.755237)'), GeomFromEWKT('SRID=4674;POINT (-40.314819 -2.755251)'))) / (select extract(epoch from '2026-07-28 06:32:38'::timestamp) - extract(epoch from '2026-07-28 06:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314862 -2.755237)'), GeomFromEWKT('SRID=4674;POINT (-40.314819 -2.755251)'))) / (select extract(epoch from '2026-07-28 06:32:38'::timestamp) - extract(epoch from '2026-07-28 06:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314791 -2.755271)', '2026-07-28 06:32:46', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314819 -2.755251)'), GeomFromEWKT('SRID=4674;POINT (-40.314791 -2.755271)'))) / (select extract(epoch from '2026-07-28 06:32:46'::timestamp) - extract(epoch from '2026-07-28 06:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314819 -2.755251)'), GeomFromEWKT('SRID=4674;POINT (-40.314791 -2.755271)'))) / (select extract(epoch from '2026-07-28 06:32:46'::timestamp) - extract(epoch from '2026-07-28 06:32: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'), 47647, 'SRID=4674;POINT (-40.31475 -2.755298)', '2026-07-28 06:32:55', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314791 -2.755271)'), GeomFromEWKT('SRID=4674;POINT (-40.31475 -2.755298)'))) / (select extract(epoch from '2026-07-28 06:32:55'::timestamp) - extract(epoch from '2026-07-28 06:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314791 -2.755271)'), GeomFromEWKT('SRID=4674;POINT (-40.31475 -2.755298)'))) / (select extract(epoch from '2026-07-28 06:32:55'::timestamp) - extract(epoch from '2026-07-28 06:32: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'), 47647, 'SRID=4674;POINT (-40.314727 -2.755298)', '2026-07-28 06:33:04', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31475 -2.755298)'), GeomFromEWKT('SRID=4674;POINT (-40.314727 -2.755298)'))) / (select extract(epoch from '2026-07-28 06:33:04'::timestamp) - extract(epoch from '2026-07-28 06:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31475 -2.755298)'), GeomFromEWKT('SRID=4674;POINT (-40.314727 -2.755298)'))) / (select extract(epoch from '2026-07-28 06:33:04'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314727 -2.755312)', '2026-07-28 06:33:10', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314727 -2.755298)'), GeomFromEWKT('SRID=4674;POINT (-40.314727 -2.755312)'))) / (select extract(epoch from '2026-07-28 06:33:10'::timestamp) - extract(epoch from '2026-07-28 06:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314727 -2.755298)'), GeomFromEWKT('SRID=4674;POINT (-40.314727 -2.755312)'))) / (select extract(epoch from '2026-07-28 06:33:10'::timestamp) - extract(epoch from '2026-07-28 06:33: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'), 47647, 'SRID=4674;POINT (-40.314725 -2.755327)', '2026-07-28 06:33:18', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314727 -2.755312)'), GeomFromEWKT('SRID=4674;POINT (-40.314725 -2.755327)'))) / (select extract(epoch from '2026-07-28 06:33:18'::timestamp) - extract(epoch from '2026-07-28 06:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314727 -2.755312)'), GeomFromEWKT('SRID=4674;POINT (-40.314725 -2.755327)'))) / (select extract(epoch from '2026-07-28 06:33:18'::timestamp) - extract(epoch from '2026-07-28 06:33: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'), 47647, 'SRID=4674;POINT (-40.31471 -2.755311)', '2026-07-28 06:33:27', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314725 -2.755327)'), GeomFromEWKT('SRID=4674;POINT (-40.31471 -2.755311)'))) / (select extract(epoch from '2026-07-28 06:33:27'::timestamp) - extract(epoch from '2026-07-28 06:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314725 -2.755327)'), GeomFromEWKT('SRID=4674;POINT (-40.31471 -2.755311)'))) / (select extract(epoch from '2026-07-28 06:33:27'::timestamp) - extract(epoch from '2026-07-28 06:33: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'), 47647, 'SRID=4674;POINT (-40.314711 -2.755318)', '2026-07-28 06:33:37', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31471 -2.755311)'), GeomFromEWKT('SRID=4674;POINT (-40.314711 -2.755318)'))) / (select extract(epoch from '2026-07-28 06:33:37'::timestamp) - extract(epoch from '2026-07-28 06:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31471 -2.755311)'), GeomFromEWKT('SRID=4674;POINT (-40.314711 -2.755318)'))) / (select extract(epoch from '2026-07-28 06:33:37'::timestamp) - extract(epoch from '2026-07-28 06:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314695 -2.755309)', '2026-07-28 06:33:46', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314711 -2.755318)'), GeomFromEWKT('SRID=4674;POINT (-40.314695 -2.755309)'))) / (select extract(epoch from '2026-07-28 06:33:46'::timestamp) - extract(epoch from '2026-07-28 06:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314711 -2.755318)'), GeomFromEWKT('SRID=4674;POINT (-40.314695 -2.755309)'))) / (select extract(epoch from '2026-07-28 06:33:46'::timestamp) - extract(epoch from '2026-07-28 06:33: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'), 47647, 'SRID=4674;POINT (-40.314698 -2.755303)', '2026-07-28 06:33:56', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314695 -2.755309)'), GeomFromEWKT('SRID=4674;POINT (-40.314698 -2.755303)'))) / (select extract(epoch from '2026-07-28 06:33:56'::timestamp) - extract(epoch from '2026-07-28 06:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314695 -2.755309)'), GeomFromEWKT('SRID=4674;POINT (-40.314698 -2.755303)'))) / (select extract(epoch from '2026-07-28 06:33:56'::timestamp) - extract(epoch from '2026-07-28 06:33: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'), 47647, 'SRID=4674;POINT (-40.314682 -2.755316)', '2026-07-28 06:34:04', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314698 -2.755303)'), GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.755316)'))) / (select extract(epoch from '2026-07-28 06:34:04'::timestamp) - extract(epoch from '2026-07-28 06:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314698 -2.755303)'), GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.755316)'))) / (select extract(epoch from '2026-07-28 06:34:04'::timestamp) - extract(epoch from '2026-07-28 06:33: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'), 47647, 'SRID=4674;POINT (-40.314672 -2.75532)', '2026-07-28 06:34:13', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.755316)'), GeomFromEWKT('SRID=4674;POINT (-40.314672 -2.75532)'))) / (select extract(epoch from '2026-07-28 06:34:13'::timestamp) - extract(epoch from '2026-07-28 06:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.755316)'), GeomFromEWKT('SRID=4674;POINT (-40.314672 -2.75532)'))) / (select extract(epoch from '2026-07-28 06:34:13'::timestamp) - extract(epoch from '2026-07-28 06:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314677 -2.755326)', '2026-07-28 06:34:21', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314672 -2.75532)'), GeomFromEWKT('SRID=4674;POINT (-40.314677 -2.755326)'))) / (select extract(epoch from '2026-07-28 06:34:21'::timestamp) - extract(epoch from '2026-07-28 06:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314672 -2.75532)'), GeomFromEWKT('SRID=4674;POINT (-40.314677 -2.755326)'))) / (select extract(epoch from '2026-07-28 06:34:21'::timestamp) - extract(epoch from '2026-07-28 06:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314678 -2.755317)', '2026-07-28 06:34:25', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314677 -2.755326)'), GeomFromEWKT('SRID=4674;POINT (-40.314678 -2.755317)'))) / (select extract(epoch from '2026-07-28 06:34:25'::timestamp) - extract(epoch from '2026-07-28 06:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314677 -2.755326)'), GeomFromEWKT('SRID=4674;POINT (-40.314678 -2.755317)'))) / (select extract(epoch from '2026-07-28 06:34:25'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314667 -2.755334)', '2026-07-28 06:34:35', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314678 -2.755317)'), GeomFromEWKT('SRID=4674;POINT (-40.314667 -2.755334)'))) / (select extract(epoch from '2026-07-28 06:34:35'::timestamp) - extract(epoch from '2026-07-28 06:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314678 -2.755317)'), GeomFromEWKT('SRID=4674;POINT (-40.314667 -2.755334)'))) / (select extract(epoch from '2026-07-28 06:34:35'::timestamp) - extract(epoch from '2026-07-28 06:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314635 -2.755352)', '2026-07-28 06:34:45', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314667 -2.755334)'), GeomFromEWKT('SRID=4674;POINT (-40.314635 -2.755352)'))) / (select extract(epoch from '2026-07-28 06:34:45'::timestamp) - extract(epoch from '2026-07-28 06:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314667 -2.755334)'), GeomFromEWKT('SRID=4674;POINT (-40.314635 -2.755352)'))) / (select extract(epoch from '2026-07-28 06:34:45'::timestamp) - extract(epoch from '2026-07-28 06:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314614 -2.75537)', '2026-07-28 06:34:53', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314635 -2.755352)'), GeomFromEWKT('SRID=4674;POINT (-40.314614 -2.75537)'))) / (select extract(epoch from '2026-07-28 06:34:53'::timestamp) - extract(epoch from '2026-07-28 06:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314635 -2.755352)'), GeomFromEWKT('SRID=4674;POINT (-40.314614 -2.75537)'))) / (select extract(epoch from '2026-07-28 06:34:53'::timestamp) - extract(epoch from '2026-07-28 06:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314586 -2.755382)', '2026-07-28 06:35:01', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314614 -2.75537)'), GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.755382)'))) / (select extract(epoch from '2026-07-28 06:35:01'::timestamp) - extract(epoch from '2026-07-28 06:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314614 -2.75537)'), GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.755382)'))) / (select extract(epoch from '2026-07-28 06:35:01'::timestamp) - extract(epoch from '2026-07-28 06:34: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'), 47647, 'SRID=4674;POINT (-40.314569 -2.755398)', '2026-07-28 06:35:08', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.755382)'), GeomFromEWKT('SRID=4674;POINT (-40.314569 -2.755398)'))) / (select extract(epoch from '2026-07-28 06:35:08'::timestamp) - extract(epoch from '2026-07-28 06:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.755382)'), GeomFromEWKT('SRID=4674;POINT (-40.314569 -2.755398)'))) / (select extract(epoch from '2026-07-28 06:35:08'::timestamp) - extract(epoch from '2026-07-28 06:35: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'), 47647, 'SRID=4674;POINT (-40.314536 -2.755395)', '2026-07-28 06:35:16', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314569 -2.755398)'), GeomFromEWKT('SRID=4674;POINT (-40.314536 -2.755395)'))) / (select extract(epoch from '2026-07-28 06:35:16'::timestamp) - extract(epoch from '2026-07-28 06:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314569 -2.755398)'), GeomFromEWKT('SRID=4674;POINT (-40.314536 -2.755395)'))) / (select extract(epoch from '2026-07-28 06:35:16'::timestamp) - extract(epoch from '2026-07-28 06:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314519 -2.755398)', '2026-07-28 06:35:25', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314536 -2.755395)'), GeomFromEWKT('SRID=4674;POINT (-40.314519 -2.755398)'))) / (select extract(epoch from '2026-07-28 06:35:25'::timestamp) - extract(epoch from '2026-07-28 06:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314536 -2.755395)'), GeomFromEWKT('SRID=4674;POINT (-40.314519 -2.755398)'))) / (select extract(epoch from '2026-07-28 06:35:25'::timestamp) - extract(epoch from '2026-07-28 06:35: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'), 47647, 'SRID=4674;POINT (-40.314524 -2.75539)', '2026-07-28 06:35:32', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314519 -2.755398)'), GeomFromEWKT('SRID=4674;POINT (-40.314524 -2.75539)'))) / (select extract(epoch from '2026-07-28 06:35:32'::timestamp) - extract(epoch from '2026-07-28 06:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314519 -2.755398)'), GeomFromEWKT('SRID=4674;POINT (-40.314524 -2.75539)'))) / (select extract(epoch from '2026-07-28 06:35:32'::timestamp) - extract(epoch from '2026-07-28 06:35: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'), 47647, 'SRID=4674;POINT (-40.314549 -2.755398)', '2026-07-28 06:35:40', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314524 -2.75539)'), GeomFromEWKT('SRID=4674;POINT (-40.314549 -2.755398)'))) / (select extract(epoch from '2026-07-28 06:35:40'::timestamp) - extract(epoch from '2026-07-28 06:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314524 -2.75539)'), GeomFromEWKT('SRID=4674;POINT (-40.314549 -2.755398)'))) / (select extract(epoch from '2026-07-28 06:35:40'::timestamp) - extract(epoch from '2026-07-28 06:35: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'), 47647, 'SRID=4674;POINT (-40.314573 -2.755394)', '2026-07-28 06:35:49', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314549 -2.755398)'), GeomFromEWKT('SRID=4674;POINT (-40.314573 -2.755394)'))) / (select extract(epoch from '2026-07-28 06:35:49'::timestamp) - extract(epoch from '2026-07-28 06:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314549 -2.755398)'), GeomFromEWKT('SRID=4674;POINT (-40.314573 -2.755394)'))) / (select extract(epoch from '2026-07-28 06:35:49'::timestamp) - extract(epoch from '2026-07-28 06:35: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'), 47647, 'SRID=4674;POINT (-40.314568 -2.755361)', '2026-07-28 06:35:58', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314573 -2.755394)'), GeomFromEWKT('SRID=4674;POINT (-40.314568 -2.755361)'))) / (select extract(epoch from '2026-07-28 06:35:58'::timestamp) - extract(epoch from '2026-07-28 06:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314573 -2.755394)'), GeomFromEWKT('SRID=4674;POINT (-40.314568 -2.755361)'))) / (select extract(epoch from '2026-07-28 06:35:58'::timestamp) - extract(epoch from '2026-07-28 06:35: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'), 47647, 'SRID=4674;POINT (-40.314549 -2.755327)', '2026-07-28 06:36:06', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314568 -2.755361)'), GeomFromEWKT('SRID=4674;POINT (-40.314549 -2.755327)'))) / (select extract(epoch from '2026-07-28 06:36:06'::timestamp) - extract(epoch from '2026-07-28 06:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314568 -2.755361)'), GeomFromEWKT('SRID=4674;POINT (-40.314549 -2.755327)'))) / (select extract(epoch from '2026-07-28 06:36:06'::timestamp) - extract(epoch from '2026-07-28 06:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314541 -2.755313)', '2026-07-28 06:36:15', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314549 -2.755327)'), GeomFromEWKT('SRID=4674;POINT (-40.314541 -2.755313)'))) / (select extract(epoch from '2026-07-28 06:36:15'::timestamp) - extract(epoch from '2026-07-28 06:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314549 -2.755327)'), GeomFromEWKT('SRID=4674;POINT (-40.314541 -2.755313)'))) / (select extract(epoch from '2026-07-28 06:36:15'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314567 -2.75534)', '2026-07-28 06:36:22', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314541 -2.755313)'), GeomFromEWKT('SRID=4674;POINT (-40.314567 -2.75534)'))) / (select extract(epoch from '2026-07-28 06:36:22'::timestamp) - extract(epoch from '2026-07-28 06:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314541 -2.755313)'), GeomFromEWKT('SRID=4674;POINT (-40.314567 -2.75534)'))) / (select extract(epoch from '2026-07-28 06:36:22'::timestamp) - extract(epoch from '2026-07-28 06:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314652 -2.755326)', '2026-07-28 06:36:28', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314567 -2.75534)'), GeomFromEWKT('SRID=4674;POINT (-40.314652 -2.755326)'))) / (select extract(epoch from '2026-07-28 06:36:28'::timestamp) - extract(epoch from '2026-07-28 06:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314567 -2.75534)'), GeomFromEWKT('SRID=4674;POINT (-40.314652 -2.755326)'))) / (select extract(epoch from '2026-07-28 06:36:28'::timestamp) - extract(epoch from '2026-07-28 06:36:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314692 -2.755266)', '2026-07-28 06:36:34', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314652 -2.755326)'), GeomFromEWKT('SRID=4674;POINT (-40.314692 -2.755266)'))) / (select extract(epoch from '2026-07-28 06:36:34'::timestamp) - extract(epoch from '2026-07-28 06:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314652 -2.755326)'), GeomFromEWKT('SRID=4674;POINT (-40.314692 -2.755266)'))) / (select extract(epoch from '2026-07-28 06:36:34'::timestamp) - extract(epoch from '2026-07-28 06:36: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'), 47647, 'SRID=4674;POINT (-40.31469 -2.755242)', '2026-07-28 06:36:37', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314692 -2.755266)'), GeomFromEWKT('SRID=4674;POINT (-40.31469 -2.755242)'))) / (select extract(epoch from '2026-07-28 06:36:37'::timestamp) - extract(epoch from '2026-07-28 06:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314692 -2.755266)'), GeomFromEWKT('SRID=4674;POINT (-40.31469 -2.755242)'))) / (select extract(epoch from '2026-07-28 06:36:37'::timestamp) - extract(epoch from '2026-07-28 06:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314653 -2.755219)', '2026-07-28 06:36:41', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31469 -2.755242)'), GeomFromEWKT('SRID=4674;POINT (-40.314653 -2.755219)'))) / (select extract(epoch from '2026-07-28 06:36:41'::timestamp) - extract(epoch from '2026-07-28 06:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31469 -2.755242)'), GeomFromEWKT('SRID=4674;POINT (-40.314653 -2.755219)'))) / (select extract(epoch from '2026-07-28 06:36:41'::timestamp) - extract(epoch from '2026-07-28 06:36: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'), 47647, 'SRID=4674;POINT (-40.314586 -2.755187)', '2026-07-28 06:36:49', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314653 -2.755219)'), GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.755187)'))) / (select extract(epoch from '2026-07-28 06:36:49'::timestamp) - extract(epoch from '2026-07-28 06:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314653 -2.755219)'), GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.755187)'))) / (select extract(epoch from '2026-07-28 06:36:49'::timestamp) - extract(epoch from '2026-07-28 06:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314508 -2.755069)', '2026-07-28 06:36:57', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.755187)'), GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.755069)'))) / (select extract(epoch from '2026-07-28 06:36:57'::timestamp) - extract(epoch from '2026-07-28 06:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.755187)'), GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.755069)'))) / (select extract(epoch from '2026-07-28 06:36:57'::timestamp) - extract(epoch from '2026-07-28 06:36: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'), 47647, 'SRID=4674;POINT (-40.314442 -2.754887)', '2026-07-28 06:37:06', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.755069)'), GeomFromEWKT('SRID=4674;POINT (-40.314442 -2.754887)'))) / (select extract(epoch from '2026-07-28 06:37:06'::timestamp) - extract(epoch from '2026-07-28 06:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.755069)'), GeomFromEWKT('SRID=4674;POINT (-40.314442 -2.754887)'))) / (select extract(epoch from '2026-07-28 06:37:06'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314388 -2.754775)', '2026-07-28 06:37:12', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314442 -2.754887)'), GeomFromEWKT('SRID=4674;POINT (-40.314388 -2.754775)'))) / (select extract(epoch from '2026-07-28 06:37:12'::timestamp) - extract(epoch from '2026-07-28 06:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314442 -2.754887)'), GeomFromEWKT('SRID=4674;POINT (-40.314388 -2.754775)'))) / (select extract(epoch from '2026-07-28 06:37:12'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.314357 -2.754695)', '2026-07-28 06:37:18', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314388 -2.754775)'), GeomFromEWKT('SRID=4674;POINT (-40.314357 -2.754695)'))) / (select extract(epoch from '2026-07-28 06:37:18'::timestamp) - extract(epoch from '2026-07-28 06:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314388 -2.754775)'), GeomFromEWKT('SRID=4674;POINT (-40.314357 -2.754695)'))) / (select extract(epoch from '2026-07-28 06:37:18'::timestamp) - extract(epoch from '2026-07-28 06:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314309 -2.754549)', '2026-07-28 06:37:27', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314357 -2.754695)'), GeomFromEWKT('SRID=4674;POINT (-40.314309 -2.754549)'))) / (select extract(epoch from '2026-07-28 06:37:27'::timestamp) - extract(epoch from '2026-07-28 06:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314357 -2.754695)'), GeomFromEWKT('SRID=4674;POINT (-40.314309 -2.754549)'))) / (select extract(epoch from '2026-07-28 06:37:27'::timestamp) - extract(epoch from '2026-07-28 06:37: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'), 47647, 'SRID=4674;POINT (-40.314262 -2.754353)', '2026-07-28 06:37:36', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314309 -2.754549)'), GeomFromEWKT('SRID=4674;POINT (-40.314262 -2.754353)'))) / (select extract(epoch from '2026-07-28 06:37:36'::timestamp) - extract(epoch from '2026-07-28 06:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314309 -2.754549)'), GeomFromEWKT('SRID=4674;POINT (-40.314262 -2.754353)'))) / (select extract(epoch from '2026-07-28 06:37:36'::timestamp) - extract(epoch from '2026-07-28 06:37: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'), 47647, 'SRID=4674;POINT (-40.31417 -2.754209)', '2026-07-28 06:37:44', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314262 -2.754353)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.754209)'))) / (select extract(epoch from '2026-07-28 06:37:44'::timestamp) - extract(epoch from '2026-07-28 06:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314262 -2.754353)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.754209)'))) / (select extract(epoch from '2026-07-28 06:37:44'::timestamp) - extract(epoch from '2026-07-28 06:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314049 -2.754057)', '2026-07-28 06:37:53', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.754209)'), GeomFromEWKT('SRID=4674;POINT (-40.314049 -2.754057)'))) / (select extract(epoch from '2026-07-28 06:37:53'::timestamp) - extract(epoch from '2026-07-28 06:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.754209)'), GeomFromEWKT('SRID=4674;POINT (-40.314049 -2.754057)'))) / (select extract(epoch from '2026-07-28 06:37:53'::timestamp) - extract(epoch from '2026-07-28 06:37:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313946 -2.75389)', '2026-07-28 06:38:01', 32.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314049 -2.754057)'), GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.75389)'))) / (select extract(epoch from '2026-07-28 06:38:01'::timestamp) - extract(epoch from '2026-07-28 06:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314049 -2.754057)'), GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.75389)'))) / (select extract(epoch from '2026-07-28 06:38:01'::timestamp) - extract(epoch from '2026-07-28 06:37: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'), 47647, 'SRID=4674;POINT (-40.313779 -2.753753)', '2026-07-28 06:38:11', 35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.75389)'), GeomFromEWKT('SRID=4674;POINT (-40.313779 -2.753753)'))) / (select extract(epoch from '2026-07-28 06:38:11'::timestamp) - extract(epoch from '2026-07-28 06:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313946 -2.75389)'), GeomFromEWKT('SRID=4674;POINT (-40.313779 -2.753753)'))) / (select extract(epoch from '2026-07-28 06:38:11'::timestamp) - extract(epoch from '2026-07-28 06:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313724 -2.753676)', '2026-07-28 06:38:19', 36.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313779 -2.753753)'), GeomFromEWKT('SRID=4674;POINT (-40.313724 -2.753676)'))) / (select extract(epoch from '2026-07-28 06:38:19'::timestamp) - extract(epoch from '2026-07-28 06:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313779 -2.753753)'), GeomFromEWKT('SRID=4674;POINT (-40.313724 -2.753676)'))) / (select extract(epoch from '2026-07-28 06:38:19'::timestamp) - extract(epoch from '2026-07-28 06:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313698 -2.753619)', '2026-07-28 06:38:27', 38.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313724 -2.753676)'), GeomFromEWKT('SRID=4674;POINT (-40.313698 -2.753619)'))) / (select extract(epoch from '2026-07-28 06:38:27'::timestamp) - extract(epoch from '2026-07-28 06:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313724 -2.753676)'), GeomFromEWKT('SRID=4674;POINT (-40.313698 -2.753619)'))) / (select extract(epoch from '2026-07-28 06:38:27'::timestamp) - extract(epoch from '2026-07-28 06:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31374 -2.753576)', '2026-07-28 06:38:35', 38.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313698 -2.753619)'), GeomFromEWKT('SRID=4674;POINT (-40.31374 -2.753576)'))) / (select extract(epoch from '2026-07-28 06:38:35'::timestamp) - extract(epoch from '2026-07-28 06:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313698 -2.753619)'), GeomFromEWKT('SRID=4674;POINT (-40.31374 -2.753576)'))) / (select extract(epoch from '2026-07-28 06:38:35'::timestamp) - extract(epoch from '2026-07-28 06:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313745 -2.753556)', '2026-07-28 06:38:44', 40.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31374 -2.753576)'), GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.753556)'))) / (select extract(epoch from '2026-07-28 06:38:44'::timestamp) - extract(epoch from '2026-07-28 06:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31374 -2.753576)'), GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.753556)'))) / (select extract(epoch from '2026-07-28 06:38:44'::timestamp) - extract(epoch from '2026-07-28 06:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313736 -2.753544)', '2026-07-28 06:38:54', 40.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.753556)'), GeomFromEWKT('SRID=4674;POINT (-40.313736 -2.753544)'))) / (select extract(epoch from '2026-07-28 06:38:54'::timestamp) - extract(epoch from '2026-07-28 06:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.753556)'), GeomFromEWKT('SRID=4674;POINT (-40.313736 -2.753544)'))) / (select extract(epoch from '2026-07-28 06:38:54'::timestamp) - extract(epoch from '2026-07-28 06:38: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'), 47647, 'SRID=4674;POINT (-40.313756 -2.753519)', '2026-07-28 06:39:02', 41.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313736 -2.753544)'), GeomFromEWKT('SRID=4674;POINT (-40.313756 -2.753519)'))) / (select extract(epoch from '2026-07-28 06:39:02'::timestamp) - extract(epoch from '2026-07-28 06:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313736 -2.753544)'), GeomFromEWKT('SRID=4674;POINT (-40.313756 -2.753519)'))) / (select extract(epoch from '2026-07-28 06:39:02'::timestamp) - extract(epoch from '2026-07-28 06:38: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'), 47647, 'SRID=4674;POINT (-40.313814 -2.753543)', '2026-07-28 06:39:09', 41.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313756 -2.753519)'), GeomFromEWKT('SRID=4674;POINT (-40.313814 -2.753543)'))) / (select extract(epoch from '2026-07-28 06:39:09'::timestamp) - extract(epoch from '2026-07-28 06:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313756 -2.753519)'), GeomFromEWKT('SRID=4674;POINT (-40.313814 -2.753543)'))) / (select extract(epoch from '2026-07-28 06:39:09'::timestamp) - extract(epoch from '2026-07-28 06:39: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'), 47647, 'SRID=4674;POINT (-40.31386 -2.753537)', '2026-07-28 06:39:17', 41.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313814 -2.753543)'), GeomFromEWKT('SRID=4674;POINT (-40.31386 -2.753537)'))) / (select extract(epoch from '2026-07-28 06:39:17'::timestamp) - extract(epoch from '2026-07-28 06:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313814 -2.753543)'), GeomFromEWKT('SRID=4674;POINT (-40.31386 -2.753537)'))) / (select extract(epoch from '2026-07-28 06:39:17'::timestamp) - extract(epoch from '2026-07-28 06:39: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'), 47647, 'SRID=4674;POINT (-40.313912 -2.753494)', '2026-07-28 06:39:27', 41.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31386 -2.753537)'), GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.753494)'))) / (select extract(epoch from '2026-07-28 06:39:27'::timestamp) - extract(epoch from '2026-07-28 06:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31386 -2.753537)'), GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.753494)'))) / (select extract(epoch from '2026-07-28 06:39:27'::timestamp) - extract(epoch from '2026-07-28 06:39: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'), 47647, 'SRID=4674;POINT (-40.313929 -2.75348)', '2026-07-28 06:39:35', 41, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.753494)'), GeomFromEWKT('SRID=4674;POINT (-40.313929 -2.75348)'))) / (select extract(epoch from '2026-07-28 06:39:35'::timestamp) - extract(epoch from '2026-07-28 06:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.753494)'), GeomFromEWKT('SRID=4674;POINT (-40.313929 -2.75348)'))) / (select extract(epoch from '2026-07-28 06:39:35'::timestamp) - extract(epoch from '2026-07-28 06:39: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'), 47647, 'SRID=4674;POINT (-40.313956 -2.75346)', '2026-07-28 06:39:46', 41, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313929 -2.75348)'), GeomFromEWKT('SRID=4674;POINT (-40.313956 -2.75346)'))) / (select extract(epoch from '2026-07-28 06:39:46'::timestamp) - extract(epoch from '2026-07-28 06:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313929 -2.75348)'), GeomFromEWKT('SRID=4674;POINT (-40.313956 -2.75346)'))) / (select extract(epoch from '2026-07-28 06:39:46'::timestamp) - extract(epoch from '2026-07-28 06:39: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'), 47647, 'SRID=4674;POINT (-40.313974 -2.753442)', '2026-07-28 06:39:54', 41, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313956 -2.75346)'), GeomFromEWKT('SRID=4674;POINT (-40.313974 -2.753442)'))) / (select extract(epoch from '2026-07-28 06:39:54'::timestamp) - extract(epoch from '2026-07-28 06:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313956 -2.75346)'), GeomFromEWKT('SRID=4674;POINT (-40.313974 -2.753442)'))) / (select extract(epoch from '2026-07-28 06:39:54'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313967 -2.753414)', '2026-07-28 06:40:02', 41, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313974 -2.753442)'), GeomFromEWKT('SRID=4674;POINT (-40.313967 -2.753414)'))) / (select extract(epoch from '2026-07-28 06:40:02'::timestamp) - extract(epoch from '2026-07-28 06:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313974 -2.753442)'), GeomFromEWKT('SRID=4674;POINT (-40.313967 -2.753414)'))) / (select extract(epoch from '2026-07-28 06:40:02'::timestamp) - extract(epoch from '2026-07-28 06:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313974 -2.753398)', '2026-07-28 06:40:11', 40.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313967 -2.753414)'), GeomFromEWKT('SRID=4674;POINT (-40.313974 -2.753398)'))) / (select extract(epoch from '2026-07-28 06:40:11'::timestamp) - extract(epoch from '2026-07-28 06:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313967 -2.753414)'), GeomFromEWKT('SRID=4674;POINT (-40.313974 -2.753398)'))) / (select extract(epoch from '2026-07-28 06:40:11'::timestamp) - extract(epoch from '2026-07-28 06:40: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'), 47647, 'SRID=4674;POINT (-40.313981 -2.753418)', '2026-07-28 06:40:19', 40.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313974 -2.753398)'), GeomFromEWKT('SRID=4674;POINT (-40.313981 -2.753418)'))) / (select extract(epoch from '2026-07-28 06:40:19'::timestamp) - extract(epoch from '2026-07-28 06:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313974 -2.753398)'), GeomFromEWKT('SRID=4674;POINT (-40.313981 -2.753418)'))) / (select extract(epoch from '2026-07-28 06:40:19'::timestamp) - extract(epoch from '2026-07-28 06:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313969 -2.753388)', '2026-07-28 06:40:29', 40, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313981 -2.753418)'), GeomFromEWKT('SRID=4674;POINT (-40.313969 -2.753388)'))) / (select extract(epoch from '2026-07-28 06:40:29'::timestamp) - extract(epoch from '2026-07-28 06:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313981 -2.753418)'), GeomFromEWKT('SRID=4674;POINT (-40.313969 -2.753388)'))) / (select extract(epoch from '2026-07-28 06:40:29'::timestamp) - extract(epoch from '2026-07-28 06:40: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'), 47647, 'SRID=4674;POINT (-40.313966 -2.753381)', '2026-07-28 06:40:36', 40.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313969 -2.753388)'), GeomFromEWKT('SRID=4674;POINT (-40.313966 -2.753381)'))) / (select extract(epoch from '2026-07-28 06:40:36'::timestamp) - extract(epoch from '2026-07-28 06:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313969 -2.753388)'), GeomFromEWKT('SRID=4674;POINT (-40.313966 -2.753381)'))) / (select extract(epoch from '2026-07-28 06:40:36'::timestamp) - extract(epoch from '2026-07-28 06:40: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'), 47647, 'SRID=4674;POINT (-40.313977 -2.753366)', '2026-07-28 06:40:45', 40, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313966 -2.753381)'), GeomFromEWKT('SRID=4674;POINT (-40.313977 -2.753366)'))) / (select extract(epoch from '2026-07-28 06:40:45'::timestamp) - extract(epoch from '2026-07-28 06:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313966 -2.753381)'), GeomFromEWKT('SRID=4674;POINT (-40.313977 -2.753366)'))) / (select extract(epoch from '2026-07-28 06:40:45'::timestamp) - extract(epoch from '2026-07-28 06:40: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'), 47647, 'SRID=4674;POINT (-40.31396 -2.753338)', '2026-07-28 06:40:53', 40, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313977 -2.753366)'), GeomFromEWKT('SRID=4674;POINT (-40.31396 -2.753338)'))) / (select extract(epoch from '2026-07-28 06:40:53'::timestamp) - extract(epoch from '2026-07-28 06:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313977 -2.753366)'), GeomFromEWKT('SRID=4674;POINT (-40.31396 -2.753338)'))) / (select extract(epoch from '2026-07-28 06:40:53'::timestamp) - extract(epoch from '2026-07-28 06: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'), 47647, 'SRID=4674;POINT (-40.313952 -2.753301)', '2026-07-28 06:41:03', 39.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31396 -2.753338)'), GeomFromEWKT('SRID=4674;POINT (-40.313952 -2.753301)'))) / (select extract(epoch from '2026-07-28 06:41:03'::timestamp) - extract(epoch from '2026-07-28 06:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31396 -2.753338)'), GeomFromEWKT('SRID=4674;POINT (-40.313952 -2.753301)'))) / (select extract(epoch from '2026-07-28 06:41:03'::timestamp) - extract(epoch from '2026-07-28 06:40: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'), 47647, 'SRID=4674;POINT (-40.31395 -2.753268)', '2026-07-28 06:41:10', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313952 -2.753301)'), GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.753268)'))) / (select extract(epoch from '2026-07-28 06:41:10'::timestamp) - extract(epoch from '2026-07-28 06:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313952 -2.753301)'), GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.753268)'))) / (select extract(epoch from '2026-07-28 06:41:10'::timestamp) - extract(epoch from '2026-07-28 06:41: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'), 47647, 'SRID=4674;POINT (-40.313952 -2.75325)', '2026-07-28 06:41:17', 39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.753268)'), GeomFromEWKT('SRID=4674;POINT (-40.313952 -2.75325)'))) / (select extract(epoch from '2026-07-28 06:41:17'::timestamp) - extract(epoch from '2026-07-28 06:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.753268)'), GeomFromEWKT('SRID=4674;POINT (-40.313952 -2.75325)'))) / (select extract(epoch from '2026-07-28 06:41:17'::timestamp) - extract(epoch from '2026-07-28 06:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
