 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138087 -3.12326)', '2026-07-10 16:25:22', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12326)'))) / (select extract(epoch from '2026-07-10 16:25:22'::timestamp) - extract(epoch from '2026-07-10 16:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12326)'))) / (select extract(epoch from '2026-07-10 16:25:22'::timestamp) - extract(epoch from '2026-07-10 16:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138085 -3.123264)', '2026-07-10 16:25:34', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:25:34'::timestamp) - extract(epoch from '2026-07-10 16:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:25:34'::timestamp) - extract(epoch from '2026-07-10 16:25:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138091 -3.123274)', '2026-07-10 16:25:44', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123274)'))) / (select extract(epoch from '2026-07-10 16:25:44'::timestamp) - extract(epoch from '2026-07-10 16:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123274)'))) / (select extract(epoch from '2026-07-10 16:25:44'::timestamp) - extract(epoch from '2026-07-10 16:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138092 -3.123265)', '2026-07-10 16:25:54', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123274)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123265)'))) / (select extract(epoch from '2026-07-10 16:25:54'::timestamp) - extract(epoch from '2026-07-10 16:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123274)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123265)'))) / (select extract(epoch from '2026-07-10 16:25:54'::timestamp) - extract(epoch from '2026-07-10 16:25: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'), 47521, 'SRID=4674;POINT (-39.13808 -3.123269)', '2026-07-10 16:26:03', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123269)'))) / (select extract(epoch from '2026-07-10 16:26:03'::timestamp) - extract(epoch from '2026-07-10 16:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123265)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123269)'))) / (select extract(epoch from '2026-07-10 16:26:03'::timestamp) - extract(epoch from '2026-07-10 16:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138076 -3.12327)', '2026-07-10 16:26:13', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.12327)'))) / (select extract(epoch from '2026-07-10 16:26:13'::timestamp) - extract(epoch from '2026-07-10 16:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.12327)'))) / (select extract(epoch from '2026-07-10 16:26:13'::timestamp) - extract(epoch from '2026-07-10 16:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138079 -3.123273)', '2026-07-10 16:26:25', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.12327)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123273)'))) / (select extract(epoch from '2026-07-10 16:26:25'::timestamp) - extract(epoch from '2026-07-10 16:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.12327)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123273)'))) / (select extract(epoch from '2026-07-10 16:26:25'::timestamp) - extract(epoch from '2026-07-10 16:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138078 -3.123271)', '2026-07-10 16:26:33', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123273)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:26:33'::timestamp) - extract(epoch from '2026-07-10 16:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123273)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:26:33'::timestamp) - extract(epoch from '2026-07-10 16:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13807 -3.123269)', '2026-07-10 16:26:40', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123269)'))) / (select extract(epoch from '2026-07-10 16:26:40'::timestamp) - extract(epoch from '2026-07-10 16:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123269)'))) / (select extract(epoch from '2026-07-10 16:26:40'::timestamp) - extract(epoch from '2026-07-10 16:26:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138074 -3.12326)', '2026-07-10 16:26:49', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.12326)'))) / (select extract(epoch from '2026-07-10 16:26:49'::timestamp) - extract(epoch from '2026-07-10 16:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123269)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.12326)'))) / (select extract(epoch from '2026-07-10 16:26:49'::timestamp) - extract(epoch from '2026-07-10 16:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138073 -3.123256)', '2026-07-10 16:26:57', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:26:57'::timestamp) - extract(epoch from '2026-07-10 16:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.12326)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:26:57'::timestamp) - extract(epoch from '2026-07-10 16:26:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138062 -3.123262)', '2026-07-10 16:27:06', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123262)'))) / (select extract(epoch from '2026-07-10 16:27:06'::timestamp) - extract(epoch from '2026-07-10 16:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123262)'))) / (select extract(epoch from '2026-07-10 16:27:06'::timestamp) - extract(epoch from '2026-07-10 16:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138068 -3.123255)', '2026-07-10 16:27:17', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:27:17'::timestamp) - extract(epoch from '2026-07-10 16:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:27:17'::timestamp) - extract(epoch from '2026-07-10 16:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138066 -3.123258)', '2026-07-10 16:27:26', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:27:26'::timestamp) - extract(epoch from '2026-07-10 16:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123258)'))) / (select extract(epoch from '2026-07-10 16:27:26'::timestamp) - extract(epoch from '2026-07-10 16:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13806 -3.123248)', '2026-07-10 16:27:40', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:27:40'::timestamp) - extract(epoch from '2026-07-10 16:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.123258)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:27:40'::timestamp) - extract(epoch from '2026-07-10 16:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138058 -3.123246)', '2026-07-10 16:27:45', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:27:45'::timestamp) - extract(epoch from '2026-07-10 16:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:27:45'::timestamp) - extract(epoch from '2026-07-10 16:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138064 -3.123248)', '2026-07-10 16:27:46', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:27:46'::timestamp) - extract(epoch from '2026-07-10 16:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:27:46'::timestamp) - extract(epoch from '2026-07-10 16:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138061 -3.123242)', '2026-07-10 16:27:53', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:27:53'::timestamp) - extract(epoch from '2026-07-10 16:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:27:53'::timestamp) - extract(epoch from '2026-07-10 16:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138072 -3.12324)', '2026-07-10 16:27:59', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:27:59'::timestamp) - extract(epoch from '2026-07-10 16:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:27:59'::timestamp) - extract(epoch from '2026-07-10 16:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138063 -3.123234)', '2026-07-10 16:28:09', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123234)'))) / (select extract(epoch from '2026-07-10 16:28:09'::timestamp) - extract(epoch from '2026-07-10 16:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123234)'))) / (select extract(epoch from '2026-07-10 16:28:09'::timestamp) - extract(epoch from '2026-07-10 16:27: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'), 47521, 'SRID=4674;POINT (-39.138065 -3.12323)', '2026-07-10 16:28:23', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123234)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.12323)'))) / (select extract(epoch from '2026-07-10 16:28:23'::timestamp) - extract(epoch from '2026-07-10 16:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123234)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.12323)'))) / (select extract(epoch from '2026-07-10 16:28:23'::timestamp) - extract(epoch from '2026-07-10 16:28: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'), 47521, 'SRID=4674;POINT (-39.138063 -3.123234)', '2026-07-10 16:28:32', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.12323)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123234)'))) / (select extract(epoch from '2026-07-10 16:28:32'::timestamp) - extract(epoch from '2026-07-10 16:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.12323)'), GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123234)'))) / (select extract(epoch from '2026-07-10 16:28:32'::timestamp) - extract(epoch from '2026-07-10 16:28:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13806 -3.123239)', '2026-07-10 16:28:43', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123234)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123239)'))) / (select extract(epoch from '2026-07-10 16:28:43'::timestamp) - extract(epoch from '2026-07-10 16:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138063 -3.123234)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123239)'))) / (select extract(epoch from '2026-07-10 16:28:43'::timestamp) - extract(epoch from '2026-07-10 16:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138066 -3.12324)', '2026-07-10 16:28:54', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123239)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:28:54'::timestamp) - extract(epoch from '2026-07-10 16:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123239)'), GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:28:54'::timestamp) - extract(epoch from '2026-07-10 16:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138065 -3.123254)', '2026-07-10 16:29:04', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:29:04'::timestamp) - extract(epoch from '2026-07-10 16:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138066 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:29:04'::timestamp) - extract(epoch from '2026-07-10 16:28:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138075 -3.123255)', '2026-07-10 16:29:10', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:29:10'::timestamp) - extract(epoch from '2026-07-10 16:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138065 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:29:10'::timestamp) - extract(epoch from '2026-07-10 16:29:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138068 -3.123261)', '2026-07-10 16:29:18', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123261)'))) / (select extract(epoch from '2026-07-10 16:29:18'::timestamp) - extract(epoch from '2026-07-10 16:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123261)'))) / (select extract(epoch from '2026-07-10 16:29:18'::timestamp) - extract(epoch from '2026-07-10 16:29: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'), 47521, 'SRID=4674;POINT (-39.138067 -3.123259)', '2026-07-10 16:29:25', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123261)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:29:25'::timestamp) - extract(epoch from '2026-07-10 16:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123261)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:29:25'::timestamp) - extract(epoch from '2026-07-10 16:29: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'), 47521, 'SRID=4674;POINT (-39.138064 -3.123256)', '2026-07-10 16:29:36', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:29:36'::timestamp) - extract(epoch from '2026-07-10 16:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:29:36'::timestamp) - extract(epoch from '2026-07-10 16:29: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'), 47521, 'SRID=4674;POINT (-39.138068 -3.123256)', '2026-07-10 16:29:43', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:29:43'::timestamp) - extract(epoch from '2026-07-10 16:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:29:43'::timestamp) - extract(epoch from '2026-07-10 16:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138071 -3.123252)', '2026-07-10 16:29:51', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:29:51'::timestamp) - extract(epoch from '2026-07-10 16:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:29:51'::timestamp) - extract(epoch from '2026-07-10 16:29: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'), 47521, 'SRID=4674;POINT (-39.138061 -3.123253)', '2026-07-10 16:30:03', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123253)'))) / (select extract(epoch from '2026-07-10 16:30:03'::timestamp) - extract(epoch from '2026-07-10 16:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123253)'))) / (select extract(epoch from '2026-07-10 16:30:03'::timestamp) - extract(epoch from '2026-07-10 16:29: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'), 47521, 'SRID=4674;POINT (-39.13806 -3.123248)', '2026-07-10 16:30:10', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:30:10'::timestamp) - extract(epoch from '2026-07-10 16:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123253)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:30:10'::timestamp) - extract(epoch from '2026-07-10 16:30: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'), 47521, 'SRID=4674;POINT (-39.138056 -3.123248)', '2026-07-10 16:30:21', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:30:21'::timestamp) - extract(epoch from '2026-07-10 16:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:30:21'::timestamp) - extract(epoch from '2026-07-10 16:30: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'), 47521, 'SRID=4674;POINT (-39.13805 -3.12325)', '2026-07-10 16:30:29', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:30:29'::timestamp) - extract(epoch from '2026-07-10 16:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:30:29'::timestamp) - extract(epoch from '2026-07-10 16:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138057 -3.123251)', '2026-07-10 16:30:37', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:30:37'::timestamp) - extract(epoch from '2026-07-10 16:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:30:37'::timestamp) - extract(epoch from '2026-07-10 16:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138056 -3.123249)', '2026-07-10 16:30:46', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:30:46'::timestamp) - extract(epoch from '2026-07-10 16:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:30:46'::timestamp) - extract(epoch from '2026-07-10 16:30: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'), 47521, 'SRID=4674;POINT (-39.13806 -3.123248)', '2026-07-10 16:30:59', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:30:59'::timestamp) - extract(epoch from '2026-07-10 16:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:30:59'::timestamp) - extract(epoch from '2026-07-10 16:30: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'), 47521, 'SRID=4674;POINT (-39.138057 -3.123251)', '2026-07-10 16:31:08', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:31:08'::timestamp) - extract(epoch from '2026-07-10 16:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:31:08'::timestamp) - extract(epoch from '2026-07-10 16:30: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'), 47521, 'SRID=4674;POINT (-39.138058 -3.123247)', '2026-07-10 16:31:17', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:31:17'::timestamp) - extract(epoch from '2026-07-10 16:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138057 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:31:17'::timestamp) - extract(epoch from '2026-07-10 16:31: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'), 47521, 'SRID=4674;POINT (-39.138059 -3.123252)', '2026-07-10 16:31:26', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:31:26'::timestamp) - extract(epoch from '2026-07-10 16:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:31:26'::timestamp) - extract(epoch from '2026-07-10 16:31: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'), 47521, 'SRID=4674;POINT (-39.138054 -3.12325)', '2026-07-10 16:31:34', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:31:34'::timestamp) - extract(epoch from '2026-07-10 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:31:34'::timestamp) - extract(epoch from '2026-07-10 16:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138044 -3.123249)', '2026-07-10 16:31:44', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:31:44'::timestamp) - extract(epoch from '2026-07-10 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:31:44'::timestamp) - extract(epoch from '2026-07-10 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138047 -3.123254)', '2026-07-10 16:31:53', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:31:53'::timestamp) - extract(epoch from '2026-07-10 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:31:53'::timestamp) - extract(epoch from '2026-07-10 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138055 -3.123246)', '2026-07-10 16:32:04', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:32:04'::timestamp) - extract(epoch from '2026-07-10 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:32:04'::timestamp) - extract(epoch from '2026-07-10 16:31: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'), 47521, 'SRID=4674;POINT (-39.138055 -3.123244)', '2026-07-10 16:32:13', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123244)'))) / (select extract(epoch from '2026-07-10 16:32:13'::timestamp) - extract(epoch from '2026-07-10 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123244)'))) / (select extract(epoch from '2026-07-10 16:32:13'::timestamp) - extract(epoch from '2026-07-10 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13806 -3.123237)', '2026-07-10 16:32:21', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123244)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123237)'))) / (select extract(epoch from '2026-07-10 16:32:21'::timestamp) - extract(epoch from '2026-07-10 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123244)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123237)'))) / (select extract(epoch from '2026-07-10 16:32:21'::timestamp) - extract(epoch from '2026-07-10 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138068 -3.123232)', '2026-07-10 16:32:30', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123237)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123232)'))) / (select extract(epoch from '2026-07-10 16:32:30'::timestamp) - extract(epoch from '2026-07-10 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123237)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123232)'))) / (select extract(epoch from '2026-07-10 16:32:30'::timestamp) - extract(epoch from '2026-07-10 16:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13808 -3.123219)', '2026-07-10 16:32:38', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123219)'))) / (select extract(epoch from '2026-07-10 16:32:38'::timestamp) - extract(epoch from '2026-07-10 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123219)'))) / (select extract(epoch from '2026-07-10 16:32:38'::timestamp) - extract(epoch from '2026-07-10 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138088 -3.123224)', '2026-07-10 16:32:48', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123219)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123224)'))) / (select extract(epoch from '2026-07-10 16:32:48'::timestamp) - extract(epoch from '2026-07-10 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123219)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123224)'))) / (select extract(epoch from '2026-07-10 16:32:48'::timestamp) - extract(epoch from '2026-07-10 16:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138084 -3.123229)', '2026-07-10 16:32:55', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123224)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123229)'))) / (select extract(epoch from '2026-07-10 16:32:55'::timestamp) - extract(epoch from '2026-07-10 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123224)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123229)'))) / (select extract(epoch from '2026-07-10 16:32:55'::timestamp) - extract(epoch from '2026-07-10 16:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138073 -3.123223)', '2026-07-10 16:33:05', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123229)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123223)'))) / (select extract(epoch from '2026-07-10 16:33:05'::timestamp) - extract(epoch from '2026-07-10 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123229)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123223)'))) / (select extract(epoch from '2026-07-10 16:33:05'::timestamp) - extract(epoch from '2026-07-10 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138071 -3.123216)', '2026-07-10 16:33:14', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123223)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:33:14'::timestamp) - extract(epoch from '2026-07-10 16:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123223)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:33:14'::timestamp) - extract(epoch from '2026-07-10 16:33: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'), 47521, 'SRID=4674;POINT (-39.138073 -3.123219)', '2026-07-10 16:33:21', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123219)'))) / (select extract(epoch from '2026-07-10 16:33:21'::timestamp) - extract(epoch from '2026-07-10 16:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123219)'))) / (select extract(epoch from '2026-07-10 16:33:21'::timestamp) - extract(epoch from '2026-07-10 16:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138072 -3.123232)', '2026-07-10 16:33:30', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123219)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123232)'))) / (select extract(epoch from '2026-07-10 16:33:30'::timestamp) - extract(epoch from '2026-07-10 16:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123219)'), GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123232)'))) / (select extract(epoch from '2026-07-10 16:33:30'::timestamp) - extract(epoch from '2026-07-10 16:33: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'), 47521, 'SRID=4674;POINT (-39.13808 -3.123237)', '2026-07-10 16:33:38', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123237)'))) / (select extract(epoch from '2026-07-10 16:33:38'::timestamp) - extract(epoch from '2026-07-10 16:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138072 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123237)'))) / (select extract(epoch from '2026-07-10 16:33:38'::timestamp) - extract(epoch from '2026-07-10 16:33: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'), 47521, 'SRID=4674;POINT (-39.138073 -3.123241)', '2026-07-10 16:33:45', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123237)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:33:45'::timestamp) - extract(epoch from '2026-07-10 16:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123237)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:33:45'::timestamp) - extract(epoch from '2026-07-10 16:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138082 -3.123242)', '2026-07-10 16:33:57', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:33:57'::timestamp) - extract(epoch from '2026-07-10 16:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:33:57'::timestamp) - extract(epoch from '2026-07-10 16:33: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'), 47521, 'SRID=4674;POINT (-39.138083 -3.123241)', '2026-07-10 16:34:08', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:34:08'::timestamp) - extract(epoch from '2026-07-10 16:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123241)'))) / (select extract(epoch from '2026-07-10 16:34:08'::timestamp) - extract(epoch from '2026-07-10 16:33: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'), 47521, 'SRID=4674;POINT (-39.138074 -3.123248)', '2026-07-10 16:34:18', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:34:18'::timestamp) - extract(epoch from '2026-07-10 16:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123241)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123248)'))) / (select extract(epoch from '2026-07-10 16:34:18'::timestamp) - extract(epoch from '2026-07-10 16:34: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'), 47521, 'SRID=4674;POINT (-39.138076 -3.12325)', '2026-07-10 16:34:25', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:34:25'::timestamp) - extract(epoch from '2026-07-10 16:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123248)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:34:25'::timestamp) - extract(epoch from '2026-07-10 16:34: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'), 47521, 'SRID=4674;POINT (-39.138074 -3.123245)', '2026-07-10 16:34:31', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:34:31'::timestamp) - extract(epoch from '2026-07-10 16:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:34:31'::timestamp) - extract(epoch from '2026-07-10 16:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13806 -3.123242)', '2026-07-10 16:34:40', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:34:40'::timestamp) - extract(epoch from '2026-07-10 16:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:34:40'::timestamp) - extract(epoch from '2026-07-10 16:34: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'), 47521, 'SRID=4674;POINT (-39.138067 -3.123238)', '2026-07-10 16:34:49', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123238)'))) / (select extract(epoch from '2026-07-10 16:34:49'::timestamp) - extract(epoch from '2026-07-10 16:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123238)'))) / (select extract(epoch from '2026-07-10 16:34:49'::timestamp) - extract(epoch from '2026-07-10 16:34: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'), 47521, 'SRID=4674;POINT (-39.138068 -3.123242)', '2026-07-10 16:34:59', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123238)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:34:59'::timestamp) - extract(epoch from '2026-07-10 16:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123238)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123242)'))) / (select extract(epoch from '2026-07-10 16:34:59'::timestamp) - extract(epoch from '2026-07-10 16:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138061 -3.12325)', '2026-07-10 16:35:06', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:35:06'::timestamp) - extract(epoch from '2026-07-10 16:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123242)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.12325)'))) / (select extract(epoch from '2026-07-10 16:35:06'::timestamp) - extract(epoch from '2026-07-10 16:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138056 -3.123251)', '2026-07-10 16:35:12', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:35:12'::timestamp) - extract(epoch from '2026-07-10 16:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123251)'))) / (select extract(epoch from '2026-07-10 16:35:12'::timestamp) - extract(epoch from '2026-07-10 16:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138059 -3.123247)', '2026-07-10 16:35:26', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:35:26'::timestamp) - extract(epoch from '2026-07-10 16:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123251)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:35:26'::timestamp) - extract(epoch from '2026-07-10 16:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138055 -3.123249)', '2026-07-10 16:35:36', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:35:36'::timestamp) - extract(epoch from '2026-07-10 16:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:35:36'::timestamp) - extract(epoch from '2026-07-10 16:35: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'), 47521, 'SRID=4674;POINT (-39.13806 -3.123256)', '2026-07-10 16:35:45', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:35:45'::timestamp) - extract(epoch from '2026-07-10 16:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:35:45'::timestamp) - extract(epoch from '2026-07-10 16:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13805 -3.123255)', '2026-07-10 16:35:54', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:35:54'::timestamp) - extract(epoch from '2026-07-10 16:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:35:54'::timestamp) - extract(epoch from '2026-07-10 16:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138056 -3.123257)', '2026-07-10 16:36:04', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:36:04'::timestamp) - extract(epoch from '2026-07-10 16:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'))) / (select extract(epoch from '2026-07-10 16:36:04'::timestamp) - extract(epoch from '2026-07-10 16:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138054 -3.123255)', '2026-07-10 16:36:12', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:36:12'::timestamp) - extract(epoch from '2026-07-10 16:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123257)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'))) / (select extract(epoch from '2026-07-10 16:36:12'::timestamp) - extract(epoch from '2026-07-10 16:36: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'), 47521, 'SRID=4674;POINT (-39.138053 -3.123256)', '2026-07-10 16:36:19', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:36:19'::timestamp) - extract(epoch from '2026-07-10 16:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123255)'), GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:36:19'::timestamp) - extract(epoch from '2026-07-10 16:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138064 -3.123252)', '2026-07-10 16:36:25', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:36:25'::timestamp) - extract(epoch from '2026-07-10 16:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138053 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123252)'))) / (select extract(epoch from '2026-07-10 16:36:25'::timestamp) - extract(epoch from '2026-07-10 16:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138064 -3.123247)', '2026-07-10 16:36:32', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:36:32'::timestamp) - extract(epoch from '2026-07-10 16:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123252)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:36:32'::timestamp) - extract(epoch from '2026-07-10 16:36: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'), 47521, 'SRID=4674;POINT (-39.138071 -3.123246)', '2026-07-10 16:36:41', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:36:41'::timestamp) - extract(epoch from '2026-07-10 16:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:36:41'::timestamp) - extract(epoch from '2026-07-10 16:36: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'), 47521, 'SRID=4674;POINT (-39.138064 -3.123247)', '2026-07-10 16:36:50', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:36:50'::timestamp) - extract(epoch from '2026-07-10 16:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123247)'))) / (select extract(epoch from '2026-07-10 16:36:50'::timestamp) - extract(epoch from '2026-07-10 16:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138062 -3.123239)', '2026-07-10 16:37:00', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123239)'))) / (select extract(epoch from '2026-07-10 16:37:00'::timestamp) - extract(epoch from '2026-07-10 16:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138064 -3.123247)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123239)'))) / (select extract(epoch from '2026-07-10 16:37:00'::timestamp) - extract(epoch from '2026-07-10 16:36: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'), 47521, 'SRID=4674;POINT (-39.138071 -3.123245)', '2026-07-10 16:37:09', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123239)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:37:09'::timestamp) - extract(epoch from '2026-07-10 16:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123239)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:37:09'::timestamp) - extract(epoch from '2026-07-10 16:37: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'), 47521, 'SRID=4674;POINT (-39.138073 -3.123245)', '2026-07-10 16:37:18', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:37:18'::timestamp) - extract(epoch from '2026-07-10 16:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123245)'))) / (select extract(epoch from '2026-07-10 16:37:18'::timestamp) - extract(epoch from '2026-07-10 16:37: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'), 47521, 'SRID=4674;POINT (-39.138074 -3.123243)', '2026-07-10 16:37:28', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:37:28'::timestamp) - extract(epoch from '2026-07-10 16:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123245)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:37:28'::timestamp) - extract(epoch from '2026-07-10 16:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138085 -3.123246)', '2026-07-10 16:37:35', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:37:35'::timestamp) - extract(epoch from '2026-07-10 16:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:37:35'::timestamp) - extract(epoch from '2026-07-10 16:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138079 -3.123243)', '2026-07-10 16:37:40', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:37:40'::timestamp) - extract(epoch from '2026-07-10 16:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:37:40'::timestamp) - extract(epoch from '2026-07-10 16:37:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138061 -3.123243)', '2026-07-10 16:37:46', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:37:46'::timestamp) - extract(epoch from '2026-07-10 16:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:37:46'::timestamp) - extract(epoch from '2026-07-10 16:37: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'), 47521, 'SRID=4674;POINT (-39.138068 -3.123228)', '2026-07-10 16:37:55', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123228)'))) / (select extract(epoch from '2026-07-10 16:37:55'::timestamp) - extract(epoch from '2026-07-10 16:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138061 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123228)'))) / (select extract(epoch from '2026-07-10 16:37:55'::timestamp) - extract(epoch from '2026-07-10 16:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13805 -3.123235)', '2026-07-10 16:38:02', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123228)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123235)'))) / (select extract(epoch from '2026-07-10 16:38:02'::timestamp) - extract(epoch from '2026-07-10 16:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123228)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123235)'))) / (select extract(epoch from '2026-07-10 16:38:02'::timestamp) - extract(epoch from '2026-07-10 16:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138046 -3.123231)', '2026-07-10 16:38:08', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123235)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123231)'))) / (select extract(epoch from '2026-07-10 16:38:08'::timestamp) - extract(epoch from '2026-07-10 16:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123235)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123231)'))) / (select extract(epoch from '2026-07-10 16:38:08'::timestamp) - extract(epoch from '2026-07-10 16:38: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'), 47521, 'SRID=4674;POINT (-39.138037 -3.123223)', '2026-07-10 16:38:16', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123231)'), GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123223)'))) / (select extract(epoch from '2026-07-10 16:38:16'::timestamp) - extract(epoch from '2026-07-10 16:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123231)'), GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123223)'))) / (select extract(epoch from '2026-07-10 16:38:16'::timestamp) - extract(epoch from '2026-07-10 16:38: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'), 47521, 'SRID=4674;POINT (-39.138044 -3.123221)', '2026-07-10 16:38:20', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123223)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123221)'))) / (select extract(epoch from '2026-07-10 16:38:20'::timestamp) - extract(epoch from '2026-07-10 16:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123223)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123221)'))) / (select extract(epoch from '2026-07-10 16:38:20'::timestamp) - extract(epoch from '2026-07-10 16:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138039 -3.123216)', '2026-07-10 16:38:22', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123221)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:38:22'::timestamp) - extract(epoch from '2026-07-10 16:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123221)'), GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:38:22'::timestamp) - extract(epoch from '2026-07-10 16:38: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'), 47521, 'SRID=4674;POINT (-39.138047 -3.123215)', '2026-07-10 16:38:23', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123215)'))) / (select extract(epoch from '2026-07-10 16:38:23'::timestamp) - extract(epoch from '2026-07-10 16:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138039 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123215)'))) / (select extract(epoch from '2026-07-10 16:38:23'::timestamp) - extract(epoch from '2026-07-10 16:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138056 -3.123218)', '2026-07-10 16:38:31', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123215)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123218)'))) / (select extract(epoch from '2026-07-10 16:38:31'::timestamp) - extract(epoch from '2026-07-10 16:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123215)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123218)'))) / (select extract(epoch from '2026-07-10 16:38:31'::timestamp) - extract(epoch from '2026-07-10 16:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138058 -3.123216)', '2026-07-10 16:38:37', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123218)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:38:37'::timestamp) - extract(epoch from '2026-07-10 16:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123218)'), GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:38:37'::timestamp) - extract(epoch from '2026-07-10 16:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138068 -3.12322)', '2026-07-10 16:38:43', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.12322)'))) / (select extract(epoch from '2026-07-10 16:38:43'::timestamp) - extract(epoch from '2026-07-10 16:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138058 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.12322)'))) / (select extract(epoch from '2026-07-10 16:38:43'::timestamp) - extract(epoch from '2026-07-10 16:38: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'), 47521, 'SRID=4674;POINT (-39.13806 -3.123229)', '2026-07-10 16:38:51', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.12322)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123229)'))) / (select extract(epoch from '2026-07-10 16:38:51'::timestamp) - extract(epoch from '2026-07-10 16:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.12322)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123229)'))) / (select extract(epoch from '2026-07-10 16:38:51'::timestamp) - extract(epoch from '2026-07-10 16:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138059 -3.123223)', '2026-07-10 16:38:58', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123229)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123223)'))) / (select extract(epoch from '2026-07-10 16:38:58'::timestamp) - extract(epoch from '2026-07-10 16:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123229)'), GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123223)'))) / (select extract(epoch from '2026-07-10 16:38:58'::timestamp) - extract(epoch from '2026-07-10 16:38: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'), 47521, 'SRID=4674;POINT (-39.13806 -3.123215)', '2026-07-10 16:39:08', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123223)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123215)'))) / (select extract(epoch from '2026-07-10 16:39:08'::timestamp) - extract(epoch from '2026-07-10 16:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138059 -3.123223)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123215)'))) / (select extract(epoch from '2026-07-10 16:39:08'::timestamp) - extract(epoch from '2026-07-10 16:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138056 -3.123216)', '2026-07-10 16:39:16', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123215)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:39:16'::timestamp) - extract(epoch from '2026-07-10 16:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123215)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:39:16'::timestamp) - extract(epoch from '2026-07-10 16:39: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.123221)', '2026-07-10 16:39:23', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123221)'))) / (select extract(epoch from '2026-07-10 16:39:23'::timestamp) - extract(epoch from '2026-07-10 16:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123221)'))) / (select extract(epoch from '2026-07-10 16:39:23'::timestamp) - extract(epoch from '2026-07-10 16:39: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'), 47521, 'SRID=4674;POINT (-39.138046 -3.123216)', '2026-07-10 16:39:31', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123221)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:39:31'::timestamp) - extract(epoch from '2026-07-10 16:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123221)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:39:31'::timestamp) - extract(epoch from '2026-07-10 16:39: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'), 47521, 'SRID=4674;POINT (-39.13804 -3.123206)', '2026-07-10 16:39:43', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.123206)'))) / (select extract(epoch from '2026-07-10 16:39:43'::timestamp) - extract(epoch from '2026-07-10 16:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.123206)'))) / (select extract(epoch from '2026-07-10 16:39:43'::timestamp) - extract(epoch from '2026-07-10 16:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138036 -3.123209)', '2026-07-10 16:39:51', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.123206)'), GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123209)'))) / (select extract(epoch from '2026-07-10 16:39:51'::timestamp) - extract(epoch from '2026-07-10 16:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.123206)'), GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123209)'))) / (select extract(epoch from '2026-07-10 16:39:51'::timestamp) - extract(epoch from '2026-07-10 16:39: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'), 47521, 'SRID=4674;POINT (-39.138038 -3.123208)', '2026-07-10 16:39:55', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123209)'), GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123208)'))) / (select extract(epoch from '2026-07-10 16:39:55'::timestamp) - extract(epoch from '2026-07-10 16:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123209)'), GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123208)'))) / (select extract(epoch from '2026-07-10 16:39:55'::timestamp) - extract(epoch from '2026-07-10 16:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138038 -3.123209)', '2026-07-10 16:39:57', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123208)'), GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123209)'))) / (select extract(epoch from '2026-07-10 16:39:57'::timestamp) - extract(epoch from '2026-07-10 16:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123208)'), GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123209)'))) / (select extract(epoch from '2026-07-10 16:39:57'::timestamp) - extract(epoch from '2026-07-10 16:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138042 -3.123214)', '2026-07-10 16:40:01', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123209)'), GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123214)'))) / (select extract(epoch from '2026-07-10 16:40:01'::timestamp) - extract(epoch from '2026-07-10 16:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123209)'), GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123214)'))) / (select extract(epoch from '2026-07-10 16:40:01'::timestamp) - extract(epoch from '2026-07-10 16:39: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'), 47521, 'SRID=4674;POINT (-39.138037 -3.123217)', '2026-07-10 16:40:07', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123214)'), GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123217)'))) / (select extract(epoch from '2026-07-10 16:40:07'::timestamp) - extract(epoch from '2026-07-10 16:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123214)'), GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123217)'))) / (select extract(epoch from '2026-07-10 16:40:07'::timestamp) - extract(epoch from '2026-07-10 16:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138027 -3.123217)', '2026-07-10 16:40:18', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123217)'), GeomFromEWKT('SRID=4674;POINT (-39.138027 -3.123217)'))) / (select extract(epoch from '2026-07-10 16:40:18'::timestamp) - extract(epoch from '2026-07-10 16:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138037 -3.123217)'), GeomFromEWKT('SRID=4674;POINT (-39.138027 -3.123217)'))) / (select extract(epoch from '2026-07-10 16:40:18'::timestamp) - extract(epoch from '2026-07-10 16:40: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'), 47521, 'SRID=4674;POINT (-39.138023 -3.123213)', '2026-07-10 16:40:28', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138027 -3.123217)'), GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.123213)'))) / (select extract(epoch from '2026-07-10 16:40:28'::timestamp) - extract(epoch from '2026-07-10 16:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138027 -3.123217)'), GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.123213)'))) / (select extract(epoch from '2026-07-10 16:40:28'::timestamp) - extract(epoch from '2026-07-10 16:40: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'), 47521, 'SRID=4674;POINT (-39.138012 -3.123213)', '2026-07-10 16:40:36', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.123213)'), GeomFromEWKT('SRID=4674;POINT (-39.138012 -3.123213)'))) / (select extract(epoch from '2026-07-10 16:40:36'::timestamp) - extract(epoch from '2026-07-10 16:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.123213)'), GeomFromEWKT('SRID=4674;POINT (-39.138012 -3.123213)'))) / (select extract(epoch from '2026-07-10 16:40:36'::timestamp) - extract(epoch from '2026-07-10 16:40:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13801 -3.123215)', '2026-07-10 16:40:44', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138012 -3.123213)'), GeomFromEWKT('SRID=4674;POINT (-39.13801 -3.123215)'))) / (select extract(epoch from '2026-07-10 16:40:44'::timestamp) - extract(epoch from '2026-07-10 16:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138012 -3.123213)'), GeomFromEWKT('SRID=4674;POINT (-39.13801 -3.123215)'))) / (select extract(epoch from '2026-07-10 16:40:44'::timestamp) - extract(epoch from '2026-07-10 16:40:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138003 -3.123214)', '2026-07-10 16:40:58', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13801 -3.123215)'), GeomFromEWKT('SRID=4674;POINT (-39.138003 -3.123214)'))) / (select extract(epoch from '2026-07-10 16:40:58'::timestamp) - extract(epoch from '2026-07-10 16:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13801 -3.123215)'), GeomFromEWKT('SRID=4674;POINT (-39.138003 -3.123214)'))) / (select extract(epoch from '2026-07-10 16:40:58'::timestamp) - extract(epoch from '2026-07-10 16:40: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'), 47521, 'SRID=4674;POINT (-39.138011 -3.123224)', '2026-07-10 16:41:07', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138003 -3.123214)'), GeomFromEWKT('SRID=4674;POINT (-39.138011 -3.123224)'))) / (select extract(epoch from '2026-07-10 16:41:07'::timestamp) - extract(epoch from '2026-07-10 16:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138003 -3.123214)'), GeomFromEWKT('SRID=4674;POINT (-39.138011 -3.123224)'))) / (select extract(epoch from '2026-07-10 16:41:07'::timestamp) - extract(epoch from '2026-07-10 16:40: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'), 47521, 'SRID=4674;POINT (-39.138023 -3.123226)', '2026-07-10 16:41:15', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138011 -3.123224)'), GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.123226)'))) / (select extract(epoch from '2026-07-10 16:41:15'::timestamp) - extract(epoch from '2026-07-10 16:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138011 -3.123224)'), GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.123226)'))) / (select extract(epoch from '2026-07-10 16:41:15'::timestamp) - extract(epoch from '2026-07-10 16:41: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'), 47521, 'SRID=4674;POINT (-39.138028 -3.123232)', '2026-07-10 16:41:24', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.123226)'), GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123232)'))) / (select extract(epoch from '2026-07-10 16:41:24'::timestamp) - extract(epoch from '2026-07-10 16:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138023 -3.123226)'), GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123232)'))) / (select extract(epoch from '2026-07-10 16:41:24'::timestamp) - extract(epoch from '2026-07-10 16:41: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'), 47521, 'SRID=4674;POINT (-39.138038 -3.123224)', '2026-07-10 16:41:31', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123224)'))) / (select extract(epoch from '2026-07-10 16:41:31'::timestamp) - extract(epoch from '2026-07-10 16:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123224)'))) / (select extract(epoch from '2026-07-10 16:41:31'::timestamp) - extract(epoch from '2026-07-10 16:41: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'), 47521, 'SRID=4674;POINT (-39.138033 -3.123223)', '2026-07-10 16:41:39', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123224)'), GeomFromEWKT('SRID=4674;POINT (-39.138033 -3.123223)'))) / (select extract(epoch from '2026-07-10 16:41:39'::timestamp) - extract(epoch from '2026-07-10 16:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138038 -3.123224)'), GeomFromEWKT('SRID=4674;POINT (-39.138033 -3.123223)'))) / (select extract(epoch from '2026-07-10 16:41:39'::timestamp) - extract(epoch from '2026-07-10 16:41: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'), 47521, 'SRID=4674;POINT (-39.138036 -3.123217)', '2026-07-10 16:41:48', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138033 -3.123223)'), GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123217)'))) / (select extract(epoch from '2026-07-10 16:41:48'::timestamp) - extract(epoch from '2026-07-10 16:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138033 -3.123223)'), GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123217)'))) / (select extract(epoch from '2026-07-10 16:41:48'::timestamp) - extract(epoch from '2026-07-10 16:41: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'), 47521, 'SRID=4674;POINT (-39.138027 -3.123202)', '2026-07-10 16:41:57', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123217)'), GeomFromEWKT('SRID=4674;POINT (-39.138027 -3.123202)'))) / (select extract(epoch from '2026-07-10 16:41:57'::timestamp) - extract(epoch from '2026-07-10 16:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123217)'), GeomFromEWKT('SRID=4674;POINT (-39.138027 -3.123202)'))) / (select extract(epoch from '2026-07-10 16:41:57'::timestamp) - extract(epoch from '2026-07-10 16:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13804 -3.123191)', '2026-07-10 16:42:08', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138027 -3.123202)'), GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.123191)'))) / (select extract(epoch from '2026-07-10 16:42:08'::timestamp) - extract(epoch from '2026-07-10 16:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138027 -3.123202)'), GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.123191)'))) / (select extract(epoch from '2026-07-10 16:42:08'::timestamp) - extract(epoch from '2026-07-10 16:41: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'), 47521, 'SRID=4674;POINT (-39.138035 -3.123195)', '2026-07-10 16:42:18', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.123191)'), GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123195)'))) / (select extract(epoch from '2026-07-10 16:42:18'::timestamp) - extract(epoch from '2026-07-10 16:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13804 -3.123191)'), GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123195)'))) / (select extract(epoch from '2026-07-10 16:42:18'::timestamp) - extract(epoch from '2026-07-10 16:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138028 -3.123195)', '2026-07-10 16:42:26', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123195)'), GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123195)'))) / (select extract(epoch from '2026-07-10 16:42:26'::timestamp) - extract(epoch from '2026-07-10 16:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123195)'), GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123195)'))) / (select extract(epoch from '2026-07-10 16:42:26'::timestamp) - extract(epoch from '2026-07-10 16:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138028 -3.123197)', '2026-07-10 16:42:35', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123195)'), GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123197)'))) / (select extract(epoch from '2026-07-10 16:42:35'::timestamp) - extract(epoch from '2026-07-10 16:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123195)'), GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123197)'))) / (select extract(epoch from '2026-07-10 16:42:35'::timestamp) - extract(epoch from '2026-07-10 16:42: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'), 47521, 'SRID=4674;POINT (-39.138041 -3.123194)', '2026-07-10 16:42:42', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123197)'), GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123194)'))) / (select extract(epoch from '2026-07-10 16:42:42'::timestamp) - extract(epoch from '2026-07-10 16:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138028 -3.123197)'), GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123194)'))) / (select extract(epoch from '2026-07-10 16:42:42'::timestamp) - extract(epoch from '2026-07-10 16:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138056 -3.123198)', '2026-07-10 16:42:47', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123194)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123198)'))) / (select extract(epoch from '2026-07-10 16:42:47'::timestamp) - extract(epoch from '2026-07-10 16:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138041 -3.123194)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123198)'))) / (select extract(epoch from '2026-07-10 16:42:47'::timestamp) - extract(epoch from '2026-07-10 16:42: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'), 47521, 'SRID=4674;POINT (-39.138051 -3.12319)', '2026-07-10 16:42:56', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123198)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.12319)'))) / (select extract(epoch from '2026-07-10 16:42:56'::timestamp) - extract(epoch from '2026-07-10 16:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123198)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.12319)'))) / (select extract(epoch from '2026-07-10 16:42:56'::timestamp) - extract(epoch from '2026-07-10 16:42: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'), 47521, 'SRID=4674;POINT (-39.138044 -3.123184)', '2026-07-10 16:43:05', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.12319)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123184)'))) / (select extract(epoch from '2026-07-10 16:43:05'::timestamp) - extract(epoch from '2026-07-10 16:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.12319)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123184)'))) / (select extract(epoch from '2026-07-10 16:43:05'::timestamp) - extract(epoch from '2026-07-10 16:42: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'), 47521, 'SRID=4674;POINT (-39.138052 -3.123186)', '2026-07-10 16:43:12', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123184)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123186)'))) / (select extract(epoch from '2026-07-10 16:43:12'::timestamp) - extract(epoch from '2026-07-10 16:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123184)'), GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123186)'))) / (select extract(epoch from '2026-07-10 16:43:12'::timestamp) - extract(epoch from '2026-07-10 16:43: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'), 47521, 'SRID=4674;POINT (-39.138047 -3.123186)', '2026-07-10 16:43:19', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123186)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123186)'))) / (select extract(epoch from '2026-07-10 16:43:19'::timestamp) - extract(epoch from '2026-07-10 16:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138052 -3.123186)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123186)'))) / (select extract(epoch from '2026-07-10 16:43:19'::timestamp) - extract(epoch from '2026-07-10 16:43: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'), 47521, 'SRID=4674;POINT (-39.138042 -3.123191)', '2026-07-10 16:43:26', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123186)'), GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123191)'))) / (select extract(epoch from '2026-07-10 16:43:26'::timestamp) - extract(epoch from '2026-07-10 16:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123186)'), GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123191)'))) / (select extract(epoch from '2026-07-10 16:43:26'::timestamp) - extract(epoch from '2026-07-10 16:43: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'), 47521, 'SRID=4674;POINT (-39.138051 -3.12319)', '2026-07-10 16:43:32', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123191)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.12319)'))) / (select extract(epoch from '2026-07-10 16:43:32'::timestamp) - extract(epoch from '2026-07-10 16:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123191)'), GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.12319)'))) / (select extract(epoch from '2026-07-10 16:43:32'::timestamp) - extract(epoch from '2026-07-10 16:43: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'), 47521, 'SRID=4674;POINT (-39.138056 -3.123197)', '2026-07-10 16:43:40', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.12319)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123197)'))) / (select extract(epoch from '2026-07-10 16:43:40'::timestamp) - extract(epoch from '2026-07-10 16:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138051 -3.12319)'), GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123197)'))) / (select extract(epoch from '2026-07-10 16:43:40'::timestamp) - extract(epoch from '2026-07-10 16:43: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'), 47521, 'SRID=4674;POINT (-39.13805 -3.123199)', '2026-07-10 16:43:49', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123197)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123199)'))) / (select extract(epoch from '2026-07-10 16:43:49'::timestamp) - extract(epoch from '2026-07-10 16:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138056 -3.123197)'), GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123199)'))) / (select extract(epoch from '2026-07-10 16:43:49'::timestamp) - extract(epoch from '2026-07-10 16:43: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'), 47521, 'SRID=4674;POINT (-39.138054 -3.123194)', '2026-07-10 16:43:58', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123199)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123194)'))) / (select extract(epoch from '2026-07-10 16:43:58'::timestamp) - extract(epoch from '2026-07-10 16:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13805 -3.123199)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123194)'))) / (select extract(epoch from '2026-07-10 16:43:58'::timestamp) - extract(epoch from '2026-07-10 16:43: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'), 47521, 'SRID=4674;POINT (-39.138044 -3.123206)', '2026-07-10 16:44:06', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123194)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123206)'))) / (select extract(epoch from '2026-07-10 16:44:06'::timestamp) - extract(epoch from '2026-07-10 16:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123194)'), GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123206)'))) / (select extract(epoch from '2026-07-10 16:44:06'::timestamp) - extract(epoch from '2026-07-10 16:43: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'), 47521, 'SRID=4674;POINT (-39.138047 -3.123216)', '2026-07-10 16:44:15', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123206)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:44:15'::timestamp) - extract(epoch from '2026-07-10 16:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138044 -3.123206)'), GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:44:15'::timestamp) - extract(epoch from '2026-07-10 16:44: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'), 47521, 'SRID=4674;POINT (-39.138036 -3.123213)', '2026-07-10 16:44:24', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123213)'))) / (select extract(epoch from '2026-07-10 16:44:24'::timestamp) - extract(epoch from '2026-07-10 16:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138047 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123213)'))) / (select extract(epoch from '2026-07-10 16:44:24'::timestamp) - extract(epoch from '2026-07-10 16:44:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138046 -3.123208)', '2026-07-10 16:44:33', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123213)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123208)'))) / (select extract(epoch from '2026-07-10 16:44:33'::timestamp) - extract(epoch from '2026-07-10 16:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138036 -3.123213)'), GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123208)'))) / (select extract(epoch from '2026-07-10 16:44:33'::timestamp) - extract(epoch from '2026-07-10 16:44: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'), 47521, 'SRID=4674;POINT (-39.138042 -3.123213)', '2026-07-10 16:44:41', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123208)'), GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123213)'))) / (select extract(epoch from '2026-07-10 16:44:41'::timestamp) - extract(epoch from '2026-07-10 16:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138046 -3.123208)'), GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123213)'))) / (select extract(epoch from '2026-07-10 16:44:41'::timestamp) - extract(epoch from '2026-07-10 16:44: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'), 47521, 'SRID=4674;POINT (-39.138054 -3.123216)', '2026-07-10 16:44:50', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123213)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:44:50'::timestamp) - extract(epoch from '2026-07-10 16:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138042 -3.123213)'), GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:44:50'::timestamp) - extract(epoch from '2026-07-10 16:44: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'), 47521, 'SRID=4674;POINT (-39.138055 -3.123216)', '2026-07-10 16:44:57', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:44:57'::timestamp) - extract(epoch from '2026-07-10 16:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138054 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123216)'))) / (select extract(epoch from '2026-07-10 16:44:57'::timestamp) - extract(epoch from '2026-07-10 16:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13806 -3.123213)', '2026-07-10 16:45:06', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123213)'))) / (select extract(epoch from '2026-07-10 16:45:06'::timestamp) - extract(epoch from '2026-07-10 16:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138055 -3.123216)'), GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123213)'))) / (select extract(epoch from '2026-07-10 16:45:06'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138062 -3.123215)', '2026-07-10 16:45:17', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123213)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123215)'))) / (select extract(epoch from '2026-07-10 16:45:17'::timestamp) - extract(epoch from '2026-07-10 16:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13806 -3.123213)'), GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123215)'))) / (select extract(epoch from '2026-07-10 16:45:17'::timestamp) - extract(epoch from '2026-07-10 16:45: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'), 47521, 'SRID=4674;POINT (-39.138068 -3.123225)', '2026-07-10 16:45:24', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123215)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123225)'))) / (select extract(epoch from '2026-07-10 16:45:24'::timestamp) - extract(epoch from '2026-07-10 16:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138062 -3.123215)'), GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123225)'))) / (select extract(epoch from '2026-07-10 16:45:24'::timestamp) - extract(epoch from '2026-07-10 16:45: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'), 47521, 'SRID=4674;POINT (-39.138076 -3.123223)', '2026-07-10 16:45:38', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123225)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123223)'))) / (select extract(epoch from '2026-07-10 16:45:38'::timestamp) - extract(epoch from '2026-07-10 16:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138068 -3.123225)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123223)'))) / (select extract(epoch from '2026-07-10 16:45:38'::timestamp) - extract(epoch from '2026-07-10 16:45: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'), 47521, 'SRID=4674;POINT (-39.138069 -3.123225)', '2026-07-10 16:45:45', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123223)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123225)'))) / (select extract(epoch from '2026-07-10 16:45:45'::timestamp) - extract(epoch from '2026-07-10 16:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123223)'), GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123225)'))) / (select extract(epoch from '2026-07-10 16:45:45'::timestamp) - extract(epoch from '2026-07-10 16:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138077 -3.123229)', '2026-07-10 16:45:53', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123225)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123229)'))) / (select extract(epoch from '2026-07-10 16:45:53'::timestamp) - extract(epoch from '2026-07-10 16:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138069 -3.123225)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123229)'))) / (select extract(epoch from '2026-07-10 16:45:53'::timestamp) - extract(epoch from '2026-07-10 16:45: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'), 47521, 'SRID=4674;POINT (-39.138071 -3.123239)', '2026-07-10 16:46:01', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123229)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123239)'))) / (select extract(epoch from '2026-07-10 16:46:01'::timestamp) - extract(epoch from '2026-07-10 16:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123229)'), GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123239)'))) / (select extract(epoch from '2026-07-10 16:46:01'::timestamp) - extract(epoch from '2026-07-10 16:45: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'), 47521, 'SRID=4674;POINT (-39.138075 -3.12324)', '2026-07-10 16:46:10', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123239)'), GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:46:10'::timestamp) - extract(epoch from '2026-07-10 16:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138071 -3.123239)'), GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:46:10'::timestamp) - extract(epoch from '2026-07-10 16:46: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'), 47521, 'SRID=4674;POINT (-39.138094 -3.123233)', '2026-07-10 16:46:20', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123233)'))) / (select extract(epoch from '2026-07-10 16:46:20'::timestamp) - extract(epoch from '2026-07-10 16:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138075 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123233)'))) / (select extract(epoch from '2026-07-10 16:46:20'::timestamp) - extract(epoch from '2026-07-10 16:46: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'), 47521, 'SRID=4674;POINT (-39.138083 -3.12324)', '2026-07-10 16:46:27', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123233)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:46:27'::timestamp) - extract(epoch from '2026-07-10 16:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123233)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:46:27'::timestamp) - extract(epoch from '2026-07-10 16:46: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'), 47521, 'SRID=4674;POINT (-39.13809 -3.12324)', '2026-07-10 16:46:36', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:46:36'::timestamp) - extract(epoch from '2026-07-10 16:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.12324)'))) / (select extract(epoch from '2026-07-10 16:46:36'::timestamp) - extract(epoch from '2026-07-10 16:46: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123231)', '2026-07-10 16:46:45', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123231)'))) / (select extract(epoch from '2026-07-10 16:46:45'::timestamp) - extract(epoch from '2026-07-10 16:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.12324)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123231)'))) / (select extract(epoch from '2026-07-10 16:46:45'::timestamp) - extract(epoch from '2026-07-10 16:46: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'), 47521, 'SRID=4674;POINT (-39.138088 -3.123232)', '2026-07-10 16:46:47', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123231)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123232)'))) / (select extract(epoch from '2026-07-10 16:46:47'::timestamp) - extract(epoch from '2026-07-10 16:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123231)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123232)'))) / (select extract(epoch from '2026-07-10 16:46:47'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138099 -3.123231)', '2026-07-10 16:46:49', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123231)'))) / (select extract(epoch from '2026-07-10 16:46:49'::timestamp) - extract(epoch from '2026-07-10 16:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123232)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123231)'))) / (select extract(epoch from '2026-07-10 16:46:49'::timestamp) - extract(epoch from '2026-07-10 16:46: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'), 47521, 'SRID=4674;POINT (-39.138088 -3.123236)', '2026-07-10 16:46:53', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123231)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123236)'))) / (select extract(epoch from '2026-07-10 16:46:53'::timestamp) - extract(epoch from '2026-07-10 16:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123231)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123236)'))) / (select extract(epoch from '2026-07-10 16:46:53'::timestamp) - extract(epoch from '2026-07-10 16:46: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123235)', '2026-07-10 16:47:01', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123236)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123235)'))) / (select extract(epoch from '2026-07-10 16:47:01'::timestamp) - extract(epoch from '2026-07-10 16:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123236)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123235)'))) / (select extract(epoch from '2026-07-10 16:47:01'::timestamp) - extract(epoch from '2026-07-10 16:46: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'), 47521, 'SRID=4674;POINT (-39.13809 -3.123237)', '2026-07-10 16:47:08', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123235)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123237)'))) / (select extract(epoch from '2026-07-10 16:47:08'::timestamp) - extract(epoch from '2026-07-10 16:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123235)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123237)'))) / (select extract(epoch from '2026-07-10 16:47:08'::timestamp) - extract(epoch from '2026-07-10 16:47: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'), 47521, 'SRID=4674;POINT (-39.138089 -3.123243)', '2026-07-10 16:47:16', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123237)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:47:16'::timestamp) - extract(epoch from '2026-07-10 16:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123237)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123243)'))) / (select extract(epoch from '2026-07-10 16:47:16'::timestamp) - extract(epoch from '2026-07-10 16:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138088 -3.123249)', '2026-07-10 16:47:24', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:47:24'::timestamp) - extract(epoch from '2026-07-10 16:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123243)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123249)'))) / (select extract(epoch from '2026-07-10 16:47:24'::timestamp) - extract(epoch from '2026-07-10 16:47: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123244)', '2026-07-10 16:47:30', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123244)'))) / (select extract(epoch from '2026-07-10 16:47:30'::timestamp) - extract(epoch from '2026-07-10 16:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123249)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123244)'))) / (select extract(epoch from '2026-07-10 16:47:30'::timestamp) - extract(epoch from '2026-07-10 16:47: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'), 47521, 'SRID=4674;POINT (-39.138088 -3.123246)', '2026-07-10 16:47:38', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123244)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:47:38'::timestamp) - extract(epoch from '2026-07-10 16:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123244)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123246)'))) / (select extract(epoch from '2026-07-10 16:47:38'::timestamp) - extract(epoch from '2026-07-10 16:47: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123254)', '2026-07-10 16:47:46', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:47:46'::timestamp) - extract(epoch from '2026-07-10 16:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123246)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123254)'))) / (select extract(epoch from '2026-07-10 16:47:46'::timestamp) - extract(epoch from '2026-07-10 16:47: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'), 47521, 'SRID=4674;POINT (-39.138074 -3.123256)', '2026-07-10 16:47:56', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:47:56'::timestamp) - extract(epoch from '2026-07-10 16:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123254)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:47:56'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123256)', '2026-07-10 16:48:04', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:48:04'::timestamp) - extract(epoch from '2026-07-10 16:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123256)'))) / (select extract(epoch from '2026-07-10 16:48:04'::timestamp) - extract(epoch from '2026-07-10 16:47: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'), 47521, 'SRID=4674;POINT (-39.138077 -3.123262)', '2026-07-10 16:48:13', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123262)'))) / (select extract(epoch from '2026-07-10 16:48:13'::timestamp) - extract(epoch from '2026-07-10 16:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123256)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123262)'))) / (select extract(epoch from '2026-07-10 16:48:13'::timestamp) - extract(epoch from '2026-07-10 16:48: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'), 47521, 'SRID=4674;POINT (-39.138088 -3.123264)', '2026-07-10 16:48:23', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:48:23'::timestamp) - extract(epoch from '2026-07-10 16:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123262)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123264)'))) / (select extract(epoch from '2026-07-10 16:48:23'::timestamp) - extract(epoch from '2026-07-10 16:48: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'), 47521, 'SRID=4674;POINT (-39.138092 -3.123259)', '2026-07-10 16:48:39', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:48:39'::timestamp) - extract(epoch from '2026-07-10 16:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123264)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123259)'))) / (select extract(epoch from '2026-07-10 16:48:39'::timestamp) - extract(epoch from '2026-07-10 16:48: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123268)', '2026-07-10 16:48:46', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:48:46'::timestamp) - extract(epoch from '2026-07-10 16:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123259)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:48:46'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138091 -3.123268)', '2026-07-10 16:48:53', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:48:53'::timestamp) - extract(epoch from '2026-07-10 16:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123268)'))) / (select extract(epoch from '2026-07-10 16:48:53'::timestamp) - extract(epoch from '2026-07-10 16:48: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'), 47521, 'SRID=4674;POINT (-39.138095 -3.123274)', '2026-07-10 16:49:07', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123274)'))) / (select extract(epoch from '2026-07-10 16:49:07'::timestamp) - extract(epoch from '2026-07-10 16:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123268)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123274)'))) / (select extract(epoch from '2026-07-10 16:49:07'::timestamp) - extract(epoch from '2026-07-10 16:48: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'), 47521, 'SRID=4674;POINT (-39.138099 -3.123271)', '2026-07-10 16:49:17', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123274)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:49:17'::timestamp) - extract(epoch from '2026-07-10 16:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123274)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123271)'))) / (select extract(epoch from '2026-07-10 16:49:17'::timestamp) - extract(epoch from '2026-07-10 16:49: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'), 47521, 'SRID=4674;POINT (-39.138098 -3.123274)', '2026-07-10 16:49:25', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123274)'))) / (select extract(epoch from '2026-07-10 16:49:25'::timestamp) - extract(epoch from '2026-07-10 16:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123271)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123274)'))) / (select extract(epoch from '2026-07-10 16:49:25'::timestamp) - extract(epoch from '2026-07-10 16:49: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'), 47521, 'SRID=4674;POINT (-39.138098 -3.123276)', '2026-07-10 16:49:31', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123274)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123276)'))) / (select extract(epoch from '2026-07-10 16:49:31'::timestamp) - extract(epoch from '2026-07-10 16:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123274)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123276)'))) / (select extract(epoch from '2026-07-10 16:49:31'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123279)', '2026-07-10 16:49:39', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123276)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123279)'))) / (select extract(epoch from '2026-07-10 16:49:39'::timestamp) - extract(epoch from '2026-07-10 16:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123276)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123279)'))) / (select extract(epoch from '2026-07-10 16:49:39'::timestamp) - extract(epoch from '2026-07-10 16:49: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'), 47521, 'SRID=4674;POINT (-39.138093 -3.123287)', '2026-07-10 16:49:45', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123279)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123287)'))) / (select extract(epoch from '2026-07-10 16:49:45'::timestamp) - extract(epoch from '2026-07-10 16:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123279)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123287)'))) / (select extract(epoch from '2026-07-10 16:49:45'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138104 -3.123282)', '2026-07-10 16:49:51', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123282)'))) / (select extract(epoch from '2026-07-10 16:49:51'::timestamp) - extract(epoch from '2026-07-10 16:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123282)'))) / (select extract(epoch from '2026-07-10 16:49:51'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.13811 -3.123278)', '2026-07-10 16:50:02', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123282)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123278)'))) / (select extract(epoch from '2026-07-10 16:50:02'::timestamp) - extract(epoch from '2026-07-10 16:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123282)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123278)'))) / (select extract(epoch from '2026-07-10 16:50:02'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138106 -3.123281)', '2026-07-10 16:50:04', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123278)'), GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123281)'))) / (select extract(epoch from '2026-07-10 16:50:04'::timestamp) - extract(epoch from '2026-07-10 16:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123278)'), GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123281)'))) / (select extract(epoch from '2026-07-10 16:50:04'::timestamp) - extract(epoch from '2026-07-10 16:50: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'), 47521, 'SRID=4674;POINT (-39.138105 -3.12328)', '2026-07-10 16:50:06', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123281)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:50:06'::timestamp) - extract(epoch from '2026-07-10 16:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123281)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.12328)'))) / (select extract(epoch from '2026-07-10 16:50:06'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138092 -3.123291)', '2026-07-10 16:50:18', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:50:18'::timestamp) - extract(epoch from '2026-07-10 16:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.12328)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:50:18'::timestamp) - extract(epoch from '2026-07-10 16:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138093 -3.123294)', '2026-07-10 16:50:26', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123294)'))) / (select extract(epoch from '2026-07-10 16:50:26'::timestamp) - extract(epoch from '2026-07-10 16:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123294)'))) / (select extract(epoch from '2026-07-10 16:50:26'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138095 -3.123295)', '2026-07-10 16:50:34', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123295)'))) / (select extract(epoch from '2026-07-10 16:50:34'::timestamp) - extract(epoch from '2026-07-10 16:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123295)'))) / (select extract(epoch from '2026-07-10 16:50:34'::timestamp) - extract(epoch from '2026-07-10 16:50: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'), 47521, 'SRID=4674;POINT (-39.138096 -3.123297)', '2026-07-10 16:50:46', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:50:46'::timestamp) - extract(epoch from '2026-07-10 16:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:50:46'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138099 -3.123297)', '2026-07-10 16:50:58', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:50:58'::timestamp) - extract(epoch from '2026-07-10 16:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:50:58'::timestamp) - extract(epoch from '2026-07-10 16:50:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138094 -3.1233)', '2026-07-10 16:51:07', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.1233)'))) / (select extract(epoch from '2026-07-10 16:51:07'::timestamp) - extract(epoch from '2026-07-10 16:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.1233)'))) / (select extract(epoch from '2026-07-10 16:51:07'::timestamp) - extract(epoch from '2026-07-10 16:50: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'), 47521, 'SRID=4674;POINT (-39.138088 -3.123304)', '2026-07-10 16:51:13', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123304)'))) / (select extract(epoch from '2026-07-10 16:51:13'::timestamp) - extract(epoch from '2026-07-10 16:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123304)'))) / (select extract(epoch from '2026-07-10 16:51:13'::timestamp) - extract(epoch from '2026-07-10 16:51: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'), 47521, 'SRID=4674;POINT (-39.138081 -3.123301)', '2026-07-10 16:51:28', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123301)'))) / (select extract(epoch from '2026-07-10 16:51:28'::timestamp) - extract(epoch from '2026-07-10 16:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123301)'))) / (select extract(epoch from '2026-07-10 16:51:28'::timestamp) - extract(epoch from '2026-07-10 16:51: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'), 47521, 'SRID=4674;POINT (-39.138084 -3.123304)', '2026-07-10 16:51:35', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123301)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123304)'))) / (select extract(epoch from '2026-07-10 16:51:35'::timestamp) - extract(epoch from '2026-07-10 16:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123301)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123304)'))) / (select extract(epoch from '2026-07-10 16:51:35'::timestamp) - extract(epoch from '2026-07-10 16:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138085 -3.12331)', '2026-07-10 16:51:46', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.12331)'))) / (select extract(epoch from '2026-07-10 16:51:46'::timestamp) - extract(epoch from '2026-07-10 16:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.12331)'))) / (select extract(epoch from '2026-07-10 16:51:46'::timestamp) - extract(epoch from '2026-07-10 16:51: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123307)', '2026-07-10 16:51:53', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123307)'))) / (select extract(epoch from '2026-07-10 16:51:53'::timestamp) - extract(epoch from '2026-07-10 16:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123307)'))) / (select extract(epoch from '2026-07-10 16:51:53'::timestamp) - extract(epoch from '2026-07-10 16:51: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123305)', '2026-07-10 16:51:59', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123305)'))) / (select extract(epoch from '2026-07-10 16:51:59'::timestamp) - extract(epoch from '2026-07-10 16:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123305)'))) / (select extract(epoch from '2026-07-10 16:51:59'::timestamp) - extract(epoch from '2026-07-10 16:51: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'), 47521, 'SRID=4674;POINT (-39.13809 -3.123302)', '2026-07-10 16:52:08', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123302)'))) / (select extract(epoch from '2026-07-10 16:52:08'::timestamp) - extract(epoch from '2026-07-10 16:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123302)'))) / (select extract(epoch from '2026-07-10 16:52:08'::timestamp) - extract(epoch from '2026-07-10 16:51: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'), 47521, 'SRID=4674;POINT (-39.138089 -3.123297)', '2026-07-10 16:52:18', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:52:18'::timestamp) - extract(epoch from '2026-07-10 16:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:52:18'::timestamp) - extract(epoch from '2026-07-10 16:52: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'), 47521, 'SRID=4674;POINT (-39.138093 -3.123293)', '2026-07-10 16:52:25', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123293)'))) / (select extract(epoch from '2026-07-10 16:52:25'::timestamp) - extract(epoch from '2026-07-10 16:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123293)'))) / (select extract(epoch from '2026-07-10 16:52:25'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138091 -3.123303)', '2026-07-10 16:52:35', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123303)'))) / (select extract(epoch from '2026-07-10 16:52:35'::timestamp) - extract(epoch from '2026-07-10 16:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123303)'))) / (select extract(epoch from '2026-07-10 16:52:35'::timestamp) - extract(epoch from '2026-07-10 16:52:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138085 -3.123306)', '2026-07-10 16:52:46', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123306)'))) / (select extract(epoch from '2026-07-10 16:52:46'::timestamp) - extract(epoch from '2026-07-10 16:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123306)'))) / (select extract(epoch from '2026-07-10 16:52:46'::timestamp) - extract(epoch from '2026-07-10 16:52: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'), 47521, 'SRID=4674;POINT (-39.138078 -3.123309)', '2026-07-10 16:52:57', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123309)'))) / (select extract(epoch from '2026-07-10 16:52:57'::timestamp) - extract(epoch from '2026-07-10 16:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123309)'))) / (select extract(epoch from '2026-07-10 16:52:57'::timestamp) - extract(epoch from '2026-07-10 16:52: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'), 47521, 'SRID=4674;POINT (-39.138078 -3.123315)', '2026-07-10 16:53:05', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123315)'))) / (select extract(epoch from '2026-07-10 16:53:05'::timestamp) - extract(epoch from '2026-07-10 16:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123315)'))) / (select extract(epoch from '2026-07-10 16:53:05'::timestamp) - extract(epoch from '2026-07-10 16:52: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'), 47521, 'SRID=4674;POINT (-39.138076 -3.123316)', '2026-07-10 16:53:17', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123316)'))) / (select extract(epoch from '2026-07-10 16:53:17'::timestamp) - extract(epoch from '2026-07-10 16:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123316)'))) / (select extract(epoch from '2026-07-10 16:53:17'::timestamp) - extract(epoch from '2026-07-10 16:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138073 -3.123307)', '2026-07-10 16:53:30', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123307)'))) / (select extract(epoch from '2026-07-10 16:53:30'::timestamp) - extract(epoch from '2026-07-10 16:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123307)'))) / (select extract(epoch from '2026-07-10 16:53:30'::timestamp) - extract(epoch from '2026-07-10 16:53: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'), 47521, 'SRID=4674;POINT (-39.138074 -3.123299)', '2026-07-10 16:53:40', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123299)'))) / (select extract(epoch from '2026-07-10 16:53:40'::timestamp) - extract(epoch from '2026-07-10 16:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123299)'))) / (select extract(epoch from '2026-07-10 16:53:40'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138067 -3.123297)', '2026-07-10 16:53:46', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123299)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:53:46'::timestamp) - extract(epoch from '2026-07-10 16:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123299)'), GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:53:46'::timestamp) - extract(epoch from '2026-07-10 16:53: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'), 47521, 'SRID=4674;POINT (-39.13807 -3.123296)', '2026-07-10 16:53:54', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123296)'))) / (select extract(epoch from '2026-07-10 16:53:54'::timestamp) - extract(epoch from '2026-07-10 16:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138067 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123296)'))) / (select extract(epoch from '2026-07-10 16:53:54'::timestamp) - extract(epoch from '2026-07-10 16:53: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123293)', '2026-07-10 16:54:01', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123293)'))) / (select extract(epoch from '2026-07-10 16:54:01'::timestamp) - extract(epoch from '2026-07-10 16:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13807 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123293)'))) / (select extract(epoch from '2026-07-10 16:54:01'::timestamp) - extract(epoch from '2026-07-10 16:53:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138082 -3.123289)', '2026-07-10 16:54:06', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123289)'))) / (select extract(epoch from '2026-07-10 16:54:06'::timestamp) - extract(epoch from '2026-07-10 16:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123289)'))) / (select extract(epoch from '2026-07-10 16:54:06'::timestamp) - extract(epoch from '2026-07-10 16:54: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123285)', '2026-07-10 16:54:17', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123285)'))) / (select extract(epoch from '2026-07-10 16:54:17'::timestamp) - extract(epoch from '2026-07-10 16:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123285)'))) / (select extract(epoch from '2026-07-10 16:54:17'::timestamp) - extract(epoch from '2026-07-10 16:54: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123293)', '2026-07-10 16:54:30', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123293)'))) / (select extract(epoch from '2026-07-10 16:54:30'::timestamp) - extract(epoch from '2026-07-10 16:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123285)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123293)'))) / (select extract(epoch from '2026-07-10 16:54:30'::timestamp) - extract(epoch from '2026-07-10 16:54: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.1233)', '2026-07-10 16:54:46', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.1233)'))) / (select extract(epoch from '2026-07-10 16:54:46'::timestamp) - extract(epoch from '2026-07-10 16:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.1233)'))) / (select extract(epoch from '2026-07-10 16:54:46'::timestamp) - extract(epoch from '2026-07-10 16:54: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123302)', '2026-07-10 16:54:53', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123302)'))) / (select extract(epoch from '2026-07-10 16:54:53'::timestamp) - extract(epoch from '2026-07-10 16:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123302)'))) / (select extract(epoch from '2026-07-10 16:54:53'::timestamp) - extract(epoch from '2026-07-10 16:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138092 -3.123296)', '2026-07-10 16:55:03', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123296)'))) / (select extract(epoch from '2026-07-10 16:55:03'::timestamp) - extract(epoch from '2026-07-10 16:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123296)'))) / (select extract(epoch from '2026-07-10 16:55:03'::timestamp) - extract(epoch from '2026-07-10 16:54:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138094 -3.123295)', '2026-07-10 16:55:09', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123295)'))) / (select extract(epoch from '2026-07-10 16:55:09'::timestamp) - extract(epoch from '2026-07-10 16:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123295)'))) / (select extract(epoch from '2026-07-10 16:55:09'::timestamp) - extract(epoch from '2026-07-10 16:55: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'), 47521, 'SRID=4674;POINT (-39.138091 -3.123296)', '2026-07-10 16:55:16', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123296)'))) / (select extract(epoch from '2026-07-10 16:55:16'::timestamp) - extract(epoch from '2026-07-10 16:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123296)'))) / (select extract(epoch from '2026-07-10 16:55:16'::timestamp) - extract(epoch from '2026-07-10 16:55: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'), 47521, 'SRID=4674;POINT (-39.138095 -3.123297)', '2026-07-10 16:55:25', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:55:25'::timestamp) - extract(epoch from '2026-07-10 16:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:55:25'::timestamp) - extract(epoch from '2026-07-10 16:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138099 -3.123302)', '2026-07-10 16:55:35', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123302)'))) / (select extract(epoch from '2026-07-10 16:55:35'::timestamp) - extract(epoch from '2026-07-10 16:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123302)'))) / (select extract(epoch from '2026-07-10 16:55:35'::timestamp) - extract(epoch from '2026-07-10 16:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138094 -3.123303)', '2026-07-10 16:55:42', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123303)'))) / (select extract(epoch from '2026-07-10 16:55:42'::timestamp) - extract(epoch from '2026-07-10 16:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123303)'))) / (select extract(epoch from '2026-07-10 16:55:42'::timestamp) - extract(epoch from '2026-07-10 16:55: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'), 47521, 'SRID=4674;POINT (-39.138095 -3.123294)', '2026-07-10 16:55:52', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123294)'))) / (select extract(epoch from '2026-07-10 16:55:52'::timestamp) - extract(epoch from '2026-07-10 16:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123294)'))) / (select extract(epoch from '2026-07-10 16:55:52'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138098 -3.123293)', '2026-07-10 16:56:03', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123293)'))) / (select extract(epoch from '2026-07-10 16:56:03'::timestamp) - extract(epoch from '2026-07-10 16:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123294)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123293)'))) / (select extract(epoch from '2026-07-10 16:56:03'::timestamp) - extract(epoch from '2026-07-10 16:55: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'), 47521, 'SRID=4674;POINT (-39.138098 -3.123302)', '2026-07-10 16:56:08', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123302)'))) / (select extract(epoch from '2026-07-10 16:56:08'::timestamp) - extract(epoch from '2026-07-10 16:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123293)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123302)'))) / (select extract(epoch from '2026-07-10 16:56:08'::timestamp) - extract(epoch from '2026-07-10 16:56: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'), 47521, 'SRID=4674;POINT (-39.138104 -3.123307)', '2026-07-10 16:56:16', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123307)'))) / (select extract(epoch from '2026-07-10 16:56:16'::timestamp) - extract(epoch from '2026-07-10 16:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123307)'))) / (select extract(epoch from '2026-07-10 16:56:16'::timestamp) - extract(epoch from '2026-07-10 16:56: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'), 47521, 'SRID=4674;POINT (-39.138097 -3.123306)', '2026-07-10 16:56:23', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123306)'))) / (select extract(epoch from '2026-07-10 16:56:23'::timestamp) - extract(epoch from '2026-07-10 16:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123306)'))) / (select extract(epoch from '2026-07-10 16:56:23'::timestamp) - extract(epoch from '2026-07-10 16:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138093 -3.123304)', '2026-07-10 16:56:35', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123304)'))) / (select extract(epoch from '2026-07-10 16:56:35'::timestamp) - extract(epoch from '2026-07-10 16:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123304)'))) / (select extract(epoch from '2026-07-10 16:56:35'::timestamp) - extract(epoch from '2026-07-10 16:56: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'), 47521, 'SRID=4674;POINT (-39.138093 -3.123303)', '2026-07-10 16:56:45', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123303)'))) / (select extract(epoch from '2026-07-10 16:56:45'::timestamp) - extract(epoch from '2026-07-10 16:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123303)'))) / (select extract(epoch from '2026-07-10 16:56:45'::timestamp) - extract(epoch from '2026-07-10 16:56: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'), 47521, 'SRID=4674;POINT (-39.138093 -3.123298)', '2026-07-10 16:57:03', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123298)'))) / (select extract(epoch from '2026-07-10 16:57:03'::timestamp) - extract(epoch from '2026-07-10 16:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123298)'))) / (select extract(epoch from '2026-07-10 16:57:03'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138093 -3.123292)', '2026-07-10 16:57:08', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123298)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123292)'))) / (select extract(epoch from '2026-07-10 16:57:08'::timestamp) - extract(epoch from '2026-07-10 16:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123298)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123292)'))) / (select extract(epoch from '2026-07-10 16:57:08'::timestamp) - extract(epoch from '2026-07-10 16:57:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138093 -3.123289)', '2026-07-10 16:57:15', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123292)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123289)'))) / (select extract(epoch from '2026-07-10 16:57:15'::timestamp) - extract(epoch from '2026-07-10 16:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123292)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123289)'))) / (select extract(epoch from '2026-07-10 16:57:15'::timestamp) - extract(epoch from '2026-07-10 16:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138083 -3.123295)', '2026-07-10 16:57:21', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123295)'))) / (select extract(epoch from '2026-07-10 16:57:21'::timestamp) - extract(epoch from '2026-07-10 16:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123289)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123295)'))) / (select extract(epoch from '2026-07-10 16:57:21'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138077 -3.123292)', '2026-07-10 16:57:24', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123292)'))) / (select extract(epoch from '2026-07-10 16:57:24'::timestamp) - extract(epoch from '2026-07-10 16:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123292)'))) / (select extract(epoch from '2026-07-10 16:57:24'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138091 -3.123295)', '2026-07-10 16:57:26', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123292)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123295)'))) / (select extract(epoch from '2026-07-10 16:57:26'::timestamp) - extract(epoch from '2026-07-10 16:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138077 -3.123292)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123295)'))) / (select extract(epoch from '2026-07-10 16:57:26'::timestamp) - extract(epoch from '2026-07-10 16:57: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123297)', '2026-07-10 16:57:27', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:57:27'::timestamp) - extract(epoch from '2026-07-10 16:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123297)'))) / (select extract(epoch from '2026-07-10 16:57:27'::timestamp) - extract(epoch from '2026-07-10 16:57: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'), 47521, 'SRID=4674;POINT (-39.138083 -3.123291)', '2026-07-10 16:57:31', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:57:31'::timestamp) - extract(epoch from '2026-07-10 16:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:57:31'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138083 -3.123283)', '2026-07-10 16:57:38', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123283)'))) / (select extract(epoch from '2026-07-10 16:57:38'::timestamp) - extract(epoch from '2026-07-10 16:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123283)'))) / (select extract(epoch from '2026-07-10 16:57:38'::timestamp) - extract(epoch from '2026-07-10 16:57: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123291)', '2026-07-10 16:57:46', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:57:46'::timestamp) - extract(epoch from '2026-07-10 16:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123283)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:57:46'::timestamp) - extract(epoch from '2026-07-10 16:57: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123301)', '2026-07-10 16:57:56', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123301)'))) / (select extract(epoch from '2026-07-10 16:57:56'::timestamp) - extract(epoch from '2026-07-10 16:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123301)'))) / (select extract(epoch from '2026-07-10 16:57:56'::timestamp) - extract(epoch from '2026-07-10 16:57: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'), 47521, 'SRID=4674;POINT (-39.138089 -3.123288)', '2026-07-10 16:58:05', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123301)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123288)'))) / (select extract(epoch from '2026-07-10 16:58:05'::timestamp) - extract(epoch from '2026-07-10 16:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123301)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123288)'))) / (select extract(epoch from '2026-07-10 16:58:05'::timestamp) - extract(epoch from '2026-07-10 16:57: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123284)', '2026-07-10 16:58:13', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123284)'))) / (select extract(epoch from '2026-07-10 16:58:13'::timestamp) - extract(epoch from '2026-07-10 16:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123284)'))) / (select extract(epoch from '2026-07-10 16:58:13'::timestamp) - extract(epoch from '2026-07-10 16:58: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123284)', '2026-07-10 16:58:23', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123284)'))) / (select extract(epoch from '2026-07-10 16:58:23'::timestamp) - extract(epoch from '2026-07-10 16:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123284)'))) / (select extract(epoch from '2026-07-10 16:58:23'::timestamp) - extract(epoch from '2026-07-10 16:58: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123291)', '2026-07-10 16:58:30', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:58:30'::timestamp) - extract(epoch from '2026-07-10 16:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123284)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123291)'))) / (select extract(epoch from '2026-07-10 16:58:30'::timestamp) - extract(epoch from '2026-07-10 16:58: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123295)', '2026-07-10 16:58:39', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123295)'))) / (select extract(epoch from '2026-07-10 16:58:39'::timestamp) - extract(epoch from '2026-07-10 16:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123295)'))) / (select extract(epoch from '2026-07-10 16:58:39'::timestamp) - extract(epoch from '2026-07-10 16:58: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123301)', '2026-07-10 16:58:46', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123301)'))) / (select extract(epoch from '2026-07-10 16:58:46'::timestamp) - extract(epoch from '2026-07-10 16:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123301)'))) / (select extract(epoch from '2026-07-10 16:58:46'::timestamp) - extract(epoch from '2026-07-10 16:58: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'), 47521, 'SRID=4674;POINT (-39.138088 -3.123315)', '2026-07-10 16:58:53', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123301)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123315)'))) / (select extract(epoch from '2026-07-10 16:58:53'::timestamp) - extract(epoch from '2026-07-10 16:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123301)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123315)'))) / (select extract(epoch from '2026-07-10 16:58:53'::timestamp) - extract(epoch from '2026-07-10 16:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138091 -3.12332)', '2026-07-10 16:59:01', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.12332)'))) / (select extract(epoch from '2026-07-10 16:59:01'::timestamp) - extract(epoch from '2026-07-10 16:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.12332)'))) / (select extract(epoch from '2026-07-10 16:59:01'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138083 -3.123329)', '2026-07-10 16:59:09', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123329)'))) / (select extract(epoch from '2026-07-10 16:59:09'::timestamp) - extract(epoch from '2026-07-10 16:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123329)'))) / (select extract(epoch from '2026-07-10 16:59:09'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.12332)', '2026-07-10 16:59:19', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.12332)'))) / (select extract(epoch from '2026-07-10 16:59:19'::timestamp) - extract(epoch from '2026-07-10 16:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.12332)'))) / (select extract(epoch from '2026-07-10 16:59:19'::timestamp) - extract(epoch from '2026-07-10 16:59: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123314)', '2026-07-10 16:59:26', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123314)'))) / (select extract(epoch from '2026-07-10 16:59:26'::timestamp) - extract(epoch from '2026-07-10 16:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123314)'))) / (select extract(epoch from '2026-07-10 16:59:26'::timestamp) - extract(epoch from '2026-07-10 16:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138076 -3.123313)', '2026-07-10 16:59:33', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123313)'))) / (select extract(epoch from '2026-07-10 16:59:33'::timestamp) - extract(epoch from '2026-07-10 16:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123313)'))) / (select extract(epoch from '2026-07-10 16:59:33'::timestamp) - extract(epoch from '2026-07-10 16:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138076 -3.123308)', '2026-07-10 16:59:44', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123308)'))) / (select extract(epoch from '2026-07-10 16:59:44'::timestamp) - extract(epoch from '2026-07-10 16:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123308)'))) / (select extract(epoch from '2026-07-10 16:59:44'::timestamp) - extract(epoch from '2026-07-10 16:59: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'), 47521, 'SRID=4674;POINT (-39.138078 -3.123313)', '2026-07-10 16:59:49', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123313)'))) / (select extract(epoch from '2026-07-10 16:59:49'::timestamp) - extract(epoch from '2026-07-10 16:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123313)'))) / (select extract(epoch from '2026-07-10 16:59:49'::timestamp) - extract(epoch from '2026-07-10 16:59: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123309)', '2026-07-10 16:59:58', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123309)'))) / (select extract(epoch from '2026-07-10 16:59:58'::timestamp) - extract(epoch from '2026-07-10 16:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123309)'))) / (select extract(epoch from '2026-07-10 16:59:58'::timestamp) - extract(epoch from '2026-07-10 16:59: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'), 47521, 'SRID=4674;POINT (-39.138082 -3.123314)', '2026-07-10 17:00:05', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:00:05'::timestamp) - extract(epoch from '2026-07-10 16:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:00:05'::timestamp) - extract(epoch from '2026-07-10 16:59: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123319)', '2026-07-10 17:00:11', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:00:11'::timestamp) - extract(epoch from '2026-07-10 17:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:00:11'::timestamp) - extract(epoch from '2026-07-10 17:00: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'), 47521, 'SRID=4674;POINT (-39.138079 -3.123321)', '2026-07-10 17:00:18', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123321)'))) / (select extract(epoch from '2026-07-10 17:00:18'::timestamp) - extract(epoch from '2026-07-10 17:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123321)'))) / (select extract(epoch from '2026-07-10 17:00:18'::timestamp) - extract(epoch from '2026-07-10 17:00:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138081 -3.123321)', '2026-07-10 17:00:20', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123321)'))) / (select extract(epoch from '2026-07-10 17:00:20'::timestamp) - extract(epoch from '2026-07-10 17:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123321)'))) / (select extract(epoch from '2026-07-10 17:00:20'::timestamp) - extract(epoch from '2026-07-10 17:00:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138079 -3.123316)', '2026-07-10 17:00:28', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123316)'))) / (select extract(epoch from '2026-07-10 17:00:28'::timestamp) - extract(epoch from '2026-07-10 17:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123316)'))) / (select extract(epoch from '2026-07-10 17:00:28'::timestamp) - extract(epoch from '2026-07-10 17:00: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'), 47521, 'SRID=4674;POINT (-39.138081 -3.123314)', '2026-07-10 17:00:38', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:00:38'::timestamp) - extract(epoch from '2026-07-10 17:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138079 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:00:38'::timestamp) - extract(epoch from '2026-07-10 17:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138082 -3.123312)', '2026-07-10 17:00:47', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123312)'))) / (select extract(epoch from '2026-07-10 17:00:47'::timestamp) - extract(epoch from '2026-07-10 17:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138081 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123312)'))) / (select extract(epoch from '2026-07-10 17:00:47'::timestamp) - extract(epoch from '2026-07-10 17:00: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'), 47521, 'SRID=4674;POINT (-39.138093 -3.123319)', '2026-07-10 17:00:55', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:00:55'::timestamp) - extract(epoch from '2026-07-10 17:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:00:55'::timestamp) - extract(epoch from '2026-07-10 17:00: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'), 47521, 'SRID=4674;POINT (-39.138093 -3.123316)', '2026-07-10 17:01:02', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123316)'))) / (select extract(epoch from '2026-07-10 17:01:02'::timestamp) - extract(epoch from '2026-07-10 17:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123316)'))) / (select extract(epoch from '2026-07-10 17:01:02'::timestamp) - extract(epoch from '2026-07-10 17:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138104 -3.123309)', '2026-07-10 17:01:10', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:01:10'::timestamp) - extract(epoch from '2026-07-10 17:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:01:10'::timestamp) - extract(epoch from '2026-07-10 17:01: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'), 47521, 'SRID=4674;POINT (-39.138101 -3.123314)', '2026-07-10 17:01:17', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:01:17'::timestamp) - extract(epoch from '2026-07-10 17:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:01:17'::timestamp) - extract(epoch from '2026-07-10 17:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138096 -3.123309)', '2026-07-10 17:01:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:01:22'::timestamp) - extract(epoch from '2026-07-10 17:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:01:22'::timestamp) - extract(epoch from '2026-07-10 17:01:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138103 -3.123312)', '2026-07-10 17:01:27', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123312)'))) / (select extract(epoch from '2026-07-10 17:01:27'::timestamp) - extract(epoch from '2026-07-10 17:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123312)'))) / (select extract(epoch from '2026-07-10 17:01:27'::timestamp) - extract(epoch from '2026-07-10 17:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138109 -3.123317)', '2026-07-10 17:01:34', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:01:34'::timestamp) - extract(epoch from '2026-07-10 17:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:01:34'::timestamp) - extract(epoch from '2026-07-10 17: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'), 47521, 'SRID=4674;POINT (-39.138118 -3.123314)', '2026-07-10 17:01:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:01:39'::timestamp) - extract(epoch from '2026-07-10 17:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:01:39'::timestamp) - extract(epoch from '2026-07-10 17:01: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.123325)', '2026-07-10 17:01:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123325)'))) / (select extract(epoch from '2026-07-10 17:01:45'::timestamp) - extract(epoch from '2026-07-10 17:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123325)'))) / (select extract(epoch from '2026-07-10 17:01:45'::timestamp) - extract(epoch from '2026-07-10 17: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'), 47521, 'SRID=4674;POINT (-39.13812 -3.123326)', '2026-07-10 17:01:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:01:53'::timestamp) - extract(epoch from '2026-07-10 17:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:01:53'::timestamp) - extract(epoch from '2026-07-10 17: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'), 47521, 'SRID=4674;POINT (-39.138123 -3.123342)', '2026-07-10 17:02:05', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:02:05'::timestamp) - extract(epoch from '2026-07-10 17:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:02:05'::timestamp) - extract(epoch from '2026-07-10 17:01: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'), 47521, 'SRID=4674;POINT (-39.138116 -3.123336)', '2026-07-10 17:02:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:02:14'::timestamp) - extract(epoch from '2026-07-10 17:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:02:14'::timestamp) - extract(epoch from '2026-07-10 17: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'), 47521, 'SRID=4674;POINT (-39.138115 -3.123342)', '2026-07-10 17:02:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:02:26'::timestamp) - extract(epoch from '2026-07-10 17:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:02:26'::timestamp) - extract(epoch from '2026-07-10 17:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138115 -3.123344)', '2026-07-10 17:02:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123344)'))) / (select extract(epoch from '2026-07-10 17:02:36'::timestamp) - extract(epoch from '2026-07-10 17:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123344)'))) / (select extract(epoch from '2026-07-10 17:02:36'::timestamp) - extract(epoch from '2026-07-10 17:02: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'), 47521, 'SRID=4674;POINT (-39.138114 -3.123346)', '2026-07-10 17:02:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123346)'))) / (select extract(epoch from '2026-07-10 17:02:48'::timestamp) - extract(epoch from '2026-07-10 17:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123346)'))) / (select extract(epoch from '2026-07-10 17:02:48'::timestamp) - extract(epoch from '2026-07-10 17:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138122 -3.123347)', '2026-07-10 17:02:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123347)'))) / (select extract(epoch from '2026-07-10 17:02:55'::timestamp) - extract(epoch from '2026-07-10 17:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123347)'))) / (select extract(epoch from '2026-07-10 17:02:55'::timestamp) - extract(epoch from '2026-07-10 17:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138115 -3.12334)', '2026-07-10 17:03:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:03:01'::timestamp) - extract(epoch from '2026-07-10 17:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:03:01'::timestamp) - extract(epoch from '2026-07-10 17:02: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'), 47521, 'SRID=4674;POINT (-39.138122 -3.123338)', '2026-07-10 17:03:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:03:06'::timestamp) - extract(epoch from '2026-07-10 17:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:03:06'::timestamp) - extract(epoch from '2026-07-10 17:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138128 -3.123323)', '2026-07-10 17:03:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123323)'))) / (select extract(epoch from '2026-07-10 17:03:13'::timestamp) - extract(epoch from '2026-07-10 17:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123323)'))) / (select extract(epoch from '2026-07-10 17:03:13'::timestamp) - extract(epoch from '2026-07-10 17:03: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123314)', '2026-07-10 17:03:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:03:23'::timestamp) - extract(epoch from '2026-07-10 17:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:03:23'::timestamp) - extract(epoch from '2026-07-10 17:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13812 -3.123302)', '2026-07-10 17:03:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123302)'))) / (select extract(epoch from '2026-07-10 17:03:34'::timestamp) - extract(epoch from '2026-07-10 17:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123302)'))) / (select extract(epoch from '2026-07-10 17:03:34'::timestamp) - extract(epoch from '2026-07-10 17:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138122 -3.123298)', '2026-07-10 17:03:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123298)'))) / (select extract(epoch from '2026-07-10 17:03:41'::timestamp) - extract(epoch from '2026-07-10 17:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123298)'))) / (select extract(epoch from '2026-07-10 17:03:41'::timestamp) - extract(epoch from '2026-07-10 17: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'), 47521, 'SRID=4674;POINT (-39.138123 -3.123306)', '2026-07-10 17:03:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123298)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:03:48'::timestamp) - extract(epoch from '2026-07-10 17:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123298)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:03:48'::timestamp) - extract(epoch from '2026-07-10 17:03: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'), 47521, 'SRID=4674;POINT (-39.138135 -3.123307)', '2026-07-10 17:03:57', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123307)'))) / (select extract(epoch from '2026-07-10 17:03:57'::timestamp) - extract(epoch from '2026-07-10 17:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123307)'))) / (select extract(epoch from '2026-07-10 17:03:57'::timestamp) - extract(epoch from '2026-07-10 17:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138134 -3.123306)', '2026-07-10 17:04:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:04:01'::timestamp) - extract(epoch from '2026-07-10 17:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:04:01'::timestamp) - extract(epoch from '2026-07-10 17:03: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'), 47521, 'SRID=4674;POINT (-39.138129 -3.123309)', '2026-07-10 17:04:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:04:04'::timestamp) - extract(epoch from '2026-07-10 17:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:04:04'::timestamp) - extract(epoch from '2026-07-10 17:04: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'), 47521, 'SRID=4674;POINT (-39.138134 -3.123307)', '2026-07-10 17:04:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123307)'))) / (select extract(epoch from '2026-07-10 17:04:13'::timestamp) - extract(epoch from '2026-07-10 17:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123307)'))) / (select extract(epoch from '2026-07-10 17:04:13'::timestamp) - extract(epoch from '2026-07-10 17: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'), 47521, 'SRID=4674;POINT (-39.138128 -3.123302)', '2026-07-10 17:04:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123302)'))) / (select extract(epoch from '2026-07-10 17:04:21'::timestamp) - extract(epoch from '2026-07-10 17:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123302)'))) / (select extract(epoch from '2026-07-10 17:04:21'::timestamp) - extract(epoch from '2026-07-10 17:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.123297)', '2026-07-10 17:04:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123297)'))) / (select extract(epoch from '2026-07-10 17:04:32'::timestamp) - extract(epoch from '2026-07-10 17:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123297)'))) / (select extract(epoch from '2026-07-10 17:04:32'::timestamp) - extract(epoch from '2026-07-10 17:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138118 -3.123304)', '2026-07-10 17:04:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:04:39'::timestamp) - extract(epoch from '2026-07-10 17:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:04:39'::timestamp) - extract(epoch from '2026-07-10 17:04: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.123308)', '2026-07-10 17:04:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:04:49'::timestamp) - extract(epoch from '2026-07-10 17:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:04:49'::timestamp) - extract(epoch from '2026-07-10 17:04: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'), 47521, 'SRID=4674;POINT (-39.138113 -3.123303)', '2026-07-10 17:04:58', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138113 -3.123303)'))) / (select extract(epoch from '2026-07-10 17:04:58'::timestamp) - extract(epoch from '2026-07-10 17:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138113 -3.123303)'))) / (select extract(epoch from '2026-07-10 17:04:58'::timestamp) - extract(epoch from '2026-07-10 17:04: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'), 47521, 'SRID=4674;POINT (-39.138104 -3.123306)', '2026-07-10 17:05:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138113 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:05:04'::timestamp) - extract(epoch from '2026-07-10 17:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138113 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:05:04'::timestamp) - extract(epoch from '2026-07-10 17: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'), 47521, 'SRID=4674;POINT (-39.138093 -3.123313)', '2026-07-10 17:05:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123313)'))) / (select extract(epoch from '2026-07-10 17:05:14'::timestamp) - extract(epoch from '2026-07-10 17:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123313)'))) / (select extract(epoch from '2026-07-10 17:05:14'::timestamp) - extract(epoch from '2026-07-10 17:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138099 -3.12332)', '2026-07-10 17:05:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.12332)'))) / (select extract(epoch from '2026-07-10 17:05:25'::timestamp) - extract(epoch from '2026-07-10 17:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.12332)'))) / (select extract(epoch from '2026-07-10 17:05:25'::timestamp) - extract(epoch from '2026-07-10 17:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138094 -3.123317)', '2026-07-10 17:05:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:05:31'::timestamp) - extract(epoch from '2026-07-10 17:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:05:31'::timestamp) - extract(epoch from '2026-07-10 17:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138088 -3.123317)', '2026-07-10 17:05:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:05:39'::timestamp) - extract(epoch from '2026-07-10 17:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:05:39'::timestamp) - extract(epoch from '2026-07-10 17:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138089 -3.123311)', '2026-07-10 17:05:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:05:50'::timestamp) - extract(epoch from '2026-07-10 17:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:05:50'::timestamp) - extract(epoch from '2026-07-10 17:05: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123311)', '2026-07-10 17:05:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:05:56'::timestamp) - extract(epoch from '2026-07-10 17:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:05:56'::timestamp) - extract(epoch from '2026-07-10 17:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138083 -3.123308)', '2026-07-10 17:06:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:06:08'::timestamp) - extract(epoch from '2026-07-10 17:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:06:08'::timestamp) - extract(epoch from '2026-07-10 17:05: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123312)', '2026-07-10 17:06:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123312)'))) / (select extract(epoch from '2026-07-10 17:06:14'::timestamp) - extract(epoch from '2026-07-10 17:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123312)'))) / (select extract(epoch from '2026-07-10 17:06:14'::timestamp) - extract(epoch from '2026-07-10 17:06: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'), 47521, 'SRID=4674;POINT (-39.13808 -3.123308)', '2026-07-10 17:06:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:06:30'::timestamp) - extract(epoch from '2026-07-10 17:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:06:30'::timestamp) - extract(epoch from '2026-07-10 17:06:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138083 -3.123302)', '2026-07-10 17:06:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123302)'))) / (select extract(epoch from '2026-07-10 17:06:36'::timestamp) - extract(epoch from '2026-07-10 17:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123302)'))) / (select extract(epoch from '2026-07-10 17:06:36'::timestamp) - extract(epoch from '2026-07-10 17:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138082 -3.123309)', '2026-07-10 17:06:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:06:41'::timestamp) - extract(epoch from '2026-07-10 17:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:06:41'::timestamp) - extract(epoch from '2026-07-10 17:06: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123315)', '2026-07-10 17:06:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:06:51'::timestamp) - extract(epoch from '2026-07-10 17:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:06:51'::timestamp) - extract(epoch from '2026-07-10 17:06: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123315)', '2026-07-10 17:06:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:06:56'::timestamp) - extract(epoch from '2026-07-10 17:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:06:56'::timestamp) - extract(epoch from '2026-07-10 17:06: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'), 47521, 'SRID=4674;POINT (-39.138084 -3.123315)', '2026-07-10 17:07:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:07:02'::timestamp) - extract(epoch from '2026-07-10 17:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:07:02'::timestamp) - extract(epoch from '2026-07-10 17:06: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123304)', '2026-07-10 17:07:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:07:10'::timestamp) - extract(epoch from '2026-07-10 17:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:07:10'::timestamp) - extract(epoch from '2026-07-10 17:07: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'), 47521, 'SRID=4674;POINT (-39.13809 -3.123304)', '2026-07-10 17:07:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:07:21'::timestamp) - extract(epoch from '2026-07-10 17:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:07:21'::timestamp) - extract(epoch from '2026-07-10 17:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138093 -3.123303)', '2026-07-10 17:07:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123303)'))) / (select extract(epoch from '2026-07-10 17:07:31'::timestamp) - extract(epoch from '2026-07-10 17:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123303)'))) / (select extract(epoch from '2026-07-10 17:07:31'::timestamp) - extract(epoch from '2026-07-10 17:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138096 -3.123304)', '2026-07-10 17:07:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:07:39'::timestamp) - extract(epoch from '2026-07-10 17:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:07:39'::timestamp) - extract(epoch from '2026-07-10 17:07: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'), 47521, 'SRID=4674;POINT (-39.138088 -3.123305)', '2026-07-10 17:07:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123305)'))) / (select extract(epoch from '2026-07-10 17:07:48'::timestamp) - extract(epoch from '2026-07-10 17:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123305)'))) / (select extract(epoch from '2026-07-10 17:07:48'::timestamp) - extract(epoch from '2026-07-10 17:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138082 -3.123303)', '2026-07-10 17:07:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123303)'))) / (select extract(epoch from '2026-07-10 17:07:55'::timestamp) - extract(epoch from '2026-07-10 17:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123303)'))) / (select extract(epoch from '2026-07-10 17:07:55'::timestamp) - extract(epoch from '2026-07-10 17:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138076 -3.1233)', '2026-07-10 17:08:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.1233)'))) / (select extract(epoch from '2026-07-10 17:08:02'::timestamp) - extract(epoch from '2026-07-10 17:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.1233)'))) / (select extract(epoch from '2026-07-10 17:08:02'::timestamp) - extract(epoch from '2026-07-10 17:07:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13808 -3.123304)', '2026-07-10 17:08:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:08:19'::timestamp) - extract(epoch from '2026-07-10 17:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138076 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:08:19'::timestamp) - extract(epoch from '2026-07-10 17:08:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138074 -3.123295)', '2026-07-10 17:08:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123295)'))) / (select extract(epoch from '2026-07-10 17:08:29'::timestamp) - extract(epoch from '2026-07-10 17:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123295)'))) / (select extract(epoch from '2026-07-10 17:08:29'::timestamp) - extract(epoch from '2026-07-10 17:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138078 -3.123303)', '2026-07-10 17:08:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123303)'))) / (select extract(epoch from '2026-07-10 17:08:36'::timestamp) - extract(epoch from '2026-07-10 17:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138074 -3.123295)'), GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123303)'))) / (select extract(epoch from '2026-07-10 17:08:36'::timestamp) - extract(epoch from '2026-07-10 17:08: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123307)', '2026-07-10 17:08:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123307)'))) / (select extract(epoch from '2026-07-10 17:08:46'::timestamp) - extract(epoch from '2026-07-10 17:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138078 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123307)'))) / (select extract(epoch from '2026-07-10 17:08:46'::timestamp) - extract(epoch from '2026-07-10 17:08: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'), 47521, 'SRID=4674;POINT (-39.138088 -3.123308)', '2026-07-10 17:08:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:08:55'::timestamp) - extract(epoch from '2026-07-10 17:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:08:55'::timestamp) - extract(epoch from '2026-07-10 17:08: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123307)', '2026-07-10 17:09:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123307)'))) / (select extract(epoch from '2026-07-10 17:09:05'::timestamp) - extract(epoch from '2026-07-10 17:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123307)'))) / (select extract(epoch from '2026-07-10 17:09:05'::timestamp) - extract(epoch from '2026-07-10 17:08: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'), 47521, 'SRID=4674;POINT (-39.13809 -3.123309)', '2026-07-10 17:09:07', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:09:07'::timestamp) - extract(epoch from '2026-07-10 17:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:09:07'::timestamp) - extract(epoch from '2026-07-10 17:09: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'), 47521, 'SRID=4674;POINT (-39.138091 -3.123313)', '2026-07-10 17:09:10', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123313)'))) / (select extract(epoch from '2026-07-10 17:09:10'::timestamp) - extract(epoch from '2026-07-10 17:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123313)'))) / (select extract(epoch from '2026-07-10 17:09:10'::timestamp) - extract(epoch from '2026-07-10 17:09: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'), 47521, 'SRID=4674;POINT (-39.138089 -3.123306)', '2026-07-10 17:09:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:09:18'::timestamp) - extract(epoch from '2026-07-10 17:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:09:18'::timestamp) - extract(epoch from '2026-07-10 17:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138089 -3.123301)', '2026-07-10 17:09:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123301)'))) / (select extract(epoch from '2026-07-10 17:09:28'::timestamp) - extract(epoch from '2026-07-10 17:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123301)'))) / (select extract(epoch from '2026-07-10 17:09:28'::timestamp) - extract(epoch from '2026-07-10 17:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138087 -3.123303)', '2026-07-10 17:09:37', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123301)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123303)'))) / (select extract(epoch from '2026-07-10 17:09:37'::timestamp) - extract(epoch from '2026-07-10 17:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123301)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123303)'))) / (select extract(epoch from '2026-07-10 17:09:37'::timestamp) - extract(epoch from '2026-07-10 17:09:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138089 -3.1233)', '2026-07-10 17:09:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.1233)'))) / (select extract(epoch from '2026-07-10 17:09:45'::timestamp) - extract(epoch from '2026-07-10 17:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.1233)'))) / (select extract(epoch from '2026-07-10 17:09:45'::timestamp) - extract(epoch from '2026-07-10 17:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138084 -3.123291)', '2026-07-10 17:09:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123291)'))) / (select extract(epoch from '2026-07-10 17:09:53'::timestamp) - extract(epoch from '2026-07-10 17:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123291)'))) / (select extract(epoch from '2026-07-10 17:09:53'::timestamp) - extract(epoch from '2026-07-10 17:09: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'), 47521, 'SRID=4674;POINT (-39.138097 -3.123288)', '2026-07-10 17:10:00', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123288)'))) / (select extract(epoch from '2026-07-10 17:10:00'::timestamp) - extract(epoch from '2026-07-10 17:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123291)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123288)'))) / (select extract(epoch from '2026-07-10 17:10:00'::timestamp) - extract(epoch from '2026-07-10 17:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138101 -3.123292)', '2026-07-10 17:10:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123292)'))) / (select extract(epoch from '2026-07-10 17:10:03'::timestamp) - extract(epoch from '2026-07-10 17:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123288)'), GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123292)'))) / (select extract(epoch from '2026-07-10 17:10:03'::timestamp) - extract(epoch from '2026-07-10 17:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138105 -3.123296)', '2026-07-10 17:10:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123292)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123296)'))) / (select extract(epoch from '2026-07-10 17:10:05'::timestamp) - extract(epoch from '2026-07-10 17:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123292)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123296)'))) / (select extract(epoch from '2026-07-10 17:10:05'::timestamp) - extract(epoch from '2026-07-10 17:10: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123305)', '2026-07-10 17:10:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123305)'))) / (select extract(epoch from '2026-07-10 17:10:11'::timestamp) - extract(epoch from '2026-07-10 17:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123305)'))) / (select extract(epoch from '2026-07-10 17:10:11'::timestamp) - extract(epoch from '2026-07-10 17:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138083 -3.123305)', '2026-07-10 17:10:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123305)'))) / (select extract(epoch from '2026-07-10 17:10:15'::timestamp) - extract(epoch from '2026-07-10 17:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123305)'))) / (select extract(epoch from '2026-07-10 17:10:15'::timestamp) - extract(epoch from '2026-07-10 17:10: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'), 47521, 'SRID=4674;POINT (-39.138085 -3.123313)', '2026-07-10 17:10:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123313)'))) / (select extract(epoch from '2026-07-10 17:10:18'::timestamp) - extract(epoch from '2026-07-10 17:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123313)'))) / (select extract(epoch from '2026-07-10 17:10:18'::timestamp) - extract(epoch from '2026-07-10 17:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138086 -3.123308)', '2026-07-10 17:10:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:10:31'::timestamp) - extract(epoch from '2026-07-10 17:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:10:31'::timestamp) - extract(epoch from '2026-07-10 17:10: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'), 47521, 'SRID=4674;POINT (-39.138083 -3.123305)', '2026-07-10 17:10:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123305)'))) / (select extract(epoch from '2026-07-10 17:10:42'::timestamp) - extract(epoch from '2026-07-10 17:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123305)'))) / (select extract(epoch from '2026-07-10 17:10:42'::timestamp) - extract(epoch from '2026-07-10 17:10: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'), 47521, 'SRID=4674;POINT (-39.138092 -3.123296)', '2026-07-10 17:10:53', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123296)'))) / (select extract(epoch from '2026-07-10 17:10:53'::timestamp) - extract(epoch from '2026-07-10 17:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123296)'))) / (select extract(epoch from '2026-07-10 17:10:53'::timestamp) - extract(epoch from '2026-07-10 17:10: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'), 47521, 'SRID=4674;POINT (-39.138092 -3.1233)', '2026-07-10 17:11:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.1233)'))) / (select extract(epoch from '2026-07-10 17:11:01'::timestamp) - extract(epoch from '2026-07-10 17:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123296)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.1233)'))) / (select extract(epoch from '2026-07-10 17:11:01'::timestamp) - extract(epoch from '2026-07-10 17:10: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'), 47521, 'SRID=4674;POINT (-39.1381 -3.123306)', '2026-07-10 17:11:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:11:12'::timestamp) - extract(epoch from '2026-07-10 17:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:11:12'::timestamp) - extract(epoch from '2026-07-10 17:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138097 -3.123323)', '2026-07-10 17:11:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123323)'))) / (select extract(epoch from '2026-07-10 17:11:21'::timestamp) - extract(epoch from '2026-07-10 17:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123323)'))) / (select extract(epoch from '2026-07-10 17:11:21'::timestamp) - extract(epoch from '2026-07-10 17:11:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.1381 -3.123319)', '2026-07-10 17:11:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:11:34'::timestamp) - extract(epoch from '2026-07-10 17:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:11:34'::timestamp) - extract(epoch from '2026-07-10 17:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138094 -3.123311)', '2026-07-10 17:11:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:11:40'::timestamp) - extract(epoch from '2026-07-10 17:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:11:40'::timestamp) - extract(epoch from '2026-07-10 17:11: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'), 47521, 'SRID=4674;POINT (-39.138087 -3.123317)', '2026-07-10 17:11:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:11:48'::timestamp) - extract(epoch from '2026-07-10 17:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:11:48'::timestamp) - extract(epoch from '2026-07-10 17:11: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'), 47521, 'SRID=4674;POINT (-39.138089 -3.123315)', '2026-07-10 17:11:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:11:54'::timestamp) - extract(epoch from '2026-07-10 17:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:11:54'::timestamp) - extract(epoch from '2026-07-10 17:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138096 -3.123308)', '2026-07-10 17:11:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:11:59'::timestamp) - extract(epoch from '2026-07-10 17:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:11:59'::timestamp) - extract(epoch from '2026-07-10 17:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138095 -3.123312)', '2026-07-10 17:12:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123312)'))) / (select extract(epoch from '2026-07-10 17:12:06'::timestamp) - extract(epoch from '2026-07-10 17:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123312)'))) / (select extract(epoch from '2026-07-10 17:12:06'::timestamp) - extract(epoch from '2026-07-10 17:11: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'), 47521, 'SRID=4674;POINT (-39.138101 -3.123312)', '2026-07-10 17:12:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123312)'))) / (select extract(epoch from '2026-07-10 17:12:07'::timestamp) - extract(epoch from '2026-07-10 17:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138095 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123312)'))) / (select extract(epoch from '2026-07-10 17:12:07'::timestamp) - extract(epoch from '2026-07-10 17:12: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'), 47521, 'SRID=4674;POINT (-39.138097 -3.12331)', '2026-07-10 17:12:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.12331)'))) / (select extract(epoch from '2026-07-10 17:12:12'::timestamp) - extract(epoch from '2026-07-10 17:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.12331)'))) / (select extract(epoch from '2026-07-10 17:12:12'::timestamp) - extract(epoch from '2026-07-10 17:12: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'), 47521, 'SRID=4674;POINT (-39.138107 -3.123309)', '2026-07-10 17:12:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:12:23'::timestamp) - extract(epoch from '2026-07-10 17:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:12:23'::timestamp) - extract(epoch from '2026-07-10 17:12: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'), 47521, 'SRID=4674;POINT (-39.138104 -3.123309)', '2026-07-10 17:12:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:12:32'::timestamp) - extract(epoch from '2026-07-10 17:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:12:32'::timestamp) - extract(epoch from '2026-07-10 17:12: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'), 47521, 'SRID=4674;POINT (-39.138099 -3.123306)', '2026-07-10 17:12:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:12:42'::timestamp) - extract(epoch from '2026-07-10 17:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:12:42'::timestamp) - extract(epoch from '2026-07-10 17:12: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'), 47521, 'SRID=4674;POINT (-39.138105 -3.123314)', '2026-07-10 17:12:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:12:46'::timestamp) - extract(epoch from '2026-07-10 17:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:12:46'::timestamp) - extract(epoch from '2026-07-10 17:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138103 -3.123311)', '2026-07-10 17:12:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:12:52'::timestamp) - extract(epoch from '2026-07-10 17:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:12:52'::timestamp) - extract(epoch from '2026-07-10 17:12: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'), 47521, 'SRID=4674;POINT (-39.138109 -3.123319)', '2026-07-10 17:12:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:12:57'::timestamp) - extract(epoch from '2026-07-10 17:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:12:57'::timestamp) - extract(epoch from '2026-07-10 17:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138093 -3.123329)', '2026-07-10 17:13:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123329)'))) / (select extract(epoch from '2026-07-10 17:13:03'::timestamp) - extract(epoch from '2026-07-10 17:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123329)'))) / (select extract(epoch from '2026-07-10 17:13:03'::timestamp) - extract(epoch from '2026-07-10 17:12: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'), 47521, 'SRID=4674;POINT (-39.1381 -3.123336)', '2026-07-10 17:13:07', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:13:07'::timestamp) - extract(epoch from '2026-07-10 17:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:13:07'::timestamp) - extract(epoch from '2026-07-10 17:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138106 -3.123331)', '2026-07-10 17:13:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123331)'))) / (select extract(epoch from '2026-07-10 17:13:17'::timestamp) - extract(epoch from '2026-07-10 17:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1381 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123331)'))) / (select extract(epoch from '2026-07-10 17:13:17'::timestamp) - extract(epoch from '2026-07-10 17:13: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'), 47521, 'SRID=4674;POINT (-39.138105 -3.123342)', '2026-07-10 17:13:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:13:30'::timestamp) - extract(epoch from '2026-07-10 17:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:13:30'::timestamp) - extract(epoch from '2026-07-10 17:13: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'), 47521, 'SRID=4674;POINT (-39.138103 -3.123341)', '2026-07-10 17:13:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123341)'))) / (select extract(epoch from '2026-07-10 17:13:36'::timestamp) - extract(epoch from '2026-07-10 17:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123341)'))) / (select extract(epoch from '2026-07-10 17:13:36'::timestamp) - extract(epoch from '2026-07-10 17:13: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'), 47521, 'SRID=4674;POINT (-39.138103 -3.123348)', '2026-07-10 17:13:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123348)'))) / (select extract(epoch from '2026-07-10 17:13:46'::timestamp) - extract(epoch from '2026-07-10 17:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123348)'))) / (select extract(epoch from '2026-07-10 17:13:46'::timestamp) - extract(epoch from '2026-07-10 17:13: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'), 47521, 'SRID=4674;POINT (-39.138099 -3.123343)', '2026-07-10 17:13:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:13:52'::timestamp) - extract(epoch from '2026-07-10 17:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:13:52'::timestamp) - extract(epoch from '2026-07-10 17:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138103 -3.123335)', '2026-07-10 17:14:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123335)'))) / (select extract(epoch from '2026-07-10 17:14:01'::timestamp) - extract(epoch from '2026-07-10 17:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123335)'))) / (select extract(epoch from '2026-07-10 17:14:01'::timestamp) - extract(epoch from '2026-07-10 17:13: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'), 47521, 'SRID=4674;POINT (-39.138098 -3.123331)', '2026-07-10 17:14:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123331)'))) / (select extract(epoch from '2026-07-10 17:14:07'::timestamp) - extract(epoch from '2026-07-10 17:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123331)'))) / (select extract(epoch from '2026-07-10 17:14:07'::timestamp) - extract(epoch from '2026-07-10 17:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138084 -3.123327)', '2026-07-10 17:14:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123327)'))) / (select extract(epoch from '2026-07-10 17:14:14'::timestamp) - extract(epoch from '2026-07-10 17:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123327)'))) / (select extract(epoch from '2026-07-10 17:14:14'::timestamp) - extract(epoch from '2026-07-10 17:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138085 -3.123326)', '2026-07-10 17:14:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:14:25'::timestamp) - extract(epoch from '2026-07-10 17:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:14:25'::timestamp) - extract(epoch from '2026-07-10 17:14:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138085 -3.123323)', '2026-07-10 17:14:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123323)'))) / (select extract(epoch from '2026-07-10 17:14:31'::timestamp) - extract(epoch from '2026-07-10 17:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123323)'))) / (select extract(epoch from '2026-07-10 17:14:31'::timestamp) - extract(epoch from '2026-07-10 17:14: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'), 47521, 'SRID=4674;POINT (-39.13808 -3.123324)', '2026-07-10 17:14:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:14:38'::timestamp) - extract(epoch from '2026-07-10 17:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138085 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:14:38'::timestamp) - extract(epoch from '2026-07-10 17:14: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'), 47521, 'SRID=4674;POINT (-39.138096 -3.123319)', '2026-07-10 17:14:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:14:45'::timestamp) - extract(epoch from '2026-07-10 17:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13808 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:14:45'::timestamp) - extract(epoch from '2026-07-10 17:14: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'), 47521, 'SRID=4674;POINT (-39.138106 -3.123309)', '2026-07-10 17:14:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:14:53'::timestamp) - extract(epoch from '2026-07-10 17:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:14:53'::timestamp) - extract(epoch from '2026-07-10 17:14: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'), 47521, 'SRID=4674;POINT (-39.138104 -3.123306)', '2026-07-10 17:14:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:14:58'::timestamp) - extract(epoch from '2026-07-10 17:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138106 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123306)'))) / (select extract(epoch from '2026-07-10 17:14:58'::timestamp) - extract(epoch from '2026-07-10 17:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138111 -3.12331)', '2026-07-10 17:15:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.12331)'))) / (select extract(epoch from '2026-07-10 17:15:13'::timestamp) - extract(epoch from '2026-07-10 17:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.12331)'))) / (select extract(epoch from '2026-07-10 17:15:13'::timestamp) - extract(epoch from '2026-07-10 17:14: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'), 47521, 'SRID=4674;POINT (-39.138117 -3.123307)', '2026-07-10 17:15:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123307)'))) / (select extract(epoch from '2026-07-10 17:15:25'::timestamp) - extract(epoch from '2026-07-10 17:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123307)'))) / (select extract(epoch from '2026-07-10 17:15:25'::timestamp) - extract(epoch from '2026-07-10 17:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138108 -3.123315)', '2026-07-10 17:15:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:15:32'::timestamp) - extract(epoch from '2026-07-10 17:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123307)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:15:32'::timestamp) - extract(epoch from '2026-07-10 17:15: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'), 47521, 'SRID=4674;POINT (-39.138097 -3.123311)', '2026-07-10 17:15:41', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:15:41'::timestamp) - extract(epoch from '2026-07-10 17:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:15:41'::timestamp) - extract(epoch from '2026-07-10 17:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138099 -3.123309)', '2026-07-10 17:15:43', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:15:43'::timestamp) - extract(epoch from '2026-07-10 17:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123309)'))) / (select extract(epoch from '2026-07-10 17:15:43'::timestamp) - extract(epoch from '2026-07-10 17:15: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'), 47521, 'SRID=4674;POINT (-39.138101 -3.123314)', '2026-07-10 17:15:45', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:15:45'::timestamp) - extract(epoch from '2026-07-10 17:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123314)'))) / (select extract(epoch from '2026-07-10 17:15:45'::timestamp) - extract(epoch from '2026-07-10 17:15: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'), 47521, 'SRID=4674;POINT (-39.138088 -3.123316)', '2026-07-10 17:15:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123316)'))) / (select extract(epoch from '2026-07-10 17:15:55'::timestamp) - extract(epoch from '2026-07-10 17:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123316)'))) / (select extract(epoch from '2026-07-10 17:15:55'::timestamp) - extract(epoch from '2026-07-10 17:15: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'), 47521, 'SRID=4674;POINT (-39.138091 -3.123315)', '2026-07-10 17:16:02', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:16:02'::timestamp) - extract(epoch from '2026-07-10 17:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123315)'))) / (select extract(epoch from '2026-07-10 17:16:02'::timestamp) - extract(epoch from '2026-07-10 17:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13809 -3.123319)', '2026-07-10 17:16:12', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:16:12'::timestamp) - extract(epoch from '2026-07-10 17:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123319)'))) / (select extract(epoch from '2026-07-10 17:16:12'::timestamp) - extract(epoch from '2026-07-10 17:16:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138089 -3.123321)', '2026-07-10 17:16:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123321)'))) / (select extract(epoch from '2026-07-10 17:16:24'::timestamp) - extract(epoch from '2026-07-10 17:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13809 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123321)'))) / (select extract(epoch from '2026-07-10 17:16:24'::timestamp) - extract(epoch from '2026-07-10 17:16: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'), 47521, 'SRID=4674;POINT (-39.138086 -3.123326)', '2026-07-10 17:16:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:16:30'::timestamp) - extract(epoch from '2026-07-10 17:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138089 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:16:30'::timestamp) - extract(epoch from '2026-07-10 17:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138084 -3.123327)', '2026-07-10 17:16:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123327)'))) / (select extract(epoch from '2026-07-10 17:16:43'::timestamp) - extract(epoch from '2026-07-10 17:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138086 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123327)'))) / (select extract(epoch from '2026-07-10 17:16:43'::timestamp) - extract(epoch from '2026-07-10 17:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138083 -3.123325)', '2026-07-10 17:16:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123325)'))) / (select extract(epoch from '2026-07-10 17:16:57'::timestamp) - extract(epoch from '2026-07-10 17:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138084 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123325)'))) / (select extract(epoch from '2026-07-10 17:16:57'::timestamp) - extract(epoch from '2026-07-10 17:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138087 -3.123317)', '2026-07-10 17:17:09', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:17:09'::timestamp) - extract(epoch from '2026-07-10 17:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138083 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:17:09'::timestamp) - extract(epoch from '2026-07-10 17:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138082 -3.123317)', '2026-07-10 17:17:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:17:17'::timestamp) - extract(epoch from '2026-07-10 17:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138087 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123317)'))) / (select extract(epoch from '2026-07-10 17:17:17'::timestamp) - extract(epoch from '2026-07-10 17:17: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'), 47521, 'SRID=4674;POINT (-39.138101 -3.123321)', '2026-07-10 17:17:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123321)'))) / (select extract(epoch from '2026-07-10 17:17:26'::timestamp) - extract(epoch from '2026-07-10 17:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138082 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123321)'))) / (select extract(epoch from '2026-07-10 17:17:26'::timestamp) - extract(epoch from '2026-07-10 17:17: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'), 47521, 'SRID=4674;POINT (-39.138094 -3.123324)', '2026-07-10 17:17:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:17:32'::timestamp) - extract(epoch from '2026-07-10 17:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138101 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:17:32'::timestamp) - extract(epoch from '2026-07-10 17:17: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'), 47521, 'SRID=4674;POINT (-39.138097 -3.123325)', '2026-07-10 17:17:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123325)'))) / (select extract(epoch from '2026-07-10 17:17:41'::timestamp) - extract(epoch from '2026-07-10 17:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138094 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123325)'))) / (select extract(epoch from '2026-07-10 17:17:41'::timestamp) - extract(epoch from '2026-07-10 17:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138098 -3.12332)', '2026-07-10 17:17:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.12332)'))) / (select extract(epoch from '2026-07-10 17:17:48'::timestamp) - extract(epoch from '2026-07-10 17:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.12332)'))) / (select extract(epoch from '2026-07-10 17:17:48'::timestamp) - extract(epoch from '2026-07-10 17:17: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'), 47521, 'SRID=4674;POINT (-39.138097 -3.123324)', '2026-07-10 17:17:58', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:17:58'::timestamp) - extract(epoch from '2026-07-10 17:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:17:58'::timestamp) - extract(epoch from '2026-07-10 17:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138092 -3.123326)', '2026-07-10 17:18:04', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:18:04'::timestamp) - extract(epoch from '2026-07-10 17:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138097 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:18:04'::timestamp) - extract(epoch from '2026-07-10 17:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138093 -3.12332)', '2026-07-10 17:18:11', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12332)'))) / (select extract(epoch from '2026-07-10 17:18:11'::timestamp) - extract(epoch from '2026-07-10 17:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12332)'))) / (select extract(epoch from '2026-07-10 17:18:11'::timestamp) - extract(epoch from '2026-07-10 17:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138088 -3.123316)', '2026-07-10 17:18:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123316)'))) / (select extract(epoch from '2026-07-10 17:18:18'::timestamp) - extract(epoch from '2026-07-10 17:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138093 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123316)'))) / (select extract(epoch from '2026-07-10 17:18:18'::timestamp) - extract(epoch from '2026-07-10 17:18: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'), 47521, 'SRID=4674;POINT (-39.138099 -3.123304)', '2026-07-10 17:18:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:18:23'::timestamp) - extract(epoch from '2026-07-10 17:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138088 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:18:23'::timestamp) - extract(epoch from '2026-07-10 17:18: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'), 47521, 'SRID=4674;POINT (-39.138096 -3.123308)', '2026-07-10 17:18:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:18:33'::timestamp) - extract(epoch from '2026-07-10 17:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123308)'))) / (select extract(epoch from '2026-07-10 17:18:33'::timestamp) - extract(epoch from '2026-07-10 17:18: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'), 47521, 'SRID=4674;POINT (-39.138103 -3.123304)', '2026-07-10 17:18:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:18:40'::timestamp) - extract(epoch from '2026-07-10 17:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138096 -3.123308)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123304)'))) / (select extract(epoch from '2026-07-10 17:18:40'::timestamp) - extract(epoch from '2026-07-10 17:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138098 -3.123311)', '2026-07-10 17:18:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:18:47'::timestamp) - extract(epoch from '2026-07-10 17:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123304)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:18:47'::timestamp) - extract(epoch from '2026-07-10 17:18: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'), 47521, 'SRID=4674;POINT (-39.138091 -3.123311)', '2026-07-10 17:18:58', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:18:58'::timestamp) - extract(epoch from '2026-07-10 17:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123311)'))) / (select extract(epoch from '2026-07-10 17:18:58'::timestamp) - extract(epoch from '2026-07-10 17:18: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'), 47521, 'SRID=4674;POINT (-39.138092 -3.12332)', '2026-07-10 17:19:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12332)'))) / (select extract(epoch from '2026-07-10 17:19:08'::timestamp) - extract(epoch from '2026-07-10 17:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138091 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12332)'))) / (select extract(epoch from '2026-07-10 17:19:08'::timestamp) - extract(epoch from '2026-07-10 17:18: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'), 47521, 'SRID=4674;POINT (-39.138099 -3.123316)', '2026-07-10 17:19:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123316)'))) / (select extract(epoch from '2026-07-10 17:19:22'::timestamp) - extract(epoch from '2026-07-10 17:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138092 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123316)'))) / (select extract(epoch from '2026-07-10 17:19:22'::timestamp) - extract(epoch from '2026-07-10 17:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138098 -3.123318)', '2026-07-10 17:19:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123318)'))) / (select extract(epoch from '2026-07-10 17:19:34'::timestamp) - extract(epoch from '2026-07-10 17:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138099 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123318)'))) / (select extract(epoch from '2026-07-10 17:19:34'::timestamp) - extract(epoch from '2026-07-10 17:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138105 -3.12333)', '2026-07-10 17:19:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.12333)'))) / (select extract(epoch from '2026-07-10 17:19:46'::timestamp) - extract(epoch from '2026-07-10 17:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138098 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.12333)'))) / (select extract(epoch from '2026-07-10 17:19:46'::timestamp) - extract(epoch from '2026-07-10 17:19: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'), 47521, 'SRID=4674;POINT (-39.138107 -3.123341)', '2026-07-10 17:19:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123341)'))) / (select extract(epoch from '2026-07-10 17:19:56'::timestamp) - extract(epoch from '2026-07-10 17:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123341)'))) / (select extract(epoch from '2026-07-10 17:19:56'::timestamp) - extract(epoch from '2026-07-10 17:19: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'), 47521, 'SRID=4674;POINT (-39.138107 -3.12334)', '2026-07-10 17:20:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:20:05'::timestamp) - extract(epoch from '2026-07-10 17:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:20:05'::timestamp) - extract(epoch from '2026-07-10 17:19: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'), 47521, 'SRID=4674;POINT (-39.138104 -3.123338)', '2026-07-10 17:20:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:20:19'::timestamp) - extract(epoch from '2026-07-10 17:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138107 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:20:19'::timestamp) - extract(epoch from '2026-07-10 17:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138104 -3.123334)', '2026-07-10 17:20:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:20:32'::timestamp) - extract(epoch from '2026-07-10 17:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:20:32'::timestamp) - extract(epoch from '2026-07-10 17:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138121 -3.123334)', '2026-07-10 17:20:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:20:42'::timestamp) - extract(epoch from '2026-07-10 17:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:20:42'::timestamp) - extract(epoch from '2026-07-10 17:20: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'), 47521, 'SRID=4674;POINT (-39.138122 -3.123341)', '2026-07-10 17:20:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123341)'))) / (select extract(epoch from '2026-07-10 17:20:55'::timestamp) - extract(epoch from '2026-07-10 17:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123341)'))) / (select extract(epoch from '2026-07-10 17:20:55'::timestamp) - extract(epoch from '2026-07-10 17:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138128 -3.123342)', '2026-07-10 17:21:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:21:05'::timestamp) - extract(epoch from '2026-07-10 17:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:21:05'::timestamp) - extract(epoch from '2026-07-10 17:20: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'), 47521, 'SRID=4674;POINT (-39.138126 -3.123351)', '2026-07-10 17:21:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123351)'))) / (select extract(epoch from '2026-07-10 17:21:13'::timestamp) - extract(epoch from '2026-07-10 17:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123351)'))) / (select extract(epoch from '2026-07-10 17:21:13'::timestamp) - extract(epoch from '2026-07-10 17:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.123347)', '2026-07-10 17:21:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123347)'))) / (select extract(epoch from '2026-07-10 17:21:20'::timestamp) - extract(epoch from '2026-07-10 17:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123347)'))) / (select extract(epoch from '2026-07-10 17:21:20'::timestamp) - extract(epoch from '2026-07-10 17:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138123 -3.123349)', '2026-07-10 17:21:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123349)'))) / (select extract(epoch from '2026-07-10 17:21:25'::timestamp) - extract(epoch from '2026-07-10 17:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123349)'))) / (select extract(epoch from '2026-07-10 17:21:25'::timestamp) - extract(epoch from '2026-07-10 17:21: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'), 47521, 'SRID=4674;POINT (-39.138128 -3.123348)', '2026-07-10 17:21:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123348)'))) / (select extract(epoch from '2026-07-10 17:21:34'::timestamp) - extract(epoch from '2026-07-10 17:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123348)'))) / (select extract(epoch from '2026-07-10 17:21:34'::timestamp) - extract(epoch from '2026-07-10 17:21: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'), 47521, 'SRID=4674;POINT (-39.138128 -3.123345)', '2026-07-10 17:21:43', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'))) / (select extract(epoch from '2026-07-10 17:21:43'::timestamp) - extract(epoch from '2026-07-10 17:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'))) / (select extract(epoch from '2026-07-10 17:21:43'::timestamp) - extract(epoch from '2026-07-10 17:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138128 -3.123348)', '2026-07-10 17:21:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123348)'))) / (select extract(epoch from '2026-07-10 17:21:54'::timestamp) - extract(epoch from '2026-07-10 17:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123348)'))) / (select extract(epoch from '2026-07-10 17:21:54'::timestamp) - extract(epoch from '2026-07-10 17:21: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.12334)', '2026-07-10 17:22:04', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:22:04'::timestamp) - extract(epoch from '2026-07-10 17:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:22:04'::timestamp) - extract(epoch from '2026-07-10 17:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138116 -3.123335)', '2026-07-10 17:22:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123335)'))) / (select extract(epoch from '2026-07-10 17:22:13'::timestamp) - extract(epoch from '2026-07-10 17:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123335)'))) / (select extract(epoch from '2026-07-10 17:22:13'::timestamp) - extract(epoch from '2026-07-10 17:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13813 -3.12334)', '2026-07-10 17:22:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:22:25'::timestamp) - extract(epoch from '2026-07-10 17:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:22:25'::timestamp) - extract(epoch from '2026-07-10 17:22: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'), 47521, 'SRID=4674;POINT (-39.138129 -3.123336)', '2026-07-10 17:22:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:22:32'::timestamp) - extract(epoch from '2026-07-10 17:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:22:32'::timestamp) - extract(epoch from '2026-07-10 17:22: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'), 47521, 'SRID=4674;POINT (-39.13812 -3.123336)', '2026-07-10 17:22:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:22:39'::timestamp) - extract(epoch from '2026-07-10 17:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:22:39'::timestamp) - extract(epoch from '2026-07-10 17:22: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'), 47521, 'SRID=4674;POINT (-39.138125 -3.123336)', '2026-07-10 17:22:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:22:53'::timestamp) - extract(epoch from '2026-07-10 17:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:22:53'::timestamp) - extract(epoch from '2026-07-10 17:22: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'), 47521, 'SRID=4674;POINT (-39.138125 -3.123339)', '2026-07-10 17:22:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123339)'))) / (select extract(epoch from '2026-07-10 17:22:59'::timestamp) - extract(epoch from '2026-07-10 17:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123339)'))) / (select extract(epoch from '2026-07-10 17:22:59'::timestamp) - extract(epoch from '2026-07-10 17:22: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'), 47521, 'SRID=4674;POINT (-39.138126 -3.123343)', '2026-07-10 17:23:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:23:05'::timestamp) - extract(epoch from '2026-07-10 17:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:23:05'::timestamp) - extract(epoch from '2026-07-10 17:22: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'), 47521, 'SRID=4674;POINT (-39.138128 -3.123352)', '2026-07-10 17:23:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123352)'))) / (select extract(epoch from '2026-07-10 17:23:11'::timestamp) - extract(epoch from '2026-07-10 17:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123352)'))) / (select extract(epoch from '2026-07-10 17:23:11'::timestamp) - extract(epoch from '2026-07-10 17:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138139 -3.12335)', '2026-07-10 17:23:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'))) / (select extract(epoch from '2026-07-10 17:23:19'::timestamp) - extract(epoch from '2026-07-10 17:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'))) / (select extract(epoch from '2026-07-10 17:23:19'::timestamp) - extract(epoch from '2026-07-10 17:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138131 -3.123355)', '2026-07-10 17:23:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123355)'))) / (select extract(epoch from '2026-07-10 17:23:28'::timestamp) - extract(epoch from '2026-07-10 17:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123355)'))) / (select extract(epoch from '2026-07-10 17:23:28'::timestamp) - extract(epoch from '2026-07-10 17:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138132 -3.123345)', '2026-07-10 17:23:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123345)'))) / (select extract(epoch from '2026-07-10 17:23:39'::timestamp) - extract(epoch from '2026-07-10 17:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123345)'))) / (select extract(epoch from '2026-07-10 17:23:39'::timestamp) - extract(epoch from '2026-07-10 17:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138135 -3.123343)', '2026-07-10 17:23:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:23:45'::timestamp) - extract(epoch from '2026-07-10 17:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:23:45'::timestamp) - extract(epoch from '2026-07-10 17:23:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138134 -3.123339)', '2026-07-10 17:23:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123339)'))) / (select extract(epoch from '2026-07-10 17:23:55'::timestamp) - extract(epoch from '2026-07-10 17:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123339)'))) / (select extract(epoch from '2026-07-10 17:23:55'::timestamp) - extract(epoch from '2026-07-10 17:23: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'), 47521, 'SRID=4674;POINT (-39.138136 -3.123345)', '2026-07-10 17:24:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123345)'))) / (select extract(epoch from '2026-07-10 17:24:02'::timestamp) - extract(epoch from '2026-07-10 17:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123345)'))) / (select extract(epoch from '2026-07-10 17:24:02'::timestamp) - extract(epoch from '2026-07-10 17:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138144 -3.123343)', '2026-07-10 17:24:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:24:11'::timestamp) - extract(epoch from '2026-07-10 17:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:24:11'::timestamp) - extract(epoch from '2026-07-10 17:24: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'), 47521, 'SRID=4674;POINT (-39.138141 -3.123337)', '2026-07-10 17:24:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123337)'))) / (select extract(epoch from '2026-07-10 17:24:20'::timestamp) - extract(epoch from '2026-07-10 17:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123337)'))) / (select extract(epoch from '2026-07-10 17:24:20'::timestamp) - extract(epoch from '2026-07-10 17:24: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'), 47521, 'SRID=4674;POINT (-39.138135 -3.123333)', '2026-07-10 17:24:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123333)'))) / (select extract(epoch from '2026-07-10 17:24:36'::timestamp) - extract(epoch from '2026-07-10 17:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123333)'))) / (select extract(epoch from '2026-07-10 17:24:36'::timestamp) - extract(epoch from '2026-07-10 17:24: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'), 47521, 'SRID=4674;POINT (-39.138126 -3.123335)', '2026-07-10 17:24:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123335)'))) / (select extract(epoch from '2026-07-10 17:24:43'::timestamp) - extract(epoch from '2026-07-10 17:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123335)'))) / (select extract(epoch from '2026-07-10 17:24:43'::timestamp) - extract(epoch from '2026-07-10 17:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138122 -3.123332)', '2026-07-10 17:24:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123332)'))) / (select extract(epoch from '2026-07-10 17:24:52'::timestamp) - extract(epoch from '2026-07-10 17:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123332)'))) / (select extract(epoch from '2026-07-10 17:24:52'::timestamp) - extract(epoch from '2026-07-10 17:24: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'), 47521, 'SRID=4674;POINT (-39.138125 -3.123334)', '2026-07-10 17:24:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:24:59'::timestamp) - extract(epoch from '2026-07-10 17:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:24:59'::timestamp) - extract(epoch from '2026-07-10 17:24: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'), 47521, 'SRID=4674;POINT (-39.138125 -3.123333)', '2026-07-10 17:25:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123333)'))) / (select extract(epoch from '2026-07-10 17:25:06'::timestamp) - extract(epoch from '2026-07-10 17:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123333)'))) / (select extract(epoch from '2026-07-10 17:25:06'::timestamp) - extract(epoch from '2026-07-10 17:24: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'), 47521, 'SRID=4674;POINT (-39.138122 -3.123338)', '2026-07-10 17:25:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:25:13'::timestamp) - extract(epoch from '2026-07-10 17:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:25:13'::timestamp) - extract(epoch from '2026-07-10 17:25: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'), 47521, 'SRID=4674;POINT (-39.138123 -3.123335)', '2026-07-10 17:25:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123335)'))) / (select extract(epoch from '2026-07-10 17:25:14'::timestamp) - extract(epoch from '2026-07-10 17:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123335)'))) / (select extract(epoch from '2026-07-10 17:25:14'::timestamp) - extract(epoch from '2026-07-10 17:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138111 -3.12333)', '2026-07-10 17:25:23', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.12333)'))) / (select extract(epoch from '2026-07-10 17:25:23'::timestamp) - extract(epoch from '2026-07-10 17:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.12333)'))) / (select extract(epoch from '2026-07-10 17:25:23'::timestamp) - extract(epoch from '2026-07-10 17:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138133 -3.123326)', '2026-07-10 17:25:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:25:31'::timestamp) - extract(epoch from '2026-07-10 17:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:25:31'::timestamp) - extract(epoch from '2026-07-10 17:25: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.123336)', '2026-07-10 17:25:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:25:40'::timestamp) - extract(epoch from '2026-07-10 17:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123336)'))) / (select extract(epoch from '2026-07-10 17:25:40'::timestamp) - extract(epoch from '2026-07-10 17:25: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123343)', '2026-07-10 17:25:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:25:49'::timestamp) - extract(epoch from '2026-07-10 17:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123343)'))) / (select extract(epoch from '2026-07-10 17:25:49'::timestamp) - extract(epoch from '2026-07-10 17:25: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'), 47521, 'SRID=4674;POINT (-39.138122 -3.123342)', '2026-07-10 17:26:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:26:00'::timestamp) - extract(epoch from '2026-07-10 17:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:26:00'::timestamp) - extract(epoch from '2026-07-10 17:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13813 -3.12335)', '2026-07-10 17:26:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12335)'))) / (select extract(epoch from '2026-07-10 17:26:13'::timestamp) - extract(epoch from '2026-07-10 17:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12335)'))) / (select extract(epoch from '2026-07-10 17:26:13'::timestamp) - extract(epoch from '2026-07-10 17:26: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.123356)', '2026-07-10 17:26:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123356)'))) / (select extract(epoch from '2026-07-10 17:26:23'::timestamp) - extract(epoch from '2026-07-10 17:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123356)'))) / (select extract(epoch from '2026-07-10 17:26:23'::timestamp) - extract(epoch from '2026-07-10 17:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138138 -3.123349)', '2026-07-10 17:26:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123349)'))) / (select extract(epoch from '2026-07-10 17:26:29'::timestamp) - extract(epoch from '2026-07-10 17:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123349)'))) / (select extract(epoch from '2026-07-10 17:26:29'::timestamp) - extract(epoch from '2026-07-10 17:26: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'), 47521, 'SRID=4674;POINT (-39.138136 -3.123353)', '2026-07-10 17:26:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123353)'))) / (select extract(epoch from '2026-07-10 17:26:35'::timestamp) - extract(epoch from '2026-07-10 17:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123353)'))) / (select extract(epoch from '2026-07-10 17:26:35'::timestamp) - extract(epoch from '2026-07-10 17:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138131 -3.12335)', '2026-07-10 17:26:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12335)'))) / (select extract(epoch from '2026-07-10 17:26:43'::timestamp) - extract(epoch from '2026-07-10 17:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12335)'))) / (select extract(epoch from '2026-07-10 17:26:43'::timestamp) - extract(epoch from '2026-07-10 17:26:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138127 -3.123342)', '2026-07-10 17:26:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:26:48'::timestamp) - extract(epoch from '2026-07-10 17:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:26:48'::timestamp) - extract(epoch from '2026-07-10 17:26: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'), 47521, 'SRID=4674;POINT (-39.138129 -3.123344)', '2026-07-10 17:26:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123344)'))) / (select extract(epoch from '2026-07-10 17:26:56'::timestamp) - extract(epoch from '2026-07-10 17:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123344)'))) / (select extract(epoch from '2026-07-10 17:26:56'::timestamp) - extract(epoch from '2026-07-10 17:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.12334)', '2026-07-10 17:27:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:27:09'::timestamp) - extract(epoch from '2026-07-10 17:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:27:09'::timestamp) - extract(epoch from '2026-07-10 17:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138119 -3.123339)', '2026-07-10 17:27:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123339)'))) / (select extract(epoch from '2026-07-10 17:27:19'::timestamp) - extract(epoch from '2026-07-10 17:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123339)'))) / (select extract(epoch from '2026-07-10 17:27:19'::timestamp) - extract(epoch from '2026-07-10 17:27: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'), 47521, 'SRID=4674;POINT (-39.138111 -3.123342)', '2026-07-10 17:27:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:27:25'::timestamp) - extract(epoch from '2026-07-10 17:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:27:25'::timestamp) - extract(epoch from '2026-07-10 17:27: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.123342)', '2026-07-10 17:27:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:27:31'::timestamp) - extract(epoch from '2026-07-10 17:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138111 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123342)'))) / (select extract(epoch from '2026-07-10 17:27:31'::timestamp) - extract(epoch from '2026-07-10 17:27: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'), 47521, 'SRID=4674;POINT (-39.138129 -3.123337)', '2026-07-10 17:27:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123337)'))) / (select extract(epoch from '2026-07-10 17:27:43'::timestamp) - extract(epoch from '2026-07-10 17:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123337)'))) / (select extract(epoch from '2026-07-10 17:27:43'::timestamp) - extract(epoch from '2026-07-10 17:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138127 -3.123335)', '2026-07-10 17:27:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123335)'))) / (select extract(epoch from '2026-07-10 17:27:51'::timestamp) - extract(epoch from '2026-07-10 17:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123335)'))) / (select extract(epoch from '2026-07-10 17:27:51'::timestamp) - extract(epoch from '2026-07-10 17:27:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13813 -3.123333)', '2026-07-10 17:27:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123333)'))) / (select extract(epoch from '2026-07-10 17:27:59'::timestamp) - extract(epoch from '2026-07-10 17:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123333)'))) / (select extract(epoch from '2026-07-10 17:27:59'::timestamp) - extract(epoch from '2026-07-10 17:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.123324)', '2026-07-10 17:28:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:28:05'::timestamp) - extract(epoch from '2026-07-10 17:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:28:05'::timestamp) - extract(epoch from '2026-07-10 17:27: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123323)', '2026-07-10 17:28:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123323)'))) / (select extract(epoch from '2026-07-10 17:28:16'::timestamp) - extract(epoch from '2026-07-10 17:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123323)'))) / (select extract(epoch from '2026-07-10 17:28:16'::timestamp) - extract(epoch from '2026-07-10 17:28: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'), 47521, 'SRID=4674;POINT (-39.138126 -3.123328)', '2026-07-10 17:28:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123328)'))) / (select extract(epoch from '2026-07-10 17:28:23'::timestamp) - extract(epoch from '2026-07-10 17:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123328)'))) / (select extract(epoch from '2026-07-10 17:28:23'::timestamp) - extract(epoch from '2026-07-10 17:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138122 -3.123334)', '2026-07-10 17:28:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:28:29'::timestamp) - extract(epoch from '2026-07-10 17:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:28:29'::timestamp) - extract(epoch from '2026-07-10 17:28:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138122 -3.123334)', '2026-07-10 17:28:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:28:37'::timestamp) - extract(epoch from '2026-07-10 17:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:28:37'::timestamp) - extract(epoch from '2026-07-10 17:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13813 -3.123333)', '2026-07-10 17:28:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123333)'))) / (select extract(epoch from '2026-07-10 17:28:45'::timestamp) - extract(epoch from '2026-07-10 17:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123333)'))) / (select extract(epoch from '2026-07-10 17:28:45'::timestamp) - extract(epoch from '2026-07-10 17:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138122 -3.12334)', '2026-07-10 17:28:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:28:53'::timestamp) - extract(epoch from '2026-07-10 17:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:28:53'::timestamp) - extract(epoch from '2026-07-10 17:28:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.123334)', '2026-07-10 17:29:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:29:02'::timestamp) - extract(epoch from '2026-07-10 17:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123334)'))) / (select extract(epoch from '2026-07-10 17:29:02'::timestamp) - extract(epoch from '2026-07-10 17:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138122 -3.123326)', '2026-07-10 17:29:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:29:11'::timestamp) - extract(epoch from '2026-07-10 17:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123326)'))) / (select extract(epoch from '2026-07-10 17:29:11'::timestamp) - extract(epoch from '2026-07-10 17:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138119 -3.12333)', '2026-07-10 17:29:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12333)'))) / (select extract(epoch from '2026-07-10 17:29:19'::timestamp) - extract(epoch from '2026-07-10 17:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12333)'))) / (select extract(epoch from '2026-07-10 17:29:19'::timestamp) - extract(epoch from '2026-07-10 17:29: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'), 47521, 'SRID=4674;POINT (-39.138116 -3.123328)', '2026-07-10 17:29:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123328)'))) / (select extract(epoch from '2026-07-10 17:29:27'::timestamp) - extract(epoch from '2026-07-10 17:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123328)'))) / (select extract(epoch from '2026-07-10 17:29:27'::timestamp) - extract(epoch from '2026-07-10 17:29: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.123329)', '2026-07-10 17:29:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123329)'))) / (select extract(epoch from '2026-07-10 17:29:32'::timestamp) - extract(epoch from '2026-07-10 17:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123329)'))) / (select extract(epoch from '2026-07-10 17:29:32'::timestamp) - extract(epoch from '2026-07-10 17:29: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'), 47521, 'SRID=4674;POINT (-39.13811 -3.123328)', '2026-07-10 17:29:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123328)'))) / (select extract(epoch from '2026-07-10 17:29:39'::timestamp) - extract(epoch from '2026-07-10 17:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123328)'))) / (select extract(epoch from '2026-07-10 17:29:39'::timestamp) - extract(epoch from '2026-07-10 17:29: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'), 47521, 'SRID=4674;POINT (-39.138108 -3.123324)', '2026-07-10 17:29:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:29:46'::timestamp) - extract(epoch from '2026-07-10 17:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:29:46'::timestamp) - extract(epoch from '2026-07-10 17:29: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'), 47521, 'SRID=4674;POINT (-39.138104 -3.123324)', '2026-07-10 17:29:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:29:56'::timestamp) - extract(epoch from '2026-07-10 17:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123324)'))) / (select extract(epoch from '2026-07-10 17:29:56'::timestamp) - extract(epoch from '2026-07-10 17:29: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'), 47521, 'SRID=4674;POINT (-39.13811 -3.123333)', '2026-07-10 17:30:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123333)'))) / (select extract(epoch from '2026-07-10 17:30:02'::timestamp) - extract(epoch from '2026-07-10 17:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138104 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123333)'))) / (select extract(epoch from '2026-07-10 17:30:02'::timestamp) - extract(epoch from '2026-07-10 17:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138103 -3.123331)', '2026-07-10 17:30:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123331)'))) / (select extract(epoch from '2026-07-10 17:30:07'::timestamp) - extract(epoch from '2026-07-10 17:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13811 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123331)'))) / (select extract(epoch from '2026-07-10 17:30:07'::timestamp) - extract(epoch from '2026-07-10 17:30: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'), 47521, 'SRID=4674;POINT (-39.138105 -3.123338)', '2026-07-10 17:30:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:30:14'::timestamp) - extract(epoch from '2026-07-10 17:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138103 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123338)'))) / (select extract(epoch from '2026-07-10 17:30:14'::timestamp) - extract(epoch from '2026-07-10 17:30: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'), 47521, 'SRID=4674;POINT (-39.138109 -3.12334)', '2026-07-10 17:30:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:30:24'::timestamp) - extract(epoch from '2026-07-10 17:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138105 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138109 -3.12334)'))) / (select extract(epoch from '2026-07-10 17:30:24'::timestamp) - extract(epoch from '2026-07-10 17:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
