 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47859 -4.177725)', '2026-07-26 22:57:52', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177683)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177725)'))) / (select extract(epoch from '2026-07-26 22:57:52'::timestamp) - extract(epoch from '2026-07-26 22:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177683)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177725)'))) / (select extract(epoch from '2026-07-26 22:57:52'::timestamp) - extract(epoch from '2026-07-26 22:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478604 -4.177731)', '2026-07-26 22:58:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177725)'), GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177731)'))) / (select extract(epoch from '2026-07-26 22:58:03'::timestamp) - extract(epoch from '2026-07-26 22:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177725)'), GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177731)'))) / (select extract(epoch from '2026-07-26 22:58:03'::timestamp) - extract(epoch from '2026-07-26 22:57: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'), 47415, 'SRID=4674;POINT (-37.478595 -4.177742)', '2026-07-26 22:58:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177731)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177742)'))) / (select extract(epoch from '2026-07-26 22:58:14'::timestamp) - extract(epoch from '2026-07-26 22:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177731)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177742)'))) / (select extract(epoch from '2026-07-26 22:58:14'::timestamp) - extract(epoch from '2026-07-26 22:58: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'), 47415, 'SRID=4674;POINT (-37.478599 -4.177749)', '2026-07-26 22:58:46', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177742)'), GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177749)'))) / (select extract(epoch from '2026-07-26 22:58:46'::timestamp) - extract(epoch from '2026-07-26 22:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177742)'), GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177749)'))) / (select extract(epoch from '2026-07-26 22:58:46'::timestamp) - extract(epoch from '2026-07-26 22:58: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'), 47415, 'SRID=4674;POINT (-37.478565 -4.177762)', '2026-07-26 22:58:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177749)'), GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177762)'))) / (select extract(epoch from '2026-07-26 22:58:58'::timestamp) - extract(epoch from '2026-07-26 22:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177749)'), GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177762)'))) / (select extract(epoch from '2026-07-26 22:58:58'::timestamp) - extract(epoch from '2026-07-26 22:58: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'), 47415, 'SRID=4674;POINT (-37.478567 -4.177767)', '2026-07-26 22:59:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177767)'))) / (select extract(epoch from '2026-07-26 22:59:04'::timestamp) - extract(epoch from '2026-07-26 22:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177767)'))) / (select extract(epoch from '2026-07-26 22:59:04'::timestamp) - extract(epoch from '2026-07-26 22:58: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'), 47415, 'SRID=4674;POINT (-37.478567 -4.177755)', '2026-07-26 22:59:18', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177767)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177755)'))) / (select extract(epoch from '2026-07-26 22:59:18'::timestamp) - extract(epoch from '2026-07-26 22:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177767)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177755)'))) / (select extract(epoch from '2026-07-26 22:59:18'::timestamp) - extract(epoch from '2026-07-26 22:59: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'), 47415, 'SRID=4674;POINT (-37.478572 -4.177753)', '2026-07-26 22:59:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177755)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177753)'))) / (select extract(epoch from '2026-07-26 22:59:26'::timestamp) - extract(epoch from '2026-07-26 22:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177755)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177753)'))) / (select extract(epoch from '2026-07-26 22:59:26'::timestamp) - extract(epoch from '2026-07-26 22:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478574 -4.177754)', '2026-07-26 22:59:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177754)'))) / (select extract(epoch from '2026-07-26 22:59:34'::timestamp) - extract(epoch from '2026-07-26 22:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177754)'))) / (select extract(epoch from '2026-07-26 22:59:34'::timestamp) - extract(epoch from '2026-07-26 22:59: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'), 47415, 'SRID=4674;POINT (-37.478587 -4.177752)', '2026-07-26 22:59:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177754)'), GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177752)'))) / (select extract(epoch from '2026-07-26 22:59:36'::timestamp) - extract(epoch from '2026-07-26 22:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177754)'), GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177752)'))) / (select extract(epoch from '2026-07-26 22:59:36'::timestamp) - extract(epoch from '2026-07-26 22:59: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'), 47415, 'SRID=4674;POINT (-37.478591 -4.177739)', '2026-07-26 22:59:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177752)'), GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177739)'))) / (select extract(epoch from '2026-07-26 22:59:41'::timestamp) - extract(epoch from '2026-07-26 22:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177752)'), GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177739)'))) / (select extract(epoch from '2026-07-26 22:59:41'::timestamp) - extract(epoch from '2026-07-26 22:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478583 -4.177737)', '2026-07-26 22:59:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177739)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177737)'))) / (select extract(epoch from '2026-07-26 22:59:50'::timestamp) - extract(epoch from '2026-07-26 22:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177739)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177737)'))) / (select extract(epoch from '2026-07-26 22:59:50'::timestamp) - extract(epoch from '2026-07-26 22: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'), 47415, 'SRID=4674;POINT (-37.478574 -4.177738)', '2026-07-26 22:59:51', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177737)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177738)'))) / (select extract(epoch from '2026-07-26 22:59:51'::timestamp) - extract(epoch from '2026-07-26 22:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177737)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177738)'))) / (select extract(epoch from '2026-07-26 22:59:51'::timestamp) - extract(epoch from '2026-07-26 22:59: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'), 47415, 'SRID=4674;POINT (-37.478579 -4.177735)', '2026-07-26 22:59:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177735)'))) / (select extract(epoch from '2026-07-26 22:59:57'::timestamp) - extract(epoch from '2026-07-26 22:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177735)'))) / (select extract(epoch from '2026-07-26 22:59:57'::timestamp) - extract(epoch from '2026-07-26 22:59: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'), 47415, 'SRID=4674;POINT (-37.478592 -4.177739)', '2026-07-26 23:00:11', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177739)'))) / (select extract(epoch from '2026-07-26 23:00:11'::timestamp) - extract(epoch from '2026-07-26 22:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177739)'))) / (select extract(epoch from '2026-07-26 23:00:11'::timestamp) - extract(epoch from '2026-07-26 22:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47859 -4.177744)', '2026-07-26 23:00:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177739)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177744)'))) / (select extract(epoch from '2026-07-26 23:00:17'::timestamp) - extract(epoch from '2026-07-26 23:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177739)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177744)'))) / (select extract(epoch from '2026-07-26 23:00:17'::timestamp) - extract(epoch from '2026-07-26 23:00: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.177743)', '2026-07-26 23:00:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177744)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177743)'))) / (select extract(epoch from '2026-07-26 23:00:55'::timestamp) - extract(epoch from '2026-07-26 23:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177744)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177743)'))) / (select extract(epoch from '2026-07-26 23:00:55'::timestamp) - extract(epoch from '2026-07-26 23:00: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.177758)', '2026-07-26 23:01:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177758)'))) / (select extract(epoch from '2026-07-26 23:01:11'::timestamp) - extract(epoch from '2026-07-26 23:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177758)'))) / (select extract(epoch from '2026-07-26 23:01:11'::timestamp) - extract(epoch from '2026-07-26 23:00: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.177752)', '2026-07-26 23:01:17', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177752)'))) / (select extract(epoch from '2026-07-26 23:01:17'::timestamp) - extract(epoch from '2026-07-26 23:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177752)'))) / (select extract(epoch from '2026-07-26 23:01:17'::timestamp) - extract(epoch from '2026-07-26 23:01: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'), 47415, 'SRID=4674;POINT (-37.478593 -4.177785)', '2026-07-26 23:01:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177752)'), GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:01:41'::timestamp) - extract(epoch from '2026-07-26 23:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177752)'), GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:01:41'::timestamp) - extract(epoch from '2026-07-26 23:01: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'), 47415, 'SRID=4674;POINT (-37.478609 -4.177769)', '2026-07-26 23:02:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177769)'))) / (select extract(epoch from '2026-07-26 23:02:15'::timestamp) - extract(epoch from '2026-07-26 23:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177769)'))) / (select extract(epoch from '2026-07-26 23:02:15'::timestamp) - extract(epoch from '2026-07-26 23:01: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'), 47415, 'SRID=4674;POINT (-37.478615 -4.177769)', '2026-07-26 23:02:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177769)'), GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177769)'))) / (select extract(epoch from '2026-07-26 23:02:18'::timestamp) - extract(epoch from '2026-07-26 23:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177769)'), GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177769)'))) / (select extract(epoch from '2026-07-26 23:02:18'::timestamp) - extract(epoch from '2026-07-26 23:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478608 -4.177765)', '2026-07-26 23:02:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177769)'), GeomFromEWKT('SRID=4674;POINT (-37.478608 -4.177765)'))) / (select extract(epoch from '2026-07-26 23:02:25'::timestamp) - extract(epoch from '2026-07-26 23:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177769)'), GeomFromEWKT('SRID=4674;POINT (-37.478608 -4.177765)'))) / (select extract(epoch from '2026-07-26 23:02:25'::timestamp) - extract(epoch from '2026-07-26 23:02:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478603 -4.177771)', '2026-07-26 23:02:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478608 -4.177765)'), GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177771)'))) / (select extract(epoch from '2026-07-26 23:02:34'::timestamp) - extract(epoch from '2026-07-26 23:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478608 -4.177765)'), GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177771)'))) / (select extract(epoch from '2026-07-26 23:02:34'::timestamp) - extract(epoch from '2026-07-26 23:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478588 -4.177779)', '2026-07-26 23:02:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177771)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177779)'))) / (select extract(epoch from '2026-07-26 23:02:43'::timestamp) - extract(epoch from '2026-07-26 23:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177771)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177779)'))) / (select extract(epoch from '2026-07-26 23:02:43'::timestamp) - extract(epoch from '2026-07-26 23:02: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'), 47415, 'SRID=4674;POINT (-37.478591 -4.177786)', '2026-07-26 23:02:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177779)'), GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177786)'))) / (select extract(epoch from '2026-07-26 23:02:51'::timestamp) - extract(epoch from '2026-07-26 23:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177779)'), GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177786)'))) / (select extract(epoch from '2026-07-26 23:02:51'::timestamp) - extract(epoch from '2026-07-26 23:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478588 -4.177784)', '2026-07-26 23:03:00', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177786)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177784)'))) / (select extract(epoch from '2026-07-26 23:03:00'::timestamp) - extract(epoch from '2026-07-26 23:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177786)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177784)'))) / (select extract(epoch from '2026-07-26 23:03:00'::timestamp) - extract(epoch from '2026-07-26 23:02: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'), 47415, 'SRID=4674;POINT (-37.478598 -4.177774)', '2026-07-26 23:03:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177784)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177774)'))) / (select extract(epoch from '2026-07-26 23:03:08'::timestamp) - extract(epoch from '2026-07-26 23:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177784)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177774)'))) / (select extract(epoch from '2026-07-26 23:03:08'::timestamp) - extract(epoch from '2026-07-26 23:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478598 -4.177779)', '2026-07-26 23:03:21', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177774)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177779)'))) / (select extract(epoch from '2026-07-26 23:03:21'::timestamp) - extract(epoch from '2026-07-26 23:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177774)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177779)'))) / (select extract(epoch from '2026-07-26 23:03:21'::timestamp) - extract(epoch from '2026-07-26 23:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478588 -4.177782)', '2026-07-26 23:03:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177779)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177782)'))) / (select extract(epoch from '2026-07-26 23:03:30'::timestamp) - extract(epoch from '2026-07-26 23:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177779)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177782)'))) / (select extract(epoch from '2026-07-26 23:03:30'::timestamp) - extract(epoch from '2026-07-26 23:03: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'), 47415, 'SRID=4674;POINT (-37.478601 -4.17779)', '2026-07-26 23:03:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177782)'), GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.17779)'))) / (select extract(epoch from '2026-07-26 23:03:36'::timestamp) - extract(epoch from '2026-07-26 23:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177782)'), GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.17779)'))) / (select extract(epoch from '2026-07-26 23:03:36'::timestamp) - extract(epoch from '2026-07-26 23:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478588 -4.177784)', '2026-07-26 23:03:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.17779)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177784)'))) / (select extract(epoch from '2026-07-26 23:03:44'::timestamp) - extract(epoch from '2026-07-26 23:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.17779)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177784)'))) / (select extract(epoch from '2026-07-26 23:03:44'::timestamp) - extract(epoch from '2026-07-26 23:03: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'), 47415, 'SRID=4674;POINT (-37.478583 -4.177788)', '2026-07-26 23:04:08', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177784)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177788)'))) / (select extract(epoch from '2026-07-26 23:04:08'::timestamp) - extract(epoch from '2026-07-26 23:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177784)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177788)'))) / (select extract(epoch from '2026-07-26 23:04:08'::timestamp) - extract(epoch from '2026-07-26 23:03: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'), 47415, 'SRID=4674;POINT (-37.478592 -4.177791)', '2026-07-26 23:04:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177788)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177791)'))) / (select extract(epoch from '2026-07-26 23:04:16'::timestamp) - extract(epoch from '2026-07-26 23:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177788)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177791)'))) / (select extract(epoch from '2026-07-26 23:04:16'::timestamp) - extract(epoch from '2026-07-26 23:04: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'), 47415, 'SRID=4674;POINT (-37.478586 -4.177778)', '2026-07-26 23:04:29', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177791)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177778)'))) / (select extract(epoch from '2026-07-26 23:04:29'::timestamp) - extract(epoch from '2026-07-26 23:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177791)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177778)'))) / (select extract(epoch from '2026-07-26 23:04:29'::timestamp) - extract(epoch from '2026-07-26 23:04: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'), 47415, 'SRID=4674;POINT (-37.478595 -4.177772)', '2026-07-26 23:04:42', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177778)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177772)'))) / (select extract(epoch from '2026-07-26 23:04:42'::timestamp) - extract(epoch from '2026-07-26 23:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177778)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177772)'))) / (select extract(epoch from '2026-07-26 23:04:42'::timestamp) - extract(epoch from '2026-07-26 23:04:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478602 -4.177767)', '2026-07-26 23:05:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177772)'), GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177767)'))) / (select extract(epoch from '2026-07-26 23:05:07'::timestamp) - extract(epoch from '2026-07-26 23:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177772)'), GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177767)'))) / (select extract(epoch from '2026-07-26 23:05:07'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478593 -4.177772)', '2026-07-26 23:05:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177767)'), GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177772)'))) / (select extract(epoch from '2026-07-26 23:05:19'::timestamp) - extract(epoch from '2026-07-26 23:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177767)'), GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177772)'))) / (select extract(epoch from '2026-07-26 23:05:19'::timestamp) - extract(epoch from '2026-07-26 23:05: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'), 47415, 'SRID=4674;POINT (-37.478589 -4.177768)', '2026-07-26 23:05:31', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177772)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177768)'))) / (select extract(epoch from '2026-07-26 23:05:31'::timestamp) - extract(epoch from '2026-07-26 23:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177772)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177768)'))) / (select extract(epoch from '2026-07-26 23:05:31'::timestamp) - extract(epoch from '2026-07-26 23:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478586 -4.177764)', '2026-07-26 23:06:00', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177768)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177764)'))) / (select extract(epoch from '2026-07-26 23:06:00'::timestamp) - extract(epoch from '2026-07-26 23:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177768)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177764)'))) / (select extract(epoch from '2026-07-26 23:06:00'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.177766)', '2026-07-26 23:06:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177766)'))) / (select extract(epoch from '2026-07-26 23:06:21'::timestamp) - extract(epoch from '2026-07-26 23:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177766)'))) / (select extract(epoch from '2026-07-26 23:06:21'::timestamp) - extract(epoch from '2026-07-26 23:06: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'), 47415, 'SRID=4674;POINT (-37.478577 -4.177775)', '2026-07-26 23:06:29', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177775)'))) / (select extract(epoch from '2026-07-26 23:06:29'::timestamp) - extract(epoch from '2026-07-26 23:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177775)'))) / (select extract(epoch from '2026-07-26 23:06:29'::timestamp) - extract(epoch from '2026-07-26 23:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478582 -4.177776)', '2026-07-26 23:07:10', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177775)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177776)'))) / (select extract(epoch from '2026-07-26 23:07:10'::timestamp) - extract(epoch from '2026-07-26 23:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177775)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177776)'))) / (select extract(epoch from '2026-07-26 23:07:10'::timestamp) - extract(epoch from '2026-07-26 23:06: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'), 47415, 'SRID=4674;POINT (-37.478585 -4.177808)', '2026-07-26 23:08:09', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177776)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177808)'))) / (select extract(epoch from '2026-07-26 23:08:09'::timestamp) - extract(epoch from '2026-07-26 23:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177776)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177808)'))) / (select extract(epoch from '2026-07-26 23:08:09'::timestamp) - extract(epoch from '2026-07-26 23:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478574 -4.177808)', '2026-07-26 23:08:19', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177808)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177808)'))) / (select extract(epoch from '2026-07-26 23:08:19'::timestamp) - extract(epoch from '2026-07-26 23:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177808)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177808)'))) / (select extract(epoch from '2026-07-26 23:08:19'::timestamp) - extract(epoch from '2026-07-26 23:08: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'), 47415, 'SRID=4674;POINT (-37.478589 -4.177786)', '2026-07-26 23:08:57', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177808)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177786)'))) / (select extract(epoch from '2026-07-26 23:08:57'::timestamp) - extract(epoch from '2026-07-26 23:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177808)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177786)'))) / (select extract(epoch from '2026-07-26 23:08:57'::timestamp) - extract(epoch from '2026-07-26 23:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478623 -4.177792)', '2026-07-26 23:09:04', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177786)'), GeomFromEWKT('SRID=4674;POINT (-37.478623 -4.177792)'))) / (select extract(epoch from '2026-07-26 23:09:04'::timestamp) - extract(epoch from '2026-07-26 23:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177786)'), GeomFromEWKT('SRID=4674;POINT (-37.478623 -4.177792)'))) / (select extract(epoch from '2026-07-26 23:09:04'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478629 -4.17779)', '2026-07-26 23:09:09', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478623 -4.177792)'), GeomFromEWKT('SRID=4674;POINT (-37.478629 -4.17779)'))) / (select extract(epoch from '2026-07-26 23:09:09'::timestamp) - extract(epoch from '2026-07-26 23:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478623 -4.177792)'), GeomFromEWKT('SRID=4674;POINT (-37.478629 -4.17779)'))) / (select extract(epoch from '2026-07-26 23:09:09'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478579 -4.177799)', '2026-07-26 23:09:22', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478629 -4.17779)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177799)'))) / (select extract(epoch from '2026-07-26 23:09:22'::timestamp) - extract(epoch from '2026-07-26 23:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478629 -4.17779)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177799)'))) / (select extract(epoch from '2026-07-26 23:09:22'::timestamp) - extract(epoch from '2026-07-26 23:09: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'), 47415, 'SRID=4674;POINT (-37.478579 -4.177799)', '2026-07-26 23:09:28', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177799)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177799)'))) / (select extract(epoch from '2026-07-26 23:09:28'::timestamp) - extract(epoch from '2026-07-26 23:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177799)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177799)'))) / (select extract(epoch from '2026-07-26 23:09:28'::timestamp) - extract(epoch from '2026-07-26 23:09:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478607 -4.177795)', '2026-07-26 23:09:51', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177799)'), GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177795)'))) / (select extract(epoch from '2026-07-26 23:09:51'::timestamp) - extract(epoch from '2026-07-26 23:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177799)'), GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177795)'))) / (select extract(epoch from '2026-07-26 23:09:51'::timestamp) - extract(epoch from '2026-07-26 23:09: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'), 47415, 'SRID=4674;POINT (-37.478613 -4.177793)', '2026-07-26 23:10:04', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177795)'), GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177793)'))) / (select extract(epoch from '2026-07-26 23:10:04'::timestamp) - extract(epoch from '2026-07-26 23:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177795)'), GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177793)'))) / (select extract(epoch from '2026-07-26 23:10:04'::timestamp) - extract(epoch from '2026-07-26 23:09: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'), 47415, 'SRID=4674;POINT (-37.478611 -4.177795)', '2026-07-26 23:10:10', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177793)'), GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.177795)'))) / (select extract(epoch from '2026-07-26 23:10:10'::timestamp) - extract(epoch from '2026-07-26 23:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177793)'), GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.177795)'))) / (select extract(epoch from '2026-07-26 23:10:10'::timestamp) - extract(epoch from '2026-07-26 23:10: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'), 47415, 'SRID=4674;POINT (-37.478601 -4.177761)', '2026-07-26 23:10:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.177795)'), GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177761)'))) / (select extract(epoch from '2026-07-26 23:10:55'::timestamp) - extract(epoch from '2026-07-26 23:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.177795)'), GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177761)'))) / (select extract(epoch from '2026-07-26 23:10:55'::timestamp) - extract(epoch from '2026-07-26 23:10: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'), 47415, 'SRID=4674;POINT (-37.478609 -4.177765)', '2026-07-26 23:10:59', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177761)'), GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177765)'))) / (select extract(epoch from '2026-07-26 23:10:59'::timestamp) - extract(epoch from '2026-07-26 23:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177761)'), GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177765)'))) / (select extract(epoch from '2026-07-26 23:10:59'::timestamp) - extract(epoch from '2026-07-26 23:10:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478606 -4.177764)', '2026-07-26 23:11:09', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177765)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177764)'))) / (select extract(epoch from '2026-07-26 23:11:09'::timestamp) - extract(epoch from '2026-07-26 23:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177765)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177764)'))) / (select extract(epoch from '2026-07-26 23:11:09'::timestamp) - extract(epoch from '2026-07-26 23:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478597 -4.177785)', '2026-07-26 23:11:21', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:11:21'::timestamp) - extract(epoch from '2026-07-26 23:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:11:21'::timestamp) - extract(epoch from '2026-07-26 23:11: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'), 47415, 'SRID=4674;POINT (-37.478604 -4.177789)', '2026-07-26 23:11:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177789)'))) / (select extract(epoch from '2026-07-26 23:11:27'::timestamp) - extract(epoch from '2026-07-26 23:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177789)'))) / (select extract(epoch from '2026-07-26 23:11:27'::timestamp) - extract(epoch from '2026-07-26 23:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478607 -4.177782)', '2026-07-26 23:11:35', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177789)'), GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177782)'))) / (select extract(epoch from '2026-07-26 23:11:35'::timestamp) - extract(epoch from '2026-07-26 23:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177789)'), GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177782)'))) / (select extract(epoch from '2026-07-26 23:11:35'::timestamp) - extract(epoch from '2026-07-26 23:11: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'), 47415, 'SRID=4674;POINT (-37.478593 -4.177765)', '2026-07-26 23:12:08', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177782)'), GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177765)'))) / (select extract(epoch from '2026-07-26 23:12:08'::timestamp) - extract(epoch from '2026-07-26 23:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177782)'), GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177765)'))) / (select extract(epoch from '2026-07-26 23:12:08'::timestamp) - extract(epoch from '2026-07-26 23:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478603 -4.177766)', '2026-07-26 23:12:14', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177765)'), GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177766)'))) / (select extract(epoch from '2026-07-26 23:12:14'::timestamp) - extract(epoch from '2026-07-26 23:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177765)'), GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177766)'))) / (select extract(epoch from '2026-07-26 23:12:14'::timestamp) - extract(epoch from '2026-07-26 23:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478609 -4.177771)', '2026-07-26 23:12:25', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177771)'))) / (select extract(epoch from '2026-07-26 23:12:25'::timestamp) - extract(epoch from '2026-07-26 23:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177771)'))) / (select extract(epoch from '2026-07-26 23:12:25'::timestamp) - extract(epoch from '2026-07-26 23:12: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'), 47415, 'SRID=4674;POINT (-37.478617 -4.177761)', '2026-07-26 23:12:49', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177771)'), GeomFromEWKT('SRID=4674;POINT (-37.478617 -4.177761)'))) / (select extract(epoch from '2026-07-26 23:12:49'::timestamp) - extract(epoch from '2026-07-26 23:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478609 -4.177771)'), GeomFromEWKT('SRID=4674;POINT (-37.478617 -4.177761)'))) / (select extract(epoch from '2026-07-26 23:12:49'::timestamp) - extract(epoch from '2026-07-26 23:12: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'), 47415, 'SRID=4674;POINT (-37.478628 -4.177747)', '2026-07-26 23:12:56', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478617 -4.177761)'), GeomFromEWKT('SRID=4674;POINT (-37.478628 -4.177747)'))) / (select extract(epoch from '2026-07-26 23:12:56'::timestamp) - extract(epoch from '2026-07-26 23:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478617 -4.177761)'), GeomFromEWKT('SRID=4674;POINT (-37.478628 -4.177747)'))) / (select extract(epoch from '2026-07-26 23:12:56'::timestamp) - extract(epoch from '2026-07-26 23:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478618 -4.177759)', '2026-07-26 23:13:20', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478628 -4.177747)'), GeomFromEWKT('SRID=4674;POINT (-37.478618 -4.177759)'))) / (select extract(epoch from '2026-07-26 23:13:20'::timestamp) - extract(epoch from '2026-07-26 23:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478628 -4.177747)'), GeomFromEWKT('SRID=4674;POINT (-37.478618 -4.177759)'))) / (select extract(epoch from '2026-07-26 23:13:20'::timestamp) - extract(epoch from '2026-07-26 23:12: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'), 47415, 'SRID=4674;POINT (-37.478628 -4.177763)', '2026-07-26 23:13:26', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478618 -4.177759)'), GeomFromEWKT('SRID=4674;POINT (-37.478628 -4.177763)'))) / (select extract(epoch from '2026-07-26 23:13:26'::timestamp) - extract(epoch from '2026-07-26 23:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478618 -4.177759)'), GeomFromEWKT('SRID=4674;POINT (-37.478628 -4.177763)'))) / (select extract(epoch from '2026-07-26 23:13:26'::timestamp) - extract(epoch from '2026-07-26 23:13: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'), 47415, 'SRID=4674;POINT (-37.478624 -4.177768)', '2026-07-26 23:13:34', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478628 -4.177763)'), GeomFromEWKT('SRID=4674;POINT (-37.478624 -4.177768)'))) / (select extract(epoch from '2026-07-26 23:13:34'::timestamp) - extract(epoch from '2026-07-26 23:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478628 -4.177763)'), GeomFromEWKT('SRID=4674;POINT (-37.478624 -4.177768)'))) / (select extract(epoch from '2026-07-26 23:13:34'::timestamp) - extract(epoch from '2026-07-26 23:13:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478622 -4.17776)', '2026-07-26 23:13:40', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478624 -4.177768)'), GeomFromEWKT('SRID=4674;POINT (-37.478622 -4.17776)'))) / (select extract(epoch from '2026-07-26 23:13:40'::timestamp) - extract(epoch from '2026-07-26 23:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478624 -4.177768)'), GeomFromEWKT('SRID=4674;POINT (-37.478622 -4.17776)'))) / (select extract(epoch from '2026-07-26 23:13:40'::timestamp) - extract(epoch from '2026-07-26 23:13: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'), 47415, 'SRID=4674;POINT (-37.478606 -4.177765)', '2026-07-26 23:13:48', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478622 -4.17776)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177765)'))) / (select extract(epoch from '2026-07-26 23:13:48'::timestamp) - extract(epoch from '2026-07-26 23:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478622 -4.17776)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177765)'))) / (select extract(epoch from '2026-07-26 23:13:48'::timestamp) - extract(epoch from '2026-07-26 23:13: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'), 47415, 'SRID=4674;POINT (-37.478629 -4.177764)', '2026-07-26 23:14:14', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177765)'), GeomFromEWKT('SRID=4674;POINT (-37.478629 -4.177764)'))) / (select extract(epoch from '2026-07-26 23:14:14'::timestamp) - extract(epoch from '2026-07-26 23:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177765)'), GeomFromEWKT('SRID=4674;POINT (-37.478629 -4.177764)'))) / (select extract(epoch from '2026-07-26 23:14:14'::timestamp) - extract(epoch from '2026-07-26 23:13: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'), 47415, 'SRID=4674;POINT (-37.478645 -4.177767)', '2026-07-26 23:14:19', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478629 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478645 -4.177767)'))) / (select extract(epoch from '2026-07-26 23:14:19'::timestamp) - extract(epoch from '2026-07-26 23:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478629 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478645 -4.177767)'))) / (select extract(epoch from '2026-07-26 23:14:19'::timestamp) - extract(epoch from '2026-07-26 23:14:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478615 -4.177777)', '2026-07-26 23:15:10', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478645 -4.177767)'), GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177777)'))) / (select extract(epoch from '2026-07-26 23:15:10'::timestamp) - extract(epoch from '2026-07-26 23:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478645 -4.177767)'), GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177777)'))) / (select extract(epoch from '2026-07-26 23:15:10'::timestamp) - extract(epoch from '2026-07-26 23:14: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'), 47415, 'SRID=4674;POINT (-37.47865 -4.177785)', '2026-07-26 23:15:19', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177777)'), GeomFromEWKT('SRID=4674;POINT (-37.47865 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:15:19'::timestamp) - extract(epoch from '2026-07-26 23:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177777)'), GeomFromEWKT('SRID=4674;POINT (-37.47865 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:15:19'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478645 -4.177787)', '2026-07-26 23:15:27', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47865 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478645 -4.177787)'))) / (select extract(epoch from '2026-07-26 23:15:27'::timestamp) - extract(epoch from '2026-07-26 23:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47865 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478645 -4.177787)'))) / (select extract(epoch from '2026-07-26 23:15:27'::timestamp) - extract(epoch from '2026-07-26 23:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478619 -4.177779)', '2026-07-26 23:15:35', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478645 -4.177787)'), GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.177779)'))) / (select extract(epoch from '2026-07-26 23:15:35'::timestamp) - extract(epoch from '2026-07-26 23:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478645 -4.177787)'), GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.177779)'))) / (select extract(epoch from '2026-07-26 23:15:35'::timestamp) - extract(epoch from '2026-07-26 23:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478618 -4.177744)', '2026-07-26 23:15:52', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.177779)'), GeomFromEWKT('SRID=4674;POINT (-37.478618 -4.177744)'))) / (select extract(epoch from '2026-07-26 23:15:52'::timestamp) - extract(epoch from '2026-07-26 23:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.177779)'), GeomFromEWKT('SRID=4674;POINT (-37.478618 -4.177744)'))) / (select extract(epoch from '2026-07-26 23:15:52'::timestamp) - extract(epoch from '2026-07-26 23:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478624 -4.177743)', '2026-07-26 23:16:14', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478618 -4.177744)'), GeomFromEWKT('SRID=4674;POINT (-37.478624 -4.177743)'))) / (select extract(epoch from '2026-07-26 23:16:14'::timestamp) - extract(epoch from '2026-07-26 23:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478618 -4.177744)'), GeomFromEWKT('SRID=4674;POINT (-37.478624 -4.177743)'))) / (select extract(epoch from '2026-07-26 23:16:14'::timestamp) - extract(epoch from '2026-07-26 23:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478606 -4.177744)', '2026-07-26 23:16:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478624 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177744)'))) / (select extract(epoch from '2026-07-26 23:16:21'::timestamp) - extract(epoch from '2026-07-26 23:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478624 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177744)'))) / (select extract(epoch from '2026-07-26 23:16:21'::timestamp) - extract(epoch from '2026-07-26 23:16: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'), 47415, 'SRID=4674;POINT (-37.478594 -4.177762)', '2026-07-26 23:16:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177744)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177762)'))) / (select extract(epoch from '2026-07-26 23:16:34'::timestamp) - extract(epoch from '2026-07-26 23:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177744)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177762)'))) / (select extract(epoch from '2026-07-26 23:16:34'::timestamp) - extract(epoch from '2026-07-26 23:16: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'), 47415, 'SRID=4674;POINT (-37.478585 -4.177753)', '2026-07-26 23:16:55', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177753)'))) / (select extract(epoch from '2026-07-26 23:16:55'::timestamp) - extract(epoch from '2026-07-26 23:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177753)'))) / (select extract(epoch from '2026-07-26 23:16:55'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478597 -4.177758)', '2026-07-26 23:17:04', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177758)'))) / (select extract(epoch from '2026-07-26 23:17:04'::timestamp) - extract(epoch from '2026-07-26 23:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177758)'))) / (select extract(epoch from '2026-07-26 23:17:04'::timestamp) - extract(epoch from '2026-07-26 23:16: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'), 47415, 'SRID=4674;POINT (-37.478598 -4.17776)', '2026-07-26 23:17:12', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.17776)'))) / (select extract(epoch from '2026-07-26 23:17:12'::timestamp) - extract(epoch from '2026-07-26 23:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.17776)'))) / (select extract(epoch from '2026-07-26 23:17:12'::timestamp) - extract(epoch from '2026-07-26 23:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478606 -4.177766)', '2026-07-26 23:17:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.17776)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177766)'))) / (select extract(epoch from '2026-07-26 23:17:15'::timestamp) - extract(epoch from '2026-07-26 23:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.17776)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177766)'))) / (select extract(epoch from '2026-07-26 23:17:15'::timestamp) - extract(epoch from '2026-07-26 23:17: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'), 47415, 'SRID=4674;POINT (-37.478597 -4.177762)', '2026-07-26 23:17:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177762)'))) / (select extract(epoch from '2026-07-26 23:17:20'::timestamp) - extract(epoch from '2026-07-26 23:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177762)'))) / (select extract(epoch from '2026-07-26 23:17:20'::timestamp) - extract(epoch from '2026-07-26 23:17: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'), 47415, 'SRID=4674;POINT (-37.478603 -4.177785)', '2026-07-26 23:17:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:17:43'::timestamp) - extract(epoch from '2026-07-26 23:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:17:43'::timestamp) - extract(epoch from '2026-07-26 23:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.4786 -4.177803)', '2026-07-26 23:18:21', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.4786 -4.177803)'))) / (select extract(epoch from '2026-07-26 23:18:21'::timestamp) - extract(epoch from '2026-07-26 23:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.4786 -4.177803)'))) / (select extract(epoch from '2026-07-26 23:18:21'::timestamp) - extract(epoch from '2026-07-26 23:17: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'), 47415, 'SRID=4674;POINT (-37.478584 -4.177815)', '2026-07-26 23:18:51', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.4786 -4.177803)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177815)'))) / (select extract(epoch from '2026-07-26 23:18:51'::timestamp) - extract(epoch from '2026-07-26 23:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.4786 -4.177803)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177815)'))) / (select extract(epoch from '2026-07-26 23:18:51'::timestamp) - extract(epoch from '2026-07-26 23:18: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'), 47415, 'SRID=4674;POINT (-37.478577 -4.177809)', '2026-07-26 23:19:03', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177815)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177809)'))) / (select extract(epoch from '2026-07-26 23:19:03'::timestamp) - extract(epoch from '2026-07-26 23:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177815)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177809)'))) / (select extract(epoch from '2026-07-26 23:19:03'::timestamp) - extract(epoch from '2026-07-26 23:18: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'), 47415, 'SRID=4674;POINT (-37.478592 -4.17782)', '2026-07-26 23:19:09', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177809)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.17782)'))) / (select extract(epoch from '2026-07-26 23:19:09'::timestamp) - extract(epoch from '2026-07-26 23:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177809)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.17782)'))) / (select extract(epoch from '2026-07-26 23:19:09'::timestamp) - extract(epoch from '2026-07-26 23:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.4786 -4.177818)', '2026-07-26 23:19:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.17782)'), GeomFromEWKT('SRID=4674;POINT (-37.4786 -4.177818)'))) / (select extract(epoch from '2026-07-26 23:19:24'::timestamp) - extract(epoch from '2026-07-26 23:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.17782)'), GeomFromEWKT('SRID=4674;POINT (-37.4786 -4.177818)'))) / (select extract(epoch from '2026-07-26 23:19:24'::timestamp) - extract(epoch from '2026-07-26 23:19: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'), 47415, 'SRID=4674;POINT (-37.478595 -4.177829)', '2026-07-26 23:19:28', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.4786 -4.177818)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177829)'))) / (select extract(epoch from '2026-07-26 23:19:28'::timestamp) - extract(epoch from '2026-07-26 23:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.4786 -4.177818)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177829)'))) / (select extract(epoch from '2026-07-26 23:19:28'::timestamp) - extract(epoch from '2026-07-26 23:19: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'), 47415, 'SRID=4674;POINT (-37.478594 -4.177835)', '2026-07-26 23:19:33', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177829)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177835)'))) / (select extract(epoch from '2026-07-26 23:19:33'::timestamp) - extract(epoch from '2026-07-26 23:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177829)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177835)'))) / (select extract(epoch from '2026-07-26 23:19:33'::timestamp) - extract(epoch from '2026-07-26 23:19: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'), 47415, 'SRID=4674;POINT (-37.478575 -4.177833)', '2026-07-26 23:19:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177835)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177833)'))) / (select extract(epoch from '2026-07-26 23:19:39'::timestamp) - extract(epoch from '2026-07-26 23:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177835)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177833)'))) / (select extract(epoch from '2026-07-26 23:19:39'::timestamp) - extract(epoch from '2026-07-26 23:19: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'), 47415, 'SRID=4674;POINT (-37.478569 -4.177833)', '2026-07-26 23:19:42', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177833)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177833)'))) / (select extract(epoch from '2026-07-26 23:19:42'::timestamp) - extract(epoch from '2026-07-26 23:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177833)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177833)'))) / (select extract(epoch from '2026-07-26 23:19:42'::timestamp) - extract(epoch from '2026-07-26 23:19: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'), 47415, 'SRID=4674;POINT (-37.47859 -4.177848)', '2026-07-26 23:20:10', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177833)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177848)'))) / (select extract(epoch from '2026-07-26 23:20:10'::timestamp) - extract(epoch from '2026-07-26 23:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177833)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177848)'))) / (select extract(epoch from '2026-07-26 23:20:10'::timestamp) - extract(epoch from '2026-07-26 23:19: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'), 47415, 'SRID=4674;POINT (-37.478586 -4.177853)', '2026-07-26 23:20:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177848)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177853)'))) / (select extract(epoch from '2026-07-26 23:20:20'::timestamp) - extract(epoch from '2026-07-26 23:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177848)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177853)'))) / (select extract(epoch from '2026-07-26 23:20:20'::timestamp) - extract(epoch from '2026-07-26 23:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478614 -4.177827)', '2026-07-26 23:20:31', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177853)'), GeomFromEWKT('SRID=4674;POINT (-37.478614 -4.177827)'))) / (select extract(epoch from '2026-07-26 23:20:31'::timestamp) - extract(epoch from '2026-07-26 23:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177853)'), GeomFromEWKT('SRID=4674;POINT (-37.478614 -4.177827)'))) / (select extract(epoch from '2026-07-26 23:20:31'::timestamp) - extract(epoch from '2026-07-26 23:20: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'), 47415, 'SRID=4674;POINT (-37.478613 -4.177818)', '2026-07-26 23:20:44', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478614 -4.177827)'), GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177818)'))) / (select extract(epoch from '2026-07-26 23:20:44'::timestamp) - extract(epoch from '2026-07-26 23:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478614 -4.177827)'), GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177818)'))) / (select extract(epoch from '2026-07-26 23:20:44'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478591 -4.177832)', '2026-07-26 23:20:52', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177818)'), GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177832)'))) / (select extract(epoch from '2026-07-26 23:20:52'::timestamp) - extract(epoch from '2026-07-26 23:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177818)'), GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177832)'))) / (select extract(epoch from '2026-07-26 23:20:52'::timestamp) - extract(epoch from '2026-07-26 23:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478585 -4.177862)', '2026-07-26 23:21:32', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177832)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177862)'))) / (select extract(epoch from '2026-07-26 23:21:32'::timestamp) - extract(epoch from '2026-07-26 23:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177832)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177862)'))) / (select extract(epoch from '2026-07-26 23:21:32'::timestamp) - extract(epoch from '2026-07-26 23:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478585 -4.177851)', '2026-07-26 23:22:05', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177862)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177851)'))) / (select extract(epoch from '2026-07-26 23:22:05'::timestamp) - extract(epoch from '2026-07-26 23:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177862)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177851)'))) / (select extract(epoch from '2026-07-26 23:22:05'::timestamp) - extract(epoch from '2026-07-26 23:21: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'), 47415, 'SRID=4674;POINT (-37.478598 -4.177825)', '2026-07-26 23:22:18', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177851)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177825)'))) / (select extract(epoch from '2026-07-26 23:22:18'::timestamp) - extract(epoch from '2026-07-26 23:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177851)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177825)'))) / (select extract(epoch from '2026-07-26 23:22:18'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478594 -4.177841)', '2026-07-26 23:22:41', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177825)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177841)'))) / (select extract(epoch from '2026-07-26 23:22:41'::timestamp) - extract(epoch from '2026-07-26 23:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177825)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177841)'))) / (select extract(epoch from '2026-07-26 23:22:41'::timestamp) - extract(epoch from '2026-07-26 23:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47858 -4.177835)', '2026-07-26 23:22:54', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177841)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177835)'))) / (select extract(epoch from '2026-07-26 23:22:54'::timestamp) - extract(epoch from '2026-07-26 23:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177841)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177835)'))) / (select extract(epoch from '2026-07-26 23:22:54'::timestamp) - extract(epoch from '2026-07-26 23:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47857 -4.177834)', '2026-07-26 23:23:02', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177835)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177834)'))) / (select extract(epoch from '2026-07-26 23:23:02'::timestamp) - extract(epoch from '2026-07-26 23:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177835)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177834)'))) / (select extract(epoch from '2026-07-26 23:23:02'::timestamp) - extract(epoch from '2026-07-26 23:22: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'), 47415, 'SRID=4674;POINT (-37.478583 -4.177819)', '2026-07-26 23:23:19', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177834)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177819)'))) / (select extract(epoch from '2026-07-26 23:23:19'::timestamp) - extract(epoch from '2026-07-26 23:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177834)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177819)'))) / (select extract(epoch from '2026-07-26 23:23:19'::timestamp) - extract(epoch from '2026-07-26 23:23: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'), 47415, 'SRID=4674;POINT (-37.478566 -4.17783)', '2026-07-26 23:23:39', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177819)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.17783)'))) / (select extract(epoch from '2026-07-26 23:23:39'::timestamp) - extract(epoch from '2026-07-26 23:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177819)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.17783)'))) / (select extract(epoch from '2026-07-26 23:23:39'::timestamp) - extract(epoch from '2026-07-26 23:23: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'), 47415, 'SRID=4674;POINT (-37.478563 -4.177831)', '2026-07-26 23:24:32', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.17783)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177831)'))) / (select extract(epoch from '2026-07-26 23:24:32'::timestamp) - extract(epoch from '2026-07-26 23:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.17783)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177831)'))) / (select extract(epoch from '2026-07-26 23:24:32'::timestamp) - extract(epoch from '2026-07-26 23:23:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478573 -4.177823)', '2026-07-26 23:25:28', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177831)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177823)'))) / (select extract(epoch from '2026-07-26 23:25:28'::timestamp) - extract(epoch from '2026-07-26 23:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177831)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177823)'))) / (select extract(epoch from '2026-07-26 23:25:28'::timestamp) - extract(epoch from '2026-07-26 23:24: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'), 47415, 'SRID=4674;POINT (-37.478575 -4.17782)', '2026-07-26 23:25:34', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177823)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.17782)'))) / (select extract(epoch from '2026-07-26 23:25:34'::timestamp) - extract(epoch from '2026-07-26 23:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177823)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.17782)'))) / (select extract(epoch from '2026-07-26 23:25:34'::timestamp) - extract(epoch from '2026-07-26 23:25: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'), 47415, 'SRID=4674;POINT (-37.478557 -4.177803)', '2026-07-26 23:25:49', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.17782)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177803)'))) / (select extract(epoch from '2026-07-26 23:25:49'::timestamp) - extract(epoch from '2026-07-26 23:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.17782)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177803)'))) / (select extract(epoch from '2026-07-26 23:25:49'::timestamp) - extract(epoch from '2026-07-26 23:25: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'), 47415, 'SRID=4674;POINT (-37.47855 -4.177792)', '2026-07-26 23:26:07', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177803)'), GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.177792)'))) / (select extract(epoch from '2026-07-26 23:26:07'::timestamp) - extract(epoch from '2026-07-26 23:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177803)'), GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.177792)'))) / (select extract(epoch from '2026-07-26 23:26:07'::timestamp) - extract(epoch from '2026-07-26 23:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478562 -4.177793)', '2026-07-26 23:26:25', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.177792)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177793)'))) / (select extract(epoch from '2026-07-26 23:26:25'::timestamp) - extract(epoch from '2026-07-26 23:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.177792)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177793)'))) / (select extract(epoch from '2026-07-26 23:26:25'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478567 -4.177795)', '2026-07-26 23:26:26', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177793)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177795)'))) / (select extract(epoch from '2026-07-26 23:26:26'::timestamp) - extract(epoch from '2026-07-26 23:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177793)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177795)'))) / (select extract(epoch from '2026-07-26 23:26:26'::timestamp) - extract(epoch from '2026-07-26 23:26: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'), 47415, 'SRID=4674;POINT (-37.478578 -4.177792)', '2026-07-26 23:26:35', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177795)'), GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177792)'))) / (select extract(epoch from '2026-07-26 23:26:35'::timestamp) - extract(epoch from '2026-07-26 23:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177795)'), GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177792)'))) / (select extract(epoch from '2026-07-26 23:26:35'::timestamp) - extract(epoch from '2026-07-26 23:26: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'), 47415, 'SRID=4674;POINT (-37.478584 -4.177786)', '2026-07-26 23:26:40', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177792)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177786)'))) / (select extract(epoch from '2026-07-26 23:26:40'::timestamp) - extract(epoch from '2026-07-26 23:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177792)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177786)'))) / (select extract(epoch from '2026-07-26 23:26:40'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478562 -4.177781)', '2026-07-26 23:26:51', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177786)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177781)'))) / (select extract(epoch from '2026-07-26 23:26:51'::timestamp) - extract(epoch from '2026-07-26 23:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177786)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177781)'))) / (select extract(epoch from '2026-07-26 23:26:51'::timestamp) - extract(epoch from '2026-07-26 23:26: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'), 47415, 'SRID=4674;POINT (-37.478573 -4.177782)', '2026-07-26 23:27:05', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177781)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177782)'))) / (select extract(epoch from '2026-07-26 23:27:05'::timestamp) - extract(epoch from '2026-07-26 23:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177781)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177782)'))) / (select extract(epoch from '2026-07-26 23:27:05'::timestamp) - extract(epoch from '2026-07-26 23:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478571 -4.177788)', '2026-07-26 23:27:11', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177782)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177788)'))) / (select extract(epoch from '2026-07-26 23:27:11'::timestamp) - extract(epoch from '2026-07-26 23:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177782)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177788)'))) / (select extract(epoch from '2026-07-26 23:27:11'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478582 -4.17779)', '2026-07-26 23:27:17', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177788)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17779)'))) / (select extract(epoch from '2026-07-26 23:27:17'::timestamp) - extract(epoch from '2026-07-26 23:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177788)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17779)'))) / (select extract(epoch from '2026-07-26 23:27:17'::timestamp) - extract(epoch from '2026-07-26 23:27: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'), 47415, 'SRID=4674;POINT (-37.478582 -4.177789)', '2026-07-26 23:27:23', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17779)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177789)'))) / (select extract(epoch from '2026-07-26 23:27:23'::timestamp) - extract(epoch from '2026-07-26 23:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17779)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177789)'))) / (select extract(epoch from '2026-07-26 23:27:23'::timestamp) - extract(epoch from '2026-07-26 23:27: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'), 47415, 'SRID=4674;POINT (-37.478584 -4.177774)', '2026-07-26 23:27:30', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177789)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177774)'))) / (select extract(epoch from '2026-07-26 23:27:30'::timestamp) - extract(epoch from '2026-07-26 23:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177789)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177774)'))) / (select extract(epoch from '2026-07-26 23:27:30'::timestamp) - extract(epoch from '2026-07-26 23:27:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478598 -4.177771)', '2026-07-26 23:27:42', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177774)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177771)'))) / (select extract(epoch from '2026-07-26 23:27:42'::timestamp) - extract(epoch from '2026-07-26 23:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177774)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177771)'))) / (select extract(epoch from '2026-07-26 23:27:42'::timestamp) - extract(epoch from '2026-07-26 23:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478573 -4.177764)', '2026-07-26 23:27:57', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177771)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177764)'))) / (select extract(epoch from '2026-07-26 23:27:57'::timestamp) - extract(epoch from '2026-07-26 23:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177771)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177764)'))) / (select extract(epoch from '2026-07-26 23:27:57'::timestamp) - extract(epoch from '2026-07-26 23:27: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'), 47415, 'SRID=4674;POINT (-37.478582 -4.177756)', '2026-07-26 23:28:03', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177756)'))) / (select extract(epoch from '2026-07-26 23:28:03'::timestamp) - extract(epoch from '2026-07-26 23:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177756)'))) / (select extract(epoch from '2026-07-26 23:28:03'::timestamp) - extract(epoch from '2026-07-26 23:27: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'), 47415, 'SRID=4674;POINT (-37.478583 -4.177741)', '2026-07-26 23:28:11', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177756)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177741)'))) / (select extract(epoch from '2026-07-26 23:28:11'::timestamp) - extract(epoch from '2026-07-26 23:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177756)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177741)'))) / (select extract(epoch from '2026-07-26 23:28:11'::timestamp) - extract(epoch from '2026-07-26 23:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478574 -4.177753)', '2026-07-26 23:28:29', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177741)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177753)'))) / (select extract(epoch from '2026-07-26 23:28:29'::timestamp) - extract(epoch from '2026-07-26 23:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177741)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177753)'))) / (select extract(epoch from '2026-07-26 23:28:29'::timestamp) - extract(epoch from '2026-07-26 23:28: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'), 47415, 'SRID=4674;POINT (-37.478579 -4.177753)', '2026-07-26 23:28:40', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177753)'))) / (select extract(epoch from '2026-07-26 23:28:40'::timestamp) - extract(epoch from '2026-07-26 23:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177753)'))) / (select extract(epoch from '2026-07-26 23:28:40'::timestamp) - extract(epoch from '2026-07-26 23:28: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'), 47415, 'SRID=4674;POINT (-37.478583 -4.17773)', '2026-07-26 23:29:02', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.17773)'))) / (select extract(epoch from '2026-07-26 23:29:02'::timestamp) - extract(epoch from '2026-07-26 23:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.17773)'))) / (select extract(epoch from '2026-07-26 23:29:02'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478574 -4.177729)', '2026-07-26 23:29:04', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.17773)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177729)'))) / (select extract(epoch from '2026-07-26 23:29:04'::timestamp) - extract(epoch from '2026-07-26 23:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.17773)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177729)'))) / (select extract(epoch from '2026-07-26 23:29:04'::timestamp) - extract(epoch from '2026-07-26 23:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478576 -4.177724)', '2026-07-26 23:29:08', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177729)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177724)'))) / (select extract(epoch from '2026-07-26 23:29:08'::timestamp) - extract(epoch from '2026-07-26 23:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177729)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177724)'))) / (select extract(epoch from '2026-07-26 23:29:08'::timestamp) - extract(epoch from '2026-07-26 23:29: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'), 47415, 'SRID=4674;POINT (-37.478582 -4.177717)', '2026-07-26 23:29:15', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177724)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177717)'))) / (select extract(epoch from '2026-07-26 23:29:15'::timestamp) - extract(epoch from '2026-07-26 23:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177724)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177717)'))) / (select extract(epoch from '2026-07-26 23:29:15'::timestamp) - extract(epoch from '2026-07-26 23:29: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'), 47415, 'SRID=4674;POINT (-37.478602 -4.177706)', '2026-07-26 23:29:41', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177717)'), GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177706)'))) / (select extract(epoch from '2026-07-26 23:29:41'::timestamp) - extract(epoch from '2026-07-26 23:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177717)'), GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177706)'))) / (select extract(epoch from '2026-07-26 23:29:41'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478592 -4.177705)', '2026-07-26 23:30:00', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177706)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177705)'))) / (select extract(epoch from '2026-07-26 23:30:00'::timestamp) - extract(epoch from '2026-07-26 23:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177706)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177705)'))) / (select extract(epoch from '2026-07-26 23:30:00'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478593 -4.177705)', '2026-07-26 23:30:06', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177705)'), GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177705)'))) / (select extract(epoch from '2026-07-26 23:30:06'::timestamp) - extract(epoch from '2026-07-26 23:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177705)'), GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177705)'))) / (select extract(epoch from '2026-07-26 23:30:06'::timestamp) - extract(epoch from '2026-07-26 23:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478576 -4.177707)', '2026-07-26 23:30:19', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177705)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177707)'))) / (select extract(epoch from '2026-07-26 23:30:19'::timestamp) - extract(epoch from '2026-07-26 23:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177705)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177707)'))) / (select extract(epoch from '2026-07-26 23:30:19'::timestamp) - extract(epoch from '2026-07-26 23:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478583 -4.177701)', '2026-07-26 23:30:32', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177707)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177701)'))) / (select extract(epoch from '2026-07-26 23:30:32'::timestamp) - extract(epoch from '2026-07-26 23:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177707)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177701)'))) / (select extract(epoch from '2026-07-26 23:30:32'::timestamp) - extract(epoch from '2026-07-26 23:30: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'), 47415, 'SRID=4674;POINT (-37.478595 -4.177664)', '2026-07-26 23:31:01', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177701)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177664)'))) / (select extract(epoch from '2026-07-26 23:31:01'::timestamp) - extract(epoch from '2026-07-26 23:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177701)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177664)'))) / (select extract(epoch from '2026-07-26 23:31:01'::timestamp) - extract(epoch from '2026-07-26 23:30: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'), 47415, 'SRID=4674;POINT (-37.47859 -4.177654)', '2026-07-26 23:31:25', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177664)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177654)'))) / (select extract(epoch from '2026-07-26 23:31:25'::timestamp) - extract(epoch from '2026-07-26 23:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177664)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177654)'))) / (select extract(epoch from '2026-07-26 23:31:25'::timestamp) - extract(epoch from '2026-07-26 23:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478594 -4.177663)', '2026-07-26 23:31:30', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177654)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177663)'))) / (select extract(epoch from '2026-07-26 23:31:30'::timestamp) - extract(epoch from '2026-07-26 23:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177654)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177663)'))) / (select extract(epoch from '2026-07-26 23:31:30'::timestamp) - extract(epoch from '2026-07-26 23:31: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'), 47415, 'SRID=4674;POINT (-37.478585 -4.177683)', '2026-07-26 23:32:06', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177663)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177683)'))) / (select extract(epoch from '2026-07-26 23:32:06'::timestamp) - extract(epoch from '2026-07-26 23:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177663)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177683)'))) / (select extract(epoch from '2026-07-26 23:32:06'::timestamp) - extract(epoch from '2026-07-26 23:31: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'), 47415, 'SRID=4674;POINT (-37.47858 -4.177683)', '2026-07-26 23:32:19', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177683)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177683)'))) / (select extract(epoch from '2026-07-26 23:32:19'::timestamp) - extract(epoch from '2026-07-26 23:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177683)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177683)'))) / (select extract(epoch from '2026-07-26 23:32:19'::timestamp) - extract(epoch from '2026-07-26 23:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478576 -4.177672)', '2026-07-26 23:32:39', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177683)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177672)'))) / (select extract(epoch from '2026-07-26 23:32:39'::timestamp) - extract(epoch from '2026-07-26 23:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177683)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177672)'))) / (select extract(epoch from '2026-07-26 23:32:39'::timestamp) - extract(epoch from '2026-07-26 23:32: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'), 47415, 'SRID=4674;POINT (-37.478564 -4.177657)', '2026-07-26 23:33:08', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177672)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177657)'))) / (select extract(epoch from '2026-07-26 23:33:08'::timestamp) - extract(epoch from '2026-07-26 23:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177672)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177657)'))) / (select extract(epoch from '2026-07-26 23:33:08'::timestamp) - extract(epoch from '2026-07-26 23:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478561 -4.177653)', '2026-07-26 23:33:44', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177657)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177653)'))) / (select extract(epoch from '2026-07-26 23:33:44'::timestamp) - extract(epoch from '2026-07-26 23:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177657)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177653)'))) / (select extract(epoch from '2026-07-26 23:33:44'::timestamp) - extract(epoch from '2026-07-26 23:33: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'), 47415, 'SRID=4674;POINT (-37.478567 -4.177669)', '2026-07-26 23:33:49', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177653)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177669)'))) / (select extract(epoch from '2026-07-26 23:33:49'::timestamp) - extract(epoch from '2026-07-26 23:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177653)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177669)'))) / (select extract(epoch from '2026-07-26 23:33:49'::timestamp) - extract(epoch from '2026-07-26 23:33: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'), 47415, 'SRID=4674;POINT (-37.478571 -4.177674)', '2026-07-26 23:33:59', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177669)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177674)'))) / (select extract(epoch from '2026-07-26 23:33:59'::timestamp) - extract(epoch from '2026-07-26 23:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177669)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177674)'))) / (select extract(epoch from '2026-07-26 23:33:59'::timestamp) - extract(epoch from '2026-07-26 23:33: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'), 47415, 'SRID=4674;POINT (-37.478576 -4.17768)', '2026-07-26 23:34:00', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177674)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.17768)'))) / (select extract(epoch from '2026-07-26 23:34:00'::timestamp) - extract(epoch from '2026-07-26 23:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177674)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.17768)'))) / (select extract(epoch from '2026-07-26 23:34:00'::timestamp) - extract(epoch from '2026-07-26 23:33: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'), 47415, 'SRID=4674;POINT (-37.478569 -4.177679)', '2026-07-26 23:34:04', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.17768)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177679)'))) / (select extract(epoch from '2026-07-26 23:34:04'::timestamp) - extract(epoch from '2026-07-26 23:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.17768)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177679)'))) / (select extract(epoch from '2026-07-26 23:34:04'::timestamp) - extract(epoch from '2026-07-26 23:34: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'), 47415, 'SRID=4674;POINT (-37.478585 -4.17768)', '2026-07-26 23:34:33', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177679)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.17768)'))) / (select extract(epoch from '2026-07-26 23:34:33'::timestamp) - extract(epoch from '2026-07-26 23:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177679)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.17768)'))) / (select extract(epoch from '2026-07-26 23:34:33'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.177683)', '2026-07-26 23:34:39', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.17768)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177683)'))) / (select extract(epoch from '2026-07-26 23:34:39'::timestamp) - extract(epoch from '2026-07-26 23:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.17768)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177683)'))) / (select extract(epoch from '2026-07-26 23:34:39'::timestamp) - extract(epoch from '2026-07-26 23:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478582 -4.17767)', '2026-07-26 23:34:53', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177683)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17767)'))) / (select extract(epoch from '2026-07-26 23:34:53'::timestamp) - extract(epoch from '2026-07-26 23:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177683)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17767)'))) / (select extract(epoch from '2026-07-26 23:34:53'::timestamp) - extract(epoch from '2026-07-26 23:34: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'), 47415, 'SRID=4674;POINT (-37.478581 -4.177671)', '2026-07-26 23:34:59', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17767)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177671)'))) / (select extract(epoch from '2026-07-26 23:34:59'::timestamp) - extract(epoch from '2026-07-26 23:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17767)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177671)'))) / (select extract(epoch from '2026-07-26 23:34:59'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478572 -4.177664)', '2026-07-26 23:35:13', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177671)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177664)'))) / (select extract(epoch from '2026-07-26 23:35:13'::timestamp) - extract(epoch from '2026-07-26 23:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177671)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177664)'))) / (select extract(epoch from '2026-07-26 23:35:13'::timestamp) - extract(epoch from '2026-07-26 23:34: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'), 47415, 'SRID=4674;POINT (-37.478598 -4.177645)', '2026-07-26 23:35:25', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177664)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177645)'))) / (select extract(epoch from '2026-07-26 23:35:25'::timestamp) - extract(epoch from '2026-07-26 23:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177664)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177645)'))) / (select extract(epoch from '2026-07-26 23:35:25'::timestamp) - extract(epoch from '2026-07-26 23:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478602 -4.177648)', '2026-07-26 23:35:30', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177645)'), GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177648)'))) / (select extract(epoch from '2026-07-26 23:35:30'::timestamp) - extract(epoch from '2026-07-26 23:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177645)'), GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177648)'))) / (select extract(epoch from '2026-07-26 23:35:30'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478576 -4.177655)', '2026-07-26 23:35:37', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177648)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177655)'))) / (select extract(epoch from '2026-07-26 23:35:37'::timestamp) - extract(epoch from '2026-07-26 23:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177648)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177655)'))) / (select extract(epoch from '2026-07-26 23:35:37'::timestamp) - extract(epoch from '2026-07-26 23:35:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478566 -4.177647)', '2026-07-26 23:35:50', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177655)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177647)'))) / (select extract(epoch from '2026-07-26 23:35:50'::timestamp) - extract(epoch from '2026-07-26 23:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177655)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177647)'))) / (select extract(epoch from '2026-07-26 23:35:50'::timestamp) - extract(epoch from '2026-07-26 23:35: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'), 47415, 'SRID=4674;POINT (-37.478594 -4.177638)', '2026-07-26 23:35:56', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177647)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177638)'))) / (select extract(epoch from '2026-07-26 23:35:56'::timestamp) - extract(epoch from '2026-07-26 23:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177647)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177638)'))) / (select extract(epoch from '2026-07-26 23:35:56'::timestamp) - extract(epoch from '2026-07-26 23:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478592 -4.177635)', '2026-07-26 23:36:05', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177638)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177635)'))) / (select extract(epoch from '2026-07-26 23:36:05'::timestamp) - extract(epoch from '2026-07-26 23:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177638)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177635)'))) / (select extract(epoch from '2026-07-26 23:36:05'::timestamp) - extract(epoch from '2026-07-26 23:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478555 -4.177663)', '2026-07-26 23:36:18', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177635)'), GeomFromEWKT('SRID=4674;POINT (-37.478555 -4.177663)'))) / (select extract(epoch from '2026-07-26 23:36:18'::timestamp) - extract(epoch from '2026-07-26 23:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177635)'), GeomFromEWKT('SRID=4674;POINT (-37.478555 -4.177663)'))) / (select extract(epoch from '2026-07-26 23:36:18'::timestamp) - extract(epoch from '2026-07-26 23:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478543 -4.177658)', '2026-07-26 23:36:48', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478555 -4.177663)'), GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177658)'))) / (select extract(epoch from '2026-07-26 23:36:48'::timestamp) - extract(epoch from '2026-07-26 23:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478555 -4.177663)'), GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177658)'))) / (select extract(epoch from '2026-07-26 23:36:48'::timestamp) - extract(epoch from '2026-07-26 23:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47853 -4.177671)', '2026-07-26 23:36:57', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177658)'), GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177671)'))) / (select extract(epoch from '2026-07-26 23:36:57'::timestamp) - extract(epoch from '2026-07-26 23:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177658)'), GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177671)'))) / (select extract(epoch from '2026-07-26 23:36:57'::timestamp) - extract(epoch from '2026-07-26 23:36: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'), 47415, 'SRID=4674;POINT (-37.478531 -4.177672)', '2026-07-26 23:36:58', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177671)'), GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177672)'))) / (select extract(epoch from '2026-07-26 23:36:58'::timestamp) - extract(epoch from '2026-07-26 23:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177671)'), GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177672)'))) / (select extract(epoch from '2026-07-26 23:36:58'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478525 -4.177667)', '2026-07-26 23:37:10', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177672)'), GeomFromEWKT('SRID=4674;POINT (-37.478525 -4.177667)'))) / (select extract(epoch from '2026-07-26 23:37:10'::timestamp) - extract(epoch from '2026-07-26 23:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177672)'), GeomFromEWKT('SRID=4674;POINT (-37.478525 -4.177667)'))) / (select extract(epoch from '2026-07-26 23:37:10'::timestamp) - extract(epoch from '2026-07-26 23:36: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'), 47415, 'SRID=4674;POINT (-37.478515 -4.177667)', '2026-07-26 23:37:18', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478525 -4.177667)'), GeomFromEWKT('SRID=4674;POINT (-37.478515 -4.177667)'))) / (select extract(epoch from '2026-07-26 23:37:18'::timestamp) - extract(epoch from '2026-07-26 23:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478525 -4.177667)'), GeomFromEWKT('SRID=4674;POINT (-37.478515 -4.177667)'))) / (select extract(epoch from '2026-07-26 23:37:18'::timestamp) - extract(epoch from '2026-07-26 23:37: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'), 47415, 'SRID=4674;POINT (-37.478511 -4.177668)', '2026-07-26 23:37:31', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478515 -4.177667)'), GeomFromEWKT('SRID=4674;POINT (-37.478511 -4.177668)'))) / (select extract(epoch from '2026-07-26 23:37:31'::timestamp) - extract(epoch from '2026-07-26 23:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478515 -4.177667)'), GeomFromEWKT('SRID=4674;POINT (-37.478511 -4.177668)'))) / (select extract(epoch from '2026-07-26 23:37:31'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478517 -4.177663)', '2026-07-26 23:37:39', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478511 -4.177668)'), GeomFromEWKT('SRID=4674;POINT (-37.478517 -4.177663)'))) / (select extract(epoch from '2026-07-26 23:37:39'::timestamp) - extract(epoch from '2026-07-26 23:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478511 -4.177668)'), GeomFromEWKT('SRID=4674;POINT (-37.478517 -4.177663)'))) / (select extract(epoch from '2026-07-26 23:37:39'::timestamp) - extract(epoch from '2026-07-26 23:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478535 -4.177674)', '2026-07-26 23:38:10', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478517 -4.177663)'), GeomFromEWKT('SRID=4674;POINT (-37.478535 -4.177674)'))) / (select extract(epoch from '2026-07-26 23:38:10'::timestamp) - extract(epoch from '2026-07-26 23:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478517 -4.177663)'), GeomFromEWKT('SRID=4674;POINT (-37.478535 -4.177674)'))) / (select extract(epoch from '2026-07-26 23:38:10'::timestamp) - extract(epoch from '2026-07-26 23:37: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'), 47415, 'SRID=4674;POINT (-37.478529 -4.177669)', '2026-07-26 23:38:22', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478535 -4.177674)'), GeomFromEWKT('SRID=4674;POINT (-37.478529 -4.177669)'))) / (select extract(epoch from '2026-07-26 23:38:22'::timestamp) - extract(epoch from '2026-07-26 23:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478535 -4.177674)'), GeomFromEWKT('SRID=4674;POINT (-37.478529 -4.177669)'))) / (select extract(epoch from '2026-07-26 23:38:22'::timestamp) - extract(epoch from '2026-07-26 23:38: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'), 47415, 'SRID=4674;POINT (-37.478527 -4.17767)', '2026-07-26 23:38:38', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478529 -4.177669)'), GeomFromEWKT('SRID=4674;POINT (-37.478527 -4.17767)'))) / (select extract(epoch from '2026-07-26 23:38:38'::timestamp) - extract(epoch from '2026-07-26 23:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478529 -4.177669)'), GeomFromEWKT('SRID=4674;POINT (-37.478527 -4.17767)'))) / (select extract(epoch from '2026-07-26 23:38:38'::timestamp) - extract(epoch from '2026-07-26 23:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478534 -4.177658)', '2026-07-26 23:38:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478527 -4.17767)'), GeomFromEWKT('SRID=4674;POINT (-37.478534 -4.177658)'))) / (select extract(epoch from '2026-07-26 23:38:46'::timestamp) - extract(epoch from '2026-07-26 23:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478527 -4.17767)'), GeomFromEWKT('SRID=4674;POINT (-37.478534 -4.177658)'))) / (select extract(epoch from '2026-07-26 23:38:46'::timestamp) - extract(epoch from '2026-07-26 23:38: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'), 47415, 'SRID=4674;POINT (-37.478532 -4.177663)', '2026-07-26 23:38:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478534 -4.177658)'), GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177663)'))) / (select extract(epoch from '2026-07-26 23:38:58'::timestamp) - extract(epoch from '2026-07-26 23:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478534 -4.177658)'), GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177663)'))) / (select extract(epoch from '2026-07-26 23:38:58'::timestamp) - extract(epoch from '2026-07-26 23:38:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47853 -4.177647)', '2026-07-26 23:39:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177663)'), GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177647)'))) / (select extract(epoch from '2026-07-26 23:39:19'::timestamp) - extract(epoch from '2026-07-26 23:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177663)'), GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177647)'))) / (select extract(epoch from '2026-07-26 23:39:19'::timestamp) - extract(epoch from '2026-07-26 23:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478531 -4.177653)', '2026-07-26 23:39:31', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177647)'), GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177653)'))) / (select extract(epoch from '2026-07-26 23:39:31'::timestamp) - extract(epoch from '2026-07-26 23:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177647)'), GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177653)'))) / (select extract(epoch from '2026-07-26 23:39:31'::timestamp) - extract(epoch from '2026-07-26 23:39: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'), 47415, 'SRID=4674;POINT (-37.478511 -4.177657)', '2026-07-26 23:39:45', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177653)'), GeomFromEWKT('SRID=4674;POINT (-37.478511 -4.177657)'))) / (select extract(epoch from '2026-07-26 23:39:45'::timestamp) - extract(epoch from '2026-07-26 23:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177653)'), GeomFromEWKT('SRID=4674;POINT (-37.478511 -4.177657)'))) / (select extract(epoch from '2026-07-26 23:39:45'::timestamp) - extract(epoch from '2026-07-26 23:39: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'), 47415, 'SRID=4674;POINT (-37.478506 -4.177666)', '2026-07-26 23:39:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478511 -4.177657)'), GeomFromEWKT('SRID=4674;POINT (-37.478506 -4.177666)'))) / (select extract(epoch from '2026-07-26 23:39:55'::timestamp) - extract(epoch from '2026-07-26 23:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478511 -4.177657)'), GeomFromEWKT('SRID=4674;POINT (-37.478506 -4.177666)'))) / (select extract(epoch from '2026-07-26 23:39:55'::timestamp) - extract(epoch from '2026-07-26 23:39: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'), 47415, 'SRID=4674;POINT (-37.478521 -4.177661)', '2026-07-26 23:40:03', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478506 -4.177666)'), GeomFromEWKT('SRID=4674;POINT (-37.478521 -4.177661)'))) / (select extract(epoch from '2026-07-26 23:40:03'::timestamp) - extract(epoch from '2026-07-26 23:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478506 -4.177666)'), GeomFromEWKT('SRID=4674;POINT (-37.478521 -4.177661)'))) / (select extract(epoch from '2026-07-26 23:40:03'::timestamp) - extract(epoch from '2026-07-26 23:39: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'), 47415, 'SRID=4674;POINT (-37.478508 -4.177662)', '2026-07-26 23:40:17', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478521 -4.177661)'), GeomFromEWKT('SRID=4674;POINT (-37.478508 -4.177662)'))) / (select extract(epoch from '2026-07-26 23:40:17'::timestamp) - extract(epoch from '2026-07-26 23:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478521 -4.177661)'), GeomFromEWKT('SRID=4674;POINT (-37.478508 -4.177662)'))) / (select extract(epoch from '2026-07-26 23:40:17'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478507 -4.177656)', '2026-07-26 23:40:27', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478508 -4.177662)'), GeomFromEWKT('SRID=4674;POINT (-37.478507 -4.177656)'))) / (select extract(epoch from '2026-07-26 23:40:27'::timestamp) - extract(epoch from '2026-07-26 23:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478508 -4.177662)'), GeomFromEWKT('SRID=4674;POINT (-37.478507 -4.177656)'))) / (select extract(epoch from '2026-07-26 23:40:27'::timestamp) - extract(epoch from '2026-07-26 23:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478565 -4.177649)', '2026-07-26 23:40:46', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478507 -4.177656)'), GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177649)'))) / (select extract(epoch from '2026-07-26 23:40:46'::timestamp) - extract(epoch from '2026-07-26 23:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478507 -4.177656)'), GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177649)'))) / (select extract(epoch from '2026-07-26 23:40:46'::timestamp) - extract(epoch from '2026-07-26 23:40: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'), 47415, 'SRID=4674;POINT (-37.47857 -4.17765)', '2026-07-26 23:40:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177649)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.17765)'))) / (select extract(epoch from '2026-07-26 23:40:51'::timestamp) - extract(epoch from '2026-07-26 23:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177649)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.17765)'))) / (select extract(epoch from '2026-07-26 23:40:51'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.47857 -4.177648)', '2026-07-26 23:40:54', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.17765)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177648)'))) / (select extract(epoch from '2026-07-26 23:40:54'::timestamp) - extract(epoch from '2026-07-26 23:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.17765)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177648)'))) / (select extract(epoch from '2026-07-26 23:40:54'::timestamp) - extract(epoch from '2026-07-26 23:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47856 -4.177646)', '2026-07-26 23:41:04', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177648)'), GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177646)'))) / (select extract(epoch from '2026-07-26 23:41:04'::timestamp) - extract(epoch from '2026-07-26 23:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177648)'), GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177646)'))) / (select extract(epoch from '2026-07-26 23:41:04'::timestamp) - extract(epoch from '2026-07-26 23:40: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'), 47415, 'SRID=4674;POINT (-37.478574 -4.177637)', '2026-07-26 23:41:17', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177646)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177637)'))) / (select extract(epoch from '2026-07-26 23:41:17'::timestamp) - extract(epoch from '2026-07-26 23:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177646)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177637)'))) / (select extract(epoch from '2026-07-26 23:41:17'::timestamp) - extract(epoch from '2026-07-26 23:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478613 -4.177636)', '2026-07-26 23:41:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177637)'), GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177636)'))) / (select extract(epoch from '2026-07-26 23:41:25'::timestamp) - extract(epoch from '2026-07-26 23:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177637)'), GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177636)'))) / (select extract(epoch from '2026-07-26 23:41:25'::timestamp) - extract(epoch from '2026-07-26 23:41: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'), 47415, 'SRID=4674;POINT (-37.478607 -4.177636)', '2026-07-26 23:41:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177636)'), GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177636)'))) / (select extract(epoch from '2026-07-26 23:41:32'::timestamp) - extract(epoch from '2026-07-26 23:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478613 -4.177636)'), GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177636)'))) / (select extract(epoch from '2026-07-26 23:41:32'::timestamp) - extract(epoch from '2026-07-26 23:41: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'), 47415, 'SRID=4674;POINT (-37.478595 -4.177647)', '2026-07-26 23:41:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177636)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177647)'))) / (select extract(epoch from '2026-07-26 23:41:42'::timestamp) - extract(epoch from '2026-07-26 23:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.177636)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177647)'))) / (select extract(epoch from '2026-07-26 23:41:42'::timestamp) - extract(epoch from '2026-07-26 23:41: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'), 47415, 'SRID=4674;POINT (-37.478585 -4.177662)', '2026-07-26 23:41:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177647)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177662)'))) / (select extract(epoch from '2026-07-26 23:41:48'::timestamp) - extract(epoch from '2026-07-26 23:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177647)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177662)'))) / (select extract(epoch from '2026-07-26 23:41:48'::timestamp) - extract(epoch from '2026-07-26 23:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47857 -4.177675)', '2026-07-26 23:41:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177662)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177675)'))) / (select extract(epoch from '2026-07-26 23:41:56'::timestamp) - extract(epoch from '2026-07-26 23:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177662)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177675)'))) / (select extract(epoch from '2026-07-26 23:41:56'::timestamp) - extract(epoch from '2026-07-26 23:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478561 -4.177677)', '2026-07-26 23:42:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177675)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177677)'))) / (select extract(epoch from '2026-07-26 23:42:08'::timestamp) - extract(epoch from '2026-07-26 23:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177675)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177677)'))) / (select extract(epoch from '2026-07-26 23:42:08'::timestamp) - extract(epoch from '2026-07-26 23:41: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'), 47415, 'SRID=4674;POINT (-37.478568 -4.177681)', '2026-07-26 23:42:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177677)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177681)'))) / (select extract(epoch from '2026-07-26 23:42:11'::timestamp) - extract(epoch from '2026-07-26 23:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177677)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177681)'))) / (select extract(epoch from '2026-07-26 23:42:11'::timestamp) - extract(epoch from '2026-07-26 23:42: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'), 47415, 'SRID=4674;POINT (-37.47858 -4.177685)', '2026-07-26 23:42:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177681)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177685)'))) / (select extract(epoch from '2026-07-26 23:42:17'::timestamp) - extract(epoch from '2026-07-26 23:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177681)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177685)'))) / (select extract(epoch from '2026-07-26 23:42:17'::timestamp) - extract(epoch from '2026-07-26 23:42: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'), 47415, 'SRID=4674;POINT (-37.478595 -4.177693)', '2026-07-26 23:42:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177685)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177693)'))) / (select extract(epoch from '2026-07-26 23:42:35'::timestamp) - extract(epoch from '2026-07-26 23:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177685)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177693)'))) / (select extract(epoch from '2026-07-26 23:42:35'::timestamp) - extract(epoch from '2026-07-26 23:42: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'), 47415, 'SRID=4674;POINT (-37.478567 -4.17771)', '2026-07-26 23:43:07', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177693)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.17771)'))) / (select extract(epoch from '2026-07-26 23:43:07'::timestamp) - extract(epoch from '2026-07-26 23:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177693)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.17771)'))) / (select extract(epoch from '2026-07-26 23:43:07'::timestamp) - extract(epoch from '2026-07-26 23:42: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'), 47415, 'SRID=4674;POINT (-37.478575 -4.177708)', '2026-07-26 23:43:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.17771)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177708)'))) / (select extract(epoch from '2026-07-26 23:43:09'::timestamp) - extract(epoch from '2026-07-26 23:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.17771)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177708)'))) / (select extract(epoch from '2026-07-26 23:43:09'::timestamp) - extract(epoch from '2026-07-26 23:43: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'), 47415, 'SRID=4674;POINT (-37.478574 -4.177709)', '2026-07-26 23:43:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177708)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177709)'))) / (select extract(epoch from '2026-07-26 23:43:15'::timestamp) - extract(epoch from '2026-07-26 23:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177708)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177709)'))) / (select extract(epoch from '2026-07-26 23:43:15'::timestamp) - extract(epoch from '2026-07-26 23:43: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'), 47415, 'SRID=4674;POINT (-37.478564 -4.177705)', '2026-07-26 23:43:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177709)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177705)'))) / (select extract(epoch from '2026-07-26 23:43:24'::timestamp) - extract(epoch from '2026-07-26 23:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177709)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177705)'))) / (select extract(epoch from '2026-07-26 23:43:24'::timestamp) - extract(epoch from '2026-07-26 23:43: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'), 47415, 'SRID=4674;POINT (-37.478564 -4.177709)', '2026-07-26 23:43:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177705)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177709)'))) / (select extract(epoch from '2026-07-26 23:43:38'::timestamp) - extract(epoch from '2026-07-26 23:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177705)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177709)'))) / (select extract(epoch from '2026-07-26 23:43:38'::timestamp) - extract(epoch from '2026-07-26 23:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478556 -4.177724)', '2026-07-26 23:43:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177709)'), GeomFromEWKT('SRID=4674;POINT (-37.478556 -4.177724)'))) / (select extract(epoch from '2026-07-26 23:43:59'::timestamp) - extract(epoch from '2026-07-26 23:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177709)'), GeomFromEWKT('SRID=4674;POINT (-37.478556 -4.177724)'))) / (select extract(epoch from '2026-07-26 23:43:59'::timestamp) - extract(epoch from '2026-07-26 23:43: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'), 47415, 'SRID=4674;POINT (-37.47858 -4.177728)', '2026-07-26 23:44:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478556 -4.177724)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177728)'))) / (select extract(epoch from '2026-07-26 23:44:07'::timestamp) - extract(epoch from '2026-07-26 23:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478556 -4.177724)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177728)'))) / (select extract(epoch from '2026-07-26 23:44:07'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478569 -4.177735)', '2026-07-26 23:44:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177728)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177735)'))) / (select extract(epoch from '2026-07-26 23:44:16'::timestamp) - extract(epoch from '2026-07-26 23:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177728)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177735)'))) / (select extract(epoch from '2026-07-26 23:44:16'::timestamp) - extract(epoch from '2026-07-26 23:44: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'), 47415, 'SRID=4674;POINT (-37.478561 -4.177733)', '2026-07-26 23:44:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177733)'))) / (select extract(epoch from '2026-07-26 23:44:23'::timestamp) - extract(epoch from '2026-07-26 23:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177733)'))) / (select extract(epoch from '2026-07-26 23:44:23'::timestamp) - extract(epoch from '2026-07-26 23:44: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'), 47415, 'SRID=4674;POINT (-37.478574 -4.177739)', '2026-07-26 23:44:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177739)'))) / (select extract(epoch from '2026-07-26 23:44:42'::timestamp) - extract(epoch from '2026-07-26 23:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177739)'))) / (select extract(epoch from '2026-07-26 23:44:42'::timestamp) - extract(epoch from '2026-07-26 23:44: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'), 47415, 'SRID=4674;POINT (-37.478567 -4.177746)', '2026-07-26 23:44:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177739)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177746)'))) / (select extract(epoch from '2026-07-26 23:44:48'::timestamp) - extract(epoch from '2026-07-26 23:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177739)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177746)'))) / (select extract(epoch from '2026-07-26 23:44:48'::timestamp) - extract(epoch from '2026-07-26 23:44: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'), 47415, 'SRID=4674;POINT (-37.478547 -4.177751)', '2026-07-26 23:45:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177746)'), GeomFromEWKT('SRID=4674;POINT (-37.478547 -4.177751)'))) / (select extract(epoch from '2026-07-26 23:45:02'::timestamp) - extract(epoch from '2026-07-26 23:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177746)'), GeomFromEWKT('SRID=4674;POINT (-37.478547 -4.177751)'))) / (select extract(epoch from '2026-07-26 23:45:02'::timestamp) - extract(epoch from '2026-07-26 23:44: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'), 47415, 'SRID=4674;POINT (-37.478572 -4.177759)', '2026-07-26 23:45:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478547 -4.177751)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177759)'))) / (select extract(epoch from '2026-07-26 23:45:13'::timestamp) - extract(epoch from '2026-07-26 23:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478547 -4.177751)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177759)'))) / (select extract(epoch from '2026-07-26 23:45:13'::timestamp) - extract(epoch from '2026-07-26 23:45: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'), 47415, 'SRID=4674;POINT (-37.478579 -4.177783)', '2026-07-26 23:45:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177759)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177783)'))) / (select extract(epoch from '2026-07-26 23:45:20'::timestamp) - extract(epoch from '2026-07-26 23:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177759)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177783)'))) / (select extract(epoch from '2026-07-26 23:45:20'::timestamp) - extract(epoch from '2026-07-26 23:45: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'), 47415, 'SRID=4674;POINT (-37.478563 -4.177775)', '2026-07-26 23:45:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177783)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177775)'))) / (select extract(epoch from '2026-07-26 23:45:29'::timestamp) - extract(epoch from '2026-07-26 23:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177783)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177775)'))) / (select extract(epoch from '2026-07-26 23:45:29'::timestamp) - extract(epoch from '2026-07-26 23:45:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478568 -4.177773)', '2026-07-26 23:45:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177775)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177773)'))) / (select extract(epoch from '2026-07-26 23:45:41'::timestamp) - extract(epoch from '2026-07-26 23:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177775)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177773)'))) / (select extract(epoch from '2026-07-26 23:45:41'::timestamp) - extract(epoch from '2026-07-26 23:45: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'), 47415, 'SRID=4674;POINT (-37.478559 -4.177779)', '2026-07-26 23:45:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177773)'), GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.177779)'))) / (select extract(epoch from '2026-07-26 23:45:54'::timestamp) - extract(epoch from '2026-07-26 23:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177773)'), GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.177779)'))) / (select extract(epoch from '2026-07-26 23:45:54'::timestamp) - extract(epoch from '2026-07-26 23:45: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'), 47415, 'SRID=4674;POINT (-37.478548 -4.177807)', '2026-07-26 23:46:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.177779)'), GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177807)'))) / (select extract(epoch from '2026-07-26 23:46:41'::timestamp) - extract(epoch from '2026-07-26 23:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.177779)'), GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177807)'))) / (select extract(epoch from '2026-07-26 23:46:41'::timestamp) - extract(epoch from '2026-07-26 23:45:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478557 -4.177804)', '2026-07-26 23:46:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177807)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177804)'))) / (select extract(epoch from '2026-07-26 23:46:59'::timestamp) - extract(epoch from '2026-07-26 23:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177807)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177804)'))) / (select extract(epoch from '2026-07-26 23:46:59'::timestamp) - extract(epoch from '2026-07-26 23:46: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'), 47415, 'SRID=4674;POINT (-37.478577 -4.177814)', '2026-07-26 23:47:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177804)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177814)'))) / (select extract(epoch from '2026-07-26 23:47:05'::timestamp) - extract(epoch from '2026-07-26 23:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177804)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177814)'))) / (select extract(epoch from '2026-07-26 23:47:05'::timestamp) - extract(epoch from '2026-07-26 23:46: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'), 47415, 'SRID=4674;POINT (-37.478579 -4.177819)', '2026-07-26 23:47:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177814)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177819)'))) / (select extract(epoch from '2026-07-26 23:47:12'::timestamp) - extract(epoch from '2026-07-26 23:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177814)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177819)'))) / (select extract(epoch from '2026-07-26 23:47:12'::timestamp) - extract(epoch from '2026-07-26 23:47: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'), 47415, 'SRID=4674;POINT (-37.47859 -4.177806)', '2026-07-26 23:47:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177819)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177806)'))) / (select extract(epoch from '2026-07-26 23:47:21'::timestamp) - extract(epoch from '2026-07-26 23:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177819)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177806)'))) / (select extract(epoch from '2026-07-26 23:47:21'::timestamp) - extract(epoch from '2026-07-26 23:47: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'), 47415, 'SRID=4674;POINT (-37.478586 -4.177809)', '2026-07-26 23:47:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177806)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177809)'))) / (select extract(epoch from '2026-07-26 23:47:29'::timestamp) - extract(epoch from '2026-07-26 23:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177806)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177809)'))) / (select extract(epoch from '2026-07-26 23:47:29'::timestamp) - extract(epoch from '2026-07-26 23:47: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'), 47415, 'SRID=4674;POINT (-37.478586 -4.177812)', '2026-07-26 23:47:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177809)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177812)'))) / (select extract(epoch from '2026-07-26 23:47:39'::timestamp) - extract(epoch from '2026-07-26 23:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177809)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177812)'))) / (select extract(epoch from '2026-07-26 23:47:39'::timestamp) - extract(epoch from '2026-07-26 23:47: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'), 47415, 'SRID=4674;POINT (-37.478575 -4.177813)', '2026-07-26 23:47:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177812)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177813)'))) / (select extract(epoch from '2026-07-26 23:47:44'::timestamp) - extract(epoch from '2026-07-26 23:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177812)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177813)'))) / (select extract(epoch from '2026-07-26 23:47:44'::timestamp) - extract(epoch from '2026-07-26 23:47: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'), 47415, 'SRID=4674;POINT (-37.478568 -4.177807)', '2026-07-26 23:48:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177813)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177807)'))) / (select extract(epoch from '2026-07-26 23:48:26'::timestamp) - extract(epoch from '2026-07-26 23:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177813)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177807)'))) / (select extract(epoch from '2026-07-26 23:48:26'::timestamp) - extract(epoch from '2026-07-26 23:47: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'), 47415, 'SRID=4674;POINT (-37.478568 -4.177803)', '2026-07-26 23:48:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177807)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177803)'))) / (select extract(epoch from '2026-07-26 23:48:32'::timestamp) - extract(epoch from '2026-07-26 23:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177807)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177803)'))) / (select extract(epoch from '2026-07-26 23:48:32'::timestamp) - extract(epoch from '2026-07-26 23:48: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'), 47415, 'SRID=4674;POINT (-37.478557 -4.177802)', '2026-07-26 23:48:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177803)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177802)'))) / (select extract(epoch from '2026-07-26 23:48:47'::timestamp) - extract(epoch from '2026-07-26 23:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177803)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177802)'))) / (select extract(epoch from '2026-07-26 23:48:47'::timestamp) - extract(epoch from '2026-07-26 23:48: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'), 47415, 'SRID=4674;POINT (-37.478569 -4.177805)', '2026-07-26 23:49:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177802)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177805)'))) / (select extract(epoch from '2026-07-26 23:49:01'::timestamp) - extract(epoch from '2026-07-26 23:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177802)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177805)'))) / (select extract(epoch from '2026-07-26 23:49:01'::timestamp) - extract(epoch from '2026-07-26 23:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478579 -4.177791)', '2026-07-26 23:49:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177805)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177791)'))) / (select extract(epoch from '2026-07-26 23:49:12'::timestamp) - extract(epoch from '2026-07-26 23:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177805)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177791)'))) / (select extract(epoch from '2026-07-26 23:49:12'::timestamp) - extract(epoch from '2026-07-26 23:49: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'), 47415, 'SRID=4674;POINT (-37.478573 -4.177776)', '2026-07-26 23:49:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177791)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177776)'))) / (select extract(epoch from '2026-07-26 23:49:22'::timestamp) - extract(epoch from '2026-07-26 23:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177791)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177776)'))) / (select extract(epoch from '2026-07-26 23:49:22'::timestamp) - extract(epoch from '2026-07-26 23:49: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.17775)', '2026-07-26 23:49:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177776)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17775)'))) / (select extract(epoch from '2026-07-26 23:49:45'::timestamp) - extract(epoch from '2026-07-26 23:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177776)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17775)'))) / (select extract(epoch from '2026-07-26 23:49:45'::timestamp) - extract(epoch from '2026-07-26 23:49: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'), 47415, 'SRID=4674;POINT (-37.478576 -4.177759)', '2026-07-26 23:50:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17775)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177759)'))) / (select extract(epoch from '2026-07-26 23:50:11'::timestamp) - extract(epoch from '2026-07-26 23:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17775)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177759)'))) / (select extract(epoch from '2026-07-26 23:50:11'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.17776)', '2026-07-26 23:50:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177759)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17776)'))) / (select extract(epoch from '2026-07-26 23:50:18'::timestamp) - extract(epoch from '2026-07-26 23:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177759)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17776)'))) / (select extract(epoch from '2026-07-26 23:50:18'::timestamp) - extract(epoch from '2026-07-26 23:50: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'), 47415, 'SRID=4674;POINT (-37.478585 -4.17777)', '2026-07-26 23:50:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17776)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.17777)'))) / (select extract(epoch from '2026-07-26 23:50:21'::timestamp) - extract(epoch from '2026-07-26 23:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17776)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.17777)'))) / (select extract(epoch from '2026-07-26 23:50:21'::timestamp) - extract(epoch from '2026-07-26 23:50: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'), 47415, 'SRID=4674;POINT (-37.478598 -4.177771)', '2026-07-26 23:50:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.17777)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177771)'))) / (select extract(epoch from '2026-07-26 23:50:28'::timestamp) - extract(epoch from '2026-07-26 23:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.17777)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177771)'))) / (select extract(epoch from '2026-07-26 23:50:28'::timestamp) - extract(epoch from '2026-07-26 23:50: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'), 47415, 'SRID=4674;POINT (-37.478607 -4.17777)', '2026-07-26 23:50:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177771)'), GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.17777)'))) / (select extract(epoch from '2026-07-26 23:50:37'::timestamp) - extract(epoch from '2026-07-26 23:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177771)'), GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.17777)'))) / (select extract(epoch from '2026-07-26 23:50:37'::timestamp) - extract(epoch from '2026-07-26 23:50: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'), 47415, 'SRID=4674;POINT (-37.478586 -4.177785)', '2026-07-26 23:51:01', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.17777)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:51:01'::timestamp) - extract(epoch from '2026-07-26 23:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478607 -4.17777)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:51:01'::timestamp) - extract(epoch from '2026-07-26 23:50: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'), 47415, 'SRID=4674;POINT (-37.478583 -4.177785)', '2026-07-26 23:51:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:51:25'::timestamp) - extract(epoch from '2026-07-26 23:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177785)'))) / (select extract(epoch from '2026-07-26 23:51:25'::timestamp) - extract(epoch from '2026-07-26 23:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478578 -4.177784)', '2026-07-26 23:51:44', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177784)'))) / (select extract(epoch from '2026-07-26 23:51:44'::timestamp) - extract(epoch from '2026-07-26 23:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177784)'))) / (select extract(epoch from '2026-07-26 23:51:44'::timestamp) - extract(epoch from '2026-07-26 23:51: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'), 47415, 'SRID=4674;POINT (-37.478569 -4.177801)', '2026-07-26 23:52:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177784)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177801)'))) / (select extract(epoch from '2026-07-26 23:52:33'::timestamp) - extract(epoch from '2026-07-26 23:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177784)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177801)'))) / (select extract(epoch from '2026-07-26 23:52:33'::timestamp) - extract(epoch from '2026-07-26 23:51: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'), 47415, 'SRID=4674;POINT (-37.478582 -4.177794)', '2026-07-26 23:52:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177801)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177794)'))) / (select extract(epoch from '2026-07-26 23:52:54'::timestamp) - extract(epoch from '2026-07-26 23:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177801)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177794)'))) / (select extract(epoch from '2026-07-26 23:52:54'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478575 -4.177794)', '2026-07-26 23:53:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177794)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177794)'))) / (select extract(epoch from '2026-07-26 23:53:03'::timestamp) - extract(epoch from '2026-07-26 23:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177794)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177794)'))) / (select extract(epoch from '2026-07-26 23:53:03'::timestamp) - extract(epoch from '2026-07-26 23:52: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'), 47415, 'SRID=4674;POINT (-37.478566 -4.177792)', '2026-07-26 23:53:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177794)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177792)'))) / (select extract(epoch from '2026-07-26 23:53:05'::timestamp) - extract(epoch from '2026-07-26 23:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177794)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177792)'))) / (select extract(epoch from '2026-07-26 23:53:05'::timestamp) - extract(epoch from '2026-07-26 23:53: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'), 47415, 'SRID=4674;POINT (-37.478564 -4.177794)', '2026-07-26 23:53:11', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177792)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177794)'))) / (select extract(epoch from '2026-07-26 23:53:11'::timestamp) - extract(epoch from '2026-07-26 23:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177792)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177794)'))) / (select extract(epoch from '2026-07-26 23:53:11'::timestamp) - extract(epoch from '2026-07-26 23:53: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'), 47415, 'SRID=4674;POINT (-37.478561 -4.17781)', '2026-07-26 23:53:47', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177794)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.17781)'))) / (select extract(epoch from '2026-07-26 23:53:47'::timestamp) - extract(epoch from '2026-07-26 23:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177794)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.17781)'))) / (select extract(epoch from '2026-07-26 23:53:47'::timestamp) - extract(epoch from '2026-07-26 23:53: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'), 47415, 'SRID=4674;POINT (-37.478569 -4.177807)', '2026-07-26 23:53:55', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.17781)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177807)'))) / (select extract(epoch from '2026-07-26 23:53:55'::timestamp) - extract(epoch from '2026-07-26 23:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.17781)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177807)'))) / (select extract(epoch from '2026-07-26 23:53:55'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.177831)', '2026-07-26 23:54:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177807)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177831)'))) / (select extract(epoch from '2026-07-26 23:54:26'::timestamp) - extract(epoch from '2026-07-26 23:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177807)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177831)'))) / (select extract(epoch from '2026-07-26 23:54:26'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478586 -4.177828)', '2026-07-26 23:54:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177831)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177828)'))) / (select extract(epoch from '2026-07-26 23:54:35'::timestamp) - extract(epoch from '2026-07-26 23:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177831)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177828)'))) / (select extract(epoch from '2026-07-26 23:54:35'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.47858 -4.177822)', '2026-07-26 23:54:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177828)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177822)'))) / (select extract(epoch from '2026-07-26 23:54:42'::timestamp) - extract(epoch from '2026-07-26 23:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177828)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177822)'))) / (select extract(epoch from '2026-07-26 23:54:42'::timestamp) - extract(epoch from '2026-07-26 23:54: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'), 47415, 'SRID=4674;POINT (-37.478557 -4.177825)', '2026-07-26 23:54:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177822)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177825)'))) / (select extract(epoch from '2026-07-26 23:54:54'::timestamp) - extract(epoch from '2026-07-26 23:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177822)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177825)'))) / (select extract(epoch from '2026-07-26 23:54:54'::timestamp) - extract(epoch from '2026-07-26 23:54: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'), 47415, 'SRID=4674;POINT (-37.478577 -4.177808)', '2026-07-26 23:55:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177825)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177808)'))) / (select extract(epoch from '2026-07-26 23:55:16'::timestamp) - extract(epoch from '2026-07-26 23:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177825)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177808)'))) / (select extract(epoch from '2026-07-26 23:55:16'::timestamp) - extract(epoch from '2026-07-26 23:54: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'), 47415, 'SRID=4674;POINT (-37.478561 -4.177815)', '2026-07-26 23:55:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177808)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177815)'))) / (select extract(epoch from '2026-07-26 23:55:24'::timestamp) - extract(epoch from '2026-07-26 23:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177808)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177815)'))) / (select extract(epoch from '2026-07-26 23:55:24'::timestamp) - extract(epoch from '2026-07-26 23:55: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'), 47415, 'SRID=4674;POINT (-37.478557 -4.177815)', '2026-07-26 23:55:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177815)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177815)'))) / (select extract(epoch from '2026-07-26 23:55:25'::timestamp) - extract(epoch from '2026-07-26 23:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177815)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177815)'))) / (select extract(epoch from '2026-07-26 23:55:25'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478562 -4.177817)', '2026-07-26 23:55:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177815)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177817)'))) / (select extract(epoch from '2026-07-26 23:55:31'::timestamp) - extract(epoch from '2026-07-26 23:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177815)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177817)'))) / (select extract(epoch from '2026-07-26 23:55:31'::timestamp) - extract(epoch from '2026-07-26 23:55: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'), 47415, 'SRID=4674;POINT (-37.478564 -4.177807)', '2026-07-26 23:55:46', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177817)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177807)'))) / (select extract(epoch from '2026-07-26 23:55:46'::timestamp) - extract(epoch from '2026-07-26 23:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177817)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177807)'))) / (select extract(epoch from '2026-07-26 23:55:46'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478572 -4.177794)', '2026-07-26 23:55:55', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177807)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177794)'))) / (select extract(epoch from '2026-07-26 23:55:55'::timestamp) - extract(epoch from '2026-07-26 23:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.177807)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177794)'))) / (select extract(epoch from '2026-07-26 23:55:55'::timestamp) - extract(epoch from '2026-07-26 23:55: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'), 47415, 'SRID=4674;POINT (-37.47859 -4.177772)', '2026-07-26 23:56:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177794)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177772)'))) / (select extract(epoch from '2026-07-26 23:56:16'::timestamp) - extract(epoch from '2026-07-26 23:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177794)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177772)'))) / (select extract(epoch from '2026-07-26 23:56:16'::timestamp) - extract(epoch from '2026-07-26 23:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478586 -4.177774)', '2026-07-26 23:56:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177772)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177774)'))) / (select extract(epoch from '2026-07-26 23:56:29'::timestamp) - extract(epoch from '2026-07-26 23:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177772)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177774)'))) / (select extract(epoch from '2026-07-26 23:56:29'::timestamp) - extract(epoch from '2026-07-26 23:56: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'), 47415, 'SRID=4674;POINT (-37.478571 -4.177761)', '2026-07-26 23:56:46', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177774)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177761)'))) / (select extract(epoch from '2026-07-26 23:56:46'::timestamp) - extract(epoch from '2026-07-26 23:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177774)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177761)'))) / (select extract(epoch from '2026-07-26 23:56:46'::timestamp) - extract(epoch from '2026-07-26 23:56: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'), 47415, 'SRID=4674;POINT (-37.478577 -4.177766)', '2026-07-26 23:57:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177761)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177766)'))) / (select extract(epoch from '2026-07-26 23:57:00'::timestamp) - extract(epoch from '2026-07-26 23:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177761)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177766)'))) / (select extract(epoch from '2026-07-26 23:57:00'::timestamp) - extract(epoch from '2026-07-26 23:56: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'), 47415, 'SRID=4674;POINT (-37.478582 -4.177764)', '2026-07-26 23:57:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177764)'))) / (select extract(epoch from '2026-07-26 23:57:16'::timestamp) - extract(epoch from '2026-07-26 23:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177764)'))) / (select extract(epoch from '2026-07-26 23:57:16'::timestamp) - extract(epoch from '2026-07-26 23:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478587 -4.177735)', '2026-07-26 23:57:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177735)'))) / (select extract(epoch from '2026-07-26 23:57:39'::timestamp) - extract(epoch from '2026-07-26 23:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177735)'))) / (select extract(epoch from '2026-07-26 23:57:39'::timestamp) - extract(epoch from '2026-07-26 23:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47858 -4.177734)', '2026-07-26 23:57:44', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177734)'))) / (select extract(epoch from '2026-07-26 23:57:44'::timestamp) - extract(epoch from '2026-07-26 23:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177734)'))) / (select extract(epoch from '2026-07-26 23:57:44'::timestamp) - extract(epoch from '2026-07-26 23:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478579 -4.177731)', '2026-07-26 23:57:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177734)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177731)'))) / (select extract(epoch from '2026-07-26 23:57:55'::timestamp) - extract(epoch from '2026-07-26 23:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177734)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177731)'))) / (select extract(epoch from '2026-07-26 23:57:55'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478599 -4.177718)', '2026-07-26 23:58:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177731)'), GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177718)'))) / (select extract(epoch from '2026-07-26 23:58:12'::timestamp) - extract(epoch from '2026-07-26 23:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177731)'), GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177718)'))) / (select extract(epoch from '2026-07-26 23:58:12'::timestamp) - extract(epoch from '2026-07-26 23:57: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'), 47415, 'SRID=4674;POINT (-37.47861 -4.177694)', '2026-07-26 23:58:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177718)'), GeomFromEWKT('SRID=4674;POINT (-37.47861 -4.177694)'))) / (select extract(epoch from '2026-07-26 23:58:25'::timestamp) - extract(epoch from '2026-07-26 23:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177718)'), GeomFromEWKT('SRID=4674;POINT (-37.47861 -4.177694)'))) / (select extract(epoch from '2026-07-26 23:58:25'::timestamp) - extract(epoch from '2026-07-26 23:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478585 -4.177683)', '2026-07-26 23:58:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47861 -4.177694)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177683)'))) / (select extract(epoch from '2026-07-26 23:58:43'::timestamp) - extract(epoch from '2026-07-26 23:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47861 -4.177694)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177683)'))) / (select extract(epoch from '2026-07-26 23:58:43'::timestamp) - extract(epoch from '2026-07-26 23:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478586 -4.177695)', '2026-07-26 23:58:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177683)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177695)'))) / (select extract(epoch from '2026-07-26 23:58:53'::timestamp) - extract(epoch from '2026-07-26 23:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177683)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177695)'))) / (select extract(epoch from '2026-07-26 23:58:53'::timestamp) - extract(epoch from '2026-07-26 23:58: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'), 47415, 'SRID=4674;POINT (-37.478569 -4.177692)', '2026-07-26 23:59:06', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177695)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177692)'))) / (select extract(epoch from '2026-07-26 23:59:06'::timestamp) - extract(epoch from '2026-07-26 23:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177695)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177692)'))) / (select extract(epoch from '2026-07-26 23:59:06'::timestamp) - extract(epoch from '2026-07-26 23:58: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'), 47415, 'SRID=4674;POINT (-37.478573 -4.17768)', '2026-07-26 23:59:16', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177692)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.17768)'))) / (select extract(epoch from '2026-07-26 23:59:16'::timestamp) - extract(epoch from '2026-07-26 23:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177692)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.17768)'))) / (select extract(epoch from '2026-07-26 23:59:16'::timestamp) - extract(epoch from '2026-07-26 23: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'), 47415, 'SRID=4674;POINT (-37.478566 -4.177672)', '2026-07-26 23:59:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.17768)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177672)'))) / (select extract(epoch from '2026-07-26 23:59:35'::timestamp) - extract(epoch from '2026-07-26 23:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.17768)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177672)'))) / (select extract(epoch from '2026-07-26 23:59:35'::timestamp) - extract(epoch from '2026-07-26 23:59: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'), 47415, 'SRID=4674;POINT (-37.478582 -4.1777)', '2026-07-27 00:00:27', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177672)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.1777)'))) / (select extract(epoch from '2026-07-27 00:00:27'::timestamp) - extract(epoch from '2026-07-26 23:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177672)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.1777)'))) / (select extract(epoch from '2026-07-27 00:00:27'::timestamp) - extract(epoch from '2026-07-26 23:59: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'), 47415, 'SRID=4674;POINT (-37.478572 -4.177699)', '2026-07-27 00:00:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.1777)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177699)'))) / (select extract(epoch from '2026-07-27 00:00:36'::timestamp) - extract(epoch from '2026-07-27 00:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.1777)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177699)'))) / (select extract(epoch from '2026-07-27 00:00:36'::timestamp) - extract(epoch from '2026-07-27 00:00: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'), 47415, 'SRID=4674;POINT (-37.478571 -4.177695)', '2026-07-27 00:00:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177699)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177695)'))) / (select extract(epoch from '2026-07-27 00:00:45'::timestamp) - extract(epoch from '2026-07-27 00:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177699)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177695)'))) / (select extract(epoch from '2026-07-27 00:00:45'::timestamp) - extract(epoch from '2026-07-27 00:00: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'), 47415, 'SRID=4674;POINT (-37.478553 -4.177692)', '2026-07-27 00:00:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177695)'), GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177692)'))) / (select extract(epoch from '2026-07-27 00:00:52'::timestamp) - extract(epoch from '2026-07-27 00:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177695)'), GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177692)'))) / (select extract(epoch from '2026-07-27 00:00:52'::timestamp) - extract(epoch from '2026-07-27 00:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478581 -4.177705)', '2026-07-27 00:01:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177692)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177705)'))) / (select extract(epoch from '2026-07-27 00:01:29'::timestamp) - extract(epoch from '2026-07-27 00:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177692)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177705)'))) / (select extract(epoch from '2026-07-27 00:01:29'::timestamp) - extract(epoch from '2026-07-27 00:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478575 -4.177719)', '2026-07-27 00:01:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177705)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177719)'))) / (select extract(epoch from '2026-07-27 00:01:48'::timestamp) - extract(epoch from '2026-07-27 00:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177705)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177719)'))) / (select extract(epoch from '2026-07-27 00:01:48'::timestamp) - extract(epoch from '2026-07-27 00:01: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'), 47415, 'SRID=4674;POINT (-37.478584 -4.177727)', '2026-07-27 00:01:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177719)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177727)'))) / (select extract(epoch from '2026-07-27 00:01:59'::timestamp) - extract(epoch from '2026-07-27 00:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177719)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177727)'))) / (select extract(epoch from '2026-07-27 00:01:59'::timestamp) - extract(epoch from '2026-07-27 00:01:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478574 -4.177728)', '2026-07-27 00:02:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177727)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177728)'))) / (select extract(epoch from '2026-07-27 00:02:13'::timestamp) - extract(epoch from '2026-07-27 00:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177727)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177728)'))) / (select extract(epoch from '2026-07-27 00:02:13'::timestamp) - extract(epoch from '2026-07-27 00:01: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'), 47415, 'SRID=4674;POINT (-37.478582 -4.177739)', '2026-07-27 00:02:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177728)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177739)'))) / (select extract(epoch from '2026-07-27 00:02:30'::timestamp) - extract(epoch from '2026-07-27 00:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177728)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177739)'))) / (select extract(epoch from '2026-07-27 00:02:30'::timestamp) - extract(epoch from '2026-07-27 00:02:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47859 -4.177737)', '2026-07-27 00:02:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177739)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177737)'))) / (select extract(epoch from '2026-07-27 00:02:36'::timestamp) - extract(epoch from '2026-07-27 00:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177739)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177737)'))) / (select extract(epoch from '2026-07-27 00:02:36'::timestamp) - extract(epoch from '2026-07-27 00:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478598 -4.177733)', '2026-07-27 00:02:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177737)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177733)'))) / (select extract(epoch from '2026-07-27 00:02:47'::timestamp) - extract(epoch from '2026-07-27 00:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177737)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177733)'))) / (select extract(epoch from '2026-07-27 00:02:47'::timestamp) - extract(epoch from '2026-07-27 00:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478598 -4.177733)', '2026-07-27 00:02:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177733)'))) / (select extract(epoch from '2026-07-27 00:02:59'::timestamp) - extract(epoch from '2026-07-27 00:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177733)'))) / (select extract(epoch from '2026-07-27 00:02:59'::timestamp) - extract(epoch from '2026-07-27 00:02:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478601 -4.177738)', '2026-07-27 00:03:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:03:17'::timestamp) - extract(epoch from '2026-07-27 00:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:03:17'::timestamp) - extract(epoch from '2026-07-27 00:02: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'), 47415, 'SRID=4674;POINT (-37.478578 -4.177739)', '2026-07-27 00:03:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177739)'))) / (select extract(epoch from '2026-07-27 00:03:24'::timestamp) - extract(epoch from '2026-07-27 00:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177739)'))) / (select extract(epoch from '2026-07-27 00:03:24'::timestamp) - extract(epoch from '2026-07-27 00:03: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'), 47415, 'SRID=4674;POINT (-37.478586 -4.177744)', '2026-07-27 00:03:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177739)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177744)'))) / (select extract(epoch from '2026-07-27 00:03:29'::timestamp) - extract(epoch from '2026-07-27 00:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.177739)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177744)'))) / (select extract(epoch from '2026-07-27 00:03:29'::timestamp) - extract(epoch from '2026-07-27 00:03: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'), 47415, 'SRID=4674;POINT (-37.478589 -4.177759)', '2026-07-27 00:03:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177744)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177759)'))) / (select extract(epoch from '2026-07-27 00:03:44'::timestamp) - extract(epoch from '2026-07-27 00:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177744)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177759)'))) / (select extract(epoch from '2026-07-27 00:03:44'::timestamp) - extract(epoch from '2026-07-27 00:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478582 -4.177759)', '2026-07-27 00:03:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177759)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177759)'))) / (select extract(epoch from '2026-07-27 00:03:52'::timestamp) - extract(epoch from '2026-07-27 00:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177759)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177759)'))) / (select extract(epoch from '2026-07-27 00:03:52'::timestamp) - extract(epoch from '2026-07-27 00:03: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'), 47415, 'SRID=4674;POINT (-37.478584 -4.17775)', '2026-07-27 00:04:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177759)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.17775)'))) / (select extract(epoch from '2026-07-27 00:04:02'::timestamp) - extract(epoch from '2026-07-27 00:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177759)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.17775)'))) / (select extract(epoch from '2026-07-27 00:04:02'::timestamp) - extract(epoch from '2026-07-27 00:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478585 -4.177754)', '2026-07-27 00:04:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.17775)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177754)'))) / (select extract(epoch from '2026-07-27 00:04:08'::timestamp) - extract(epoch from '2026-07-27 00:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.17775)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177754)'))) / (select extract(epoch from '2026-07-27 00:04:08'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478576 -4.17775)', '2026-07-27 00:04:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177754)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.17775)'))) / (select extract(epoch from '2026-07-27 00:04:12'::timestamp) - extract(epoch from '2026-07-27 00:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.177754)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.17775)'))) / (select extract(epoch from '2026-07-27 00:04:12'::timestamp) - extract(epoch from '2026-07-27 00:04: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'), 47415, 'SRID=4674;POINT (-37.478574 -4.177743)', '2026-07-27 00:04:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.17775)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177743)'))) / (select extract(epoch from '2026-07-27 00:04:18'::timestamp) - extract(epoch from '2026-07-27 00:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.17775)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177743)'))) / (select extract(epoch from '2026-07-27 00:04:18'::timestamp) - extract(epoch from '2026-07-27 00:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478581 -4.177757)', '2026-07-27 00:05:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177757)'))) / (select extract(epoch from '2026-07-27 00:05:08'::timestamp) - extract(epoch from '2026-07-27 00:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177757)'))) / (select extract(epoch from '2026-07-27 00:05:08'::timestamp) - extract(epoch from '2026-07-27 00:04: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'), 47415, 'SRID=4674;POINT (-37.478581 -4.177751)', '2026-07-27 00:05:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177757)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177751)'))) / (select extract(epoch from '2026-07-27 00:05:25'::timestamp) - extract(epoch from '2026-07-27 00:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177757)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177751)'))) / (select extract(epoch from '2026-07-27 00:05:25'::timestamp) - extract(epoch from '2026-07-27 00:05: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'), 47415, 'SRID=4674;POINT (-37.47858 -4.177745)', '2026-07-27 00:05:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177751)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177745)'))) / (select extract(epoch from '2026-07-27 00:05:31'::timestamp) - extract(epoch from '2026-07-27 00:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177751)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177745)'))) / (select extract(epoch from '2026-07-27 00:05:31'::timestamp) - extract(epoch from '2026-07-27 00:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478576 -4.177714)', '2026-07-27 00:06:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177745)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177714)'))) / (select extract(epoch from '2026-07-27 00:06:18'::timestamp) - extract(epoch from '2026-07-27 00:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177745)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177714)'))) / (select extract(epoch from '2026-07-27 00:06:18'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.177711)', '2026-07-27 00:06:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177714)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177711)'))) / (select extract(epoch from '2026-07-27 00:06:24'::timestamp) - extract(epoch from '2026-07-27 00:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177714)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177711)'))) / (select extract(epoch from '2026-07-27 00:06:24'::timestamp) - extract(epoch from '2026-07-27 00:06: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'), 47415, 'SRID=4674;POINT (-37.478583 -4.177713)', '2026-07-27 00:06:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177711)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177713)'))) / (select extract(epoch from '2026-07-27 00:06:28'::timestamp) - extract(epoch from '2026-07-27 00:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177711)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177713)'))) / (select extract(epoch from '2026-07-27 00:06:28'::timestamp) - extract(epoch from '2026-07-27 00:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478557 -4.177723)', '2026-07-27 00:06:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177713)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177723)'))) / (select extract(epoch from '2026-07-27 00:06:42'::timestamp) - extract(epoch from '2026-07-27 00:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177713)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177723)'))) / (select extract(epoch from '2026-07-27 00:06:42'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478572 -4.177738)', '2026-07-27 00:07:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177723)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:07:10'::timestamp) - extract(epoch from '2026-07-27 00:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177723)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:07:10'::timestamp) - extract(epoch from '2026-07-27 00:06: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'), 47415, 'SRID=4674;POINT (-37.478563 -4.177742)', '2026-07-27 00:07:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177742)'))) / (select extract(epoch from '2026-07-27 00:07:21'::timestamp) - extract(epoch from '2026-07-27 00:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177742)'))) / (select extract(epoch from '2026-07-27 00:07:21'::timestamp) - extract(epoch from '2026-07-27 00:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478569 -4.177734)', '2026-07-27 00:07:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177742)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177734)'))) / (select extract(epoch from '2026-07-27 00:07:48'::timestamp) - extract(epoch from '2026-07-27 00:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177742)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177734)'))) / (select extract(epoch from '2026-07-27 00:07:48'::timestamp) - extract(epoch from '2026-07-27 00:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478571 -4.177741)', '2026-07-27 00:08:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177734)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177741)'))) / (select extract(epoch from '2026-07-27 00:08:08'::timestamp) - extract(epoch from '2026-07-27 00:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177734)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177741)'))) / (select extract(epoch from '2026-07-27 00:08:08'::timestamp) - extract(epoch from '2026-07-27 00:07: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'), 47415, 'SRID=4674;POINT (-37.478594 -4.177735)', '2026-07-27 00:08:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177741)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177735)'))) / (select extract(epoch from '2026-07-27 00:08:16'::timestamp) - extract(epoch from '2026-07-27 00:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.177741)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177735)'))) / (select extract(epoch from '2026-07-27 00:08:16'::timestamp) - extract(epoch from '2026-07-27 00:08:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478575 -4.177715)', '2026-07-27 00:08:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177715)'))) / (select extract(epoch from '2026-07-27 00:08:52'::timestamp) - extract(epoch from '2026-07-27 00:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177715)'))) / (select extract(epoch from '2026-07-27 00:08:52'::timestamp) - extract(epoch from '2026-07-27 00:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47857 -4.177725)', '2026-07-27 00:08:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177715)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177725)'))) / (select extract(epoch from '2026-07-27 00:08:59'::timestamp) - extract(epoch from '2026-07-27 00:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.177715)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177725)'))) / (select extract(epoch from '2026-07-27 00:08:59'::timestamp) - extract(epoch from '2026-07-27 00:08: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'), 47415, 'SRID=4674;POINT (-37.478581 -4.177723)', '2026-07-27 00:09:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177725)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177723)'))) / (select extract(epoch from '2026-07-27 00:09:16'::timestamp) - extract(epoch from '2026-07-27 00:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177725)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177723)'))) / (select extract(epoch from '2026-07-27 00:09:16'::timestamp) - extract(epoch from '2026-07-27 00:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478573 -4.177714)', '2026-07-27 00:09:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177723)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177714)'))) / (select extract(epoch from '2026-07-27 00:09:26'::timestamp) - extract(epoch from '2026-07-27 00:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177723)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177714)'))) / (select extract(epoch from '2026-07-27 00:09:26'::timestamp) - extract(epoch from '2026-07-27 00:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478564 -4.17771)', '2026-07-27 00:09:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177714)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.17771)'))) / (select extract(epoch from '2026-07-27 00:09:33'::timestamp) - extract(epoch from '2026-07-27 00:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177714)'), GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.17771)'))) / (select extract(epoch from '2026-07-27 00:09:33'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478563 -4.177681)', '2026-07-27 00:10:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.17771)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177681)'))) / (select extract(epoch from '2026-07-27 00:10:27'::timestamp) - extract(epoch from '2026-07-27 00:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478564 -4.17771)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177681)'))) / (select extract(epoch from '2026-07-27 00:10:27'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478571 -4.1777)', '2026-07-27 00:11:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177681)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.1777)'))) / (select extract(epoch from '2026-07-27 00:11:13'::timestamp) - extract(epoch from '2026-07-27 00:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177681)'), GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.1777)'))) / (select extract(epoch from '2026-07-27 00:11:13'::timestamp) - extract(epoch from '2026-07-27 00:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478575 -4.1777)', '2026-07-27 00:11:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.1777)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.1777)'))) / (select extract(epoch from '2026-07-27 00:11:20'::timestamp) - extract(epoch from '2026-07-27 00:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478571 -4.1777)'), GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.1777)'))) / (select extract(epoch from '2026-07-27 00:11:20'::timestamp) - extract(epoch from '2026-07-27 00:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478572 -4.177714)', '2026-07-27 00:12:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.1777)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177714)'))) / (select extract(epoch from '2026-07-27 00:12:11'::timestamp) - extract(epoch from '2026-07-27 00:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478575 -4.1777)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177714)'))) / (select extract(epoch from '2026-07-27 00:12:11'::timestamp) - extract(epoch from '2026-07-27 00:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478567 -4.177733)', '2026-07-27 00:12:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177714)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177733)'))) / (select extract(epoch from '2026-07-27 00:12:59'::timestamp) - extract(epoch from '2026-07-27 00:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177714)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177733)'))) / (select extract(epoch from '2026-07-27 00:12:59'::timestamp) - extract(epoch from '2026-07-27 00:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478588 -4.177747)', '2026-07-27 00:13:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177747)'))) / (select extract(epoch from '2026-07-27 00:13:13'::timestamp) - extract(epoch from '2026-07-27 00:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177747)'))) / (select extract(epoch from '2026-07-27 00:13:13'::timestamp) - extract(epoch from '2026-07-27 00:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478597 -4.177747)', '2026-07-27 00:13:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177747)'), GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177747)'))) / (select extract(epoch from '2026-07-27 00:13:20'::timestamp) - extract(epoch from '2026-07-27 00:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177747)'), GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177747)'))) / (select extract(epoch from '2026-07-27 00:13:20'::timestamp) - extract(epoch from '2026-07-27 00:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478594 -4.177754)', '2026-07-27 00:13:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177747)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177754)'))) / (select extract(epoch from '2026-07-27 00:13:40'::timestamp) - extract(epoch from '2026-07-27 00:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177747)'), GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177754)'))) / (select extract(epoch from '2026-07-27 00:13:40'::timestamp) - extract(epoch from '2026-07-27 00:13: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.17776)', '2026-07-27 00:13:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177754)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17776)'))) / (select extract(epoch from '2026-07-27 00:13:46'::timestamp) - extract(epoch from '2026-07-27 00:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478594 -4.177754)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17776)'))) / (select extract(epoch from '2026-07-27 00:13:46'::timestamp) - extract(epoch from '2026-07-27 00:13: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'), 47415, 'SRID=4674;POINT (-37.478559 -4.17776)', '2026-07-27 00:14:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17776)'), GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.17776)'))) / (select extract(epoch from '2026-07-27 00:14:00'::timestamp) - extract(epoch from '2026-07-27 00:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17776)'), GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.17776)'))) / (select extract(epoch from '2026-07-27 00:14:00'::timestamp) - extract(epoch from '2026-07-27 00:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478574 -4.177745)', '2026-07-27 00:14:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.17776)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177745)'))) / (select extract(epoch from '2026-07-27 00:14:11'::timestamp) - extract(epoch from '2026-07-27 00:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.17776)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177745)'))) / (select extract(epoch from '2026-07-27 00:14:11'::timestamp) - extract(epoch from '2026-07-27 00:14: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'), 47415, 'SRID=4674;POINT (-37.478568 -4.177748)', '2026-07-27 00:14:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177745)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177748)'))) / (select extract(epoch from '2026-07-27 00:14:17'::timestamp) - extract(epoch from '2026-07-27 00:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177745)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177748)'))) / (select extract(epoch from '2026-07-27 00:14:17'::timestamp) - extract(epoch from '2026-07-27 00:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478568 -4.177747)', '2026-07-27 00:14:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177748)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177747)'))) / (select extract(epoch from '2026-07-27 00:14:29'::timestamp) - extract(epoch from '2026-07-27 00:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177748)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177747)'))) / (select extract(epoch from '2026-07-27 00:14:29'::timestamp) - extract(epoch from '2026-07-27 00:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478582 -4.177766)', '2026-07-27 00:15:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177747)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177766)'))) / (select extract(epoch from '2026-07-27 00:15:03'::timestamp) - extract(epoch from '2026-07-27 00:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177747)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177766)'))) / (select extract(epoch from '2026-07-27 00:15:03'::timestamp) - extract(epoch from '2026-07-27 00:14: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'), 47415, 'SRID=4674;POINT (-37.478591 -4.177776)', '2026-07-27 00:15:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177776)'))) / (select extract(epoch from '2026-07-27 00:15:11'::timestamp) - extract(epoch from '2026-07-27 00:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177776)'))) / (select extract(epoch from '2026-07-27 00:15:11'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478577 -4.177784)', '2026-07-27 00:15:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177776)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177784)'))) / (select extract(epoch from '2026-07-27 00:15:23'::timestamp) - extract(epoch from '2026-07-27 00:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177776)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177784)'))) / (select extract(epoch from '2026-07-27 00:15:23'::timestamp) - extract(epoch from '2026-07-27 00:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478582 -4.17777)', '2026-07-27 00:15:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177784)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17777)'))) / (select extract(epoch from '2026-07-27 00:15:29'::timestamp) - extract(epoch from '2026-07-27 00:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177784)'), GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17777)'))) / (select extract(epoch from '2026-07-27 00:15:29'::timestamp) - extract(epoch from '2026-07-27 00:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478601 -4.177758)', '2026-07-27 00:15:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17777)'), GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177758)'))) / (select extract(epoch from '2026-07-27 00:15:42'::timestamp) - extract(epoch from '2026-07-27 00:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478582 -4.17777)'), GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177758)'))) / (select extract(epoch from '2026-07-27 00:15:42'::timestamp) - extract(epoch from '2026-07-27 00:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478602 -4.177758)', '2026-07-27 00:15:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177758)'))) / (select extract(epoch from '2026-07-27 00:15:55'::timestamp) - extract(epoch from '2026-07-27 00:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478601 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177758)'))) / (select extract(epoch from '2026-07-27 00:15:55'::timestamp) - extract(epoch from '2026-07-27 00:15: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'), 47415, 'SRID=4674;POINT (-37.478606 -4.177752)', '2026-07-27 00:16:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177752)'))) / (select extract(epoch from '2026-07-27 00:16:11'::timestamp) - extract(epoch from '2026-07-27 00:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478602 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177752)'))) / (select extract(epoch from '2026-07-27 00:16:11'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478584 -4.177729)', '2026-07-27 00:16:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177752)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177729)'))) / (select extract(epoch from '2026-07-27 00:16:50'::timestamp) - extract(epoch from '2026-07-27 00:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177752)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177729)'))) / (select extract(epoch from '2026-07-27 00:16:50'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478574 -4.177719)', '2026-07-27 00:17:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177729)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177719)'))) / (select extract(epoch from '2026-07-27 00:17:08'::timestamp) - extract(epoch from '2026-07-27 00:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177729)'), GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177719)'))) / (select extract(epoch from '2026-07-27 00:17:08'::timestamp) - extract(epoch from '2026-07-27 00:16:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478589 -4.177723)', '2026-07-27 00:17:20', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177719)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177723)'))) / (select extract(epoch from '2026-07-27 00:17:20'::timestamp) - extract(epoch from '2026-07-27 00:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478574 -4.177719)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177723)'))) / (select extract(epoch from '2026-07-27 00:17:20'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478604 -4.177728)', '2026-07-27 00:17:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177723)'), GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177728)'))) / (select extract(epoch from '2026-07-27 00:17:21'::timestamp) - extract(epoch from '2026-07-27 00:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177723)'), GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177728)'))) / (select extract(epoch from '2026-07-27 00:17:21'::timestamp) - extract(epoch from '2026-07-27 00:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478617 -4.177729)', '2026-07-27 00:17:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177728)'), GeomFromEWKT('SRID=4674;POINT (-37.478617 -4.177729)'))) / (select extract(epoch from '2026-07-27 00:17:25'::timestamp) - extract(epoch from '2026-07-27 00:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478604 -4.177728)'), GeomFromEWKT('SRID=4674;POINT (-37.478617 -4.177729)'))) / (select extract(epoch from '2026-07-27 00:17:25'::timestamp) - extract(epoch from '2026-07-27 00:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478616 -4.177721)', '2026-07-27 00:17:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478617 -4.177729)'), GeomFromEWKT('SRID=4674;POINT (-37.478616 -4.177721)'))) / (select extract(epoch from '2026-07-27 00:17:32'::timestamp) - extract(epoch from '2026-07-27 00:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478617 -4.177729)'), GeomFromEWKT('SRID=4674;POINT (-37.478616 -4.177721)'))) / (select extract(epoch from '2026-07-27 00:17:32'::timestamp) - extract(epoch from '2026-07-27 00:17:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478589 -4.177731)', '2026-07-27 00:17:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478616 -4.177721)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177731)'))) / (select extract(epoch from '2026-07-27 00:17:45'::timestamp) - extract(epoch from '2026-07-27 00:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478616 -4.177721)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177731)'))) / (select extract(epoch from '2026-07-27 00:17:45'::timestamp) - extract(epoch from '2026-07-27 00:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478566 -4.177742)', '2026-07-27 00:17:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177731)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177742)'))) / (select extract(epoch from '2026-07-27 00:17:53'::timestamp) - extract(epoch from '2026-07-27 00:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177731)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177742)'))) / (select extract(epoch from '2026-07-27 00:17:53'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478579 -4.177724)', '2026-07-27 00:19:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177742)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177724)'))) / (select extract(epoch from '2026-07-27 00:19:08'::timestamp) - extract(epoch from '2026-07-27 00:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177742)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177724)'))) / (select extract(epoch from '2026-07-27 00:19:08'::timestamp) - extract(epoch from '2026-07-27 00:17: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'), 47415, 'SRID=4674;POINT (-37.478595 -4.177732)', '2026-07-27 00:19:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177724)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177732)'))) / (select extract(epoch from '2026-07-27 00:19:10'::timestamp) - extract(epoch from '2026-07-27 00:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177724)'), GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177732)'))) / (select extract(epoch from '2026-07-27 00:19:10'::timestamp) - extract(epoch from '2026-07-27 00:19: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'), 47415, 'SRID=4674;POINT (-37.478599 -4.177736)', '2026-07-27 00:19:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177732)'), GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177736)'))) / (select extract(epoch from '2026-07-27 00:19:13'::timestamp) - extract(epoch from '2026-07-27 00:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478595 -4.177732)'), GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177736)'))) / (select extract(epoch from '2026-07-27 00:19:13'::timestamp) - extract(epoch from '2026-07-27 00:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478606 -4.177753)', '2026-07-27 00:20:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177736)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177753)'))) / (select extract(epoch from '2026-07-27 00:20:17'::timestamp) - extract(epoch from '2026-07-27 00:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478599 -4.177736)'), GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177753)'))) / (select extract(epoch from '2026-07-27 00:20:17'::timestamp) - extract(epoch from '2026-07-27 00:19: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'), 47415, 'SRID=4674;POINT (-37.478589 -4.17773)', '2026-07-27 00:21:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.17773)'))) / (select extract(epoch from '2026-07-27 00:21:19'::timestamp) - extract(epoch from '2026-07-27 00:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478606 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.17773)'))) / (select extract(epoch from '2026-07-27 00:21:19'::timestamp) - extract(epoch from '2026-07-27 00:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47859 -4.177733)', '2026-07-27 00:21:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.17773)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177733)'))) / (select extract(epoch from '2026-07-27 00:21:34'::timestamp) - extract(epoch from '2026-07-27 00:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.17773)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177733)'))) / (select extract(epoch from '2026-07-27 00:21:34'::timestamp) - extract(epoch from '2026-07-27 00:21:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478586 -4.177738)', '2026-07-27 00:21:40', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:21:40'::timestamp) - extract(epoch from '2026-07-27 00:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:21:40'::timestamp) - extract(epoch from '2026-07-27 00:21: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'), 47415, 'SRID=4674;POINT (-37.478605 -4.177738)', '2026-07-27 00:21:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478605 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:21:46'::timestamp) - extract(epoch from '2026-07-27 00:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478605 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:21:46'::timestamp) - extract(epoch from '2026-07-27 00:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478598 -4.177737)', '2026-07-27 00:21:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478605 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177737)'))) / (select extract(epoch from '2026-07-27 00:21:53'::timestamp) - extract(epoch from '2026-07-27 00:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478605 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177737)'))) / (select extract(epoch from '2026-07-27 00:21:53'::timestamp) - extract(epoch from '2026-07-27 00:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478597 -4.177735)', '2026-07-27 00:22:20', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177737)'), GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177735)'))) / (select extract(epoch from '2026-07-27 00:22:20'::timestamp) - extract(epoch from '2026-07-27 00:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478598 -4.177737)'), GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177735)'))) / (select extract(epoch from '2026-07-27 00:22:20'::timestamp) - extract(epoch from '2026-07-27 00:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478614 -4.17773)', '2026-07-27 00:22:26', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.478614 -4.17773)'))) / (select extract(epoch from '2026-07-27 00:22:26'::timestamp) - extract(epoch from '2026-07-27 00:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478597 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.478614 -4.17773)'))) / (select extract(epoch from '2026-07-27 00:22:26'::timestamp) - extract(epoch from '2026-07-27 00:22: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'), 47415, 'SRID=4674;POINT (-37.478615 -4.177719)', '2026-07-27 00:22:35', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478614 -4.17773)'), GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177719)'))) / (select extract(epoch from '2026-07-27 00:22:35'::timestamp) - extract(epoch from '2026-07-27 00:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478614 -4.17773)'), GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177719)'))) / (select extract(epoch from '2026-07-27 00:22:35'::timestamp) - extract(epoch from '2026-07-27 00:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478615 -4.177708)', '2026-07-27 00:22:46', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177719)'), GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177708)'))) / (select extract(epoch from '2026-07-27 00:22:46'::timestamp) - extract(epoch from '2026-07-27 00:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177719)'), GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177708)'))) / (select extract(epoch from '2026-07-27 00:22:46'::timestamp) - extract(epoch from '2026-07-27 00:22: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'), 47415, 'SRID=4674;POINT (-37.47861 -4.177695)', '2026-07-27 00:23:35', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177708)'), GeomFromEWKT('SRID=4674;POINT (-37.47861 -4.177695)'))) / (select extract(epoch from '2026-07-27 00:23:35'::timestamp) - extract(epoch from '2026-07-27 00:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478615 -4.177708)'), GeomFromEWKT('SRID=4674;POINT (-37.47861 -4.177695)'))) / (select extract(epoch from '2026-07-27 00:23:35'::timestamp) - extract(epoch from '2026-07-27 00:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478619 -4.177693)', '2026-07-27 00:23:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47861 -4.177695)'), GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.177693)'))) / (select extract(epoch from '2026-07-27 00:23:44'::timestamp) - extract(epoch from '2026-07-27 00:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47861 -4.177695)'), GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.177693)'))) / (select extract(epoch from '2026-07-27 00:23:44'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478619 -4.17769)', '2026-07-27 00:23:53', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.177693)'), GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.17769)'))) / (select extract(epoch from '2026-07-27 00:23:53'::timestamp) - extract(epoch from '2026-07-27 00:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.177693)'), GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.17769)'))) / (select extract(epoch from '2026-07-27 00:23:53'::timestamp) - extract(epoch from '2026-07-27 00:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478603 -4.177691)', '2026-07-27 00:23:59', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.17769)'), GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177691)'))) / (select extract(epoch from '2026-07-27 00:23:59'::timestamp) - extract(epoch from '2026-07-27 00:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478619 -4.17769)'), GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177691)'))) / (select extract(epoch from '2026-07-27 00:23:59'::timestamp) - extract(epoch from '2026-07-27 00:23: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'), 47415, 'SRID=4674;POINT (-37.478589 -4.177697)', '2026-07-27 00:24:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177691)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177697)'))) / (select extract(epoch from '2026-07-27 00:24:06'::timestamp) - extract(epoch from '2026-07-27 00:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177691)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177697)'))) / (select extract(epoch from '2026-07-27 00:24:06'::timestamp) - extract(epoch from '2026-07-27 00:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478585 -4.1777)', '2026-07-27 00:24:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177697)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.1777)'))) / (select extract(epoch from '2026-07-27 00:24:16'::timestamp) - extract(epoch from '2026-07-27 00:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177697)'), GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.1777)'))) / (select extract(epoch from '2026-07-27 00:24:16'::timestamp) - extract(epoch from '2026-07-27 00:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478551 -4.177696)', '2026-07-27 00:24:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.1777)'), GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.177696)'))) / (select extract(epoch from '2026-07-27 00:24:51'::timestamp) - extract(epoch from '2026-07-27 00:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478585 -4.1777)'), GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.177696)'))) / (select extract(epoch from '2026-07-27 00:24:51'::timestamp) - extract(epoch from '2026-07-27 00:24: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'), 47415, 'SRID=4674;POINT (-37.478546 -4.177706)', '2026-07-27 00:24:58', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.177696)'), GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177706)'))) / (select extract(epoch from '2026-07-27 00:24:58'::timestamp) - extract(epoch from '2026-07-27 00:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.177696)'), GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177706)'))) / (select extract(epoch from '2026-07-27 00:24:58'::timestamp) - extract(epoch from '2026-07-27 00:24: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'), 47415, 'SRID=4674;POINT (-37.478547 -4.177717)', '2026-07-27 00:25:11', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177706)'), GeomFromEWKT('SRID=4674;POINT (-37.478547 -4.177717)'))) / (select extract(epoch from '2026-07-27 00:25:11'::timestamp) - extract(epoch from '2026-07-27 00:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177706)'), GeomFromEWKT('SRID=4674;POINT (-37.478547 -4.177717)'))) / (select extract(epoch from '2026-07-27 00:25:11'::timestamp) - extract(epoch from '2026-07-27 00:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47856 -4.177719)', '2026-07-27 00:26:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478547 -4.177717)'), GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177719)'))) / (select extract(epoch from '2026-07-27 00:26:17'::timestamp) - extract(epoch from '2026-07-27 00:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478547 -4.177717)'), GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177719)'))) / (select extract(epoch from '2026-07-27 00:26:17'::timestamp) - extract(epoch from '2026-07-27 00:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478567 -4.177709)', '2026-07-27 00:26:31', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177719)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177709)'))) / (select extract(epoch from '2026-07-27 00:26:31'::timestamp) - extract(epoch from '2026-07-27 00:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177719)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177709)'))) / (select extract(epoch from '2026-07-27 00:26:31'::timestamp) - extract(epoch from '2026-07-27 00:26: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'), 47415, 'SRID=4674;POINT (-37.47858 -4.177711)', '2026-07-27 00:26:49', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177709)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177711)'))) / (select extract(epoch from '2026-07-27 00:26:49'::timestamp) - extract(epoch from '2026-07-27 00:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177709)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177711)'))) / (select extract(epoch from '2026-07-27 00:26:49'::timestamp) - extract(epoch from '2026-07-27 00:26: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'), 47415, 'SRID=4674;POINT (-37.47859 -4.177697)', '2026-07-27 00:26:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177711)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177697)'))) / (select extract(epoch from '2026-07-27 00:26:57'::timestamp) - extract(epoch from '2026-07-27 00:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177711)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177697)'))) / (select extract(epoch from '2026-07-27 00:26:57'::timestamp) - extract(epoch from '2026-07-27 00:26: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'), 47415, 'SRID=4674;POINT (-37.478611 -4.177688)', '2026-07-27 00:27:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177697)'), GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.177688)'))) / (select extract(epoch from '2026-07-27 00:27:03'::timestamp) - extract(epoch from '2026-07-27 00:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177697)'), GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.177688)'))) / (select extract(epoch from '2026-07-27 00:27:03'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478611 -4.17769)', '2026-07-27 00:27:10', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.177688)'), GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.17769)'))) / (select extract(epoch from '2026-07-27 00:27:10'::timestamp) - extract(epoch from '2026-07-27 00:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.177688)'), GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.17769)'))) / (select extract(epoch from '2026-07-27 00:27:10'::timestamp) - extract(epoch from '2026-07-27 00:27: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'), 47415, 'SRID=4674;POINT (-37.478603 -4.177688)', '2026-07-27 00:27:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.17769)'), GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177688)'))) / (select extract(epoch from '2026-07-27 00:27:18'::timestamp) - extract(epoch from '2026-07-27 00:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478611 -4.17769)'), GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177688)'))) / (select extract(epoch from '2026-07-27 00:27:18'::timestamp) - extract(epoch from '2026-07-27 00:27: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'), 47415, 'SRID=4674;POINT (-37.478581 -4.177686)', '2026-07-27 00:27:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177688)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177686)'))) / (select extract(epoch from '2026-07-27 00:27:26'::timestamp) - extract(epoch from '2026-07-27 00:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478603 -4.177688)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177686)'))) / (select extract(epoch from '2026-07-27 00:27:26'::timestamp) - extract(epoch from '2026-07-27 00:27: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'), 47415, 'SRID=4674;POINT (-37.478572 -4.177677)', '2026-07-27 00:27:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177686)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177677)'))) / (select extract(epoch from '2026-07-27 00:27:30'::timestamp) - extract(epoch from '2026-07-27 00:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177686)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177677)'))) / (select extract(epoch from '2026-07-27 00:27:30'::timestamp) - extract(epoch from '2026-07-27 00:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478577 -4.177676)', '2026-07-27 00:27:36', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177677)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177676)'))) / (select extract(epoch from '2026-07-27 00:27:36'::timestamp) - extract(epoch from '2026-07-27 00:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177677)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177676)'))) / (select extract(epoch from '2026-07-27 00:27:36'::timestamp) - extract(epoch from '2026-07-27 00:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478593 -4.177675)', '2026-07-27 00:27:40', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177676)'), GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177675)'))) / (select extract(epoch from '2026-07-27 00:27:40'::timestamp) - extract(epoch from '2026-07-27 00:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177676)'), GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177675)'))) / (select extract(epoch from '2026-07-27 00:27:40'::timestamp) - extract(epoch from '2026-07-27 00:27: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'), 47415, 'SRID=4674;POINT (-37.478592 -4.177676)', '2026-07-27 00:27:46', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177675)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177676)'))) / (select extract(epoch from '2026-07-27 00:27:46'::timestamp) - extract(epoch from '2026-07-27 00:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478593 -4.177675)'), GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177676)'))) / (select extract(epoch from '2026-07-27 00:27:46'::timestamp) - extract(epoch from '2026-07-27 00:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478583 -4.177684)', '2026-07-27 00:28:29', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177676)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177684)'))) / (select extract(epoch from '2026-07-27 00:28:29'::timestamp) - extract(epoch from '2026-07-27 00:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478592 -4.177676)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177684)'))) / (select extract(epoch from '2026-07-27 00:28:29'::timestamp) - extract(epoch from '2026-07-27 00:27: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'), 47415, 'SRID=4674;POINT (-37.478584 -4.177676)', '2026-07-27 00:28:34', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177684)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177676)'))) / (select extract(epoch from '2026-07-27 00:28:34'::timestamp) - extract(epoch from '2026-07-27 00:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.177684)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177676)'))) / (select extract(epoch from '2026-07-27 00:28:34'::timestamp) - extract(epoch from '2026-07-27 00:28: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.177677)', '2026-07-27 00:28:37', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177676)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177677)'))) / (select extract(epoch from '2026-07-27 00:28:37'::timestamp) - extract(epoch from '2026-07-27 00:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177676)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177677)'))) / (select extract(epoch from '2026-07-27 00:28:37'::timestamp) - extract(epoch from '2026-07-27 00:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47858 -4.177675)', '2026-07-27 00:28:38', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177677)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177675)'))) / (select extract(epoch from '2026-07-27 00:28:38'::timestamp) - extract(epoch from '2026-07-27 00:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177677)'), GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177675)'))) / (select extract(epoch from '2026-07-27 00:28:38'::timestamp) - extract(epoch from '2026-07-27 00:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478591 -4.177674)', '2026-07-27 00:28:41', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177675)'), GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177674)'))) / (select extract(epoch from '2026-07-27 00:28:41'::timestamp) - extract(epoch from '2026-07-27 00:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47858 -4.177675)'), GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177674)'))) / (select extract(epoch from '2026-07-27 00:28:41'::timestamp) - extract(epoch from '2026-07-27 00:28: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.177673)', '2026-07-27 00:28:49', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177674)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177673)'))) / (select extract(epoch from '2026-07-27 00:28:49'::timestamp) - extract(epoch from '2026-07-27 00:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478591 -4.177674)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177673)'))) / (select extract(epoch from '2026-07-27 00:28:49'::timestamp) - extract(epoch from '2026-07-27 00:28: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'), 47415, 'SRID=4674;POINT (-37.47859 -4.177687)', '2026-07-27 00:29:00', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177673)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177687)'))) / (select extract(epoch from '2026-07-27 00:29:00'::timestamp) - extract(epoch from '2026-07-27 00:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177673)'), GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177687)'))) / (select extract(epoch from '2026-07-27 00:29:00'::timestamp) - extract(epoch from '2026-07-27 00:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478578 -4.17769)', '2026-07-27 00:29:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177687)'), GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.17769)'))) / (select extract(epoch from '2026-07-27 00:29:13'::timestamp) - extract(epoch from '2026-07-27 00:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47859 -4.177687)'), GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.17769)'))) / (select extract(epoch from '2026-07-27 00:29:13'::timestamp) - extract(epoch from '2026-07-27 00:29: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'), 47415, 'SRID=4674;POINT (-37.478572 -4.177681)', '2026-07-27 00:29:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.17769)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177681)'))) / (select extract(epoch from '2026-07-27 00:29:22'::timestamp) - extract(epoch from '2026-07-27 00:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478578 -4.17769)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177681)'))) / (select extract(epoch from '2026-07-27 00:29:22'::timestamp) - extract(epoch from '2026-07-27 00:29: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'), 47415, 'SRID=4674;POINT (-37.478586 -4.177673)', '2026-07-27 00:29:28', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177681)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177673)'))) / (select extract(epoch from '2026-07-27 00:29:28'::timestamp) - extract(epoch from '2026-07-27 00:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177681)'), GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177673)'))) / (select extract(epoch from '2026-07-27 00:29:28'::timestamp) - extract(epoch from '2026-07-27 00:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478584 -4.177679)', '2026-07-27 00:29:36', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177673)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177679)'))) / (select extract(epoch from '2026-07-27 00:29:36'::timestamp) - extract(epoch from '2026-07-27 00:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478586 -4.177673)'), GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177679)'))) / (select extract(epoch from '2026-07-27 00:29:36'::timestamp) - extract(epoch from '2026-07-27 00:29: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'), 47415, 'SRID=4674;POINT (-37.478569 -4.177681)', '2026-07-27 00:30:01', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177679)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177681)'))) / (select extract(epoch from '2026-07-27 00:30:01'::timestamp) - extract(epoch from '2026-07-27 00:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478584 -4.177679)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177681)'))) / (select extract(epoch from '2026-07-27 00:30:01'::timestamp) - extract(epoch from '2026-07-27 00:29: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'), 47415, 'SRID=4674;POINT (-37.478583 -4.17769)', '2026-07-27 00:30:19', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177681)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.17769)'))) / (select extract(epoch from '2026-07-27 00:30:19'::timestamp) - extract(epoch from '2026-07-27 00:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177681)'), GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.17769)'))) / (select extract(epoch from '2026-07-27 00:30:19'::timestamp) - extract(epoch from '2026-07-27 00:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478588 -4.177692)', '2026-07-27 00:30:47', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.17769)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177692)'))) / (select extract(epoch from '2026-07-27 00:30:47'::timestamp) - extract(epoch from '2026-07-27 00:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478583 -4.17769)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177692)'))) / (select extract(epoch from '2026-07-27 00:30:47'::timestamp) - extract(epoch from '2026-07-27 00:30: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'), 47415, 'SRID=4674;POINT (-37.478565 -4.177706)', '2026-07-27 00:31:00', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177692)'), GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177706)'))) / (select extract(epoch from '2026-07-27 00:31:00'::timestamp) - extract(epoch from '2026-07-27 00:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177692)'), GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177706)'))) / (select extract(epoch from '2026-07-27 00:31:00'::timestamp) - extract(epoch from '2026-07-27 00:30: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'), 47415, 'SRID=4674;POINT (-37.478551 -4.177706)', '2026-07-27 00:31:10', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177706)'), GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.177706)'))) / (select extract(epoch from '2026-07-27 00:31:10'::timestamp) - extract(epoch from '2026-07-27 00:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177706)'), GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.177706)'))) / (select extract(epoch from '2026-07-27 00:31:10'::timestamp) - extract(epoch from '2026-07-27 00:31: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'), 47415, 'SRID=4674;POINT (-37.478562 -4.177697)', '2026-07-27 00:31:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.177706)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177697)'))) / (select extract(epoch from '2026-07-27 00:31:19'::timestamp) - extract(epoch from '2026-07-27 00:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.177706)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177697)'))) / (select extract(epoch from '2026-07-27 00:31:19'::timestamp) - extract(epoch from '2026-07-27 00:31: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'), 47415, 'SRID=4674;POINT (-37.478553 -4.177703)', '2026-07-27 00:31:51', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177697)'), GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177703)'))) / (select extract(epoch from '2026-07-27 00:31:51'::timestamp) - extract(epoch from '2026-07-27 00:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177697)'), GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177703)'))) / (select extract(epoch from '2026-07-27 00:31:51'::timestamp) - extract(epoch from '2026-07-27 00:31: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'), 47415, 'SRID=4674;POINT (-37.478542 -4.1777)', '2026-07-27 00:32:00', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177703)'), GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.1777)'))) / (select extract(epoch from '2026-07-27 00:32:00'::timestamp) - extract(epoch from '2026-07-27 00:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177703)'), GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.1777)'))) / (select extract(epoch from '2026-07-27 00:32:00'::timestamp) - extract(epoch from '2026-07-27 00:31: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'), 47415, 'SRID=4674;POINT (-37.478579 -4.177703)', '2026-07-27 00:32:39', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.1777)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177703)'))) / (select extract(epoch from '2026-07-27 00:32:39'::timestamp) - extract(epoch from '2026-07-27 00:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.1777)'), GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177703)'))) / (select extract(epoch from '2026-07-27 00:32:39'::timestamp) - extract(epoch from '2026-07-27 00:32: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'), 47415, 'SRID=4674;POINT (-37.478566 -4.177727)', '2026-07-27 00:33:10', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177703)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177727)'))) / (select extract(epoch from '2026-07-27 00:33:10'::timestamp) - extract(epoch from '2026-07-27 00:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478579 -4.177703)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177727)'))) / (select extract(epoch from '2026-07-27 00:33:10'::timestamp) - extract(epoch from '2026-07-27 00:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478563 -4.177741)', '2026-07-27 00:33:25', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177727)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177741)'))) / (select extract(epoch from '2026-07-27 00:33:25'::timestamp) - extract(epoch from '2026-07-27 00:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177727)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177741)'))) / (select extract(epoch from '2026-07-27 00:33:25'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.47856 -4.177738)', '2026-07-27 00:33:31', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177741)'), GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:33:31'::timestamp) - extract(epoch from '2026-07-27 00:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177741)'), GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:33:31'::timestamp) - extract(epoch from '2026-07-27 00:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478544 -4.177743)', '2026-07-27 00:34:34', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177743)'))) / (select extract(epoch from '2026-07-27 00:34:34'::timestamp) - extract(epoch from '2026-07-27 00:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47856 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177743)'))) / (select extract(epoch from '2026-07-27 00:34:34'::timestamp) - extract(epoch from '2026-07-27 00:33: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'), 47415, 'SRID=4674;POINT (-37.47857 -4.177752)', '2026-07-27 00:34:54', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177752)'))) / (select extract(epoch from '2026-07-27 00:34:54'::timestamp) - extract(epoch from '2026-07-27 00:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177752)'))) / (select extract(epoch from '2026-07-27 00:34:54'::timestamp) - extract(epoch from '2026-07-27 00:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478563 -4.177751)', '2026-07-27 00:34:57', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177752)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177751)'))) / (select extract(epoch from '2026-07-27 00:34:57'::timestamp) - extract(epoch from '2026-07-27 00:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177752)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177751)'))) / (select extract(epoch from '2026-07-27 00:34:57'::timestamp) - extract(epoch from '2026-07-27 00:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478589 -4.177745)', '2026-07-27 00:35:04', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177751)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177745)'))) / (select extract(epoch from '2026-07-27 00:35:04'::timestamp) - extract(epoch from '2026-07-27 00:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177751)'), GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177745)'))) / (select extract(epoch from '2026-07-27 00:35:04'::timestamp) - extract(epoch from '2026-07-27 00:34:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478577 -4.177762)', '2026-07-27 00:35:20', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177745)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177762)'))) / (select extract(epoch from '2026-07-27 00:35:20'::timestamp) - extract(epoch from '2026-07-27 00:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478589 -4.177745)'), GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177762)'))) / (select extract(epoch from '2026-07-27 00:35:20'::timestamp) - extract(epoch from '2026-07-27 00:35: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'), 47415, 'SRID=4674;POINT (-37.478565 -4.177761)', '2026-07-27 00:35:25', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177761)'))) / (select extract(epoch from '2026-07-27 00:35:25'::timestamp) - extract(epoch from '2026-07-27 00:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478577 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177761)'))) / (select extract(epoch from '2026-07-27 00:35:25'::timestamp) - extract(epoch from '2026-07-27 00:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478567 -4.177765)', '2026-07-27 00:35:33', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177761)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177765)'))) / (select extract(epoch from '2026-07-27 00:35:33'::timestamp) - extract(epoch from '2026-07-27 00:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177761)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177765)'))) / (select extract(epoch from '2026-07-27 00:35:33'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478562 -4.177758)', '2026-07-27 00:35:39', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177765)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177758)'))) / (select extract(epoch from '2026-07-27 00:35:39'::timestamp) - extract(epoch from '2026-07-27 00:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177765)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177758)'))) / (select extract(epoch from '2026-07-27 00:35:39'::timestamp) - extract(epoch from '2026-07-27 00:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478569 -4.177757)', '2026-07-27 00:35:58', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177757)'))) / (select extract(epoch from '2026-07-27 00:35:58'::timestamp) - extract(epoch from '2026-07-27 00:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177757)'))) / (select extract(epoch from '2026-07-27 00:35:58'::timestamp) - extract(epoch from '2026-07-27 00:35: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'), 47415, 'SRID=4674;POINT (-37.47857 -4.177778)', '2026-07-27 00:36:39', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177757)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177778)'))) / (select extract(epoch from '2026-07-27 00:36:39'::timestamp) - extract(epoch from '2026-07-27 00:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177757)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177778)'))) / (select extract(epoch from '2026-07-27 00:36:39'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478566 -4.177778)', '2026-07-27 00:37:21', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177778)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177778)'))) / (select extract(epoch from '2026-07-27 00:37:21'::timestamp) - extract(epoch from '2026-07-27 00:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177778)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177778)'))) / (select extract(epoch from '2026-07-27 00:37:21'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478553 -4.177777)', '2026-07-27 00:37:29', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177778)'), GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177777)'))) / (select extract(epoch from '2026-07-27 00:37:29'::timestamp) - extract(epoch from '2026-07-27 00:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177778)'), GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177777)'))) / (select extract(epoch from '2026-07-27 00:37:29'::timestamp) - extract(epoch from '2026-07-27 00:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478543 -4.177789)', '2026-07-27 00:38:01', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177777)'), GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177789)'))) / (select extract(epoch from '2026-07-27 00:38:01'::timestamp) - extract(epoch from '2026-07-27 00:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177777)'), GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177789)'))) / (select extract(epoch from '2026-07-27 00:38:01'::timestamp) - extract(epoch from '2026-07-27 00:37: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'), 47415, 'SRID=4674;POINT (-37.478543 -4.177784)', '2026-07-27 00:38:09', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177789)'), GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177784)'))) / (select extract(epoch from '2026-07-27 00:38:09'::timestamp) - extract(epoch from '2026-07-27 00:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177789)'), GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177784)'))) / (select extract(epoch from '2026-07-27 00:38:09'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478554 -4.177763)', '2026-07-27 00:38:17', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177784)'), GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177763)'))) / (select extract(epoch from '2026-07-27 00:38:17'::timestamp) - extract(epoch from '2026-07-27 00:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177784)'), GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177763)'))) / (select extract(epoch from '2026-07-27 00:38:17'::timestamp) - extract(epoch from '2026-07-27 00:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478536 -4.177762)', '2026-07-27 00:38:46', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177763)'), GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177762)'))) / (select extract(epoch from '2026-07-27 00:38:46'::timestamp) - extract(epoch from '2026-07-27 00:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177763)'), GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177762)'))) / (select extract(epoch from '2026-07-27 00:38:46'::timestamp) - extract(epoch from '2026-07-27 00:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.47854 -4.177762)', '2026-07-27 00:39:10', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.47854 -4.177762)'))) / (select extract(epoch from '2026-07-27 00:39:10'::timestamp) - extract(epoch from '2026-07-27 00:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.47854 -4.177762)'))) / (select extract(epoch from '2026-07-27 00:39:10'::timestamp) - extract(epoch from '2026-07-27 00:38:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478531 -4.177769)', '2026-07-27 00:39:13', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47854 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177769)'))) / (select extract(epoch from '2026-07-27 00:39:13'::timestamp) - extract(epoch from '2026-07-27 00:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47854 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177769)'))) / (select extract(epoch from '2026-07-27 00:39:13'::timestamp) - extract(epoch from '2026-07-27 00:39: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'), 47415, 'SRID=4674;POINT (-37.478532 -4.177775)', '2026-07-27 00:39:18', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177769)'), GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177775)'))) / (select extract(epoch from '2026-07-27 00:39:18'::timestamp) - extract(epoch from '2026-07-27 00:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478531 -4.177769)'), GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177775)'))) / (select extract(epoch from '2026-07-27 00:39:18'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478523 -4.177772)', '2026-07-27 00:39:42', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177775)'), GeomFromEWKT('SRID=4674;POINT (-37.478523 -4.177772)'))) / (select extract(epoch from '2026-07-27 00:39:42'::timestamp) - extract(epoch from '2026-07-27 00:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177775)'), GeomFromEWKT('SRID=4674;POINT (-37.478523 -4.177772)'))) / (select extract(epoch from '2026-07-27 00:39:42'::timestamp) - extract(epoch from '2026-07-27 00:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478538 -4.177763)', '2026-07-27 00:39:47', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478523 -4.177772)'), GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177763)'))) / (select extract(epoch from '2026-07-27 00:39:47'::timestamp) - extract(epoch from '2026-07-27 00:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478523 -4.177772)'), GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177763)'))) / (select extract(epoch from '2026-07-27 00:39:47'::timestamp) - extract(epoch from '2026-07-27 00:39:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478533 -4.177745)', '2026-07-27 00:40:01', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177763)'), GeomFromEWKT('SRID=4674;POINT (-37.478533 -4.177745)'))) / (select extract(epoch from '2026-07-27 00:40:01'::timestamp) - extract(epoch from '2026-07-27 00:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177763)'), GeomFromEWKT('SRID=4674;POINT (-37.478533 -4.177745)'))) / (select extract(epoch from '2026-07-27 00:40:01'::timestamp) - extract(epoch from '2026-07-27 00:39: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'), 47415, 'SRID=4674;POINT (-37.478536 -4.177744)', '2026-07-27 00:40:11', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478533 -4.177745)'), GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177744)'))) / (select extract(epoch from '2026-07-27 00:40:11'::timestamp) - extract(epoch from '2026-07-27 00:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478533 -4.177745)'), GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177744)'))) / (select extract(epoch from '2026-07-27 00:40:11'::timestamp) - extract(epoch from '2026-07-27 00:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478521 -4.177743)', '2026-07-27 00:40:25', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177744)'), GeomFromEWKT('SRID=4674;POINT (-37.478521 -4.177743)'))) / (select extract(epoch from '2026-07-27 00:40:25'::timestamp) - extract(epoch from '2026-07-27 00:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177744)'), GeomFromEWKT('SRID=4674;POINT (-37.478521 -4.177743)'))) / (select extract(epoch from '2026-07-27 00:40:25'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478541 -4.177733)', '2026-07-27 00:40:39', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478521 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.478541 -4.177733)'))) / (select extract(epoch from '2026-07-27 00:40:39'::timestamp) - extract(epoch from '2026-07-27 00:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478521 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.478541 -4.177733)'))) / (select extract(epoch from '2026-07-27 00:40:39'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478553 -4.177731)', '2026-07-27 00:40:51', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478541 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177731)'))) / (select extract(epoch from '2026-07-27 00:40:51'::timestamp) - extract(epoch from '2026-07-27 00:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478541 -4.177733)'), GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177731)'))) / (select extract(epoch from '2026-07-27 00:40:51'::timestamp) - extract(epoch from '2026-07-27 00:40: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'), 47415, 'SRID=4674;POINT (-37.478546 -4.177716)', '2026-07-27 00:41:14', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177731)'), GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177716)'))) / (select extract(epoch from '2026-07-27 00:41:14'::timestamp) - extract(epoch from '2026-07-27 00:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.177731)'), GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177716)'))) / (select extract(epoch from '2026-07-27 00:41:14'::timestamp) - extract(epoch from '2026-07-27 00:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478538 -4.177719)', '2026-07-27 00:41:43', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177716)'), GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177719)'))) / (select extract(epoch from '2026-07-27 00:41:43'::timestamp) - extract(epoch from '2026-07-27 00:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177716)'), GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177719)'))) / (select extract(epoch from '2026-07-27 00:41:43'::timestamp) - extract(epoch from '2026-07-27 00:41: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'), 47415, 'SRID=4674;POINT (-37.478545 -4.177726)', '2026-07-27 00:41:59', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177719)'), GeomFromEWKT('SRID=4674;POINT (-37.478545 -4.177726)'))) / (select extract(epoch from '2026-07-27 00:41:59'::timestamp) - extract(epoch from '2026-07-27 00:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177719)'), GeomFromEWKT('SRID=4674;POINT (-37.478545 -4.177726)'))) / (select extract(epoch from '2026-07-27 00:41:59'::timestamp) - extract(epoch from '2026-07-27 00:41: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'), 47415, 'SRID=4674;POINT (-37.478546 -4.177724)', '2026-07-27 00:42:05', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478545 -4.177726)'), GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177724)'))) / (select extract(epoch from '2026-07-27 00:42:05'::timestamp) - extract(epoch from '2026-07-27 00:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478545 -4.177726)'), GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177724)'))) / (select extract(epoch from '2026-07-27 00:42:05'::timestamp) - extract(epoch from '2026-07-27 00:41: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'), 47415, 'SRID=4674;POINT (-37.478556 -4.177716)', '2026-07-27 00:42:15', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177724)'), GeomFromEWKT('SRID=4674;POINT (-37.478556 -4.177716)'))) / (select extract(epoch from '2026-07-27 00:42:15'::timestamp) - extract(epoch from '2026-07-27 00:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478546 -4.177724)'), GeomFromEWKT('SRID=4674;POINT (-37.478556 -4.177716)'))) / (select extract(epoch from '2026-07-27 00:42:15'::timestamp) - extract(epoch from '2026-07-27 00:42: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'), 47415, 'SRID=4674;POINT (-37.478565 -4.177712)', '2026-07-27 00:42:18', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478556 -4.177716)'), GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177712)'))) / (select extract(epoch from '2026-07-27 00:42:18'::timestamp) - extract(epoch from '2026-07-27 00:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478556 -4.177716)'), GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177712)'))) / (select extract(epoch from '2026-07-27 00:42:18'::timestamp) - extract(epoch from '2026-07-27 00:42: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'), 47415, 'SRID=4674;POINT (-37.47857 -4.177712)', '2026-07-27 00:42:35', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177712)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177712)'))) / (select extract(epoch from '2026-07-27 00:42:35'::timestamp) - extract(epoch from '2026-07-27 00:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478565 -4.177712)'), GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177712)'))) / (select extract(epoch from '2026-07-27 00:42:35'::timestamp) - extract(epoch from '2026-07-27 00:42: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'), 47415, 'SRID=4674;POINT (-37.478567 -4.177725)', '2026-07-27 00:42:48', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177712)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177725)'))) / (select extract(epoch from '2026-07-27 00:42:48'::timestamp) - extract(epoch from '2026-07-27 00:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47857 -4.177712)'), GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177725)'))) / (select extract(epoch from '2026-07-27 00:42:48'::timestamp) - extract(epoch from '2026-07-27 00:42: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'), 47415, 'SRID=4674;POINT (-37.478544 -4.177738)', '2026-07-27 00:42:54', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177725)'), GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:42:54'::timestamp) - extract(epoch from '2026-07-27 00:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478567 -4.177725)'), GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:42:54'::timestamp) - extract(epoch from '2026-07-27 00:42: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'), 47415, 'SRID=4674;POINT (-37.478551 -4.17775)', '2026-07-27 00:42:57', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.17775)'))) / (select extract(epoch from '2026-07-27 00:42:57'::timestamp) - extract(epoch from '2026-07-27 00:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.17775)'))) / (select extract(epoch from '2026-07-27 00:42:57'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478536 -4.177773)', '2026-07-27 00:43:04', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.17775)'), GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177773)'))) / (select extract(epoch from '2026-07-27 00:43:04'::timestamp) - extract(epoch from '2026-07-27 00:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478551 -4.17775)'), GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177773)'))) / (select extract(epoch from '2026-07-27 00:43:04'::timestamp) - extract(epoch from '2026-07-27 00:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478544 -4.177778)', '2026-07-27 00:43:11', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177773)'), GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177778)'))) / (select extract(epoch from '2026-07-27 00:43:11'::timestamp) - extract(epoch from '2026-07-27 00:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478536 -4.177773)'), GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177778)'))) / (select extract(epoch from '2026-07-27 00:43:11'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478538 -4.177785)', '2026-07-27 00:43:21', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177778)'), GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177785)'))) / (select extract(epoch from '2026-07-27 00:43:21'::timestamp) - extract(epoch from '2026-07-27 00:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177778)'), GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177785)'))) / (select extract(epoch from '2026-07-27 00:43:21'::timestamp) - extract(epoch from '2026-07-27 00:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478537 -4.177766)', '2026-07-27 00:43:41', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478537 -4.177766)'))) / (select extract(epoch from '2026-07-27 00:43:41'::timestamp) - extract(epoch from '2026-07-27 00:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478538 -4.177785)'), GeomFromEWKT('SRID=4674;POINT (-37.478537 -4.177766)'))) / (select extract(epoch from '2026-07-27 00:43:41'::timestamp) - extract(epoch from '2026-07-27 00:43: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'), 47415, 'SRID=4674;POINT (-37.478553 -4.17775)', '2026-07-27 00:43:59', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478537 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.17775)'))) / (select extract(epoch from '2026-07-27 00:43:59'::timestamp) - extract(epoch from '2026-07-27 00:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478537 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.17775)'))) / (select extract(epoch from '2026-07-27 00:43:59'::timestamp) - extract(epoch from '2026-07-27 00:43: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'), 47415, 'SRID=4674;POINT (-37.478561 -4.177753)', '2026-07-27 00:44:10', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.17775)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177753)'))) / (select extract(epoch from '2026-07-27 00:44:10'::timestamp) - extract(epoch from '2026-07-27 00:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478553 -4.17775)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177753)'))) / (select extract(epoch from '2026-07-27 00:44:10'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.47855 -4.177772)', '2026-07-27 00:44:25', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.177772)'))) / (select extract(epoch from '2026-07-27 00:44:25'::timestamp) - extract(epoch from '2026-07-27 00:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177753)'), GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.177772)'))) / (select extract(epoch from '2026-07-27 00:44:25'::timestamp) - extract(epoch from '2026-07-27 00:44:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.478532 -4.177779)', '2026-07-27 00:44:35', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.177772)'), GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177779)'))) / (select extract(epoch from '2026-07-27 00:44:35'::timestamp) - extract(epoch from '2026-07-27 00:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.177772)'), GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177779)'))) / (select extract(epoch from '2026-07-27 00:44:35'::timestamp) - extract(epoch from '2026-07-27 00:44: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'), 47415, 'SRID=4674;POINT (-37.478561 -4.177771)', '2026-07-27 00:44:47', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177779)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177771)'))) / (select extract(epoch from '2026-07-27 00:44:47'::timestamp) - extract(epoch from '2026-07-27 00:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478532 -4.177779)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177771)'))) / (select extract(epoch from '2026-07-27 00:44:47'::timestamp) - extract(epoch from '2026-07-27 00:44: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'), 47415, 'SRID=4674;POINT (-37.478552 -4.177775)', '2026-07-27 00:44:56', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177771)'), GeomFromEWKT('SRID=4674;POINT (-37.478552 -4.177775)'))) / (select extract(epoch from '2026-07-27 00:44:56'::timestamp) - extract(epoch from '2026-07-27 00:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177771)'), GeomFromEWKT('SRID=4674;POINT (-37.478552 -4.177775)'))) / (select extract(epoch from '2026-07-27 00:44:56'::timestamp) - extract(epoch from '2026-07-27 00:44: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'), 47415, 'SRID=4674;POINT (-37.478552 -4.17777)', '2026-07-27 00:45:09', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478552 -4.177775)'), GeomFromEWKT('SRID=4674;POINT (-37.478552 -4.17777)'))) / (select extract(epoch from '2026-07-27 00:45:09'::timestamp) - extract(epoch from '2026-07-27 00:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478552 -4.177775)'), GeomFromEWKT('SRID=4674;POINT (-37.478552 -4.17777)'))) / (select extract(epoch from '2026-07-27 00:45:09'::timestamp) - extract(epoch from '2026-07-27 00:44: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'), 47415, 'SRID=4674;POINT (-37.478573 -4.177756)', '2026-07-27 00:45:19', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478552 -4.17777)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177756)'))) / (select extract(epoch from '2026-07-27 00:45:19'::timestamp) - extract(epoch from '2026-07-27 00:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478552 -4.17777)'), GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177756)'))) / (select extract(epoch from '2026-07-27 00:45:19'::timestamp) - extract(epoch from '2026-07-27 00:45: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'), 47415, 'SRID=4674;POINT (-37.478562 -4.177758)', '2026-07-27 00:45:27', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177756)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177758)'))) / (select extract(epoch from '2026-07-27 00:45:27'::timestamp) - extract(epoch from '2026-07-27 00:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478573 -4.177756)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177758)'))) / (select extract(epoch from '2026-07-27 00:45:27'::timestamp) - extract(epoch from '2026-07-27 00:45: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'), 47415, 'SRID=4674;POINT (-37.478554 -4.177764)', '2026-07-27 00:45:38', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177764)'))) / (select extract(epoch from '2026-07-27 00:45:38'::timestamp) - extract(epoch from '2026-07-27 00:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177758)'), GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177764)'))) / (select extract(epoch from '2026-07-27 00:45:38'::timestamp) - extract(epoch from '2026-07-27 00:45: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'), 47415, 'SRID=4674;POINT (-37.478548 -4.177756)', '2026-07-27 00:45:47', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177756)'))) / (select extract(epoch from '2026-07-27 00:45:47'::timestamp) - extract(epoch from '2026-07-27 00:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177764)'), GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177756)'))) / (select extract(epoch from '2026-07-27 00:45:47'::timestamp) - extract(epoch from '2026-07-27 00:45: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'), 47415, 'SRID=4674;POINT (-37.47855 -4.17774)', '2026-07-27 00:46:06', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177756)'), GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.17774)'))) / (select extract(epoch from '2026-07-27 00:46:06'::timestamp) - extract(epoch from '2026-07-27 00:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177756)'), GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.17774)'))) / (select extract(epoch from '2026-07-27 00:46:06'::timestamp) - extract(epoch from '2026-07-27 00:45: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'), 47415, 'SRID=4674;POINT (-37.478541 -4.177741)', '2026-07-27 00:46:34', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.17774)'), GeomFromEWKT('SRID=4674;POINT (-37.478541 -4.177741)'))) / (select extract(epoch from '2026-07-27 00:46:34'::timestamp) - extract(epoch from '2026-07-27 00:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47855 -4.17774)'), GeomFromEWKT('SRID=4674;POINT (-37.478541 -4.177741)'))) / (select extract(epoch from '2026-07-27 00:46:34'::timestamp) - extract(epoch from '2026-07-27 00:46: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'), 47415, 'SRID=4674;POINT (-37.478544 -4.177734)', '2026-07-27 00:46:40', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478541 -4.177741)'), GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177734)'))) / (select extract(epoch from '2026-07-27 00:46:40'::timestamp) - extract(epoch from '2026-07-27 00:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478541 -4.177741)'), GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177734)'))) / (select extract(epoch from '2026-07-27 00:46:40'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478542 -4.177732)', '2026-07-27 00:46:56', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177734)'), GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.177732)'))) / (select extract(epoch from '2026-07-27 00:46:56'::timestamp) - extract(epoch from '2026-07-27 00:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177734)'), GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.177732)'))) / (select extract(epoch from '2026-07-27 00:46:56'::timestamp) - extract(epoch from '2026-07-27 00:46: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'), 47415, 'SRID=4674;POINT (-37.478534 -4.177745)', '2026-07-27 00:47:11', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.177732)'), GeomFromEWKT('SRID=4674;POINT (-37.478534 -4.177745)'))) / (select extract(epoch from '2026-07-27 00:47:11'::timestamp) - extract(epoch from '2026-07-27 00:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.177732)'), GeomFromEWKT('SRID=4674;POINT (-37.478534 -4.177745)'))) / (select extract(epoch from '2026-07-27 00:47:11'::timestamp) - extract(epoch from '2026-07-27 00:46: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'), 47415, 'SRID=4674;POINT (-37.478542 -4.177761)', '2026-07-27 00:47:23', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478534 -4.177745)'), GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.177761)'))) / (select extract(epoch from '2026-07-27 00:47:23'::timestamp) - extract(epoch from '2026-07-27 00:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478534 -4.177745)'), GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.177761)'))) / (select extract(epoch from '2026-07-27 00:47:23'::timestamp) - extract(epoch from '2026-07-27 00:47: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'), 47415, 'SRID=4674;POINT (-37.478543 -4.177766)', '2026-07-27 00:47:41', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.177761)'), GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177766)'))) / (select extract(epoch from '2026-07-27 00:47:41'::timestamp) - extract(epoch from '2026-07-27 00:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478542 -4.177761)'), GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177766)'))) / (select extract(epoch from '2026-07-27 00:47:41'::timestamp) - extract(epoch from '2026-07-27 00:47: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'), 47415, 'SRID=4674;POINT (-37.478544 -4.177762)', '2026-07-27 00:47:57', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177762)'))) / (select extract(epoch from '2026-07-27 00:47:57'::timestamp) - extract(epoch from '2026-07-27 00:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478543 -4.177766)'), GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177762)'))) / (select extract(epoch from '2026-07-27 00:47:57'::timestamp) - extract(epoch from '2026-07-27 00:47: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'), 47415, 'SRID=4674;POINT (-37.478548 -4.177755)', '2026-07-27 00:48:05', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177755)'))) / (select extract(epoch from '2026-07-27 00:48:05'::timestamp) - extract(epoch from '2026-07-27 00:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478544 -4.177762)'), GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177755)'))) / (select extract(epoch from '2026-07-27 00:48:05'::timestamp) - extract(epoch from '2026-07-27 00:47: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'), 47415, 'SRID=4674;POINT (-37.478561 -4.177738)', '2026-07-27 00:48:19', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177755)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:48:19'::timestamp) - extract(epoch from '2026-07-27 00:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478548 -4.177755)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177738)'))) / (select extract(epoch from '2026-07-27 00:48:19'::timestamp) - extract(epoch from '2026-07-27 00:48: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'), 47415, 'SRID=4674;POINT (-37.478562 -4.177732)', '2026-07-27 00:48:26', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177732)'))) / (select extract(epoch from '2026-07-27 00:48:26'::timestamp) - extract(epoch from '2026-07-27 00:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177738)'), GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177732)'))) / (select extract(epoch from '2026-07-27 00:48:26'::timestamp) - extract(epoch from '2026-07-27 00:48: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'), 47415, 'SRID=4674;POINT (-37.478559 -4.177732)', '2026-07-27 00:48:35', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177732)'), GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.177732)'))) / (select extract(epoch from '2026-07-27 00:48:35'::timestamp) - extract(epoch from '2026-07-27 00:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478562 -4.177732)'), GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.177732)'))) / (select extract(epoch from '2026-07-27 00:48:35'::timestamp) - extract(epoch from '2026-07-27 00:48: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'), 47415, 'SRID=4674;POINT (-37.478557 -4.177737)', '2026-07-27 00:48:51', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.177732)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177737)'))) / (select extract(epoch from '2026-07-27 00:48:51'::timestamp) - extract(epoch from '2026-07-27 00:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478559 -4.177732)'), GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177737)'))) / (select extract(epoch from '2026-07-27 00:48:51'::timestamp) - extract(epoch from '2026-07-27 00:48: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'), 47415, 'SRID=4674;POINT (-37.478533 -4.177735)', '2026-07-27 00:48:58', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177737)'), GeomFromEWKT('SRID=4674;POINT (-37.478533 -4.177735)'))) / (select extract(epoch from '2026-07-27 00:48:58'::timestamp) - extract(epoch from '2026-07-27 00:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478557 -4.177737)'), GeomFromEWKT('SRID=4674;POINT (-37.478533 -4.177735)'))) / (select extract(epoch from '2026-07-27 00:48:58'::timestamp) - extract(epoch from '2026-07-27 00:48: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'), 47415, 'SRID=4674;POINT (-37.478535 -4.177768)', '2026-07-27 00:50:06', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478533 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.478535 -4.177768)'))) / (select extract(epoch from '2026-07-27 00:50:06'::timestamp) - extract(epoch from '2026-07-27 00:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478533 -4.177735)'), GeomFromEWKT('SRID=4674;POINT (-37.478535 -4.177768)'))) / (select extract(epoch from '2026-07-27 00:50:06'::timestamp) - extract(epoch from '2026-07-27 00:48: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'), 47415, 'SRID=4674;POINT (-37.47853 -4.177751)', '2026-07-27 00:50:21', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478535 -4.177768)'), GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177751)'))) / (select extract(epoch from '2026-07-27 00:50:21'::timestamp) - extract(epoch from '2026-07-27 00:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478535 -4.177768)'), GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177751)'))) / (select extract(epoch from '2026-07-27 00:50:21'::timestamp) - extract(epoch from '2026-07-27 00:50: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'), 47415, 'SRID=4674;POINT (-37.478522 -4.177755)', '2026-07-27 00:50:30', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177751)'), GeomFromEWKT('SRID=4674;POINT (-37.478522 -4.177755)'))) / (select extract(epoch from '2026-07-27 00:50:30'::timestamp) - extract(epoch from '2026-07-27 00:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.47853 -4.177751)'), GeomFromEWKT('SRID=4674;POINT (-37.478522 -4.177755)'))) / (select extract(epoch from '2026-07-27 00:50:30'::timestamp) - extract(epoch from '2026-07-27 00:50: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'), 47415, 'SRID=4674;POINT (-37.478539 -4.177743)', '2026-07-27 00:50:36', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478522 -4.177755)'), GeomFromEWKT('SRID=4674;POINT (-37.478539 -4.177743)'))) / (select extract(epoch from '2026-07-27 00:50:36'::timestamp) - extract(epoch from '2026-07-27 00:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478522 -4.177755)'), GeomFromEWKT('SRID=4674;POINT (-37.478539 -4.177743)'))) / (select extract(epoch from '2026-07-27 00:50:36'::timestamp) - extract(epoch from '2026-07-27 00:50: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'), 47415, 'SRID=4674;POINT (-37.478555 -4.177727)', '2026-07-27 00:50:46', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478539 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.478555 -4.177727)'))) / (select extract(epoch from '2026-07-27 00:50:46'::timestamp) - extract(epoch from '2026-07-27 00:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478539 -4.177743)'), GeomFromEWKT('SRID=4674;POINT (-37.478555 -4.177727)'))) / (select extract(epoch from '2026-07-27 00:50:46'::timestamp) - extract(epoch from '2026-07-27 00:50: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'), 47415, 'SRID=4674;POINT (-37.478554 -4.177715)', '2026-07-27 00:50:59', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478555 -4.177727)'), GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177715)'))) / (select extract(epoch from '2026-07-27 00:50:59'::timestamp) - extract(epoch from '2026-07-27 00:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478555 -4.177727)'), GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177715)'))) / (select extract(epoch from '2026-07-27 00:50:59'::timestamp) - extract(epoch from '2026-07-27 00:50: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'), 47415, 'SRID=4674;POINT (-37.478561 -4.177721)', '2026-07-27 00:51:14', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177715)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177721)'))) / (select extract(epoch from '2026-07-27 00:51:14'::timestamp) - extract(epoch from '2026-07-27 00:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478554 -4.177715)'), GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177721)'))) / (select extract(epoch from '2026-07-27 00:51:14'::timestamp) - extract(epoch from '2026-07-27 00:50: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'), 47415, 'SRID=4674;POINT (-37.478572 -4.177715)', '2026-07-27 00:51:19', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177721)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177715)'))) / (select extract(epoch from '2026-07-27 00:51:19'::timestamp) - extract(epoch from '2026-07-27 00:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478561 -4.177721)'), GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177715)'))) / (select extract(epoch from '2026-07-27 00:51:19'::timestamp) - extract(epoch from '2026-07-27 00:51: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'), 47415, 'SRID=4674;POINT (-37.478587 -4.177689)', '2026-07-27 00:51:45', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177715)'), GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177689)'))) / (select extract(epoch from '2026-07-27 00:51:45'::timestamp) - extract(epoch from '2026-07-27 00:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478572 -4.177715)'), GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177689)'))) / (select extract(epoch from '2026-07-27 00:51:45'::timestamp) - extract(epoch from '2026-07-27 00:51: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'), 47415, 'SRID=4674;POINT (-37.478581 -4.177694)', '2026-07-27 00:51:54', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177689)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177694)'))) / (select extract(epoch from '2026-07-27 00:51:54'::timestamp) - extract(epoch from '2026-07-27 00:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478587 -4.177689)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177694)'))) / (select extract(epoch from '2026-07-27 00:51:54'::timestamp) - extract(epoch from '2026-07-27 00:51: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'), 47415, 'SRID=4674;POINT (-37.478566 -4.177697)', '2026-07-27 00:52:03', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177694)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177697)'))) / (select extract(epoch from '2026-07-27 00:52:03'::timestamp) - extract(epoch from '2026-07-27 00:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177694)'), GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177697)'))) / (select extract(epoch from '2026-07-27 00:52:03'::timestamp) - extract(epoch from '2026-07-27 00:51: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'), 47415, 'SRID=4674;POINT (-37.478568 -4.177676)', '2026-07-27 00:52:11', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177697)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177676)'))) / (select extract(epoch from '2026-07-27 00:52:11'::timestamp) - extract(epoch from '2026-07-27 00:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478566 -4.177697)'), GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177676)'))) / (select extract(epoch from '2026-07-27 00:52:11'::timestamp) - extract(epoch from '2026-07-27 00:52: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'), 47415, 'SRID=4674;POINT (-37.478581 -4.177672)', '2026-07-27 00:52:18', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177676)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177672)'))) / (select extract(epoch from '2026-07-27 00:52:18'::timestamp) - extract(epoch from '2026-07-27 00:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478568 -4.177676)'), GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177672)'))) / (select extract(epoch from '2026-07-27 00:52:18'::timestamp) - extract(epoch from '2026-07-27 00:52: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'), 47415, 'SRID=4674;POINT (-37.478576 -4.177646)', '2026-07-27 00:53:03', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177672)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177646)'))) / (select extract(epoch from '2026-07-27 00:53:03'::timestamp) - extract(epoch from '2026-07-27 00:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478581 -4.177672)'), GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177646)'))) / (select extract(epoch from '2026-07-27 00:53:03'::timestamp) - extract(epoch from '2026-07-27 00:52: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'), 47415, 'SRID=4674;POINT (-37.478569 -4.177652)', '2026-07-27 00:53:15', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177646)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177652)'))) / (select extract(epoch from '2026-07-27 00:53:15'::timestamp) - extract(epoch from '2026-07-27 00:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478576 -4.177646)'), GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177652)'))) / (select extract(epoch from '2026-07-27 00:53:15'::timestamp) - extract(epoch from '2026-07-27 00:53: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'), 47415, 'SRID=4674;POINT (-37.478563 -4.177642)', '2026-07-27 00:53:28', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177652)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177642)'))) / (select extract(epoch from '2026-07-27 00:53:28'::timestamp) - extract(epoch from '2026-07-27 00:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478569 -4.177652)'), GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177642)'))) / (select extract(epoch from '2026-07-27 00:53:28'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.17765)', '2026-07-27 00:53:37', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177642)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17765)'))) / (select extract(epoch from '2026-07-27 00:53:37'::timestamp) - extract(epoch from '2026-07-27 00:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478563 -4.177642)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17765)'))) / (select extract(epoch from '2026-07-27 00:53:37'::timestamp) - extract(epoch from '2026-07-27 00: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'), 47415, 'SRID=4674;POINT (-37.478588 -4.177658)', '2026-07-27 00:53:50', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17765)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177658)'))) / (select extract(epoch from '2026-07-27 00:53:50'::timestamp) - extract(epoch from '2026-07-27 00:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.17765)'), GeomFromEWKT('SRID=4674;POINT (-37.478588 -4.177658)'))) / (select extract(epoch from '2026-07-27 00:53:50'::timestamp) - extract(epoch from '2026-07-27 00:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
