 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03297 -3.377205)', '2026-06-12 19:44:49', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032971 -3.377151)'), GeomFromEWKT('SRID=4674;POINT (-39.03297 -3.377205)'))) / (select extract(epoch from '2026-06-12 19:44:49'::timestamp) - extract(epoch from '2026-06-12 19:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032971 -3.377151)'), GeomFromEWKT('SRID=4674;POINT (-39.03297 -3.377205)'))) / (select extract(epoch from '2026-06-12 19:44:49'::timestamp) - extract(epoch from '2026-06-12 19:44: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'), 46569, 'SRID=4674;POINT (-39.032958 -3.377227)', '2026-06-12 19:44:57', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03297 -3.377205)'), GeomFromEWKT('SRID=4674;POINT (-39.032958 -3.377227)'))) / (select extract(epoch from '2026-06-12 19:44:57'::timestamp) - extract(epoch from '2026-06-12 19:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03297 -3.377205)'), GeomFromEWKT('SRID=4674;POINT (-39.032958 -3.377227)'))) / (select extract(epoch from '2026-06-12 19:44:57'::timestamp) - extract(epoch from '2026-06-12 19:44: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'), 46569, 'SRID=4674;POINT (-39.032913 -3.377245)', '2026-06-12 19:45:08', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032958 -3.377227)'), GeomFromEWKT('SRID=4674;POINT (-39.032913 -3.377245)'))) / (select extract(epoch from '2026-06-12 19:45:08'::timestamp) - extract(epoch from '2026-06-12 19:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032958 -3.377227)'), GeomFromEWKT('SRID=4674;POINT (-39.032913 -3.377245)'))) / (select extract(epoch from '2026-06-12 19:45:08'::timestamp) - extract(epoch from '2026-06-12 19:44: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'), 46569, 'SRID=4674;POINT (-39.032871 -3.377302)', '2026-06-12 19:45:19', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032913 -3.377245)'), GeomFromEWKT('SRID=4674;POINT (-39.032871 -3.377302)'))) / (select extract(epoch from '2026-06-12 19:45:19'::timestamp) - extract(epoch from '2026-06-12 19:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032913 -3.377245)'), GeomFromEWKT('SRID=4674;POINT (-39.032871 -3.377302)'))) / (select extract(epoch from '2026-06-12 19:45:19'::timestamp) - extract(epoch from '2026-06-12 19:45: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'), 46569, 'SRID=4674;POINT (-39.032896 -3.377359)', '2026-06-12 19:45:31', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032871 -3.377302)'), GeomFromEWKT('SRID=4674;POINT (-39.032896 -3.377359)'))) / (select extract(epoch from '2026-06-12 19:45:31'::timestamp) - extract(epoch from '2026-06-12 19:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032871 -3.377302)'), GeomFromEWKT('SRID=4674;POINT (-39.032896 -3.377359)'))) / (select extract(epoch from '2026-06-12 19:45:31'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.032913 -3.377368)', '2026-06-12 19:45:44', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032896 -3.377359)'), GeomFromEWKT('SRID=4674;POINT (-39.032913 -3.377368)'))) / (select extract(epoch from '2026-06-12 19:45:44'::timestamp) - extract(epoch from '2026-06-12 19:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032896 -3.377359)'), GeomFromEWKT('SRID=4674;POINT (-39.032913 -3.377368)'))) / (select extract(epoch from '2026-06-12 19:45:44'::timestamp) - extract(epoch from '2026-06-12 19:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032916 -3.377365)', '2026-06-12 19:45:50', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032913 -3.377368)'), GeomFromEWKT('SRID=4674;POINT (-39.032916 -3.377365)'))) / (select extract(epoch from '2026-06-12 19:45:50'::timestamp) - extract(epoch from '2026-06-12 19:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032913 -3.377368)'), GeomFromEWKT('SRID=4674;POINT (-39.032916 -3.377365)'))) / (select extract(epoch from '2026-06-12 19:45:50'::timestamp) - extract(epoch from '2026-06-12 19:45: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'), 46569, 'SRID=4674;POINT (-39.032902 -3.377337)', '2026-06-12 19:46:00', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032916 -3.377365)'), GeomFromEWKT('SRID=4674;POINT (-39.032902 -3.377337)'))) / (select extract(epoch from '2026-06-12 19:46:00'::timestamp) - extract(epoch from '2026-06-12 19:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032916 -3.377365)'), GeomFromEWKT('SRID=4674;POINT (-39.032902 -3.377337)'))) / (select extract(epoch from '2026-06-12 19:46:00'::timestamp) - extract(epoch from '2026-06-12 19:45: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'), 46569, 'SRID=4674;POINT (-39.032804 -3.377271)', '2026-06-12 19:46:13', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032902 -3.377337)'), GeomFromEWKT('SRID=4674;POINT (-39.032804 -3.377271)'))) / (select extract(epoch from '2026-06-12 19:46:13'::timestamp) - extract(epoch from '2026-06-12 19:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032902 -3.377337)'), GeomFromEWKT('SRID=4674;POINT (-39.032804 -3.377271)'))) / (select extract(epoch from '2026-06-12 19:46:13'::timestamp) - extract(epoch from '2026-06-12 19:46: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'), 46569, 'SRID=4674;POINT (-39.03277 -3.377336)', '2026-06-12 19:46:21', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032804 -3.377271)'), GeomFromEWKT('SRID=4674;POINT (-39.03277 -3.377336)'))) / (select extract(epoch from '2026-06-12 19:46:21'::timestamp) - extract(epoch from '2026-06-12 19:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032804 -3.377271)'), GeomFromEWKT('SRID=4674;POINT (-39.03277 -3.377336)'))) / (select extract(epoch from '2026-06-12 19:46:21'::timestamp) - extract(epoch from '2026-06-12 19:46: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'), 46569, 'SRID=4674;POINT (-39.032783 -3.377506)', '2026-06-12 19:46:33', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03277 -3.377336)'), GeomFromEWKT('SRID=4674;POINT (-39.032783 -3.377506)'))) / (select extract(epoch from '2026-06-12 19:46:33'::timestamp) - extract(epoch from '2026-06-12 19:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03277 -3.377336)'), GeomFromEWKT('SRID=4674;POINT (-39.032783 -3.377506)'))) / (select extract(epoch from '2026-06-12 19:46:33'::timestamp) - extract(epoch from '2026-06-12 19:46: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'), 46569, 'SRID=4674;POINT (-39.032794 -3.3776)', '2026-06-12 19:46:45', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032783 -3.377506)'), GeomFromEWKT('SRID=4674;POINT (-39.032794 -3.3776)'))) / (select extract(epoch from '2026-06-12 19:46:45'::timestamp) - extract(epoch from '2026-06-12 19:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032783 -3.377506)'), GeomFromEWKT('SRID=4674;POINT (-39.032794 -3.3776)'))) / (select extract(epoch from '2026-06-12 19:46:45'::timestamp) - extract(epoch from '2026-06-12 19:46: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'), 46569, 'SRID=4674;POINT (-39.032777 -3.377639)', '2026-06-12 19:46:55', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032794 -3.3776)'), GeomFromEWKT('SRID=4674;POINT (-39.032777 -3.377639)'))) / (select extract(epoch from '2026-06-12 19:46:55'::timestamp) - extract(epoch from '2026-06-12 19:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032794 -3.3776)'), GeomFromEWKT('SRID=4674;POINT (-39.032777 -3.377639)'))) / (select extract(epoch from '2026-06-12 19:46:55'::timestamp) - extract(epoch from '2026-06-12 19:46: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'), 46569, 'SRID=4674;POINT (-39.032744 -3.377679)', '2026-06-12 19:47:06', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032777 -3.377639)'), GeomFromEWKT('SRID=4674;POINT (-39.032744 -3.377679)'))) / (select extract(epoch from '2026-06-12 19:47:06'::timestamp) - extract(epoch from '2026-06-12 19:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032777 -3.377639)'), GeomFromEWKT('SRID=4674;POINT (-39.032744 -3.377679)'))) / (select extract(epoch from '2026-06-12 19:47:06'::timestamp) - extract(epoch from '2026-06-12 19:46: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'), 46569, 'SRID=4674;POINT (-39.032693 -3.377698)', '2026-06-12 19:47:18', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032744 -3.377679)'), GeomFromEWKT('SRID=4674;POINT (-39.032693 -3.377698)'))) / (select extract(epoch from '2026-06-12 19:47:18'::timestamp) - extract(epoch from '2026-06-12 19:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032744 -3.377679)'), GeomFromEWKT('SRID=4674;POINT (-39.032693 -3.377698)'))) / (select extract(epoch from '2026-06-12 19:47:18'::timestamp) - extract(epoch from '2026-06-12 19:47: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'), 46569, 'SRID=4674;POINT (-39.032672 -3.377737)', '2026-06-12 19:47:26', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032693 -3.377698)'), GeomFromEWKT('SRID=4674;POINT (-39.032672 -3.377737)'))) / (select extract(epoch from '2026-06-12 19:47:26'::timestamp) - extract(epoch from '2026-06-12 19:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032693 -3.377698)'), GeomFromEWKT('SRID=4674;POINT (-39.032672 -3.377737)'))) / (select extract(epoch from '2026-06-12 19:47:26'::timestamp) - extract(epoch from '2026-06-12 19:47: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'), 46569, 'SRID=4674;POINT (-39.032597 -3.377767)', '2026-06-12 19:47:33', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032672 -3.377737)'), GeomFromEWKT('SRID=4674;POINT (-39.032597 -3.377767)'))) / (select extract(epoch from '2026-06-12 19:47:33'::timestamp) - extract(epoch from '2026-06-12 19:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032672 -3.377737)'), GeomFromEWKT('SRID=4674;POINT (-39.032597 -3.377767)'))) / (select extract(epoch from '2026-06-12 19:47:33'::timestamp) - extract(epoch from '2026-06-12 19:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032592 -3.377776)', '2026-06-12 19:47:34', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032597 -3.377767)'), GeomFromEWKT('SRID=4674;POINT (-39.032592 -3.377776)'))) / (select extract(epoch from '2026-06-12 19:47:34'::timestamp) - extract(epoch from '2026-06-12 19:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032597 -3.377767)'), GeomFromEWKT('SRID=4674;POINT (-39.032592 -3.377776)'))) / (select extract(epoch from '2026-06-12 19:47:34'::timestamp) - extract(epoch from '2026-06-12 19:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032563 -3.377837)', '2026-06-12 19:47:39', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032592 -3.377776)'), GeomFromEWKT('SRID=4674;POINT (-39.032563 -3.377837)'))) / (select extract(epoch from '2026-06-12 19:47:39'::timestamp) - extract(epoch from '2026-06-12 19:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032592 -3.377776)'), GeomFromEWKT('SRID=4674;POINT (-39.032563 -3.377837)'))) / (select extract(epoch from '2026-06-12 19:47:39'::timestamp) - extract(epoch from '2026-06-12 19:47: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'), 46569, 'SRID=4674;POINT (-39.032522 -3.377937)', '2026-06-12 19:47:45', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032563 -3.377837)'), GeomFromEWKT('SRID=4674;POINT (-39.032522 -3.377937)'))) / (select extract(epoch from '2026-06-12 19:47:45'::timestamp) - extract(epoch from '2026-06-12 19:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032563 -3.377837)'), GeomFromEWKT('SRID=4674;POINT (-39.032522 -3.377937)'))) / (select extract(epoch from '2026-06-12 19:47:45'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.032522 -3.377956)', '2026-06-12 19:47:46', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032522 -3.377937)'), GeomFromEWKT('SRID=4674;POINT (-39.032522 -3.377956)'))) / (select extract(epoch from '2026-06-12 19:47:46'::timestamp) - extract(epoch from '2026-06-12 19:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032522 -3.377937)'), GeomFromEWKT('SRID=4674;POINT (-39.032522 -3.377956)'))) / (select extract(epoch from '2026-06-12 19:47:46'::timestamp) - extract(epoch from '2026-06-12 19:47: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'), 46569, 'SRID=4674;POINT (-39.032495 -3.378057)', '2026-06-12 19:47:51', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032522 -3.377956)'), GeomFromEWKT('SRID=4674;POINT (-39.032495 -3.378057)'))) / (select extract(epoch from '2026-06-12 19:47:51'::timestamp) - extract(epoch from '2026-06-12 19:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032522 -3.377956)'), GeomFromEWKT('SRID=4674;POINT (-39.032495 -3.378057)'))) / (select extract(epoch from '2026-06-12 19:47:51'::timestamp) - extract(epoch from '2026-06-12 19:47: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'), 46569, 'SRID=4674;POINT (-39.03246 -3.378164)', '2026-06-12 19:47:57', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032495 -3.378057)'), GeomFromEWKT('SRID=4674;POINT (-39.03246 -3.378164)'))) / (select extract(epoch from '2026-06-12 19:47:57'::timestamp) - extract(epoch from '2026-06-12 19:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032495 -3.378057)'), GeomFromEWKT('SRID=4674;POINT (-39.03246 -3.378164)'))) / (select extract(epoch from '2026-06-12 19:47:57'::timestamp) - extract(epoch from '2026-06-12 19:47: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'), 46569, 'SRID=4674;POINT (-39.032438 -3.378278)', '2026-06-12 19:48:03', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03246 -3.378164)'), GeomFromEWKT('SRID=4674;POINT (-39.032438 -3.378278)'))) / (select extract(epoch from '2026-06-12 19:48:03'::timestamp) - extract(epoch from '2026-06-12 19:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03246 -3.378164)'), GeomFromEWKT('SRID=4674;POINT (-39.032438 -3.378278)'))) / (select extract(epoch from '2026-06-12 19:48:03'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.032433 -3.378313)', '2026-06-12 19:48:05', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032438 -3.378278)'), GeomFromEWKT('SRID=4674;POINT (-39.032433 -3.378313)'))) / (select extract(epoch from '2026-06-12 19:48:05'::timestamp) - extract(epoch from '2026-06-12 19:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032438 -3.378278)'), GeomFromEWKT('SRID=4674;POINT (-39.032433 -3.378313)'))) / (select extract(epoch from '2026-06-12 19:48:05'::timestamp) - extract(epoch from '2026-06-12 19:48: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'), 46569, 'SRID=4674;POINT (-39.032409 -3.378426)', '2026-06-12 19:48:11', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032433 -3.378313)'), GeomFromEWKT('SRID=4674;POINT (-39.032409 -3.378426)'))) / (select extract(epoch from '2026-06-12 19:48:11'::timestamp) - extract(epoch from '2026-06-12 19:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032433 -3.378313)'), GeomFromEWKT('SRID=4674;POINT (-39.032409 -3.378426)'))) / (select extract(epoch from '2026-06-12 19:48:11'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.032389 -3.378538)', '2026-06-12 19:48:17', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032409 -3.378426)'), GeomFromEWKT('SRID=4674;POINT (-39.032389 -3.378538)'))) / (select extract(epoch from '2026-06-12 19:48:17'::timestamp) - extract(epoch from '2026-06-12 19:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032409 -3.378426)'), GeomFromEWKT('SRID=4674;POINT (-39.032389 -3.378538)'))) / (select extract(epoch from '2026-06-12 19:48:17'::timestamp) - extract(epoch from '2026-06-12 19:48: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'), 46569, 'SRID=4674;POINT (-39.032374 -3.378704)', '2026-06-12 19:48:25', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032389 -3.378538)'), GeomFromEWKT('SRID=4674;POINT (-39.032374 -3.378704)'))) / (select extract(epoch from '2026-06-12 19:48:25'::timestamp) - extract(epoch from '2026-06-12 19:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032389 -3.378538)'), GeomFromEWKT('SRID=4674;POINT (-39.032374 -3.378704)'))) / (select extract(epoch from '2026-06-12 19:48:25'::timestamp) - extract(epoch from '2026-06-12 19:48: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'), 46569, 'SRID=4674;POINT (-39.032343 -3.378823)', '2026-06-12 19:48:32', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032374 -3.378704)'), GeomFromEWKT('SRID=4674;POINT (-39.032343 -3.378823)'))) / (select extract(epoch from '2026-06-12 19:48:32'::timestamp) - extract(epoch from '2026-06-12 19:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032374 -3.378704)'), GeomFromEWKT('SRID=4674;POINT (-39.032343 -3.378823)'))) / (select extract(epoch from '2026-06-12 19:48:32'::timestamp) - extract(epoch from '2026-06-12 19:48: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'), 46569, 'SRID=4674;POINT (-39.032329 -3.378931)', '2026-06-12 19:48:39', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032343 -3.378823)'), GeomFromEWKT('SRID=4674;POINT (-39.032329 -3.378931)'))) / (select extract(epoch from '2026-06-12 19:48:39'::timestamp) - extract(epoch from '2026-06-12 19:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032343 -3.378823)'), GeomFromEWKT('SRID=4674;POINT (-39.032329 -3.378931)'))) / (select extract(epoch from '2026-06-12 19:48:39'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.032318 -3.379049)', '2026-06-12 19:48:45', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032329 -3.378931)'), GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.379049)'))) / (select extract(epoch from '2026-06-12 19:48:45'::timestamp) - extract(epoch from '2026-06-12 19:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032329 -3.378931)'), GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.379049)'))) / (select extract(epoch from '2026-06-12 19:48:45'::timestamp) - extract(epoch from '2026-06-12 19:48: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'), 46569, 'SRID=4674;POINT (-39.032296 -3.379151)', '2026-06-12 19:48:51', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.379049)'), GeomFromEWKT('SRID=4674;POINT (-39.032296 -3.379151)'))) / (select extract(epoch from '2026-06-12 19:48:51'::timestamp) - extract(epoch from '2026-06-12 19:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.379049)'), GeomFromEWKT('SRID=4674;POINT (-39.032296 -3.379151)'))) / (select extract(epoch from '2026-06-12 19:48:51'::timestamp) - extract(epoch from '2026-06-12 19:48: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'), 46569, 'SRID=4674;POINT (-39.032286 -3.379277)', '2026-06-12 19:48:58', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032296 -3.379151)'), GeomFromEWKT('SRID=4674;POINT (-39.032286 -3.379277)'))) / (select extract(epoch from '2026-06-12 19:48:58'::timestamp) - extract(epoch from '2026-06-12 19:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032296 -3.379151)'), GeomFromEWKT('SRID=4674;POINT (-39.032286 -3.379277)'))) / (select extract(epoch from '2026-06-12 19:48:58'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.032261 -3.379387)', '2026-06-12 19:49:05', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032286 -3.379277)'), GeomFromEWKT('SRID=4674;POINT (-39.032261 -3.379387)'))) / (select extract(epoch from '2026-06-12 19:49:05'::timestamp) - extract(epoch from '2026-06-12 19:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032286 -3.379277)'), GeomFromEWKT('SRID=4674;POINT (-39.032261 -3.379387)'))) / (select extract(epoch from '2026-06-12 19:49:05'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.032229 -3.379505)', '2026-06-12 19:49:10', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032261 -3.379387)'), GeomFromEWKT('SRID=4674;POINT (-39.032229 -3.379505)'))) / (select extract(epoch from '2026-06-12 19:49:10'::timestamp) - extract(epoch from '2026-06-12 19:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032261 -3.379387)'), GeomFromEWKT('SRID=4674;POINT (-39.032229 -3.379505)'))) / (select extract(epoch from '2026-06-12 19:49:10'::timestamp) - extract(epoch from '2026-06-12 19:49: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'), 46569, 'SRID=4674;POINT (-39.032172 -3.37956)', '2026-06-12 19:49:12', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032229 -3.379505)'), GeomFromEWKT('SRID=4674;POINT (-39.032172 -3.37956)'))) / (select extract(epoch from '2026-06-12 19:49:12'::timestamp) - extract(epoch from '2026-06-12 19:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032229 -3.379505)'), GeomFromEWKT('SRID=4674;POINT (-39.032172 -3.37956)'))) / (select extract(epoch from '2026-06-12 19:49:12'::timestamp) - extract(epoch from '2026-06-12 19:49: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'), 46569, 'SRID=4674;POINT (-39.032168 -3.379719)', '2026-06-12 19:49:19', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032172 -3.37956)'), GeomFromEWKT('SRID=4674;POINT (-39.032168 -3.379719)'))) / (select extract(epoch from '2026-06-12 19:49:19'::timestamp) - extract(epoch from '2026-06-12 19:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032172 -3.37956)'), GeomFromEWKT('SRID=4674;POINT (-39.032168 -3.379719)'))) / (select extract(epoch from '2026-06-12 19:49:19'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.032215 -3.379844)', '2026-06-12 19:49:25', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032168 -3.379719)'), GeomFromEWKT('SRID=4674;POINT (-39.032215 -3.379844)'))) / (select extract(epoch from '2026-06-12 19:49:25'::timestamp) - extract(epoch from '2026-06-12 19:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032168 -3.379719)'), GeomFromEWKT('SRID=4674;POINT (-39.032215 -3.379844)'))) / (select extract(epoch from '2026-06-12 19:49:25'::timestamp) - extract(epoch from '2026-06-12 19:49: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'), 46569, 'SRID=4674;POINT (-39.032275 -3.379959)', '2026-06-12 19:49:32', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032215 -3.379844)'), GeomFromEWKT('SRID=4674;POINT (-39.032275 -3.379959)'))) / (select extract(epoch from '2026-06-12 19:49:32'::timestamp) - extract(epoch from '2026-06-12 19:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032215 -3.379844)'), GeomFromEWKT('SRID=4674;POINT (-39.032275 -3.379959)'))) / (select extract(epoch from '2026-06-12 19:49:32'::timestamp) - extract(epoch from '2026-06-12 19:49: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'), 46569, 'SRID=4674;POINT (-39.032297 -3.380103)', '2026-06-12 19:49:39', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032275 -3.379959)'), GeomFromEWKT('SRID=4674;POINT (-39.032297 -3.380103)'))) / (select extract(epoch from '2026-06-12 19:49:39'::timestamp) - extract(epoch from '2026-06-12 19:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032275 -3.379959)'), GeomFromEWKT('SRID=4674;POINT (-39.032297 -3.380103)'))) / (select extract(epoch from '2026-06-12 19:49:39'::timestamp) - extract(epoch from '2026-06-12 19:49: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'), 46569, 'SRID=4674;POINT (-39.032322 -3.38022)', '2026-06-12 19:49:45', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032297 -3.380103)'), GeomFromEWKT('SRID=4674;POINT (-39.032322 -3.38022)'))) / (select extract(epoch from '2026-06-12 19:49:45'::timestamp) - extract(epoch from '2026-06-12 19:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032297 -3.380103)'), GeomFromEWKT('SRID=4674;POINT (-39.032322 -3.38022)'))) / (select extract(epoch from '2026-06-12 19:49:45'::timestamp) - extract(epoch from '2026-06-12 19:49: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'), 46569, 'SRID=4674;POINT (-39.032331 -3.380333)', '2026-06-12 19:49:51', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032322 -3.38022)'), GeomFromEWKT('SRID=4674;POINT (-39.032331 -3.380333)'))) / (select extract(epoch from '2026-06-12 19:49:51'::timestamp) - extract(epoch from '2026-06-12 19:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032322 -3.38022)'), GeomFromEWKT('SRID=4674;POINT (-39.032331 -3.380333)'))) / (select extract(epoch from '2026-06-12 19:49:51'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.032322 -3.38048)', '2026-06-12 19:49:58', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032331 -3.380333)'), GeomFromEWKT('SRID=4674;POINT (-39.032322 -3.38048)'))) / (select extract(epoch from '2026-06-12 19:49:58'::timestamp) - extract(epoch from '2026-06-12 19:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032331 -3.380333)'), GeomFromEWKT('SRID=4674;POINT (-39.032322 -3.38048)'))) / (select extract(epoch from '2026-06-12 19:49:58'::timestamp) - extract(epoch from '2026-06-12 19:49: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'), 46569, 'SRID=4674;POINT (-39.032326 -3.380503)', '2026-06-12 19:49:59', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032322 -3.38048)'), GeomFromEWKT('SRID=4674;POINT (-39.032326 -3.380503)'))) / (select extract(epoch from '2026-06-12 19:49:59'::timestamp) - extract(epoch from '2026-06-12 19:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032322 -3.38048)'), GeomFromEWKT('SRID=4674;POINT (-39.032326 -3.380503)'))) / (select extract(epoch from '2026-06-12 19:49:59'::timestamp) - extract(epoch from '2026-06-12 19:49: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'), 46569, 'SRID=4674;POINT (-39.032318 -3.380583)', '2026-06-12 19:50:04', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032326 -3.380503)'), GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.380583)'))) / (select extract(epoch from '2026-06-12 19:50:04'::timestamp) - extract(epoch from '2026-06-12 19:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032326 -3.380503)'), GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.380583)'))) / (select extract(epoch from '2026-06-12 19:50:04'::timestamp) - extract(epoch from '2026-06-12 19:49: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'), 46569, 'SRID=4674;POINT (-39.032282 -3.380709)', '2026-06-12 19:50:11', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.380583)'), GeomFromEWKT('SRID=4674;POINT (-39.032282 -3.380709)'))) / (select extract(epoch from '2026-06-12 19:50:11'::timestamp) - extract(epoch from '2026-06-12 19:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032318 -3.380583)'), GeomFromEWKT('SRID=4674;POINT (-39.032282 -3.380709)'))) / (select extract(epoch from '2026-06-12 19:50:11'::timestamp) - extract(epoch from '2026-06-12 19:50: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'), 46569, 'SRID=4674;POINT (-39.032242 -3.380859)', '2026-06-12 19:50:18', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032282 -3.380709)'), GeomFromEWKT('SRID=4674;POINT (-39.032242 -3.380859)'))) / (select extract(epoch from '2026-06-12 19:50:18'::timestamp) - extract(epoch from '2026-06-12 19:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032282 -3.380709)'), GeomFromEWKT('SRID=4674;POINT (-39.032242 -3.380859)'))) / (select extract(epoch from '2026-06-12 19:50:18'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.032215 -3.381)', '2026-06-12 19:50:27', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032242 -3.380859)'), GeomFromEWKT('SRID=4674;POINT (-39.032215 -3.381)'))) / (select extract(epoch from '2026-06-12 19:50:27'::timestamp) - extract(epoch from '2026-06-12 19:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032242 -3.380859)'), GeomFromEWKT('SRID=4674;POINT (-39.032215 -3.381)'))) / (select extract(epoch from '2026-06-12 19:50:27'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.03221 -3.381105)', '2026-06-12 19:50:34', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032215 -3.381)'), GeomFromEWKT('SRID=4674;POINT (-39.03221 -3.381105)'))) / (select extract(epoch from '2026-06-12 19:50:34'::timestamp) - extract(epoch from '2026-06-12 19:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032215 -3.381)'), GeomFromEWKT('SRID=4674;POINT (-39.03221 -3.381105)'))) / (select extract(epoch from '2026-06-12 19:50:34'::timestamp) - extract(epoch from '2026-06-12 19:50: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'), 46569, 'SRID=4674;POINT (-39.032187 -3.381247)', '2026-06-12 19:50:41', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03221 -3.381105)'), GeomFromEWKT('SRID=4674;POINT (-39.032187 -3.381247)'))) / (select extract(epoch from '2026-06-12 19:50:41'::timestamp) - extract(epoch from '2026-06-12 19:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03221 -3.381105)'), GeomFromEWKT('SRID=4674;POINT (-39.032187 -3.381247)'))) / (select extract(epoch from '2026-06-12 19:50:41'::timestamp) - extract(epoch from '2026-06-12 19:50: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'), 46569, 'SRID=4674;POINT (-39.032164 -3.381377)', '2026-06-12 19:50:47', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032187 -3.381247)'), GeomFromEWKT('SRID=4674;POINT (-39.032164 -3.381377)'))) / (select extract(epoch from '2026-06-12 19:50:47'::timestamp) - extract(epoch from '2026-06-12 19:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032187 -3.381247)'), GeomFromEWKT('SRID=4674;POINT (-39.032164 -3.381377)'))) / (select extract(epoch from '2026-06-12 19:50:47'::timestamp) - extract(epoch from '2026-06-12 19:50: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'), 46569, 'SRID=4674;POINT (-39.03214 -3.381538)', '2026-06-12 19:50:55', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032164 -3.381377)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.381538)'))) / (select extract(epoch from '2026-06-12 19:50:55'::timestamp) - extract(epoch from '2026-06-12 19:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032164 -3.381377)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.381538)'))) / (select extract(epoch from '2026-06-12 19:50:55'::timestamp) - extract(epoch from '2026-06-12 19:50:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032115 -3.381699)', '2026-06-12 19:51:03', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.381538)'), GeomFromEWKT('SRID=4674;POINT (-39.032115 -3.381699)'))) / (select extract(epoch from '2026-06-12 19:51:03'::timestamp) - extract(epoch from '2026-06-12 19:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.381538)'), GeomFromEWKT('SRID=4674;POINT (-39.032115 -3.381699)'))) / (select extract(epoch from '2026-06-12 19:51:03'::timestamp) - extract(epoch from '2026-06-12 19:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032096 -3.381823)', '2026-06-12 19:51:10', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032115 -3.381699)'), GeomFromEWKT('SRID=4674;POINT (-39.032096 -3.381823)'))) / (select extract(epoch from '2026-06-12 19:51:10'::timestamp) - extract(epoch from '2026-06-12 19:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032115 -3.381699)'), GeomFromEWKT('SRID=4674;POINT (-39.032096 -3.381823)'))) / (select extract(epoch from '2026-06-12 19:51:10'::timestamp) - extract(epoch from '2026-06-12 19:51: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'), 46569, 'SRID=4674;POINT (-39.032086 -3.381939)', '2026-06-12 19:51:17', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032096 -3.381823)'), GeomFromEWKT('SRID=4674;POINT (-39.032086 -3.381939)'))) / (select extract(epoch from '2026-06-12 19:51:17'::timestamp) - extract(epoch from '2026-06-12 19:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032096 -3.381823)'), GeomFromEWKT('SRID=4674;POINT (-39.032086 -3.381939)'))) / (select extract(epoch from '2026-06-12 19:51:17'::timestamp) - extract(epoch from '2026-06-12 19:51: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'), 46569, 'SRID=4674;POINT (-39.032092 -3.382061)', '2026-06-12 19:51:24', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032086 -3.381939)'), GeomFromEWKT('SRID=4674;POINT (-39.032092 -3.382061)'))) / (select extract(epoch from '2026-06-12 19:51:24'::timestamp) - extract(epoch from '2026-06-12 19:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032086 -3.381939)'), GeomFromEWKT('SRID=4674;POINT (-39.032092 -3.382061)'))) / (select extract(epoch from '2026-06-12 19:51:24'::timestamp) - extract(epoch from '2026-06-12 19:51: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'), 46569, 'SRID=4674;POINT (-39.032066 -3.3822)', '2026-06-12 19:51:32', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032092 -3.382061)'), GeomFromEWKT('SRID=4674;POINT (-39.032066 -3.3822)'))) / (select extract(epoch from '2026-06-12 19:51:32'::timestamp) - extract(epoch from '2026-06-12 19:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032092 -3.382061)'), GeomFromEWKT('SRID=4674;POINT (-39.032066 -3.3822)'))) / (select extract(epoch from '2026-06-12 19:51:32'::timestamp) - extract(epoch from '2026-06-12 19:51: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'), 46569, 'SRID=4674;POINT (-39.032047 -3.382379)', '2026-06-12 19:51:41', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032066 -3.3822)'), GeomFromEWKT('SRID=4674;POINT (-39.032047 -3.382379)'))) / (select extract(epoch from '2026-06-12 19:51:41'::timestamp) - extract(epoch from '2026-06-12 19:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032066 -3.3822)'), GeomFromEWKT('SRID=4674;POINT (-39.032047 -3.382379)'))) / (select extract(epoch from '2026-06-12 19:51:41'::timestamp) - extract(epoch from '2026-06-12 19:51: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'), 46569, 'SRID=4674;POINT (-39.032028 -3.382514)', '2026-06-12 19:51:49', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032047 -3.382379)'), GeomFromEWKT('SRID=4674;POINT (-39.032028 -3.382514)'))) / (select extract(epoch from '2026-06-12 19:51:49'::timestamp) - extract(epoch from '2026-06-12 19:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032047 -3.382379)'), GeomFromEWKT('SRID=4674;POINT (-39.032028 -3.382514)'))) / (select extract(epoch from '2026-06-12 19:51:49'::timestamp) - extract(epoch from '2026-06-12 19:51: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'), 46569, 'SRID=4674;POINT (-39.03201 -3.382654)', '2026-06-12 19:51:56', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032028 -3.382514)'), GeomFromEWKT('SRID=4674;POINT (-39.03201 -3.382654)'))) / (select extract(epoch from '2026-06-12 19:51:56'::timestamp) - extract(epoch from '2026-06-12 19:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032028 -3.382514)'), GeomFromEWKT('SRID=4674;POINT (-39.03201 -3.382654)'))) / (select extract(epoch from '2026-06-12 19:51:56'::timestamp) - extract(epoch from '2026-06-12 19:51: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'), 46569, 'SRID=4674;POINT (-39.031989 -3.38283)', '2026-06-12 19:52:04', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03201 -3.382654)'), GeomFromEWKT('SRID=4674;POINT (-39.031989 -3.38283)'))) / (select extract(epoch from '2026-06-12 19:52:04'::timestamp) - extract(epoch from '2026-06-12 19:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03201 -3.382654)'), GeomFromEWKT('SRID=4674;POINT (-39.031989 -3.38283)'))) / (select extract(epoch from '2026-06-12 19:52:04'::timestamp) - extract(epoch from '2026-06-12 19:51: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'), 46569, 'SRID=4674;POINT (-39.031959 -3.382994)', '2026-06-12 19:52:11', 31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031989 -3.38283)'), GeomFromEWKT('SRID=4674;POINT (-39.031959 -3.382994)'))) / (select extract(epoch from '2026-06-12 19:52:11'::timestamp) - extract(epoch from '2026-06-12 19:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031989 -3.38283)'), GeomFromEWKT('SRID=4674;POINT (-39.031959 -3.382994)'))) / (select extract(epoch from '2026-06-12 19:52:11'::timestamp) - extract(epoch from '2026-06-12 19:52: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'), 46569, 'SRID=4674;POINT (-39.031941 -3.383112)', '2026-06-12 19:52:18', 32.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031959 -3.382994)'), GeomFromEWKT('SRID=4674;POINT (-39.031941 -3.383112)'))) / (select extract(epoch from '2026-06-12 19:52:18'::timestamp) - extract(epoch from '2026-06-12 19:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031959 -3.382994)'), GeomFromEWKT('SRID=4674;POINT (-39.031941 -3.383112)'))) / (select extract(epoch from '2026-06-12 19:52:18'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.031947 -3.383149)', '2026-06-12 19:52:20', 32.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031941 -3.383112)'), GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383149)'))) / (select extract(epoch from '2026-06-12 19:52:20'::timestamp) - extract(epoch from '2026-06-12 19:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031941 -3.383112)'), GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383149)'))) / (select extract(epoch from '2026-06-12 19:52:20'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.031947 -3.383202)', '2026-06-12 19:52:23', 33, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383149)'), GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383202)'))) / (select extract(epoch from '2026-06-12 19:52:23'::timestamp) - extract(epoch from '2026-06-12 19:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383149)'), GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383202)'))) / (select extract(epoch from '2026-06-12 19:52:23'::timestamp) - extract(epoch from '2026-06-12 19:52: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'), 46569, 'SRID=4674;POINT (-39.031947 -3.383332)', '2026-06-12 19:52:30', 34, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383202)'), GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383332)'))) / (select extract(epoch from '2026-06-12 19:52:30'::timestamp) - extract(epoch from '2026-06-12 19:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383202)'), GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383332)'))) / (select extract(epoch from '2026-06-12 19:52:30'::timestamp) - extract(epoch from '2026-06-12 19:52: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'), 46569, 'SRID=4674;POINT (-39.031965 -3.383439)', '2026-06-12 19:52:37', 34.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383332)'), GeomFromEWKT('SRID=4674;POINT (-39.031965 -3.383439)'))) / (select extract(epoch from '2026-06-12 19:52:37'::timestamp) - extract(epoch from '2026-06-12 19:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031947 -3.383332)'), GeomFromEWKT('SRID=4674;POINT (-39.031965 -3.383439)'))) / (select extract(epoch from '2026-06-12 19:52:37'::timestamp) - extract(epoch from '2026-06-12 19:52: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'), 46569, 'SRID=4674;POINT (-39.031949 -3.383563)', '2026-06-12 19:52:44', 34.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031965 -3.383439)'), GeomFromEWKT('SRID=4674;POINT (-39.031949 -3.383563)'))) / (select extract(epoch from '2026-06-12 19:52:44'::timestamp) - extract(epoch from '2026-06-12 19:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031965 -3.383439)'), GeomFromEWKT('SRID=4674;POINT (-39.031949 -3.383563)'))) / (select extract(epoch from '2026-06-12 19:52:44'::timestamp) - extract(epoch from '2026-06-12 19:52: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'), 46569, 'SRID=4674;POINT (-39.03193 -3.383738)', '2026-06-12 19:52:53', 35.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031949 -3.383563)'), GeomFromEWKT('SRID=4674;POINT (-39.03193 -3.383738)'))) / (select extract(epoch from '2026-06-12 19:52:53'::timestamp) - extract(epoch from '2026-06-12 19:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031949 -3.383563)'), GeomFromEWKT('SRID=4674;POINT (-39.03193 -3.383738)'))) / (select extract(epoch from '2026-06-12 19:52:53'::timestamp) - extract(epoch from '2026-06-12 19:52: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'), 46569, 'SRID=4674;POINT (-39.031967 -3.383919)', '2026-06-12 19:53:01', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03193 -3.383738)'), GeomFromEWKT('SRID=4674;POINT (-39.031967 -3.383919)'))) / (select extract(epoch from '2026-06-12 19:53:01'::timestamp) - extract(epoch from '2026-06-12 19:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03193 -3.383738)'), GeomFromEWKT('SRID=4674;POINT (-39.031967 -3.383919)'))) / (select extract(epoch from '2026-06-12 19:53:01'::timestamp) - extract(epoch from '2026-06-12 19:52: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'), 46569, 'SRID=4674;POINT (-39.031997 -3.38404)', '2026-06-12 19:53:08', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031967 -3.383919)'), GeomFromEWKT('SRID=4674;POINT (-39.031997 -3.38404)'))) / (select extract(epoch from '2026-06-12 19:53:08'::timestamp) - extract(epoch from '2026-06-12 19:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031967 -3.383919)'), GeomFromEWKT('SRID=4674;POINT (-39.031997 -3.38404)'))) / (select extract(epoch from '2026-06-12 19:53:08'::timestamp) - extract(epoch from '2026-06-12 19:53: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'), 46569, 'SRID=4674;POINT (-39.031971 -3.384192)', '2026-06-12 19:53:16', 36.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031997 -3.38404)'), GeomFromEWKT('SRID=4674;POINT (-39.031971 -3.384192)'))) / (select extract(epoch from '2026-06-12 19:53:16'::timestamp) - extract(epoch from '2026-06-12 19:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031997 -3.38404)'), GeomFromEWKT('SRID=4674;POINT (-39.031971 -3.384192)'))) / (select extract(epoch from '2026-06-12 19:53:16'::timestamp) - extract(epoch from '2026-06-12 19:53: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'), 46569, 'SRID=4674;POINT (-39.031919 -3.384386)', '2026-06-12 19:53:24', 37.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031971 -3.384192)'), GeomFromEWKT('SRID=4674;POINT (-39.031919 -3.384386)'))) / (select extract(epoch from '2026-06-12 19:53:24'::timestamp) - extract(epoch from '2026-06-12 19:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031971 -3.384192)'), GeomFromEWKT('SRID=4674;POINT (-39.031919 -3.384386)'))) / (select extract(epoch from '2026-06-12 19:53:24'::timestamp) - extract(epoch from '2026-06-12 19:53: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'), 46569, 'SRID=4674;POINT (-39.03191 -3.384474)', '2026-06-12 19:53:30', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031919 -3.384386)'), GeomFromEWKT('SRID=4674;POINT (-39.03191 -3.384474)'))) / (select extract(epoch from '2026-06-12 19:53:30'::timestamp) - extract(epoch from '2026-06-12 19:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031919 -3.384386)'), GeomFromEWKT('SRID=4674;POINT (-39.03191 -3.384474)'))) / (select extract(epoch from '2026-06-12 19:53:30'::timestamp) - extract(epoch from '2026-06-12 19:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031891 -3.38462)', '2026-06-12 19:53:38', 39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03191 -3.384474)'), GeomFromEWKT('SRID=4674;POINT (-39.031891 -3.38462)'))) / (select extract(epoch from '2026-06-12 19:53:38'::timestamp) - extract(epoch from '2026-06-12 19:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03191 -3.384474)'), GeomFromEWKT('SRID=4674;POINT (-39.031891 -3.38462)'))) / (select extract(epoch from '2026-06-12 19:53:38'::timestamp) - extract(epoch from '2026-06-12 19:53: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'), 46569, 'SRID=4674;POINT (-39.031866 -3.384756)', '2026-06-12 19:53:45', 39.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031891 -3.38462)'), GeomFromEWKT('SRID=4674;POINT (-39.031866 -3.384756)'))) / (select extract(epoch from '2026-06-12 19:53:45'::timestamp) - extract(epoch from '2026-06-12 19:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031891 -3.38462)'), GeomFromEWKT('SRID=4674;POINT (-39.031866 -3.384756)'))) / (select extract(epoch from '2026-06-12 19:53:45'::timestamp) - extract(epoch from '2026-06-12 19:53: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'), 46569, 'SRID=4674;POINT (-39.031859 -3.384894)', '2026-06-12 19:53:52', 40.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031866 -3.384756)'), GeomFromEWKT('SRID=4674;POINT (-39.031859 -3.384894)'))) / (select extract(epoch from '2026-06-12 19:53:52'::timestamp) - extract(epoch from '2026-06-12 19:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031866 -3.384756)'), GeomFromEWKT('SRID=4674;POINT (-39.031859 -3.384894)'))) / (select extract(epoch from '2026-06-12 19:53:52'::timestamp) - extract(epoch from '2026-06-12 19:53: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'), 46569, 'SRID=4674;POINT (-39.031866 -3.385004)', '2026-06-12 19:53:59', 41.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031859 -3.384894)'), GeomFromEWKT('SRID=4674;POINT (-39.031866 -3.385004)'))) / (select extract(epoch from '2026-06-12 19:53:59'::timestamp) - extract(epoch from '2026-06-12 19:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031859 -3.384894)'), GeomFromEWKT('SRID=4674;POINT (-39.031866 -3.385004)'))) / (select extract(epoch from '2026-06-12 19:53:59'::timestamp) - extract(epoch from '2026-06-12 19:53: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'), 46569, 'SRID=4674;POINT (-39.031877 -3.385177)', '2026-06-12 19:54:08', 41.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031866 -3.385004)'), GeomFromEWKT('SRID=4674;POINT (-39.031877 -3.385177)'))) / (select extract(epoch from '2026-06-12 19:54:08'::timestamp) - extract(epoch from '2026-06-12 19:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031866 -3.385004)'), GeomFromEWKT('SRID=4674;POINT (-39.031877 -3.385177)'))) / (select extract(epoch from '2026-06-12 19:54:08'::timestamp) - extract(epoch from '2026-06-12 19:53:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031868 -3.385335)', '2026-06-12 19:54:16', 42.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031877 -3.385177)'), GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.385335)'))) / (select extract(epoch from '2026-06-12 19:54:16'::timestamp) - extract(epoch from '2026-06-12 19:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031877 -3.385177)'), GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.385335)'))) / (select extract(epoch from '2026-06-12 19:54:16'::timestamp) - extract(epoch from '2026-06-12 19:54: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'), 46569, 'SRID=4674;POINT (-39.031872 -3.385471)', '2026-06-12 19:54:24', 42.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.385335)'), GeomFromEWKT('SRID=4674;POINT (-39.031872 -3.385471)'))) / (select extract(epoch from '2026-06-12 19:54:24'::timestamp) - extract(epoch from '2026-06-12 19:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.385335)'), GeomFromEWKT('SRID=4674;POINT (-39.031872 -3.385471)'))) / (select extract(epoch from '2026-06-12 19:54:24'::timestamp) - extract(epoch from '2026-06-12 19:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031851 -3.385665)', '2026-06-12 19:54:33', 41.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031872 -3.385471)'), GeomFromEWKT('SRID=4674;POINT (-39.031851 -3.385665)'))) / (select extract(epoch from '2026-06-12 19:54:33'::timestamp) - extract(epoch from '2026-06-12 19:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031872 -3.385471)'), GeomFromEWKT('SRID=4674;POINT (-39.031851 -3.385665)'))) / (select extract(epoch from '2026-06-12 19:54:33'::timestamp) - extract(epoch from '2026-06-12 19:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031815 -3.38583)', '2026-06-12 19:54:40', 41.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031851 -3.385665)'), GeomFromEWKT('SRID=4674;POINT (-39.031815 -3.38583)'))) / (select extract(epoch from '2026-06-12 19:54:40'::timestamp) - extract(epoch from '2026-06-12 19:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031851 -3.385665)'), GeomFromEWKT('SRID=4674;POINT (-39.031815 -3.38583)'))) / (select extract(epoch from '2026-06-12 19:54:40'::timestamp) - extract(epoch from '2026-06-12 19:54: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'), 46569, 'SRID=4674;POINT (-39.031826 -3.385947)', '2026-06-12 19:54:47', 41.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031815 -3.38583)'), GeomFromEWKT('SRID=4674;POINT (-39.031826 -3.385947)'))) / (select extract(epoch from '2026-06-12 19:54:47'::timestamp) - extract(epoch from '2026-06-12 19:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031815 -3.38583)'), GeomFromEWKT('SRID=4674;POINT (-39.031826 -3.385947)'))) / (select extract(epoch from '2026-06-12 19:54:47'::timestamp) - extract(epoch from '2026-06-12 19:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031824 -3.386089)', '2026-06-12 19:54:56', 42.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031826 -3.385947)'), GeomFromEWKT('SRID=4674;POINT (-39.031824 -3.386089)'))) / (select extract(epoch from '2026-06-12 19:54:56'::timestamp) - extract(epoch from '2026-06-12 19:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031826 -3.385947)'), GeomFromEWKT('SRID=4674;POINT (-39.031824 -3.386089)'))) / (select extract(epoch from '2026-06-12 19:54:56'::timestamp) - extract(epoch from '2026-06-12 19:54: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'), 46569, 'SRID=4674;POINT (-39.031776 -3.386246)', '2026-06-12 19:55:04', 43, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031824 -3.386089)'), GeomFromEWKT('SRID=4674;POINT (-39.031776 -3.386246)'))) / (select extract(epoch from '2026-06-12 19:55:04'::timestamp) - extract(epoch from '2026-06-12 19:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031824 -3.386089)'), GeomFromEWKT('SRID=4674;POINT (-39.031776 -3.386246)'))) / (select extract(epoch from '2026-06-12 19:55:04'::timestamp) - extract(epoch from '2026-06-12 19:54: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'), 46569, 'SRID=4674;POINT (-39.031697 -3.386402)', '2026-06-12 19:55:11', 44.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031776 -3.386246)'), GeomFromEWKT('SRID=4674;POINT (-39.031697 -3.386402)'))) / (select extract(epoch from '2026-06-12 19:55:11'::timestamp) - extract(epoch from '2026-06-12 19:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031776 -3.386246)'), GeomFromEWKT('SRID=4674;POINT (-39.031697 -3.386402)'))) / (select extract(epoch from '2026-06-12 19:55:11'::timestamp) - extract(epoch from '2026-06-12 19:55: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'), 46569, 'SRID=4674;POINT (-39.031668 -3.386561)', '2026-06-12 19:55:19', 45, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031697 -3.386402)'), GeomFromEWKT('SRID=4674;POINT (-39.031668 -3.386561)'))) / (select extract(epoch from '2026-06-12 19:55:19'::timestamp) - extract(epoch from '2026-06-12 19:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031697 -3.386402)'), GeomFromEWKT('SRID=4674;POINT (-39.031668 -3.386561)'))) / (select extract(epoch from '2026-06-12 19:55:19'::timestamp) - extract(epoch from '2026-06-12 19:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031662 -3.386677)', '2026-06-12 19:55:26', 45.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031668 -3.386561)'), GeomFromEWKT('SRID=4674;POINT (-39.031662 -3.386677)'))) / (select extract(epoch from '2026-06-12 19:55:26'::timestamp) - extract(epoch from '2026-06-12 19:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031668 -3.386561)'), GeomFromEWKT('SRID=4674;POINT (-39.031662 -3.386677)'))) / (select extract(epoch from '2026-06-12 19:55:26'::timestamp) - extract(epoch from '2026-06-12 19:55: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'), 46569, 'SRID=4674;POINT (-39.03167 -3.38681)', '2026-06-12 19:55:34', 46.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031662 -3.386677)'), GeomFromEWKT('SRID=4674;POINT (-39.03167 -3.38681)'))) / (select extract(epoch from '2026-06-12 19:55:34'::timestamp) - extract(epoch from '2026-06-12 19:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031662 -3.386677)'), GeomFromEWKT('SRID=4674;POINT (-39.03167 -3.38681)'))) / (select extract(epoch from '2026-06-12 19:55:34'::timestamp) - extract(epoch from '2026-06-12 19:55: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'), 46569, 'SRID=4674;POINT (-39.031666 -3.386974)', '2026-06-12 19:55:42', 47.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03167 -3.38681)'), GeomFromEWKT('SRID=4674;POINT (-39.031666 -3.386974)'))) / (select extract(epoch from '2026-06-12 19:55:42'::timestamp) - extract(epoch from '2026-06-12 19:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03167 -3.38681)'), GeomFromEWKT('SRID=4674;POINT (-39.031666 -3.386974)'))) / (select extract(epoch from '2026-06-12 19:55:42'::timestamp) - extract(epoch from '2026-06-12 19:55: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'), 46569, 'SRID=4674;POINT (-39.031669 -3.387136)', '2026-06-12 19:55:50', 48.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031666 -3.386974)'), GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.387136)'))) / (select extract(epoch from '2026-06-12 19:55:50'::timestamp) - extract(epoch from '2026-06-12 19:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031666 -3.386974)'), GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.387136)'))) / (select extract(epoch from '2026-06-12 19:55:50'::timestamp) - extract(epoch from '2026-06-12 19:55: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'), 46569, 'SRID=4674;POINT (-39.031672 -3.387264)', '2026-06-12 19:55:56', 48.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.387136)'), GeomFromEWKT('SRID=4674;POINT (-39.031672 -3.387264)'))) / (select extract(epoch from '2026-06-12 19:55:56'::timestamp) - extract(epoch from '2026-06-12 19:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.387136)'), GeomFromEWKT('SRID=4674;POINT (-39.031672 -3.387264)'))) / (select extract(epoch from '2026-06-12 19:55:56'::timestamp) - extract(epoch from '2026-06-12 19:55: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'), 46569, 'SRID=4674;POINT (-39.03168 -3.387378)', '2026-06-12 19:56:02', 49, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031672 -3.387264)'), GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.387378)'))) / (select extract(epoch from '2026-06-12 19:56:02'::timestamp) - extract(epoch from '2026-06-12 19:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031672 -3.387264)'), GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.387378)'))) / (select extract(epoch from '2026-06-12 19:56:02'::timestamp) - extract(epoch from '2026-06-12 19:55: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'), 46569, 'SRID=4674;POINT (-39.031673 -3.387529)', '2026-06-12 19:56:10', 49.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.387378)'), GeomFromEWKT('SRID=4674;POINT (-39.031673 -3.387529)'))) / (select extract(epoch from '2026-06-12 19:56:10'::timestamp) - extract(epoch from '2026-06-12 19:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.387378)'), GeomFromEWKT('SRID=4674;POINT (-39.031673 -3.387529)'))) / (select extract(epoch from '2026-06-12 19:56:10'::timestamp) - extract(epoch from '2026-06-12 19:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031586 -3.387702)', '2026-06-12 19:56:18', 51.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031673 -3.387529)'), GeomFromEWKT('SRID=4674;POINT (-39.031586 -3.387702)'))) / (select extract(epoch from '2026-06-12 19:56:18'::timestamp) - extract(epoch from '2026-06-12 19:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031673 -3.387529)'), GeomFromEWKT('SRID=4674;POINT (-39.031586 -3.387702)'))) / (select extract(epoch from '2026-06-12 19:56:18'::timestamp) - extract(epoch from '2026-06-12 19:56: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'), 46569, 'SRID=4674;POINT (-39.031566 -3.387861)', '2026-06-12 19:56:25', 53.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031586 -3.387702)'), GeomFromEWKT('SRID=4674;POINT (-39.031566 -3.387861)'))) / (select extract(epoch from '2026-06-12 19:56:25'::timestamp) - extract(epoch from '2026-06-12 19:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031586 -3.387702)'), GeomFromEWKT('SRID=4674;POINT (-39.031566 -3.387861)'))) / (select extract(epoch from '2026-06-12 19:56:25'::timestamp) - extract(epoch from '2026-06-12 19:56: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'), 46569, 'SRID=4674;POINT (-39.031524 -3.387979)', '2026-06-12 19:56:31', 54.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031566 -3.387861)'), GeomFromEWKT('SRID=4674;POINT (-39.031524 -3.387979)'))) / (select extract(epoch from '2026-06-12 19:56:31'::timestamp) - extract(epoch from '2026-06-12 19:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031566 -3.387861)'), GeomFromEWKT('SRID=4674;POINT (-39.031524 -3.387979)'))) / (select extract(epoch from '2026-06-12 19:56:31'::timestamp) - extract(epoch from '2026-06-12 19:56: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'), 46569, 'SRID=4674;POINT (-39.031502 -3.388117)', '2026-06-12 19:56:38', 57, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031524 -3.387979)'), GeomFromEWKT('SRID=4674;POINT (-39.031502 -3.388117)'))) / (select extract(epoch from '2026-06-12 19:56:38'::timestamp) - extract(epoch from '2026-06-12 19:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031524 -3.387979)'), GeomFromEWKT('SRID=4674;POINT (-39.031502 -3.388117)'))) / (select extract(epoch from '2026-06-12 19:56:38'::timestamp) - extract(epoch from '2026-06-12 19:56: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'), 46569, 'SRID=4674;POINT (-39.031487 -3.388252)', '2026-06-12 19:56:45', 59.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031502 -3.388117)'), GeomFromEWKT('SRID=4674;POINT (-39.031487 -3.388252)'))) / (select extract(epoch from '2026-06-12 19:56:45'::timestamp) - extract(epoch from '2026-06-12 19:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031502 -3.388117)'), GeomFromEWKT('SRID=4674;POINT (-39.031487 -3.388252)'))) / (select extract(epoch from '2026-06-12 19:56:45'::timestamp) - extract(epoch from '2026-06-12 19:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031473 -3.388375)', '2026-06-12 19:56:52', 61.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031487 -3.388252)'), GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.388375)'))) / (select extract(epoch from '2026-06-12 19:56:52'::timestamp) - extract(epoch from '2026-06-12 19:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031487 -3.388252)'), GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.388375)'))) / (select extract(epoch from '2026-06-12 19:56:52'::timestamp) - extract(epoch from '2026-06-12 19:56: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'), 46569, 'SRID=4674;POINT (-39.031451 -3.388529)', '2026-06-12 19:56:59', 63.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.388375)'), GeomFromEWKT('SRID=4674;POINT (-39.031451 -3.388529)'))) / (select extract(epoch from '2026-06-12 19:56:59'::timestamp) - extract(epoch from '2026-06-12 19:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.388375)'), GeomFromEWKT('SRID=4674;POINT (-39.031451 -3.388529)'))) / (select extract(epoch from '2026-06-12 19:56:59'::timestamp) - extract(epoch from '2026-06-12 19:56: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'), 46569, 'SRID=4674;POINT (-39.031421 -3.388702)', '2026-06-12 19:57:07', 66.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031451 -3.388529)'), GeomFromEWKT('SRID=4674;POINT (-39.031421 -3.388702)'))) / (select extract(epoch from '2026-06-12 19:57:07'::timestamp) - extract(epoch from '2026-06-12 19:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031451 -3.388529)'), GeomFromEWKT('SRID=4674;POINT (-39.031421 -3.388702)'))) / (select extract(epoch from '2026-06-12 19:57:07'::timestamp) - extract(epoch from '2026-06-12 19:56: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'), 46569, 'SRID=4674;POINT (-39.031381 -3.388873)', '2026-06-12 19:57:15', 69.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031421 -3.388702)'), GeomFromEWKT('SRID=4674;POINT (-39.031381 -3.388873)'))) / (select extract(epoch from '2026-06-12 19:57:15'::timestamp) - extract(epoch from '2026-06-12 19:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031421 -3.388702)'), GeomFromEWKT('SRID=4674;POINT (-39.031381 -3.388873)'))) / (select extract(epoch from '2026-06-12 19:57:15'::timestamp) - extract(epoch from '2026-06-12 19:57: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'), 46569, 'SRID=4674;POINT (-39.031368 -3.388993)', '2026-06-12 19:57:21', 71.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031381 -3.388873)'), GeomFromEWKT('SRID=4674;POINT (-39.031368 -3.388993)'))) / (select extract(epoch from '2026-06-12 19:57:21'::timestamp) - extract(epoch from '2026-06-12 19:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031381 -3.388873)'), GeomFromEWKT('SRID=4674;POINT (-39.031368 -3.388993)'))) / (select extract(epoch from '2026-06-12 19:57:21'::timestamp) - extract(epoch from '2026-06-12 19:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031342 -3.389109)', '2026-06-12 19:57:27', 73.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031368 -3.388993)'), GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.389109)'))) / (select extract(epoch from '2026-06-12 19:57:27'::timestamp) - extract(epoch from '2026-06-12 19:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031368 -3.388993)'), GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.389109)'))) / (select extract(epoch from '2026-06-12 19:57:27'::timestamp) - extract(epoch from '2026-06-12 19:57: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'), 46569, 'SRID=4674;POINT (-39.031337 -3.389251)', '2026-06-12 19:57:35', 74.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.389109)'), GeomFromEWKT('SRID=4674;POINT (-39.031337 -3.389251)'))) / (select extract(epoch from '2026-06-12 19:57:35'::timestamp) - extract(epoch from '2026-06-12 19:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.389109)'), GeomFromEWKT('SRID=4674;POINT (-39.031337 -3.389251)'))) / (select extract(epoch from '2026-06-12 19:57:35'::timestamp) - extract(epoch from '2026-06-12 19:57: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'), 46569, 'SRID=4674;POINT (-39.031327 -3.389391)', '2026-06-12 19:57:42', 75.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031337 -3.389251)'), GeomFromEWKT('SRID=4674;POINT (-39.031327 -3.389391)'))) / (select extract(epoch from '2026-06-12 19:57:42'::timestamp) - extract(epoch from '2026-06-12 19:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031337 -3.389251)'), GeomFromEWKT('SRID=4674;POINT (-39.031327 -3.389391)'))) / (select extract(epoch from '2026-06-12 19:57:42'::timestamp) - extract(epoch from '2026-06-12 19:57: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'), 46569, 'SRID=4674;POINT (-39.031324 -3.389521)', '2026-06-12 19:57:49', 75.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031327 -3.389391)'), GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.389521)'))) / (select extract(epoch from '2026-06-12 19:57:49'::timestamp) - extract(epoch from '2026-06-12 19:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031327 -3.389391)'), GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.389521)'))) / (select extract(epoch from '2026-06-12 19:57:49'::timestamp) - extract(epoch from '2026-06-12 19:57: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'), 46569, 'SRID=4674;POINT (-39.031309 -3.389623)', '2026-06-12 19:57:55', 76, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.389521)'), GeomFromEWKT('SRID=4674;POINT (-39.031309 -3.389623)'))) / (select extract(epoch from '2026-06-12 19:57:55'::timestamp) - extract(epoch from '2026-06-12 19:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.389521)'), GeomFromEWKT('SRID=4674;POINT (-39.031309 -3.389623)'))) / (select extract(epoch from '2026-06-12 19:57:55'::timestamp) - extract(epoch from '2026-06-12 19:57: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'), 46569, 'SRID=4674;POINT (-39.031307 -3.389751)', '2026-06-12 19:58:02', 76.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031309 -3.389623)'), GeomFromEWKT('SRID=4674;POINT (-39.031307 -3.389751)'))) / (select extract(epoch from '2026-06-12 19:58:02'::timestamp) - extract(epoch from '2026-06-12 19:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031309 -3.389623)'), GeomFromEWKT('SRID=4674;POINT (-39.031307 -3.389751)'))) / (select extract(epoch from '2026-06-12 19:58:02'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.031304 -3.389867)', '2026-06-12 19:58:08', 77.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031307 -3.389751)'), GeomFromEWKT('SRID=4674;POINT (-39.031304 -3.389867)'))) / (select extract(epoch from '2026-06-12 19:58:08'::timestamp) - extract(epoch from '2026-06-12 19:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031307 -3.389751)'), GeomFromEWKT('SRID=4674;POINT (-39.031304 -3.389867)'))) / (select extract(epoch from '2026-06-12 19:58:08'::timestamp) - extract(epoch from '2026-06-12 19:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031287 -3.390018)', '2026-06-12 19:58:15', 78.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031304 -3.389867)'), GeomFromEWKT('SRID=4674;POINT (-39.031287 -3.390018)'))) / (select extract(epoch from '2026-06-12 19:58:15'::timestamp) - extract(epoch from '2026-06-12 19:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031304 -3.389867)'), GeomFromEWKT('SRID=4674;POINT (-39.031287 -3.390018)'))) / (select extract(epoch from '2026-06-12 19:58:15'::timestamp) - extract(epoch from '2026-06-12 19:58: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'), 46569, 'SRID=4674;POINT (-39.031295 -3.390126)', '2026-06-12 19:58:21', 79.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031287 -3.390018)'), GeomFromEWKT('SRID=4674;POINT (-39.031295 -3.390126)'))) / (select extract(epoch from '2026-06-12 19:58:21'::timestamp) - extract(epoch from '2026-06-12 19:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031287 -3.390018)'), GeomFromEWKT('SRID=4674;POINT (-39.031295 -3.390126)'))) / (select extract(epoch from '2026-06-12 19:58:21'::timestamp) - extract(epoch from '2026-06-12 19:58: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'), 46569, 'SRID=4674;POINT (-39.0313 -3.390261)', '2026-06-12 19:58:29', 79.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031295 -3.390126)'), GeomFromEWKT('SRID=4674;POINT (-39.0313 -3.390261)'))) / (select extract(epoch from '2026-06-12 19:58:29'::timestamp) - extract(epoch from '2026-06-12 19:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031295 -3.390126)'), GeomFromEWKT('SRID=4674;POINT (-39.0313 -3.390261)'))) / (select extract(epoch from '2026-06-12 19:58:29'::timestamp) - extract(epoch from '2026-06-12 19:58: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'), 46569, 'SRID=4674;POINT (-39.031293 -3.390376)', '2026-06-12 19:58:35', 80.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0313 -3.390261)'), GeomFromEWKT('SRID=4674;POINT (-39.031293 -3.390376)'))) / (select extract(epoch from '2026-06-12 19:58:35'::timestamp) - extract(epoch from '2026-06-12 19:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0313 -3.390261)'), GeomFromEWKT('SRID=4674;POINT (-39.031293 -3.390376)'))) / (select extract(epoch from '2026-06-12 19:58:35'::timestamp) - extract(epoch from '2026-06-12 19:58: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'), 46569, 'SRID=4674;POINT (-39.031311 -3.390519)', '2026-06-12 19:58:44', 81, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031293 -3.390376)'), GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.390519)'))) / (select extract(epoch from '2026-06-12 19:58:44'::timestamp) - extract(epoch from '2026-06-12 19:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031293 -3.390376)'), GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.390519)'))) / (select extract(epoch from '2026-06-12 19:58:44'::timestamp) - extract(epoch from '2026-06-12 19:58: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'), 46569, 'SRID=4674;POINT (-39.031296 -3.390658)', '2026-06-12 19:58:53', 81.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.390519)'), GeomFromEWKT('SRID=4674;POINT (-39.031296 -3.390658)'))) / (select extract(epoch from '2026-06-12 19:58:53'::timestamp) - extract(epoch from '2026-06-12 19:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.390519)'), GeomFromEWKT('SRID=4674;POINT (-39.031296 -3.390658)'))) / (select extract(epoch from '2026-06-12 19:58:53'::timestamp) - extract(epoch from '2026-06-12 19:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031235 -3.39082)', '2026-06-12 19:59:01', 81.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031296 -3.390658)'), GeomFromEWKT('SRID=4674;POINT (-39.031235 -3.39082)'))) / (select extract(epoch from '2026-06-12 19:59:01'::timestamp) - extract(epoch from '2026-06-12 19:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031296 -3.390658)'), GeomFromEWKT('SRID=4674;POINT (-39.031235 -3.39082)'))) / (select extract(epoch from '2026-06-12 19:59:01'::timestamp) - extract(epoch from '2026-06-12 19: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'), 46569, 'SRID=4674;POINT (-39.031229 -3.391013)', '2026-06-12 19:59:11', 81.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031235 -3.39082)'), GeomFromEWKT('SRID=4674;POINT (-39.031229 -3.391013)'))) / (select extract(epoch from '2026-06-12 19:59:11'::timestamp) - extract(epoch from '2026-06-12 19:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031235 -3.39082)'), GeomFromEWKT('SRID=4674;POINT (-39.031229 -3.391013)'))) / (select extract(epoch from '2026-06-12 19:59:11'::timestamp) - extract(epoch from '2026-06-12 19:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031195 -3.39111)', '2026-06-12 19:59:17', 81.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031229 -3.391013)'), GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.39111)'))) / (select extract(epoch from '2026-06-12 19:59:17'::timestamp) - extract(epoch from '2026-06-12 19:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031229 -3.391013)'), GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.39111)'))) / (select extract(epoch from '2026-06-12 19:59:17'::timestamp) - extract(epoch from '2026-06-12 19:59: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'), 46569, 'SRID=4674;POINT (-39.031153 -3.391289)', '2026-06-12 19:59:25', 81.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.39111)'), GeomFromEWKT('SRID=4674;POINT (-39.031153 -3.391289)'))) / (select extract(epoch from '2026-06-12 19:59:25'::timestamp) - extract(epoch from '2026-06-12 19:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.39111)'), GeomFromEWKT('SRID=4674;POINT (-39.031153 -3.391289)'))) / (select extract(epoch from '2026-06-12 19:59:25'::timestamp) - extract(epoch from '2026-06-12 19:59: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'), 46569, 'SRID=4674;POINT (-39.031152 -3.391447)', '2026-06-12 19:59:32', 82.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031153 -3.391289)'), GeomFromEWKT('SRID=4674;POINT (-39.031152 -3.391447)'))) / (select extract(epoch from '2026-06-12 19:59:32'::timestamp) - extract(epoch from '2026-06-12 19:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031153 -3.391289)'), GeomFromEWKT('SRID=4674;POINT (-39.031152 -3.391447)'))) / (select extract(epoch from '2026-06-12 19:59:32'::timestamp) - extract(epoch from '2026-06-12 19:59: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'), 46569, 'SRID=4674;POINT (-39.031147 -3.391613)', '2026-06-12 19:59:39', 82.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031152 -3.391447)'), GeomFromEWKT('SRID=4674;POINT (-39.031147 -3.391613)'))) / (select extract(epoch from '2026-06-12 19:59:39'::timestamp) - extract(epoch from '2026-06-12 19:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031152 -3.391447)'), GeomFromEWKT('SRID=4674;POINT (-39.031147 -3.391613)'))) / (select extract(epoch from '2026-06-12 19:59:39'::timestamp) - extract(epoch from '2026-06-12 19:59: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'), 46569, 'SRID=4674;POINT (-39.031142 -3.391784)', '2026-06-12 19:59:47', 83.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031147 -3.391613)'), GeomFromEWKT('SRID=4674;POINT (-39.031142 -3.391784)'))) / (select extract(epoch from '2026-06-12 19:59:47'::timestamp) - extract(epoch from '2026-06-12 19:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031147 -3.391613)'), GeomFromEWKT('SRID=4674;POINT (-39.031142 -3.391784)'))) / (select extract(epoch from '2026-06-12 19:59:47'::timestamp) - extract(epoch from '2026-06-12 19:59: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'), 46569, 'SRID=4674;POINT (-39.031143 -3.391939)', '2026-06-12 19:59:55', 83.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031142 -3.391784)'), GeomFromEWKT('SRID=4674;POINT (-39.031143 -3.391939)'))) / (select extract(epoch from '2026-06-12 19:59:55'::timestamp) - extract(epoch from '2026-06-12 19:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031142 -3.391784)'), GeomFromEWKT('SRID=4674;POINT (-39.031143 -3.391939)'))) / (select extract(epoch from '2026-06-12 19:59:55'::timestamp) - extract(epoch from '2026-06-12 19:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031157 -3.392059)', '2026-06-12 20:00:01', 83.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031143 -3.391939)'), GeomFromEWKT('SRID=4674;POINT (-39.031157 -3.392059)'))) / (select extract(epoch from '2026-06-12 20:00:01'::timestamp) - extract(epoch from '2026-06-12 19:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031143 -3.391939)'), GeomFromEWKT('SRID=4674;POINT (-39.031157 -3.392059)'))) / (select extract(epoch from '2026-06-12 20:00:01'::timestamp) - extract(epoch from '2026-06-12 19:59: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'), 46569, 'SRID=4674;POINT (-39.031146 -3.392194)', '2026-06-12 20:00:08', 84.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031157 -3.392059)'), GeomFromEWKT('SRID=4674;POINT (-39.031146 -3.392194)'))) / (select extract(epoch from '2026-06-12 20:00:08'::timestamp) - extract(epoch from '2026-06-12 20:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031157 -3.392059)'), GeomFromEWKT('SRID=4674;POINT (-39.031146 -3.392194)'))) / (select extract(epoch from '2026-06-12 20:00:08'::timestamp) - extract(epoch from '2026-06-12 20:00: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'), 46569, 'SRID=4674;POINT (-39.031151 -3.392371)', '2026-06-12 20:00:17', 84.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031146 -3.392194)'), GeomFromEWKT('SRID=4674;POINT (-39.031151 -3.392371)'))) / (select extract(epoch from '2026-06-12 20:00:17'::timestamp) - extract(epoch from '2026-06-12 20:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031146 -3.392194)'), GeomFromEWKT('SRID=4674;POINT (-39.031151 -3.392371)'))) / (select extract(epoch from '2026-06-12 20:00:17'::timestamp) - extract(epoch from '2026-06-12 20:00: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'), 46569, 'SRID=4674;POINT (-39.031132 -3.392494)', '2026-06-12 20:00:23', 84.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031151 -3.392371)'), GeomFromEWKT('SRID=4674;POINT (-39.031132 -3.392494)'))) / (select extract(epoch from '2026-06-12 20:00:23'::timestamp) - extract(epoch from '2026-06-12 20:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031151 -3.392371)'), GeomFromEWKT('SRID=4674;POINT (-39.031132 -3.392494)'))) / (select extract(epoch from '2026-06-12 20:00:23'::timestamp) - extract(epoch from '2026-06-12 20: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'), 46569, 'SRID=4674;POINT (-39.031122 -3.392617)', '2026-06-12 20:00:30', 84.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031132 -3.392494)'), GeomFromEWKT('SRID=4674;POINT (-39.031122 -3.392617)'))) / (select extract(epoch from '2026-06-12 20:00:30'::timestamp) - extract(epoch from '2026-06-12 20:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031132 -3.392494)'), GeomFromEWKT('SRID=4674;POINT (-39.031122 -3.392617)'))) / (select extract(epoch from '2026-06-12 20:00:30'::timestamp) - extract(epoch from '2026-06-12 20:00: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'), 46569, 'SRID=4674;POINT (-39.031115 -3.392745)', '2026-06-12 20:00:36', 84.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031122 -3.392617)'), GeomFromEWKT('SRID=4674;POINT (-39.031115 -3.392745)'))) / (select extract(epoch from '2026-06-12 20:00:36'::timestamp) - extract(epoch from '2026-06-12 20:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031122 -3.392617)'), GeomFromEWKT('SRID=4674;POINT (-39.031115 -3.392745)'))) / (select extract(epoch from '2026-06-12 20:00:36'::timestamp) - extract(epoch from '2026-06-12 20:00: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'), 46569, 'SRID=4674;POINT (-39.031097 -3.392917)', '2026-06-12 20:00:43', 85.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031115 -3.392745)'), GeomFromEWKT('SRID=4674;POINT (-39.031097 -3.392917)'))) / (select extract(epoch from '2026-06-12 20:00:43'::timestamp) - extract(epoch from '2026-06-12 20:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031115 -3.392745)'), GeomFromEWKT('SRID=4674;POINT (-39.031097 -3.392917)'))) / (select extract(epoch from '2026-06-12 20:00:43'::timestamp) - extract(epoch from '2026-06-12 20: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'), 46569, 'SRID=4674;POINT (-39.03107 -3.393072)', '2026-06-12 20:00:50', 85, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031097 -3.392917)'), GeomFromEWKT('SRID=4674;POINT (-39.03107 -3.393072)'))) / (select extract(epoch from '2026-06-12 20:00:50'::timestamp) - extract(epoch from '2026-06-12 20:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031097 -3.392917)'), GeomFromEWKT('SRID=4674;POINT (-39.03107 -3.393072)'))) / (select extract(epoch from '2026-06-12 20:00:50'::timestamp) - extract(epoch from '2026-06-12 20:00: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'), 46569, 'SRID=4674;POINT (-39.031077 -3.393217)', '2026-06-12 20:00:57', 85.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03107 -3.393072)'), GeomFromEWKT('SRID=4674;POINT (-39.031077 -3.393217)'))) / (select extract(epoch from '2026-06-12 20:00:57'::timestamp) - extract(epoch from '2026-06-12 20:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03107 -3.393072)'), GeomFromEWKT('SRID=4674;POINT (-39.031077 -3.393217)'))) / (select extract(epoch from '2026-06-12 20:00:57'::timestamp) - extract(epoch from '2026-06-12 20:00:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031062 -3.393373)', '2026-06-12 20:01:05', 84.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031077 -3.393217)'), GeomFromEWKT('SRID=4674;POINT (-39.031062 -3.393373)'))) / (select extract(epoch from '2026-06-12 20:01:05'::timestamp) - extract(epoch from '2026-06-12 20:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031077 -3.393217)'), GeomFromEWKT('SRID=4674;POINT (-39.031062 -3.393373)'))) / (select extract(epoch from '2026-06-12 20:01:05'::timestamp) - extract(epoch from '2026-06-12 20:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031029 -3.393547)', '2026-06-12 20:01:13', 84.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031062 -3.393373)'), GeomFromEWKT('SRID=4674;POINT (-39.031029 -3.393547)'))) / (select extract(epoch from '2026-06-12 20:01:13'::timestamp) - extract(epoch from '2026-06-12 20:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031062 -3.393373)'), GeomFromEWKT('SRID=4674;POINT (-39.031029 -3.393547)'))) / (select extract(epoch from '2026-06-12 20:01:13'::timestamp) - extract(epoch from '2026-06-12 20:01: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'), 46569, 'SRID=4674;POINT (-39.03101 -3.393676)', '2026-06-12 20:01:19', 84.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031029 -3.393547)'), GeomFromEWKT('SRID=4674;POINT (-39.03101 -3.393676)'))) / (select extract(epoch from '2026-06-12 20:01:19'::timestamp) - extract(epoch from '2026-06-12 20:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031029 -3.393547)'), GeomFromEWKT('SRID=4674;POINT (-39.03101 -3.393676)'))) / (select extract(epoch from '2026-06-12 20:01:19'::timestamp) - extract(epoch from '2026-06-12 20:01: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'), 46569, 'SRID=4674;POINT (-39.031011 -3.393819)', '2026-06-12 20:01:27', 84.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03101 -3.393676)'), GeomFromEWKT('SRID=4674;POINT (-39.031011 -3.393819)'))) / (select extract(epoch from '2026-06-12 20:01:27'::timestamp) - extract(epoch from '2026-06-12 20:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03101 -3.393676)'), GeomFromEWKT('SRID=4674;POINT (-39.031011 -3.393819)'))) / (select extract(epoch from '2026-06-12 20:01:27'::timestamp) - extract(epoch from '2026-06-12 20:01: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'), 46569, 'SRID=4674;POINT (-39.031031 -3.393941)', '2026-06-12 20:01:33', 84, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031011 -3.393819)'), GeomFromEWKT('SRID=4674;POINT (-39.031031 -3.393941)'))) / (select extract(epoch from '2026-06-12 20:01:33'::timestamp) - extract(epoch from '2026-06-12 20:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031011 -3.393819)'), GeomFromEWKT('SRID=4674;POINT (-39.031031 -3.393941)'))) / (select extract(epoch from '2026-06-12 20:01:33'::timestamp) - extract(epoch from '2026-06-12 20:01: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'), 46569, 'SRID=4674;POINT (-39.031064 -3.394058)', '2026-06-12 20:01:39', 83.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031031 -3.393941)'), GeomFromEWKT('SRID=4674;POINT (-39.031064 -3.394058)'))) / (select extract(epoch from '2026-06-12 20:01:39'::timestamp) - extract(epoch from '2026-06-12 20:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031031 -3.393941)'), GeomFromEWKT('SRID=4674;POINT (-39.031064 -3.394058)'))) / (select extract(epoch from '2026-06-12 20:01:39'::timestamp) - extract(epoch from '2026-06-12 20:01: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'), 46569, 'SRID=4674;POINT (-39.031082 -3.394177)', '2026-06-12 20:01:45', 83.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031064 -3.394058)'), GeomFromEWKT('SRID=4674;POINT (-39.031082 -3.394177)'))) / (select extract(epoch from '2026-06-12 20:01:45'::timestamp) - extract(epoch from '2026-06-12 20:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031064 -3.394058)'), GeomFromEWKT('SRID=4674;POINT (-39.031082 -3.394177)'))) / (select extract(epoch from '2026-06-12 20:01:45'::timestamp) - extract(epoch from '2026-06-12 20:01: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'), 46569, 'SRID=4674;POINT (-39.031081 -3.394306)', '2026-06-12 20:01:51', 83.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031082 -3.394177)'), GeomFromEWKT('SRID=4674;POINT (-39.031081 -3.394306)'))) / (select extract(epoch from '2026-06-12 20:01:51'::timestamp) - extract(epoch from '2026-06-12 20:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031082 -3.394177)'), GeomFromEWKT('SRID=4674;POINT (-39.031081 -3.394306)'))) / (select extract(epoch from '2026-06-12 20:01:51'::timestamp) - extract(epoch from '2026-06-12 20:01: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'), 46569, 'SRID=4674;POINT (-39.031024 -3.394487)', '2026-06-12 20:01:59', 82.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031081 -3.394306)'), GeomFromEWKT('SRID=4674;POINT (-39.031024 -3.394487)'))) / (select extract(epoch from '2026-06-12 20:01:59'::timestamp) - extract(epoch from '2026-06-12 20:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031081 -3.394306)'), GeomFromEWKT('SRID=4674;POINT (-39.031024 -3.394487)'))) / (select extract(epoch from '2026-06-12 20:01:59'::timestamp) - extract(epoch from '2026-06-12 20:01: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'), 46569, 'SRID=4674;POINT (-39.030968 -3.394628)', '2026-06-12 20:02:05', 82.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031024 -3.394487)'), GeomFromEWKT('SRID=4674;POINT (-39.030968 -3.394628)'))) / (select extract(epoch from '2026-06-12 20:02:05'::timestamp) - extract(epoch from '2026-06-12 20:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031024 -3.394487)'), GeomFromEWKT('SRID=4674;POINT (-39.030968 -3.394628)'))) / (select extract(epoch from '2026-06-12 20:02:05'::timestamp) - extract(epoch from '2026-06-12 20: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'), 46569, 'SRID=4674;POINT (-39.030936 -3.394762)', '2026-06-12 20:02:12', 80.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030968 -3.394628)'), GeomFromEWKT('SRID=4674;POINT (-39.030936 -3.394762)'))) / (select extract(epoch from '2026-06-12 20:02:12'::timestamp) - extract(epoch from '2026-06-12 20:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030968 -3.394628)'), GeomFromEWKT('SRID=4674;POINT (-39.030936 -3.394762)'))) / (select extract(epoch from '2026-06-12 20:02:12'::timestamp) - extract(epoch from '2026-06-12 20:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030914 -3.394932)', '2026-06-12 20:02:19', 79.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030936 -3.394762)'), GeomFromEWKT('SRID=4674;POINT (-39.030914 -3.394932)'))) / (select extract(epoch from '2026-06-12 20:02:19'::timestamp) - extract(epoch from '2026-06-12 20:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030936 -3.394762)'), GeomFromEWKT('SRID=4674;POINT (-39.030914 -3.394932)'))) / (select extract(epoch from '2026-06-12 20:02:19'::timestamp) - extract(epoch from '2026-06-12 20:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030914 -3.395063)', '2026-06-12 20:02:25', 78.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030914 -3.394932)'), GeomFromEWKT('SRID=4674;POINT (-39.030914 -3.395063)'))) / (select extract(epoch from '2026-06-12 20:02:25'::timestamp) - extract(epoch from '2026-06-12 20:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030914 -3.394932)'), GeomFromEWKT('SRID=4674;POINT (-39.030914 -3.395063)'))) / (select extract(epoch from '2026-06-12 20:02:25'::timestamp) - extract(epoch from '2026-06-12 20:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030912 -3.39519)', '2026-06-12 20:02:31', 77.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030914 -3.395063)'), GeomFromEWKT('SRID=4674;POINT (-39.030912 -3.39519)'))) / (select extract(epoch from '2026-06-12 20:02:31'::timestamp) - extract(epoch from '2026-06-12 20:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030914 -3.395063)'), GeomFromEWKT('SRID=4674;POINT (-39.030912 -3.39519)'))) / (select extract(epoch from '2026-06-12 20:02:31'::timestamp) - extract(epoch from '2026-06-12 20: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'), 46569, 'SRID=4674;POINT (-39.030893 -3.395346)', '2026-06-12 20:02:39', 76.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030912 -3.39519)'), GeomFromEWKT('SRID=4674;POINT (-39.030893 -3.395346)'))) / (select extract(epoch from '2026-06-12 20:02:39'::timestamp) - extract(epoch from '2026-06-12 20:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030912 -3.39519)'), GeomFromEWKT('SRID=4674;POINT (-39.030893 -3.395346)'))) / (select extract(epoch from '2026-06-12 20:02:39'::timestamp) - extract(epoch from '2026-06-12 20:02:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030879 -3.395453)', '2026-06-12 20:02:45', 76.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030893 -3.395346)'), GeomFromEWKT('SRID=4674;POINT (-39.030879 -3.395453)'))) / (select extract(epoch from '2026-06-12 20:02:45'::timestamp) - extract(epoch from '2026-06-12 20:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030893 -3.395346)'), GeomFromEWKT('SRID=4674;POINT (-39.030879 -3.395453)'))) / (select extract(epoch from '2026-06-12 20:02:45'::timestamp) - extract(epoch from '2026-06-12 20:02: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'), 46569, 'SRID=4674;POINT (-39.030864 -3.395581)', '2026-06-12 20:02:51', 76, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030879 -3.395453)'), GeomFromEWKT('SRID=4674;POINT (-39.030864 -3.395581)'))) / (select extract(epoch from '2026-06-12 20:02:51'::timestamp) - extract(epoch from '2026-06-12 20:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030879 -3.395453)'), GeomFromEWKT('SRID=4674;POINT (-39.030864 -3.395581)'))) / (select extract(epoch from '2026-06-12 20:02:51'::timestamp) - extract(epoch from '2026-06-12 20:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030862 -3.395731)', '2026-06-12 20:02:58', 75.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030864 -3.395581)'), GeomFromEWKT('SRID=4674;POINT (-39.030862 -3.395731)'))) / (select extract(epoch from '2026-06-12 20:02:58'::timestamp) - extract(epoch from '2026-06-12 20:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030864 -3.395581)'), GeomFromEWKT('SRID=4674;POINT (-39.030862 -3.395731)'))) / (select extract(epoch from '2026-06-12 20:02:58'::timestamp) - extract(epoch from '2026-06-12 20: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'), 46569, 'SRID=4674;POINT (-39.030869 -3.395844)', '2026-06-12 20:03:04', 74.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030862 -3.395731)'), GeomFromEWKT('SRID=4674;POINT (-39.030869 -3.395844)'))) / (select extract(epoch from '2026-06-12 20:03:04'::timestamp) - extract(epoch from '2026-06-12 20:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030862 -3.395731)'), GeomFromEWKT('SRID=4674;POINT (-39.030869 -3.395844)'))) / (select extract(epoch from '2026-06-12 20:03:04'::timestamp) - extract(epoch from '2026-06-12 20:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030871 -3.395952)', '2026-06-12 20:03:09', 74.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030869 -3.395844)'), GeomFromEWKT('SRID=4674;POINT (-39.030871 -3.395952)'))) / (select extract(epoch from '2026-06-12 20:03:09'::timestamp) - extract(epoch from '2026-06-12 20:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030869 -3.395844)'), GeomFromEWKT('SRID=4674;POINT (-39.030871 -3.395952)'))) / (select extract(epoch from '2026-06-12 20:03:09'::timestamp) - extract(epoch from '2026-06-12 20:03: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'), 46569, 'SRID=4674;POINT (-39.030833 -3.396146)', '2026-06-12 20:03:18', 73.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030871 -3.395952)'), GeomFromEWKT('SRID=4674;POINT (-39.030833 -3.396146)'))) / (select extract(epoch from '2026-06-12 20:03:18'::timestamp) - extract(epoch from '2026-06-12 20:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030871 -3.395952)'), GeomFromEWKT('SRID=4674;POINT (-39.030833 -3.396146)'))) / (select extract(epoch from '2026-06-12 20:03:18'::timestamp) - extract(epoch from '2026-06-12 20:03: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'), 46569, 'SRID=4674;POINT (-39.030802 -3.396349)', '2026-06-12 20:03:27', 72.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030833 -3.396146)'), GeomFromEWKT('SRID=4674;POINT (-39.030802 -3.396349)'))) / (select extract(epoch from '2026-06-12 20:03:27'::timestamp) - extract(epoch from '2026-06-12 20:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030833 -3.396146)'), GeomFromEWKT('SRID=4674;POINT (-39.030802 -3.396349)'))) / (select extract(epoch from '2026-06-12 20:03:27'::timestamp) - extract(epoch from '2026-06-12 20:03: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'), 46569, 'SRID=4674;POINT (-39.030784 -3.396504)', '2026-06-12 20:03:34', 72.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030802 -3.396349)'), GeomFromEWKT('SRID=4674;POINT (-39.030784 -3.396504)'))) / (select extract(epoch from '2026-06-12 20:03:34'::timestamp) - extract(epoch from '2026-06-12 20:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030802 -3.396349)'), GeomFromEWKT('SRID=4674;POINT (-39.030784 -3.396504)'))) / (select extract(epoch from '2026-06-12 20:03:34'::timestamp) - extract(epoch from '2026-06-12 20:03: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'), 46569, 'SRID=4674;POINT (-39.030755 -3.396681)', '2026-06-12 20:03:42', 73.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030784 -3.396504)'), GeomFromEWKT('SRID=4674;POINT (-39.030755 -3.396681)'))) / (select extract(epoch from '2026-06-12 20:03:42'::timestamp) - extract(epoch from '2026-06-12 20:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030784 -3.396504)'), GeomFromEWKT('SRID=4674;POINT (-39.030755 -3.396681)'))) / (select extract(epoch from '2026-06-12 20:03:42'::timestamp) - extract(epoch from '2026-06-12 20:03: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'), 46569, 'SRID=4674;POINT (-39.030734 -3.396835)', '2026-06-12 20:03:49', 73.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030755 -3.396681)'), GeomFromEWKT('SRID=4674;POINT (-39.030734 -3.396835)'))) / (select extract(epoch from '2026-06-12 20:03:49'::timestamp) - extract(epoch from '2026-06-12 20:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030755 -3.396681)'), GeomFromEWKT('SRID=4674;POINT (-39.030734 -3.396835)'))) / (select extract(epoch from '2026-06-12 20:03:49'::timestamp) - extract(epoch from '2026-06-12 20:03: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'), 46569, 'SRID=4674;POINT (-39.03074 -3.396977)', '2026-06-12 20:03:56', 73.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030734 -3.396835)'), GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.396977)'))) / (select extract(epoch from '2026-06-12 20:03:56'::timestamp) - extract(epoch from '2026-06-12 20:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030734 -3.396835)'), GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.396977)'))) / (select extract(epoch from '2026-06-12 20:03:56'::timestamp) - extract(epoch from '2026-06-12 20:03: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'), 46569, 'SRID=4674;POINT (-39.030729 -3.397154)', '2026-06-12 20:04:04', 74.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.396977)'), GeomFromEWKT('SRID=4674;POINT (-39.030729 -3.397154)'))) / (select extract(epoch from '2026-06-12 20:04:04'::timestamp) - extract(epoch from '2026-06-12 20:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.396977)'), GeomFromEWKT('SRID=4674;POINT (-39.030729 -3.397154)'))) / (select extract(epoch from '2026-06-12 20:04:04'::timestamp) - extract(epoch from '2026-06-12 20:03: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'), 46569, 'SRID=4674;POINT (-39.030709 -3.397306)', '2026-06-12 20:04:12', 74.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030729 -3.397154)'), GeomFromEWKT('SRID=4674;POINT (-39.030709 -3.397306)'))) / (select extract(epoch from '2026-06-12 20:04:12'::timestamp) - extract(epoch from '2026-06-12 20:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030729 -3.397154)'), GeomFromEWKT('SRID=4674;POINT (-39.030709 -3.397306)'))) / (select extract(epoch from '2026-06-12 20:04:12'::timestamp) - extract(epoch from '2026-06-12 20:04: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'), 46569, 'SRID=4674;POINT (-39.030687 -3.397464)', '2026-06-12 20:04:19', 74.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030709 -3.397306)'), GeomFromEWKT('SRID=4674;POINT (-39.030687 -3.397464)'))) / (select extract(epoch from '2026-06-12 20:04:19'::timestamp) - extract(epoch from '2026-06-12 20:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030709 -3.397306)'), GeomFromEWKT('SRID=4674;POINT (-39.030687 -3.397464)'))) / (select extract(epoch from '2026-06-12 20:04:19'::timestamp) - extract(epoch from '2026-06-12 20: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'), 46569, 'SRID=4674;POINT (-39.030669 -3.39763)', '2026-06-12 20:04:27', 75.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030687 -3.397464)'), GeomFromEWKT('SRID=4674;POINT (-39.030669 -3.39763)'))) / (select extract(epoch from '2026-06-12 20:04:27'::timestamp) - extract(epoch from '2026-06-12 20:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030687 -3.397464)'), GeomFromEWKT('SRID=4674;POINT (-39.030669 -3.39763)'))) / (select extract(epoch from '2026-06-12 20:04:27'::timestamp) - extract(epoch from '2026-06-12 20:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030653 -3.397809)', '2026-06-12 20:04:34', 75.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030669 -3.39763)'), GeomFromEWKT('SRID=4674;POINT (-39.030653 -3.397809)'))) / (select extract(epoch from '2026-06-12 20:04:34'::timestamp) - extract(epoch from '2026-06-12 20:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030669 -3.39763)'), GeomFromEWKT('SRID=4674;POINT (-39.030653 -3.397809)'))) / (select extract(epoch from '2026-06-12 20:04:34'::timestamp) - extract(epoch from '2026-06-12 20:04: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'), 46569, 'SRID=4674;POINT (-39.030625 -3.398033)', '2026-06-12 20:04:44', 76, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030653 -3.397809)'), GeomFromEWKT('SRID=4674;POINT (-39.030625 -3.398033)'))) / (select extract(epoch from '2026-06-12 20:04:44'::timestamp) - extract(epoch from '2026-06-12 20:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030653 -3.397809)'), GeomFromEWKT('SRID=4674;POINT (-39.030625 -3.398033)'))) / (select extract(epoch from '2026-06-12 20:04:44'::timestamp) - extract(epoch from '2026-06-12 20:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030604 -3.398202)', '2026-06-12 20:04:51', 77.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030625 -3.398033)'), GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.398202)'))) / (select extract(epoch from '2026-06-12 20:04:51'::timestamp) - extract(epoch from '2026-06-12 20:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030625 -3.398033)'), GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.398202)'))) / (select extract(epoch from '2026-06-12 20:04:51'::timestamp) - extract(epoch from '2026-06-12 20:04: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'), 46569, 'SRID=4674;POINT (-39.030585 -3.39834)', '2026-06-12 20:04:58', 78, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.398202)'), GeomFromEWKT('SRID=4674;POINT (-39.030585 -3.39834)'))) / (select extract(epoch from '2026-06-12 20:04:58'::timestamp) - extract(epoch from '2026-06-12 20:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.398202)'), GeomFromEWKT('SRID=4674;POINT (-39.030585 -3.39834)'))) / (select extract(epoch from '2026-06-12 20:04:58'::timestamp) - extract(epoch from '2026-06-12 20:04: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'), 46569, 'SRID=4674;POINT (-39.030572 -3.39849)', '2026-06-12 20:05:05', 78.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030585 -3.39834)'), GeomFromEWKT('SRID=4674;POINT (-39.030572 -3.39849)'))) / (select extract(epoch from '2026-06-12 20:05:05'::timestamp) - extract(epoch from '2026-06-12 20:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030585 -3.39834)'), GeomFromEWKT('SRID=4674;POINT (-39.030572 -3.39849)'))) / (select extract(epoch from '2026-06-12 20:05:05'::timestamp) - extract(epoch from '2026-06-12 20:04: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'), 46569, 'SRID=4674;POINT (-39.03055 -3.398632)', '2026-06-12 20:05:11', 79.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030572 -3.39849)'), GeomFromEWKT('SRID=4674;POINT (-39.03055 -3.398632)'))) / (select extract(epoch from '2026-06-12 20:05:11'::timestamp) - extract(epoch from '2026-06-12 20:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030572 -3.39849)'), GeomFromEWKT('SRID=4674;POINT (-39.03055 -3.398632)'))) / (select extract(epoch from '2026-06-12 20:05:11'::timestamp) - extract(epoch from '2026-06-12 20:05: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'), 46569, 'SRID=4674;POINT (-39.030559 -3.398805)', '2026-06-12 20:05:19', 80.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03055 -3.398632)'), GeomFromEWKT('SRID=4674;POINT (-39.030559 -3.398805)'))) / (select extract(epoch from '2026-06-12 20:05:19'::timestamp) - extract(epoch from '2026-06-12 20:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03055 -3.398632)'), GeomFromEWKT('SRID=4674;POINT (-39.030559 -3.398805)'))) / (select extract(epoch from '2026-06-12 20:05:19'::timestamp) - extract(epoch from '2026-06-12 20:05: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'), 46569, 'SRID=4674;POINT (-39.030555 -3.398973)', '2026-06-12 20:05:27', 81.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030559 -3.398805)'), GeomFromEWKT('SRID=4674;POINT (-39.030555 -3.398973)'))) / (select extract(epoch from '2026-06-12 20:05:27'::timestamp) - extract(epoch from '2026-06-12 20:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030559 -3.398805)'), GeomFromEWKT('SRID=4674;POINT (-39.030555 -3.398973)'))) / (select extract(epoch from '2026-06-12 20:05:27'::timestamp) - extract(epoch from '2026-06-12 20: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'), 46569, 'SRID=4674;POINT (-39.030548 -3.399193)', '2026-06-12 20:05:37', 81.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030555 -3.398973)'), GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.399193)'))) / (select extract(epoch from '2026-06-12 20:05:37'::timestamp) - extract(epoch from '2026-06-12 20:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030555 -3.398973)'), GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.399193)'))) / (select extract(epoch from '2026-06-12 20:05:37'::timestamp) - extract(epoch from '2026-06-12 20:05: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'), 46569, 'SRID=4674;POINT (-39.030537 -3.399342)', '2026-06-12 20:05:44', 82.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.399193)'), GeomFromEWKT('SRID=4674;POINT (-39.030537 -3.399342)'))) / (select extract(epoch from '2026-06-12 20:05:44'::timestamp) - extract(epoch from '2026-06-12 20:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.399193)'), GeomFromEWKT('SRID=4674;POINT (-39.030537 -3.399342)'))) / (select extract(epoch from '2026-06-12 20:05:44'::timestamp) - extract(epoch from '2026-06-12 20:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
