 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.010743 -3.340833)', '2026-07-03 10:13:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010743 -3.340823)'), GeomFromEWKT('SRID=4674;POINT (-39.010743 -3.340833)'))) / (select extract(epoch from '2026-07-03 10:13:04'::timestamp) - extract(epoch from '2026-07-03 10:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010743 -3.340823)'), GeomFromEWKT('SRID=4674;POINT (-39.010743 -3.340833)'))) / (select extract(epoch from '2026-07-03 10:13:04'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.010774 -3.340886)', '2026-07-03 10:13:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010743 -3.340833)'), GeomFromEWKT('SRID=4674;POINT (-39.010774 -3.340886)'))) / (select extract(epoch from '2026-07-03 10:13:09'::timestamp) - extract(epoch from '2026-07-03 10:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010743 -3.340833)'), GeomFromEWKT('SRID=4674;POINT (-39.010774 -3.340886)'))) / (select extract(epoch from '2026-07-03 10:13:09'::timestamp) - extract(epoch from '2026-07-03 10:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.010793 -3.340941)', '2026-07-03 10:13:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010774 -3.340886)'), GeomFromEWKT('SRID=4674;POINT (-39.010793 -3.340941)'))) / (select extract(epoch from '2026-07-03 10:13:14'::timestamp) - extract(epoch from '2026-07-03 10:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010774 -3.340886)'), GeomFromEWKT('SRID=4674;POINT (-39.010793 -3.340941)'))) / (select extract(epoch from '2026-07-03 10:13:14'::timestamp) - extract(epoch from '2026-07-03 10:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.010794 -3.340952)', '2026-07-03 10:13:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010793 -3.340941)'), GeomFromEWKT('SRID=4674;POINT (-39.010794 -3.340952)'))) / (select extract(epoch from '2026-07-03 10:13:15'::timestamp) - extract(epoch from '2026-07-03 10:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010793 -3.340941)'), GeomFromEWKT('SRID=4674;POINT (-39.010794 -3.340952)'))) / (select extract(epoch from '2026-07-03 10:13:15'::timestamp) - extract(epoch from '2026-07-03 10:13: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'), 47417, 'SRID=4674;POINT (-39.010811 -3.341009)', '2026-07-03 10:13:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010794 -3.340952)'), GeomFromEWKT('SRID=4674;POINT (-39.010811 -3.341009)'))) / (select extract(epoch from '2026-07-03 10:13:20'::timestamp) - extract(epoch from '2026-07-03 10:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010794 -3.340952)'), GeomFromEWKT('SRID=4674;POINT (-39.010811 -3.341009)'))) / (select extract(epoch from '2026-07-03 10:13:20'::timestamp) - extract(epoch from '2026-07-03 10:13: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'), 47417, 'SRID=4674;POINT (-39.01082 -3.341031)', '2026-07-03 10:13:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010811 -3.341009)'), GeomFromEWKT('SRID=4674;POINT (-39.01082 -3.341031)'))) / (select extract(epoch from '2026-07-03 10:13:22'::timestamp) - extract(epoch from '2026-07-03 10:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010811 -3.341009)'), GeomFromEWKT('SRID=4674;POINT (-39.01082 -3.341031)'))) / (select extract(epoch from '2026-07-03 10:13:22'::timestamp) - extract(epoch from '2026-07-03 10:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.010823 -3.341051)', '2026-07-03 10:13:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01082 -3.341031)'), GeomFromEWKT('SRID=4674;POINT (-39.010823 -3.341051)'))) / (select extract(epoch from '2026-07-03 10:13:24'::timestamp) - extract(epoch from '2026-07-03 10:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01082 -3.341031)'), GeomFromEWKT('SRID=4674;POINT (-39.010823 -3.341051)'))) / (select extract(epoch from '2026-07-03 10:13:24'::timestamp) - extract(epoch from '2026-07-03 10:13: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'), 47417, 'SRID=4674;POINT (-39.010821 -3.341072)', '2026-07-03 10:13:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010823 -3.341051)'), GeomFromEWKT('SRID=4674;POINT (-39.010821 -3.341072)'))) / (select extract(epoch from '2026-07-03 10:13:26'::timestamp) - extract(epoch from '2026-07-03 10:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010823 -3.341051)'), GeomFromEWKT('SRID=4674;POINT (-39.010821 -3.341072)'))) / (select extract(epoch from '2026-07-03 10:13:26'::timestamp) - extract(epoch from '2026-07-03 10:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.010826 -3.341081)', '2026-07-03 10:13:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010821 -3.341072)'), GeomFromEWKT('SRID=4674;POINT (-39.010826 -3.341081)'))) / (select extract(epoch from '2026-07-03 10:13:27'::timestamp) - extract(epoch from '2026-07-03 10:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010821 -3.341072)'), GeomFromEWKT('SRID=4674;POINT (-39.010826 -3.341081)'))) / (select extract(epoch from '2026-07-03 10:13:27'::timestamp) - extract(epoch from '2026-07-03 10:13:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.010864 -3.341157)', '2026-07-03 10:13:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010826 -3.341081)'), GeomFromEWKT('SRID=4674;POINT (-39.010864 -3.341157)'))) / (select extract(epoch from '2026-07-03 10:13:34'::timestamp) - extract(epoch from '2026-07-03 10:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010826 -3.341081)'), GeomFromEWKT('SRID=4674;POINT (-39.010864 -3.341157)'))) / (select extract(epoch from '2026-07-03 10:13:34'::timestamp) - extract(epoch from '2026-07-03 10:13: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'), 47417, 'SRID=4674;POINT (-39.010864 -3.341191)', '2026-07-03 10:13:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010864 -3.341157)'), GeomFromEWKT('SRID=4674;POINT (-39.010864 -3.341191)'))) / (select extract(epoch from '2026-07-03 10:13:37'::timestamp) - extract(epoch from '2026-07-03 10:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010864 -3.341157)'), GeomFromEWKT('SRID=4674;POINT (-39.010864 -3.341191)'))) / (select extract(epoch from '2026-07-03 10:13:37'::timestamp) - extract(epoch from '2026-07-03 10:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01088 -3.341213)', '2026-07-03 10:13:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010864 -3.341191)'), GeomFromEWKT('SRID=4674;POINT (-39.01088 -3.341213)'))) / (select extract(epoch from '2026-07-03 10:13:39'::timestamp) - extract(epoch from '2026-07-03 10:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010864 -3.341191)'), GeomFromEWKT('SRID=4674;POINT (-39.01088 -3.341213)'))) / (select extract(epoch from '2026-07-03 10:13:39'::timestamp) - extract(epoch from '2026-07-03 10:13: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'), 47417, 'SRID=4674;POINT (-39.010881 -3.341224)', '2026-07-03 10:13:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01088 -3.341213)'), GeomFromEWKT('SRID=4674;POINT (-39.010881 -3.341224)'))) / (select extract(epoch from '2026-07-03 10:13:40'::timestamp) - extract(epoch from '2026-07-03 10:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01088 -3.341213)'), GeomFromEWKT('SRID=4674;POINT (-39.010881 -3.341224)'))) / (select extract(epoch from '2026-07-03 10:13:40'::timestamp) - extract(epoch from '2026-07-03 10:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.010883 -3.341245)', '2026-07-03 10:13:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010881 -3.341224)'), GeomFromEWKT('SRID=4674;POINT (-39.010883 -3.341245)'))) / (select extract(epoch from '2026-07-03 10:13:42'::timestamp) - extract(epoch from '2026-07-03 10:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010881 -3.341224)'), GeomFromEWKT('SRID=4674;POINT (-39.010883 -3.341245)'))) / (select extract(epoch from '2026-07-03 10:13:42'::timestamp) - extract(epoch from '2026-07-03 10:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.010897 -3.341268)', '2026-07-03 10:13:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010883 -3.341245)'), GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.341268)'))) / (select extract(epoch from '2026-07-03 10:13:44'::timestamp) - extract(epoch from '2026-07-03 10:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010883 -3.341245)'), GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.341268)'))) / (select extract(epoch from '2026-07-03 10:13:44'::timestamp) - extract(epoch from '2026-07-03 10:13: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'), 47417, 'SRID=4674;POINT (-39.010918 -3.341328)', '2026-07-03 10:13:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.341268)'), GeomFromEWKT('SRID=4674;POINT (-39.010918 -3.341328)'))) / (select extract(epoch from '2026-07-03 10:13:50'::timestamp) - extract(epoch from '2026-07-03 10:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.341268)'), GeomFromEWKT('SRID=4674;POINT (-39.010918 -3.341328)'))) / (select extract(epoch from '2026-07-03 10:13:50'::timestamp) - extract(epoch from '2026-07-03 10:13: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'), 47417, 'SRID=4674;POINT (-39.010936 -3.341392)', '2026-07-03 10:13:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010918 -3.341328)'), GeomFromEWKT('SRID=4674;POINT (-39.010936 -3.341392)'))) / (select extract(epoch from '2026-07-03 10:13:56'::timestamp) - extract(epoch from '2026-07-03 10:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010918 -3.341328)'), GeomFromEWKT('SRID=4674;POINT (-39.010936 -3.341392)'))) / (select extract(epoch from '2026-07-03 10:13:56'::timestamp) - extract(epoch from '2026-07-03 10:13: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'), 47417, 'SRID=4674;POINT (-39.010948 -3.341412)', '2026-07-03 10:13:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010936 -3.341392)'), GeomFromEWKT('SRID=4674;POINT (-39.010948 -3.341412)'))) / (select extract(epoch from '2026-07-03 10:13:58'::timestamp) - extract(epoch from '2026-07-03 10:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010936 -3.341392)'), GeomFromEWKT('SRID=4674;POINT (-39.010948 -3.341412)'))) / (select extract(epoch from '2026-07-03 10:13:58'::timestamp) - extract(epoch from '2026-07-03 10:13: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'), 47417, 'SRID=4674;POINT (-39.010969 -3.341456)', '2026-07-03 10:14:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010948 -3.341412)'), GeomFromEWKT('SRID=4674;POINT (-39.010969 -3.341456)'))) / (select extract(epoch from '2026-07-03 10:14:02'::timestamp) - extract(epoch from '2026-07-03 10:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010948 -3.341412)'), GeomFromEWKT('SRID=4674;POINT (-39.010969 -3.341456)'))) / (select extract(epoch from '2026-07-03 10:14:02'::timestamp) - extract(epoch from '2026-07-03 10:13: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'), 47417, 'SRID=4674;POINT (-39.010994 -3.341528)', '2026-07-03 10:14:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010969 -3.341456)'), GeomFromEWKT('SRID=4674;POINT (-39.010994 -3.341528)'))) / (select extract(epoch from '2026-07-03 10:14:09'::timestamp) - extract(epoch from '2026-07-03 10:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010969 -3.341456)'), GeomFromEWKT('SRID=4674;POINT (-39.010994 -3.341528)'))) / (select extract(epoch from '2026-07-03 10:14:09'::timestamp) - extract(epoch from '2026-07-03 10:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.011014 -3.341606)', '2026-07-03 10:14:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010994 -3.341528)'), GeomFromEWKT('SRID=4674;POINT (-39.011014 -3.341606)'))) / (select extract(epoch from '2026-07-03 10:14:15'::timestamp) - extract(epoch from '2026-07-03 10:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010994 -3.341528)'), GeomFromEWKT('SRID=4674;POINT (-39.011014 -3.341606)'))) / (select extract(epoch from '2026-07-03 10:14:15'::timestamp) - extract(epoch from '2026-07-03 10:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.011016 -3.341615)', '2026-07-03 10:14:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011014 -3.341606)'), GeomFromEWKT('SRID=4674;POINT (-39.011016 -3.341615)'))) / (select extract(epoch from '2026-07-03 10:14:16'::timestamp) - extract(epoch from '2026-07-03 10:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011014 -3.341606)'), GeomFromEWKT('SRID=4674;POINT (-39.011016 -3.341615)'))) / (select extract(epoch from '2026-07-03 10:14:16'::timestamp) - extract(epoch from '2026-07-03 10:14: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'), 47417, 'SRID=4674;POINT (-39.011026 -3.34166)', '2026-07-03 10:14:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011016 -3.341615)'), GeomFromEWKT('SRID=4674;POINT (-39.011026 -3.34166)'))) / (select extract(epoch from '2026-07-03 10:14:20'::timestamp) - extract(epoch from '2026-07-03 10:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011016 -3.341615)'), GeomFromEWKT('SRID=4674;POINT (-39.011026 -3.34166)'))) / (select extract(epoch from '2026-07-03 10:14:20'::timestamp) - extract(epoch from '2026-07-03 10:14:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01104 -3.341744)', '2026-07-03 10:14:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011026 -3.34166)'), GeomFromEWKT('SRID=4674;POINT (-39.01104 -3.341744)'))) / (select extract(epoch from '2026-07-03 10:14:27'::timestamp) - extract(epoch from '2026-07-03 10:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011026 -3.34166)'), GeomFromEWKT('SRID=4674;POINT (-39.01104 -3.341744)'))) / (select extract(epoch from '2026-07-03 10:14:27'::timestamp) - extract(epoch from '2026-07-03 10:14: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'), 47417, 'SRID=4674;POINT (-39.011062 -3.341819)', '2026-07-03 10:14:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01104 -3.341744)'), GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.341819)'))) / (select extract(epoch from '2026-07-03 10:14:33'::timestamp) - extract(epoch from '2026-07-03 10:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01104 -3.341744)'), GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.341819)'))) / (select extract(epoch from '2026-07-03 10:14:33'::timestamp) - extract(epoch from '2026-07-03 10:14: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'), 47417, 'SRID=4674;POINT (-39.011062 -3.34183)', '2026-07-03 10:14:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.341819)'), GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.34183)'))) / (select extract(epoch from '2026-07-03 10:14:34'::timestamp) - extract(epoch from '2026-07-03 10:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.341819)'), GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.34183)'))) / (select extract(epoch from '2026-07-03 10:14:34'::timestamp) - extract(epoch from '2026-07-03 10:14: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'), 47417, 'SRID=4674;POINT (-39.011072 -3.341867)', '2026-07-03 10:14:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.34183)'), GeomFromEWKT('SRID=4674;POINT (-39.011072 -3.341867)'))) / (select extract(epoch from '2026-07-03 10:14:37'::timestamp) - extract(epoch from '2026-07-03 10:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.34183)'), GeomFromEWKT('SRID=4674;POINT (-39.011072 -3.341867)'))) / (select extract(epoch from '2026-07-03 10:14:37'::timestamp) - extract(epoch from '2026-07-03 10:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.011081 -3.341881)', '2026-07-03 10:14:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011072 -3.341867)'), GeomFromEWKT('SRID=4674;POINT (-39.011081 -3.341881)'))) / (select extract(epoch from '2026-07-03 10:14:38'::timestamp) - extract(epoch from '2026-07-03 10:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011072 -3.341867)'), GeomFromEWKT('SRID=4674;POINT (-39.011081 -3.341881)'))) / (select extract(epoch from '2026-07-03 10:14:38'::timestamp) - extract(epoch from '2026-07-03 10:14: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'), 47417, 'SRID=4674;POINT (-39.011087 -3.341908)', '2026-07-03 10:14:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011081 -3.341881)'), GeomFromEWKT('SRID=4674;POINT (-39.011087 -3.341908)'))) / (select extract(epoch from '2026-07-03 10:14:40'::timestamp) - extract(epoch from '2026-07-03 10:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011081 -3.341881)'), GeomFromEWKT('SRID=4674;POINT (-39.011087 -3.341908)'))) / (select extract(epoch from '2026-07-03 10:14:40'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.011101 -3.341946)', '2026-07-03 10:14:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011087 -3.341908)'), GeomFromEWKT('SRID=4674;POINT (-39.011101 -3.341946)'))) / (select extract(epoch from '2026-07-03 10:14:43'::timestamp) - extract(epoch from '2026-07-03 10:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011087 -3.341908)'), GeomFromEWKT('SRID=4674;POINT (-39.011101 -3.341946)'))) / (select extract(epoch from '2026-07-03 10:14:43'::timestamp) - extract(epoch from '2026-07-03 10:14: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'), 47417, 'SRID=4674;POINT (-39.011119 -3.342035)', '2026-07-03 10:14:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011101 -3.341946)'), GeomFromEWKT('SRID=4674;POINT (-39.011119 -3.342035)'))) / (select extract(epoch from '2026-07-03 10:14:50'::timestamp) - extract(epoch from '2026-07-03 10:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011101 -3.341946)'), GeomFromEWKT('SRID=4674;POINT (-39.011119 -3.342035)'))) / (select extract(epoch from '2026-07-03 10:14:50'::timestamp) - extract(epoch from '2026-07-03 10:14: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'), 47417, 'SRID=4674;POINT (-39.011124 -3.342049)', '2026-07-03 10:14:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011119 -3.342035)'), GeomFromEWKT('SRID=4674;POINT (-39.011124 -3.342049)'))) / (select extract(epoch from '2026-07-03 10:14:51'::timestamp) - extract(epoch from '2026-07-03 10:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011119 -3.342035)'), GeomFromEWKT('SRID=4674;POINT (-39.011124 -3.342049)'))) / (select extract(epoch from '2026-07-03 10:14:51'::timestamp) - extract(epoch from '2026-07-03 10:14: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'), 47417, 'SRID=4674;POINT (-39.011145 -3.342087)', '2026-07-03 10:14:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011124 -3.342049)'), GeomFromEWKT('SRID=4674;POINT (-39.011145 -3.342087)'))) / (select extract(epoch from '2026-07-03 10:14:54'::timestamp) - extract(epoch from '2026-07-03 10:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011124 -3.342049)'), GeomFromEWKT('SRID=4674;POINT (-39.011145 -3.342087)'))) / (select extract(epoch from '2026-07-03 10:14:54'::timestamp) - extract(epoch from '2026-07-03 10:14: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'), 47417, 'SRID=4674;POINT (-39.011157 -3.342107)', '2026-07-03 10:14:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011145 -3.342087)'), GeomFromEWKT('SRID=4674;POINT (-39.011157 -3.342107)'))) / (select extract(epoch from '2026-07-03 10:14:56'::timestamp) - extract(epoch from '2026-07-03 10:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011145 -3.342087)'), GeomFromEWKT('SRID=4674;POINT (-39.011157 -3.342107)'))) / (select extract(epoch from '2026-07-03 10:14:56'::timestamp) - extract(epoch from '2026-07-03 10:14: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'), 47417, 'SRID=4674;POINT (-39.011185 -3.342151)', '2026-07-03 10:15:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011157 -3.342107)'), GeomFromEWKT('SRID=4674;POINT (-39.011185 -3.342151)'))) / (select extract(epoch from '2026-07-03 10:15:00'::timestamp) - extract(epoch from '2026-07-03 10:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011157 -3.342107)'), GeomFromEWKT('SRID=4674;POINT (-39.011185 -3.342151)'))) / (select extract(epoch from '2026-07-03 10:15:00'::timestamp) - extract(epoch from '2026-07-03 10:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.011193 -3.342184)', '2026-07-03 10:15:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011185 -3.342151)'), GeomFromEWKT('SRID=4674;POINT (-39.011193 -3.342184)'))) / (select extract(epoch from '2026-07-03 10:15:03'::timestamp) - extract(epoch from '2026-07-03 10:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011185 -3.342151)'), GeomFromEWKT('SRID=4674;POINT (-39.011193 -3.342184)'))) / (select extract(epoch from '2026-07-03 10:15:03'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011217 -3.342221)', '2026-07-03 10:15:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011193 -3.342184)'), GeomFromEWKT('SRID=4674;POINT (-39.011217 -3.342221)'))) / (select extract(epoch from '2026-07-03 10:15:06'::timestamp) - extract(epoch from '2026-07-03 10:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011193 -3.342184)'), GeomFromEWKT('SRID=4674;POINT (-39.011217 -3.342221)'))) / (select extract(epoch from '2026-07-03 10:15:06'::timestamp) - extract(epoch from '2026-07-03 10:15:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.011221 -3.342231)', '2026-07-03 10:15:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011217 -3.342221)'), GeomFromEWKT('SRID=4674;POINT (-39.011221 -3.342231)'))) / (select extract(epoch from '2026-07-03 10:15:07'::timestamp) - extract(epoch from '2026-07-03 10:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011217 -3.342221)'), GeomFromEWKT('SRID=4674;POINT (-39.011221 -3.342231)'))) / (select extract(epoch from '2026-07-03 10:15:07'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011248 -3.342279)', '2026-07-03 10:15:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011221 -3.342231)'), GeomFromEWKT('SRID=4674;POINT (-39.011248 -3.342279)'))) / (select extract(epoch from '2026-07-03 10:15:11'::timestamp) - extract(epoch from '2026-07-03 10:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011221 -3.342231)'), GeomFromEWKT('SRID=4674;POINT (-39.011248 -3.342279)'))) / (select extract(epoch from '2026-07-03 10:15:11'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011263 -3.342304)', '2026-07-03 10:15:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011248 -3.342279)'), GeomFromEWKT('SRID=4674;POINT (-39.011263 -3.342304)'))) / (select extract(epoch from '2026-07-03 10:15:13'::timestamp) - extract(epoch from '2026-07-03 10:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011248 -3.342279)'), GeomFromEWKT('SRID=4674;POINT (-39.011263 -3.342304)'))) / (select extract(epoch from '2026-07-03 10:15:13'::timestamp) - extract(epoch from '2026-07-03 10:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.011274 -3.342321)', '2026-07-03 10:15:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011263 -3.342304)'), GeomFromEWKT('SRID=4674;POINT (-39.011274 -3.342321)'))) / (select extract(epoch from '2026-07-03 10:15:15'::timestamp) - extract(epoch from '2026-07-03 10:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011263 -3.342304)'), GeomFromEWKT('SRID=4674;POINT (-39.011274 -3.342321)'))) / (select extract(epoch from '2026-07-03 10:15:15'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.011278 -3.34233)', '2026-07-03 10:15:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011274 -3.342321)'), GeomFromEWKT('SRID=4674;POINT (-39.011278 -3.34233)'))) / (select extract(epoch from '2026-07-03 10:15:16'::timestamp) - extract(epoch from '2026-07-03 10:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011274 -3.342321)'), GeomFromEWKT('SRID=4674;POINT (-39.011278 -3.34233)'))) / (select extract(epoch from '2026-07-03 10:15:16'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.01131 -3.342373)', '2026-07-03 10:15:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011278 -3.34233)'), GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.342373)'))) / (select extract(epoch from '2026-07-03 10:15:20'::timestamp) - extract(epoch from '2026-07-03 10:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011278 -3.34233)'), GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.342373)'))) / (select extract(epoch from '2026-07-03 10:15:20'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011317 -3.342396)', '2026-07-03 10:15:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.342373)'), GeomFromEWKT('SRID=4674;POINT (-39.011317 -3.342396)'))) / (select extract(epoch from '2026-07-03 10:15:22'::timestamp) - extract(epoch from '2026-07-03 10:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.342373)'), GeomFromEWKT('SRID=4674;POINT (-39.011317 -3.342396)'))) / (select extract(epoch from '2026-07-03 10:15:22'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011341 -3.342464)', '2026-07-03 10:15:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011317 -3.342396)'), GeomFromEWKT('SRID=4674;POINT (-39.011341 -3.342464)'))) / (select extract(epoch from '2026-07-03 10:15:28'::timestamp) - extract(epoch from '2026-07-03 10:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011317 -3.342396)'), GeomFromEWKT('SRID=4674;POINT (-39.011341 -3.342464)'))) / (select extract(epoch from '2026-07-03 10:15:28'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.01134 -3.342476)', '2026-07-03 10:15:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011341 -3.342464)'), GeomFromEWKT('SRID=4674;POINT (-39.01134 -3.342476)'))) / (select extract(epoch from '2026-07-03 10:15:29'::timestamp) - extract(epoch from '2026-07-03 10:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011341 -3.342464)'), GeomFromEWKT('SRID=4674;POINT (-39.01134 -3.342476)'))) / (select extract(epoch from '2026-07-03 10:15:29'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011342 -3.342498)', '2026-07-03 10:15:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01134 -3.342476)'), GeomFromEWKT('SRID=4674;POINT (-39.011342 -3.342498)'))) / (select extract(epoch from '2026-07-03 10:15:31'::timestamp) - extract(epoch from '2026-07-03 10:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01134 -3.342476)'), GeomFromEWKT('SRID=4674;POINT (-39.011342 -3.342498)'))) / (select extract(epoch from '2026-07-03 10:15:31'::timestamp) - extract(epoch from '2026-07-03 10:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.011352 -3.342519)', '2026-07-03 10:15:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011342 -3.342498)'), GeomFromEWKT('SRID=4674;POINT (-39.011352 -3.342519)'))) / (select extract(epoch from '2026-07-03 10:15:33'::timestamp) - extract(epoch from '2026-07-03 10:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011342 -3.342498)'), GeomFromEWKT('SRID=4674;POINT (-39.011352 -3.342519)'))) / (select extract(epoch from '2026-07-03 10:15:33'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011353 -3.342529)', '2026-07-03 10:15:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011352 -3.342519)'), GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.342529)'))) / (select extract(epoch from '2026-07-03 10:15:34'::timestamp) - extract(epoch from '2026-07-03 10:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011352 -3.342519)'), GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.342529)'))) / (select extract(epoch from '2026-07-03 10:15:34'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011353 -3.342563)', '2026-07-03 10:15:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.342529)'), GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.342563)'))) / (select extract(epoch from '2026-07-03 10:15:37'::timestamp) - extract(epoch from '2026-07-03 10:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.342529)'), GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.342563)'))) / (select extract(epoch from '2026-07-03 10:15:37'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011361 -3.342601)', '2026-07-03 10:15:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.342563)'), GeomFromEWKT('SRID=4674;POINT (-39.011361 -3.342601)'))) / (select extract(epoch from '2026-07-03 10:15:40'::timestamp) - extract(epoch from '2026-07-03 10:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.342563)'), GeomFromEWKT('SRID=4674;POINT (-39.011361 -3.342601)'))) / (select extract(epoch from '2026-07-03 10:15:40'::timestamp) - extract(epoch from '2026-07-03 10:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.011368 -3.342613)', '2026-07-03 10:15:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011361 -3.342601)'), GeomFromEWKT('SRID=4674;POINT (-39.011368 -3.342613)'))) / (select extract(epoch from '2026-07-03 10:15:41'::timestamp) - extract(epoch from '2026-07-03 10:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011361 -3.342601)'), GeomFromEWKT('SRID=4674;POINT (-39.011368 -3.342613)'))) / (select extract(epoch from '2026-07-03 10:15:41'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011381 -3.342658)', '2026-07-03 10:15:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011368 -3.342613)'), GeomFromEWKT('SRID=4674;POINT (-39.011381 -3.342658)'))) / (select extract(epoch from '2026-07-03 10:15:45'::timestamp) - extract(epoch from '2026-07-03 10:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011368 -3.342613)'), GeomFromEWKT('SRID=4674;POINT (-39.011381 -3.342658)'))) / (select extract(epoch from '2026-07-03 10:15:45'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.011394 -3.342684)', '2026-07-03 10:15:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011381 -3.342658)'), GeomFromEWKT('SRID=4674;POINT (-39.011394 -3.342684)'))) / (select extract(epoch from '2026-07-03 10:15:48'::timestamp) - extract(epoch from '2026-07-03 10:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011381 -3.342658)'), GeomFromEWKT('SRID=4674;POINT (-39.011394 -3.342684)'))) / (select extract(epoch from '2026-07-03 10:15:48'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.011408 -3.342709)', '2026-07-03 10:15:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011394 -3.342684)'), GeomFromEWKT('SRID=4674;POINT (-39.011408 -3.342709)'))) / (select extract(epoch from '2026-07-03 10:15:50'::timestamp) - extract(epoch from '2026-07-03 10:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011394 -3.342684)'), GeomFromEWKT('SRID=4674;POINT (-39.011408 -3.342709)'))) / (select extract(epoch from '2026-07-03 10:15:50'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011458 -3.342779)', '2026-07-03 10:15:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011408 -3.342709)'), GeomFromEWKT('SRID=4674;POINT (-39.011458 -3.342779)'))) / (select extract(epoch from '2026-07-03 10:15:56'::timestamp) - extract(epoch from '2026-07-03 10:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011408 -3.342709)'), GeomFromEWKT('SRID=4674;POINT (-39.011458 -3.342779)'))) / (select extract(epoch from '2026-07-03 10:15:56'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011506 -3.342846)', '2026-07-03 10:16:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011458 -3.342779)'), GeomFromEWKT('SRID=4674;POINT (-39.011506 -3.342846)'))) / (select extract(epoch from '2026-07-03 10:16:02'::timestamp) - extract(epoch from '2026-07-03 10:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011458 -3.342779)'), GeomFromEWKT('SRID=4674;POINT (-39.011506 -3.342846)'))) / (select extract(epoch from '2026-07-03 10:16:02'::timestamp) - extract(epoch from '2026-07-03 10:15: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'), 47417, 'SRID=4674;POINT (-39.011544 -3.342916)', '2026-07-03 10:16:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011506 -3.342846)'), GeomFromEWKT('SRID=4674;POINT (-39.011544 -3.342916)'))) / (select extract(epoch from '2026-07-03 10:16:08'::timestamp) - extract(epoch from '2026-07-03 10:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011506 -3.342846)'), GeomFromEWKT('SRID=4674;POINT (-39.011544 -3.342916)'))) / (select extract(epoch from '2026-07-03 10:16:08'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.01156 -3.342969)', '2026-07-03 10:16:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011544 -3.342916)'), GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.342969)'))) / (select extract(epoch from '2026-07-03 10:16:12'::timestamp) - extract(epoch from '2026-07-03 10:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011544 -3.342916)'), GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.342969)'))) / (select extract(epoch from '2026-07-03 10:16:12'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011567 -3.342981)', '2026-07-03 10:16:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.342969)'), GeomFromEWKT('SRID=4674;POINT (-39.011567 -3.342981)'))) / (select extract(epoch from '2026-07-03 10:16:13'::timestamp) - extract(epoch from '2026-07-03 10:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.342969)'), GeomFromEWKT('SRID=4674;POINT (-39.011567 -3.342981)'))) / (select extract(epoch from '2026-07-03 10:16:13'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.011582 -3.343032)', '2026-07-03 10:16:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011567 -3.342981)'), GeomFromEWKT('SRID=4674;POINT (-39.011582 -3.343032)'))) / (select extract(epoch from '2026-07-03 10:16:18'::timestamp) - extract(epoch from '2026-07-03 10:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011567 -3.342981)'), GeomFromEWKT('SRID=4674;POINT (-39.011582 -3.343032)'))) / (select extract(epoch from '2026-07-03 10:16:18'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011593 -3.343046)', '2026-07-03 10:16:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011582 -3.343032)'), GeomFromEWKT('SRID=4674;POINT (-39.011593 -3.343046)'))) / (select extract(epoch from '2026-07-03 10:16:19'::timestamp) - extract(epoch from '2026-07-03 10:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011582 -3.343032)'), GeomFromEWKT('SRID=4674;POINT (-39.011593 -3.343046)'))) / (select extract(epoch from '2026-07-03 10:16:19'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011623 -3.343109)', '2026-07-03 10:16:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011593 -3.343046)'), GeomFromEWKT('SRID=4674;POINT (-39.011623 -3.343109)'))) / (select extract(epoch from '2026-07-03 10:16:25'::timestamp) - extract(epoch from '2026-07-03 10:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011593 -3.343046)'), GeomFromEWKT('SRID=4674;POINT (-39.011623 -3.343109)'))) / (select extract(epoch from '2026-07-03 10:16:25'::timestamp) - extract(epoch from '2026-07-03 10:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.011633 -3.343151)', '2026-07-03 10:16:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011623 -3.343109)'), GeomFromEWKT('SRID=4674;POINT (-39.011633 -3.343151)'))) / (select extract(epoch from '2026-07-03 10:16:29'::timestamp) - extract(epoch from '2026-07-03 10:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011623 -3.343109)'), GeomFromEWKT('SRID=4674;POINT (-39.011633 -3.343151)'))) / (select extract(epoch from '2026-07-03 10:16:29'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011642 -3.343179)', '2026-07-03 10:16:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011633 -3.343151)'), GeomFromEWKT('SRID=4674;POINT (-39.011642 -3.343179)'))) / (select extract(epoch from '2026-07-03 10:16:31'::timestamp) - extract(epoch from '2026-07-03 10:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011633 -3.343151)'), GeomFromEWKT('SRID=4674;POINT (-39.011642 -3.343179)'))) / (select extract(epoch from '2026-07-03 10:16:31'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011664 -3.343234)', '2026-07-03 10:16:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011642 -3.343179)'), GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.343234)'))) / (select extract(epoch from '2026-07-03 10:16:36'::timestamp) - extract(epoch from '2026-07-03 10:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011642 -3.343179)'), GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.343234)'))) / (select extract(epoch from '2026-07-03 10:16:36'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011664 -3.343245)', '2026-07-03 10:16:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.343234)'), GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.343245)'))) / (select extract(epoch from '2026-07-03 10:16:37'::timestamp) - extract(epoch from '2026-07-03 10:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.343234)'), GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.343245)'))) / (select extract(epoch from '2026-07-03 10:16:37'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011666 -3.343257)', '2026-07-03 10:16:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.343245)'), GeomFromEWKT('SRID=4674;POINT (-39.011666 -3.343257)'))) / (select extract(epoch from '2026-07-03 10:16:38'::timestamp) - extract(epoch from '2026-07-03 10:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.343245)'), GeomFromEWKT('SRID=4674;POINT (-39.011666 -3.343257)'))) / (select extract(epoch from '2026-07-03 10:16:38'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011693 -3.343305)', '2026-07-03 10:16:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011666 -3.343257)'), GeomFromEWKT('SRID=4674;POINT (-39.011693 -3.343305)'))) / (select extract(epoch from '2026-07-03 10:16:42'::timestamp) - extract(epoch from '2026-07-03 10:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011666 -3.343257)'), GeomFromEWKT('SRID=4674;POINT (-39.011693 -3.343305)'))) / (select extract(epoch from '2026-07-03 10:16:42'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011708 -3.343337)', '2026-07-03 10:16:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011693 -3.343305)'), GeomFromEWKT('SRID=4674;POINT (-39.011708 -3.343337)'))) / (select extract(epoch from '2026-07-03 10:16:45'::timestamp) - extract(epoch from '2026-07-03 10:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011693 -3.343305)'), GeomFromEWKT('SRID=4674;POINT (-39.011708 -3.343337)'))) / (select extract(epoch from '2026-07-03 10:16:45'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011734 -3.343362)', '2026-07-03 10:16:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011708 -3.343337)'), GeomFromEWKT('SRID=4674;POINT (-39.011734 -3.343362)'))) / (select extract(epoch from '2026-07-03 10:16:47'::timestamp) - extract(epoch from '2026-07-03 10:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011708 -3.343337)'), GeomFromEWKT('SRID=4674;POINT (-39.011734 -3.343362)'))) / (select extract(epoch from '2026-07-03 10:16:47'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011744 -3.343402)', '2026-07-03 10:16:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011734 -3.343362)'), GeomFromEWKT('SRID=4674;POINT (-39.011744 -3.343402)'))) / (select extract(epoch from '2026-07-03 10:16:51'::timestamp) - extract(epoch from '2026-07-03 10:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011734 -3.343362)'), GeomFromEWKT('SRID=4674;POINT (-39.011744 -3.343402)'))) / (select extract(epoch from '2026-07-03 10:16:51'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011749 -3.343409)', '2026-07-03 10:16:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011744 -3.343402)'), GeomFromEWKT('SRID=4674;POINT (-39.011749 -3.343409)'))) / (select extract(epoch from '2026-07-03 10:16:52'::timestamp) - extract(epoch from '2026-07-03 10:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011744 -3.343402)'), GeomFromEWKT('SRID=4674;POINT (-39.011749 -3.343409)'))) / (select extract(epoch from '2026-07-03 10:16:52'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011777 -3.343457)', '2026-07-03 10:16:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011749 -3.343409)'), GeomFromEWKT('SRID=4674;POINT (-39.011777 -3.343457)'))) / (select extract(epoch from '2026-07-03 10:16:58'::timestamp) - extract(epoch from '2026-07-03 10:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011749 -3.343409)'), GeomFromEWKT('SRID=4674;POINT (-39.011777 -3.343457)'))) / (select extract(epoch from '2026-07-03 10:16:58'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011805 -3.343505)', '2026-07-03 10:17:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011777 -3.343457)'), GeomFromEWKT('SRID=4674;POINT (-39.011805 -3.343505)'))) / (select extract(epoch from '2026-07-03 10:17:03'::timestamp) - extract(epoch from '2026-07-03 10:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011777 -3.343457)'), GeomFromEWKT('SRID=4674;POINT (-39.011805 -3.343505)'))) / (select extract(epoch from '2026-07-03 10:17:03'::timestamp) - extract(epoch from '2026-07-03 10:16: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'), 47417, 'SRID=4674;POINT (-39.011815 -3.34353)', '2026-07-03 10:17:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011805 -3.343505)'), GeomFromEWKT('SRID=4674;POINT (-39.011815 -3.34353)'))) / (select extract(epoch from '2026-07-03 10:17:06'::timestamp) - extract(epoch from '2026-07-03 10:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011805 -3.343505)'), GeomFromEWKT('SRID=4674;POINT (-39.011815 -3.34353)'))) / (select extract(epoch from '2026-07-03 10:17:06'::timestamp) - extract(epoch from '2026-07-03 10:17: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'), 47417, 'SRID=4674;POINT (-39.011851 -3.343555)', '2026-07-03 10:17:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011815 -3.34353)'), GeomFromEWKT('SRID=4674;POINT (-39.011851 -3.343555)'))) / (select extract(epoch from '2026-07-03 10:17:09'::timestamp) - extract(epoch from '2026-07-03 10:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011815 -3.34353)'), GeomFromEWKT('SRID=4674;POINT (-39.011851 -3.343555)'))) / (select extract(epoch from '2026-07-03 10:17:09'::timestamp) - extract(epoch from '2026-07-03 10:17: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'), 47417, 'SRID=4674;POINT (-39.011858 -3.343565)', '2026-07-03 10:17:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011851 -3.343555)'), GeomFromEWKT('SRID=4674;POINT (-39.011858 -3.343565)'))) / (select extract(epoch from '2026-07-03 10:17:10'::timestamp) - extract(epoch from '2026-07-03 10:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011851 -3.343555)'), GeomFromEWKT('SRID=4674;POINT (-39.011858 -3.343565)'))) / (select extract(epoch from '2026-07-03 10:17:10'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.011873 -3.343591)', '2026-07-03 10:17:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011858 -3.343565)'), GeomFromEWKT('SRID=4674;POINT (-39.011873 -3.343591)'))) / (select extract(epoch from '2026-07-03 10:17:13'::timestamp) - extract(epoch from '2026-07-03 10:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011858 -3.343565)'), GeomFromEWKT('SRID=4674;POINT (-39.011873 -3.343591)'))) / (select extract(epoch from '2026-07-03 10:17:13'::timestamp) - extract(epoch from '2026-07-03 10:17: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'), 47417, 'SRID=4674;POINT (-39.011881 -3.343601)', '2026-07-03 10:17:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011873 -3.343591)'), GeomFromEWKT('SRID=4674;POINT (-39.011881 -3.343601)'))) / (select extract(epoch from '2026-07-03 10:17:14'::timestamp) - extract(epoch from '2026-07-03 10:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011873 -3.343591)'), GeomFromEWKT('SRID=4674;POINT (-39.011881 -3.343601)'))) / (select extract(epoch from '2026-07-03 10:17:14'::timestamp) - extract(epoch from '2026-07-03 10:17: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'), 47417, 'SRID=4674;POINT (-39.011894 -3.343616)', '2026-07-03 10:17:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011881 -3.343601)'), GeomFromEWKT('SRID=4674;POINT (-39.011894 -3.343616)'))) / (select extract(epoch from '2026-07-03 10:17:16'::timestamp) - extract(epoch from '2026-07-03 10:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011881 -3.343601)'), GeomFromEWKT('SRID=4674;POINT (-39.011894 -3.343616)'))) / (select extract(epoch from '2026-07-03 10:17:16'::timestamp) - extract(epoch from '2026-07-03 10:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.0119 -3.343635)', '2026-07-03 10:17:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011894 -3.343616)'), GeomFromEWKT('SRID=4674;POINT (-39.0119 -3.343635)'))) / (select extract(epoch from '2026-07-03 10:17:18'::timestamp) - extract(epoch from '2026-07-03 10:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011894 -3.343616)'), GeomFromEWKT('SRID=4674;POINT (-39.0119 -3.343635)'))) / (select extract(epoch from '2026-07-03 10:17:18'::timestamp) - extract(epoch from '2026-07-03 10:17: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'), 47417, 'SRID=4674;POINT (-39.011929 -3.343686)', '2026-07-03 10:17:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0119 -3.343635)'), GeomFromEWKT('SRID=4674;POINT (-39.011929 -3.343686)'))) / (select extract(epoch from '2026-07-03 10:17:24'::timestamp) - extract(epoch from '2026-07-03 10:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0119 -3.343635)'), GeomFromEWKT('SRID=4674;POINT (-39.011929 -3.343686)'))) / (select extract(epoch from '2026-07-03 10:17:24'::timestamp) - extract(epoch from '2026-07-03 10:17: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'), 47417, 'SRID=4674;POINT (-39.011932 -3.343702)', '2026-07-03 10:17:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011929 -3.343686)'), GeomFromEWKT('SRID=4674;POINT (-39.011932 -3.343702)'))) / (select extract(epoch from '2026-07-03 10:17:26'::timestamp) - extract(epoch from '2026-07-03 10:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011929 -3.343686)'), GeomFromEWKT('SRID=4674;POINT (-39.011932 -3.343702)'))) / (select extract(epoch from '2026-07-03 10:17:26'::timestamp) - extract(epoch from '2026-07-03 10:17: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'), 47417, 'SRID=4674;POINT (-39.011948 -3.343737)', '2026-07-03 10:17:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011932 -3.343702)'), GeomFromEWKT('SRID=4674;POINT (-39.011948 -3.343737)'))) / (select extract(epoch from '2026-07-03 10:17:29'::timestamp) - extract(epoch from '2026-07-03 10:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011932 -3.343702)'), GeomFromEWKT('SRID=4674;POINT (-39.011948 -3.343737)'))) / (select extract(epoch from '2026-07-03 10:17:29'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.011967 -3.343803)', '2026-07-03 10:17:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011948 -3.343737)'), GeomFromEWKT('SRID=4674;POINT (-39.011967 -3.343803)'))) / (select extract(epoch from '2026-07-03 10:17:35'::timestamp) - extract(epoch from '2026-07-03 10:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011948 -3.343737)'), GeomFromEWKT('SRID=4674;POINT (-39.011967 -3.343803)'))) / (select extract(epoch from '2026-07-03 10:17:35'::timestamp) - extract(epoch from '2026-07-03 10:17: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'), 47417, 'SRID=4674;POINT (-39.011989 -3.343877)', '2026-07-03 10:17:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011967 -3.343803)'), GeomFromEWKT('SRID=4674;POINT (-39.011989 -3.343877)'))) / (select extract(epoch from '2026-07-03 10:17:41'::timestamp) - extract(epoch from '2026-07-03 10:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011967 -3.343803)'), GeomFromEWKT('SRID=4674;POINT (-39.011989 -3.343877)'))) / (select extract(epoch from '2026-07-03 10:17:41'::timestamp) - extract(epoch from '2026-07-03 10:17:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012015 -3.343933)', '2026-07-03 10:17:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011989 -3.343877)'), GeomFromEWKT('SRID=4674;POINT (-39.012015 -3.343933)'))) / (select extract(epoch from '2026-07-03 10:17:46'::timestamp) - extract(epoch from '2026-07-03 10:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011989 -3.343877)'), GeomFromEWKT('SRID=4674;POINT (-39.012015 -3.343933)'))) / (select extract(epoch from '2026-07-03 10:17:46'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.012029 -3.343959)', '2026-07-03 10:17:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012015 -3.343933)'), GeomFromEWKT('SRID=4674;POINT (-39.012029 -3.343959)'))) / (select extract(epoch from '2026-07-03 10:17:48'::timestamp) - extract(epoch from '2026-07-03 10:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012015 -3.343933)'), GeomFromEWKT('SRID=4674;POINT (-39.012029 -3.343959)'))) / (select extract(epoch from '2026-07-03 10:17:48'::timestamp) - extract(epoch from '2026-07-03 10:17: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'), 47417, 'SRID=4674;POINT (-39.012044 -3.34399)', '2026-07-03 10:17:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012029 -3.343959)'), GeomFromEWKT('SRID=4674;POINT (-39.012044 -3.34399)'))) / (select extract(epoch from '2026-07-03 10:17:51'::timestamp) - extract(epoch from '2026-07-03 10:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012029 -3.343959)'), GeomFromEWKT('SRID=4674;POINT (-39.012044 -3.34399)'))) / (select extract(epoch from '2026-07-03 10:17:51'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.012076 -3.344053)', '2026-07-03 10:17:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012044 -3.34399)'), GeomFromEWKT('SRID=4674;POINT (-39.012076 -3.344053)'))) / (select extract(epoch from '2026-07-03 10:17:57'::timestamp) - extract(epoch from '2026-07-03 10:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012044 -3.34399)'), GeomFromEWKT('SRID=4674;POINT (-39.012076 -3.344053)'))) / (select extract(epoch from '2026-07-03 10:17:57'::timestamp) - extract(epoch from '2026-07-03 10:17: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'), 47417, 'SRID=4674;POINT (-39.012097 -3.344115)', '2026-07-03 10:18:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012076 -3.344053)'), GeomFromEWKT('SRID=4674;POINT (-39.012097 -3.344115)'))) / (select extract(epoch from '2026-07-03 10:18:03'::timestamp) - extract(epoch from '2026-07-03 10:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012076 -3.344053)'), GeomFromEWKT('SRID=4674;POINT (-39.012097 -3.344115)'))) / (select extract(epoch from '2026-07-03 10:18:03'::timestamp) - extract(epoch from '2026-07-03 10:17:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.0121 -3.344127)', '2026-07-03 10:18:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012097 -3.344115)'), GeomFromEWKT('SRID=4674;POINT (-39.0121 -3.344127)'))) / (select extract(epoch from '2026-07-03 10:18:04'::timestamp) - extract(epoch from '2026-07-03 10:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012097 -3.344115)'), GeomFromEWKT('SRID=4674;POINT (-39.0121 -3.344127)'))) / (select extract(epoch from '2026-07-03 10:18:04'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012124 -3.344162)', '2026-07-03 10:18:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0121 -3.344127)'), GeomFromEWKT('SRID=4674;POINT (-39.012124 -3.344162)'))) / (select extract(epoch from '2026-07-03 10:18:07'::timestamp) - extract(epoch from '2026-07-03 10:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0121 -3.344127)'), GeomFromEWKT('SRID=4674;POINT (-39.012124 -3.344162)'))) / (select extract(epoch from '2026-07-03 10:18:07'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.01212 -3.344173)', '2026-07-03 10:18:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012124 -3.344162)'), GeomFromEWKT('SRID=4674;POINT (-39.01212 -3.344173)'))) / (select extract(epoch from '2026-07-03 10:18:08'::timestamp) - extract(epoch from '2026-07-03 10:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012124 -3.344162)'), GeomFromEWKT('SRID=4674;POINT (-39.01212 -3.344173)'))) / (select extract(epoch from '2026-07-03 10:18:08'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012118 -3.344184)', '2026-07-03 10:18:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01212 -3.344173)'), GeomFromEWKT('SRID=4674;POINT (-39.012118 -3.344184)'))) / (select extract(epoch from '2026-07-03 10:18:09'::timestamp) - extract(epoch from '2026-07-03 10:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01212 -3.344173)'), GeomFromEWKT('SRID=4674;POINT (-39.012118 -3.344184)'))) / (select extract(epoch from '2026-07-03 10:18:09'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012124 -3.344204)', '2026-07-03 10:18:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012118 -3.344184)'), GeomFromEWKT('SRID=4674;POINT (-39.012124 -3.344204)'))) / (select extract(epoch from '2026-07-03 10:18:11'::timestamp) - extract(epoch from '2026-07-03 10:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012118 -3.344184)'), GeomFromEWKT('SRID=4674;POINT (-39.012124 -3.344204)'))) / (select extract(epoch from '2026-07-03 10:18:11'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012139 -3.344226)', '2026-07-03 10:18:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012124 -3.344204)'), GeomFromEWKT('SRID=4674;POINT (-39.012139 -3.344226)'))) / (select extract(epoch from '2026-07-03 10:18:13'::timestamp) - extract(epoch from '2026-07-03 10:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012124 -3.344204)'), GeomFromEWKT('SRID=4674;POINT (-39.012139 -3.344226)'))) / (select extract(epoch from '2026-07-03 10:18:13'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.012143 -3.344256)', '2026-07-03 10:18:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012139 -3.344226)'), GeomFromEWKT('SRID=4674;POINT (-39.012143 -3.344256)'))) / (select extract(epoch from '2026-07-03 10:18:17'::timestamp) - extract(epoch from '2026-07-03 10:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012139 -3.344226)'), GeomFromEWKT('SRID=4674;POINT (-39.012143 -3.344256)'))) / (select extract(epoch from '2026-07-03 10:18:17'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012146 -3.344276)', '2026-07-03 10:18:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012143 -3.344256)'), GeomFromEWKT('SRID=4674;POINT (-39.012146 -3.344276)'))) / (select extract(epoch from '2026-07-03 10:18:19'::timestamp) - extract(epoch from '2026-07-03 10:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012143 -3.344256)'), GeomFromEWKT('SRID=4674;POINT (-39.012146 -3.344276)'))) / (select extract(epoch from '2026-07-03 10:18:19'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012156 -3.344326)', '2026-07-03 10:18:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012146 -3.344276)'), GeomFromEWKT('SRID=4674;POINT (-39.012156 -3.344326)'))) / (select extract(epoch from '2026-07-03 10:18:24'::timestamp) - extract(epoch from '2026-07-03 10:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012146 -3.344276)'), GeomFromEWKT('SRID=4674;POINT (-39.012156 -3.344326)'))) / (select extract(epoch from '2026-07-03 10:18:24'::timestamp) - extract(epoch from '2026-07-03 10:18:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012159 -3.344338)', '2026-07-03 10:18:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012156 -3.344326)'), GeomFromEWKT('SRID=4674;POINT (-39.012159 -3.344338)'))) / (select extract(epoch from '2026-07-03 10:18:25'::timestamp) - extract(epoch from '2026-07-03 10:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012156 -3.344326)'), GeomFromEWKT('SRID=4674;POINT (-39.012159 -3.344338)'))) / (select extract(epoch from '2026-07-03 10:18:25'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012155 -3.344397)', '2026-07-03 10:18:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012159 -3.344338)'), GeomFromEWKT('SRID=4674;POINT (-39.012155 -3.344397)'))) / (select extract(epoch from '2026-07-03 10:18:31'::timestamp) - extract(epoch from '2026-07-03 10:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012159 -3.344338)'), GeomFromEWKT('SRID=4674;POINT (-39.012155 -3.344397)'))) / (select extract(epoch from '2026-07-03 10:18:31'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012143 -3.344422)', '2026-07-03 10:18:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012155 -3.344397)'), GeomFromEWKT('SRID=4674;POINT (-39.012143 -3.344422)'))) / (select extract(epoch from '2026-07-03 10:18:34'::timestamp) - extract(epoch from '2026-07-03 10:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012155 -3.344397)'), GeomFromEWKT('SRID=4674;POINT (-39.012143 -3.344422)'))) / (select extract(epoch from '2026-07-03 10:18:34'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.01214 -3.34444)', '2026-07-03 10:18:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012143 -3.344422)'), GeomFromEWKT('SRID=4674;POINT (-39.01214 -3.34444)'))) / (select extract(epoch from '2026-07-03 10:18:36'::timestamp) - extract(epoch from '2026-07-03 10:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012143 -3.344422)'), GeomFromEWKT('SRID=4674;POINT (-39.01214 -3.34444)'))) / (select extract(epoch from '2026-07-03 10:18:36'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012142 -3.344448)', '2026-07-03 10:18:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01214 -3.34444)'), GeomFromEWKT('SRID=4674;POINT (-39.012142 -3.344448)'))) / (select extract(epoch from '2026-07-03 10:18:37'::timestamp) - extract(epoch from '2026-07-03 10:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01214 -3.34444)'), GeomFromEWKT('SRID=4674;POINT (-39.012142 -3.344448)'))) / (select extract(epoch from '2026-07-03 10:18:37'::timestamp) - extract(epoch from '2026-07-03 10:18:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01214 -3.34446)', '2026-07-03 10:18:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012142 -3.344448)'), GeomFromEWKT('SRID=4674;POINT (-39.01214 -3.34446)'))) / (select extract(epoch from '2026-07-03 10:18:39'::timestamp) - extract(epoch from '2026-07-03 10:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012142 -3.344448)'), GeomFromEWKT('SRID=4674;POINT (-39.01214 -3.34446)'))) / (select extract(epoch from '2026-07-03 10:18:39'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012127 -3.344489)', '2026-07-03 10:18:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01214 -3.34446)'), GeomFromEWKT('SRID=4674;POINT (-39.012127 -3.344489)'))) / (select extract(epoch from '2026-07-03 10:18:43'::timestamp) - extract(epoch from '2026-07-03 10:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01214 -3.34446)'), GeomFromEWKT('SRID=4674;POINT (-39.012127 -3.344489)'))) / (select extract(epoch from '2026-07-03 10:18:43'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012106 -3.344545)', '2026-07-03 10:18:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012127 -3.344489)'), GeomFromEWKT('SRID=4674;POINT (-39.012106 -3.344545)'))) / (select extract(epoch from '2026-07-03 10:18:49'::timestamp) - extract(epoch from '2026-07-03 10:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012127 -3.344489)'), GeomFromEWKT('SRID=4674;POINT (-39.012106 -3.344545)'))) / (select extract(epoch from '2026-07-03 10:18:49'::timestamp) - extract(epoch from '2026-07-03 10:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012084 -3.344604)', '2026-07-03 10:18:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012106 -3.344545)'), GeomFromEWKT('SRID=4674;POINT (-39.012084 -3.344604)'))) / (select extract(epoch from '2026-07-03 10:18:55'::timestamp) - extract(epoch from '2026-07-03 10:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012106 -3.344545)'), GeomFromEWKT('SRID=4674;POINT (-39.012084 -3.344604)'))) / (select extract(epoch from '2026-07-03 10:18:55'::timestamp) - extract(epoch from '2026-07-03 10:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012085 -3.344615)', '2026-07-03 10:18:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012084 -3.344604)'), GeomFromEWKT('SRID=4674;POINT (-39.012085 -3.344615)'))) / (select extract(epoch from '2026-07-03 10:18:56'::timestamp) - extract(epoch from '2026-07-03 10:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012084 -3.344604)'), GeomFromEWKT('SRID=4674;POINT (-39.012085 -3.344615)'))) / (select extract(epoch from '2026-07-03 10:18:56'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012094 -3.344656)', '2026-07-03 10:19:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012085 -3.344615)'), GeomFromEWKT('SRID=4674;POINT (-39.012094 -3.344656)'))) / (select extract(epoch from '2026-07-03 10:19:00'::timestamp) - extract(epoch from '2026-07-03 10:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012085 -3.344615)'), GeomFromEWKT('SRID=4674;POINT (-39.012094 -3.344656)'))) / (select extract(epoch from '2026-07-03 10:19:00'::timestamp) - extract(epoch from '2026-07-03 10:18: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'), 47417, 'SRID=4674;POINT (-39.012091 -3.344667)', '2026-07-03 10:19:01', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012094 -3.344656)'), GeomFromEWKT('SRID=4674;POINT (-39.012091 -3.344667)'))) / (select extract(epoch from '2026-07-03 10:19:01'::timestamp) - extract(epoch from '2026-07-03 10:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012094 -3.344656)'), GeomFromEWKT('SRID=4674;POINT (-39.012091 -3.344667)'))) / (select extract(epoch from '2026-07-03 10:19:01'::timestamp) - extract(epoch from '2026-07-03 10:19: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'), 47417, 'SRID=4674;POINT (-39.012087 -3.344694)', '2026-07-03 10:19:04', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012091 -3.344667)'), GeomFromEWKT('SRID=4674;POINT (-39.012087 -3.344694)'))) / (select extract(epoch from '2026-07-03 10:19:04'::timestamp) - extract(epoch from '2026-07-03 10:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012091 -3.344667)'), GeomFromEWKT('SRID=4674;POINT (-39.012087 -3.344694)'))) / (select extract(epoch from '2026-07-03 10:19:04'::timestamp) - extract(epoch from '2026-07-03 10:19: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'), 47417, 'SRID=4674;POINT (-39.012092 -3.3447)', '2026-07-03 10:19:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012087 -3.344694)'), GeomFromEWKT('SRID=4674;POINT (-39.012092 -3.3447)'))) / (select extract(epoch from '2026-07-03 10:19:05'::timestamp) - extract(epoch from '2026-07-03 10:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012087 -3.344694)'), GeomFromEWKT('SRID=4674;POINT (-39.012092 -3.3447)'))) / (select extract(epoch from '2026-07-03 10:19:05'::timestamp) - extract(epoch from '2026-07-03 10:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012117 -3.344748)', '2026-07-03 10:19:10', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012092 -3.3447)'), GeomFromEWKT('SRID=4674;POINT (-39.012117 -3.344748)'))) / (select extract(epoch from '2026-07-03 10:19:10'::timestamp) - extract(epoch from '2026-07-03 10:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012092 -3.3447)'), GeomFromEWKT('SRID=4674;POINT (-39.012117 -3.344748)'))) / (select extract(epoch from '2026-07-03 10:19:10'::timestamp) - extract(epoch from '2026-07-03 10:19: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'), 47417, 'SRID=4674;POINT (-39.012126 -3.344781)', '2026-07-03 10:19:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012117 -3.344748)'), GeomFromEWKT('SRID=4674;POINT (-39.012126 -3.344781)'))) / (select extract(epoch from '2026-07-03 10:19:13'::timestamp) - extract(epoch from '2026-07-03 10:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012117 -3.344748)'), GeomFromEWKT('SRID=4674;POINT (-39.012126 -3.344781)'))) / (select extract(epoch from '2026-07-03 10:19:13'::timestamp) - extract(epoch from '2026-07-03 10:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012142 -3.344803)', '2026-07-03 10:19:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012126 -3.344781)'), GeomFromEWKT('SRID=4674;POINT (-39.012142 -3.344803)'))) / (select extract(epoch from '2026-07-03 10:19:15'::timestamp) - extract(epoch from '2026-07-03 10:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012126 -3.344781)'), GeomFromEWKT('SRID=4674;POINT (-39.012142 -3.344803)'))) / (select extract(epoch from '2026-07-03 10:19:15'::timestamp) - extract(epoch from '2026-07-03 10:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012175 -3.344913)', '2026-07-03 10:19:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012142 -3.344803)'), GeomFromEWKT('SRID=4674;POINT (-39.012175 -3.344913)'))) / (select extract(epoch from '2026-07-03 10:19:24'::timestamp) - extract(epoch from '2026-07-03 10:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012142 -3.344803)'), GeomFromEWKT('SRID=4674;POINT (-39.012175 -3.344913)'))) / (select extract(epoch from '2026-07-03 10:19:24'::timestamp) - extract(epoch from '2026-07-03 10:19: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'), 47417, 'SRID=4674;POINT (-39.012254 -3.34496)', '2026-07-03 10:19:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012175 -3.344913)'), GeomFromEWKT('SRID=4674;POINT (-39.012254 -3.34496)'))) / (select extract(epoch from '2026-07-03 10:19:30'::timestamp) - extract(epoch from '2026-07-03 10:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012175 -3.344913)'), GeomFromEWKT('SRID=4674;POINT (-39.012254 -3.34496)'))) / (select extract(epoch from '2026-07-03 10:19:30'::timestamp) - extract(epoch from '2026-07-03 10:19:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012367 -3.344953)', '2026-07-03 10:19:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012254 -3.34496)'), GeomFromEWKT('SRID=4674;POINT (-39.012367 -3.344953)'))) / (select extract(epoch from '2026-07-03 10:19:36'::timestamp) - extract(epoch from '2026-07-03 10:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012254 -3.34496)'), GeomFromEWKT('SRID=4674;POINT (-39.012367 -3.344953)'))) / (select extract(epoch from '2026-07-03 10:19:36'::timestamp) - extract(epoch from '2026-07-03 10:19: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'), 47417, 'SRID=4674;POINT (-39.012473 -3.344962)', '2026-07-03 10:19:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012367 -3.344953)'), GeomFromEWKT('SRID=4674;POINT (-39.012473 -3.344962)'))) / (select extract(epoch from '2026-07-03 10:19:42'::timestamp) - extract(epoch from '2026-07-03 10:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012367 -3.344953)'), GeomFromEWKT('SRID=4674;POINT (-39.012473 -3.344962)'))) / (select extract(epoch from '2026-07-03 10:19:42'::timestamp) - extract(epoch from '2026-07-03 10:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012538 -3.34499)', '2026-07-03 10:19:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012473 -3.344962)'), GeomFromEWKT('SRID=4674;POINT (-39.012538 -3.34499)'))) / (select extract(epoch from '2026-07-03 10:19:46'::timestamp) - extract(epoch from '2026-07-03 10:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012473 -3.344962)'), GeomFromEWKT('SRID=4674;POINT (-39.012538 -3.34499)'))) / (select extract(epoch from '2026-07-03 10:19:46'::timestamp) - extract(epoch from '2026-07-03 10:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012588 -3.34504)', '2026-07-03 10:19:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012538 -3.34499)'), GeomFromEWKT('SRID=4674;POINT (-39.012588 -3.34504)'))) / (select extract(epoch from '2026-07-03 10:19:51'::timestamp) - extract(epoch from '2026-07-03 10:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012538 -3.34499)'), GeomFromEWKT('SRID=4674;POINT (-39.012588 -3.34504)'))) / (select extract(epoch from '2026-07-03 10:19:51'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.012625 -3.345094)', '2026-07-03 10:19:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012588 -3.34504)'), GeomFromEWKT('SRID=4674;POINT (-39.012625 -3.345094)'))) / (select extract(epoch from '2026-07-03 10:19:56'::timestamp) - extract(epoch from '2026-07-03 10:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012588 -3.34504)'), GeomFromEWKT('SRID=4674;POINT (-39.012625 -3.345094)'))) / (select extract(epoch from '2026-07-03 10:19:56'::timestamp) - extract(epoch from '2026-07-03 10:19:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012641 -3.345117)', '2026-07-03 10:19:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012625 -3.345094)'), GeomFromEWKT('SRID=4674;POINT (-39.012641 -3.345117)'))) / (select extract(epoch from '2026-07-03 10:19:58'::timestamp) - extract(epoch from '2026-07-03 10:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012625 -3.345094)'), GeomFromEWKT('SRID=4674;POINT (-39.012641 -3.345117)'))) / (select extract(epoch from '2026-07-03 10:19:58'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.012705 -3.345168)', '2026-07-03 10:20:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012641 -3.345117)'), GeomFromEWKT('SRID=4674;POINT (-39.012705 -3.345168)'))) / (select extract(epoch from '2026-07-03 10:20:03'::timestamp) - extract(epoch from '2026-07-03 10:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012641 -3.345117)'), GeomFromEWKT('SRID=4674;POINT (-39.012705 -3.345168)'))) / (select extract(epoch from '2026-07-03 10:20:03'::timestamp) - extract(epoch from '2026-07-03 10:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.012816 -3.345207)', '2026-07-03 10:20:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012705 -3.345168)'), GeomFromEWKT('SRID=4674;POINT (-39.012816 -3.345207)'))) / (select extract(epoch from '2026-07-03 10:20:09'::timestamp) - extract(epoch from '2026-07-03 10:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012705 -3.345168)'), GeomFromEWKT('SRID=4674;POINT (-39.012816 -3.345207)'))) / (select extract(epoch from '2026-07-03 10:20:09'::timestamp) - extract(epoch from '2026-07-03 10:20: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'), 47417, 'SRID=4674;POINT (-39.012905 -3.345221)', '2026-07-03 10:20:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012816 -3.345207)'), GeomFromEWKT('SRID=4674;POINT (-39.012905 -3.345221)'))) / (select extract(epoch from '2026-07-03 10:20:14'::timestamp) - extract(epoch from '2026-07-03 10:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012816 -3.345207)'), GeomFromEWKT('SRID=4674;POINT (-39.012905 -3.345221)'))) / (select extract(epoch from '2026-07-03 10:20:14'::timestamp) - extract(epoch from '2026-07-03 10:20: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'), 47417, 'SRID=4674;POINT (-39.012998 -3.34524)', '2026-07-03 10:20:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012905 -3.345221)'), GeomFromEWKT('SRID=4674;POINT (-39.012998 -3.34524)'))) / (select extract(epoch from '2026-07-03 10:20:19'::timestamp) - extract(epoch from '2026-07-03 10:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012905 -3.345221)'), GeomFromEWKT('SRID=4674;POINT (-39.012998 -3.34524)'))) / (select extract(epoch from '2026-07-03 10:20:19'::timestamp) - extract(epoch from '2026-07-03 10:20:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.013087 -3.345287)', '2026-07-03 10:20:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012998 -3.34524)'), GeomFromEWKT('SRID=4674;POINT (-39.013087 -3.345287)'))) / (select extract(epoch from '2026-07-03 10:20:25'::timestamp) - extract(epoch from '2026-07-03 10:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012998 -3.34524)'), GeomFromEWKT('SRID=4674;POINT (-39.013087 -3.345287)'))) / (select extract(epoch from '2026-07-03 10:20:25'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.013151 -3.345326)', '2026-07-03 10:20:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013087 -3.345287)'), GeomFromEWKT('SRID=4674;POINT (-39.013151 -3.345326)'))) / (select extract(epoch from '2026-07-03 10:20:30'::timestamp) - extract(epoch from '2026-07-03 10:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013087 -3.345287)'), GeomFromEWKT('SRID=4674;POINT (-39.013151 -3.345326)'))) / (select extract(epoch from '2026-07-03 10:20:30'::timestamp) - extract(epoch from '2026-07-03 10:20: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'), 47417, 'SRID=4674;POINT (-39.013171 -3.345334)', '2026-07-03 10:20:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013151 -3.345326)'), GeomFromEWKT('SRID=4674;POINT (-39.013171 -3.345334)'))) / (select extract(epoch from '2026-07-03 10:20:31'::timestamp) - extract(epoch from '2026-07-03 10:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013151 -3.345326)'), GeomFromEWKT('SRID=4674;POINT (-39.013171 -3.345334)'))) / (select extract(epoch from '2026-07-03 10:20:31'::timestamp) - extract(epoch from '2026-07-03 10:20: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'), 47417, 'SRID=4674;POINT (-39.013218 -3.345372)', '2026-07-03 10:20:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013171 -3.345334)'), GeomFromEWKT('SRID=4674;POINT (-39.013218 -3.345372)'))) / (select extract(epoch from '2026-07-03 10:20:35'::timestamp) - extract(epoch from '2026-07-03 10:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013171 -3.345334)'), GeomFromEWKT('SRID=4674;POINT (-39.013218 -3.345372)'))) / (select extract(epoch from '2026-07-03 10:20:35'::timestamp) - extract(epoch from '2026-07-03 10:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01329 -3.345432)', '2026-07-03 10:20:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013218 -3.345372)'), GeomFromEWKT('SRID=4674;POINT (-39.01329 -3.345432)'))) / (select extract(epoch from '2026-07-03 10:20:41'::timestamp) - extract(epoch from '2026-07-03 10:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013218 -3.345372)'), GeomFromEWKT('SRID=4674;POINT (-39.01329 -3.345432)'))) / (select extract(epoch from '2026-07-03 10:20:41'::timestamp) - extract(epoch from '2026-07-03 10:20:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.013382 -3.345484)', '2026-07-03 10:20:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01329 -3.345432)'), GeomFromEWKT('SRID=4674;POINT (-39.013382 -3.345484)'))) / (select extract(epoch from '2026-07-03 10:20:47'::timestamp) - extract(epoch from '2026-07-03 10:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01329 -3.345432)'), GeomFromEWKT('SRID=4674;POINT (-39.013382 -3.345484)'))) / (select extract(epoch from '2026-07-03 10:20:47'::timestamp) - extract(epoch from '2026-07-03 10:20: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'), 47417, 'SRID=4674;POINT (-39.013457 -3.345516)', '2026-07-03 10:20:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013382 -3.345484)'), GeomFromEWKT('SRID=4674;POINT (-39.013457 -3.345516)'))) / (select extract(epoch from '2026-07-03 10:20:51'::timestamp) - extract(epoch from '2026-07-03 10:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013382 -3.345484)'), GeomFromEWKT('SRID=4674;POINT (-39.013457 -3.345516)'))) / (select extract(epoch from '2026-07-03 10:20:51'::timestamp) - extract(epoch from '2026-07-03 10:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.013557 -3.345547)', '2026-07-03 10:20:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013457 -3.345516)'), GeomFromEWKT('SRID=4674;POINT (-39.013557 -3.345547)'))) / (select extract(epoch from '2026-07-03 10:20:57'::timestamp) - extract(epoch from '2026-07-03 10:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013457 -3.345516)'), GeomFromEWKT('SRID=4674;POINT (-39.013557 -3.345547)'))) / (select extract(epoch from '2026-07-03 10:20:57'::timestamp) - extract(epoch from '2026-07-03 10:20: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'), 47417, 'SRID=4674;POINT (-39.013597 -3.345563)', '2026-07-03 10:20:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013557 -3.345547)'), GeomFromEWKT('SRID=4674;POINT (-39.013597 -3.345563)'))) / (select extract(epoch from '2026-07-03 10:20:59'::timestamp) - extract(epoch from '2026-07-03 10:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013557 -3.345547)'), GeomFromEWKT('SRID=4674;POINT (-39.013597 -3.345563)'))) / (select extract(epoch from '2026-07-03 10:20:59'::timestamp) - extract(epoch from '2026-07-03 10:20: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'), 47417, 'SRID=4674;POINT (-39.013617 -3.345574)', '2026-07-03 10:21:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013597 -3.345563)'), GeomFromEWKT('SRID=4674;POINT (-39.013617 -3.345574)'))) / (select extract(epoch from '2026-07-03 10:21:01'::timestamp) - extract(epoch from '2026-07-03 10:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013597 -3.345563)'), GeomFromEWKT('SRID=4674;POINT (-39.013617 -3.345574)'))) / (select extract(epoch from '2026-07-03 10:21:01'::timestamp) - extract(epoch from '2026-07-03 10:20: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'), 47417, 'SRID=4674;POINT (-39.013694 -3.345628)', '2026-07-03 10:21:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013617 -3.345574)'), GeomFromEWKT('SRID=4674;POINT (-39.013694 -3.345628)'))) / (select extract(epoch from '2026-07-03 10:21:06'::timestamp) - extract(epoch from '2026-07-03 10:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013617 -3.345574)'), GeomFromEWKT('SRID=4674;POINT (-39.013694 -3.345628)'))) / (select extract(epoch from '2026-07-03 10:21:06'::timestamp) - extract(epoch from '2026-07-03 10:21: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'), 47417, 'SRID=4674;POINT (-39.013794 -3.345687)', '2026-07-03 10:21:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013694 -3.345628)'), GeomFromEWKT('SRID=4674;POINT (-39.013794 -3.345687)'))) / (select extract(epoch from '2026-07-03 10:21:13'::timestamp) - extract(epoch from '2026-07-03 10:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013694 -3.345628)'), GeomFromEWKT('SRID=4674;POINT (-39.013794 -3.345687)'))) / (select extract(epoch from '2026-07-03 10:21:13'::timestamp) - extract(epoch from '2026-07-03 10:21: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'), 47417, 'SRID=4674;POINT (-39.013873 -3.345734)', '2026-07-03 10:21:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013794 -3.345687)'), GeomFromEWKT('SRID=4674;POINT (-39.013873 -3.345734)'))) / (select extract(epoch from '2026-07-03 10:21:18'::timestamp) - extract(epoch from '2026-07-03 10:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013794 -3.345687)'), GeomFromEWKT('SRID=4674;POINT (-39.013873 -3.345734)'))) / (select extract(epoch from '2026-07-03 10:21:18'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.013913 -3.345768)', '2026-07-03 10:21:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013873 -3.345734)'), GeomFromEWKT('SRID=4674;POINT (-39.013913 -3.345768)'))) / (select extract(epoch from '2026-07-03 10:21:21'::timestamp) - extract(epoch from '2026-07-03 10:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013873 -3.345734)'), GeomFromEWKT('SRID=4674;POINT (-39.013913 -3.345768)'))) / (select extract(epoch from '2026-07-03 10:21:21'::timestamp) - extract(epoch from '2026-07-03 10:21: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'), 47417, 'SRID=4674;POINT (-39.013941 -3.345783)', '2026-07-03 10:21:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013913 -3.345768)'), GeomFromEWKT('SRID=4674;POINT (-39.013941 -3.345783)'))) / (select extract(epoch from '2026-07-03 10:21:23'::timestamp) - extract(epoch from '2026-07-03 10:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013913 -3.345768)'), GeomFromEWKT('SRID=4674;POINT (-39.013941 -3.345783)'))) / (select extract(epoch from '2026-07-03 10:21:23'::timestamp) - extract(epoch from '2026-07-03 10:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.014035 -3.345831)', '2026-07-03 10:21:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013941 -3.345783)'), GeomFromEWKT('SRID=4674;POINT (-39.014035 -3.345831)'))) / (select extract(epoch from '2026-07-03 10:21:29'::timestamp) - extract(epoch from '2026-07-03 10:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013941 -3.345783)'), GeomFromEWKT('SRID=4674;POINT (-39.014035 -3.345831)'))) / (select extract(epoch from '2026-07-03 10:21:29'::timestamp) - extract(epoch from '2026-07-03 10:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.014119 -3.345862)', '2026-07-03 10:21:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014035 -3.345831)'), GeomFromEWKT('SRID=4674;POINT (-39.014119 -3.345862)'))) / (select extract(epoch from '2026-07-03 10:21:34'::timestamp) - extract(epoch from '2026-07-03 10:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014035 -3.345831)'), GeomFromEWKT('SRID=4674;POINT (-39.014119 -3.345862)'))) / (select extract(epoch from '2026-07-03 10:21:34'::timestamp) - extract(epoch from '2026-07-03 10:21: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'), 47417, 'SRID=4674;POINT (-39.014225 -3.345881)', '2026-07-03 10:21:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014119 -3.345862)'), GeomFromEWKT('SRID=4674;POINT (-39.014225 -3.345881)'))) / (select extract(epoch from '2026-07-03 10:21:40'::timestamp) - extract(epoch from '2026-07-03 10:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014119 -3.345862)'), GeomFromEWKT('SRID=4674;POINT (-39.014225 -3.345881)'))) / (select extract(epoch from '2026-07-03 10:21:40'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.014308 -3.345912)', '2026-07-03 10:21:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014225 -3.345881)'), GeomFromEWKT('SRID=4674;POINT (-39.014308 -3.345912)'))) / (select extract(epoch from '2026-07-03 10:21:45'::timestamp) - extract(epoch from '2026-07-03 10:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014225 -3.345881)'), GeomFromEWKT('SRID=4674;POINT (-39.014308 -3.345912)'))) / (select extract(epoch from '2026-07-03 10:21:45'::timestamp) - extract(epoch from '2026-07-03 10:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.014364 -3.345952)', '2026-07-03 10:21:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014308 -3.345912)'), GeomFromEWKT('SRID=4674;POINT (-39.014364 -3.345952)'))) / (select extract(epoch from '2026-07-03 10:21:49'::timestamp) - extract(epoch from '2026-07-03 10:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014308 -3.345912)'), GeomFromEWKT('SRID=4674;POINT (-39.014364 -3.345952)'))) / (select extract(epoch from '2026-07-03 10:21:49'::timestamp) - extract(epoch from '2026-07-03 10:21: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'), 47417, 'SRID=4674;POINT (-39.014394 -3.345968)', '2026-07-03 10:21:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014364 -3.345952)'), GeomFromEWKT('SRID=4674;POINT (-39.014394 -3.345968)'))) / (select extract(epoch from '2026-07-03 10:21:51'::timestamp) - extract(epoch from '2026-07-03 10:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014364 -3.345952)'), GeomFromEWKT('SRID=4674;POINT (-39.014394 -3.345968)'))) / (select extract(epoch from '2026-07-03 10:21:51'::timestamp) - extract(epoch from '2026-07-03 10:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.014487 -3.346018)', '2026-07-03 10:21:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014394 -3.345968)'), GeomFromEWKT('SRID=4674;POINT (-39.014487 -3.346018)'))) / (select extract(epoch from '2026-07-03 10:21:57'::timestamp) - extract(epoch from '2026-07-03 10:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014394 -3.345968)'), GeomFromEWKT('SRID=4674;POINT (-39.014487 -3.346018)'))) / (select extract(epoch from '2026-07-03 10:21:57'::timestamp) - extract(epoch from '2026-07-03 10:21: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'), 47417, 'SRID=4674;POINT (-39.014571 -3.346068)', '2026-07-03 10:22:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014487 -3.346018)'), GeomFromEWKT('SRID=4674;POINT (-39.014571 -3.346068)'))) / (select extract(epoch from '2026-07-03 10:22:03'::timestamp) - extract(epoch from '2026-07-03 10:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014487 -3.346018)'), GeomFromEWKT('SRID=4674;POINT (-39.014571 -3.346068)'))) / (select extract(epoch from '2026-07-03 10:22:03'::timestamp) - extract(epoch from '2026-07-03 10:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01461 -3.346094)', '2026-07-03 10:22:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014571 -3.346068)'), GeomFromEWKT('SRID=4674;POINT (-39.01461 -3.346094)'))) / (select extract(epoch from '2026-07-03 10:22:06'::timestamp) - extract(epoch from '2026-07-03 10:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014571 -3.346068)'), GeomFromEWKT('SRID=4674;POINT (-39.01461 -3.346094)'))) / (select extract(epoch from '2026-07-03 10:22:06'::timestamp) - extract(epoch from '2026-07-03 10:22: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'), 47417, 'SRID=4674;POINT (-39.014653 -3.346114)', '2026-07-03 10:22:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01461 -3.346094)'), GeomFromEWKT('SRID=4674;POINT (-39.014653 -3.346114)'))) / (select extract(epoch from '2026-07-03 10:22:08'::timestamp) - extract(epoch from '2026-07-03 10:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01461 -3.346094)'), GeomFromEWKT('SRID=4674;POINT (-39.014653 -3.346114)'))) / (select extract(epoch from '2026-07-03 10:22:08'::timestamp) - extract(epoch from '2026-07-03 10:22: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'), 47417, 'SRID=4674;POINT (-39.014726 -3.346158)', '2026-07-03 10:22:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014653 -3.346114)'), GeomFromEWKT('SRID=4674;POINT (-39.014726 -3.346158)'))) / (select extract(epoch from '2026-07-03 10:22:13'::timestamp) - extract(epoch from '2026-07-03 10:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014653 -3.346114)'), GeomFromEWKT('SRID=4674;POINT (-39.014726 -3.346158)'))) / (select extract(epoch from '2026-07-03 10:22:13'::timestamp) - extract(epoch from '2026-07-03 10:22: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'), 47417, 'SRID=4674;POINT (-39.014816 -3.346193)', '2026-07-03 10:22:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014726 -3.346158)'), GeomFromEWKT('SRID=4674;POINT (-39.014816 -3.346193)'))) / (select extract(epoch from '2026-07-03 10:22:18'::timestamp) - extract(epoch from '2026-07-03 10:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014726 -3.346158)'), GeomFromEWKT('SRID=4674;POINT (-39.014816 -3.346193)'))) / (select extract(epoch from '2026-07-03 10:22:18'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.0149 -3.34622)', '2026-07-03 10:22:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014816 -3.346193)'), GeomFromEWKT('SRID=4674;POINT (-39.0149 -3.34622)'))) / (select extract(epoch from '2026-07-03 10:22:23'::timestamp) - extract(epoch from '2026-07-03 10:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014816 -3.346193)'), GeomFromEWKT('SRID=4674;POINT (-39.0149 -3.34622)'))) / (select extract(epoch from '2026-07-03 10:22:23'::timestamp) - extract(epoch from '2026-07-03 10:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01501 -3.346258)', '2026-07-03 10:22:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0149 -3.34622)'), GeomFromEWKT('SRID=4674;POINT (-39.01501 -3.346258)'))) / (select extract(epoch from '2026-07-03 10:22:29'::timestamp) - extract(epoch from '2026-07-03 10:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0149 -3.34622)'), GeomFromEWKT('SRID=4674;POINT (-39.01501 -3.346258)'))) / (select extract(epoch from '2026-07-03 10:22:29'::timestamp) - extract(epoch from '2026-07-03 10:22: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'), 47417, 'SRID=4674;POINT (-39.015098 -3.346303)', '2026-07-03 10:22:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01501 -3.346258)'), GeomFromEWKT('SRID=4674;POINT (-39.015098 -3.346303)'))) / (select extract(epoch from '2026-07-03 10:22:35'::timestamp) - extract(epoch from '2026-07-03 10:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01501 -3.346258)'), GeomFromEWKT('SRID=4674;POINT (-39.015098 -3.346303)'))) / (select extract(epoch from '2026-07-03 10:22:35'::timestamp) - extract(epoch from '2026-07-03 10:22: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'), 47417, 'SRID=4674;POINT (-39.01519 -3.346371)', '2026-07-03 10:22:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015098 -3.346303)'), GeomFromEWKT('SRID=4674;POINT (-39.01519 -3.346371)'))) / (select extract(epoch from '2026-07-03 10:22:42'::timestamp) - extract(epoch from '2026-07-03 10:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015098 -3.346303)'), GeomFromEWKT('SRID=4674;POINT (-39.01519 -3.346371)'))) / (select extract(epoch from '2026-07-03 10:22:42'::timestamp) - extract(epoch from '2026-07-03 10:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.015253 -3.346436)', '2026-07-03 10:22:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01519 -3.346371)'), GeomFromEWKT('SRID=4674;POINT (-39.015253 -3.346436)'))) / (select extract(epoch from '2026-07-03 10:22:48'::timestamp) - extract(epoch from '2026-07-03 10:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01519 -3.346371)'), GeomFromEWKT('SRID=4674;POINT (-39.015253 -3.346436)'))) / (select extract(epoch from '2026-07-03 10:22:48'::timestamp) - extract(epoch from '2026-07-03 10:22: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'), 47417, 'SRID=4674;POINT (-39.015312 -3.346503)', '2026-07-03 10:22:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015253 -3.346436)'), GeomFromEWKT('SRID=4674;POINT (-39.015312 -3.346503)'))) / (select extract(epoch from '2026-07-03 10:22:54'::timestamp) - extract(epoch from '2026-07-03 10:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015253 -3.346436)'), GeomFromEWKT('SRID=4674;POINT (-39.015312 -3.346503)'))) / (select extract(epoch from '2026-07-03 10:22:54'::timestamp) - extract(epoch from '2026-07-03 10:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.015373 -3.346556)', '2026-07-03 10:22:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015312 -3.346503)'), GeomFromEWKT('SRID=4674;POINT (-39.015373 -3.346556)'))) / (select extract(epoch from '2026-07-03 10:22:59'::timestamp) - extract(epoch from '2026-07-03 10:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015312 -3.346503)'), GeomFromEWKT('SRID=4674;POINT (-39.015373 -3.346556)'))) / (select extract(epoch from '2026-07-03 10:22:59'::timestamp) - extract(epoch from '2026-07-03 10:22:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.015462 -3.346585)', '2026-07-03 10:23:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015373 -3.346556)'), GeomFromEWKT('SRID=4674;POINT (-39.015462 -3.346585)'))) / (select extract(epoch from '2026-07-03 10:23:04'::timestamp) - extract(epoch from '2026-07-03 10:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015373 -3.346556)'), GeomFromEWKT('SRID=4674;POINT (-39.015462 -3.346585)'))) / (select extract(epoch from '2026-07-03 10:23:04'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.015578 -3.346602)', '2026-07-03 10:23:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015462 -3.346585)'), GeomFromEWKT('SRID=4674;POINT (-39.015578 -3.346602)'))) / (select extract(epoch from '2026-07-03 10:23:10'::timestamp) - extract(epoch from '2026-07-03 10:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015462 -3.346585)'), GeomFromEWKT('SRID=4674;POINT (-39.015578 -3.346602)'))) / (select extract(epoch from '2026-07-03 10:23:10'::timestamp) - extract(epoch from '2026-07-03 10:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.015698 -3.34663)', '2026-07-03 10:23:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015578 -3.346602)'), GeomFromEWKT('SRID=4674;POINT (-39.015698 -3.34663)'))) / (select extract(epoch from '2026-07-03 10:23:17'::timestamp) - extract(epoch from '2026-07-03 10:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015578 -3.346602)'), GeomFromEWKT('SRID=4674;POINT (-39.015698 -3.34663)'))) / (select extract(epoch from '2026-07-03 10:23:17'::timestamp) - extract(epoch from '2026-07-03 10:23: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'), 47417, 'SRID=4674;POINT (-39.015793 -3.346659)', '2026-07-03 10:23:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015698 -3.34663)'), GeomFromEWKT('SRID=4674;POINT (-39.015793 -3.346659)'))) / (select extract(epoch from '2026-07-03 10:23:22'::timestamp) - extract(epoch from '2026-07-03 10:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015698 -3.34663)'), GeomFromEWKT('SRID=4674;POINT (-39.015793 -3.346659)'))) / (select extract(epoch from '2026-07-03 10:23:22'::timestamp) - extract(epoch from '2026-07-03 10:23: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'), 47417, 'SRID=4674;POINT (-39.015809 -3.346668)', '2026-07-03 10:23:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015793 -3.346659)'), GeomFromEWKT('SRID=4674;POINT (-39.015809 -3.346668)'))) / (select extract(epoch from '2026-07-03 10:23:23'::timestamp) - extract(epoch from '2026-07-03 10:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015793 -3.346659)'), GeomFromEWKT('SRID=4674;POINT (-39.015809 -3.346668)'))) / (select extract(epoch from '2026-07-03 10:23:23'::timestamp) - extract(epoch from '2026-07-03 10:23: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'), 47417, 'SRID=4674;POINT (-39.015855 -3.346689)', '2026-07-03 10:23:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015809 -3.346668)'), GeomFromEWKT('SRID=4674;POINT (-39.015855 -3.346689)'))) / (select extract(epoch from '2026-07-03 10:23:26'::timestamp) - extract(epoch from '2026-07-03 10:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015809 -3.346668)'), GeomFromEWKT('SRID=4674;POINT (-39.015855 -3.346689)'))) / (select extract(epoch from '2026-07-03 10:23:26'::timestamp) - extract(epoch from '2026-07-03 10:23: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'), 47417, 'SRID=4674;POINT (-39.01594 -3.346743)', '2026-07-03 10:23:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015855 -3.346689)'), GeomFromEWKT('SRID=4674;POINT (-39.01594 -3.346743)'))) / (select extract(epoch from '2026-07-03 10:23:32'::timestamp) - extract(epoch from '2026-07-03 10:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015855 -3.346689)'), GeomFromEWKT('SRID=4674;POINT (-39.01594 -3.346743)'))) / (select extract(epoch from '2026-07-03 10:23:32'::timestamp) - extract(epoch from '2026-07-03 10:23: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'), 47417, 'SRID=4674;POINT (-39.016011 -3.346804)', '2026-07-03 10:23:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01594 -3.346743)'), GeomFromEWKT('SRID=4674;POINT (-39.016011 -3.346804)'))) / (select extract(epoch from '2026-07-03 10:23:38'::timestamp) - extract(epoch from '2026-07-03 10:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01594 -3.346743)'), GeomFromEWKT('SRID=4674;POINT (-39.016011 -3.346804)'))) / (select extract(epoch from '2026-07-03 10:23:38'::timestamp) - extract(epoch from '2026-07-03 10:23: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'), 47417, 'SRID=4674;POINT (-39.016089 -3.346883)', '2026-07-03 10:23:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016011 -3.346804)'), GeomFromEWKT('SRID=4674;POINT (-39.016089 -3.346883)'))) / (select extract(epoch from '2026-07-03 10:23:45'::timestamp) - extract(epoch from '2026-07-03 10:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016011 -3.346804)'), GeomFromEWKT('SRID=4674;POINT (-39.016089 -3.346883)'))) / (select extract(epoch from '2026-07-03 10:23:45'::timestamp) - extract(epoch from '2026-07-03 10:23: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'), 47417, 'SRID=4674;POINT (-39.016178 -3.34695)', '2026-07-03 10:23:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016089 -3.346883)'), GeomFromEWKT('SRID=4674;POINT (-39.016178 -3.34695)'))) / (select extract(epoch from '2026-07-03 10:23:52'::timestamp) - extract(epoch from '2026-07-03 10:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016089 -3.346883)'), GeomFromEWKT('SRID=4674;POINT (-39.016178 -3.34695)'))) / (select extract(epoch from '2026-07-03 10:23:52'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016257 -3.347018)', '2026-07-03 10:23:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016178 -3.34695)'), GeomFromEWKT('SRID=4674;POINT (-39.016257 -3.347018)'))) / (select extract(epoch from '2026-07-03 10:23:58'::timestamp) - extract(epoch from '2026-07-03 10:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016178 -3.34695)'), GeomFromEWKT('SRID=4674;POINT (-39.016257 -3.347018)'))) / (select extract(epoch from '2026-07-03 10:23:58'::timestamp) - extract(epoch from '2026-07-03 10:23: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'), 47417, 'SRID=4674;POINT (-39.016267 -3.34703)', '2026-07-03 10:23:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016257 -3.347018)'), GeomFromEWKT('SRID=4674;POINT (-39.016267 -3.34703)'))) / (select extract(epoch from '2026-07-03 10:23:59'::timestamp) - extract(epoch from '2026-07-03 10:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016257 -3.347018)'), GeomFromEWKT('SRID=4674;POINT (-39.016267 -3.34703)'))) / (select extract(epoch from '2026-07-03 10:23:59'::timestamp) - extract(epoch from '2026-07-03 10:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016297 -3.347069)', '2026-07-03 10:24:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016267 -3.34703)'), GeomFromEWKT('SRID=4674;POINT (-39.016297 -3.347069)'))) / (select extract(epoch from '2026-07-03 10:24:02'::timestamp) - extract(epoch from '2026-07-03 10:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016267 -3.34703)'), GeomFromEWKT('SRID=4674;POINT (-39.016297 -3.347069)'))) / (select extract(epoch from '2026-07-03 10:24:02'::timestamp) - extract(epoch from '2026-07-03 10:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016312 -3.347077)', '2026-07-03 10:24:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016297 -3.347069)'), GeomFromEWKT('SRID=4674;POINT (-39.016312 -3.347077)'))) / (select extract(epoch from '2026-07-03 10:24:03'::timestamp) - extract(epoch from '2026-07-03 10:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016297 -3.347069)'), GeomFromEWKT('SRID=4674;POINT (-39.016312 -3.347077)'))) / (select extract(epoch from '2026-07-03 10:24:03'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016356 -3.347092)', '2026-07-03 10:24:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016312 -3.347077)'), GeomFromEWKT('SRID=4674;POINT (-39.016356 -3.347092)'))) / (select extract(epoch from '2026-07-03 10:24:06'::timestamp) - extract(epoch from '2026-07-03 10:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016312 -3.347077)'), GeomFromEWKT('SRID=4674;POINT (-39.016356 -3.347092)'))) / (select extract(epoch from '2026-07-03 10:24:06'::timestamp) - extract(epoch from '2026-07-03 10:24: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'), 47417, 'SRID=4674;POINT (-39.016378 -3.347091)', '2026-07-03 10:24:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016356 -3.347092)'), GeomFromEWKT('SRID=4674;POINT (-39.016378 -3.347091)'))) / (select extract(epoch from '2026-07-03 10:24:07'::timestamp) - extract(epoch from '2026-07-03 10:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016356 -3.347092)'), GeomFromEWKT('SRID=4674;POINT (-39.016378 -3.347091)'))) / (select extract(epoch from '2026-07-03 10:24:07'::timestamp) - extract(epoch from '2026-07-03 10:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016466 -3.347083)', '2026-07-03 10:24:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016378 -3.347091)'), GeomFromEWKT('SRID=4674;POINT (-39.016466 -3.347083)'))) / (select extract(epoch from '2026-07-03 10:24:12'::timestamp) - extract(epoch from '2026-07-03 10:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016378 -3.347091)'), GeomFromEWKT('SRID=4674;POINT (-39.016466 -3.347083)'))) / (select extract(epoch from '2026-07-03 10:24:12'::timestamp) - extract(epoch from '2026-07-03 10:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016581 -3.347052)', '2026-07-03 10:24:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016466 -3.347083)'), GeomFromEWKT('SRID=4674;POINT (-39.016581 -3.347052)'))) / (select extract(epoch from '2026-07-03 10:24:18'::timestamp) - extract(epoch from '2026-07-03 10:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016466 -3.347083)'), GeomFromEWKT('SRID=4674;POINT (-39.016581 -3.347052)'))) / (select extract(epoch from '2026-07-03 10:24:18'::timestamp) - extract(epoch from '2026-07-03 10:24: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'), 47417, 'SRID=4674;POINT (-39.016681 -3.347031)', '2026-07-03 10:24:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016581 -3.347052)'), GeomFromEWKT('SRID=4674;POINT (-39.016681 -3.347031)'))) / (select extract(epoch from '2026-07-03 10:24:23'::timestamp) - extract(epoch from '2026-07-03 10:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016581 -3.347052)'), GeomFromEWKT('SRID=4674;POINT (-39.016681 -3.347031)'))) / (select extract(epoch from '2026-07-03 10:24:23'::timestamp) - extract(epoch from '2026-07-03 10:24: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'), 47417, 'SRID=4674;POINT (-39.016777 -3.347011)', '2026-07-03 10:24:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016681 -3.347031)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347011)'))) / (select extract(epoch from '2026-07-03 10:24:28'::timestamp) - extract(epoch from '2026-07-03 10:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016681 -3.347031)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347011)'))) / (select extract(epoch from '2026-07-03 10:24:28'::timestamp) - extract(epoch from '2026-07-03 10:24: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'), 47417, 'SRID=4674;POINT (-39.016913 -3.346988)', '2026-07-03 10:24:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347011)'), GeomFromEWKT('SRID=4674;POINT (-39.016913 -3.346988)'))) / (select extract(epoch from '2026-07-03 10:24:35'::timestamp) - extract(epoch from '2026-07-03 10:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347011)'), GeomFromEWKT('SRID=4674;POINT (-39.016913 -3.346988)'))) / (select extract(epoch from '2026-07-03 10:24:35'::timestamp) - extract(epoch from '2026-07-03 10:24: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'), 47417, 'SRID=4674;POINT (-39.017005 -3.346968)', '2026-07-03 10:24:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016913 -3.346988)'), GeomFromEWKT('SRID=4674;POINT (-39.017005 -3.346968)'))) / (select extract(epoch from '2026-07-03 10:24:40'::timestamp) - extract(epoch from '2026-07-03 10:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016913 -3.346988)'), GeomFromEWKT('SRID=4674;POINT (-39.017005 -3.346968)'))) / (select extract(epoch from '2026-07-03 10:24:40'::timestamp) - extract(epoch from '2026-07-03 10:24: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'), 47417, 'SRID=4674;POINT (-39.017122 -3.346949)', '2026-07-03 10:24:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017005 -3.346968)'), GeomFromEWKT('SRID=4674;POINT (-39.017122 -3.346949)'))) / (select extract(epoch from '2026-07-03 10:24:46'::timestamp) - extract(epoch from '2026-07-03 10:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017005 -3.346968)'), GeomFromEWKT('SRID=4674;POINT (-39.017122 -3.346949)'))) / (select extract(epoch from '2026-07-03 10:24:46'::timestamp) - extract(epoch from '2026-07-03 10:24: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'), 47417, 'SRID=4674;POINT (-39.017171 -3.34695)', '2026-07-03 10:24:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017122 -3.346949)'), GeomFromEWKT('SRID=4674;POINT (-39.017171 -3.34695)'))) / (select extract(epoch from '2026-07-03 10:24:49'::timestamp) - extract(epoch from '2026-07-03 10:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017122 -3.346949)'), GeomFromEWKT('SRID=4674;POINT (-39.017171 -3.34695)'))) / (select extract(epoch from '2026-07-03 10:24:49'::timestamp) - extract(epoch from '2026-07-03 10:24: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'), 47417, 'SRID=4674;POINT (-39.017207 -3.346965)', '2026-07-03 10:24:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017171 -3.34695)'), GeomFromEWKT('SRID=4674;POINT (-39.017207 -3.346965)'))) / (select extract(epoch from '2026-07-03 10:24:52'::timestamp) - extract(epoch from '2026-07-03 10:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017171 -3.34695)'), GeomFromEWKT('SRID=4674;POINT (-39.017207 -3.346965)'))) / (select extract(epoch from '2026-07-03 10:24:52'::timestamp) - extract(epoch from '2026-07-03 10:24: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'), 47417, 'SRID=4674;POINT (-39.017259 -3.347022)', '2026-07-03 10:24:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017207 -3.346965)'), GeomFromEWKT('SRID=4674;POINT (-39.017259 -3.347022)'))) / (select extract(epoch from '2026-07-03 10:24:59'::timestamp) - extract(epoch from '2026-07-03 10:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017207 -3.346965)'), GeomFromEWKT('SRID=4674;POINT (-39.017259 -3.347022)'))) / (select extract(epoch from '2026-07-03 10:24:59'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.017248 -3.347063)', '2026-07-03 10:25:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017259 -3.347022)'), GeomFromEWKT('SRID=4674;POINT (-39.017248 -3.347063)'))) / (select extract(epoch from '2026-07-03 10:25:05'::timestamp) - extract(epoch from '2026-07-03 10:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017259 -3.347022)'), GeomFromEWKT('SRID=4674;POINT (-39.017248 -3.347063)'))) / (select extract(epoch from '2026-07-03 10:25:05'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.017212 -3.347093)', '2026-07-03 10:25:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017248 -3.347063)'), GeomFromEWKT('SRID=4674;POINT (-39.017212 -3.347093)'))) / (select extract(epoch from '2026-07-03 10:25:10'::timestamp) - extract(epoch from '2026-07-03 10:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017248 -3.347063)'), GeomFromEWKT('SRID=4674;POINT (-39.017212 -3.347093)'))) / (select extract(epoch from '2026-07-03 10:25:10'::timestamp) - extract(epoch from '2026-07-03 10:25: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'), 47417, 'SRID=4674;POINT (-39.017167 -3.347132)', '2026-07-03 10:25:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017212 -3.347093)'), GeomFromEWKT('SRID=4674;POINT (-39.017167 -3.347132)'))) / (select extract(epoch from '2026-07-03 10:25:16'::timestamp) - extract(epoch from '2026-07-03 10:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017212 -3.347093)'), GeomFromEWKT('SRID=4674;POINT (-39.017167 -3.347132)'))) / (select extract(epoch from '2026-07-03 10:25:16'::timestamp) - extract(epoch from '2026-07-03 10:25:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01716 -3.34714)', '2026-07-03 10:25:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017167 -3.347132)'), GeomFromEWKT('SRID=4674;POINT (-39.01716 -3.34714)'))) / (select extract(epoch from '2026-07-03 10:25:17'::timestamp) - extract(epoch from '2026-07-03 10:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017167 -3.347132)'), GeomFromEWKT('SRID=4674;POINT (-39.01716 -3.34714)'))) / (select extract(epoch from '2026-07-03 10:25:17'::timestamp) - extract(epoch from '2026-07-03 10:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.017133 -3.347159)', '2026-07-03 10:25:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01716 -3.34714)'), GeomFromEWKT('SRID=4674;POINT (-39.017133 -3.347159)'))) / (select extract(epoch from '2026-07-03 10:25:21'::timestamp) - extract(epoch from '2026-07-03 10:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01716 -3.34714)'), GeomFromEWKT('SRID=4674;POINT (-39.017133 -3.347159)'))) / (select extract(epoch from '2026-07-03 10:25:21'::timestamp) - extract(epoch from '2026-07-03 10:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.017111 -3.347194)', '2026-07-03 10:25:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017133 -3.347159)'), GeomFromEWKT('SRID=4674;POINT (-39.017111 -3.347194)'))) / (select extract(epoch from '2026-07-03 10:25:26'::timestamp) - extract(epoch from '2026-07-03 10:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017133 -3.347159)'), GeomFromEWKT('SRID=4674;POINT (-39.017111 -3.347194)'))) / (select extract(epoch from '2026-07-03 10:25:26'::timestamp) - extract(epoch from '2026-07-03 10:25: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'), 47417, 'SRID=4674;POINT (-39.017085 -3.347216)', '2026-07-03 10:25:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017111 -3.347194)'), GeomFromEWKT('SRID=4674;POINT (-39.017085 -3.347216)'))) / (select extract(epoch from '2026-07-03 10:25:29'::timestamp) - extract(epoch from '2026-07-03 10:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017111 -3.347194)'), GeomFromEWKT('SRID=4674;POINT (-39.017085 -3.347216)'))) / (select extract(epoch from '2026-07-03 10:25:29'::timestamp) - extract(epoch from '2026-07-03 10:25:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.017057 -3.347244)', '2026-07-03 10:25:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017085 -3.347216)'), GeomFromEWKT('SRID=4674;POINT (-39.017057 -3.347244)'))) / (select extract(epoch from '2026-07-03 10:25:34'::timestamp) - extract(epoch from '2026-07-03 10:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017085 -3.347216)'), GeomFromEWKT('SRID=4674;POINT (-39.017057 -3.347244)'))) / (select extract(epoch from '2026-07-03 10:25:34'::timestamp) - extract(epoch from '2026-07-03 10:25: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'), 47417, 'SRID=4674;POINT (-39.017031 -3.347262)', '2026-07-03 10:25:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017057 -3.347244)'), GeomFromEWKT('SRID=4674;POINT (-39.017031 -3.347262)'))) / (select extract(epoch from '2026-07-03 10:25:37'::timestamp) - extract(epoch from '2026-07-03 10:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017057 -3.347244)'), GeomFromEWKT('SRID=4674;POINT (-39.017031 -3.347262)'))) / (select extract(epoch from '2026-07-03 10:25:37'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.017018 -3.347279)', '2026-07-03 10:25:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017031 -3.347262)'), GeomFromEWKT('SRID=4674;POINT (-39.017018 -3.347279)'))) / (select extract(epoch from '2026-07-03 10:25:39'::timestamp) - extract(epoch from '2026-07-03 10:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017031 -3.347262)'), GeomFromEWKT('SRID=4674;POINT (-39.017018 -3.347279)'))) / (select extract(epoch from '2026-07-03 10:25:39'::timestamp) - extract(epoch from '2026-07-03 10:25: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'), 47417, 'SRID=4674;POINT (-39.016983 -3.347294)', '2026-07-03 10:25:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017018 -3.347279)'), GeomFromEWKT('SRID=4674;POINT (-39.016983 -3.347294)'))) / (select extract(epoch from '2026-07-03 10:25:44'::timestamp) - extract(epoch from '2026-07-03 10:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017018 -3.347279)'), GeomFromEWKT('SRID=4674;POINT (-39.016983 -3.347294)'))) / (select extract(epoch from '2026-07-03 10:25:44'::timestamp) - extract(epoch from '2026-07-03 10:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01694 -3.34732)', '2026-07-03 10:25:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016983 -3.347294)'), GeomFromEWKT('SRID=4674;POINT (-39.01694 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:25:50'::timestamp) - extract(epoch from '2026-07-03 10:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016983 -3.347294)'), GeomFromEWKT('SRID=4674;POINT (-39.01694 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:25:50'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016907 -3.347344)', '2026-07-03 10:25:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01694 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016907 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:25:54'::timestamp) - extract(epoch from '2026-07-03 10:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01694 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016907 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:25:54'::timestamp) - extract(epoch from '2026-07-03 10:25: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'), 47417, 'SRID=4674;POINT (-39.016884 -3.347355)', '2026-07-03 10:25:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016907 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.016884 -3.347355)'))) / (select extract(epoch from '2026-07-03 10:25:57'::timestamp) - extract(epoch from '2026-07-03 10:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016907 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.016884 -3.347355)'))) / (select extract(epoch from '2026-07-03 10:25:57'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016847 -3.347377)', '2026-07-03 10:26:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016884 -3.347355)'), GeomFromEWKT('SRID=4674;POINT (-39.016847 -3.347377)'))) / (select extract(epoch from '2026-07-03 10:26:01'::timestamp) - extract(epoch from '2026-07-03 10:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016884 -3.347355)'), GeomFromEWKT('SRID=4674;POINT (-39.016847 -3.347377)'))) / (select extract(epoch from '2026-07-03 10:26:01'::timestamp) - extract(epoch from '2026-07-03 10:25: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'), 47417, 'SRID=4674;POINT (-39.016831 -3.34739)', '2026-07-03 10:26:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016847 -3.347377)'), GeomFromEWKT('SRID=4674;POINT (-39.016831 -3.34739)'))) / (select extract(epoch from '2026-07-03 10:26:03'::timestamp) - extract(epoch from '2026-07-03 10:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016847 -3.347377)'), GeomFromEWKT('SRID=4674;POINT (-39.016831 -3.34739)'))) / (select extract(epoch from '2026-07-03 10:26:03'::timestamp) - extract(epoch from '2026-07-03 10:26: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'), 47417, 'SRID=4674;POINT (-39.016776 -3.347428)', '2026-07-03 10:26:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016831 -3.34739)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347428)'))) / (select extract(epoch from '2026-07-03 10:26:09'::timestamp) - extract(epoch from '2026-07-03 10:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016831 -3.34739)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347428)'))) / (select extract(epoch from '2026-07-03 10:26:09'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016718 -3.347473)', '2026-07-03 10:26:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347428)'), GeomFromEWKT('SRID=4674;POINT (-39.016718 -3.347473)'))) / (select extract(epoch from '2026-07-03 10:26:16'::timestamp) - extract(epoch from '2026-07-03 10:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347428)'), GeomFromEWKT('SRID=4674;POINT (-39.016718 -3.347473)'))) / (select extract(epoch from '2026-07-03 10:26:16'::timestamp) - extract(epoch from '2026-07-03 10:26: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'), 47417, 'SRID=4674;POINT (-39.0167 -3.347486)', '2026-07-03 10:26:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016718 -3.347473)'), GeomFromEWKT('SRID=4674;POINT (-39.0167 -3.347486)'))) / (select extract(epoch from '2026-07-03 10:26:18'::timestamp) - extract(epoch from '2026-07-03 10:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016718 -3.347473)'), GeomFromEWKT('SRID=4674;POINT (-39.0167 -3.347486)'))) / (select extract(epoch from '2026-07-03 10:26:18'::timestamp) - extract(epoch from '2026-07-03 10:26: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'), 47417, 'SRID=4674;POINT (-39.016655 -3.347508)', '2026-07-03 10:26:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0167 -3.347486)'), GeomFromEWKT('SRID=4674;POINT (-39.016655 -3.347508)'))) / (select extract(epoch from '2026-07-03 10:26:22'::timestamp) - extract(epoch from '2026-07-03 10:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0167 -3.347486)'), GeomFromEWKT('SRID=4674;POINT (-39.016655 -3.347508)'))) / (select extract(epoch from '2026-07-03 10:26:22'::timestamp) - extract(epoch from '2026-07-03 10:26: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'), 47417, 'SRID=4674;POINT (-39.016636 -3.34752)', '2026-07-03 10:26:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016655 -3.347508)'), GeomFromEWKT('SRID=4674;POINT (-39.016636 -3.34752)'))) / (select extract(epoch from '2026-07-03 10:26:24'::timestamp) - extract(epoch from '2026-07-03 10:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016655 -3.347508)'), GeomFromEWKT('SRID=4674;POINT (-39.016636 -3.34752)'))) / (select extract(epoch from '2026-07-03 10:26:24'::timestamp) - extract(epoch from '2026-07-03 10:26:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.0166 -3.347532)', '2026-07-03 10:26:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016636 -3.34752)'), GeomFromEWKT('SRID=4674;POINT (-39.0166 -3.347532)'))) / (select extract(epoch from '2026-07-03 10:26:28'::timestamp) - extract(epoch from '2026-07-03 10:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016636 -3.34752)'), GeomFromEWKT('SRID=4674;POINT (-39.0166 -3.347532)'))) / (select extract(epoch from '2026-07-03 10:26:28'::timestamp) - extract(epoch from '2026-07-03 10:26: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'), 47417, 'SRID=4674;POINT (-39.016537 -3.347543)', '2026-07-03 10:26:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0166 -3.347532)'), GeomFromEWKT('SRID=4674;POINT (-39.016537 -3.347543)'))) / (select extract(epoch from '2026-07-03 10:26:35'::timestamp) - extract(epoch from '2026-07-03 10:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0166 -3.347532)'), GeomFromEWKT('SRID=4674;POINT (-39.016537 -3.347543)'))) / (select extract(epoch from '2026-07-03 10:26:35'::timestamp) - extract(epoch from '2026-07-03 10:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016523 -3.347537)', '2026-07-03 10:26:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016537 -3.347543)'), GeomFromEWKT('SRID=4674;POINT (-39.016523 -3.347537)'))) / (select extract(epoch from '2026-07-03 10:26:42'::timestamp) - extract(epoch from '2026-07-03 10:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016537 -3.347543)'), GeomFromEWKT('SRID=4674;POINT (-39.016523 -3.347537)'))) / (select extract(epoch from '2026-07-03 10:26:42'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.01654 -3.347521)', '2026-07-03 10:26:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016523 -3.347537)'), GeomFromEWKT('SRID=4674;POINT (-39.01654 -3.347521)'))) / (select extract(epoch from '2026-07-03 10:26:51'::timestamp) - extract(epoch from '2026-07-03 10:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016523 -3.347537)'), GeomFromEWKT('SRID=4674;POINT (-39.01654 -3.347521)'))) / (select extract(epoch from '2026-07-03 10:26:51'::timestamp) - extract(epoch from '2026-07-03 10:26: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'), 47417, 'SRID=4674;POINT (-39.01654 -3.347511)', '2026-07-03 10:26:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01654 -3.347521)'), GeomFromEWKT('SRID=4674;POINT (-39.01654 -3.347511)'))) / (select extract(epoch from '2026-07-03 10:26:55'::timestamp) - extract(epoch from '2026-07-03 10:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01654 -3.347521)'), GeomFromEWKT('SRID=4674;POINT (-39.01654 -3.347511)'))) / (select extract(epoch from '2026-07-03 10:26:55'::timestamp) - extract(epoch from '2026-07-03 10:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01655 -3.347496)', '2026-07-03 10:27:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01654 -3.347511)'), GeomFromEWKT('SRID=4674;POINT (-39.01655 -3.347496)'))) / (select extract(epoch from '2026-07-03 10:27:01'::timestamp) - extract(epoch from '2026-07-03 10:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01654 -3.347511)'), GeomFromEWKT('SRID=4674;POINT (-39.01655 -3.347496)'))) / (select extract(epoch from '2026-07-03 10:27:01'::timestamp) - extract(epoch from '2026-07-03 10:26: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'), 47417, 'SRID=4674;POINT (-39.016572 -3.347475)', '2026-07-03 10:27:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01655 -3.347496)'), GeomFromEWKT('SRID=4674;POINT (-39.016572 -3.347475)'))) / (select extract(epoch from '2026-07-03 10:27:07'::timestamp) - extract(epoch from '2026-07-03 10:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01655 -3.347496)'), GeomFromEWKT('SRID=4674;POINT (-39.016572 -3.347475)'))) / (select extract(epoch from '2026-07-03 10:27:07'::timestamp) - extract(epoch from '2026-07-03 10:27: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'), 47417, 'SRID=4674;POINT (-39.016609 -3.347441)', '2026-07-03 10:27:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016572 -3.347475)'), GeomFromEWKT('SRID=4674;POINT (-39.016609 -3.347441)'))) / (select extract(epoch from '2026-07-03 10:27:15'::timestamp) - extract(epoch from '2026-07-03 10:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016572 -3.347475)'), GeomFromEWKT('SRID=4674;POINT (-39.016609 -3.347441)'))) / (select extract(epoch from '2026-07-03 10:27:15'::timestamp) - extract(epoch from '2026-07-03 10:27: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'), 47417, 'SRID=4674;POINT (-39.016639 -3.347408)', '2026-07-03 10:27:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016609 -3.347441)'), GeomFromEWKT('SRID=4674;POINT (-39.016639 -3.347408)'))) / (select extract(epoch from '2026-07-03 10:27:22'::timestamp) - extract(epoch from '2026-07-03 10:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016609 -3.347441)'), GeomFromEWKT('SRID=4674;POINT (-39.016639 -3.347408)'))) / (select extract(epoch from '2026-07-03 10:27:22'::timestamp) - extract(epoch from '2026-07-03 10:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016644 -3.347402)', '2026-07-03 10:27:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016639 -3.347408)'), GeomFromEWKT('SRID=4674;POINT (-39.016644 -3.347402)'))) / (select extract(epoch from '2026-07-03 10:27:23'::timestamp) - extract(epoch from '2026-07-03 10:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016639 -3.347408)'), GeomFromEWKT('SRID=4674;POINT (-39.016644 -3.347402)'))) / (select extract(epoch from '2026-07-03 10:27:23'::timestamp) - extract(epoch from '2026-07-03 10:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01667 -3.347379)', '2026-07-03 10:27:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016644 -3.347402)'), GeomFromEWKT('SRID=4674;POINT (-39.01667 -3.347379)'))) / (select extract(epoch from '2026-07-03 10:27:28'::timestamp) - extract(epoch from '2026-07-03 10:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016644 -3.347402)'), GeomFromEWKT('SRID=4674;POINT (-39.01667 -3.347379)'))) / (select extract(epoch from '2026-07-03 10:27:28'::timestamp) - extract(epoch from '2026-07-03 10:27:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016701 -3.347337)', '2026-07-03 10:27:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01667 -3.347379)'), GeomFromEWKT('SRID=4674;POINT (-39.016701 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:27:36'::timestamp) - extract(epoch from '2026-07-03 10:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01667 -3.347379)'), GeomFromEWKT('SRID=4674;POINT (-39.016701 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:27:36'::timestamp) - extract(epoch from '2026-07-03 10:27: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'), 47417, 'SRID=4674;POINT (-39.016716 -3.34732)', '2026-07-03 10:27:41', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016701 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:27:41'::timestamp) - extract(epoch from '2026-07-03 10:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016701 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:27:41'::timestamp) - extract(epoch from '2026-07-03 10:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016717 -3.347308)', '2026-07-03 10:27:48', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.347308)'))) / (select extract(epoch from '2026-07-03 10:27:48'::timestamp) - extract(epoch from '2026-07-03 10:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.347308)'))) / (select extract(epoch from '2026-07-03 10:27:48'::timestamp) - extract(epoch from '2026-07-03 10:27: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'), 47417, 'SRID=4674;POINT (-39.016717 -3.347296)', '2026-07-03 10:27:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.347308)'), GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.347296)'))) / (select extract(epoch from '2026-07-03 10:27:55'::timestamp) - extract(epoch from '2026-07-03 10:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.347308)'), GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.347296)'))) / (select extract(epoch from '2026-07-03 10:27:55'::timestamp) - extract(epoch from '2026-07-03 10:27: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'), 47417, 'SRID=4674;POINT (-39.016721 -3.347296)', '2026-07-03 10:28:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.347296)'), GeomFromEWKT('SRID=4674;POINT (-39.016721 -3.347296)'))) / (select extract(epoch from '2026-07-03 10:28:01'::timestamp) - extract(epoch from '2026-07-03 10:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.347296)'), GeomFromEWKT('SRID=4674;POINT (-39.016721 -3.347296)'))) / (select extract(epoch from '2026-07-03 10:28:01'::timestamp) - extract(epoch from '2026-07-03 10:27: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'), 47417, 'SRID=4674;POINT (-39.016725 -3.347304)', '2026-07-03 10:28:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016721 -3.347296)'), GeomFromEWKT('SRID=4674;POINT (-39.016725 -3.347304)'))) / (select extract(epoch from '2026-07-03 10:28:09'::timestamp) - extract(epoch from '2026-07-03 10:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016721 -3.347296)'), GeomFromEWKT('SRID=4674;POINT (-39.016725 -3.347304)'))) / (select extract(epoch from '2026-07-03 10:28:09'::timestamp) - extract(epoch from '2026-07-03 10:28: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'), 47417, 'SRID=4674;POINT (-39.016723 -3.347305)', '2026-07-03 10:28:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016725 -3.347304)'), GeomFromEWKT('SRID=4674;POINT (-39.016723 -3.347305)'))) / (select extract(epoch from '2026-07-03 10:28:15'::timestamp) - extract(epoch from '2026-07-03 10:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016725 -3.347304)'), GeomFromEWKT('SRID=4674;POINT (-39.016723 -3.347305)'))) / (select extract(epoch from '2026-07-03 10:28:15'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.01672 -3.347302)', '2026-07-03 10:28:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016723 -3.347305)'), GeomFromEWKT('SRID=4674;POINT (-39.01672 -3.347302)'))) / (select extract(epoch from '2026-07-03 10:28:23'::timestamp) - extract(epoch from '2026-07-03 10:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016723 -3.347305)'), GeomFromEWKT('SRID=4674;POINT (-39.01672 -3.347302)'))) / (select extract(epoch from '2026-07-03 10:28:23'::timestamp) - extract(epoch from '2026-07-03 10:28: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'), 47417, 'SRID=4674;POINT (-39.016722 -3.347305)', '2026-07-03 10:28:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01672 -3.347302)'), GeomFromEWKT('SRID=4674;POINT (-39.016722 -3.347305)'))) / (select extract(epoch from '2026-07-03 10:28:32'::timestamp) - extract(epoch from '2026-07-03 10:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01672 -3.347302)'), GeomFromEWKT('SRID=4674;POINT (-39.016722 -3.347305)'))) / (select extract(epoch from '2026-07-03 10:28:32'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016726 -3.347306)', '2026-07-03 10:28:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016722 -3.347305)'), GeomFromEWKT('SRID=4674;POINT (-39.016726 -3.347306)'))) / (select extract(epoch from '2026-07-03 10:28:38'::timestamp) - extract(epoch from '2026-07-03 10:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016722 -3.347305)'), GeomFromEWKT('SRID=4674;POINT (-39.016726 -3.347306)'))) / (select extract(epoch from '2026-07-03 10:28:38'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016727 -3.347307)', '2026-07-03 10:28:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016726 -3.347306)'), GeomFromEWKT('SRID=4674;POINT (-39.016727 -3.347307)'))) / (select extract(epoch from '2026-07-03 10:28:43'::timestamp) - extract(epoch from '2026-07-03 10:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016726 -3.347306)'), GeomFromEWKT('SRID=4674;POINT (-39.016727 -3.347307)'))) / (select extract(epoch from '2026-07-03 10:28:43'::timestamp) - extract(epoch from '2026-07-03 10:28:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016736 -3.347314)', '2026-07-03 10:28:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016727 -3.347307)'), GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:28:48'::timestamp) - extract(epoch from '2026-07-03 10:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016727 -3.347307)'), GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:28:48'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016738 -3.347316)', '2026-07-03 10:28:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:28:58'::timestamp) - extract(epoch from '2026-07-03 10:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:28:58'::timestamp) - extract(epoch from '2026-07-03 10:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016737 -3.34732)', '2026-07-03 10:29:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:29:05'::timestamp) - extract(epoch from '2026-07-03 10:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:29:05'::timestamp) - extract(epoch from '2026-07-03 10:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016738 -3.34732)', '2026-07-03 10:29:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:29:15'::timestamp) - extract(epoch from '2026-07-03 10:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:29:15'::timestamp) - extract(epoch from '2026-07-03 10:29: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'), 47417, 'SRID=4674;POINT (-39.016737 -3.347319)', '2026-07-03 10:29:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347319)'))) / (select extract(epoch from '2026-07-03 10:29:19'::timestamp) - extract(epoch from '2026-07-03 10:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347319)'))) / (select extract(epoch from '2026-07-03 10:29:19'::timestamp) - extract(epoch from '2026-07-03 10:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016742 -3.34732)', '2026-07-03 10:29:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347319)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:29:20'::timestamp) - extract(epoch from '2026-07-03 10:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347319)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:29:20'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016737 -3.347325)', '2026-07-03 10:29:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347325)'))) / (select extract(epoch from '2026-07-03 10:29:26'::timestamp) - extract(epoch from '2026-07-03 10:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347325)'))) / (select extract(epoch from '2026-07-03 10:29:26'::timestamp) - extract(epoch from '2026-07-03 10:29: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'), 47417, 'SRID=4674;POINT (-39.016737 -3.347322)', '2026-07-03 10:29:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347325)'), GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347322)'))) / (select extract(epoch from '2026-07-03 10:29:33'::timestamp) - extract(epoch from '2026-07-03 10:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347325)'), GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347322)'))) / (select extract(epoch from '2026-07-03 10:29:33'::timestamp) - extract(epoch from '2026-07-03 10:29: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'), 47417, 'SRID=4674;POINT (-39.016737 -3.347321)', '2026-07-03 10:29:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347322)'), GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347321)'))) / (select extract(epoch from '2026-07-03 10:29:42'::timestamp) - extract(epoch from '2026-07-03 10:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347322)'), GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347321)'))) / (select extract(epoch from '2026-07-03 10:29:42'::timestamp) - extract(epoch from '2026-07-03 10:29:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016745 -3.347323)', '2026-07-03 10:29:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347321)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347323)'))) / (select extract(epoch from '2026-07-03 10:29:49'::timestamp) - extract(epoch from '2026-07-03 10:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016737 -3.347321)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347323)'))) / (select extract(epoch from '2026-07-03 10:29:49'::timestamp) - extract(epoch from '2026-07-03 10:29: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'), 47417, 'SRID=4674;POINT (-39.016743 -3.347324)', '2026-07-03 10:29:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347323)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347324)'))) / (select extract(epoch from '2026-07-03 10:29:54'::timestamp) - extract(epoch from '2026-07-03 10:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347323)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347324)'))) / (select extract(epoch from '2026-07-03 10:29:54'::timestamp) - extract(epoch from '2026-07-03 10:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016741 -3.347328)', '2026-07-03 10:30:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347324)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:30:03'::timestamp) - extract(epoch from '2026-07-03 10:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347324)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:30:03'::timestamp) - extract(epoch from '2026-07-03 10:29: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'), 47417, 'SRID=4674;POINT (-39.016743 -3.347324)', '2026-07-03 10:30:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347324)'))) / (select extract(epoch from '2026-07-03 10:30:10'::timestamp) - extract(epoch from '2026-07-03 10:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347324)'))) / (select extract(epoch from '2026-07-03 10:30:10'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016743 -3.347322)', '2026-07-03 10:30:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347324)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347322)'))) / (select extract(epoch from '2026-07-03 10:30:20'::timestamp) - extract(epoch from '2026-07-03 10:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347324)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347322)'))) / (select extract(epoch from '2026-07-03 10:30:20'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016751 -3.347328)', '2026-07-03 10:30:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347322)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:30:26'::timestamp) - extract(epoch from '2026-07-03 10:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347322)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:30:26'::timestamp) - extract(epoch from '2026-07-03 10:30: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'), 47417, 'SRID=4674;POINT (-39.016752 -3.347325)', '2026-07-03 10:30:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347325)'))) / (select extract(epoch from '2026-07-03 10:30:34'::timestamp) - extract(epoch from '2026-07-03 10:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347325)'))) / (select extract(epoch from '2026-07-03 10:30:34'::timestamp) - extract(epoch from '2026-07-03 10:30: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'), 47417, 'SRID=4674;POINT (-39.016752 -3.347324)', '2026-07-03 10:30:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347325)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347324)'))) / (select extract(epoch from '2026-07-03 10:30:41'::timestamp) - extract(epoch from '2026-07-03 10:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347325)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347324)'))) / (select extract(epoch from '2026-07-03 10:30:41'::timestamp) - extract(epoch from '2026-07-03 10:30: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'), 47417, 'SRID=4674;POINT (-39.016748 -3.347328)', '2026-07-03 10:30:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347324)'), GeomFromEWKT('SRID=4674;POINT (-39.016748 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:30:48'::timestamp) - extract(epoch from '2026-07-03 10:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347324)'), GeomFromEWKT('SRID=4674;POINT (-39.016748 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:30:48'::timestamp) - extract(epoch from '2026-07-03 10:30: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'), 47417, 'SRID=4674;POINT (-39.016749 -3.347329)', '2026-07-03 10:30:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016748 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347329)'))) / (select extract(epoch from '2026-07-03 10:30:56'::timestamp) - extract(epoch from '2026-07-03 10:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016748 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347329)'))) / (select extract(epoch from '2026-07-03 10:30:56'::timestamp) - extract(epoch from '2026-07-03 10:30: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'), 47417, 'SRID=4674;POINT (-39.016751 -3.347326)', '2026-07-03 10:31:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347329)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347326)'))) / (select extract(epoch from '2026-07-03 10:31:03'::timestamp) - extract(epoch from '2026-07-03 10:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347329)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347326)'))) / (select extract(epoch from '2026-07-03 10:31:03'::timestamp) - extract(epoch from '2026-07-03 10:30:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016753 -3.347321)', '2026-07-03 10:31:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347326)'), GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347321)'))) / (select extract(epoch from '2026-07-03 10:31:10'::timestamp) - extract(epoch from '2026-07-03 10:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347326)'), GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347321)'))) / (select extract(epoch from '2026-07-03 10:31:10'::timestamp) - extract(epoch from '2026-07-03 10:31: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'), 47417, 'SRID=4674;POINT (-39.016753 -3.347329)', '2026-07-03 10:31:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347321)'), GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347329)'))) / (select extract(epoch from '2026-07-03 10:31:16'::timestamp) - extract(epoch from '2026-07-03 10:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347321)'), GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347329)'))) / (select extract(epoch from '2026-07-03 10:31:16'::timestamp) - extract(epoch from '2026-07-03 10:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016752 -3.347327)', '2026-07-03 10:31:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347329)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:31:26'::timestamp) - extract(epoch from '2026-07-03 10:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347329)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:31:26'::timestamp) - extract(epoch from '2026-07-03 10:31: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'), 47417, 'SRID=4674;POINT (-39.016754 -3.347328)', '2026-07-03 10:31:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:31:33'::timestamp) - extract(epoch from '2026-07-03 10:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:31:33'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016757 -3.347332)', '2026-07-03 10:31:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016757 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:31:39'::timestamp) - extract(epoch from '2026-07-03 10:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016757 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:31:39'::timestamp) - extract(epoch from '2026-07-03 10:31: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'), 47417, 'SRID=4674;POINT (-39.01676 -3.347336)', '2026-07-03 10:31:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016757 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347336)'))) / (select extract(epoch from '2026-07-03 10:31:47'::timestamp) - extract(epoch from '2026-07-03 10:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016757 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347336)'))) / (select extract(epoch from '2026-07-03 10:31:47'::timestamp) - extract(epoch from '2026-07-03 10:31: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'), 47417, 'SRID=4674;POINT (-39.016754 -3.347342)', '2026-07-03 10:31:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347336)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:31:53'::timestamp) - extract(epoch from '2026-07-03 10:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347336)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:31:53'::timestamp) - extract(epoch from '2026-07-03 10:31: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'), 47417, 'SRID=4674;POINT (-39.016756 -3.347341)', '2026-07-03 10:31:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016756 -3.347341)'))) / (select extract(epoch from '2026-07-03 10:31:59'::timestamp) - extract(epoch from '2026-07-03 10:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016756 -3.347341)'))) / (select extract(epoch from '2026-07-03 10:31:59'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016753 -3.34734)', '2026-07-03 10:32:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016756 -3.347341)'), GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:32:06'::timestamp) - extract(epoch from '2026-07-03 10:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016756 -3.347341)'), GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:32:06'::timestamp) - extract(epoch from '2026-07-03 10:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016754 -3.347343)', '2026-07-03 10:32:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:32:13'::timestamp) - extract(epoch from '2026-07-03 10:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:32:13'::timestamp) - extract(epoch from '2026-07-03 10:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016754 -3.347334)', '2026-07-03 10:32:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:32:20'::timestamp) - extract(epoch from '2026-07-03 10:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:32:20'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016751 -3.347327)', '2026-07-03 10:32:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:32:32'::timestamp) - extract(epoch from '2026-07-03 10:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:32:32'::timestamp) - extract(epoch from '2026-07-03 10:32: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'), 47417, 'SRID=4674;POINT (-39.016747 -3.347325)', '2026-07-03 10:32:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347325)'))) / (select extract(epoch from '2026-07-03 10:32:37'::timestamp) - extract(epoch from '2026-07-03 10:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347325)'))) / (select extract(epoch from '2026-07-03 10:32:37'::timestamp) - extract(epoch from '2026-07-03 10:32: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'), 47417, 'SRID=4674;POINT (-39.016749 -3.347324)', '2026-07-03 10:32:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347325)'), GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347324)'))) / (select extract(epoch from '2026-07-03 10:32:43'::timestamp) - extract(epoch from '2026-07-03 10:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347325)'), GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347324)'))) / (select extract(epoch from '2026-07-03 10:32:43'::timestamp) - extract(epoch from '2026-07-03 10:32: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'), 47417, 'SRID=4674;POINT (-39.016746 -3.34732)', '2026-07-03 10:32:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347324)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:32:52'::timestamp) - extract(epoch from '2026-07-03 10:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347324)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:32:52'::timestamp) - extract(epoch from '2026-07-03 10:32: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'), 47417, 'SRID=4674;POINT (-39.016744 -3.347325)', '2026-07-03 10:32:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347325)'))) / (select extract(epoch from '2026-07-03 10:32:57'::timestamp) - extract(epoch from '2026-07-03 10:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347325)'))) / (select extract(epoch from '2026-07-03 10:32:57'::timestamp) - extract(epoch from '2026-07-03 10:32: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'), 47417, 'SRID=4674;POINT (-39.016746 -3.347322)', '2026-07-03 10:33:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347325)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347322)'))) / (select extract(epoch from '2026-07-03 10:33:05'::timestamp) - extract(epoch from '2026-07-03 10:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347325)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347322)'))) / (select extract(epoch from '2026-07-03 10:33:05'::timestamp) - extract(epoch from '2026-07-03 10:32: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'), 47417, 'SRID=4674;POINT (-39.016741 -3.347316)', '2026-07-03 10:33:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347322)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:33:12'::timestamp) - extract(epoch from '2026-07-03 10:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347322)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:33:12'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016742 -3.347314)', '2026-07-03 10:33:21', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:33:21'::timestamp) - extract(epoch from '2026-07-03 10:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:33:21'::timestamp) - extract(epoch from '2026-07-03 10:33: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'), 47417, 'SRID=4674;POINT (-39.016746 -3.347313)', '2026-07-03 10:33:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347313)'))) / (select extract(epoch from '2026-07-03 10:33:28'::timestamp) - extract(epoch from '2026-07-03 10:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347313)'))) / (select extract(epoch from '2026-07-03 10:33:28'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.01674 -3.34731)', '2026-07-03 10:33:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347313)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34731)'))) / (select extract(epoch from '2026-07-03 10:33:35'::timestamp) - extract(epoch from '2026-07-03 10:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347313)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34731)'))) / (select extract(epoch from '2026-07-03 10:33:35'::timestamp) - extract(epoch from '2026-07-03 10:33:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01674 -3.34731)', '2026-07-03 10:33:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34731)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34731)'))) / (select extract(epoch from '2026-07-03 10:33:43'::timestamp) - extract(epoch from '2026-07-03 10:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34731)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34731)'))) / (select extract(epoch from '2026-07-03 10:33:43'::timestamp) - extract(epoch from '2026-07-03 10:33: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'), 47417, 'SRID=4674;POINT (-39.016739 -3.347307)', '2026-07-03 10:33:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34731)'), GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347307)'))) / (select extract(epoch from '2026-07-03 10:33:52'::timestamp) - extract(epoch from '2026-07-03 10:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34731)'), GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347307)'))) / (select extract(epoch from '2026-07-03 10:33:52'::timestamp) - extract(epoch from '2026-07-03 10:33: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'), 47417, 'SRID=4674;POINT (-39.016743 -3.347312)', '2026-07-03 10:34:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347307)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347312)'))) / (select extract(epoch from '2026-07-03 10:34:00'::timestamp) - extract(epoch from '2026-07-03 10:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347307)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347312)'))) / (select extract(epoch from '2026-07-03 10:34:00'::timestamp) - extract(epoch from '2026-07-03 10:33: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'), 47417, 'SRID=4674;POINT (-39.016741 -3.34731)', '2026-07-03 10:34:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347312)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.34731)'))) / (select extract(epoch from '2026-07-03 10:34:07'::timestamp) - extract(epoch from '2026-07-03 10:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347312)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.34731)'))) / (select extract(epoch from '2026-07-03 10:34:07'::timestamp) - extract(epoch from '2026-07-03 10:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016746 -3.347308)', '2026-07-03 10:34:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.34731)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347308)'))) / (select extract(epoch from '2026-07-03 10:34:12'::timestamp) - extract(epoch from '2026-07-03 10:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.34731)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347308)'))) / (select extract(epoch from '2026-07-03 10:34:12'::timestamp) - extract(epoch from '2026-07-03 10:34: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'), 47417, 'SRID=4674;POINT (-39.016744 -3.347315)', '2026-07-03 10:34:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347308)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347315)'))) / (select extract(epoch from '2026-07-03 10:34:19'::timestamp) - extract(epoch from '2026-07-03 10:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347308)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347315)'))) / (select extract(epoch from '2026-07-03 10:34:19'::timestamp) - extract(epoch from '2026-07-03 10:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016745 -3.347315)', '2026-07-03 10:34:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347315)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347315)'))) / (select extract(epoch from '2026-07-03 10:34:28'::timestamp) - extract(epoch from '2026-07-03 10:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347315)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347315)'))) / (select extract(epoch from '2026-07-03 10:34:28'::timestamp) - extract(epoch from '2026-07-03 10:34: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'), 47417, 'SRID=4674;POINT (-39.016745 -3.347316)', '2026-07-03 10:34:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347315)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:34:34'::timestamp) - extract(epoch from '2026-07-03 10:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347315)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:34:34'::timestamp) - extract(epoch from '2026-07-03 10:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016744 -3.347314)', '2026-07-03 10:34:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:34:43'::timestamp) - extract(epoch from '2026-07-03 10:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:34:43'::timestamp) - extract(epoch from '2026-07-03 10:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016738 -3.347308)', '2026-07-03 10:34:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347308)'))) / (select extract(epoch from '2026-07-03 10:34:52'::timestamp) - extract(epoch from '2026-07-03 10:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347308)'))) / (select extract(epoch from '2026-07-03 10:34:52'::timestamp) - extract(epoch from '2026-07-03 10:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016738 -3.347303)', '2026-07-03 10:35:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347308)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347303)'))) / (select extract(epoch from '2026-07-03 10:35:02'::timestamp) - extract(epoch from '2026-07-03 10:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347308)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347303)'))) / (select extract(epoch from '2026-07-03 10:35:02'::timestamp) - extract(epoch from '2026-07-03 10:34: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'), 47417, 'SRID=4674;POINT (-39.016736 -3.347305)', '2026-07-03 10:35:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347303)'), GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347305)'))) / (select extract(epoch from '2026-07-03 10:35:08'::timestamp) - extract(epoch from '2026-07-03 10:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347303)'), GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347305)'))) / (select extract(epoch from '2026-07-03 10:35:08'::timestamp) - extract(epoch from '2026-07-03 10:35: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'), 47417, 'SRID=4674;POINT (-39.016735 -3.347304)', '2026-07-03 10:35:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347305)'), GeomFromEWKT('SRID=4674;POINT (-39.016735 -3.347304)'))) / (select extract(epoch from '2026-07-03 10:35:15'::timestamp) - extract(epoch from '2026-07-03 10:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347305)'), GeomFromEWKT('SRID=4674;POINT (-39.016735 -3.347304)'))) / (select extract(epoch from '2026-07-03 10:35:15'::timestamp) - extract(epoch from '2026-07-03 10:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016736 -3.347302)', '2026-07-03 10:35:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016735 -3.347304)'), GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347302)'))) / (select extract(epoch from '2026-07-03 10:35:26'::timestamp) - extract(epoch from '2026-07-03 10:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016735 -3.347304)'), GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347302)'))) / (select extract(epoch from '2026-07-03 10:35:26'::timestamp) - extract(epoch from '2026-07-03 10:35: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'), 47417, 'SRID=4674;POINT (-39.016735 -3.347299)', '2026-07-03 10:35:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347302)'), GeomFromEWKT('SRID=4674;POINT (-39.016735 -3.347299)'))) / (select extract(epoch from '2026-07-03 10:35:34'::timestamp) - extract(epoch from '2026-07-03 10:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347302)'), GeomFromEWKT('SRID=4674;POINT (-39.016735 -3.347299)'))) / (select extract(epoch from '2026-07-03 10:35:34'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.01674 -3.347301)', '2026-07-03 10:35:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016735 -3.347299)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347301)'))) / (select extract(epoch from '2026-07-03 10:35:42'::timestamp) - extract(epoch from '2026-07-03 10:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016735 -3.347299)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347301)'))) / (select extract(epoch from '2026-07-03 10:35:42'::timestamp) - extract(epoch from '2026-07-03 10:35: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'), 47417, 'SRID=4674;POINT (-39.01674 -3.347303)', '2026-07-03 10:35:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347301)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347303)'))) / (select extract(epoch from '2026-07-03 10:35:50'::timestamp) - extract(epoch from '2026-07-03 10:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347301)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347303)'))) / (select extract(epoch from '2026-07-03 10:35:50'::timestamp) - extract(epoch from '2026-07-03 10:35: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'), 47417, 'SRID=4674;POINT (-39.016734 -3.347305)', '2026-07-03 10:35:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347303)'), GeomFromEWKT('SRID=4674;POINT (-39.016734 -3.347305)'))) / (select extract(epoch from '2026-07-03 10:35:58'::timestamp) - extract(epoch from '2026-07-03 10:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347303)'), GeomFromEWKT('SRID=4674;POINT (-39.016734 -3.347305)'))) / (select extract(epoch from '2026-07-03 10:35:58'::timestamp) - extract(epoch from '2026-07-03 10:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016739 -3.347304)', '2026-07-03 10:36:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016734 -3.347305)'), GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347304)'))) / (select extract(epoch from '2026-07-03 10:36:05'::timestamp) - extract(epoch from '2026-07-03 10:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016734 -3.347305)'), GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347304)'))) / (select extract(epoch from '2026-07-03 10:36:05'::timestamp) - extract(epoch from '2026-07-03 10:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01673 -3.347309)', '2026-07-03 10:36:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347304)'), GeomFromEWKT('SRID=4674;POINT (-39.01673 -3.347309)'))) / (select extract(epoch from '2026-07-03 10:36:11'::timestamp) - extract(epoch from '2026-07-03 10:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347304)'), GeomFromEWKT('SRID=4674;POINT (-39.01673 -3.347309)'))) / (select extract(epoch from '2026-07-03 10:36:11'::timestamp) - extract(epoch from '2026-07-03 10:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016738 -3.347308)', '2026-07-03 10:36:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01673 -3.347309)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347308)'))) / (select extract(epoch from '2026-07-03 10:36:14'::timestamp) - extract(epoch from '2026-07-03 10:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01673 -3.347309)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347308)'))) / (select extract(epoch from '2026-07-03 10:36:14'::timestamp) - extract(epoch from '2026-07-03 10:36: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'), 47417, 'SRID=4674;POINT (-39.016739 -3.347314)', '2026-07-03 10:36:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347308)'), GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:36:16'::timestamp) - extract(epoch from '2026-07-03 10:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347308)'), GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:36:16'::timestamp) - extract(epoch from '2026-07-03 10:36: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'), 47417, 'SRID=4674;POINT (-39.016739 -3.347317)', '2026-07-03 10:36:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347317)'))) / (select extract(epoch from '2026-07-03 10:36:24'::timestamp) - extract(epoch from '2026-07-03 10:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347317)'))) / (select extract(epoch from '2026-07-03 10:36:24'::timestamp) - extract(epoch from '2026-07-03 10:36: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'), 47417, 'SRID=4674;POINT (-39.01674 -3.347315)', '2026-07-03 10:36:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347317)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347315)'))) / (select extract(epoch from '2026-07-03 10:36:34'::timestamp) - extract(epoch from '2026-07-03 10:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347317)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347315)'))) / (select extract(epoch from '2026-07-03 10:36:34'::timestamp) - extract(epoch from '2026-07-03 10:36: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'), 47417, 'SRID=4674;POINT (-39.016744 -3.347316)', '2026-07-03 10:36:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347315)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:36:42'::timestamp) - extract(epoch from '2026-07-03 10:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347315)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:36:42'::timestamp) - extract(epoch from '2026-07-03 10:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016751 -3.347314)', '2026-07-03 10:36:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:36:47'::timestamp) - extract(epoch from '2026-07-03 10:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:36:47'::timestamp) - extract(epoch from '2026-07-03 10:36: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'), 47417, 'SRID=4674;POINT (-39.016744 -3.347316)', '2026-07-03 10:36:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:36:54'::timestamp) - extract(epoch from '2026-07-03 10:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:36:54'::timestamp) - extract(epoch from '2026-07-03 10:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016744 -3.347315)', '2026-07-03 10:37:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347315)'))) / (select extract(epoch from '2026-07-03 10:37:01'::timestamp) - extract(epoch from '2026-07-03 10:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347315)'))) / (select extract(epoch from '2026-07-03 10:37:01'::timestamp) - extract(epoch from '2026-07-03 10:36:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016745 -3.347311)', '2026-07-03 10:37:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347315)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347311)'))) / (select extract(epoch from '2026-07-03 10:37:07'::timestamp) - extract(epoch from '2026-07-03 10:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347315)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347311)'))) / (select extract(epoch from '2026-07-03 10:37:07'::timestamp) - extract(epoch from '2026-07-03 10:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016742 -3.34731)', '2026-07-03 10:37:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347311)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.34731)'))) / (select extract(epoch from '2026-07-03 10:37:12'::timestamp) - extract(epoch from '2026-07-03 10:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347311)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.34731)'))) / (select extract(epoch from '2026-07-03 10:37:12'::timestamp) - extract(epoch from '2026-07-03 10:37: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'), 47417, 'SRID=4674;POINT (-39.016742 -3.347309)', '2026-07-03 10:37:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.34731)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347309)'))) / (select extract(epoch from '2026-07-03 10:37:21'::timestamp) - extract(epoch from '2026-07-03 10:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.34731)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347309)'))) / (select extract(epoch from '2026-07-03 10:37:21'::timestamp) - extract(epoch from '2026-07-03 10:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016743 -3.347308)', '2026-07-03 10:37:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347309)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347308)'))) / (select extract(epoch from '2026-07-03 10:37:31'::timestamp) - extract(epoch from '2026-07-03 10:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347309)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347308)'))) / (select extract(epoch from '2026-07-03 10:37:31'::timestamp) - extract(epoch from '2026-07-03 10:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016738 -3.347307)', '2026-07-03 10:37:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347308)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347307)'))) / (select extract(epoch from '2026-07-03 10:37:40'::timestamp) - extract(epoch from '2026-07-03 10:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347308)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347307)'))) / (select extract(epoch from '2026-07-03 10:37:40'::timestamp) - extract(epoch from '2026-07-03 10:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016748 -3.347306)', '2026-07-03 10:37:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347307)'), GeomFromEWKT('SRID=4674;POINT (-39.016748 -3.347306)'))) / (select extract(epoch from '2026-07-03 10:37:47'::timestamp) - extract(epoch from '2026-07-03 10:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347307)'), GeomFromEWKT('SRID=4674;POINT (-39.016748 -3.347306)'))) / (select extract(epoch from '2026-07-03 10:37:47'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016745 -3.347314)', '2026-07-03 10:37:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016748 -3.347306)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:37:53'::timestamp) - extract(epoch from '2026-07-03 10:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016748 -3.347306)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:37:53'::timestamp) - extract(epoch from '2026-07-03 10:37: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'), 47417, 'SRID=4674;POINT (-39.016744 -3.347318)', '2026-07-03 10:38:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347318)'))) / (select extract(epoch from '2026-07-03 10:38:06'::timestamp) - extract(epoch from '2026-07-03 10:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347318)'))) / (select extract(epoch from '2026-07-03 10:38:06'::timestamp) - extract(epoch from '2026-07-03 10:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016736 -3.347321)', '2026-07-03 10:38:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347318)'), GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347321)'))) / (select extract(epoch from '2026-07-03 10:38:12'::timestamp) - extract(epoch from '2026-07-03 10:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347318)'), GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347321)'))) / (select extract(epoch from '2026-07-03 10:38:12'::timestamp) - extract(epoch from '2026-07-03 10:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016744 -3.347329)', '2026-07-03 10:38:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347321)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347329)'))) / (select extract(epoch from '2026-07-03 10:38:17'::timestamp) - extract(epoch from '2026-07-03 10:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347321)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347329)'))) / (select extract(epoch from '2026-07-03 10:38:17'::timestamp) - extract(epoch from '2026-07-03 10:38: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'), 47417, 'SRID=4674;POINT (-39.016742 -3.347327)', '2026-07-03 10:38:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347329)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:38:24'::timestamp) - extract(epoch from '2026-07-03 10:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347329)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:38:24'::timestamp) - extract(epoch from '2026-07-03 10:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016745 -3.347326)', '2026-07-03 10:38:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347326)'))) / (select extract(epoch from '2026-07-03 10:38:29'::timestamp) - extract(epoch from '2026-07-03 10:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347326)'))) / (select extract(epoch from '2026-07-03 10:38:29'::timestamp) - extract(epoch from '2026-07-03 10:38: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'), 47417, 'SRID=4674;POINT (-39.016747 -3.347327)', '2026-07-03 10:38:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347326)'), GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:38:38'::timestamp) - extract(epoch from '2026-07-03 10:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.347326)'), GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:38:38'::timestamp) - extract(epoch from '2026-07-03 10:38: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'), 47417, 'SRID=4674;POINT (-39.016747 -3.347329)', '2026-07-03 10:38:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347329)'))) / (select extract(epoch from '2026-07-03 10:38:44'::timestamp) - extract(epoch from '2026-07-03 10:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347329)'))) / (select extract(epoch from '2026-07-03 10:38:44'::timestamp) - extract(epoch from '2026-07-03 10:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016754 -3.34733)', '2026-07-03 10:38:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347329)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.34733)'))) / (select extract(epoch from '2026-07-03 10:38:50'::timestamp) - extract(epoch from '2026-07-03 10:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016747 -3.347329)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.34733)'))) / (select extract(epoch from '2026-07-03 10:38:50'::timestamp) - extract(epoch from '2026-07-03 10:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016746 -3.347329)', '2026-07-03 10:38:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.34733)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347329)'))) / (select extract(epoch from '2026-07-03 10:38:56'::timestamp) - extract(epoch from '2026-07-03 10:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.34733)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347329)'))) / (select extract(epoch from '2026-07-03 10:38:56'::timestamp) - extract(epoch from '2026-07-03 10:38: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'), 47417, 'SRID=4674;POINT (-39.016751 -3.347332)', '2026-07-03 10:39:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347329)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:39:02'::timestamp) - extract(epoch from '2026-07-03 10:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347329)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:39:02'::timestamp) - extract(epoch from '2026-07-03 10:38: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'), 47417, 'SRID=4674;POINT (-39.016746 -3.347327)', '2026-07-03 10:39:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:39:08'::timestamp) - extract(epoch from '2026-07-03 10:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:39:08'::timestamp) - extract(epoch from '2026-07-03 10:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016746 -3.347328)', '2026-07-03 10:39:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:39:17'::timestamp) - extract(epoch from '2026-07-03 10:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:39:17'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016742 -3.347324)', '2026-07-03 10:39:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347324)'))) / (select extract(epoch from '2026-07-03 10:39:27'::timestamp) - extract(epoch from '2026-07-03 10:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016746 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347324)'))) / (select extract(epoch from '2026-07-03 10:39:27'::timestamp) - extract(epoch from '2026-07-03 10:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01674 -3.34732)', '2026-07-03 10:39:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347324)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:39:34'::timestamp) - extract(epoch from '2026-07-03 10:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347324)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34732)'))) / (select extract(epoch from '2026-07-03 10:39:34'::timestamp) - extract(epoch from '2026-07-03 10:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016741 -3.347319)', '2026-07-03 10:39:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347319)'))) / (select extract(epoch from '2026-07-03 10:39:41'::timestamp) - extract(epoch from '2026-07-03 10:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.34732)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347319)'))) / (select extract(epoch from '2026-07-03 10:39:41'::timestamp) - extract(epoch from '2026-07-03 10:39:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016741 -3.347313)', '2026-07-03 10:39:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347319)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347313)'))) / (select extract(epoch from '2026-07-03 10:39:48'::timestamp) - extract(epoch from '2026-07-03 10:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347319)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347313)'))) / (select extract(epoch from '2026-07-03 10:39:48'::timestamp) - extract(epoch from '2026-07-03 10:39: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'), 47417, 'SRID=4674;POINT (-39.016736 -3.347312)', '2026-07-03 10:39:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347313)'), GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347312)'))) / (select extract(epoch from '2026-07-03 10:39:57'::timestamp) - extract(epoch from '2026-07-03 10:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347313)'), GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347312)'))) / (select extract(epoch from '2026-07-03 10:39:57'::timestamp) - extract(epoch from '2026-07-03 10:39: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'), 47417, 'SRID=4674;POINT (-39.016739 -3.347314)', '2026-07-03 10:40:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347312)'), GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:40:04'::timestamp) - extract(epoch from '2026-07-03 10:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016736 -3.347312)'), GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:40:04'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016741 -3.347311)', '2026-07-03 10:40:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347311)'))) / (select extract(epoch from '2026-07-03 10:40:11'::timestamp) - extract(epoch from '2026-07-03 10:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016739 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347311)'))) / (select extract(epoch from '2026-07-03 10:40:11'::timestamp) - extract(epoch from '2026-07-03 10:40: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'), 47417, 'SRID=4674;POINT (-39.01674 -3.347309)', '2026-07-03 10:40:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347311)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347309)'))) / (select extract(epoch from '2026-07-03 10:40:16'::timestamp) - extract(epoch from '2026-07-03 10:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347311)'), GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347309)'))) / (select extract(epoch from '2026-07-03 10:40:16'::timestamp) - extract(epoch from '2026-07-03 10:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016743 -3.347311)', '2026-07-03 10:40:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347309)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347311)'))) / (select extract(epoch from '2026-07-03 10:40:25'::timestamp) - extract(epoch from '2026-07-03 10:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01674 -3.347309)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347311)'))) / (select extract(epoch from '2026-07-03 10:40:25'::timestamp) - extract(epoch from '2026-07-03 10:40: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'), 47417, 'SRID=4674;POINT (-39.016741 -3.347314)', '2026-07-03 10:40:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347311)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:40:34'::timestamp) - extract(epoch from '2026-07-03 10:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347311)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347314)'))) / (select extract(epoch from '2026-07-03 10:40:34'::timestamp) - extract(epoch from '2026-07-03 10:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016742 -3.347312)', '2026-07-03 10:40:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347312)'))) / (select extract(epoch from '2026-07-03 10:40:42'::timestamp) - extract(epoch from '2026-07-03 10:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347314)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347312)'))) / (select extract(epoch from '2026-07-03 10:40:42'::timestamp) - extract(epoch from '2026-07-03 10:40: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'), 47417, 'SRID=4674;POINT (-39.016743 -3.347319)', '2026-07-03 10:40:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347312)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347319)'))) / (select extract(epoch from '2026-07-03 10:40:50'::timestamp) - extract(epoch from '2026-07-03 10:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347312)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347319)'))) / (select extract(epoch from '2026-07-03 10:40:50'::timestamp) - extract(epoch from '2026-07-03 10:40: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'), 47417, 'SRID=4674;POINT (-39.016743 -3.347316)', '2026-07-03 10:41:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347319)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:41:00'::timestamp) - extract(epoch from '2026-07-03 10:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347319)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347316)'))) / (select extract(epoch from '2026-07-03 10:41:00'::timestamp) - extract(epoch from '2026-07-03 10:40: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'), 47417, 'SRID=4674;POINT (-39.016742 -3.347319)', '2026-07-03 10:41:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347319)'))) / (select extract(epoch from '2026-07-03 10:41:08'::timestamp) - extract(epoch from '2026-07-03 10:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347316)'), GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347319)'))) / (select extract(epoch from '2026-07-03 10:41:08'::timestamp) - extract(epoch from '2026-07-03 10:41: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'), 47417, 'SRID=4674;POINT (-39.016738 -3.347317)', '2026-07-03 10:41:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347319)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347317)'))) / (select extract(epoch from '2026-07-03 10:41:14'::timestamp) - extract(epoch from '2026-07-03 10:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016742 -3.347319)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347317)'))) / (select extract(epoch from '2026-07-03 10:41:14'::timestamp) - extract(epoch from '2026-07-03 10:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016738 -3.347315)', '2026-07-03 10:41:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347317)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347315)'))) / (select extract(epoch from '2026-07-03 10:41:19'::timestamp) - extract(epoch from '2026-07-03 10:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347317)'), GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347315)'))) / (select extract(epoch from '2026-07-03 10:41:19'::timestamp) - extract(epoch from '2026-07-03 10:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016741 -3.347321)', '2026-07-03 10:41:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347315)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347321)'))) / (select extract(epoch from '2026-07-03 10:41:25'::timestamp) - extract(epoch from '2026-07-03 10:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016738 -3.347315)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347321)'))) / (select extract(epoch from '2026-07-03 10:41:25'::timestamp) - extract(epoch from '2026-07-03 10:41: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'), 47417, 'SRID=4674;POINT (-39.016744 -3.347323)', '2026-07-03 10:41:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347321)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347323)'))) / (select extract(epoch from '2026-07-03 10:41:32'::timestamp) - extract(epoch from '2026-07-03 10:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.347321)'), GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347323)'))) / (select extract(epoch from '2026-07-03 10:41:32'::timestamp) - extract(epoch from '2026-07-03 10:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016743 -3.347323)', '2026-07-03 10:41:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347323)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347323)'))) / (select extract(epoch from '2026-07-03 10:41:39'::timestamp) - extract(epoch from '2026-07-03 10:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016744 -3.347323)'), GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347323)'))) / (select extract(epoch from '2026-07-03 10:41:39'::timestamp) - extract(epoch from '2026-07-03 10:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016752 -3.347328)', '2026-07-03 10:41:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347323)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:41:45'::timestamp) - extract(epoch from '2026-07-03 10:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016743 -3.347323)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:41:45'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016752 -3.347334)', '2026-07-03 10:41:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:41:50'::timestamp) - extract(epoch from '2026-07-03 10:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:41:50'::timestamp) - extract(epoch from '2026-07-03 10:41: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'), 47417, 'SRID=4674;POINT (-39.016754 -3.347342)', '2026-07-03 10:41:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:41:56'::timestamp) - extract(epoch from '2026-07-03 10:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:41:56'::timestamp) - extract(epoch from '2026-07-03 10:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016752 -3.347335)', '2026-07-03 10:42:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:42:01'::timestamp) - extract(epoch from '2026-07-03 10:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:42:01'::timestamp) - extract(epoch from '2026-07-03 10:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016756 -3.347332)', '2026-07-03 10:42:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016756 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:42:09'::timestamp) - extract(epoch from '2026-07-03 10:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016756 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:42:09'::timestamp) - extract(epoch from '2026-07-03 10:42:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016759 -3.34733)', '2026-07-03 10:42:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016756 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.34733)'))) / (select extract(epoch from '2026-07-03 10:42:15'::timestamp) - extract(epoch from '2026-07-03 10:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016756 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.34733)'))) / (select extract(epoch from '2026-07-03 10:42:15'::timestamp) - extract(epoch from '2026-07-03 10:42: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'), 47417, 'SRID=4674;POINT (-39.016758 -3.347334)', '2026-07-03 10:42:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.34733)'), GeomFromEWKT('SRID=4674;POINT (-39.016758 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:42:21'::timestamp) - extract(epoch from '2026-07-03 10:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.34733)'), GeomFromEWKT('SRID=4674;POINT (-39.016758 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:42:21'::timestamp) - extract(epoch from '2026-07-03 10:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01676 -3.347341)', '2026-07-03 10:42:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016758 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347341)'))) / (select extract(epoch from '2026-07-03 10:42:29'::timestamp) - extract(epoch from '2026-07-03 10:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016758 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347341)'))) / (select extract(epoch from '2026-07-03 10:42:29'::timestamp) - extract(epoch from '2026-07-03 10:42: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'), 47417, 'SRID=4674;POINT (-39.016764 -3.347344)', '2026-07-03 10:42:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347341)'), GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:42:35'::timestamp) - extract(epoch from '2026-07-03 10:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347341)'), GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:42:35'::timestamp) - extract(epoch from '2026-07-03 10:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016765 -3.347338)', '2026-07-03 10:42:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.016765 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:42:43'::timestamp) - extract(epoch from '2026-07-03 10:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.016765 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:42:43'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.01676 -3.347339)', '2026-07-03 10:42:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016765 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:42:51'::timestamp) - extract(epoch from '2026-07-03 10:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016765 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:42:51'::timestamp) - extract(epoch from '2026-07-03 10:42: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'), 47417, 'SRID=4674;POINT (-39.016766 -3.347337)', '2026-07-03 10:42:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016766 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:42:58'::timestamp) - extract(epoch from '2026-07-03 10:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016766 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:42:58'::timestamp) - extract(epoch from '2026-07-03 10:42: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'), 47417, 'SRID=4674;POINT (-39.016761 -3.347334)', '2026-07-03 10:43:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016766 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:43:04'::timestamp) - extract(epoch from '2026-07-03 10:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016766 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:43:04'::timestamp) - extract(epoch from '2026-07-03 10:42: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'), 47417, 'SRID=4674;POINT (-39.016761 -3.347334)', '2026-07-03 10:43:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:43:13'::timestamp) - extract(epoch from '2026-07-03 10:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:43:13'::timestamp) - extract(epoch from '2026-07-03 10:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016754 -3.347328)', '2026-07-03 10:43:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:43:18'::timestamp) - extract(epoch from '2026-07-03 10:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347328)'))) / (select extract(epoch from '2026-07-03 10:43:18'::timestamp) - extract(epoch from '2026-07-03 10:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016753 -3.347333)', '2026-07-03 10:43:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347333)'))) / (select extract(epoch from '2026-07-03 10:43:24'::timestamp) - extract(epoch from '2026-07-03 10:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016754 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347333)'))) / (select extract(epoch from '2026-07-03 10:43:24'::timestamp) - extract(epoch from '2026-07-03 10:43: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'), 47417, 'SRID=4674;POINT (-39.016749 -3.347335)', '2026-07-03 10:43:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347333)'), GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:43:32'::timestamp) - extract(epoch from '2026-07-03 10:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016753 -3.347333)'), GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:43:32'::timestamp) - extract(epoch from '2026-07-03 10:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016755 -3.347332)', '2026-07-03 10:43:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016755 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:43:38'::timestamp) - extract(epoch from '2026-07-03 10:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016749 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016755 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:43:38'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016759 -3.347332)', '2026-07-03 10:43:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016755 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:43:45'::timestamp) - extract(epoch from '2026-07-03 10:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016755 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:43:45'::timestamp) - extract(epoch from '2026-07-03 10:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016759 -3.347335)', '2026-07-03 10:43:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:43:51'::timestamp) - extract(epoch from '2026-07-03 10:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:43:51'::timestamp) - extract(epoch from '2026-07-03 10:43: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'), 47417, 'SRID=4674;POINT (-39.01676 -3.347335)', '2026-07-03 10:43:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:43:57'::timestamp) - extract(epoch from '2026-07-03 10:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016759 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:43:57'::timestamp) - extract(epoch from '2026-07-03 10:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016763 -3.347334)', '2026-07-03 10:44:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016763 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:44:03'::timestamp) - extract(epoch from '2026-07-03 10:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01676 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016763 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:44:03'::timestamp) - extract(epoch from '2026-07-03 10:43: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'), 47417, 'SRID=4674;POINT (-39.016763 -3.347332)', '2026-07-03 10:44:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016763 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016763 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:44:12'::timestamp) - extract(epoch from '2026-07-03 10:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016763 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016763 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:44:12'::timestamp) - extract(epoch from '2026-07-03 10:44: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'), 47417, 'SRID=4674;POINT (-39.016767 -3.347334)', '2026-07-03 10:44:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016763 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016767 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:44:20'::timestamp) - extract(epoch from '2026-07-03 10:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016763 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016767 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:44:20'::timestamp) - extract(epoch from '2026-07-03 10:44: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'), 47417, 'SRID=4674;POINT (-39.016765 -3.347336)', '2026-07-03 10:44:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016767 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016765 -3.347336)'))) / (select extract(epoch from '2026-07-03 10:44:28'::timestamp) - extract(epoch from '2026-07-03 10:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016767 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016765 -3.347336)'))) / (select extract(epoch from '2026-07-03 10:44:28'::timestamp) - extract(epoch from '2026-07-03 10:44: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'), 47417, 'SRID=4674;POINT (-39.016761 -3.34734)', '2026-07-03 10:44:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016765 -3.347336)'), GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:44:34'::timestamp) - extract(epoch from '2026-07-03 10:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016765 -3.347336)'), GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:44:34'::timestamp) - extract(epoch from '2026-07-03 10:44: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'), 47417, 'SRID=4674;POINT (-39.016764 -3.347337)', '2026-07-03 10:44:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:44:38'::timestamp) - extract(epoch from '2026-07-03 10:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:44:38'::timestamp) - extract(epoch from '2026-07-03 10:44: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'), 47417, 'SRID=4674;POINT (-39.016769 -3.347335)', '2026-07-03 10:44:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:44:49'::timestamp) - extract(epoch from '2026-07-03 10:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:44:49'::timestamp) - extract(epoch from '2026-07-03 10:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016769 -3.34734)', '2026-07-03 10:44:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:44:55'::timestamp) - extract(epoch from '2026-07-03 10:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:44:55'::timestamp) - extract(epoch from '2026-07-03 10:44:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016775 -3.34734)', '2026-07-03 10:45:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:45:03'::timestamp) - extract(epoch from '2026-07-03 10:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:45:03'::timestamp) - extract(epoch from '2026-07-03 10:44: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'), 47417, 'SRID=4674;POINT (-39.016769 -3.347344)', '2026-07-03 10:45:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:45:09'::timestamp) - extract(epoch from '2026-07-03 10:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:45:09'::timestamp) - extract(epoch from '2026-07-03 10:45: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'), 47417, 'SRID=4674;POINT (-39.01677 -3.347344)', '2026-07-03 10:45:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:45:20'::timestamp) - extract(epoch from '2026-07-03 10:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:45:20'::timestamp) - extract(epoch from '2026-07-03 10:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016773 -3.347349)', '2026-07-03 10:45:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347349)'))) / (select extract(epoch from '2026-07-03 10:45:29'::timestamp) - extract(epoch from '2026-07-03 10:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347349)'))) / (select extract(epoch from '2026-07-03 10:45:29'::timestamp) - extract(epoch from '2026-07-03 10:45:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016773 -3.347347)', '2026-07-03 10:45:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347347)'))) / (select extract(epoch from '2026-07-03 10:45:35'::timestamp) - extract(epoch from '2026-07-03 10:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347347)'))) / (select extract(epoch from '2026-07-03 10:45:35'::timestamp) - extract(epoch from '2026-07-03 10:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016772 -3.347349)', '2026-07-03 10:45:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347347)'), GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347349)'))) / (select extract(epoch from '2026-07-03 10:45:40'::timestamp) - extract(epoch from '2026-07-03 10:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347347)'), GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347349)'))) / (select extract(epoch from '2026-07-03 10:45:40'::timestamp) - extract(epoch from '2026-07-03 10:45: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'), 47417, 'SRID=4674;POINT (-39.016775 -3.347347)', '2026-07-03 10:45:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347347)'))) / (select extract(epoch from '2026-07-03 10:45:47'::timestamp) - extract(epoch from '2026-07-03 10:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347347)'))) / (select extract(epoch from '2026-07-03 10:45:47'::timestamp) - extract(epoch from '2026-07-03 10:45: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'), 47417, 'SRID=4674;POINT (-39.016777 -3.347346)', '2026-07-03 10:45:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347347)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347346)'))) / (select extract(epoch from '2026-07-03 10:45:56'::timestamp) - extract(epoch from '2026-07-03 10:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347347)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347346)'))) / (select extract(epoch from '2026-07-03 10:45:56'::timestamp) - extract(epoch from '2026-07-03 10:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016773 -3.347346)', '2026-07-03 10:46:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347346)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347346)'))) / (select extract(epoch from '2026-07-03 10:46:03'::timestamp) - extract(epoch from '2026-07-03 10:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347346)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347346)'))) / (select extract(epoch from '2026-07-03 10:46:03'::timestamp) - extract(epoch from '2026-07-03 10:45: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'), 47417, 'SRID=4674;POINT (-39.016774 -3.347344)', '2026-07-03 10:46:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347346)'), GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:46:11'::timestamp) - extract(epoch from '2026-07-03 10:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347346)'), GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:46:11'::timestamp) - extract(epoch from '2026-07-03 10:46: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'), 47417, 'SRID=4674;POINT (-39.01677 -3.347345)', '2026-07-03 10:46:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347345)'))) / (select extract(epoch from '2026-07-03 10:46:19'::timestamp) - extract(epoch from '2026-07-03 10:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347345)'))) / (select extract(epoch from '2026-07-03 10:46:19'::timestamp) - extract(epoch from '2026-07-03 10:46: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'), 47417, 'SRID=4674;POINT (-39.016776 -3.347342)', '2026-07-03 10:46:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347345)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:46:28'::timestamp) - extract(epoch from '2026-07-03 10:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347345)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:46:28'::timestamp) - extract(epoch from '2026-07-03 10:46: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'), 47417, 'SRID=4674;POINT (-39.01677 -3.347338)', '2026-07-03 10:46:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:46:34'::timestamp) - extract(epoch from '2026-07-03 10:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:46:34'::timestamp) - extract(epoch from '2026-07-03 10:46: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'), 47417, 'SRID=4674;POINT (-39.016769 -3.347335)', '2026-07-03 10:46:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:46:45'::timestamp) - extract(epoch from '2026-07-03 10:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:46:45'::timestamp) - extract(epoch from '2026-07-03 10:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016762 -3.347327)', '2026-07-03 10:46:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016762 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:46:52'::timestamp) - extract(epoch from '2026-07-03 10:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016769 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016762 -3.347327)'))) / (select extract(epoch from '2026-07-03 10:46:52'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016766 -3.347331)', '2026-07-03 10:47:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016762 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016766 -3.347331)'))) / (select extract(epoch from '2026-07-03 10:47:02'::timestamp) - extract(epoch from '2026-07-03 10:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016762 -3.347327)'), GeomFromEWKT('SRID=4674;POINT (-39.016766 -3.347331)'))) / (select extract(epoch from '2026-07-03 10:47:02'::timestamp) - extract(epoch from '2026-07-03 10:46: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'), 47417, 'SRID=4674;POINT (-39.016772 -3.347337)', '2026-07-03 10:47:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016766 -3.347331)'), GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:47:13'::timestamp) - extract(epoch from '2026-07-03 10:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016766 -3.347331)'), GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:47:13'::timestamp) - extract(epoch from '2026-07-03 10:47: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'), 47417, 'SRID=4674;POINT (-39.01677 -3.347336)', '2026-07-03 10:47:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347336)'))) / (select extract(epoch from '2026-07-03 10:47:20'::timestamp) - extract(epoch from '2026-07-03 10:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347336)'))) / (select extract(epoch from '2026-07-03 10:47:20'::timestamp) - extract(epoch from '2026-07-03 10:47: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'), 47417, 'SRID=4674;POINT (-39.016772 -3.347335)', '2026-07-03 10:47:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347336)'), GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:47:26'::timestamp) - extract(epoch from '2026-07-03 10:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01677 -3.347336)'), GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:47:26'::timestamp) - extract(epoch from '2026-07-03 10:47: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'), 47417, 'SRID=4674;POINT (-39.016773 -3.347342)', '2026-07-03 10:47:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:47:36'::timestamp) - extract(epoch from '2026-07-03 10:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:47:36'::timestamp) - extract(epoch from '2026-07-03 10:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016774 -3.347339)', '2026-07-03 10:47:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:47:41'::timestamp) - extract(epoch from '2026-07-03 10:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:47:41'::timestamp) - extract(epoch from '2026-07-03 10:47: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'), 47417, 'SRID=4674;POINT (-39.016768 -3.347342)', '2026-07-03 10:47:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016768 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:47:47'::timestamp) - extract(epoch from '2026-07-03 10:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016768 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:47:47'::timestamp) - extract(epoch from '2026-07-03 10:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016775 -3.347343)', '2026-07-03 10:47:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016768 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:47:54'::timestamp) - extract(epoch from '2026-07-03 10:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016768 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:47:54'::timestamp) - extract(epoch from '2026-07-03 10:47: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'), 47417, 'SRID=4674;POINT (-39.016776 -3.34735)', '2026-07-03 10:48:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.34735)'))) / (select extract(epoch from '2026-07-03 10:48:00'::timestamp) - extract(epoch from '2026-07-03 10:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.34735)'))) / (select extract(epoch from '2026-07-03 10:48:00'::timestamp) - extract(epoch from '2026-07-03 10:47: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'), 47417, 'SRID=4674;POINT (-39.01678 -3.347352)', '2026-07-03 10:48:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.34735)'), GeomFromEWKT('SRID=4674;POINT (-39.01678 -3.347352)'))) / (select extract(epoch from '2026-07-03 10:48:09'::timestamp) - extract(epoch from '2026-07-03 10:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.34735)'), GeomFromEWKT('SRID=4674;POINT (-39.01678 -3.347352)'))) / (select extract(epoch from '2026-07-03 10:48:09'::timestamp) - extract(epoch from '2026-07-03 10:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016782 -3.347356)', '2026-07-03 10:48:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01678 -3.347352)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347356)'))) / (select extract(epoch from '2026-07-03 10:48:14'::timestamp) - extract(epoch from '2026-07-03 10:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01678 -3.347352)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347356)'))) / (select extract(epoch from '2026-07-03 10:48:14'::timestamp) - extract(epoch from '2026-07-03 10:48: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'), 47417, 'SRID=4674;POINT (-39.016779 -3.347358)', '2026-07-03 10:48:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347356)'), GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347358)'))) / (select extract(epoch from '2026-07-03 10:48:19'::timestamp) - extract(epoch from '2026-07-03 10:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347356)'), GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347358)'))) / (select extract(epoch from '2026-07-03 10:48:19'::timestamp) - extract(epoch from '2026-07-03 10:48: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'), 47417, 'SRID=4674;POINT (-39.016781 -3.347355)', '2026-07-03 10:48:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347358)'), GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347355)'))) / (select extract(epoch from '2026-07-03 10:48:29'::timestamp) - extract(epoch from '2026-07-03 10:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347358)'), GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347355)'))) / (select extract(epoch from '2026-07-03 10:48:29'::timestamp) - extract(epoch from '2026-07-03 10:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016779 -3.347356)', '2026-07-03 10:48:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347355)'), GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347356)'))) / (select extract(epoch from '2026-07-03 10:48:35'::timestamp) - extract(epoch from '2026-07-03 10:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347355)'), GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347356)'))) / (select extract(epoch from '2026-07-03 10:48:35'::timestamp) - extract(epoch from '2026-07-03 10:48: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'), 47417, 'SRID=4674;POINT (-39.016782 -3.347358)', '2026-07-03 10:48:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347356)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347358)'))) / (select extract(epoch from '2026-07-03 10:48:44'::timestamp) - extract(epoch from '2026-07-03 10:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347356)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347358)'))) / (select extract(epoch from '2026-07-03 10:48:44'::timestamp) - extract(epoch from '2026-07-03 10:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016784 -3.347362)', '2026-07-03 10:48:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347358)'), GeomFromEWKT('SRID=4674;POINT (-39.016784 -3.347362)'))) / (select extract(epoch from '2026-07-03 10:48:50'::timestamp) - extract(epoch from '2026-07-03 10:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347358)'), GeomFromEWKT('SRID=4674;POINT (-39.016784 -3.347362)'))) / (select extract(epoch from '2026-07-03 10:48:50'::timestamp) - extract(epoch from '2026-07-03 10:48: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'), 47417, 'SRID=4674;POINT (-39.016786 -3.347364)', '2026-07-03 10:49:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016784 -3.347362)'), GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347364)'))) / (select extract(epoch from '2026-07-03 10:49:00'::timestamp) - extract(epoch from '2026-07-03 10:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016784 -3.347362)'), GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347364)'))) / (select extract(epoch from '2026-07-03 10:49:00'::timestamp) - extract(epoch from '2026-07-03 10:48: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'), 47417, 'SRID=4674;POINT (-39.016778 -3.347363)', '2026-07-03 10:49:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347364)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347363)'))) / (select extract(epoch from '2026-07-03 10:49:06'::timestamp) - extract(epoch from '2026-07-03 10:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347364)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347363)'))) / (select extract(epoch from '2026-07-03 10:49:06'::timestamp) - extract(epoch from '2026-07-03 10:49: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'), 47417, 'SRID=4674;POINT (-39.016779 -3.347357)', '2026-07-03 10:49:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347363)'), GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347357)'))) / (select extract(epoch from '2026-07-03 10:49:12'::timestamp) - extract(epoch from '2026-07-03 10:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347363)'), GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347357)'))) / (select extract(epoch from '2026-07-03 10:49:12'::timestamp) - extract(epoch from '2026-07-03 10:49: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'), 47417, 'SRID=4674;POINT (-39.016785 -3.347356)', '2026-07-03 10:49:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347357)'), GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347356)'))) / (select extract(epoch from '2026-07-03 10:49:19'::timestamp) - extract(epoch from '2026-07-03 10:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016779 -3.347357)'), GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347356)'))) / (select extract(epoch from '2026-07-03 10:49:19'::timestamp) - extract(epoch from '2026-07-03 10:49:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016786 -3.347349)', '2026-07-03 10:49:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347356)'), GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347349)'))) / (select extract(epoch from '2026-07-03 10:49:27'::timestamp) - extract(epoch from '2026-07-03 10:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347356)'), GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347349)'))) / (select extract(epoch from '2026-07-03 10:49:27'::timestamp) - extract(epoch from '2026-07-03 10:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016777 -3.347343)', '2026-07-03 10:49:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:49:35'::timestamp) - extract(epoch from '2026-07-03 10:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:49:35'::timestamp) - extract(epoch from '2026-07-03 10:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016773 -3.347338)', '2026-07-03 10:49:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:49:44'::timestamp) - extract(epoch from '2026-07-03 10:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:49:44'::timestamp) - extract(epoch from '2026-07-03 10:49: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'), 47417, 'SRID=4674;POINT (-39.016774 -3.347342)', '2026-07-03 10:49:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:49:51'::timestamp) - extract(epoch from '2026-07-03 10:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:49:51'::timestamp) - extract(epoch from '2026-07-03 10:49: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'), 47417, 'SRID=4674;POINT (-39.016776 -3.347339)', '2026-07-03 10:49:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:49:59'::timestamp) - extract(epoch from '2026-07-03 10:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016774 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:49:59'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016776 -3.347336)', '2026-07-03 10:50:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347336)'))) / (select extract(epoch from '2026-07-03 10:50:05'::timestamp) - extract(epoch from '2026-07-03 10:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347336)'))) / (select extract(epoch from '2026-07-03 10:50:05'::timestamp) - extract(epoch from '2026-07-03 10:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016777 -3.347343)', '2026-07-03 10:50:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347336)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:50:13'::timestamp) - extract(epoch from '2026-07-03 10:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347336)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:50:13'::timestamp) - extract(epoch from '2026-07-03 10:50: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'), 47417, 'SRID=4674;POINT (-39.016771 -3.347338)', '2026-07-03 10:50:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016771 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:50:23'::timestamp) - extract(epoch from '2026-07-03 10:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016771 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:50:23'::timestamp) - extract(epoch from '2026-07-03 10:50: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'), 47417, 'SRID=4674;POINT (-39.016778 -3.347346)', '2026-07-03 10:50:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016771 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347346)'))) / (select extract(epoch from '2026-07-03 10:50:30'::timestamp) - extract(epoch from '2026-07-03 10:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016771 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347346)'))) / (select extract(epoch from '2026-07-03 10:50:30'::timestamp) - extract(epoch from '2026-07-03 10:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016776 -3.347342)', '2026-07-03 10:50:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347346)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:50:36'::timestamp) - extract(epoch from '2026-07-03 10:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347346)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:50:36'::timestamp) - extract(epoch from '2026-07-03 10:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016776 -3.347339)', '2026-07-03 10:50:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:50:42'::timestamp) - extract(epoch from '2026-07-03 10:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:50:42'::timestamp) - extract(epoch from '2026-07-03 10:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016773 -3.347338)', '2026-07-03 10:50:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:50:50'::timestamp) - extract(epoch from '2026-07-03 10:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016776 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:50:50'::timestamp) - extract(epoch from '2026-07-03 10:50: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'), 47417, 'SRID=4674;POINT (-39.016775 -3.347342)', '2026-07-03 10:50:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:50:55'::timestamp) - extract(epoch from '2026-07-03 10:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:50:55'::timestamp) - extract(epoch from '2026-07-03 10:50: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'), 47417, 'SRID=4674;POINT (-39.016777 -3.347338)', '2026-07-03 10:51:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:51:04'::timestamp) - extract(epoch from '2026-07-03 10:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:51:04'::timestamp) - extract(epoch from '2026-07-03 10:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016778 -3.347337)', '2026-07-03 10:51:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:51:11'::timestamp) - extract(epoch from '2026-07-03 10:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:51:11'::timestamp) - extract(epoch from '2026-07-03 10:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016775 -3.347337)', '2026-07-03 10:51:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:51:20'::timestamp) - extract(epoch from '2026-07-03 10:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:51:20'::timestamp) - extract(epoch from '2026-07-03 10:51: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'), 47417, 'SRID=4674;POINT (-39.01678 -3.347347)', '2026-07-03 10:51:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.01678 -3.347347)'))) / (select extract(epoch from '2026-07-03 10:51:26'::timestamp) - extract(epoch from '2026-07-03 10:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016775 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.01678 -3.347347)'))) / (select extract(epoch from '2026-07-03 10:51:26'::timestamp) - extract(epoch from '2026-07-03 10:51: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'), 47417, 'SRID=4674;POINT (-39.016781 -3.347349)', '2026-07-03 10:51:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01678 -3.347347)'), GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347349)'))) / (select extract(epoch from '2026-07-03 10:51:34'::timestamp) - extract(epoch from '2026-07-03 10:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01678 -3.347347)'), GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347349)'))) / (select extract(epoch from '2026-07-03 10:51:34'::timestamp) - extract(epoch from '2026-07-03 10:51:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016778 -3.347348)', '2026-07-03 10:51:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347348)'))) / (select extract(epoch from '2026-07-03 10:51:41'::timestamp) - extract(epoch from '2026-07-03 10:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347348)'))) / (select extract(epoch from '2026-07-03 10:51:41'::timestamp) - extract(epoch from '2026-07-03 10:51: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'), 47417, 'SRID=4674;POINT (-39.016782 -3.347345)', '2026-07-03 10:51:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347348)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347345)'))) / (select extract(epoch from '2026-07-03 10:51:47'::timestamp) - extract(epoch from '2026-07-03 10:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347348)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347345)'))) / (select extract(epoch from '2026-07-03 10:51:47'::timestamp) - extract(epoch from '2026-07-03 10:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016777 -3.347344)', '2026-07-03 10:51:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347345)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:51:55'::timestamp) - extract(epoch from '2026-07-03 10:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347345)'), GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:51:55'::timestamp) - extract(epoch from '2026-07-03 10:51: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'), 47417, 'SRID=4674;POINT (-39.016782 -3.347341)', '2026-07-03 10:52:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347341)'))) / (select extract(epoch from '2026-07-03 10:52:09'::timestamp) - extract(epoch from '2026-07-03 10:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016777 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347341)'))) / (select extract(epoch from '2026-07-03 10:52:09'::timestamp) - extract(epoch from '2026-07-03 10:51: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'), 47417, 'SRID=4674;POINT (-39.016781 -3.347337)', '2026-07-03 10:52:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347341)'), GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:52:15'::timestamp) - extract(epoch from '2026-07-03 10:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347341)'), GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347337)'))) / (select extract(epoch from '2026-07-03 10:52:15'::timestamp) - extract(epoch from '2026-07-03 10:52: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'), 47417, 'SRID=4674;POINT (-39.016778 -3.347339)', '2026-07-03 10:52:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:52:22'::timestamp) - extract(epoch from '2026-07-03 10:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.347337)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:52:22'::timestamp) - extract(epoch from '2026-07-03 10:52: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'), 47417, 'SRID=4674;POINT (-39.016781 -3.34734)', '2026-07-03 10:52:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:52:30'::timestamp) - extract(epoch from '2026-07-03 10:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:52:30'::timestamp) - extract(epoch from '2026-07-03 10:52: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'), 47417, 'SRID=4674;POINT (-39.016782 -3.347341)', '2026-07-03 10:52:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347341)'))) / (select extract(epoch from '2026-07-03 10:52:39'::timestamp) - extract(epoch from '2026-07-03 10:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347341)'))) / (select extract(epoch from '2026-07-03 10:52:39'::timestamp) - extract(epoch from '2026-07-03 10:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016782 -3.34734)', '2026-07-03 10:52:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347341)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:52:46'::timestamp) - extract(epoch from '2026-07-03 10:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.347341)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.34734)'))) / (select extract(epoch from '2026-07-03 10:52:46'::timestamp) - extract(epoch from '2026-07-03 10:52: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'), 47417, 'SRID=4674;POINT (-39.016787 -3.347339)', '2026-07-03 10:52:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:52:53'::timestamp) - extract(epoch from '2026-07-03 10:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.34734)'), GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.347339)'))) / (select extract(epoch from '2026-07-03 10:52:53'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016785 -3.347334)', '2026-07-03 10:52:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:52:58'::timestamp) - extract(epoch from '2026-07-03 10:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.347339)'), GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347334)'))) / (select extract(epoch from '2026-07-03 10:52:58'::timestamp) - extract(epoch from '2026-07-03 10:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016786 -3.347338)', '2026-07-03 10:53:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:53:07'::timestamp) - extract(epoch from '2026-07-03 10:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347334)'), GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:53:07'::timestamp) - extract(epoch from '2026-07-03 10:52: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'), 47417, 'SRID=4674;POINT (-39.016789 -3.347341)', '2026-07-03 10:53:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.347341)'))) / (select extract(epoch from '2026-07-03 10:53:14'::timestamp) - extract(epoch from '2026-07-03 10:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016786 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.347341)'))) / (select extract(epoch from '2026-07-03 10:53:14'::timestamp) - extract(epoch from '2026-07-03 10:53:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016794 -3.347343)', '2026-07-03 10:53:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.347341)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:53:22'::timestamp) - extract(epoch from '2026-07-03 10:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.347341)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:53:22'::timestamp) - extract(epoch from '2026-07-03 10:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016794 -3.347343)', '2026-07-03 10:53:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:53:29'::timestamp) - extract(epoch from '2026-07-03 10:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347343)'))) / (select extract(epoch from '2026-07-03 10:53:29'::timestamp) - extract(epoch from '2026-07-03 10:53: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'), 47417, 'SRID=4674;POINT (-39.016791 -3.347338)', '2026-07-03 10:53:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:53:35'::timestamp) - extract(epoch from '2026-07-03 10:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347343)'), GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347338)'))) / (select extract(epoch from '2026-07-03 10:53:35'::timestamp) - extract(epoch from '2026-07-03 10:53: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'), 47417, 'SRID=4674;POINT (-39.016791 -3.347333)', '2026-07-03 10:53:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347333)'))) / (select extract(epoch from '2026-07-03 10:53:43'::timestamp) - extract(epoch from '2026-07-03 10:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347338)'), GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347333)'))) / (select extract(epoch from '2026-07-03 10:53:43'::timestamp) - extract(epoch from '2026-07-03 10:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.01679 -3.347333)', '2026-07-03 10:53:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347333)'), GeomFromEWKT('SRID=4674;POINT (-39.01679 -3.347333)'))) / (select extract(epoch from '2026-07-03 10:53:44'::timestamp) - extract(epoch from '2026-07-03 10:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347333)'), GeomFromEWKT('SRID=4674;POINT (-39.01679 -3.347333)'))) / (select extract(epoch from '2026-07-03 10:53:44'::timestamp) - extract(epoch from '2026-07-03 10:53: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'), 47417, 'SRID=4674;POINT (-39.016789 -3.347335)', '2026-07-03 10:53:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01679 -3.347333)'), GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:53:47'::timestamp) - extract(epoch from '2026-07-03 10:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01679 -3.347333)'), GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.347335)'))) / (select extract(epoch from '2026-07-03 10:53:47'::timestamp) - extract(epoch from '2026-07-03 10:53: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'), 47417, 'SRID=4674;POINT (-39.016782 -3.34733)', '2026-07-03 10:53:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.34733)'))) / (select extract(epoch from '2026-07-03 10:53:55'::timestamp) - extract(epoch from '2026-07-03 10:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.347335)'), GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.34733)'))) / (select extract(epoch from '2026-07-03 10:53:55'::timestamp) - extract(epoch from '2026-07-03 10:53:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016778 -3.347332)', '2026-07-03 10:54:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.34733)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:54:00'::timestamp) - extract(epoch from '2026-07-03 10:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016782 -3.34733)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347332)'))) / (select extract(epoch from '2026-07-03 10:54:00'::timestamp) - extract(epoch from '2026-07-03 10:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016778 -3.34733)', '2026-07-03 10:54:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.34733)'))) / (select extract(epoch from '2026-07-03 10:54:05'::timestamp) - extract(epoch from '2026-07-03 10:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.347332)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.34733)'))) / (select extract(epoch from '2026-07-03 10:54:05'::timestamp) - extract(epoch from '2026-07-03 10:54: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'), 47417, 'SRID=4674;POINT (-39.016783 -3.34733)', '2026-07-03 10:54:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.34733)'), GeomFromEWKT('SRID=4674;POINT (-39.016783 -3.34733)'))) / (select extract(epoch from '2026-07-03 10:54:12'::timestamp) - extract(epoch from '2026-07-03 10:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.34733)'), GeomFromEWKT('SRID=4674;POINT (-39.016783 -3.34733)'))) / (select extract(epoch from '2026-07-03 10:54:12'::timestamp) - extract(epoch from '2026-07-03 10:54: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'), 47417, 'SRID=4674;POINT (-39.016783 -3.347342)', '2026-07-03 10:54:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016783 -3.34733)'), GeomFromEWKT('SRID=4674;POINT (-39.016783 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:54:18'::timestamp) - extract(epoch from '2026-07-03 10:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016783 -3.34733)'), GeomFromEWKT('SRID=4674;POINT (-39.016783 -3.347342)'))) / (select extract(epoch from '2026-07-03 10:54:18'::timestamp) - extract(epoch from '2026-07-03 10:54: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'), 47417, 'SRID=4674;POINT (-39.01679 -3.347349)', '2026-07-03 10:54:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016783 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.01679 -3.347349)'))) / (select extract(epoch from '2026-07-03 10:54:23'::timestamp) - extract(epoch from '2026-07-03 10:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016783 -3.347342)'), GeomFromEWKT('SRID=4674;POINT (-39.01679 -3.347349)'))) / (select extract(epoch from '2026-07-03 10:54:23'::timestamp) - extract(epoch from '2026-07-03 10:54: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'), 47417, 'SRID=4674;POINT (-39.016792 -3.347355)', '2026-07-03 10:54:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01679 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-39.016792 -3.347355)'))) / (select extract(epoch from '2026-07-03 10:54:24'::timestamp) - extract(epoch from '2026-07-03 10:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01679 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-39.016792 -3.347355)'))) / (select extract(epoch from '2026-07-03 10:54:24'::timestamp) - extract(epoch from '2026-07-03 10:54: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'), 47417, 'SRID=4674;POINT (-39.016787 -3.347356)', '2026-07-03 10:54:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016792 -3.347355)'), GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.347356)'))) / (select extract(epoch from '2026-07-03 10:54:25'::timestamp) - extract(epoch from '2026-07-03 10:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016792 -3.347355)'), GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.347356)'))) / (select extract(epoch from '2026-07-03 10:54:25'::timestamp) - extract(epoch from '2026-07-03 10:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016773 -3.347361)', '2026-07-03 10:54:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.347356)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347361)'))) / (select extract(epoch from '2026-07-03 10:54:28'::timestamp) - extract(epoch from '2026-07-03 10:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.347356)'), GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347361)'))) / (select extract(epoch from '2026-07-03 10:54:28'::timestamp) - extract(epoch from '2026-07-03 10:54: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'), 47417, 'SRID=4674;POINT (-39.016785 -3.347359)', '2026-07-03 10:54:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347361)'), GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347359)'))) / (select extract(epoch from '2026-07-03 10:54:37'::timestamp) - extract(epoch from '2026-07-03 10:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016773 -3.347361)'), GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347359)'))) / (select extract(epoch from '2026-07-03 10:54:37'::timestamp) - extract(epoch from '2026-07-03 10:54: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'), 47417, 'SRID=4674;POINT (-39.016795 -3.347364)', '2026-07-03 10:54:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347359)'), GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347364)'))) / (select extract(epoch from '2026-07-03 10:54:44'::timestamp) - extract(epoch from '2026-07-03 10:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016785 -3.347359)'), GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347364)'))) / (select extract(epoch from '2026-07-03 10:54:44'::timestamp) - extract(epoch from '2026-07-03 10:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016798 -3.347365)', '2026-07-03 10:54:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347364)'), GeomFromEWKT('SRID=4674;POINT (-39.016798 -3.347365)'))) / (select extract(epoch from '2026-07-03 10:54:51'::timestamp) - extract(epoch from '2026-07-03 10:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347364)'), GeomFromEWKT('SRID=4674;POINT (-39.016798 -3.347365)'))) / (select extract(epoch from '2026-07-03 10:54:51'::timestamp) - extract(epoch from '2026-07-03 10:54: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'), 47417, 'SRID=4674;POINT (-39.016793 -3.347363)', '2026-07-03 10:55:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016798 -3.347365)'), GeomFromEWKT('SRID=4674;POINT (-39.016793 -3.347363)'))) / (select extract(epoch from '2026-07-03 10:55:00'::timestamp) - extract(epoch from '2026-07-03 10:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016798 -3.347365)'), GeomFromEWKT('SRID=4674;POINT (-39.016793 -3.347363)'))) / (select extract(epoch from '2026-07-03 10:55:00'::timestamp) - extract(epoch from '2026-07-03 10:54: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'), 47417, 'SRID=4674;POINT (-39.016795 -3.34736)', '2026-07-03 10:55:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016793 -3.347363)'), GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.34736)'))) / (select extract(epoch from '2026-07-03 10:55:10'::timestamp) - extract(epoch from '2026-07-03 10:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016793 -3.347363)'), GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.34736)'))) / (select extract(epoch from '2026-07-03 10:55:10'::timestamp) - extract(epoch from '2026-07-03 10:55: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'), 47417, 'SRID=4674;POINT (-39.016794 -3.347359)', '2026-07-03 10:55:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.34736)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347359)'))) / (select extract(epoch from '2026-07-03 10:55:16'::timestamp) - extract(epoch from '2026-07-03 10:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.34736)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347359)'))) / (select extract(epoch from '2026-07-03 10:55:16'::timestamp) - extract(epoch from '2026-07-03 10:55: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'), 47417, 'SRID=4674;POINT (-39.016793 -3.347356)', '2026-07-03 10:55:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347359)'), GeomFromEWKT('SRID=4674;POINT (-39.016793 -3.347356)'))) / (select extract(epoch from '2026-07-03 10:55:22'::timestamp) - extract(epoch from '2026-07-03 10:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347359)'), GeomFromEWKT('SRID=4674;POINT (-39.016793 -3.347356)'))) / (select extract(epoch from '2026-07-03 10:55:22'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016794 -3.34735)', '2026-07-03 10:55:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016793 -3.347356)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.34735)'))) / (select extract(epoch from '2026-07-03 10:55:31'::timestamp) - extract(epoch from '2026-07-03 10:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016793 -3.347356)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.34735)'))) / (select extract(epoch from '2026-07-03 10:55:31'::timestamp) - extract(epoch from '2026-07-03 10:55: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'), 47417, 'SRID=4674;POINT (-39.016794 -3.347347)', '2026-07-03 10:55:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.34735)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347347)'))) / (select extract(epoch from '2026-07-03 10:55:37'::timestamp) - extract(epoch from '2026-07-03 10:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.34735)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347347)'))) / (select extract(epoch from '2026-07-03 10:55:37'::timestamp) - extract(epoch from '2026-07-03 10:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016791 -3.347344)', '2026-07-03 10:55:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347347)'), GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:55:47'::timestamp) - extract(epoch from '2026-07-03 10:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347347)'), GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347344)'))) / (select extract(epoch from '2026-07-03 10:55:47'::timestamp) - extract(epoch from '2026-07-03 10:55: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'), 47417, 'SRID=4674;POINT (-39.016792 -3.347345)', '2026-07-03 10:55:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.016792 -3.347345)'))) / (select extract(epoch from '2026-07-03 10:55:54'::timestamp) - extract(epoch from '2026-07-03 10:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016791 -3.347344)'), GeomFromEWKT('SRID=4674;POINT (-39.016792 -3.347345)'))) / (select extract(epoch from '2026-07-03 10:55:54'::timestamp) - extract(epoch from '2026-07-03 10:55: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'), 47417, 'SRID=4674;POINT (-39.016789 -3.34735)', '2026-07-03 10:56:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016792 -3.347345)'), GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.34735)'))) / (select extract(epoch from '2026-07-03 10:56:03'::timestamp) - extract(epoch from '2026-07-03 10:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016792 -3.347345)'), GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.34735)'))) / (select extract(epoch from '2026-07-03 10:56:03'::timestamp) - extract(epoch from '2026-07-03 10:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016794 -3.347353)', '2026-07-03 10:56:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.34735)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347353)'))) / (select extract(epoch from '2026-07-03 10:56:11'::timestamp) - extract(epoch from '2026-07-03 10:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.34735)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347353)'))) / (select extract(epoch from '2026-07-03 10:56:11'::timestamp) - extract(epoch from '2026-07-03 10: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'), 47417, 'SRID=4674;POINT (-39.016798 -3.347361)', '2026-07-03 10:56:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347353)'), GeomFromEWKT('SRID=4674;POINT (-39.016798 -3.347361)'))) / (select extract(epoch from '2026-07-03 10:56:20'::timestamp) - extract(epoch from '2026-07-03 10:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347353)'), GeomFromEWKT('SRID=4674;POINT (-39.016798 -3.347361)'))) / (select extract(epoch from '2026-07-03 10:56:20'::timestamp) - extract(epoch from '2026-07-03 10:56: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'), 47417, 'SRID=4674;POINT (-39.016795 -3.347362)', '2026-07-03 10:56:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016798 -3.347361)'), GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347362)'))) / (select extract(epoch from '2026-07-03 10:56:27'::timestamp) - extract(epoch from '2026-07-03 10:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016798 -3.347361)'), GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347362)'))) / (select extract(epoch from '2026-07-03 10:56:27'::timestamp) - extract(epoch from '2026-07-03 10:56: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'), 47417, 'SRID=4674;POINT (-39.0168 -3.347361)', '2026-07-03 10:56:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347362)'), GeomFromEWKT('SRID=4674;POINT (-39.0168 -3.347361)'))) / (select extract(epoch from '2026-07-03 10:56:36'::timestamp) - extract(epoch from '2026-07-03 10:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347362)'), GeomFromEWKT('SRID=4674;POINT (-39.0168 -3.347361)'))) / (select extract(epoch from '2026-07-03 10:56:36'::timestamp) - extract(epoch from '2026-07-03 10:56: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'), 47417, 'SRID=4674;POINT (-39.016799 -3.347365)', '2026-07-03 10:56:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0168 -3.347361)'), GeomFromEWKT('SRID=4674;POINT (-39.016799 -3.347365)'))) / (select extract(epoch from '2026-07-03 10:56:44'::timestamp) - extract(epoch from '2026-07-03 10:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0168 -3.347361)'), GeomFromEWKT('SRID=4674;POINT (-39.016799 -3.347365)'))) / (select extract(epoch from '2026-07-03 10:56:44'::timestamp) - extract(epoch from '2026-07-03 10:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016804 -3.347365)', '2026-07-03 10:56:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016799 -3.347365)'), GeomFromEWKT('SRID=4674;POINT (-39.016804 -3.347365)'))) / (select extract(epoch from '2026-07-03 10:56:51'::timestamp) - extract(epoch from '2026-07-03 10:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016799 -3.347365)'), GeomFromEWKT('SRID=4674;POINT (-39.016804 -3.347365)'))) / (select extract(epoch from '2026-07-03 10:56:51'::timestamp) - extract(epoch from '2026-07-03 10:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47417, 'SRID=4674;POINT (-39.016799 -3.347361)', '2026-07-03 10:56:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016804 -3.347365)'), GeomFromEWKT('SRID=4674;POINT (-39.016799 -3.347361)'))) / (select extract(epoch from '2026-07-03 10:56:58'::timestamp) - extract(epoch from '2026-07-03 10:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016804 -3.347365)'), GeomFromEWKT('SRID=4674;POINT (-39.016799 -3.347361)'))) / (select extract(epoch from '2026-07-03 10:56:58'::timestamp) - extract(epoch from '2026-07-03 10:56: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'), 47417, 'SRID=4674;POINT (-39.0168 -3.347362)', '2026-07-03 10:57:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016799 -3.347361)'), GeomFromEWKT('SRID=4674;POINT (-39.0168 -3.347362)'))) / (select extract(epoch from '2026-07-03 10:57:06'::timestamp) - extract(epoch from '2026-07-03 10:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016799 -3.347361)'), GeomFromEWKT('SRID=4674;POINT (-39.0168 -3.347362)'))) / (select extract(epoch from '2026-07-03 10:57:06'::timestamp) - extract(epoch from '2026-07-03 10:56: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'), 47417, 'SRID=4674;POINT (-39.016795 -3.347364)', '2026-07-03 10:57:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0168 -3.347362)'), GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347364)'))) / (select extract(epoch from '2026-07-03 10:57:13'::timestamp) - extract(epoch from '2026-07-03 10:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0168 -3.347362)'), GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347364)'))) / (select extract(epoch from '2026-07-03 10:57:13'::timestamp) - extract(epoch from '2026-07-03 10:57: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'), 47417, 'SRID=4674;POINT (-39.016794 -3.347364)', '2026-07-03 10:57:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347364)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347364)'))) / (select extract(epoch from '2026-07-03 10:57:18'::timestamp) - extract(epoch from '2026-07-03 10:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016795 -3.347364)'), GeomFromEWKT('SRID=4674;POINT (-39.016794 -3.347364)'))) / (select extract(epoch from '2026-07-03 10:57:18'::timestamp) - extract(epoch from '2026-07-03 10:57:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
