 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027269 -3.396466)', '2026-07-28 09:40:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027263 -3.396394)'), GeomFromEWKT('SRID=4674;POINT (-39.027269 -3.396466)'))) / (select extract(epoch from '2026-07-28 09:40:09'::timestamp) - extract(epoch from '2026-07-28 09:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027263 -3.396394)'), GeomFromEWKT('SRID=4674;POINT (-39.027269 -3.396466)'))) / (select extract(epoch from '2026-07-28 09:40:09'::timestamp) - extract(epoch from '2026-07-28 09:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027267 -3.396474)', '2026-07-28 09:40:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027269 -3.396466)'), GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.396474)'))) / (select extract(epoch from '2026-07-28 09:40:10'::timestamp) - extract(epoch from '2026-07-28 09:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027269 -3.396466)'), GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.396474)'))) / (select extract(epoch from '2026-07-28 09:40:10'::timestamp) - extract(epoch from '2026-07-28 09:40: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'), 47422, 'SRID=4674;POINT (-39.027267 -3.396516)', '2026-07-28 09:40:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.396474)'), GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.396516)'))) / (select extract(epoch from '2026-07-28 09:40:14'::timestamp) - extract(epoch from '2026-07-28 09:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.396474)'), GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.396516)'))) / (select extract(epoch from '2026-07-28 09:40:14'::timestamp) - extract(epoch from '2026-07-28 09:40: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'), 47422, 'SRID=4674;POINT (-39.027259 -3.396534)', '2026-07-28 09:40:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.396516)'), GeomFromEWKT('SRID=4674;POINT (-39.027259 -3.396534)'))) / (select extract(epoch from '2026-07-28 09:40:16'::timestamp) - extract(epoch from '2026-07-28 09:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.396516)'), GeomFromEWKT('SRID=4674;POINT (-39.027259 -3.396534)'))) / (select extract(epoch from '2026-07-28 09:40:16'::timestamp) - extract(epoch from '2026-07-28 09:40: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'), 47422, 'SRID=4674;POINT (-39.027259 -3.396545)', '2026-07-28 09:40:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027259 -3.396534)'), GeomFromEWKT('SRID=4674;POINT (-39.027259 -3.396545)'))) / (select extract(epoch from '2026-07-28 09:40:17'::timestamp) - extract(epoch from '2026-07-28 09:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027259 -3.396534)'), GeomFromEWKT('SRID=4674;POINT (-39.027259 -3.396545)'))) / (select extract(epoch from '2026-07-28 09:40:17'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027254 -3.396588)', '2026-07-28 09:40:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027259 -3.396545)'), GeomFromEWKT('SRID=4674;POINT (-39.027254 -3.396588)'))) / (select extract(epoch from '2026-07-28 09:40:21'::timestamp) - extract(epoch from '2026-07-28 09:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027259 -3.396545)'), GeomFromEWKT('SRID=4674;POINT (-39.027254 -3.396588)'))) / (select extract(epoch from '2026-07-28 09:40:21'::timestamp) - extract(epoch from '2026-07-28 09:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027251 -3.396623)', '2026-07-28 09:40:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027254 -3.396588)'), GeomFromEWKT('SRID=4674;POINT (-39.027251 -3.396623)'))) / (select extract(epoch from '2026-07-28 09:40:24'::timestamp) - extract(epoch from '2026-07-28 09:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027254 -3.396588)'), GeomFromEWKT('SRID=4674;POINT (-39.027251 -3.396623)'))) / (select extract(epoch from '2026-07-28 09:40:24'::timestamp) - extract(epoch from '2026-07-28 09:40: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'), 47422, 'SRID=4674;POINT (-39.027241 -3.396673)', '2026-07-28 09:40:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027251 -3.396623)'), GeomFromEWKT('SRID=4674;POINT (-39.027241 -3.396673)'))) / (select extract(epoch from '2026-07-28 09:40:29'::timestamp) - extract(epoch from '2026-07-28 09:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027251 -3.396623)'), GeomFromEWKT('SRID=4674;POINT (-39.027241 -3.396673)'))) / (select extract(epoch from '2026-07-28 09:40:29'::timestamp) - extract(epoch from '2026-07-28 09:40: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'), 47422, 'SRID=4674;POINT (-39.027235 -3.396754)', '2026-07-28 09:40:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027241 -3.396673)'), GeomFromEWKT('SRID=4674;POINT (-39.027235 -3.396754)'))) / (select extract(epoch from '2026-07-28 09:40:37'::timestamp) - extract(epoch from '2026-07-28 09:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027241 -3.396673)'), GeomFromEWKT('SRID=4674;POINT (-39.027235 -3.396754)'))) / (select extract(epoch from '2026-07-28 09:40:37'::timestamp) - extract(epoch from '2026-07-28 09:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027232 -3.396846)', '2026-07-28 09:40:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027235 -3.396754)'), GeomFromEWKT('SRID=4674;POINT (-39.027232 -3.396846)'))) / (select extract(epoch from '2026-07-28 09:40:46'::timestamp) - extract(epoch from '2026-07-28 09:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027235 -3.396754)'), GeomFromEWKT('SRID=4674;POINT (-39.027232 -3.396846)'))) / (select extract(epoch from '2026-07-28 09:40:46'::timestamp) - extract(epoch from '2026-07-28 09:40:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02723 -3.396934)', '2026-07-28 09:40:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027232 -3.396846)'), GeomFromEWKT('SRID=4674;POINT (-39.02723 -3.396934)'))) / (select extract(epoch from '2026-07-28 09:40:55'::timestamp) - extract(epoch from '2026-07-28 09:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027232 -3.396846)'), GeomFromEWKT('SRID=4674;POINT (-39.02723 -3.396934)'))) / (select extract(epoch from '2026-07-28 09:40:55'::timestamp) - extract(epoch from '2026-07-28 09:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027229 -3.397016)', '2026-07-28 09:41:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02723 -3.396934)'), GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.397016)'))) / (select extract(epoch from '2026-07-28 09:41:03'::timestamp) - extract(epoch from '2026-07-28 09:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02723 -3.396934)'), GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.397016)'))) / (select extract(epoch from '2026-07-28 09:41:03'::timestamp) - extract(epoch from '2026-07-28 09:40: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'), 47422, 'SRID=4674;POINT (-39.027236 -3.397077)', '2026-07-28 09:41:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.397016)'), GeomFromEWKT('SRID=4674;POINT (-39.027236 -3.397077)'))) / (select extract(epoch from '2026-07-28 09:41:09'::timestamp) - extract(epoch from '2026-07-28 09:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.397016)'), GeomFromEWKT('SRID=4674;POINT (-39.027236 -3.397077)'))) / (select extract(epoch from '2026-07-28 09:41:09'::timestamp) - extract(epoch from '2026-07-28 09:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027232 -3.397144)', '2026-07-28 09:41:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027236 -3.397077)'), GeomFromEWKT('SRID=4674;POINT (-39.027232 -3.397144)'))) / (select extract(epoch from '2026-07-28 09:41:15'::timestamp) - extract(epoch from '2026-07-28 09:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027236 -3.397077)'), GeomFromEWKT('SRID=4674;POINT (-39.027232 -3.397144)'))) / (select extract(epoch from '2026-07-28 09:41:15'::timestamp) - extract(epoch from '2026-07-28 09:41: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'), 47422, 'SRID=4674;POINT (-39.027214 -3.397257)', '2026-07-28 09:41:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027232 -3.397144)'), GeomFromEWKT('SRID=4674;POINT (-39.027214 -3.397257)'))) / (select extract(epoch from '2026-07-28 09:41:25'::timestamp) - extract(epoch from '2026-07-28 09:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027232 -3.397144)'), GeomFromEWKT('SRID=4674;POINT (-39.027214 -3.397257)'))) / (select extract(epoch from '2026-07-28 09:41:25'::timestamp) - extract(epoch from '2026-07-28 09:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027209 -3.397365)', '2026-07-28 09:41:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027214 -3.397257)'), GeomFromEWKT('SRID=4674;POINT (-39.027209 -3.397365)'))) / (select extract(epoch from '2026-07-28 09:41:34'::timestamp) - extract(epoch from '2026-07-28 09:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027214 -3.397257)'), GeomFromEWKT('SRID=4674;POINT (-39.027209 -3.397365)'))) / (select extract(epoch from '2026-07-28 09:41:34'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.0272 -3.397446)', '2026-07-28 09:41:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027209 -3.397365)'), GeomFromEWKT('SRID=4674;POINT (-39.0272 -3.397446)'))) / (select extract(epoch from '2026-07-28 09:41:41'::timestamp) - extract(epoch from '2026-07-28 09:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027209 -3.397365)'), GeomFromEWKT('SRID=4674;POINT (-39.0272 -3.397446)'))) / (select extract(epoch from '2026-07-28 09:41:41'::timestamp) - extract(epoch from '2026-07-28 09:41: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'), 47422, 'SRID=4674;POINT (-39.027194 -3.397528)', '2026-07-28 09:41:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0272 -3.397446)'), GeomFromEWKT('SRID=4674;POINT (-39.027194 -3.397528)'))) / (select extract(epoch from '2026-07-28 09:41:48'::timestamp) - extract(epoch from '2026-07-28 09:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0272 -3.397446)'), GeomFromEWKT('SRID=4674;POINT (-39.027194 -3.397528)'))) / (select extract(epoch from '2026-07-28 09:41:48'::timestamp) - extract(epoch from '2026-07-28 09:41: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'), 47422, 'SRID=4674;POINT (-39.027184 -3.397611)', '2026-07-28 09:41:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027194 -3.397528)'), GeomFromEWKT('SRID=4674;POINT (-39.027184 -3.397611)'))) / (select extract(epoch from '2026-07-28 09:41:55'::timestamp) - extract(epoch from '2026-07-28 09:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027194 -3.397528)'), GeomFromEWKT('SRID=4674;POINT (-39.027184 -3.397611)'))) / (select extract(epoch from '2026-07-28 09:41:55'::timestamp) - extract(epoch from '2026-07-28 09:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027177 -3.397684)', '2026-07-28 09:42:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027184 -3.397611)'), GeomFromEWKT('SRID=4674;POINT (-39.027177 -3.397684)'))) / (select extract(epoch from '2026-07-28 09:42:01'::timestamp) - extract(epoch from '2026-07-28 09:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027184 -3.397611)'), GeomFromEWKT('SRID=4674;POINT (-39.027177 -3.397684)'))) / (select extract(epoch from '2026-07-28 09:42:01'::timestamp) - extract(epoch from '2026-07-28 09:41: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'), 47422, 'SRID=4674;POINT (-39.027164 -3.397778)', '2026-07-28 09:42:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027177 -3.397684)'), GeomFromEWKT('SRID=4674;POINT (-39.027164 -3.397778)'))) / (select extract(epoch from '2026-07-28 09:42:09'::timestamp) - extract(epoch from '2026-07-28 09:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027177 -3.397684)'), GeomFromEWKT('SRID=4674;POINT (-39.027164 -3.397778)'))) / (select extract(epoch from '2026-07-28 09:42:09'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027151 -3.397884)', '2026-07-28 09:42:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027164 -3.397778)'), GeomFromEWKT('SRID=4674;POINT (-39.027151 -3.397884)'))) / (select extract(epoch from '2026-07-28 09:42:18'::timestamp) - extract(epoch from '2026-07-28 09:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027164 -3.397778)'), GeomFromEWKT('SRID=4674;POINT (-39.027151 -3.397884)'))) / (select extract(epoch from '2026-07-28 09:42:18'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027129 -3.397982)', '2026-07-28 09:42:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027151 -3.397884)'), GeomFromEWKT('SRID=4674;POINT (-39.027129 -3.397982)'))) / (select extract(epoch from '2026-07-28 09:42:27'::timestamp) - extract(epoch from '2026-07-28 09:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027151 -3.397884)'), GeomFromEWKT('SRID=4674;POINT (-39.027129 -3.397982)'))) / (select extract(epoch from '2026-07-28 09:42:27'::timestamp) - extract(epoch from '2026-07-28 09:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027114 -3.398074)', '2026-07-28 09:42:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027129 -3.397982)'), GeomFromEWKT('SRID=4674;POINT (-39.027114 -3.398074)'))) / (select extract(epoch from '2026-07-28 09:42:36'::timestamp) - extract(epoch from '2026-07-28 09:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027129 -3.397982)'), GeomFromEWKT('SRID=4674;POINT (-39.027114 -3.398074)'))) / (select extract(epoch from '2026-07-28 09:42:36'::timestamp) - extract(epoch from '2026-07-28 09:42: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'), 47422, 'SRID=4674;POINT (-39.027104 -3.398154)', '2026-07-28 09:42:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027114 -3.398074)'), GeomFromEWKT('SRID=4674;POINT (-39.027104 -3.398154)'))) / (select extract(epoch from '2026-07-28 09:42:43'::timestamp) - extract(epoch from '2026-07-28 09:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027114 -3.398074)'), GeomFromEWKT('SRID=4674;POINT (-39.027104 -3.398154)'))) / (select extract(epoch from '2026-07-28 09:42:43'::timestamp) - extract(epoch from '2026-07-28 09:42: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'), 47422, 'SRID=4674;POINT (-39.027085 -3.398244)', '2026-07-28 09:42:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027104 -3.398154)'), GeomFromEWKT('SRID=4674;POINT (-39.027085 -3.398244)'))) / (select extract(epoch from '2026-07-28 09:42:51'::timestamp) - extract(epoch from '2026-07-28 09:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027104 -3.398154)'), GeomFromEWKT('SRID=4674;POINT (-39.027085 -3.398244)'))) / (select extract(epoch from '2026-07-28 09:42:51'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027059 -3.398324)', '2026-07-28 09:42:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027085 -3.398244)'), GeomFromEWKT('SRID=4674;POINT (-39.027059 -3.398324)'))) / (select extract(epoch from '2026-07-28 09:42:59'::timestamp) - extract(epoch from '2026-07-28 09:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027085 -3.398244)'), GeomFromEWKT('SRID=4674;POINT (-39.027059 -3.398324)'))) / (select extract(epoch from '2026-07-28 09:42:59'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027045 -3.398408)', '2026-07-28 09:43:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027059 -3.398324)'), GeomFromEWKT('SRID=4674;POINT (-39.027045 -3.398408)'))) / (select extract(epoch from '2026-07-28 09:43:07'::timestamp) - extract(epoch from '2026-07-28 09:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027059 -3.398324)'), GeomFromEWKT('SRID=4674;POINT (-39.027045 -3.398408)'))) / (select extract(epoch from '2026-07-28 09:43:07'::timestamp) - extract(epoch from '2026-07-28 09:42: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'), 47422, 'SRID=4674;POINT (-39.027042 -3.398428)', '2026-07-28 09:43:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027045 -3.398408)'), GeomFromEWKT('SRID=4674;POINT (-39.027042 -3.398428)'))) / (select extract(epoch from '2026-07-28 09:43:09'::timestamp) - extract(epoch from '2026-07-28 09:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027045 -3.398408)'), GeomFromEWKT('SRID=4674;POINT (-39.027042 -3.398428)'))) / (select extract(epoch from '2026-07-28 09:43:09'::timestamp) - extract(epoch from '2026-07-28 09:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02704 -3.39847)', '2026-07-28 09:43:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027042 -3.398428)'), GeomFromEWKT('SRID=4674;POINT (-39.02704 -3.39847)'))) / (select extract(epoch from '2026-07-28 09:43:13'::timestamp) - extract(epoch from '2026-07-28 09:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027042 -3.398428)'), GeomFromEWKT('SRID=4674;POINT (-39.02704 -3.39847)'))) / (select extract(epoch from '2026-07-28 09:43:13'::timestamp) - extract(epoch from '2026-07-28 09:43:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02704 -3.398558)', '2026-07-28 09:43:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02704 -3.39847)'), GeomFromEWKT('SRID=4674;POINT (-39.02704 -3.398558)'))) / (select extract(epoch from '2026-07-28 09:43:22'::timestamp) - extract(epoch from '2026-07-28 09:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02704 -3.39847)'), GeomFromEWKT('SRID=4674;POINT (-39.02704 -3.398558)'))) / (select extract(epoch from '2026-07-28 09:43:22'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027036 -3.39862)', '2026-07-28 09:43:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02704 -3.398558)'), GeomFromEWKT('SRID=4674;POINT (-39.027036 -3.39862)'))) / (select extract(epoch from '2026-07-28 09:43:28'::timestamp) - extract(epoch from '2026-07-28 09:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02704 -3.398558)'), GeomFromEWKT('SRID=4674;POINT (-39.027036 -3.39862)'))) / (select extract(epoch from '2026-07-28 09:43:28'::timestamp) - extract(epoch from '2026-07-28 09:43: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'), 47422, 'SRID=4674;POINT (-39.027026 -3.398693)', '2026-07-28 09:43:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027036 -3.39862)'), GeomFromEWKT('SRID=4674;POINT (-39.027026 -3.398693)'))) / (select extract(epoch from '2026-07-28 09:43:35'::timestamp) - extract(epoch from '2026-07-28 09:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027036 -3.39862)'), GeomFromEWKT('SRID=4674;POINT (-39.027026 -3.398693)'))) / (select extract(epoch from '2026-07-28 09:43:35'::timestamp) - extract(epoch from '2026-07-28 09:43: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'), 47422, 'SRID=4674;POINT (-39.027015 -3.398768)', '2026-07-28 09:43:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027026 -3.398693)'), GeomFromEWKT('SRID=4674;POINT (-39.027015 -3.398768)'))) / (select extract(epoch from '2026-07-28 09:43:42'::timestamp) - extract(epoch from '2026-07-28 09:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027026 -3.398693)'), GeomFromEWKT('SRID=4674;POINT (-39.027015 -3.398768)'))) / (select extract(epoch from '2026-07-28 09:43:42'::timestamp) - extract(epoch from '2026-07-28 09:43: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'), 47422, 'SRID=4674;POINT (-39.02701 -3.398813)', '2026-07-28 09:43:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027015 -3.398768)'), GeomFromEWKT('SRID=4674;POINT (-39.02701 -3.398813)'))) / (select extract(epoch from '2026-07-28 09:43:46'::timestamp) - extract(epoch from '2026-07-28 09:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027015 -3.398768)'), GeomFromEWKT('SRID=4674;POINT (-39.02701 -3.398813)'))) / (select extract(epoch from '2026-07-28 09:43:46'::timestamp) - extract(epoch from '2026-07-28 09:43:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027005 -3.398831)', '2026-07-28 09:43:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02701 -3.398813)'), GeomFromEWKT('SRID=4674;POINT (-39.027005 -3.398831)'))) / (select extract(epoch from '2026-07-28 09:43:48'::timestamp) - extract(epoch from '2026-07-28 09:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02701 -3.398813)'), GeomFromEWKT('SRID=4674;POINT (-39.027005 -3.398831)'))) / (select extract(epoch from '2026-07-28 09:43:48'::timestamp) - extract(epoch from '2026-07-28 09:43: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'), 47422, 'SRID=4674;POINT (-39.026992 -3.398932)', '2026-07-28 09:43:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027005 -3.398831)'), GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.398932)'))) / (select extract(epoch from '2026-07-28 09:43:58'::timestamp) - extract(epoch from '2026-07-28 09:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027005 -3.398831)'), GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.398932)'))) / (select extract(epoch from '2026-07-28 09:43:58'::timestamp) - extract(epoch from '2026-07-28 09:43: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'), 47422, 'SRID=4674;POINT (-39.02698 -3.398988)', '2026-07-28 09:44:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.398932)'), GeomFromEWKT('SRID=4674;POINT (-39.02698 -3.398988)'))) / (select extract(epoch from '2026-07-28 09:44:03'::timestamp) - extract(epoch from '2026-07-28 09:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.398932)'), GeomFromEWKT('SRID=4674;POINT (-39.02698 -3.398988)'))) / (select extract(epoch from '2026-07-28 09:44:03'::timestamp) - extract(epoch from '2026-07-28 09:43:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026977 -3.398999)', '2026-07-28 09:44:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02698 -3.398988)'), GeomFromEWKT('SRID=4674;POINT (-39.026977 -3.398999)'))) / (select extract(epoch from '2026-07-28 09:44:04'::timestamp) - extract(epoch from '2026-07-28 09:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02698 -3.398988)'), GeomFromEWKT('SRID=4674;POINT (-39.026977 -3.398999)'))) / (select extract(epoch from '2026-07-28 09:44:04'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.026976 -3.399034)', '2026-07-28 09:44:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026977 -3.398999)'), GeomFromEWKT('SRID=4674;POINT (-39.026976 -3.399034)'))) / (select extract(epoch from '2026-07-28 09:44:07'::timestamp) - extract(epoch from '2026-07-28 09:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026977 -3.398999)'), GeomFromEWKT('SRID=4674;POINT (-39.026976 -3.399034)'))) / (select extract(epoch from '2026-07-28 09:44:07'::timestamp) - extract(epoch from '2026-07-28 09:44: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'), 47422, 'SRID=4674;POINT (-39.026965 -3.399062)', '2026-07-28 09:44:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026976 -3.399034)'), GeomFromEWKT('SRID=4674;POINT (-39.026965 -3.399062)'))) / (select extract(epoch from '2026-07-28 09:44:10'::timestamp) - extract(epoch from '2026-07-28 09:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026976 -3.399034)'), GeomFromEWKT('SRID=4674;POINT (-39.026965 -3.399062)'))) / (select extract(epoch from '2026-07-28 09:44:10'::timestamp) - extract(epoch from '2026-07-28 09:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026964 -3.399133)', '2026-07-28 09:44:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026965 -3.399062)'), GeomFromEWKT('SRID=4674;POINT (-39.026964 -3.399133)'))) / (select extract(epoch from '2026-07-28 09:44:16'::timestamp) - extract(epoch from '2026-07-28 09:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026965 -3.399062)'), GeomFromEWKT('SRID=4674;POINT (-39.026964 -3.399133)'))) / (select extract(epoch from '2026-07-28 09:44:16'::timestamp) - extract(epoch from '2026-07-28 09:44:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026952 -3.399197)', '2026-07-28 09:44:22', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026964 -3.399133)'), GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.399197)'))) / (select extract(epoch from '2026-07-28 09:44:22'::timestamp) - extract(epoch from '2026-07-28 09:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026964 -3.399133)'), GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.399197)'))) / (select extract(epoch from '2026-07-28 09:44:22'::timestamp) - extract(epoch from '2026-07-28 09:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026952 -3.399208)', '2026-07-28 09:44:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.399197)'), GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.399208)'))) / (select extract(epoch from '2026-07-28 09:44:23'::timestamp) - extract(epoch from '2026-07-28 09:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.399197)'), GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.399208)'))) / (select extract(epoch from '2026-07-28 09:44:23'::timestamp) - extract(epoch from '2026-07-28 09:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026949 -3.399282)', '2026-07-28 09:44:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.399208)'), GeomFromEWKT('SRID=4674;POINT (-39.026949 -3.399282)'))) / (select extract(epoch from '2026-07-28 09:44:30'::timestamp) - extract(epoch from '2026-07-28 09:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.399208)'), GeomFromEWKT('SRID=4674;POINT (-39.026949 -3.399282)'))) / (select extract(epoch from '2026-07-28 09:44:30'::timestamp) - extract(epoch from '2026-07-28 09:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026946 -3.39931)', '2026-07-28 09:44:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026949 -3.399282)'), GeomFromEWKT('SRID=4674;POINT (-39.026946 -3.39931)'))) / (select extract(epoch from '2026-07-28 09:44:33'::timestamp) - extract(epoch from '2026-07-28 09:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026949 -3.399282)'), GeomFromEWKT('SRID=4674;POINT (-39.026946 -3.39931)'))) / (select extract(epoch from '2026-07-28 09:44:33'::timestamp) - extract(epoch from '2026-07-28 09:44: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'), 47422, 'SRID=4674;POINT (-39.026946 -3.399362)', '2026-07-28 09:44:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026946 -3.39931)'), GeomFromEWKT('SRID=4674;POINT (-39.026946 -3.399362)'))) / (select extract(epoch from '2026-07-28 09:44:38'::timestamp) - extract(epoch from '2026-07-28 09:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026946 -3.39931)'), GeomFromEWKT('SRID=4674;POINT (-39.026946 -3.399362)'))) / (select extract(epoch from '2026-07-28 09:44:38'::timestamp) - extract(epoch from '2026-07-28 09:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02694 -3.399449)', '2026-07-28 09:44:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026946 -3.399362)'), GeomFromEWKT('SRID=4674;POINT (-39.02694 -3.399449)'))) / (select extract(epoch from '2026-07-28 09:44:47'::timestamp) - extract(epoch from '2026-07-28 09:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026946 -3.399362)'), GeomFromEWKT('SRID=4674;POINT (-39.02694 -3.399449)'))) / (select extract(epoch from '2026-07-28 09:44:47'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.026925 -3.399558)', '2026-07-28 09:44:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02694 -3.399449)'), GeomFromEWKT('SRID=4674;POINT (-39.026925 -3.399558)'))) / (select extract(epoch from '2026-07-28 09:44:57'::timestamp) - extract(epoch from '2026-07-28 09:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02694 -3.399449)'), GeomFromEWKT('SRID=4674;POINT (-39.026925 -3.399558)'))) / (select extract(epoch from '2026-07-28 09:44:57'::timestamp) - extract(epoch from '2026-07-28 09:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026927 -3.399637)', '2026-07-28 09:45:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026925 -3.399558)'), GeomFromEWKT('SRID=4674;POINT (-39.026927 -3.399637)'))) / (select extract(epoch from '2026-07-28 09:45:05'::timestamp) - extract(epoch from '2026-07-28 09:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026925 -3.399558)'), GeomFromEWKT('SRID=4674;POINT (-39.026927 -3.399637)'))) / (select extract(epoch from '2026-07-28 09:45:05'::timestamp) - extract(epoch from '2026-07-28 09:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026916 -3.399698)', '2026-07-28 09:45:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026927 -3.399637)'), GeomFromEWKT('SRID=4674;POINT (-39.026916 -3.399698)'))) / (select extract(epoch from '2026-07-28 09:45:12'::timestamp) - extract(epoch from '2026-07-28 09:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026927 -3.399637)'), GeomFromEWKT('SRID=4674;POINT (-39.026916 -3.399698)'))) / (select extract(epoch from '2026-07-28 09:45:12'::timestamp) - extract(epoch from '2026-07-28 09:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02691 -3.399767)', '2026-07-28 09:45:19', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026916 -3.399698)'), GeomFromEWKT('SRID=4674;POINT (-39.02691 -3.399767)'))) / (select extract(epoch from '2026-07-28 09:45:19'::timestamp) - extract(epoch from '2026-07-28 09:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026916 -3.399698)'), GeomFromEWKT('SRID=4674;POINT (-39.02691 -3.399767)'))) / (select extract(epoch from '2026-07-28 09:45:19'::timestamp) - extract(epoch from '2026-07-28 09:45: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'), 47422, 'SRID=4674;POINT (-39.026907 -3.399789)', '2026-07-28 09:45:21', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02691 -3.399767)'), GeomFromEWKT('SRID=4674;POINT (-39.026907 -3.399789)'))) / (select extract(epoch from '2026-07-28 09:45:21'::timestamp) - extract(epoch from '2026-07-28 09:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02691 -3.399767)'), GeomFromEWKT('SRID=4674;POINT (-39.026907 -3.399789)'))) / (select extract(epoch from '2026-07-28 09:45:21'::timestamp) - extract(epoch from '2026-07-28 09:45:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026893 -3.399839)', '2026-07-28 09:45:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026907 -3.399789)'), GeomFromEWKT('SRID=4674;POINT (-39.026893 -3.399839)'))) / (select extract(epoch from '2026-07-28 09:45:26'::timestamp) - extract(epoch from '2026-07-28 09:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026907 -3.399789)'), GeomFromEWKT('SRID=4674;POINT (-39.026893 -3.399839)'))) / (select extract(epoch from '2026-07-28 09:45:26'::timestamp) - extract(epoch from '2026-07-28 09:45: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'), 47422, 'SRID=4674;POINT (-39.026883 -3.399911)', '2026-07-28 09:45:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026893 -3.399839)'), GeomFromEWKT('SRID=4674;POINT (-39.026883 -3.399911)'))) / (select extract(epoch from '2026-07-28 09:45:33'::timestamp) - extract(epoch from '2026-07-28 09:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026893 -3.399839)'), GeomFromEWKT('SRID=4674;POINT (-39.026883 -3.399911)'))) / (select extract(epoch from '2026-07-28 09:45:33'::timestamp) - extract(epoch from '2026-07-28 09:45: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'), 47422, 'SRID=4674;POINT (-39.026869 -3.399996)', '2026-07-28 09:45:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026883 -3.399911)'), GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.399996)'))) / (select extract(epoch from '2026-07-28 09:45:42'::timestamp) - extract(epoch from '2026-07-28 09:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026883 -3.399911)'), GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.399996)'))) / (select extract(epoch from '2026-07-28 09:45:42'::timestamp) - extract(epoch from '2026-07-28 09:45: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'), 47422, 'SRID=4674;POINT (-39.026851 -3.400085)', '2026-07-28 09:45:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.399996)'), GeomFromEWKT('SRID=4674;POINT (-39.026851 -3.400085)'))) / (select extract(epoch from '2026-07-28 09:45:51'::timestamp) - extract(epoch from '2026-07-28 09:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.399996)'), GeomFromEWKT('SRID=4674;POINT (-39.026851 -3.400085)'))) / (select extract(epoch from '2026-07-28 09:45:51'::timestamp) - extract(epoch from '2026-07-28 09:45:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026834 -3.400152)', '2026-07-28 09:45:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026851 -3.400085)'), GeomFromEWKT('SRID=4674;POINT (-39.026834 -3.400152)'))) / (select extract(epoch from '2026-07-28 09:45:58'::timestamp) - extract(epoch from '2026-07-28 09:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026851 -3.400085)'), GeomFromEWKT('SRID=4674;POINT (-39.026834 -3.400152)'))) / (select extract(epoch from '2026-07-28 09:45:58'::timestamp) - extract(epoch from '2026-07-28 09:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026816 -3.400234)', '2026-07-28 09:46:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026834 -3.400152)'), GeomFromEWKT('SRID=4674;POINT (-39.026816 -3.400234)'))) / (select extract(epoch from '2026-07-28 09:46:06'::timestamp) - extract(epoch from '2026-07-28 09:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026834 -3.400152)'), GeomFromEWKT('SRID=4674;POINT (-39.026816 -3.400234)'))) / (select extract(epoch from '2026-07-28 09:46:06'::timestamp) - extract(epoch from '2026-07-28 09:45: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'), 47422, 'SRID=4674;POINT (-39.026784 -3.400328)', '2026-07-28 09:46:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026816 -3.400234)'), GeomFromEWKT('SRID=4674;POINT (-39.026784 -3.400328)'))) / (select extract(epoch from '2026-07-28 09:46:15'::timestamp) - extract(epoch from '2026-07-28 09:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026816 -3.400234)'), GeomFromEWKT('SRID=4674;POINT (-39.026784 -3.400328)'))) / (select extract(epoch from '2026-07-28 09:46:15'::timestamp) - extract(epoch from '2026-07-28 09:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026759 -3.400412)', '2026-07-28 09:46:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026784 -3.400328)'), GeomFromEWKT('SRID=4674;POINT (-39.026759 -3.400412)'))) / (select extract(epoch from '2026-07-28 09:46:23'::timestamp) - extract(epoch from '2026-07-28 09:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026784 -3.400328)'), GeomFromEWKT('SRID=4674;POINT (-39.026759 -3.400412)'))) / (select extract(epoch from '2026-07-28 09:46:23'::timestamp) - extract(epoch from '2026-07-28 09:46: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'), 47422, 'SRID=4674;POINT (-39.026738 -3.400499)', '2026-07-28 09:46:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026759 -3.400412)'), GeomFromEWKT('SRID=4674;POINT (-39.026738 -3.400499)'))) / (select extract(epoch from '2026-07-28 09:46:31'::timestamp) - extract(epoch from '2026-07-28 09:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026759 -3.400412)'), GeomFromEWKT('SRID=4674;POINT (-39.026738 -3.400499)'))) / (select extract(epoch from '2026-07-28 09:46:31'::timestamp) - extract(epoch from '2026-07-28 09:46: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'), 47422, 'SRID=4674;POINT (-39.026725 -3.400549)', '2026-07-28 09:46:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026738 -3.400499)'), GeomFromEWKT('SRID=4674;POINT (-39.026725 -3.400549)'))) / (select extract(epoch from '2026-07-28 09:46:36'::timestamp) - extract(epoch from '2026-07-28 09:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026738 -3.400499)'), GeomFromEWKT('SRID=4674;POINT (-39.026725 -3.400549)'))) / (select extract(epoch from '2026-07-28 09:46:36'::timestamp) - extract(epoch from '2026-07-28 09:46: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'), 47422, 'SRID=4674;POINT (-39.026723 -3.40057)', '2026-07-28 09:46:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026725 -3.400549)'), GeomFromEWKT('SRID=4674;POINT (-39.026723 -3.40057)'))) / (select extract(epoch from '2026-07-28 09:46:38'::timestamp) - extract(epoch from '2026-07-28 09:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026725 -3.400549)'), GeomFromEWKT('SRID=4674;POINT (-39.026723 -3.40057)'))) / (select extract(epoch from '2026-07-28 09:46:38'::timestamp) - extract(epoch from '2026-07-28 09:46:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02672 -3.400636)', '2026-07-28 09:46:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026723 -3.40057)'), GeomFromEWKT('SRID=4674;POINT (-39.02672 -3.400636)'))) / (select extract(epoch from '2026-07-28 09:46:45'::timestamp) - extract(epoch from '2026-07-28 09:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026723 -3.40057)'), GeomFromEWKT('SRID=4674;POINT (-39.02672 -3.400636)'))) / (select extract(epoch from '2026-07-28 09:46:45'::timestamp) - extract(epoch from '2026-07-28 09:46: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'), 47422, 'SRID=4674;POINT (-39.026717 -3.400712)', '2026-07-28 09:46:53', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02672 -3.400636)'), GeomFromEWKT('SRID=4674;POINT (-39.026717 -3.400712)'))) / (select extract(epoch from '2026-07-28 09:46:53'::timestamp) - extract(epoch from '2026-07-28 09:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02672 -3.400636)'), GeomFromEWKT('SRID=4674;POINT (-39.026717 -3.400712)'))) / (select extract(epoch from '2026-07-28 09:46:53'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.026715 -3.400812)', '2026-07-28 09:47:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026717 -3.400712)'), GeomFromEWKT('SRID=4674;POINT (-39.026715 -3.400812)'))) / (select extract(epoch from '2026-07-28 09:47:04'::timestamp) - extract(epoch from '2026-07-28 09:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026717 -3.400712)'), GeomFromEWKT('SRID=4674;POINT (-39.026715 -3.400812)'))) / (select extract(epoch from '2026-07-28 09:47:04'::timestamp) - extract(epoch from '2026-07-28 09:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026721 -3.400892)', '2026-07-28 09:47:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026715 -3.400812)'), GeomFromEWKT('SRID=4674;POINT (-39.026721 -3.400892)'))) / (select extract(epoch from '2026-07-28 09:47:12'::timestamp) - extract(epoch from '2026-07-28 09:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026715 -3.400812)'), GeomFromEWKT('SRID=4674;POINT (-39.026721 -3.400892)'))) / (select extract(epoch from '2026-07-28 09:47:12'::timestamp) - extract(epoch from '2026-07-28 09:47: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'), 47422, 'SRID=4674;POINT (-39.026727 -3.401)', '2026-07-28 09:47:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026721 -3.400892)'), GeomFromEWKT('SRID=4674;POINT (-39.026727 -3.401)'))) / (select extract(epoch from '2026-07-28 09:47:22'::timestamp) - extract(epoch from '2026-07-28 09:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026721 -3.400892)'), GeomFromEWKT('SRID=4674;POINT (-39.026727 -3.401)'))) / (select extract(epoch from '2026-07-28 09:47:22'::timestamp) - extract(epoch from '2026-07-28 09:47:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026735 -3.401074)', '2026-07-28 09:47:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026727 -3.401)'), GeomFromEWKT('SRID=4674;POINT (-39.026735 -3.401074)'))) / (select extract(epoch from '2026-07-28 09:47:30'::timestamp) - extract(epoch from '2026-07-28 09:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026727 -3.401)'), GeomFromEWKT('SRID=4674;POINT (-39.026735 -3.401074)'))) / (select extract(epoch from '2026-07-28 09:47:30'::timestamp) - extract(epoch from '2026-07-28 09:47: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'), 47422, 'SRID=4674;POINT (-39.026728 -3.401164)', '2026-07-28 09:47:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026735 -3.401074)'), GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.401164)'))) / (select extract(epoch from '2026-07-28 09:47:39'::timestamp) - extract(epoch from '2026-07-28 09:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026735 -3.401074)'), GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.401164)'))) / (select extract(epoch from '2026-07-28 09:47:39'::timestamp) - extract(epoch from '2026-07-28 09:47:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02671 -3.40125)', '2026-07-28 09:47:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.401164)'), GeomFromEWKT('SRID=4674;POINT (-39.02671 -3.40125)'))) / (select extract(epoch from '2026-07-28 09:47:48'::timestamp) - extract(epoch from '2026-07-28 09:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.401164)'), GeomFromEWKT('SRID=4674;POINT (-39.02671 -3.40125)'))) / (select extract(epoch from '2026-07-28 09:47:48'::timestamp) - extract(epoch from '2026-07-28 09:47:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.025372 -3.402462)', '2026-07-28 14:22:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02671 -3.40125)'), GeomFromEWKT('SRID=4674;POINT (-39.025372 -3.402462)'))) / (select extract(epoch from '2026-07-28 14:22:54'::timestamp) - extract(epoch from '2026-07-28 09:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02671 -3.40125)'), GeomFromEWKT('SRID=4674;POINT (-39.025372 -3.402462)'))) / (select extract(epoch from '2026-07-28 14:22:54'::timestamp) - extract(epoch from '2026-07-28 09:47: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'), 47422, 'SRID=4674;POINT (-39.025244 -3.402417)', '2026-07-28 14:23:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025372 -3.402462)'), GeomFromEWKT('SRID=4674;POINT (-39.025244 -3.402417)'))) / (select extract(epoch from '2026-07-28 14:23:05'::timestamp) - extract(epoch from '2026-07-28 14:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025372 -3.402462)'), GeomFromEWKT('SRID=4674;POINT (-39.025244 -3.402417)'))) / (select extract(epoch from '2026-07-28 14:23:05'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.025177 -3.402391)', '2026-07-28 14:23:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025244 -3.402417)'), GeomFromEWKT('SRID=4674;POINT (-39.025177 -3.402391)'))) / (select extract(epoch from '2026-07-28 14:23:12'::timestamp) - extract(epoch from '2026-07-28 14:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025244 -3.402417)'), GeomFromEWKT('SRID=4674;POINT (-39.025177 -3.402391)'))) / (select extract(epoch from '2026-07-28 14:23:12'::timestamp) - extract(epoch from '2026-07-28 14:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.0251 -3.402358)', '2026-07-28 14:23:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025177 -3.402391)'), GeomFromEWKT('SRID=4674;POINT (-39.0251 -3.402358)'))) / (select extract(epoch from '2026-07-28 14:23:21'::timestamp) - extract(epoch from '2026-07-28 14:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025177 -3.402391)'), GeomFromEWKT('SRID=4674;POINT (-39.0251 -3.402358)'))) / (select extract(epoch from '2026-07-28 14:23:21'::timestamp) - extract(epoch from '2026-07-28 14:23: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'), 47422, 'SRID=4674;POINT (-39.025018 -3.402329)', '2026-07-28 14:23:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0251 -3.402358)'), GeomFromEWKT('SRID=4674;POINT (-39.025018 -3.402329)'))) / (select extract(epoch from '2026-07-28 14:23:29'::timestamp) - extract(epoch from '2026-07-28 14:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0251 -3.402358)'), GeomFromEWKT('SRID=4674;POINT (-39.025018 -3.402329)'))) / (select extract(epoch from '2026-07-28 14:23:29'::timestamp) - extract(epoch from '2026-07-28 14:23: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'), 47422, 'SRID=4674;POINT (-39.024922 -3.402301)', '2026-07-28 14:23:38', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025018 -3.402329)'), GeomFromEWKT('SRID=4674;POINT (-39.024922 -3.402301)'))) / (select extract(epoch from '2026-07-28 14:23:38'::timestamp) - extract(epoch from '2026-07-28 14:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025018 -3.402329)'), GeomFromEWKT('SRID=4674;POINT (-39.024922 -3.402301)'))) / (select extract(epoch from '2026-07-28 14:23:38'::timestamp) - extract(epoch from '2026-07-28 14:23: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'), 47422, 'SRID=4674;POINT (-39.024833 -3.402281)', '2026-07-28 14:23:47', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024922 -3.402301)'), GeomFromEWKT('SRID=4674;POINT (-39.024833 -3.402281)'))) / (select extract(epoch from '2026-07-28 14:23:47'::timestamp) - extract(epoch from '2026-07-28 14:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024922 -3.402301)'), GeomFromEWKT('SRID=4674;POINT (-39.024833 -3.402281)'))) / (select extract(epoch from '2026-07-28 14:23:47'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.024758 -3.402252)', '2026-07-28 14:23:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024833 -3.402281)'), GeomFromEWKT('SRID=4674;POINT (-39.024758 -3.402252)'))) / (select extract(epoch from '2026-07-28 14:23:54'::timestamp) - extract(epoch from '2026-07-28 14:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024833 -3.402281)'), GeomFromEWKT('SRID=4674;POINT (-39.024758 -3.402252)'))) / (select extract(epoch from '2026-07-28 14:23:54'::timestamp) - extract(epoch from '2026-07-28 14:23: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'), 47422, 'SRID=4674;POINT (-39.024645 -3.402204)', '2026-07-28 14:24:04', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024758 -3.402252)'), GeomFromEWKT('SRID=4674;POINT (-39.024645 -3.402204)'))) / (select extract(epoch from '2026-07-28 14:24:04'::timestamp) - extract(epoch from '2026-07-28 14:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024758 -3.402252)'), GeomFromEWKT('SRID=4674;POINT (-39.024645 -3.402204)'))) / (select extract(epoch from '2026-07-28 14:24:04'::timestamp) - extract(epoch from '2026-07-28 14:23: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'), 47422, 'SRID=4674;POINT (-39.024574 -3.402173)', '2026-07-28 14:24:12', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024645 -3.402204)'), GeomFromEWKT('SRID=4674;POINT (-39.024574 -3.402173)'))) / (select extract(epoch from '2026-07-28 14:24:12'::timestamp) - extract(epoch from '2026-07-28 14:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024645 -3.402204)'), GeomFromEWKT('SRID=4674;POINT (-39.024574 -3.402173)'))) / (select extract(epoch from '2026-07-28 14:24:12'::timestamp) - extract(epoch from '2026-07-28 14:24: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'), 47422, 'SRID=4674;POINT (-39.024498 -3.402136)', '2026-07-28 14:24:21', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024574 -3.402173)'), GeomFromEWKT('SRID=4674;POINT (-39.024498 -3.402136)'))) / (select extract(epoch from '2026-07-28 14:24:21'::timestamp) - extract(epoch from '2026-07-28 14:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024574 -3.402173)'), GeomFromEWKT('SRID=4674;POINT (-39.024498 -3.402136)'))) / (select extract(epoch from '2026-07-28 14:24:21'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.024433 -3.402106)', '2026-07-28 14:24:29', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024498 -3.402136)'), GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.402106)'))) / (select extract(epoch from '2026-07-28 14:24:29'::timestamp) - extract(epoch from '2026-07-28 14:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024498 -3.402136)'), GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.402106)'))) / (select extract(epoch from '2026-07-28 14:24:29'::timestamp) - extract(epoch from '2026-07-28 14:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024373 -3.402082)', '2026-07-28 14:24:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.402106)'), GeomFromEWKT('SRID=4674;POINT (-39.024373 -3.402082)'))) / (select extract(epoch from '2026-07-28 14:24:37'::timestamp) - extract(epoch from '2026-07-28 14:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.402106)'), GeomFromEWKT('SRID=4674;POINT (-39.024373 -3.402082)'))) / (select extract(epoch from '2026-07-28 14:24:37'::timestamp) - extract(epoch from '2026-07-28 14:24: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'), 47422, 'SRID=4674;POINT (-39.024279 -3.402061)', '2026-07-28 14:24:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024373 -3.402082)'), GeomFromEWKT('SRID=4674;POINT (-39.024279 -3.402061)'))) / (select extract(epoch from '2026-07-28 14:24:46'::timestamp) - extract(epoch from '2026-07-28 14:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024373 -3.402082)'), GeomFromEWKT('SRID=4674;POINT (-39.024279 -3.402061)'))) / (select extract(epoch from '2026-07-28 14:24:46'::timestamp) - extract(epoch from '2026-07-28 14:24: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'), 47422, 'SRID=4674;POINT (-39.024197 -3.402031)', '2026-07-28 14:24:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024279 -3.402061)'), GeomFromEWKT('SRID=4674;POINT (-39.024197 -3.402031)'))) / (select extract(epoch from '2026-07-28 14:24:54'::timestamp) - extract(epoch from '2026-07-28 14:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024279 -3.402061)'), GeomFromEWKT('SRID=4674;POINT (-39.024197 -3.402031)'))) / (select extract(epoch from '2026-07-28 14:24:54'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.024099 -3.401992)', '2026-07-28 14:25:03', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024197 -3.402031)'), GeomFromEWKT('SRID=4674;POINT (-39.024099 -3.401992)'))) / (select extract(epoch from '2026-07-28 14:25:03'::timestamp) - extract(epoch from '2026-07-28 14:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024197 -3.402031)'), GeomFromEWKT('SRID=4674;POINT (-39.024099 -3.401992)'))) / (select extract(epoch from '2026-07-28 14:25:03'::timestamp) - extract(epoch from '2026-07-28 14:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024032 -3.401976)', '2026-07-28 14:25:10', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024099 -3.401992)'), GeomFromEWKT('SRID=4674;POINT (-39.024032 -3.401976)'))) / (select extract(epoch from '2026-07-28 14:25:10'::timestamp) - extract(epoch from '2026-07-28 14:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024099 -3.401992)'), GeomFromEWKT('SRID=4674;POINT (-39.024032 -3.401976)'))) / (select extract(epoch from '2026-07-28 14:25:10'::timestamp) - extract(epoch from '2026-07-28 14:25: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'), 47422, 'SRID=4674;POINT (-39.024018 -3.401977)', '2026-07-28 14:25:12', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024032 -3.401976)'), GeomFromEWKT('SRID=4674;POINT (-39.024018 -3.401977)'))) / (select extract(epoch from '2026-07-28 14:25:12'::timestamp) - extract(epoch from '2026-07-28 14:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024032 -3.401976)'), GeomFromEWKT('SRID=4674;POINT (-39.024018 -3.401977)'))) / (select extract(epoch from '2026-07-28 14:25:12'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.023978 -3.401974)', '2026-07-28 14:25:16', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024018 -3.401977)'), GeomFromEWKT('SRID=4674;POINT (-39.023978 -3.401974)'))) / (select extract(epoch from '2026-07-28 14:25:16'::timestamp) - extract(epoch from '2026-07-28 14:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024018 -3.401977)'), GeomFromEWKT('SRID=4674;POINT (-39.023978 -3.401974)'))) / (select extract(epoch from '2026-07-28 14:25:16'::timestamp) - extract(epoch from '2026-07-28 14:25: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'), 47422, 'SRID=4674;POINT (-39.023909 -3.401955)', '2026-07-28 14:25:23', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023978 -3.401974)'), GeomFromEWKT('SRID=4674;POINT (-39.023909 -3.401955)'))) / (select extract(epoch from '2026-07-28 14:25:23'::timestamp) - extract(epoch from '2026-07-28 14:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023978 -3.401974)'), GeomFromEWKT('SRID=4674;POINT (-39.023909 -3.401955)'))) / (select extract(epoch from '2026-07-28 14:25:23'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.023833 -3.401935)', '2026-07-28 14:25:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023909 -3.401955)'), GeomFromEWKT('SRID=4674;POINT (-39.023833 -3.401935)'))) / (select extract(epoch from '2026-07-28 14:25:30'::timestamp) - extract(epoch from '2026-07-28 14:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023909 -3.401955)'), GeomFromEWKT('SRID=4674;POINT (-39.023833 -3.401935)'))) / (select extract(epoch from '2026-07-28 14:25:30'::timestamp) - extract(epoch from '2026-07-28 14:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.023774 -3.40191)', '2026-07-28 14:25:37', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023833 -3.401935)'), GeomFromEWKT('SRID=4674;POINT (-39.023774 -3.40191)'))) / (select extract(epoch from '2026-07-28 14:25:37'::timestamp) - extract(epoch from '2026-07-28 14:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023833 -3.401935)'), GeomFromEWKT('SRID=4674;POINT (-39.023774 -3.40191)'))) / (select extract(epoch from '2026-07-28 14:25:37'::timestamp) - extract(epoch from '2026-07-28 14:25: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'), 47422, 'SRID=4674;POINT (-39.023698 -3.401878)', '2026-07-28 14:25:45', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023774 -3.40191)'), GeomFromEWKT('SRID=4674;POINT (-39.023698 -3.401878)'))) / (select extract(epoch from '2026-07-28 14:25:45'::timestamp) - extract(epoch from '2026-07-28 14:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023774 -3.40191)'), GeomFromEWKT('SRID=4674;POINT (-39.023698 -3.401878)'))) / (select extract(epoch from '2026-07-28 14:25:45'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.023617 -3.401832)', '2026-07-28 14:25:53', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023698 -3.401878)'), GeomFromEWKT('SRID=4674;POINT (-39.023617 -3.401832)'))) / (select extract(epoch from '2026-07-28 14:25:53'::timestamp) - extract(epoch from '2026-07-28 14:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023698 -3.401878)'), GeomFromEWKT('SRID=4674;POINT (-39.023617 -3.401832)'))) / (select extract(epoch from '2026-07-28 14:25:53'::timestamp) - extract(epoch from '2026-07-28 14:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.023557 -3.401774)', '2026-07-28 14:26:01', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023617 -3.401832)'), GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.401774)'))) / (select extract(epoch from '2026-07-28 14:26:01'::timestamp) - extract(epoch from '2026-07-28 14:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023617 -3.401832)'), GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.401774)'))) / (select extract(epoch from '2026-07-28 14:26:01'::timestamp) - extract(epoch from '2026-07-28 14:25: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'), 47422, 'SRID=4674;POINT (-39.023499 -3.401715)', '2026-07-28 14:26:09', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.401774)'), GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.401715)'))) / (select extract(epoch from '2026-07-28 14:26:09'::timestamp) - extract(epoch from '2026-07-28 14:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.401774)'), GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.401715)'))) / (select extract(epoch from '2026-07-28 14:26:09'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.023445 -3.40167)', '2026-07-28 14:26:17', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.401715)'), GeomFromEWKT('SRID=4674;POINT (-39.023445 -3.40167)'))) / (select extract(epoch from '2026-07-28 14:26:17'::timestamp) - extract(epoch from '2026-07-28 14:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.401715)'), GeomFromEWKT('SRID=4674;POINT (-39.023445 -3.40167)'))) / (select extract(epoch from '2026-07-28 14:26:17'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.023375 -3.401629)', '2026-07-28 14:26:26', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023445 -3.40167)'), GeomFromEWKT('SRID=4674;POINT (-39.023375 -3.401629)'))) / (select extract(epoch from '2026-07-28 14:26:26'::timestamp) - extract(epoch from '2026-07-28 14:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023445 -3.40167)'), GeomFromEWKT('SRID=4674;POINT (-39.023375 -3.401629)'))) / (select extract(epoch from '2026-07-28 14:26:26'::timestamp) - extract(epoch from '2026-07-28 14:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.023297 -3.401586)', '2026-07-28 14:26:34', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023375 -3.401629)'), GeomFromEWKT('SRID=4674;POINT (-39.023297 -3.401586)'))) / (select extract(epoch from '2026-07-28 14:26:34'::timestamp) - extract(epoch from '2026-07-28 14:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023375 -3.401629)'), GeomFromEWKT('SRID=4674;POINT (-39.023297 -3.401586)'))) / (select extract(epoch from '2026-07-28 14:26:34'::timestamp) - extract(epoch from '2026-07-28 14:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02323 -3.401546)', '2026-07-28 14:26:42', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023297 -3.401586)'), GeomFromEWKT('SRID=4674;POINT (-39.02323 -3.401546)'))) / (select extract(epoch from '2026-07-28 14:26:42'::timestamp) - extract(epoch from '2026-07-28 14:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023297 -3.401586)'), GeomFromEWKT('SRID=4674;POINT (-39.02323 -3.401546)'))) / (select extract(epoch from '2026-07-28 14:26:42'::timestamp) - extract(epoch from '2026-07-28 14:26: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'), 47422, 'SRID=4674;POINT (-39.023146 -3.401497)', '2026-07-28 14:26:51', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02323 -3.401546)'), GeomFromEWKT('SRID=4674;POINT (-39.023146 -3.401497)'))) / (select extract(epoch from '2026-07-28 14:26:51'::timestamp) - extract(epoch from '2026-07-28 14:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02323 -3.401546)'), GeomFromEWKT('SRID=4674;POINT (-39.023146 -3.401497)'))) / (select extract(epoch from '2026-07-28 14:26:51'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.02307 -3.401467)', '2026-07-28 14:26:58', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023146 -3.401497)'), GeomFromEWKT('SRID=4674;POINT (-39.02307 -3.401467)'))) / (select extract(epoch from '2026-07-28 14:26:58'::timestamp) - extract(epoch from '2026-07-28 14:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023146 -3.401497)'), GeomFromEWKT('SRID=4674;POINT (-39.02307 -3.401467)'))) / (select extract(epoch from '2026-07-28 14:26:58'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.02298 -3.401424)', '2026-07-28 14:27:07', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02307 -3.401467)'), GeomFromEWKT('SRID=4674;POINT (-39.02298 -3.401424)'))) / (select extract(epoch from '2026-07-28 14:27:07'::timestamp) - extract(epoch from '2026-07-28 14:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02307 -3.401467)'), GeomFromEWKT('SRID=4674;POINT (-39.02298 -3.401424)'))) / (select extract(epoch from '2026-07-28 14:27:07'::timestamp) - extract(epoch from '2026-07-28 14:26: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'), 47422, 'SRID=4674;POINT (-39.022906 -3.40138)', '2026-07-28 14:27:15', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02298 -3.401424)'), GeomFromEWKT('SRID=4674;POINT (-39.022906 -3.40138)'))) / (select extract(epoch from '2026-07-28 14:27:15'::timestamp) - extract(epoch from '2026-07-28 14:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02298 -3.401424)'), GeomFromEWKT('SRID=4674;POINT (-39.022906 -3.40138)'))) / (select extract(epoch from '2026-07-28 14:27:15'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.022831 -3.401331)', '2026-07-28 14:27:24', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022906 -3.40138)'), GeomFromEWKT('SRID=4674;POINT (-39.022831 -3.401331)'))) / (select extract(epoch from '2026-07-28 14:27:24'::timestamp) - extract(epoch from '2026-07-28 14:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022906 -3.40138)'), GeomFromEWKT('SRID=4674;POINT (-39.022831 -3.401331)'))) / (select extract(epoch from '2026-07-28 14:27:24'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.022767 -3.401294)', '2026-07-28 14:27:31', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022831 -3.401331)'), GeomFromEWKT('SRID=4674;POINT (-39.022767 -3.401294)'))) / (select extract(epoch from '2026-07-28 14:27:31'::timestamp) - extract(epoch from '2026-07-28 14:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022831 -3.401331)'), GeomFromEWKT('SRID=4674;POINT (-39.022767 -3.401294)'))) / (select extract(epoch from '2026-07-28 14:27:31'::timestamp) - extract(epoch from '2026-07-28 14:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022696 -3.401255)', '2026-07-28 14:27:38', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022767 -3.401294)'), GeomFromEWKT('SRID=4674;POINT (-39.022696 -3.401255)'))) / (select extract(epoch from '2026-07-28 14:27:38'::timestamp) - extract(epoch from '2026-07-28 14:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022767 -3.401294)'), GeomFromEWKT('SRID=4674;POINT (-39.022696 -3.401255)'))) / (select extract(epoch from '2026-07-28 14:27:38'::timestamp) - extract(epoch from '2026-07-28 14:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022632 -3.401223)', '2026-07-28 14:27:45', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022696 -3.401255)'), GeomFromEWKT('SRID=4674;POINT (-39.022632 -3.401223)'))) / (select extract(epoch from '2026-07-28 14:27:45'::timestamp) - extract(epoch from '2026-07-28 14:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022696 -3.401255)'), GeomFromEWKT('SRID=4674;POINT (-39.022632 -3.401223)'))) / (select extract(epoch from '2026-07-28 14:27:45'::timestamp) - extract(epoch from '2026-07-28 14:27: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'), 47422, 'SRID=4674;POINT (-39.022566 -3.401185)', '2026-07-28 14:27:52', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022632 -3.401223)'), GeomFromEWKT('SRID=4674;POINT (-39.022566 -3.401185)'))) / (select extract(epoch from '2026-07-28 14:27:52'::timestamp) - extract(epoch from '2026-07-28 14:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022632 -3.401223)'), GeomFromEWKT('SRID=4674;POINT (-39.022566 -3.401185)'))) / (select extract(epoch from '2026-07-28 14:27:52'::timestamp) - extract(epoch from '2026-07-28 14:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022499 -3.401127)', '2026-07-28 14:28:00', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022566 -3.401185)'), GeomFromEWKT('SRID=4674;POINT (-39.022499 -3.401127)'))) / (select extract(epoch from '2026-07-28 14:28:00'::timestamp) - extract(epoch from '2026-07-28 14:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022566 -3.401185)'), GeomFromEWKT('SRID=4674;POINT (-39.022499 -3.401127)'))) / (select extract(epoch from '2026-07-28 14:28:00'::timestamp) - extract(epoch from '2026-07-28 14:27: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'), 47422, 'SRID=4674;POINT (-39.022438 -3.401067)', '2026-07-28 14:28:08', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022499 -3.401127)'), GeomFromEWKT('SRID=4674;POINT (-39.022438 -3.401067)'))) / (select extract(epoch from '2026-07-28 14:28:08'::timestamp) - extract(epoch from '2026-07-28 14:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022499 -3.401127)'), GeomFromEWKT('SRID=4674;POINT (-39.022438 -3.401067)'))) / (select extract(epoch from '2026-07-28 14:28:08'::timestamp) - extract(epoch from '2026-07-28 14:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022367 -3.401011)', '2026-07-28 14:28:16', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022438 -3.401067)'), GeomFromEWKT('SRID=4674;POINT (-39.022367 -3.401011)'))) / (select extract(epoch from '2026-07-28 14:28:16'::timestamp) - extract(epoch from '2026-07-28 14:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022438 -3.401067)'), GeomFromEWKT('SRID=4674;POINT (-39.022367 -3.401011)'))) / (select extract(epoch from '2026-07-28 14:28:16'::timestamp) - extract(epoch from '2026-07-28 14:28: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'), 47422, 'SRID=4674;POINT (-39.022308 -3.400977)', '2026-07-28 14:28:22', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022367 -3.401011)'), GeomFromEWKT('SRID=4674;POINT (-39.022308 -3.400977)'))) / (select extract(epoch from '2026-07-28 14:28:22'::timestamp) - extract(epoch from '2026-07-28 14:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022367 -3.401011)'), GeomFromEWKT('SRID=4674;POINT (-39.022308 -3.400977)'))) / (select extract(epoch from '2026-07-28 14:28:22'::timestamp) - extract(epoch from '2026-07-28 14:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02223 -3.400938)', '2026-07-28 14:28:31', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022308 -3.400977)'), GeomFromEWKT('SRID=4674;POINT (-39.02223 -3.400938)'))) / (select extract(epoch from '2026-07-28 14:28:31'::timestamp) - extract(epoch from '2026-07-28 14:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022308 -3.400977)'), GeomFromEWKT('SRID=4674;POINT (-39.02223 -3.400938)'))) / (select extract(epoch from '2026-07-28 14:28:31'::timestamp) - extract(epoch from '2026-07-28 14:28: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'), 47422, 'SRID=4674;POINT (-39.022192 -3.400917)', '2026-07-28 14:28:35', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02223 -3.400938)'), GeomFromEWKT('SRID=4674;POINT (-39.022192 -3.400917)'))) / (select extract(epoch from '2026-07-28 14:28:35'::timestamp) - extract(epoch from '2026-07-28 14:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02223 -3.400938)'), GeomFromEWKT('SRID=4674;POINT (-39.022192 -3.400917)'))) / (select extract(epoch from '2026-07-28 14:28:35'::timestamp) - extract(epoch from '2026-07-28 14:28: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'), 47422, 'SRID=4674;POINT (-39.022163 -3.4009)', '2026-07-28 14:28:38', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022192 -3.400917)'), GeomFromEWKT('SRID=4674;POINT (-39.022163 -3.4009)'))) / (select extract(epoch from '2026-07-28 14:28:38'::timestamp) - extract(epoch from '2026-07-28 14:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022192 -3.400917)'), GeomFromEWKT('SRID=4674;POINT (-39.022163 -3.4009)'))) / (select extract(epoch from '2026-07-28 14:28:38'::timestamp) - extract(epoch from '2026-07-28 14:28: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'), 47422, 'SRID=4674;POINT (-39.022053 -3.40086)', '2026-07-28 14:28:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022163 -3.4009)'), GeomFromEWKT('SRID=4674;POINT (-39.022053 -3.40086)'))) / (select extract(epoch from '2026-07-28 14:28:48'::timestamp) - extract(epoch from '2026-07-28 14:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022163 -3.4009)'), GeomFromEWKT('SRID=4674;POINT (-39.022053 -3.40086)'))) / (select extract(epoch from '2026-07-28 14:28:48'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.021951 -3.400815)', '2026-07-28 14:28:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022053 -3.40086)'), GeomFromEWKT('SRID=4674;POINT (-39.021951 -3.400815)'))) / (select extract(epoch from '2026-07-28 14:28:57'::timestamp) - extract(epoch from '2026-07-28 14:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022053 -3.40086)'), GeomFromEWKT('SRID=4674;POINT (-39.021951 -3.400815)'))) / (select extract(epoch from '2026-07-28 14:28:57'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.021849 -3.400771)', '2026-07-28 14:29:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021951 -3.400815)'), GeomFromEWKT('SRID=4674;POINT (-39.021849 -3.400771)'))) / (select extract(epoch from '2026-07-28 14:29:06'::timestamp) - extract(epoch from '2026-07-28 14:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021951 -3.400815)'), GeomFromEWKT('SRID=4674;POINT (-39.021849 -3.400771)'))) / (select extract(epoch from '2026-07-28 14:29:06'::timestamp) - extract(epoch from '2026-07-28 14:28: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'), 47422, 'SRID=4674;POINT (-39.021774 -3.400726)', '2026-07-28 14:29:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021849 -3.400771)'), GeomFromEWKT('SRID=4674;POINT (-39.021774 -3.400726)'))) / (select extract(epoch from '2026-07-28 14:29:15'::timestamp) - extract(epoch from '2026-07-28 14:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021849 -3.400771)'), GeomFromEWKT('SRID=4674;POINT (-39.021774 -3.400726)'))) / (select extract(epoch from '2026-07-28 14:29:15'::timestamp) - extract(epoch from '2026-07-28 14:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021711 -3.400673)', '2026-07-28 14:29:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021774 -3.400726)'), GeomFromEWKT('SRID=4674;POINT (-39.021711 -3.400673)'))) / (select extract(epoch from '2026-07-28 14:29:23'::timestamp) - extract(epoch from '2026-07-28 14:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021774 -3.400726)'), GeomFromEWKT('SRID=4674;POINT (-39.021711 -3.400673)'))) / (select extract(epoch from '2026-07-28 14:29:23'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.021652 -3.400629)', '2026-07-28 14:29:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021711 -3.400673)'), GeomFromEWKT('SRID=4674;POINT (-39.021652 -3.400629)'))) / (select extract(epoch from '2026-07-28 14:29:31'::timestamp) - extract(epoch from '2026-07-28 14:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021711 -3.400673)'), GeomFromEWKT('SRID=4674;POINT (-39.021652 -3.400629)'))) / (select extract(epoch from '2026-07-28 14:29:31'::timestamp) - extract(epoch from '2026-07-28 14:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021573 -3.400572)', '2026-07-28 14:29:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021652 -3.400629)'), GeomFromEWKT('SRID=4674;POINT (-39.021573 -3.400572)'))) / (select extract(epoch from '2026-07-28 14:29:40'::timestamp) - extract(epoch from '2026-07-28 14:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021652 -3.400629)'), GeomFromEWKT('SRID=4674;POINT (-39.021573 -3.400572)'))) / (select extract(epoch from '2026-07-28 14:29:40'::timestamp) - extract(epoch from '2026-07-28 14:29: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'), 47422, 'SRID=4674;POINT (-39.02149 -3.400513)', '2026-07-28 14:29:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021573 -3.400572)'), GeomFromEWKT('SRID=4674;POINT (-39.02149 -3.400513)'))) / (select extract(epoch from '2026-07-28 14:29:49'::timestamp) - extract(epoch from '2026-07-28 14:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021573 -3.400572)'), GeomFromEWKT('SRID=4674;POINT (-39.02149 -3.400513)'))) / (select extract(epoch from '2026-07-28 14:29:49'::timestamp) - extract(epoch from '2026-07-28 14:29: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'), 47422, 'SRID=4674;POINT (-39.021423 -3.400459)', '2026-07-28 14:29:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02149 -3.400513)'), GeomFromEWKT('SRID=4674;POINT (-39.021423 -3.400459)'))) / (select extract(epoch from '2026-07-28 14:29:57'::timestamp) - extract(epoch from '2026-07-28 14:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02149 -3.400513)'), GeomFromEWKT('SRID=4674;POINT (-39.021423 -3.400459)'))) / (select extract(epoch from '2026-07-28 14:29:57'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.021343 -3.400414)', '2026-07-28 14:30:05', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021423 -3.400459)'), GeomFromEWKT('SRID=4674;POINT (-39.021343 -3.400414)'))) / (select extract(epoch from '2026-07-28 14:30:05'::timestamp) - extract(epoch from '2026-07-28 14:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021423 -3.400459)'), GeomFromEWKT('SRID=4674;POINT (-39.021343 -3.400414)'))) / (select extract(epoch from '2026-07-28 14:30:05'::timestamp) - extract(epoch from '2026-07-28 14:29: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'), 47422, 'SRID=4674;POINT (-39.021263 -3.400367)', '2026-07-28 14:30:14', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021343 -3.400414)'), GeomFromEWKT('SRID=4674;POINT (-39.021263 -3.400367)'))) / (select extract(epoch from '2026-07-28 14:30:14'::timestamp) - extract(epoch from '2026-07-28 14:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021343 -3.400414)'), GeomFromEWKT('SRID=4674;POINT (-39.021263 -3.400367)'))) / (select extract(epoch from '2026-07-28 14:30:14'::timestamp) - extract(epoch from '2026-07-28 14:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021208 -3.400331)', '2026-07-28 14:30:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021263 -3.400367)'), GeomFromEWKT('SRID=4674;POINT (-39.021208 -3.400331)'))) / (select extract(epoch from '2026-07-28 14:30:21'::timestamp) - extract(epoch from '2026-07-28 14:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021263 -3.400367)'), GeomFromEWKT('SRID=4674;POINT (-39.021208 -3.400331)'))) / (select extract(epoch from '2026-07-28 14:30:21'::timestamp) - extract(epoch from '2026-07-28 14:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021133 -3.400272)', '2026-07-28 14:30:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021208 -3.400331)'), GeomFromEWKT('SRID=4674;POINT (-39.021133 -3.400272)'))) / (select extract(epoch from '2026-07-28 14:30:30'::timestamp) - extract(epoch from '2026-07-28 14:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021208 -3.400331)'), GeomFromEWKT('SRID=4674;POINT (-39.021133 -3.400272)'))) / (select extract(epoch from '2026-07-28 14:30:30'::timestamp) - extract(epoch from '2026-07-28 14:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021088 -3.400241)', '2026-07-28 14:30:36', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021133 -3.400272)'), GeomFromEWKT('SRID=4674;POINT (-39.021088 -3.400241)'))) / (select extract(epoch from '2026-07-28 14:30:36'::timestamp) - extract(epoch from '2026-07-28 14:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021133 -3.400272)'), GeomFromEWKT('SRID=4674;POINT (-39.021088 -3.400241)'))) / (select extract(epoch from '2026-07-28 14:30:36'::timestamp) - extract(epoch from '2026-07-28 14:30: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'), 47422, 'SRID=4674;POINT (-39.021026 -3.400212)', '2026-07-28 14:30:43', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021088 -3.400241)'), GeomFromEWKT('SRID=4674;POINT (-39.021026 -3.400212)'))) / (select extract(epoch from '2026-07-28 14:30:43'::timestamp) - extract(epoch from '2026-07-28 14:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021088 -3.400241)'), GeomFromEWKT('SRID=4674;POINT (-39.021026 -3.400212)'))) / (select extract(epoch from '2026-07-28 14:30:43'::timestamp) - extract(epoch from '2026-07-28 14:30: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'), 47422, 'SRID=4674;POINT (-39.020958 -3.400182)', '2026-07-28 14:30:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021026 -3.400212)'), GeomFromEWKT('SRID=4674;POINT (-39.020958 -3.400182)'))) / (select extract(epoch from '2026-07-28 14:30:51'::timestamp) - extract(epoch from '2026-07-28 14:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021026 -3.400212)'), GeomFromEWKT('SRID=4674;POINT (-39.020958 -3.400182)'))) / (select extract(epoch from '2026-07-28 14:30:51'::timestamp) - extract(epoch from '2026-07-28 14:30: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'), 47422, 'SRID=4674;POINT (-39.020887 -3.400137)', '2026-07-28 14:31:00', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020958 -3.400182)'), GeomFromEWKT('SRID=4674;POINT (-39.020887 -3.400137)'))) / (select extract(epoch from '2026-07-28 14:31:00'::timestamp) - extract(epoch from '2026-07-28 14:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020958 -3.400182)'), GeomFromEWKT('SRID=4674;POINT (-39.020887 -3.400137)'))) / (select extract(epoch from '2026-07-28 14:31:00'::timestamp) - extract(epoch from '2026-07-28 14:30: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'), 47422, 'SRID=4674;POINT (-39.020808 -3.40009)', '2026-07-28 14:31:09', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020887 -3.400137)'), GeomFromEWKT('SRID=4674;POINT (-39.020808 -3.40009)'))) / (select extract(epoch from '2026-07-28 14:31:09'::timestamp) - extract(epoch from '2026-07-28 14:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020887 -3.400137)'), GeomFromEWKT('SRID=4674;POINT (-39.020808 -3.40009)'))) / (select extract(epoch from '2026-07-28 14:31:09'::timestamp) - extract(epoch from '2026-07-28 14:31:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020739 -3.400051)', '2026-07-28 14:31:17', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020808 -3.40009)'), GeomFromEWKT('SRID=4674;POINT (-39.020739 -3.400051)'))) / (select extract(epoch from '2026-07-28 14:31:17'::timestamp) - extract(epoch from '2026-07-28 14:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020808 -3.40009)'), GeomFromEWKT('SRID=4674;POINT (-39.020739 -3.400051)'))) / (select extract(epoch from '2026-07-28 14:31:17'::timestamp) - extract(epoch from '2026-07-28 14:31: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'), 47422, 'SRID=4674;POINT (-39.020677 -3.400004)', '2026-07-28 14:31:25', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020739 -3.400051)'), GeomFromEWKT('SRID=4674;POINT (-39.020677 -3.400004)'))) / (select extract(epoch from '2026-07-28 14:31:25'::timestamp) - extract(epoch from '2026-07-28 14:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020739 -3.400051)'), GeomFromEWKT('SRID=4674;POINT (-39.020677 -3.400004)'))) / (select extract(epoch from '2026-07-28 14:31:25'::timestamp) - extract(epoch from '2026-07-28 14:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020622 -3.399962)', '2026-07-28 14:31:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020677 -3.400004)'), GeomFromEWKT('SRID=4674;POINT (-39.020622 -3.399962)'))) / (select extract(epoch from '2026-07-28 14:31:32'::timestamp) - extract(epoch from '2026-07-28 14:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020677 -3.400004)'), GeomFromEWKT('SRID=4674;POINT (-39.020622 -3.399962)'))) / (select extract(epoch from '2026-07-28 14:31:32'::timestamp) - extract(epoch from '2026-07-28 14:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020538 -3.399914)', '2026-07-28 14:31:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020622 -3.399962)'), GeomFromEWKT('SRID=4674;POINT (-39.020538 -3.399914)'))) / (select extract(epoch from '2026-07-28 14:31:42'::timestamp) - extract(epoch from '2026-07-28 14:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020622 -3.399962)'), GeomFromEWKT('SRID=4674;POINT (-39.020538 -3.399914)'))) / (select extract(epoch from '2026-07-28 14:31:42'::timestamp) - extract(epoch from '2026-07-28 14:31: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'), 47422, 'SRID=4674;POINT (-39.020455 -3.399876)', '2026-07-28 14:31:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020538 -3.399914)'), GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.399876)'))) / (select extract(epoch from '2026-07-28 14:31:51'::timestamp) - extract(epoch from '2026-07-28 14:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020538 -3.399914)'), GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.399876)'))) / (select extract(epoch from '2026-07-28 14:31:51'::timestamp) - extract(epoch from '2026-07-28 14:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020408 -3.399851)', '2026-07-28 14:31:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.399876)'), GeomFromEWKT('SRID=4674;POINT (-39.020408 -3.399851)'))) / (select extract(epoch from '2026-07-28 14:31:57'::timestamp) - extract(epoch from '2026-07-28 14:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.399876)'), GeomFromEWKT('SRID=4674;POINT (-39.020408 -3.399851)'))) / (select extract(epoch from '2026-07-28 14:31:57'::timestamp) - extract(epoch from '2026-07-28 14:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020336 -3.39981)', '2026-07-28 14:32:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020408 -3.399851)'), GeomFromEWKT('SRID=4674;POINT (-39.020336 -3.39981)'))) / (select extract(epoch from '2026-07-28 14:32:06'::timestamp) - extract(epoch from '2026-07-28 14:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020408 -3.399851)'), GeomFromEWKT('SRID=4674;POINT (-39.020336 -3.39981)'))) / (select extract(epoch from '2026-07-28 14:32:06'::timestamp) - extract(epoch from '2026-07-28 14:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020245 -3.39976)', '2026-07-28 14:32:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020336 -3.39981)'), GeomFromEWKT('SRID=4674;POINT (-39.020245 -3.39976)'))) / (select extract(epoch from '2026-07-28 14:32:17'::timestamp) - extract(epoch from '2026-07-28 14:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020336 -3.39981)'), GeomFromEWKT('SRID=4674;POINT (-39.020245 -3.39976)'))) / (select extract(epoch from '2026-07-28 14:32:17'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.020171 -3.399703)', '2026-07-28 14:32:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020245 -3.39976)'), GeomFromEWKT('SRID=4674;POINT (-39.020171 -3.399703)'))) / (select extract(epoch from '2026-07-28 14:32:26'::timestamp) - extract(epoch from '2026-07-28 14:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020245 -3.39976)'), GeomFromEWKT('SRID=4674;POINT (-39.020171 -3.399703)'))) / (select extract(epoch from '2026-07-28 14:32:26'::timestamp) - extract(epoch from '2026-07-28 14:32: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'), 47422, 'SRID=4674;POINT (-39.020076 -3.39965)', '2026-07-28 14:32:37', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020171 -3.399703)'), GeomFromEWKT('SRID=4674;POINT (-39.020076 -3.39965)'))) / (select extract(epoch from '2026-07-28 14:32:37'::timestamp) - extract(epoch from '2026-07-28 14:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020171 -3.399703)'), GeomFromEWKT('SRID=4674;POINT (-39.020076 -3.39965)'))) / (select extract(epoch from '2026-07-28 14:32:37'::timestamp) - extract(epoch from '2026-07-28 14:32: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'), 47422, 'SRID=4674;POINT (-39.020015 -3.399614)', '2026-07-28 14:32:44', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020076 -3.39965)'), GeomFromEWKT('SRID=4674;POINT (-39.020015 -3.399614)'))) / (select extract(epoch from '2026-07-28 14:32:44'::timestamp) - extract(epoch from '2026-07-28 14:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020076 -3.39965)'), GeomFromEWKT('SRID=4674;POINT (-39.020015 -3.399614)'))) / (select extract(epoch from '2026-07-28 14:32:44'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.019956 -3.399574)', '2026-07-28 14:32:51', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020015 -3.399614)'), GeomFromEWKT('SRID=4674;POINT (-39.019956 -3.399574)'))) / (select extract(epoch from '2026-07-28 14:32:51'::timestamp) - extract(epoch from '2026-07-28 14:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020015 -3.399614)'), GeomFromEWKT('SRID=4674;POINT (-39.019956 -3.399574)'))) / (select extract(epoch from '2026-07-28 14:32:51'::timestamp) - extract(epoch from '2026-07-28 14:32: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'), 47422, 'SRID=4674;POINT (-39.019888 -3.399527)', '2026-07-28 14:32:59', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019956 -3.399574)'), GeomFromEWKT('SRID=4674;POINT (-39.019888 -3.399527)'))) / (select extract(epoch from '2026-07-28 14:32:59'::timestamp) - extract(epoch from '2026-07-28 14:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019956 -3.399574)'), GeomFromEWKT('SRID=4674;POINT (-39.019888 -3.399527)'))) / (select extract(epoch from '2026-07-28 14:32:59'::timestamp) - extract(epoch from '2026-07-28 14:32: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'), 47422, 'SRID=4674;POINT (-39.019823 -3.399482)', '2026-07-28 14:33:07', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019888 -3.399527)'), GeomFromEWKT('SRID=4674;POINT (-39.019823 -3.399482)'))) / (select extract(epoch from '2026-07-28 14:33:07'::timestamp) - extract(epoch from '2026-07-28 14:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019888 -3.399527)'), GeomFromEWKT('SRID=4674;POINT (-39.019823 -3.399482)'))) / (select extract(epoch from '2026-07-28 14:33:07'::timestamp) - extract(epoch from '2026-07-28 14:32: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'), 47422, 'SRID=4674;POINT (-39.01977 -3.39945)', '2026-07-28 14:33:13', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019823 -3.399482)'), GeomFromEWKT('SRID=4674;POINT (-39.01977 -3.39945)'))) / (select extract(epoch from '2026-07-28 14:33:13'::timestamp) - extract(epoch from '2026-07-28 14:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019823 -3.399482)'), GeomFromEWKT('SRID=4674;POINT (-39.01977 -3.39945)'))) / (select extract(epoch from '2026-07-28 14:33:13'::timestamp) - extract(epoch from '2026-07-28 14:33: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'), 47422, 'SRID=4674;POINT (-39.01971 -3.399407)', '2026-07-28 14:33:20', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01977 -3.39945)'), GeomFromEWKT('SRID=4674;POINT (-39.01971 -3.399407)'))) / (select extract(epoch from '2026-07-28 14:33:20'::timestamp) - extract(epoch from '2026-07-28 14:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01977 -3.39945)'), GeomFromEWKT('SRID=4674;POINT (-39.01971 -3.399407)'))) / (select extract(epoch from '2026-07-28 14:33:20'::timestamp) - extract(epoch from '2026-07-28 14:33: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'), 47422, 'SRID=4674;POINT (-39.019652 -3.399365)', '2026-07-28 14:33:27', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01971 -3.399407)'), GeomFromEWKT('SRID=4674;POINT (-39.019652 -3.399365)'))) / (select extract(epoch from '2026-07-28 14:33:27'::timestamp) - extract(epoch from '2026-07-28 14:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01971 -3.399407)'), GeomFromEWKT('SRID=4674;POINT (-39.019652 -3.399365)'))) / (select extract(epoch from '2026-07-28 14:33:27'::timestamp) - extract(epoch from '2026-07-28 14:33: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'), 47422, 'SRID=4674;POINT (-39.019588 -3.399327)', '2026-07-28 14:33:35', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019652 -3.399365)'), GeomFromEWKT('SRID=4674;POINT (-39.019588 -3.399327)'))) / (select extract(epoch from '2026-07-28 14:33:35'::timestamp) - extract(epoch from '2026-07-28 14:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019652 -3.399365)'), GeomFromEWKT('SRID=4674;POINT (-39.019588 -3.399327)'))) / (select extract(epoch from '2026-07-28 14:33:35'::timestamp) - extract(epoch from '2026-07-28 14:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019528 -3.399284)', '2026-07-28 14:33:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019588 -3.399327)'), GeomFromEWKT('SRID=4674;POINT (-39.019528 -3.399284)'))) / (select extract(epoch from '2026-07-28 14:33:43'::timestamp) - extract(epoch from '2026-07-28 14:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019588 -3.399327)'), GeomFromEWKT('SRID=4674;POINT (-39.019528 -3.399284)'))) / (select extract(epoch from '2026-07-28 14:33:43'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.019449 -3.399232)', '2026-07-28 14:33:54', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019528 -3.399284)'), GeomFromEWKT('SRID=4674;POINT (-39.019449 -3.399232)'))) / (select extract(epoch from '2026-07-28 14:33:54'::timestamp) - extract(epoch from '2026-07-28 14:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019528 -3.399284)'), GeomFromEWKT('SRID=4674;POINT (-39.019449 -3.399232)'))) / (select extract(epoch from '2026-07-28 14:33:54'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.019433 -3.399226)', '2026-07-28 14:33:56', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019449 -3.399232)'), GeomFromEWKT('SRID=4674;POINT (-39.019433 -3.399226)'))) / (select extract(epoch from '2026-07-28 14:33:56'::timestamp) - extract(epoch from '2026-07-28 14:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019449 -3.399232)'), GeomFromEWKT('SRID=4674;POINT (-39.019433 -3.399226)'))) / (select extract(epoch from '2026-07-28 14:33:56'::timestamp) - extract(epoch from '2026-07-28 14:33: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'), 47422, 'SRID=4674;POINT (-39.019401 -3.399204)', '2026-07-28 14:34:01', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019433 -3.399226)'), GeomFromEWKT('SRID=4674;POINT (-39.019401 -3.399204)'))) / (select extract(epoch from '2026-07-28 14:34:01'::timestamp) - extract(epoch from '2026-07-28 14:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019433 -3.399226)'), GeomFromEWKT('SRID=4674;POINT (-39.019401 -3.399204)'))) / (select extract(epoch from '2026-07-28 14:34:01'::timestamp) - extract(epoch from '2026-07-28 14:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019342 -3.39915)', '2026-07-28 14:34:10', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019401 -3.399204)'), GeomFromEWKT('SRID=4674;POINT (-39.019342 -3.39915)'))) / (select extract(epoch from '2026-07-28 14:34:10'::timestamp) - extract(epoch from '2026-07-28 14:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019401 -3.399204)'), GeomFromEWKT('SRID=4674;POINT (-39.019342 -3.39915)'))) / (select extract(epoch from '2026-07-28 14:34:10'::timestamp) - extract(epoch from '2026-07-28 14:34: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'), 47422, 'SRID=4674;POINT (-39.019239 -3.399079)', '2026-07-28 14:34:23', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019342 -3.39915)'), GeomFromEWKT('SRID=4674;POINT (-39.019239 -3.399079)'))) / (select extract(epoch from '2026-07-28 14:34:23'::timestamp) - extract(epoch from '2026-07-28 14:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019342 -3.39915)'), GeomFromEWKT('SRID=4674;POINT (-39.019239 -3.399079)'))) / (select extract(epoch from '2026-07-28 14:34:23'::timestamp) - extract(epoch from '2026-07-28 14:34: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'), 47422, 'SRID=4674;POINT (-39.019187 -3.399058)', '2026-07-28 14:34:29', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019239 -3.399079)'), GeomFromEWKT('SRID=4674;POINT (-39.019187 -3.399058)'))) / (select extract(epoch from '2026-07-28 14:34:29'::timestamp) - extract(epoch from '2026-07-28 14:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019239 -3.399079)'), GeomFromEWKT('SRID=4674;POINT (-39.019187 -3.399058)'))) / (select extract(epoch from '2026-07-28 14:34:29'::timestamp) - extract(epoch from '2026-07-28 14:34: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'), 47422, 'SRID=4674;POINT (-39.019119 -3.399028)', '2026-07-28 14:34:36', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019187 -3.399058)'), GeomFromEWKT('SRID=4674;POINT (-39.019119 -3.399028)'))) / (select extract(epoch from '2026-07-28 14:34:36'::timestamp) - extract(epoch from '2026-07-28 14:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019187 -3.399058)'), GeomFromEWKT('SRID=4674;POINT (-39.019119 -3.399028)'))) / (select extract(epoch from '2026-07-28 14:34:36'::timestamp) - extract(epoch from '2026-07-28 14:34: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'), 47422, 'SRID=4674;POINT (-39.019054 -3.399004)', '2026-07-28 14:34:43', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019119 -3.399028)'), GeomFromEWKT('SRID=4674;POINT (-39.019054 -3.399004)'))) / (select extract(epoch from '2026-07-28 14:34:43'::timestamp) - extract(epoch from '2026-07-28 14:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019119 -3.399028)'), GeomFromEWKT('SRID=4674;POINT (-39.019054 -3.399004)'))) / (select extract(epoch from '2026-07-28 14:34:43'::timestamp) - extract(epoch from '2026-07-28 14:34: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'), 47422, 'SRID=4674;POINT (-39.018994 -3.398962)', '2026-07-28 14:34:52', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019054 -3.399004)'), GeomFromEWKT('SRID=4674;POINT (-39.018994 -3.398962)'))) / (select extract(epoch from '2026-07-28 14:34:52'::timestamp) - extract(epoch from '2026-07-28 14:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019054 -3.399004)'), GeomFromEWKT('SRID=4674;POINT (-39.018994 -3.398962)'))) / (select extract(epoch from '2026-07-28 14:34:52'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.018945 -3.398919)', '2026-07-28 14:34:59', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018994 -3.398962)'), GeomFromEWKT('SRID=4674;POINT (-39.018945 -3.398919)'))) / (select extract(epoch from '2026-07-28 14:34:59'::timestamp) - extract(epoch from '2026-07-28 14:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018994 -3.398962)'), GeomFromEWKT('SRID=4674;POINT (-39.018945 -3.398919)'))) / (select extract(epoch from '2026-07-28 14:34:59'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.018883 -3.398876)', '2026-07-28 14:35:07', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018945 -3.398919)'), GeomFromEWKT('SRID=4674;POINT (-39.018883 -3.398876)'))) / (select extract(epoch from '2026-07-28 14:35:07'::timestamp) - extract(epoch from '2026-07-28 14:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018945 -3.398919)'), GeomFromEWKT('SRID=4674;POINT (-39.018883 -3.398876)'))) / (select extract(epoch from '2026-07-28 14:35:07'::timestamp) - extract(epoch from '2026-07-28 14:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018857 -3.398857)', '2026-07-28 14:35:10', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018883 -3.398876)'), GeomFromEWKT('SRID=4674;POINT (-39.018857 -3.398857)'))) / (select extract(epoch from '2026-07-28 14:35:10'::timestamp) - extract(epoch from '2026-07-28 14:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018883 -3.398876)'), GeomFromEWKT('SRID=4674;POINT (-39.018857 -3.398857)'))) / (select extract(epoch from '2026-07-28 14:35:10'::timestamp) - extract(epoch from '2026-07-28 14:35: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'), 47422, 'SRID=4674;POINT (-39.018839 -3.398843)', '2026-07-28 14:35:12', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018857 -3.398857)'), GeomFromEWKT('SRID=4674;POINT (-39.018839 -3.398843)'))) / (select extract(epoch from '2026-07-28 14:35:12'::timestamp) - extract(epoch from '2026-07-28 14:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018857 -3.398857)'), GeomFromEWKT('SRID=4674;POINT (-39.018839 -3.398843)'))) / (select extract(epoch from '2026-07-28 14:35:12'::timestamp) - extract(epoch from '2026-07-28 14:35: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'), 47422, 'SRID=4674;POINT (-39.018831 -3.398835)', '2026-07-28 14:35:13', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018839 -3.398843)'), GeomFromEWKT('SRID=4674;POINT (-39.018831 -3.398835)'))) / (select extract(epoch from '2026-07-28 14:35:13'::timestamp) - extract(epoch from '2026-07-28 14:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018839 -3.398843)'), GeomFromEWKT('SRID=4674;POINT (-39.018831 -3.398835)'))) / (select extract(epoch from '2026-07-28 14:35:13'::timestamp) - extract(epoch from '2026-07-28 14:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018768 -3.39879)', '2026-07-28 14:35:20', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018831 -3.398835)'), GeomFromEWKT('SRID=4674;POINT (-39.018768 -3.39879)'))) / (select extract(epoch from '2026-07-28 14:35:20'::timestamp) - extract(epoch from '2026-07-28 14:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018831 -3.398835)'), GeomFromEWKT('SRID=4674;POINT (-39.018768 -3.39879)'))) / (select extract(epoch from '2026-07-28 14:35:20'::timestamp) - extract(epoch from '2026-07-28 14:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018717 -3.398753)', '2026-07-28 14:35:26', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018768 -3.39879)'), GeomFromEWKT('SRID=4674;POINT (-39.018717 -3.398753)'))) / (select extract(epoch from '2026-07-28 14:35:26'::timestamp) - extract(epoch from '2026-07-28 14:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018768 -3.39879)'), GeomFromEWKT('SRID=4674;POINT (-39.018717 -3.398753)'))) / (select extract(epoch from '2026-07-28 14:35:26'::timestamp) - extract(epoch from '2026-07-28 14:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018669 -3.398723)', '2026-07-28 14:35:32', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018717 -3.398753)'), GeomFromEWKT('SRID=4674;POINT (-39.018669 -3.398723)'))) / (select extract(epoch from '2026-07-28 14:35:32'::timestamp) - extract(epoch from '2026-07-28 14:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018717 -3.398753)'), GeomFromEWKT('SRID=4674;POINT (-39.018669 -3.398723)'))) / (select extract(epoch from '2026-07-28 14:35:32'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.018602 -3.398675)', '2026-07-28 14:35:40', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018669 -3.398723)'), GeomFromEWKT('SRID=4674;POINT (-39.018602 -3.398675)'))) / (select extract(epoch from '2026-07-28 14:35:40'::timestamp) - extract(epoch from '2026-07-28 14:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018669 -3.398723)'), GeomFromEWKT('SRID=4674;POINT (-39.018602 -3.398675)'))) / (select extract(epoch from '2026-07-28 14:35:40'::timestamp) - extract(epoch from '2026-07-28 14:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.01855 -3.39863)', '2026-07-28 14:35:47', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018602 -3.398675)'), GeomFromEWKT('SRID=4674;POINT (-39.01855 -3.39863)'))) / (select extract(epoch from '2026-07-28 14:35:47'::timestamp) - extract(epoch from '2026-07-28 14:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018602 -3.398675)'), GeomFromEWKT('SRID=4674;POINT (-39.01855 -3.39863)'))) / (select extract(epoch from '2026-07-28 14:35:47'::timestamp) - extract(epoch from '2026-07-28 14:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018522 -3.398603)', '2026-07-28 14:35:54', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01855 -3.39863)'), GeomFromEWKT('SRID=4674;POINT (-39.018522 -3.398603)'))) / (select extract(epoch from '2026-07-28 14:35:54'::timestamp) - extract(epoch from '2026-07-28 14:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01855 -3.39863)'), GeomFromEWKT('SRID=4674;POINT (-39.018522 -3.398603)'))) / (select extract(epoch from '2026-07-28 14:35:54'::timestamp) - extract(epoch from '2026-07-28 14:35: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'), 47422, 'SRID=4674;POINT (-39.018458 -3.398543)', '2026-07-28 14:36:04', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018522 -3.398603)'), GeomFromEWKT('SRID=4674;POINT (-39.018458 -3.398543)'))) / (select extract(epoch from '2026-07-28 14:36:04'::timestamp) - extract(epoch from '2026-07-28 14:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018522 -3.398603)'), GeomFromEWKT('SRID=4674;POINT (-39.018458 -3.398543)'))) / (select extract(epoch from '2026-07-28 14:36:04'::timestamp) - extract(epoch from '2026-07-28 14:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018396 -3.398486)', '2026-07-28 14:36:12', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018458 -3.398543)'), GeomFromEWKT('SRID=4674;POINT (-39.018396 -3.398486)'))) / (select extract(epoch from '2026-07-28 14:36:12'::timestamp) - extract(epoch from '2026-07-28 14:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018458 -3.398543)'), GeomFromEWKT('SRID=4674;POINT (-39.018396 -3.398486)'))) / (select extract(epoch from '2026-07-28 14:36:12'::timestamp) - extract(epoch from '2026-07-28 14:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018343 -3.398434)', '2026-07-28 14:36:20', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018396 -3.398486)'), GeomFromEWKT('SRID=4674;POINT (-39.018343 -3.398434)'))) / (select extract(epoch from '2026-07-28 14:36:20'::timestamp) - extract(epoch from '2026-07-28 14:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018396 -3.398486)'), GeomFromEWKT('SRID=4674;POINT (-39.018343 -3.398434)'))) / (select extract(epoch from '2026-07-28 14:36:20'::timestamp) - extract(epoch from '2026-07-28 14:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018302 -3.398399)', '2026-07-28 14:36:27', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018343 -3.398434)'), GeomFromEWKT('SRID=4674;POINT (-39.018302 -3.398399)'))) / (select extract(epoch from '2026-07-28 14:36:27'::timestamp) - extract(epoch from '2026-07-28 14:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018343 -3.398434)'), GeomFromEWKT('SRID=4674;POINT (-39.018302 -3.398399)'))) / (select extract(epoch from '2026-07-28 14:36:27'::timestamp) - extract(epoch from '2026-07-28 14:36: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'), 47422, 'SRID=4674;POINT (-39.018209 -3.398317)', '2026-07-28 14:36:41', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018302 -3.398399)'), GeomFromEWKT('SRID=4674;POINT (-39.018209 -3.398317)'))) / (select extract(epoch from '2026-07-28 14:36:41'::timestamp) - extract(epoch from '2026-07-28 14:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018302 -3.398399)'), GeomFromEWKT('SRID=4674;POINT (-39.018209 -3.398317)'))) / (select extract(epoch from '2026-07-28 14:36:41'::timestamp) - extract(epoch from '2026-07-28 14:36: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'), 47422, 'SRID=4674;POINT (-39.018162 -3.398263)', '2026-07-28 14:36:49', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018209 -3.398317)'), GeomFromEWKT('SRID=4674;POINT (-39.018162 -3.398263)'))) / (select extract(epoch from '2026-07-28 14:36:49'::timestamp) - extract(epoch from '2026-07-28 14:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018209 -3.398317)'), GeomFromEWKT('SRID=4674;POINT (-39.018162 -3.398263)'))) / (select extract(epoch from '2026-07-28 14:36:49'::timestamp) - extract(epoch from '2026-07-28 14:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.0181 -3.398195)', '2026-07-28 14:36:58', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018162 -3.398263)'), GeomFromEWKT('SRID=4674;POINT (-39.0181 -3.398195)'))) / (select extract(epoch from '2026-07-28 14:36:58'::timestamp) - extract(epoch from '2026-07-28 14:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018162 -3.398263)'), GeomFromEWKT('SRID=4674;POINT (-39.0181 -3.398195)'))) / (select extract(epoch from '2026-07-28 14:36:58'::timestamp) - extract(epoch from '2026-07-28 14:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018041 -3.398142)', '2026-07-28 14:37:07', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0181 -3.398195)'), GeomFromEWKT('SRID=4674;POINT (-39.018041 -3.398142)'))) / (select extract(epoch from '2026-07-28 14:37:07'::timestamp) - extract(epoch from '2026-07-28 14:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0181 -3.398195)'), GeomFromEWKT('SRID=4674;POINT (-39.018041 -3.398142)'))) / (select extract(epoch from '2026-07-28 14:37:07'::timestamp) - extract(epoch from '2026-07-28 14:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.01796 -3.398089)', '2026-07-28 14:37:17', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018041 -3.398142)'), GeomFromEWKT('SRID=4674;POINT (-39.01796 -3.398089)'))) / (select extract(epoch from '2026-07-28 14:37:17'::timestamp) - extract(epoch from '2026-07-28 14:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018041 -3.398142)'), GeomFromEWKT('SRID=4674;POINT (-39.01796 -3.398089)'))) / (select extract(epoch from '2026-07-28 14:37:17'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.017892 -3.398029)', '2026-07-28 14:37:26', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01796 -3.398089)'), GeomFromEWKT('SRID=4674;POINT (-39.017892 -3.398029)'))) / (select extract(epoch from '2026-07-28 14:37:26'::timestamp) - extract(epoch from '2026-07-28 14:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01796 -3.398089)'), GeomFromEWKT('SRID=4674;POINT (-39.017892 -3.398029)'))) / (select extract(epoch from '2026-07-28 14:37:26'::timestamp) - extract(epoch from '2026-07-28 14:37: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'), 47422, 'SRID=4674;POINT (-39.01785 -3.397982)', '2026-07-28 14:37:33', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017892 -3.398029)'), GeomFromEWKT('SRID=4674;POINT (-39.01785 -3.397982)'))) / (select extract(epoch from '2026-07-28 14:37:33'::timestamp) - extract(epoch from '2026-07-28 14:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017892 -3.398029)'), GeomFromEWKT('SRID=4674;POINT (-39.01785 -3.397982)'))) / (select extract(epoch from '2026-07-28 14:37:33'::timestamp) - extract(epoch from '2026-07-28 14:37: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'), 47422, 'SRID=4674;POINT (-39.017821 -3.397948)', '2026-07-28 14:37:38', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01785 -3.397982)'), GeomFromEWKT('SRID=4674;POINT (-39.017821 -3.397948)'))) / (select extract(epoch from '2026-07-28 14:37:38'::timestamp) - extract(epoch from '2026-07-28 14:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01785 -3.397982)'), GeomFromEWKT('SRID=4674;POINT (-39.017821 -3.397948)'))) / (select extract(epoch from '2026-07-28 14:37:38'::timestamp) - extract(epoch from '2026-07-28 14:37: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'), 47422, 'SRID=4674;POINT (-39.017808 -3.397932)', '2026-07-28 14:37:40', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017821 -3.397948)'), GeomFromEWKT('SRID=4674;POINT (-39.017808 -3.397932)'))) / (select extract(epoch from '2026-07-28 14:37:40'::timestamp) - extract(epoch from '2026-07-28 14:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017821 -3.397948)'), GeomFromEWKT('SRID=4674;POINT (-39.017808 -3.397932)'))) / (select extract(epoch from '2026-07-28 14:37:40'::timestamp) - extract(epoch from '2026-07-28 14:37: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'), 47422, 'SRID=4674;POINT (-39.0178 -3.397924)', '2026-07-28 14:37:41', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017808 -3.397932)'), GeomFromEWKT('SRID=4674;POINT (-39.0178 -3.397924)'))) / (select extract(epoch from '2026-07-28 14:37:41'::timestamp) - extract(epoch from '2026-07-28 14:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017808 -3.397932)'), GeomFromEWKT('SRID=4674;POINT (-39.0178 -3.397924)'))) / (select extract(epoch from '2026-07-28 14:37:41'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.017763 -3.397895)', '2026-07-28 14:37:46', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0178 -3.397924)'), GeomFromEWKT('SRID=4674;POINT (-39.017763 -3.397895)'))) / (select extract(epoch from '2026-07-28 14:37:46'::timestamp) - extract(epoch from '2026-07-28 14:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0178 -3.397924)'), GeomFromEWKT('SRID=4674;POINT (-39.017763 -3.397895)'))) / (select extract(epoch from '2026-07-28 14:37:46'::timestamp) - extract(epoch from '2026-07-28 14:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017737 -3.397877)', '2026-07-28 14:37:49', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017763 -3.397895)'), GeomFromEWKT('SRID=4674;POINT (-39.017737 -3.397877)'))) / (select extract(epoch from '2026-07-28 14:37:49'::timestamp) - extract(epoch from '2026-07-28 14:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017763 -3.397895)'), GeomFromEWKT('SRID=4674;POINT (-39.017737 -3.397877)'))) / (select extract(epoch from '2026-07-28 14:37:49'::timestamp) - extract(epoch from '2026-07-28 14:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017713 -3.397855)', '2026-07-28 14:37:52', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017737 -3.397877)'), GeomFromEWKT('SRID=4674;POINT (-39.017713 -3.397855)'))) / (select extract(epoch from '2026-07-28 14:37:52'::timestamp) - extract(epoch from '2026-07-28 14:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017737 -3.397877)'), GeomFromEWKT('SRID=4674;POINT (-39.017713 -3.397855)'))) / (select extract(epoch from '2026-07-28 14:37:52'::timestamp) - extract(epoch from '2026-07-28 14:37: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'), 47422, 'SRID=4674;POINT (-39.017658 -3.397817)', '2026-07-28 14:37:59', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017713 -3.397855)'), GeomFromEWKT('SRID=4674;POINT (-39.017658 -3.397817)'))) / (select extract(epoch from '2026-07-28 14:37:59'::timestamp) - extract(epoch from '2026-07-28 14:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017713 -3.397855)'), GeomFromEWKT('SRID=4674;POINT (-39.017658 -3.397817)'))) / (select extract(epoch from '2026-07-28 14:37:59'::timestamp) - extract(epoch from '2026-07-28 14:37: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'), 47422, 'SRID=4674;POINT (-39.017599 -3.397765)', '2026-07-28 14:38:07', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017658 -3.397817)'), GeomFromEWKT('SRID=4674;POINT (-39.017599 -3.397765)'))) / (select extract(epoch from '2026-07-28 14:38:07'::timestamp) - extract(epoch from '2026-07-28 14:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017658 -3.397817)'), GeomFromEWKT('SRID=4674;POINT (-39.017599 -3.397765)'))) / (select extract(epoch from '2026-07-28 14:38:07'::timestamp) - extract(epoch from '2026-07-28 14:37: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'), 47422, 'SRID=4674;POINT (-39.01754 -3.397706)', '2026-07-28 14:38:15', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017599 -3.397765)'), GeomFromEWKT('SRID=4674;POINT (-39.01754 -3.397706)'))) / (select extract(epoch from '2026-07-28 14:38:15'::timestamp) - extract(epoch from '2026-07-28 14:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017599 -3.397765)'), GeomFromEWKT('SRID=4674;POINT (-39.01754 -3.397706)'))) / (select extract(epoch from '2026-07-28 14:38:15'::timestamp) - extract(epoch from '2026-07-28 14:38: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'), 47422, 'SRID=4674;POINT (-39.017485 -3.397648)', '2026-07-28 14:38:22', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01754 -3.397706)'), GeomFromEWKT('SRID=4674;POINT (-39.017485 -3.397648)'))) / (select extract(epoch from '2026-07-28 14:38:22'::timestamp) - extract(epoch from '2026-07-28 14:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01754 -3.397706)'), GeomFromEWKT('SRID=4674;POINT (-39.017485 -3.397648)'))) / (select extract(epoch from '2026-07-28 14:38:22'::timestamp) - extract(epoch from '2026-07-28 14:38: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'), 47422, 'SRID=4674;POINT (-39.017432 -3.397568)', '2026-07-28 14:38:31', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017485 -3.397648)'), GeomFromEWKT('SRID=4674;POINT (-39.017432 -3.397568)'))) / (select extract(epoch from '2026-07-28 14:38:31'::timestamp) - extract(epoch from '2026-07-28 14:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017485 -3.397648)'), GeomFromEWKT('SRID=4674;POINT (-39.017432 -3.397568)'))) / (select extract(epoch from '2026-07-28 14:38:31'::timestamp) - extract(epoch from '2026-07-28 14:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017387 -3.397497)', '2026-07-28 14:38:39', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017432 -3.397568)'), GeomFromEWKT('SRID=4674;POINT (-39.017387 -3.397497)'))) / (select extract(epoch from '2026-07-28 14:38:39'::timestamp) - extract(epoch from '2026-07-28 14:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017432 -3.397568)'), GeomFromEWKT('SRID=4674;POINT (-39.017387 -3.397497)'))) / (select extract(epoch from '2026-07-28 14:38:39'::timestamp) - extract(epoch from '2026-07-28 14:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017344 -3.397441)', '2026-07-28 14:38:46', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017387 -3.397497)'), GeomFromEWKT('SRID=4674;POINT (-39.017344 -3.397441)'))) / (select extract(epoch from '2026-07-28 14:38:46'::timestamp) - extract(epoch from '2026-07-28 14:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017387 -3.397497)'), GeomFromEWKT('SRID=4674;POINT (-39.017344 -3.397441)'))) / (select extract(epoch from '2026-07-28 14:38:46'::timestamp) - extract(epoch from '2026-07-28 14:38: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'), 47422, 'SRID=4674;POINT (-39.017302 -3.397378)', '2026-07-28 14:38:53', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017344 -3.397441)'), GeomFromEWKT('SRID=4674;POINT (-39.017302 -3.397378)'))) / (select extract(epoch from '2026-07-28 14:38:53'::timestamp) - extract(epoch from '2026-07-28 14:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017344 -3.397441)'), GeomFromEWKT('SRID=4674;POINT (-39.017302 -3.397378)'))) / (select extract(epoch from '2026-07-28 14:38:53'::timestamp) - extract(epoch from '2026-07-28 14:38:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017262 -3.397323)', '2026-07-28 14:39:00', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017302 -3.397378)'), GeomFromEWKT('SRID=4674;POINT (-39.017262 -3.397323)'))) / (select extract(epoch from '2026-07-28 14:39:00'::timestamp) - extract(epoch from '2026-07-28 14:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017302 -3.397378)'), GeomFromEWKT('SRID=4674;POINT (-39.017262 -3.397323)'))) / (select extract(epoch from '2026-07-28 14:39:00'::timestamp) - extract(epoch from '2026-07-28 14:38: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'), 47422, 'SRID=4674;POINT (-39.017229 -3.397263)', '2026-07-28 14:39:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017262 -3.397323)'), GeomFromEWKT('SRID=4674;POINT (-39.017229 -3.397263)'))) / (select extract(epoch from '2026-07-28 14:39:06'::timestamp) - extract(epoch from '2026-07-28 14:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017262 -3.397323)'), GeomFromEWKT('SRID=4674;POINT (-39.017229 -3.397263)'))) / (select extract(epoch from '2026-07-28 14:39:06'::timestamp) - extract(epoch from '2026-07-28 14:39: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'), 47422, 'SRID=4674;POINT (-39.017192 -3.397215)', '2026-07-28 14:39:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017229 -3.397263)'), GeomFromEWKT('SRID=4674;POINT (-39.017192 -3.397215)'))) / (select extract(epoch from '2026-07-28 14:39:12'::timestamp) - extract(epoch from '2026-07-28 14:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017229 -3.397263)'), GeomFromEWKT('SRID=4674;POINT (-39.017192 -3.397215)'))) / (select extract(epoch from '2026-07-28 14:39:12'::timestamp) - extract(epoch from '2026-07-28 14:39: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'), 47422, 'SRID=4674;POINT (-39.017141 -3.397141)', '2026-07-28 14:39:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017192 -3.397215)'), GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.397141)'))) / (select extract(epoch from '2026-07-28 14:39:21'::timestamp) - extract(epoch from '2026-07-28 14:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017192 -3.397215)'), GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.397141)'))) / (select extract(epoch from '2026-07-28 14:39:21'::timestamp) - extract(epoch from '2026-07-28 14:39: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'), 47422, 'SRID=4674;POINT (-39.017108 -3.397094)', '2026-07-28 14:39:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.397141)'), GeomFromEWKT('SRID=4674;POINT (-39.017108 -3.397094)'))) / (select extract(epoch from '2026-07-28 14:39:27'::timestamp) - extract(epoch from '2026-07-28 14:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.397141)'), GeomFromEWKT('SRID=4674;POINT (-39.017108 -3.397094)'))) / (select extract(epoch from '2026-07-28 14:39:27'::timestamp) - extract(epoch from '2026-07-28 14:39: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'), 47422, 'SRID=4674;POINT (-39.017102 -3.397085)', '2026-07-28 14:39:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017108 -3.397094)'), GeomFromEWKT('SRID=4674;POINT (-39.017102 -3.397085)'))) / (select extract(epoch from '2026-07-28 14:39:28'::timestamp) - extract(epoch from '2026-07-28 14:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017108 -3.397094)'), GeomFromEWKT('SRID=4674;POINT (-39.017102 -3.397085)'))) / (select extract(epoch from '2026-07-28 14:39:28'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.017051 -3.397002)', '2026-07-28 14:39:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017102 -3.397085)'), GeomFromEWKT('SRID=4674;POINT (-39.017051 -3.397002)'))) / (select extract(epoch from '2026-07-28 14:39:37'::timestamp) - extract(epoch from '2026-07-28 14:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017102 -3.397085)'), GeomFromEWKT('SRID=4674;POINT (-39.017051 -3.397002)'))) / (select extract(epoch from '2026-07-28 14:39:37'::timestamp) - extract(epoch from '2026-07-28 14:39: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'), 47422, 'SRID=4674;POINT (-39.017013 -3.396957)', '2026-07-28 14:39:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017051 -3.397002)'), GeomFromEWKT('SRID=4674;POINT (-39.017013 -3.396957)'))) / (select extract(epoch from '2026-07-28 14:39:43'::timestamp) - extract(epoch from '2026-07-28 14:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017051 -3.397002)'), GeomFromEWKT('SRID=4674;POINT (-39.017013 -3.396957)'))) / (select extract(epoch from '2026-07-28 14:39:43'::timestamp) - extract(epoch from '2026-07-28 14:39: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'), 47422, 'SRID=4674;POINT (-39.01696 -3.39691)', '2026-07-28 14:39:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017013 -3.396957)'), GeomFromEWKT('SRID=4674;POINT (-39.01696 -3.39691)'))) / (select extract(epoch from '2026-07-28 14:39:50'::timestamp) - extract(epoch from '2026-07-28 14:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017013 -3.396957)'), GeomFromEWKT('SRID=4674;POINT (-39.01696 -3.39691)'))) / (select extract(epoch from '2026-07-28 14:39:50'::timestamp) - extract(epoch from '2026-07-28 14:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016892 -3.396842)', '2026-07-28 14:40:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01696 -3.39691)'), GeomFromEWKT('SRID=4674;POINT (-39.016892 -3.396842)'))) / (select extract(epoch from '2026-07-28 14:40:02'::timestamp) - extract(epoch from '2026-07-28 14:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01696 -3.39691)'), GeomFromEWKT('SRID=4674;POINT (-39.016892 -3.396842)'))) / (select extract(epoch from '2026-07-28 14:40:02'::timestamp) - extract(epoch from '2026-07-28 14:39: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'), 47422, 'SRID=4674;POINT (-39.016867 -3.396782)', '2026-07-28 14:40:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016892 -3.396842)'), GeomFromEWKT('SRID=4674;POINT (-39.016867 -3.396782)'))) / (select extract(epoch from '2026-07-28 14:40:10'::timestamp) - extract(epoch from '2026-07-28 14:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016892 -3.396842)'), GeomFromEWKT('SRID=4674;POINT (-39.016867 -3.396782)'))) / (select extract(epoch from '2026-07-28 14:40:10'::timestamp) - extract(epoch from '2026-07-28 14:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016819 -3.396662)', '2026-07-28 14:40:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016867 -3.396782)'), GeomFromEWKT('SRID=4674;POINT (-39.016819 -3.396662)'))) / (select extract(epoch from '2026-07-28 14:40:22'::timestamp) - extract(epoch from '2026-07-28 14:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016867 -3.396782)'), GeomFromEWKT('SRID=4674;POINT (-39.016819 -3.396662)'))) / (select extract(epoch from '2026-07-28 14:40:22'::timestamp) - extract(epoch from '2026-07-28 14:40: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'), 47422, 'SRID=4674;POINT (-39.016781 -3.396539)', '2026-07-28 14:40:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016819 -3.396662)'), GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.396539)'))) / (select extract(epoch from '2026-07-28 14:40:33'::timestamp) - extract(epoch from '2026-07-28 14:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016819 -3.396662)'), GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.396539)'))) / (select extract(epoch from '2026-07-28 14:40:33'::timestamp) - extract(epoch from '2026-07-28 14:40: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'), 47422, 'SRID=4674;POINT (-39.016757 -3.39648)', '2026-07-28 14:40:39', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.396539)'), GeomFromEWKT('SRID=4674;POINT (-39.016757 -3.39648)'))) / (select extract(epoch from '2026-07-28 14:40:39'::timestamp) - extract(epoch from '2026-07-28 14:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016781 -3.396539)'), GeomFromEWKT('SRID=4674;POINT (-39.016757 -3.39648)'))) / (select extract(epoch from '2026-07-28 14:40:39'::timestamp) - extract(epoch from '2026-07-28 14:40: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'), 47422, 'SRID=4674;POINT (-39.016751 -3.39647)', '2026-07-28 14:40:40', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016757 -3.39648)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.39647)'))) / (select extract(epoch from '2026-07-28 14:40:40'::timestamp) - extract(epoch from '2026-07-28 14:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016757 -3.39648)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.39647)'))) / (select extract(epoch from '2026-07-28 14:40:40'::timestamp) - extract(epoch from '2026-07-28 14:40:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016716 -3.396388)', '2026-07-28 14:40:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.39647)'), GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.396388)'))) / (select extract(epoch from '2026-07-28 14:40:48'::timestamp) - extract(epoch from '2026-07-28 14:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.39647)'), GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.396388)'))) / (select extract(epoch from '2026-07-28 14:40:48'::timestamp) - extract(epoch from '2026-07-28 14:40: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'), 47422, 'SRID=4674;POINT (-39.01671 -3.396369)', '2026-07-28 14:40:50', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.396388)'), GeomFromEWKT('SRID=4674;POINT (-39.01671 -3.396369)'))) / (select extract(epoch from '2026-07-28 14:40:50'::timestamp) - extract(epoch from '2026-07-28 14:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.396388)'), GeomFromEWKT('SRID=4674;POINT (-39.01671 -3.396369)'))) / (select extract(epoch from '2026-07-28 14:40:50'::timestamp) - extract(epoch from '2026-07-28 14:40: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'), 47422, 'SRID=4674;POINT (-39.016701 -3.396333)', '2026-07-28 14:40:54', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01671 -3.396369)'), GeomFromEWKT('SRID=4674;POINT (-39.016701 -3.396333)'))) / (select extract(epoch from '2026-07-28 14:40:54'::timestamp) - extract(epoch from '2026-07-28 14:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01671 -3.396369)'), GeomFromEWKT('SRID=4674;POINT (-39.016701 -3.396333)'))) / (select extract(epoch from '2026-07-28 14:40:54'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016683 -3.396255)', '2026-07-28 14:41:02', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016701 -3.396333)'), GeomFromEWKT('SRID=4674;POINT (-39.016683 -3.396255)'))) / (select extract(epoch from '2026-07-28 14:41:02'::timestamp) - extract(epoch from '2026-07-28 14:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016701 -3.396333)'), GeomFromEWKT('SRID=4674;POINT (-39.016683 -3.396255)'))) / (select extract(epoch from '2026-07-28 14:41:02'::timestamp) - extract(epoch from '2026-07-28 14:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016671 -3.396213)', '2026-07-28 14:41:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016683 -3.396255)'), GeomFromEWKT('SRID=4674;POINT (-39.016671 -3.396213)'))) / (select extract(epoch from '2026-07-28 14:41:07'::timestamp) - extract(epoch from '2026-07-28 14:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016683 -3.396255)'), GeomFromEWKT('SRID=4674;POINT (-39.016671 -3.396213)'))) / (select extract(epoch from '2026-07-28 14:41:07'::timestamp) - extract(epoch from '2026-07-28 14:41: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'), 47422, 'SRID=4674;POINT (-39.016668 -3.396194)', '2026-07-28 14:41:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016671 -3.396213)'), GeomFromEWKT('SRID=4674;POINT (-39.016668 -3.396194)'))) / (select extract(epoch from '2026-07-28 14:41:09'::timestamp) - extract(epoch from '2026-07-28 14:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016671 -3.396213)'), GeomFromEWKT('SRID=4674;POINT (-39.016668 -3.396194)'))) / (select extract(epoch from '2026-07-28 14:41:09'::timestamp) - extract(epoch from '2026-07-28 14:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016662 -3.396165)', '2026-07-28 14:41:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016668 -3.396194)'), GeomFromEWKT('SRID=4674;POINT (-39.016662 -3.396165)'))) / (select extract(epoch from '2026-07-28 14:41:12'::timestamp) - extract(epoch from '2026-07-28 14:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016668 -3.396194)'), GeomFromEWKT('SRID=4674;POINT (-39.016662 -3.396165)'))) / (select extract(epoch from '2026-07-28 14:41:12'::timestamp) - extract(epoch from '2026-07-28 14:41: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'), 47422, 'SRID=4674;POINT (-39.016656 -3.396131)', '2026-07-28 14:41:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016662 -3.396165)'), GeomFromEWKT('SRID=4674;POINT (-39.016656 -3.396131)'))) / (select extract(epoch from '2026-07-28 14:41:16'::timestamp) - extract(epoch from '2026-07-28 14:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016662 -3.396165)'), GeomFromEWKT('SRID=4674;POINT (-39.016656 -3.396131)'))) / (select extract(epoch from '2026-07-28 14:41:16'::timestamp) - extract(epoch from '2026-07-28 14:41: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'), 47422, 'SRID=4674;POINT (-39.016648 -3.396079)', '2026-07-28 14:41:22', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016656 -3.396131)'), GeomFromEWKT('SRID=4674;POINT (-39.016648 -3.396079)'))) / (select extract(epoch from '2026-07-28 14:41:22'::timestamp) - extract(epoch from '2026-07-28 14:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016656 -3.396131)'), GeomFromEWKT('SRID=4674;POINT (-39.016648 -3.396079)'))) / (select extract(epoch from '2026-07-28 14:41:22'::timestamp) - extract(epoch from '2026-07-28 14:41: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'), 47422, 'SRID=4674;POINT (-39.016638 -3.396018)', '2026-07-28 14:41:30', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016648 -3.396079)'), GeomFromEWKT('SRID=4674;POINT (-39.016638 -3.396018)'))) / (select extract(epoch from '2026-07-28 14:41:30'::timestamp) - extract(epoch from '2026-07-28 14:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016648 -3.396079)'), GeomFromEWKT('SRID=4674;POINT (-39.016638 -3.396018)'))) / (select extract(epoch from '2026-07-28 14:41:30'::timestamp) - extract(epoch from '2026-07-28 14:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016622 -3.395947)', '2026-07-28 14:41:38', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016638 -3.396018)'), GeomFromEWKT('SRID=4674;POINT (-39.016622 -3.395947)'))) / (select extract(epoch from '2026-07-28 14:41:38'::timestamp) - extract(epoch from '2026-07-28 14:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016638 -3.396018)'), GeomFromEWKT('SRID=4674;POINT (-39.016622 -3.395947)'))) / (select extract(epoch from '2026-07-28 14:41:38'::timestamp) - extract(epoch from '2026-07-28 14:41: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'), 47422, 'SRID=4674;POINT (-39.016605 -3.395882)', '2026-07-28 14:41:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016622 -3.395947)'), GeomFromEWKT('SRID=4674;POINT (-39.016605 -3.395882)'))) / (select extract(epoch from '2026-07-28 14:41:45'::timestamp) - extract(epoch from '2026-07-28 14:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016622 -3.395947)'), GeomFromEWKT('SRID=4674;POINT (-39.016605 -3.395882)'))) / (select extract(epoch from '2026-07-28 14:41:45'::timestamp) - extract(epoch from '2026-07-28 14:41: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'), 47422, 'SRID=4674;POINT (-39.016596 -3.395848)', '2026-07-28 14:41:49', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016605 -3.395882)'), GeomFromEWKT('SRID=4674;POINT (-39.016596 -3.395848)'))) / (select extract(epoch from '2026-07-28 14:41:49'::timestamp) - extract(epoch from '2026-07-28 14:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016605 -3.395882)'), GeomFromEWKT('SRID=4674;POINT (-39.016596 -3.395848)'))) / (select extract(epoch from '2026-07-28 14:41:49'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016587 -3.395821)', '2026-07-28 14:41:52', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016596 -3.395848)'), GeomFromEWKT('SRID=4674;POINT (-39.016587 -3.395821)'))) / (select extract(epoch from '2026-07-28 14:41:52'::timestamp) - extract(epoch from '2026-07-28 14:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016596 -3.395848)'), GeomFromEWKT('SRID=4674;POINT (-39.016587 -3.395821)'))) / (select extract(epoch from '2026-07-28 14:41:52'::timestamp) - extract(epoch from '2026-07-28 14:41: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'), 47422, 'SRID=4674;POINT (-39.016564 -3.395767)', '2026-07-28 14:41:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016587 -3.395821)'), GeomFromEWKT('SRID=4674;POINT (-39.016564 -3.395767)'))) / (select extract(epoch from '2026-07-28 14:41:59'::timestamp) - extract(epoch from '2026-07-28 14:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016587 -3.395821)'), GeomFromEWKT('SRID=4674;POINT (-39.016564 -3.395767)'))) / (select extract(epoch from '2026-07-28 14:41:59'::timestamp) - extract(epoch from '2026-07-28 14:41: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'), 47422, 'SRID=4674;POINT (-39.016544 -3.395709)', '2026-07-28 14:42:07', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016564 -3.395767)'), GeomFromEWKT('SRID=4674;POINT (-39.016544 -3.395709)'))) / (select extract(epoch from '2026-07-28 14:42:07'::timestamp) - extract(epoch from '2026-07-28 14:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016564 -3.395767)'), GeomFromEWKT('SRID=4674;POINT (-39.016544 -3.395709)'))) / (select extract(epoch from '2026-07-28 14:42:07'::timestamp) - extract(epoch from '2026-07-28 14:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016517 -3.395645)', '2026-07-28 14:42:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016544 -3.395709)'), GeomFromEWKT('SRID=4674;POINT (-39.016517 -3.395645)'))) / (select extract(epoch from '2026-07-28 14:42:15'::timestamp) - extract(epoch from '2026-07-28 14:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016544 -3.395709)'), GeomFromEWKT('SRID=4674;POINT (-39.016517 -3.395645)'))) / (select extract(epoch from '2026-07-28 14:42:15'::timestamp) - extract(epoch from '2026-07-28 14:42: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'), 47422, 'SRID=4674;POINT (-39.016489 -3.395603)', '2026-07-28 14:42:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016517 -3.395645)'), GeomFromEWKT('SRID=4674;POINT (-39.016489 -3.395603)'))) / (select extract(epoch from '2026-07-28 14:42:22'::timestamp) - extract(epoch from '2026-07-28 14:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016517 -3.395645)'), GeomFromEWKT('SRID=4674;POINT (-39.016489 -3.395603)'))) / (select extract(epoch from '2026-07-28 14:42:22'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016451 -3.395542)', '2026-07-28 14:42:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016489 -3.395603)'), GeomFromEWKT('SRID=4674;POINT (-39.016451 -3.395542)'))) / (select extract(epoch from '2026-07-28 14:42:31'::timestamp) - extract(epoch from '2026-07-28 14:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016489 -3.395603)'), GeomFromEWKT('SRID=4674;POINT (-39.016451 -3.395542)'))) / (select extract(epoch from '2026-07-28 14:42:31'::timestamp) - extract(epoch from '2026-07-28 14:42: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'), 47422, 'SRID=4674;POINT (-39.016396 -3.395478)', '2026-07-28 14:42:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016451 -3.395542)'), GeomFromEWKT('SRID=4674;POINT (-39.016396 -3.395478)'))) / (select extract(epoch from '2026-07-28 14:42:43'::timestamp) - extract(epoch from '2026-07-28 14:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016451 -3.395542)'), GeomFromEWKT('SRID=4674;POINT (-39.016396 -3.395478)'))) / (select extract(epoch from '2026-07-28 14:42:43'::timestamp) - extract(epoch from '2026-07-28 14:42: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'), 47422, 'SRID=4674;POINT (-39.01632 -3.395449)', '2026-07-28 14:42:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016396 -3.395478)'), GeomFromEWKT('SRID=4674;POINT (-39.01632 -3.395449)'))) / (select extract(epoch from '2026-07-28 14:42:54'::timestamp) - extract(epoch from '2026-07-28 14:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016396 -3.395478)'), GeomFromEWKT('SRID=4674;POINT (-39.01632 -3.395449)'))) / (select extract(epoch from '2026-07-28 14:42:54'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016229 -3.395433)', '2026-07-28 14:43:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01632 -3.395449)'), GeomFromEWKT('SRID=4674;POINT (-39.016229 -3.395433)'))) / (select extract(epoch from '2026-07-28 14:43:08'::timestamp) - extract(epoch from '2026-07-28 14:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01632 -3.395449)'), GeomFromEWKT('SRID=4674;POINT (-39.016229 -3.395433)'))) / (select extract(epoch from '2026-07-28 14:43:08'::timestamp) - extract(epoch from '2026-07-28 14:42:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.01617 -3.395412)', '2026-07-28 14:43:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016229 -3.395433)'), GeomFromEWKT('SRID=4674;POINT (-39.01617 -3.395412)'))) / (select extract(epoch from '2026-07-28 14:43:18'::timestamp) - extract(epoch from '2026-07-28 14:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016229 -3.395433)'), GeomFromEWKT('SRID=4674;POINT (-39.01617 -3.395412)'))) / (select extract(epoch from '2026-07-28 14:43:18'::timestamp) - extract(epoch from '2026-07-28 14:43: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'), 47422, 'SRID=4674;POINT (-39.016126 -3.395402)', '2026-07-28 14:43:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01617 -3.395412)'), GeomFromEWKT('SRID=4674;POINT (-39.016126 -3.395402)'))) / (select extract(epoch from '2026-07-28 14:43:25'::timestamp) - extract(epoch from '2026-07-28 14:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01617 -3.395412)'), GeomFromEWKT('SRID=4674;POINT (-39.016126 -3.395402)'))) / (select extract(epoch from '2026-07-28 14:43:25'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016064 -3.395373)', '2026-07-28 14:43:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016126 -3.395402)'), GeomFromEWKT('SRID=4674;POINT (-39.016064 -3.395373)'))) / (select extract(epoch from '2026-07-28 14:43:37'::timestamp) - extract(epoch from '2026-07-28 14:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016126 -3.395402)'), GeomFromEWKT('SRID=4674;POINT (-39.016064 -3.395373)'))) / (select extract(epoch from '2026-07-28 14:43:37'::timestamp) - extract(epoch from '2026-07-28 14:43: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'), 47422, 'SRID=4674;POINT (-39.01603 -3.395328)', '2026-07-28 14:43:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016064 -3.395373)'), GeomFromEWKT('SRID=4674;POINT (-39.01603 -3.395328)'))) / (select extract(epoch from '2026-07-28 14:43:45'::timestamp) - extract(epoch from '2026-07-28 14:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016064 -3.395373)'), GeomFromEWKT('SRID=4674;POINT (-39.01603 -3.395328)'))) / (select extract(epoch from '2026-07-28 14:43:45'::timestamp) - extract(epoch from '2026-07-28 14:43: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'), 47422, 'SRID=4674;POINT (-39.016007 -3.395222)', '2026-07-28 14:43:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01603 -3.395328)'), GeomFromEWKT('SRID=4674;POINT (-39.016007 -3.395222)'))) / (select extract(epoch from '2026-07-28 14:43:56'::timestamp) - extract(epoch from '2026-07-28 14:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01603 -3.395328)'), GeomFromEWKT('SRID=4674;POINT (-39.016007 -3.395222)'))) / (select extract(epoch from '2026-07-28 14:43:56'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016001 -3.395128)', '2026-07-28 14:44:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016007 -3.395222)'), GeomFromEWKT('SRID=4674;POINT (-39.016001 -3.395128)'))) / (select extract(epoch from '2026-07-28 14:44:04'::timestamp) - extract(epoch from '2026-07-28 14:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016007 -3.395222)'), GeomFromEWKT('SRID=4674;POINT (-39.016001 -3.395128)'))) / (select extract(epoch from '2026-07-28 14:44:04'::timestamp) - extract(epoch from '2026-07-28 14:43: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'), 47422, 'SRID=4674;POINT (-39.015996 -3.395056)', '2026-07-28 14:44:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016001 -3.395128)'), GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395056)'))) / (select extract(epoch from '2026-07-28 14:44:10'::timestamp) - extract(epoch from '2026-07-28 14:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016001 -3.395128)'), GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395056)'))) / (select extract(epoch from '2026-07-28 14:44:10'::timestamp) - extract(epoch from '2026-07-28 14:44: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'), 47422, 'SRID=4674;POINT (-39.015996 -3.395044)', '2026-07-28 14:44:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395056)'), GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395044)'))) / (select extract(epoch from '2026-07-28 14:44:11'::timestamp) - extract(epoch from '2026-07-28 14:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395056)'), GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395044)'))) / (select extract(epoch from '2026-07-28 14:44:11'::timestamp) - extract(epoch from '2026-07-28 14:44:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015996 -3.395021)', '2026-07-28 14:44:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395044)'), GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395021)'))) / (select extract(epoch from '2026-07-28 14:44:13'::timestamp) - extract(epoch from '2026-07-28 14:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395044)'), GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395021)'))) / (select extract(epoch from '2026-07-28 14:44:13'::timestamp) - extract(epoch from '2026-07-28 14:44: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'), 47422, 'SRID=4674;POINT (-39.015995 -3.394985)', '2026-07-28 14:44:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395021)'), GeomFromEWKT('SRID=4674;POINT (-39.015995 -3.394985)'))) / (select extract(epoch from '2026-07-28 14:44:16'::timestamp) - extract(epoch from '2026-07-28 14:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.395021)'), GeomFromEWKT('SRID=4674;POINT (-39.015995 -3.394985)'))) / (select extract(epoch from '2026-07-28 14:44:16'::timestamp) - extract(epoch from '2026-07-28 14:44: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'), 47422, 'SRID=4674;POINT (-39.015993 -3.3949)', '2026-07-28 14:44:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015995 -3.394985)'), GeomFromEWKT('SRID=4674;POINT (-39.015993 -3.3949)'))) / (select extract(epoch from '2026-07-28 14:44:23'::timestamp) - extract(epoch from '2026-07-28 14:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015995 -3.394985)'), GeomFromEWKT('SRID=4674;POINT (-39.015993 -3.3949)'))) / (select extract(epoch from '2026-07-28 14:44:23'::timestamp) - extract(epoch from '2026-07-28 14:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015998 -3.39487)', '2026-07-28 14:44:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015993 -3.3949)'), GeomFromEWKT('SRID=4674;POINT (-39.015998 -3.39487)'))) / (select extract(epoch from '2026-07-28 14:44:26'::timestamp) - extract(epoch from '2026-07-28 14:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015993 -3.3949)'), GeomFromEWKT('SRID=4674;POINT (-39.015998 -3.39487)'))) / (select extract(epoch from '2026-07-28 14:44:26'::timestamp) - extract(epoch from '2026-07-28 14:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016001 -3.394839)', '2026-07-28 14:44:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015998 -3.39487)'), GeomFromEWKT('SRID=4674;POINT (-39.016001 -3.394839)'))) / (select extract(epoch from '2026-07-28 14:44:29'::timestamp) - extract(epoch from '2026-07-28 14:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015998 -3.39487)'), GeomFromEWKT('SRID=4674;POINT (-39.016001 -3.394839)'))) / (select extract(epoch from '2026-07-28 14:44:29'::timestamp) - extract(epoch from '2026-07-28 14:44: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'), 47422, 'SRID=4674;POINT (-39.016003 -3.39483)', '2026-07-28 14:44:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016001 -3.394839)'), GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.39483)'))) / (select extract(epoch from '2026-07-28 14:44:30'::timestamp) - extract(epoch from '2026-07-28 14:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016001 -3.394839)'), GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.39483)'))) / (select extract(epoch from '2026-07-28 14:44:30'::timestamp) - extract(epoch from '2026-07-28 14:44: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'), 47422, 'SRID=4674;POINT (-39.016 -3.394765)', '2026-07-28 14:44:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.39483)'), GeomFromEWKT('SRID=4674;POINT (-39.016 -3.394765)'))) / (select extract(epoch from '2026-07-28 14:44:36'::timestamp) - extract(epoch from '2026-07-28 14:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.39483)'), GeomFromEWKT('SRID=4674;POINT (-39.016 -3.394765)'))) / (select extract(epoch from '2026-07-28 14:44:36'::timestamp) - extract(epoch from '2026-07-28 14:44: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'), 47422, 'SRID=4674;POINT (-39.015996 -3.394732)', '2026-07-28 14:44:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016 -3.394765)'), GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.394732)'))) / (select extract(epoch from '2026-07-28 14:44:39'::timestamp) - extract(epoch from '2026-07-28 14:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016 -3.394765)'), GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.394732)'))) / (select extract(epoch from '2026-07-28 14:44:39'::timestamp) - extract(epoch from '2026-07-28 14:44: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'), 47422, 'SRID=4674;POINT (-39.015985 -3.394686)', '2026-07-28 14:44:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.394732)'), GeomFromEWKT('SRID=4674;POINT (-39.015985 -3.394686)'))) / (select extract(epoch from '2026-07-28 14:44:43'::timestamp) - extract(epoch from '2026-07-28 14:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015996 -3.394732)'), GeomFromEWKT('SRID=4674;POINT (-39.015985 -3.394686)'))) / (select extract(epoch from '2026-07-28 14:44:43'::timestamp) - extract(epoch from '2026-07-28 14:44: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'), 47422, 'SRID=4674;POINT (-39.015976 -3.394609)', '2026-07-28 14:44:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015985 -3.394686)'), GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394609)'))) / (select extract(epoch from '2026-07-28 14:44:51'::timestamp) - extract(epoch from '2026-07-28 14:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015985 -3.394686)'), GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394609)'))) / (select extract(epoch from '2026-07-28 14:44:51'::timestamp) - extract(epoch from '2026-07-28 14:44: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'), 47422, 'SRID=4674;POINT (-39.01597 -3.394543)', '2026-07-28 14:44:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394609)'), GeomFromEWKT('SRID=4674;POINT (-39.01597 -3.394543)'))) / (select extract(epoch from '2026-07-28 14:44:58'::timestamp) - extract(epoch from '2026-07-28 14:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394609)'), GeomFromEWKT('SRID=4674;POINT (-39.01597 -3.394543)'))) / (select extract(epoch from '2026-07-28 14:44:58'::timestamp) - extract(epoch from '2026-07-28 14:44: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'), 47422, 'SRID=4674;POINT (-39.015973 -3.394524)', '2026-07-28 14:45:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01597 -3.394543)'), GeomFromEWKT('SRID=4674;POINT (-39.015973 -3.394524)'))) / (select extract(epoch from '2026-07-28 14:45:00'::timestamp) - extract(epoch from '2026-07-28 14:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01597 -3.394543)'), GeomFromEWKT('SRID=4674;POINT (-39.015973 -3.394524)'))) / (select extract(epoch from '2026-07-28 14:45:00'::timestamp) - extract(epoch from '2026-07-28 14:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015971 -3.394514)', '2026-07-28 14:45:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015973 -3.394524)'), GeomFromEWKT('SRID=4674;POINT (-39.015971 -3.394514)'))) / (select extract(epoch from '2026-07-28 14:45:01'::timestamp) - extract(epoch from '2026-07-28 14:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015973 -3.394524)'), GeomFromEWKT('SRID=4674;POINT (-39.015971 -3.394514)'))) / (select extract(epoch from '2026-07-28 14:45:01'::timestamp) - extract(epoch from '2026-07-28 14:45: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'), 47422, 'SRID=4674;POINT (-39.015964 -3.394459)', '2026-07-28 14:45:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015971 -3.394514)'), GeomFromEWKT('SRID=4674;POINT (-39.015964 -3.394459)'))) / (select extract(epoch from '2026-07-28 14:45:06'::timestamp) - extract(epoch from '2026-07-28 14:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015971 -3.394514)'), GeomFromEWKT('SRID=4674;POINT (-39.015964 -3.394459)'))) / (select extract(epoch from '2026-07-28 14:45:06'::timestamp) - extract(epoch from '2026-07-28 14:45: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'), 47422, 'SRID=4674;POINT (-39.015966 -3.394448)', '2026-07-28 14:45:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015964 -3.394459)'), GeomFromEWKT('SRID=4674;POINT (-39.015966 -3.394448)'))) / (select extract(epoch from '2026-07-28 14:45:07'::timestamp) - extract(epoch from '2026-07-28 14:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015964 -3.394459)'), GeomFromEWKT('SRID=4674;POINT (-39.015966 -3.394448)'))) / (select extract(epoch from '2026-07-28 14:45:07'::timestamp) - extract(epoch from '2026-07-28 14:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015966 -3.394409)', '2026-07-28 14:45:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015966 -3.394448)'), GeomFromEWKT('SRID=4674;POINT (-39.015966 -3.394409)'))) / (select extract(epoch from '2026-07-28 14:45:11'::timestamp) - extract(epoch from '2026-07-28 14:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015966 -3.394448)'), GeomFromEWKT('SRID=4674;POINT (-39.015966 -3.394409)'))) / (select extract(epoch from '2026-07-28 14:45:11'::timestamp) - extract(epoch from '2026-07-28 14:45: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'), 47422, 'SRID=4674;POINT (-39.015968 -3.3944)', '2026-07-28 14:45:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015966 -3.394409)'), GeomFromEWKT('SRID=4674;POINT (-39.015968 -3.3944)'))) / (select extract(epoch from '2026-07-28 14:45:12'::timestamp) - extract(epoch from '2026-07-28 14:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015966 -3.394409)'), GeomFromEWKT('SRID=4674;POINT (-39.015968 -3.3944)'))) / (select extract(epoch from '2026-07-28 14:45:12'::timestamp) - extract(epoch from '2026-07-28 14:45: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'), 47422, 'SRID=4674;POINT (-39.015976 -3.394383)', '2026-07-28 14:45:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015968 -3.3944)'), GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394383)'))) / (select extract(epoch from '2026-07-28 14:45:14'::timestamp) - extract(epoch from '2026-07-28 14:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015968 -3.3944)'), GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394383)'))) / (select extract(epoch from '2026-07-28 14:45:14'::timestamp) - extract(epoch from '2026-07-28 14:45: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'), 47422, 'SRID=4674;POINT (-39.015977 -3.394361)', '2026-07-28 14:45:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394383)'), GeomFromEWKT('SRID=4674;POINT (-39.015977 -3.394361)'))) / (select extract(epoch from '2026-07-28 14:45:16'::timestamp) - extract(epoch from '2026-07-28 14:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394383)'), GeomFromEWKT('SRID=4674;POINT (-39.015977 -3.394361)'))) / (select extract(epoch from '2026-07-28 14:45:16'::timestamp) - extract(epoch from '2026-07-28 14:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015985 -3.394342)', '2026-07-28 14:45:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015977 -3.394361)'), GeomFromEWKT('SRID=4674;POINT (-39.015985 -3.394342)'))) / (select extract(epoch from '2026-07-28 14:45:18'::timestamp) - extract(epoch from '2026-07-28 14:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015977 -3.394361)'), GeomFromEWKT('SRID=4674;POINT (-39.015985 -3.394342)'))) / (select extract(epoch from '2026-07-28 14:45:18'::timestamp) - extract(epoch from '2026-07-28 14:45: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'), 47422, 'SRID=4674;POINT (-39.015998 -3.394306)', '2026-07-28 14:45:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015985 -3.394342)'), GeomFromEWKT('SRID=4674;POINT (-39.015998 -3.394306)'))) / (select extract(epoch from '2026-07-28 14:45:22'::timestamp) - extract(epoch from '2026-07-28 14:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015985 -3.394342)'), GeomFromEWKT('SRID=4674;POINT (-39.015998 -3.394306)'))) / (select extract(epoch from '2026-07-28 14:45:22'::timestamp) - extract(epoch from '2026-07-28 14:45: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'), 47422, 'SRID=4674;POINT (-39.016003 -3.394301)', '2026-07-28 14:45:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015998 -3.394306)'), GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.394301)'))) / (select extract(epoch from '2026-07-28 14:45:23'::timestamp) - extract(epoch from '2026-07-28 14:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015998 -3.394306)'), GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.394301)'))) / (select extract(epoch from '2026-07-28 14:45:23'::timestamp) - extract(epoch from '2026-07-28 14:45: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'), 47422, 'SRID=4674;POINT (-39.01601 -3.394272)', '2026-07-28 14:45:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.394301)'), GeomFromEWKT('SRID=4674;POINT (-39.01601 -3.394272)'))) / (select extract(epoch from '2026-07-28 14:45:27'::timestamp) - extract(epoch from '2026-07-28 14:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.394301)'), GeomFromEWKT('SRID=4674;POINT (-39.01601 -3.394272)'))) / (select extract(epoch from '2026-07-28 14:45:27'::timestamp) - extract(epoch from '2026-07-28 14:45:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016003 -3.394206)', '2026-07-28 14:45:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01601 -3.394272)'), GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.394206)'))) / (select extract(epoch from '2026-07-28 14:45:36'::timestamp) - extract(epoch from '2026-07-28 14:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01601 -3.394272)'), GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.394206)'))) / (select extract(epoch from '2026-07-28 14:45:36'::timestamp) - extract(epoch from '2026-07-28 14:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015976 -3.394138)', '2026-07-28 14:45:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.394206)'), GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394138)'))) / (select extract(epoch from '2026-07-28 14:45:46'::timestamp) - extract(epoch from '2026-07-28 14:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016003 -3.394206)'), GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394138)'))) / (select extract(epoch from '2026-07-28 14:45:46'::timestamp) - extract(epoch from '2026-07-28 14:45: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'), 47422, 'SRID=4674;POINT (-39.015947 -3.394083)', '2026-07-28 14:45:53', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394138)'), GeomFromEWKT('SRID=4674;POINT (-39.015947 -3.394083)'))) / (select extract(epoch from '2026-07-28 14:45:53'::timestamp) - extract(epoch from '2026-07-28 14:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015976 -3.394138)'), GeomFromEWKT('SRID=4674;POINT (-39.015947 -3.394083)'))) / (select extract(epoch from '2026-07-28 14:45:53'::timestamp) - extract(epoch from '2026-07-28 14:45: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'), 47422, 'SRID=4674;POINT (-39.015916 -3.394046)', '2026-07-28 14:46:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015947 -3.394083)'), GeomFromEWKT('SRID=4674;POINT (-39.015916 -3.394046)'))) / (select extract(epoch from '2026-07-28 14:46:00'::timestamp) - extract(epoch from '2026-07-28 14:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015947 -3.394083)'), GeomFromEWKT('SRID=4674;POINT (-39.015916 -3.394046)'))) / (select extract(epoch from '2026-07-28 14:46:00'::timestamp) - extract(epoch from '2026-07-28 14:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.01591 -3.394)', '2026-07-28 14:46:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015916 -3.394046)'), GeomFromEWKT('SRID=4674;POINT (-39.01591 -3.394)'))) / (select extract(epoch from '2026-07-28 14:46:11'::timestamp) - extract(epoch from '2026-07-28 14:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015916 -3.394046)'), GeomFromEWKT('SRID=4674;POINT (-39.01591 -3.394)'))) / (select extract(epoch from '2026-07-28 14:46:11'::timestamp) - extract(epoch from '2026-07-28 14:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015959 -3.39399)', '2026-07-28 14:46:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01591 -3.394)'), GeomFromEWKT('SRID=4674;POINT (-39.015959 -3.39399)'))) / (select extract(epoch from '2026-07-28 14:46:21'::timestamp) - extract(epoch from '2026-07-28 14:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01591 -3.394)'), GeomFromEWKT('SRID=4674;POINT (-39.015959 -3.39399)'))) / (select extract(epoch from '2026-07-28 14:46:21'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016 -3.393979)', '2026-07-28 14:46:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015959 -3.39399)'), GeomFromEWKT('SRID=4674;POINT (-39.016 -3.393979)'))) / (select extract(epoch from '2026-07-28 14:46:30'::timestamp) - extract(epoch from '2026-07-28 14:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015959 -3.39399)'), GeomFromEWKT('SRID=4674;POINT (-39.016 -3.393979)'))) / (select extract(epoch from '2026-07-28 14:46:30'::timestamp) - extract(epoch from '2026-07-28 14:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016053 -3.393978)', '2026-07-28 14:46:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016 -3.393979)'), GeomFromEWKT('SRID=4674;POINT (-39.016053 -3.393978)'))) / (select extract(epoch from '2026-07-28 14:46:40'::timestamp) - extract(epoch from '2026-07-28 14:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016 -3.393979)'), GeomFromEWKT('SRID=4674;POINT (-39.016053 -3.393978)'))) / (select extract(epoch from '2026-07-28 14:46:40'::timestamp) - extract(epoch from '2026-07-28 14:46: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'), 47422, 'SRID=4674;POINT (-39.016101 -3.393981)', '2026-07-28 14:46:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016053 -3.393978)'), GeomFromEWKT('SRID=4674;POINT (-39.016101 -3.393981)'))) / (select extract(epoch from '2026-07-28 14:46:48'::timestamp) - extract(epoch from '2026-07-28 14:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016053 -3.393978)'), GeomFromEWKT('SRID=4674;POINT (-39.016101 -3.393981)'))) / (select extract(epoch from '2026-07-28 14:46:48'::timestamp) - extract(epoch from '2026-07-28 14:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016132 -3.39398)', '2026-07-28 14:46:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016101 -3.393981)'), GeomFromEWKT('SRID=4674;POINT (-39.016132 -3.39398)'))) / (select extract(epoch from '2026-07-28 14:46:55'::timestamp) - extract(epoch from '2026-07-28 14:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016101 -3.393981)'), GeomFromEWKT('SRID=4674;POINT (-39.016132 -3.39398)'))) / (select extract(epoch from '2026-07-28 14:46:55'::timestamp) - extract(epoch from '2026-07-28 14:46: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'), 47422, 'SRID=4674;POINT (-39.016157 -3.393971)', '2026-07-28 14:47:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016132 -3.39398)'), GeomFromEWKT('SRID=4674;POINT (-39.016157 -3.393971)'))) / (select extract(epoch from '2026-07-28 14:47:06'::timestamp) - extract(epoch from '2026-07-28 14:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016132 -3.39398)'), GeomFromEWKT('SRID=4674;POINT (-39.016157 -3.393971)'))) / (select extract(epoch from '2026-07-28 14:47:06'::timestamp) - extract(epoch from '2026-07-28 14:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016155 -3.393991)', '2026-07-28 14:47:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016157 -3.393971)'), GeomFromEWKT('SRID=4674;POINT (-39.016155 -3.393991)'))) / (select extract(epoch from '2026-07-28 14:47:15'::timestamp) - extract(epoch from '2026-07-28 14:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016157 -3.393971)'), GeomFromEWKT('SRID=4674;POINT (-39.016155 -3.393991)'))) / (select extract(epoch from '2026-07-28 14:47:15'::timestamp) - extract(epoch from '2026-07-28 14:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016144 -3.394014)', '2026-07-28 14:47:26', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016155 -3.393991)'), GeomFromEWKT('SRID=4674;POINT (-39.016144 -3.394014)'))) / (select extract(epoch from '2026-07-28 14:47:26'::timestamp) - extract(epoch from '2026-07-28 14:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016155 -3.393991)'), GeomFromEWKT('SRID=4674;POINT (-39.016144 -3.394014)'))) / (select extract(epoch from '2026-07-28 14:47:26'::timestamp) - extract(epoch from '2026-07-28 14:47: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'), 47422, 'SRID=4674;POINT (-39.016135 -3.394044)', '2026-07-28 14:47:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016144 -3.394014)'), GeomFromEWKT('SRID=4674;POINT (-39.016135 -3.394044)'))) / (select extract(epoch from '2026-07-28 14:47:40'::timestamp) - extract(epoch from '2026-07-28 14:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016144 -3.394014)'), GeomFromEWKT('SRID=4674;POINT (-39.016135 -3.394044)'))) / (select extract(epoch from '2026-07-28 14:47:40'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016122 -3.394061)', '2026-07-28 14:47:52', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016135 -3.394044)'), GeomFromEWKT('SRID=4674;POINT (-39.016122 -3.394061)'))) / (select extract(epoch from '2026-07-28 14:47:52'::timestamp) - extract(epoch from '2026-07-28 14:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016135 -3.394044)'), GeomFromEWKT('SRID=4674;POINT (-39.016122 -3.394061)'))) / (select extract(epoch from '2026-07-28 14:47:52'::timestamp) - extract(epoch from '2026-07-28 14:47: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'), 47422, 'SRID=4674;POINT (-39.016123 -3.394081)', '2026-07-28 14:48:06', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016122 -3.394061)'), GeomFromEWKT('SRID=4674;POINT (-39.016123 -3.394081)'))) / (select extract(epoch from '2026-07-28 14:48:06'::timestamp) - extract(epoch from '2026-07-28 14:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016122 -3.394061)'), GeomFromEWKT('SRID=4674;POINT (-39.016123 -3.394081)'))) / (select extract(epoch from '2026-07-28 14:48:06'::timestamp) - extract(epoch from '2026-07-28 14:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.01613 -3.394107)', '2026-07-28 14:48:25', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016123 -3.394081)'), GeomFromEWKT('SRID=4674;POINT (-39.01613 -3.394107)'))) / (select extract(epoch from '2026-07-28 14:48:25'::timestamp) - extract(epoch from '2026-07-28 14:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016123 -3.394081)'), GeomFromEWKT('SRID=4674;POINT (-39.01613 -3.394107)'))) / (select extract(epoch from '2026-07-28 14:48:25'::timestamp) - extract(epoch from '2026-07-28 14:48: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'), 47422, 'SRID=4674;POINT (-39.016155 -3.394126)', '2026-07-28 14:48:48', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01613 -3.394107)'), GeomFromEWKT('SRID=4674;POINT (-39.016155 -3.394126)'))) / (select extract(epoch from '2026-07-28 14:48:48'::timestamp) - extract(epoch from '2026-07-28 14:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01613 -3.394107)'), GeomFromEWKT('SRID=4674;POINT (-39.016155 -3.394126)'))) / (select extract(epoch from '2026-07-28 14:48:48'::timestamp) - extract(epoch from '2026-07-28 14:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016186 -3.394129)', '2026-07-28 14:48:56', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016155 -3.394126)'), GeomFromEWKT('SRID=4674;POINT (-39.016186 -3.394129)'))) / (select extract(epoch from '2026-07-28 14:48:56'::timestamp) - extract(epoch from '2026-07-28 14:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016155 -3.394126)'), GeomFromEWKT('SRID=4674;POINT (-39.016186 -3.394129)'))) / (select extract(epoch from '2026-07-28 14:48:56'::timestamp) - extract(epoch from '2026-07-28 14:48: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'), 47422, 'SRID=4674;POINT (-39.016213 -3.394121)', '2026-07-28 14:49:05', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016186 -3.394129)'), GeomFromEWKT('SRID=4674;POINT (-39.016213 -3.394121)'))) / (select extract(epoch from '2026-07-28 14:49:05'::timestamp) - extract(epoch from '2026-07-28 14:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016186 -3.394129)'), GeomFromEWKT('SRID=4674;POINT (-39.016213 -3.394121)'))) / (select extract(epoch from '2026-07-28 14:49:05'::timestamp) - extract(epoch from '2026-07-28 14:48: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'), 47422, 'SRID=4674;POINT (-39.016266 -3.394098)', '2026-07-28 14:49:17', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016213 -3.394121)'), GeomFromEWKT('SRID=4674;POINT (-39.016266 -3.394098)'))) / (select extract(epoch from '2026-07-28 14:49:17'::timestamp) - extract(epoch from '2026-07-28 14:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016213 -3.394121)'), GeomFromEWKT('SRID=4674;POINT (-39.016266 -3.394098)'))) / (select extract(epoch from '2026-07-28 14:49:17'::timestamp) - extract(epoch from '2026-07-28 14:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016279 -3.394085)', '2026-07-28 14:49:27', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016266 -3.394098)'), GeomFromEWKT('SRID=4674;POINT (-39.016279 -3.394085)'))) / (select extract(epoch from '2026-07-28 14:49:27'::timestamp) - extract(epoch from '2026-07-28 14:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016266 -3.394098)'), GeomFromEWKT('SRID=4674;POINT (-39.016279 -3.394085)'))) / (select extract(epoch from '2026-07-28 14:49:27'::timestamp) - extract(epoch from '2026-07-28 14:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016308 -3.394089)', '2026-07-28 14:49:34', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016279 -3.394085)'), GeomFromEWKT('SRID=4674;POINT (-39.016308 -3.394089)'))) / (select extract(epoch from '2026-07-28 14:49:34'::timestamp) - extract(epoch from '2026-07-28 14:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016279 -3.394085)'), GeomFromEWKT('SRID=4674;POINT (-39.016308 -3.394089)'))) / (select extract(epoch from '2026-07-28 14:49:34'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016339 -3.394092)', '2026-07-28 14:49:41', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016308 -3.394089)'), GeomFromEWKT('SRID=4674;POINT (-39.016339 -3.394092)'))) / (select extract(epoch from '2026-07-28 14:49:41'::timestamp) - extract(epoch from '2026-07-28 14:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016308 -3.394089)'), GeomFromEWKT('SRID=4674;POINT (-39.016339 -3.394092)'))) / (select extract(epoch from '2026-07-28 14:49:41'::timestamp) - extract(epoch from '2026-07-28 14:49: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'), 47422, 'SRID=4674;POINT (-39.016391 -3.394079)', '2026-07-28 14:49:51', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016339 -3.394092)'), GeomFromEWKT('SRID=4674;POINT (-39.016391 -3.394079)'))) / (select extract(epoch from '2026-07-28 14:49:51'::timestamp) - extract(epoch from '2026-07-28 14:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016339 -3.394092)'), GeomFromEWKT('SRID=4674;POINT (-39.016391 -3.394079)'))) / (select extract(epoch from '2026-07-28 14:49:51'::timestamp) - extract(epoch from '2026-07-28 14:49: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'), 47422, 'SRID=4674;POINT (-39.016434 -3.394062)', '2026-07-28 14:49:58', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016391 -3.394079)'), GeomFromEWKT('SRID=4674;POINT (-39.016434 -3.394062)'))) / (select extract(epoch from '2026-07-28 14:49:58'::timestamp) - extract(epoch from '2026-07-28 14:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016391 -3.394079)'), GeomFromEWKT('SRID=4674;POINT (-39.016434 -3.394062)'))) / (select extract(epoch from '2026-07-28 14:49:58'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016475 -3.394031)', '2026-07-28 14:50:08', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016434 -3.394062)'), GeomFromEWKT('SRID=4674;POINT (-39.016475 -3.394031)'))) / (select extract(epoch from '2026-07-28 14:50:08'::timestamp) - extract(epoch from '2026-07-28 14:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016434 -3.394062)'), GeomFromEWKT('SRID=4674;POINT (-39.016475 -3.394031)'))) / (select extract(epoch from '2026-07-28 14:50:08'::timestamp) - extract(epoch from '2026-07-28 14:49:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016514 -3.393998)', '2026-07-28 14:50:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016475 -3.394031)'), GeomFromEWKT('SRID=4674;POINT (-39.016514 -3.393998)'))) / (select extract(epoch from '2026-07-28 14:50:22'::timestamp) - extract(epoch from '2026-07-28 14:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016475 -3.394031)'), GeomFromEWKT('SRID=4674;POINT (-39.016514 -3.393998)'))) / (select extract(epoch from '2026-07-28 14:50:22'::timestamp) - extract(epoch from '2026-07-28 14:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016559 -3.39396)', '2026-07-28 14:50:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016514 -3.393998)'), GeomFromEWKT('SRID=4674;POINT (-39.016559 -3.39396)'))) / (select extract(epoch from '2026-07-28 14:50:41'::timestamp) - extract(epoch from '2026-07-28 14:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016514 -3.393998)'), GeomFromEWKT('SRID=4674;POINT (-39.016559 -3.39396)'))) / (select extract(epoch from '2026-07-28 14:50:41'::timestamp) - extract(epoch from '2026-07-28 14:50: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'), 47422, 'SRID=4674;POINT (-39.016574 -3.393945)', '2026-07-28 14:50:50', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016559 -3.39396)'), GeomFromEWKT('SRID=4674;POINT (-39.016574 -3.393945)'))) / (select extract(epoch from '2026-07-28 14:50:50'::timestamp) - extract(epoch from '2026-07-28 14:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016559 -3.39396)'), GeomFromEWKT('SRID=4674;POINT (-39.016574 -3.393945)'))) / (select extract(epoch from '2026-07-28 14:50:50'::timestamp) - extract(epoch from '2026-07-28 14:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.0166 -3.393919)', '2026-07-28 14:51:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016574 -3.393945)'), GeomFromEWKT('SRID=4674;POINT (-39.0166 -3.393919)'))) / (select extract(epoch from '2026-07-28 14:51:06'::timestamp) - extract(epoch from '2026-07-28 14:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016574 -3.393945)'), GeomFromEWKT('SRID=4674;POINT (-39.0166 -3.393919)'))) / (select extract(epoch from '2026-07-28 14:51:06'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.01665 -3.393906)', '2026-07-28 14:51:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0166 -3.393919)'), GeomFromEWKT('SRID=4674;POINT (-39.01665 -3.393906)'))) / (select extract(epoch from '2026-07-28 14:51:20'::timestamp) - extract(epoch from '2026-07-28 14:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0166 -3.393919)'), GeomFromEWKT('SRID=4674;POINT (-39.01665 -3.393906)'))) / (select extract(epoch from '2026-07-28 14:51:20'::timestamp) - extract(epoch from '2026-07-28 14:51: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'), 47422, 'SRID=4674;POINT (-39.016717 -3.393898)', '2026-07-28 14:51:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01665 -3.393906)'), GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.393898)'))) / (select extract(epoch from '2026-07-28 14:51:36'::timestamp) - extract(epoch from '2026-07-28 14:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01665 -3.393906)'), GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.393898)'))) / (select extract(epoch from '2026-07-28 14:51:36'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016758 -3.393889)', '2026-07-28 14:51:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.393898)'), GeomFromEWKT('SRID=4674;POINT (-39.016758 -3.393889)'))) / (select extract(epoch from '2026-07-28 14:51:48'::timestamp) - extract(epoch from '2026-07-28 14:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016717 -3.393898)'), GeomFromEWKT('SRID=4674;POINT (-39.016758 -3.393889)'))) / (select extract(epoch from '2026-07-28 14:51:48'::timestamp) - extract(epoch from '2026-07-28 14:51: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'), 47422, 'SRID=4674;POINT (-39.016772 -3.393894)', '2026-07-28 14:51:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016758 -3.393889)'), GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.393894)'))) / (select extract(epoch from '2026-07-28 14:51:57'::timestamp) - extract(epoch from '2026-07-28 14:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016758 -3.393889)'), GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.393894)'))) / (select extract(epoch from '2026-07-28 14:51:57'::timestamp) - extract(epoch from '2026-07-28 14:51: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'), 47422, 'SRID=4674;POINT (-39.016787 -3.393894)', '2026-07-28 14:52:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.393894)'), GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.393894)'))) / (select extract(epoch from '2026-07-28 14:52:07'::timestamp) - extract(epoch from '2026-07-28 14:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016772 -3.393894)'), GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.393894)'))) / (select extract(epoch from '2026-07-28 14:52:07'::timestamp) - extract(epoch from '2026-07-28 14:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016813 -3.393896)', '2026-07-28 14:52:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.393894)'), GeomFromEWKT('SRID=4674;POINT (-39.016813 -3.393896)'))) / (select extract(epoch from '2026-07-28 14:52:15'::timestamp) - extract(epoch from '2026-07-28 14:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016787 -3.393894)'), GeomFromEWKT('SRID=4674;POINT (-39.016813 -3.393896)'))) / (select extract(epoch from '2026-07-28 14:52:15'::timestamp) - extract(epoch from '2026-07-28 14:52: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'), 47422, 'SRID=4674;POINT (-39.016837 -3.393899)', '2026-07-28 14:52:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016813 -3.393896)'), GeomFromEWKT('SRID=4674;POINT (-39.016837 -3.393899)'))) / (select extract(epoch from '2026-07-28 14:52:23'::timestamp) - extract(epoch from '2026-07-28 14:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016813 -3.393896)'), GeomFromEWKT('SRID=4674;POINT (-39.016837 -3.393899)'))) / (select extract(epoch from '2026-07-28 14:52:23'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.016853 -3.393904)', '2026-07-28 14:52:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016837 -3.393899)'), GeomFromEWKT('SRID=4674;POINT (-39.016853 -3.393904)'))) / (select extract(epoch from '2026-07-28 14:52:35'::timestamp) - extract(epoch from '2026-07-28 14:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016837 -3.393899)'), GeomFromEWKT('SRID=4674;POINT (-39.016853 -3.393904)'))) / (select extract(epoch from '2026-07-28 14:52:35'::timestamp) - extract(epoch from '2026-07-28 14:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016868 -3.393905)', '2026-07-28 14:52:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016853 -3.393904)'), GeomFromEWKT('SRID=4674;POINT (-39.016868 -3.393905)'))) / (select extract(epoch from '2026-07-28 14:52:42'::timestamp) - extract(epoch from '2026-07-28 14:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016853 -3.393904)'), GeomFromEWKT('SRID=4674;POINT (-39.016868 -3.393905)'))) / (select extract(epoch from '2026-07-28 14:52:42'::timestamp) - extract(epoch from '2026-07-28 14:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016883 -3.393904)', '2026-07-28 14:52:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016868 -3.393905)'), GeomFromEWKT('SRID=4674;POINT (-39.016883 -3.393904)'))) / (select extract(epoch from '2026-07-28 14:52:52'::timestamp) - extract(epoch from '2026-07-28 14:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016868 -3.393905)'), GeomFromEWKT('SRID=4674;POINT (-39.016883 -3.393904)'))) / (select extract(epoch from '2026-07-28 14:52:52'::timestamp) - extract(epoch from '2026-07-28 14:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016896 -3.393899)', '2026-07-28 14:53:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016883 -3.393904)'), GeomFromEWKT('SRID=4674;POINT (-39.016896 -3.393899)'))) / (select extract(epoch from '2026-07-28 14:53:02'::timestamp) - extract(epoch from '2026-07-28 14:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016883 -3.393904)'), GeomFromEWKT('SRID=4674;POINT (-39.016896 -3.393899)'))) / (select extract(epoch from '2026-07-28 14:53:02'::timestamp) - extract(epoch from '2026-07-28 14:52: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'), 47422, 'SRID=4674;POINT (-39.016912 -3.393892)', '2026-07-28 14:53:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016896 -3.393899)'), GeomFromEWKT('SRID=4674;POINT (-39.016912 -3.393892)'))) / (select extract(epoch from '2026-07-28 14:53:18'::timestamp) - extract(epoch from '2026-07-28 14:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016896 -3.393899)'), GeomFromEWKT('SRID=4674;POINT (-39.016912 -3.393892)'))) / (select extract(epoch from '2026-07-28 14:53:18'::timestamp) - extract(epoch from '2026-07-28 14:53: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'), 47422, 'SRID=4674;POINT (-39.016922 -3.393891)', '2026-07-28 14:53:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016912 -3.393892)'), GeomFromEWKT('SRID=4674;POINT (-39.016922 -3.393891)'))) / (select extract(epoch from '2026-07-28 14:53:27'::timestamp) - extract(epoch from '2026-07-28 14:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016912 -3.393892)'), GeomFromEWKT('SRID=4674;POINT (-39.016922 -3.393891)'))) / (select extract(epoch from '2026-07-28 14:53:27'::timestamp) - extract(epoch from '2026-07-28 14:53: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'), 47422, 'SRID=4674;POINT (-39.016949 -3.393878)', '2026-07-28 14:53:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016922 -3.393891)'), GeomFromEWKT('SRID=4674;POINT (-39.016949 -3.393878)'))) / (select extract(epoch from '2026-07-28 14:53:42'::timestamp) - extract(epoch from '2026-07-28 14:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016922 -3.393891)'), GeomFromEWKT('SRID=4674;POINT (-39.016949 -3.393878)'))) / (select extract(epoch from '2026-07-28 14:53:42'::timestamp) - extract(epoch from '2026-07-28 14:53: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'), 47422, 'SRID=4674;POINT (-39.016994 -3.393873)', '2026-07-28 14:53:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016949 -3.393878)'), GeomFromEWKT('SRID=4674;POINT (-39.016994 -3.393873)'))) / (select extract(epoch from '2026-07-28 14:53:53'::timestamp) - extract(epoch from '2026-07-28 14:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016949 -3.393878)'), GeomFromEWKT('SRID=4674;POINT (-39.016994 -3.393873)'))) / (select extract(epoch from '2026-07-28 14:53:53'::timestamp) - extract(epoch from '2026-07-28 14:53: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'), 47422, 'SRID=4674;POINT (-39.017052 -3.393864)', '2026-07-28 14:54:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016994 -3.393873)'), GeomFromEWKT('SRID=4674;POINT (-39.017052 -3.393864)'))) / (select extract(epoch from '2026-07-28 14:54:05'::timestamp) - extract(epoch from '2026-07-28 14:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016994 -3.393873)'), GeomFromEWKT('SRID=4674;POINT (-39.017052 -3.393864)'))) / (select extract(epoch from '2026-07-28 14:54:05'::timestamp) - extract(epoch from '2026-07-28 14:53: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'), 47422, 'SRID=4674;POINT (-39.01709 -3.393848)', '2026-07-28 14:54:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017052 -3.393864)'), GeomFromEWKT('SRID=4674;POINT (-39.01709 -3.393848)'))) / (select extract(epoch from '2026-07-28 14:54:15'::timestamp) - extract(epoch from '2026-07-28 14:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017052 -3.393864)'), GeomFromEWKT('SRID=4674;POINT (-39.01709 -3.393848)'))) / (select extract(epoch from '2026-07-28 14:54:15'::timestamp) - extract(epoch from '2026-07-28 14: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'), 47422, 'SRID=4674;POINT (-39.017107 -3.393833)', '2026-07-28 14:54:22', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01709 -3.393848)'), GeomFromEWKT('SRID=4674;POINT (-39.017107 -3.393833)'))) / (select extract(epoch from '2026-07-28 14:54:22'::timestamp) - extract(epoch from '2026-07-28 14:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01709 -3.393848)'), GeomFromEWKT('SRID=4674;POINT (-39.017107 -3.393833)'))) / (select extract(epoch from '2026-07-28 14:54:22'::timestamp) - extract(epoch from '2026-07-28 14:54: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'), 47422, 'SRID=4674;POINT (-39.017136 -3.393824)', '2026-07-28 14:54:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017107 -3.393833)'), GeomFromEWKT('SRID=4674;POINT (-39.017136 -3.393824)'))) / (select extract(epoch from '2026-07-28 14:54:33'::timestamp) - extract(epoch from '2026-07-28 14:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017107 -3.393833)'), GeomFromEWKT('SRID=4674;POINT (-39.017136 -3.393824)'))) / (select extract(epoch from '2026-07-28 14:54:33'::timestamp) - extract(epoch from '2026-07-28 14:54: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'), 47422, 'SRID=4674;POINT (-39.017169 -3.393801)', '2026-07-28 14:54:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017136 -3.393824)'), GeomFromEWKT('SRID=4674;POINT (-39.017169 -3.393801)'))) / (select extract(epoch from '2026-07-28 14:54:46'::timestamp) - extract(epoch from '2026-07-28 14:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017136 -3.393824)'), GeomFromEWKT('SRID=4674;POINT (-39.017169 -3.393801)'))) / (select extract(epoch from '2026-07-28 14:54:46'::timestamp) - extract(epoch from '2026-07-28 14:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017194 -3.393797)', '2026-07-28 14:54:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017169 -3.393801)'), GeomFromEWKT('SRID=4674;POINT (-39.017194 -3.393797)'))) / (select extract(epoch from '2026-07-28 14:54:59'::timestamp) - extract(epoch from '2026-07-28 14:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017169 -3.393801)'), GeomFromEWKT('SRID=4674;POINT (-39.017194 -3.393797)'))) / (select extract(epoch from '2026-07-28 14:54:59'::timestamp) - extract(epoch from '2026-07-28 14:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017222 -3.393779)', '2026-07-28 14:55:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017194 -3.393797)'), GeomFromEWKT('SRID=4674;POINT (-39.017222 -3.393779)'))) / (select extract(epoch from '2026-07-28 14:55:09'::timestamp) - extract(epoch from '2026-07-28 14:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017194 -3.393797)'), GeomFromEWKT('SRID=4674;POINT (-39.017222 -3.393779)'))) / (select extract(epoch from '2026-07-28 14:55:09'::timestamp) - extract(epoch from '2026-07-28 14:54: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'), 47422, 'SRID=4674;POINT (-39.017243 -3.393756)', '2026-07-28 14:55:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017222 -3.393779)'), GeomFromEWKT('SRID=4674;POINT (-39.017243 -3.393756)'))) / (select extract(epoch from '2026-07-28 14:55:19'::timestamp) - extract(epoch from '2026-07-28 14:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017222 -3.393779)'), GeomFromEWKT('SRID=4674;POINT (-39.017243 -3.393756)'))) / (select extract(epoch from '2026-07-28 14:55:19'::timestamp) - extract(epoch from '2026-07-28 14:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017262 -3.393745)', '2026-07-28 14:55:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017243 -3.393756)'), GeomFromEWKT('SRID=4674;POINT (-39.017262 -3.393745)'))) / (select extract(epoch from '2026-07-28 14:55:28'::timestamp) - extract(epoch from '2026-07-28 14:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017243 -3.393756)'), GeomFromEWKT('SRID=4674;POINT (-39.017262 -3.393745)'))) / (select extract(epoch from '2026-07-28 14:55:28'::timestamp) - extract(epoch from '2026-07-28 14:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017292 -3.39373)', '2026-07-28 14:55:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017262 -3.393745)'), GeomFromEWKT('SRID=4674;POINT (-39.017292 -3.39373)'))) / (select extract(epoch from '2026-07-28 14:55:39'::timestamp) - extract(epoch from '2026-07-28 14:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017262 -3.393745)'), GeomFromEWKT('SRID=4674;POINT (-39.017292 -3.39373)'))) / (select extract(epoch from '2026-07-28 14:55:39'::timestamp) - extract(epoch from '2026-07-28 14:55: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'), 47422, 'SRID=4674;POINT (-39.017328 -3.393722)', '2026-07-28 14:55:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017292 -3.39373)'), GeomFromEWKT('SRID=4674;POINT (-39.017328 -3.393722)'))) / (select extract(epoch from '2026-07-28 14:55:51'::timestamp) - extract(epoch from '2026-07-28 14:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017292 -3.39373)'), GeomFromEWKT('SRID=4674;POINT (-39.017328 -3.393722)'))) / (select extract(epoch from '2026-07-28 14:55:51'::timestamp) - extract(epoch from '2026-07-28 14:55: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'), 47422, 'SRID=4674;POINT (-39.01736 -3.393708)', '2026-07-28 14:56:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017328 -3.393722)'), GeomFromEWKT('SRID=4674;POINT (-39.01736 -3.393708)'))) / (select extract(epoch from '2026-07-28 14:56:04'::timestamp) - extract(epoch from '2026-07-28 14:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017328 -3.393722)'), GeomFromEWKT('SRID=4674;POINT (-39.01736 -3.393708)'))) / (select extract(epoch from '2026-07-28 14:56:04'::timestamp) - extract(epoch from '2026-07-28 14:55: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'), 47422, 'SRID=4674;POINT (-39.017377 -3.393698)', '2026-07-28 14:56:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01736 -3.393708)'), GeomFromEWKT('SRID=4674;POINT (-39.017377 -3.393698)'))) / (select extract(epoch from '2026-07-28 14:56:15'::timestamp) - extract(epoch from '2026-07-28 14:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01736 -3.393708)'), GeomFromEWKT('SRID=4674;POINT (-39.017377 -3.393698)'))) / (select extract(epoch from '2026-07-28 14:56:15'::timestamp) - extract(epoch from '2026-07-28 14:56: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'), 47422, 'SRID=4674;POINT (-39.017394 -3.393684)', '2026-07-28 14:56:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017377 -3.393698)'), GeomFromEWKT('SRID=4674;POINT (-39.017394 -3.393684)'))) / (select extract(epoch from '2026-07-28 14:56:23'::timestamp) - extract(epoch from '2026-07-28 14:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017377 -3.393698)'), GeomFromEWKT('SRID=4674;POINT (-39.017394 -3.393684)'))) / (select extract(epoch from '2026-07-28 14:56:23'::timestamp) - extract(epoch from '2026-07-28 14:56: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'), 47422, 'SRID=4674;POINT (-39.017409 -3.393667)', '2026-07-28 14:56:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017394 -3.393684)'), GeomFromEWKT('SRID=4674;POINT (-39.017409 -3.393667)'))) / (select extract(epoch from '2026-07-28 14:56:32'::timestamp) - extract(epoch from '2026-07-28 14:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017394 -3.393684)'), GeomFromEWKT('SRID=4674;POINT (-39.017409 -3.393667)'))) / (select extract(epoch from '2026-07-28 14:56:32'::timestamp) - extract(epoch from '2026-07-28 14:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017424 -3.393649)', '2026-07-28 14:56:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017409 -3.393667)'), GeomFromEWKT('SRID=4674;POINT (-39.017424 -3.393649)'))) / (select extract(epoch from '2026-07-28 14:56:43'::timestamp) - extract(epoch from '2026-07-28 14:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017409 -3.393667)'), GeomFromEWKT('SRID=4674;POINT (-39.017424 -3.393649)'))) / (select extract(epoch from '2026-07-28 14:56:43'::timestamp) - extract(epoch from '2026-07-28 14:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.01745 -3.39364)', '2026-07-28 14:56:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017424 -3.393649)'), GeomFromEWKT('SRID=4674;POINT (-39.01745 -3.39364)'))) / (select extract(epoch from '2026-07-28 14:56:55'::timestamp) - extract(epoch from '2026-07-28 14:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017424 -3.393649)'), GeomFromEWKT('SRID=4674;POINT (-39.01745 -3.39364)'))) / (select extract(epoch from '2026-07-28 14:56:55'::timestamp) - extract(epoch from '2026-07-28 14:56: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'), 47422, 'SRID=4674;POINT (-39.017464 -3.393621)', '2026-07-28 14:57:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01745 -3.39364)'), GeomFromEWKT('SRID=4674;POINT (-39.017464 -3.393621)'))) / (select extract(epoch from '2026-07-28 14:57:07'::timestamp) - extract(epoch from '2026-07-28 14:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01745 -3.39364)'), GeomFromEWKT('SRID=4674;POINT (-39.017464 -3.393621)'))) / (select extract(epoch from '2026-07-28 14:57:07'::timestamp) - extract(epoch from '2026-07-28 14:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017492 -3.393603)', '2026-07-28 14:57:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017464 -3.393621)'), GeomFromEWKT('SRID=4674;POINT (-39.017492 -3.393603)'))) / (select extract(epoch from '2026-07-28 14:57:18'::timestamp) - extract(epoch from '2026-07-28 14:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017464 -3.393621)'), GeomFromEWKT('SRID=4674;POINT (-39.017492 -3.393603)'))) / (select extract(epoch from '2026-07-28 14:57:18'::timestamp) - extract(epoch from '2026-07-28 14:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017516 -3.393585)', '2026-07-28 14:57:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017492 -3.393603)'), GeomFromEWKT('SRID=4674;POINT (-39.017516 -3.393585)'))) / (select extract(epoch from '2026-07-28 14:57:28'::timestamp) - extract(epoch from '2026-07-28 14:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017492 -3.393603)'), GeomFromEWKT('SRID=4674;POINT (-39.017516 -3.393585)'))) / (select extract(epoch from '2026-07-28 14:57:28'::timestamp) - extract(epoch from '2026-07-28 14:57: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'), 47422, 'SRID=4674;POINT (-39.017535 -3.393567)', '2026-07-28 14:57:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017516 -3.393585)'), GeomFromEWKT('SRID=4674;POINT (-39.017535 -3.393567)'))) / (select extract(epoch from '2026-07-28 14:57:36'::timestamp) - extract(epoch from '2026-07-28 14:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017516 -3.393585)'), GeomFromEWKT('SRID=4674;POINT (-39.017535 -3.393567)'))) / (select extract(epoch from '2026-07-28 14:57:36'::timestamp) - extract(epoch from '2026-07-28 14:57: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'), 47422, 'SRID=4674;POINT (-39.017571 -3.393533)', '2026-07-28 14:57:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017535 -3.393567)'), GeomFromEWKT('SRID=4674;POINT (-39.017571 -3.393533)'))) / (select extract(epoch from '2026-07-28 14:57:49'::timestamp) - extract(epoch from '2026-07-28 14:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017535 -3.393567)'), GeomFromEWKT('SRID=4674;POINT (-39.017571 -3.393533)'))) / (select extract(epoch from '2026-07-28 14:57:49'::timestamp) - extract(epoch from '2026-07-28 14:57:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017594 -3.393518)', '2026-07-28 14:57:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017571 -3.393533)'), GeomFromEWKT('SRID=4674;POINT (-39.017594 -3.393518)'))) / (select extract(epoch from '2026-07-28 14:57:59'::timestamp) - extract(epoch from '2026-07-28 14:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017571 -3.393533)'), GeomFromEWKT('SRID=4674;POINT (-39.017594 -3.393518)'))) / (select extract(epoch from '2026-07-28 14:57:59'::timestamp) - extract(epoch from '2026-07-28 14:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017613 -3.393498)', '2026-07-28 14:58:08', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017594 -3.393518)'), GeomFromEWKT('SRID=4674;POINT (-39.017613 -3.393498)'))) / (select extract(epoch from '2026-07-28 14:58:08'::timestamp) - extract(epoch from '2026-07-28 14:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017594 -3.393518)'), GeomFromEWKT('SRID=4674;POINT (-39.017613 -3.393498)'))) / (select extract(epoch from '2026-07-28 14:58:08'::timestamp) - extract(epoch from '2026-07-28 14:57: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'), 47422, 'SRID=4674;POINT (-39.01764 -3.393482)', '2026-07-28 14:58:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017613 -3.393498)'), GeomFromEWKT('SRID=4674;POINT (-39.01764 -3.393482)'))) / (select extract(epoch from '2026-07-28 14:58:18'::timestamp) - extract(epoch from '2026-07-28 14:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017613 -3.393498)'), GeomFromEWKT('SRID=4674;POINT (-39.01764 -3.393482)'))) / (select extract(epoch from '2026-07-28 14:58:18'::timestamp) - extract(epoch from '2026-07-28 14:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017665 -3.393473)', '2026-07-28 14:58:28', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01764 -3.393482)'), GeomFromEWKT('SRID=4674;POINT (-39.017665 -3.393473)'))) / (select extract(epoch from '2026-07-28 14:58:28'::timestamp) - extract(epoch from '2026-07-28 14:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01764 -3.393482)'), GeomFromEWKT('SRID=4674;POINT (-39.017665 -3.393473)'))) / (select extract(epoch from '2026-07-28 14:58:28'::timestamp) - extract(epoch from '2026-07-28 14:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017672 -3.393465)', '2026-07-28 14:58:40', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017665 -3.393473)'), GeomFromEWKT('SRID=4674;POINT (-39.017672 -3.393465)'))) / (select extract(epoch from '2026-07-28 14:58:40'::timestamp) - extract(epoch from '2026-07-28 14:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017665 -3.393473)'), GeomFromEWKT('SRID=4674;POINT (-39.017672 -3.393465)'))) / (select extract(epoch from '2026-07-28 14:58:40'::timestamp) - extract(epoch from '2026-07-28 14:58: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'), 47422, 'SRID=4674;POINT (-39.01767 -3.393453)', '2026-07-28 14:58:53', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017672 -3.393465)'), GeomFromEWKT('SRID=4674;POINT (-39.01767 -3.393453)'))) / (select extract(epoch from '2026-07-28 14:58:53'::timestamp) - extract(epoch from '2026-07-28 14:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017672 -3.393465)'), GeomFromEWKT('SRID=4674;POINT (-39.01767 -3.393453)'))) / (select extract(epoch from '2026-07-28 14:58:53'::timestamp) - extract(epoch from '2026-07-28 14:58:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017692 -3.393445)', '2026-07-28 14:59:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01767 -3.393453)'), GeomFromEWKT('SRID=4674;POINT (-39.017692 -3.393445)'))) / (select extract(epoch from '2026-07-28 14:59:09'::timestamp) - extract(epoch from '2026-07-28 14:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01767 -3.393453)'), GeomFromEWKT('SRID=4674;POINT (-39.017692 -3.393445)'))) / (select extract(epoch from '2026-07-28 14:59:09'::timestamp) - extract(epoch from '2026-07-28 14:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017691 -3.393435)', '2026-07-28 14:59:18', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017692 -3.393445)'), GeomFromEWKT('SRID=4674;POINT (-39.017691 -3.393435)'))) / (select extract(epoch from '2026-07-28 14:59:18'::timestamp) - extract(epoch from '2026-07-28 14:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017692 -3.393445)'), GeomFromEWKT('SRID=4674;POINT (-39.017691 -3.393435)'))) / (select extract(epoch from '2026-07-28 14:59:18'::timestamp) - extract(epoch from '2026-07-28 14:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017694 -3.393428)', '2026-07-28 14:59:27', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017691 -3.393435)'), GeomFromEWKT('SRID=4674;POINT (-39.017694 -3.393428)'))) / (select extract(epoch from '2026-07-28 14:59:27'::timestamp) - extract(epoch from '2026-07-28 14:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017691 -3.393435)'), GeomFromEWKT('SRID=4674;POINT (-39.017694 -3.393428)'))) / (select extract(epoch from '2026-07-28 14:59:27'::timestamp) - extract(epoch from '2026-07-28 14:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017709 -3.393412)', '2026-07-28 14:59:44', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017694 -3.393428)'), GeomFromEWKT('SRID=4674;POINT (-39.017709 -3.393412)'))) / (select extract(epoch from '2026-07-28 14:59:44'::timestamp) - extract(epoch from '2026-07-28 14:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017694 -3.393428)'), GeomFromEWKT('SRID=4674;POINT (-39.017709 -3.393412)'))) / (select extract(epoch from '2026-07-28 14:59:44'::timestamp) - extract(epoch from '2026-07-28 14:59: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'), 47422, 'SRID=4674;POINT (-39.017716 -3.393414)', '2026-07-28 14:59:54', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017709 -3.393412)'), GeomFromEWKT('SRID=4674;POINT (-39.017716 -3.393414)'))) / (select extract(epoch from '2026-07-28 14:59:54'::timestamp) - extract(epoch from '2026-07-28 14:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017709 -3.393412)'), GeomFromEWKT('SRID=4674;POINT (-39.017716 -3.393414)'))) / (select extract(epoch from '2026-07-28 14:59:54'::timestamp) - extract(epoch from '2026-07-28 14:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017715 -3.393406)', '2026-07-28 15:00:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017716 -3.393414)'), GeomFromEWKT('SRID=4674;POINT (-39.017715 -3.393406)'))) / (select extract(epoch from '2026-07-28 15:00:02'::timestamp) - extract(epoch from '2026-07-28 14:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017716 -3.393414)'), GeomFromEWKT('SRID=4674;POINT (-39.017715 -3.393406)'))) / (select extract(epoch from '2026-07-28 15:00:02'::timestamp) - extract(epoch from '2026-07-28 14:59: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'), 47422, 'SRID=4674;POINT (-39.01771 -3.393391)', '2026-07-28 15:00:12', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017715 -3.393406)'), GeomFromEWKT('SRID=4674;POINT (-39.01771 -3.393391)'))) / (select extract(epoch from '2026-07-28 15:00:12'::timestamp) - extract(epoch from '2026-07-28 15:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017715 -3.393406)'), GeomFromEWKT('SRID=4674;POINT (-39.01771 -3.393391)'))) / (select extract(epoch from '2026-07-28 15:00:12'::timestamp) - extract(epoch from '2026-07-28 15:00: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'), 47422, 'SRID=4674;POINT (-39.017729 -3.393394)', '2026-07-28 15:00:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01771 -3.393391)'), GeomFromEWKT('SRID=4674;POINT (-39.017729 -3.393394)'))) / (select extract(epoch from '2026-07-28 15:00:20'::timestamp) - extract(epoch from '2026-07-28 15:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01771 -3.393391)'), GeomFromEWKT('SRID=4674;POINT (-39.017729 -3.393394)'))) / (select extract(epoch from '2026-07-28 15:00:20'::timestamp) - extract(epoch from '2026-07-28 15:00: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'), 47422, 'SRID=4674;POINT (-39.017739 -3.393387)', '2026-07-28 15:00:31', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017729 -3.393394)'), GeomFromEWKT('SRID=4674;POINT (-39.017739 -3.393387)'))) / (select extract(epoch from '2026-07-28 15:00:31'::timestamp) - extract(epoch from '2026-07-28 15:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017729 -3.393394)'), GeomFromEWKT('SRID=4674;POINT (-39.017739 -3.393387)'))) / (select extract(epoch from '2026-07-28 15:00:31'::timestamp) - extract(epoch from '2026-07-28 15:00:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017741 -3.393378)', '2026-07-28 15:00:40', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017739 -3.393387)'), GeomFromEWKT('SRID=4674;POINT (-39.017741 -3.393378)'))) / (select extract(epoch from '2026-07-28 15:00:40'::timestamp) - extract(epoch from '2026-07-28 15:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017739 -3.393387)'), GeomFromEWKT('SRID=4674;POINT (-39.017741 -3.393378)'))) / (select extract(epoch from '2026-07-28 15:00:40'::timestamp) - extract(epoch from '2026-07-28 15:00: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'), 47422, 'SRID=4674;POINT (-39.017731 -3.39339)', '2026-07-28 15:00:50', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017741 -3.393378)'), GeomFromEWKT('SRID=4674;POINT (-39.017731 -3.39339)'))) / (select extract(epoch from '2026-07-28 15:00:50'::timestamp) - extract(epoch from '2026-07-28 15:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017741 -3.393378)'), GeomFromEWKT('SRID=4674;POINT (-39.017731 -3.39339)'))) / (select extract(epoch from '2026-07-28 15:00:50'::timestamp) - extract(epoch from '2026-07-28 15:00: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'), 47422, 'SRID=4674;POINT (-39.017733 -3.393414)', '2026-07-28 15:00:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017731 -3.39339)'), GeomFromEWKT('SRID=4674;POINT (-39.017733 -3.393414)'))) / (select extract(epoch from '2026-07-28 15:00:59'::timestamp) - extract(epoch from '2026-07-28 15:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017731 -3.39339)'), GeomFromEWKT('SRID=4674;POINT (-39.017733 -3.393414)'))) / (select extract(epoch from '2026-07-28 15:00:59'::timestamp) - extract(epoch from '2026-07-28 15:00:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017723 -3.393432)', '2026-07-28 15:01:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017733 -3.393414)'), GeomFromEWKT('SRID=4674;POINT (-39.017723 -3.393432)'))) / (select extract(epoch from '2026-07-28 15:01:07'::timestamp) - extract(epoch from '2026-07-28 15:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017733 -3.393414)'), GeomFromEWKT('SRID=4674;POINT (-39.017723 -3.393432)'))) / (select extract(epoch from '2026-07-28 15:01:07'::timestamp) - extract(epoch from '2026-07-28 15:00: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'), 47422, 'SRID=4674;POINT (-39.017722 -3.393449)', '2026-07-28 15:01:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017723 -3.393432)'), GeomFromEWKT('SRID=4674;POINT (-39.017722 -3.393449)'))) / (select extract(epoch from '2026-07-28 15:01:15'::timestamp) - extract(epoch from '2026-07-28 15:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017723 -3.393432)'), GeomFromEWKT('SRID=4674;POINT (-39.017722 -3.393449)'))) / (select extract(epoch from '2026-07-28 15:01:15'::timestamp) - extract(epoch from '2026-07-28 15:01: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'), 47422, 'SRID=4674;POINT (-39.017722 -3.393457)', '2026-07-28 15:01:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017722 -3.393449)'), GeomFromEWKT('SRID=4674;POINT (-39.017722 -3.393457)'))) / (select extract(epoch from '2026-07-28 15:01:24'::timestamp) - extract(epoch from '2026-07-28 15:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017722 -3.393449)'), GeomFromEWKT('SRID=4674;POINT (-39.017722 -3.393457)'))) / (select extract(epoch from '2026-07-28 15:01:24'::timestamp) - extract(epoch from '2026-07-28 15:01: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'), 47422, 'SRID=4674;POINT (-39.017717 -3.39347)', '2026-07-28 15:01:37', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017722 -3.393457)'), GeomFromEWKT('SRID=4674;POINT (-39.017717 -3.39347)'))) / (select extract(epoch from '2026-07-28 15:01:37'::timestamp) - extract(epoch from '2026-07-28 15:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017722 -3.393457)'), GeomFromEWKT('SRID=4674;POINT (-39.017717 -3.39347)'))) / (select extract(epoch from '2026-07-28 15:01:37'::timestamp) - extract(epoch from '2026-07-28 15:01: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'), 47422, 'SRID=4674;POINT (-39.01772 -3.393473)', '2026-07-28 15:01:44', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017717 -3.39347)'), GeomFromEWKT('SRID=4674;POINT (-39.01772 -3.393473)'))) / (select extract(epoch from '2026-07-28 15:01:44'::timestamp) - extract(epoch from '2026-07-28 15:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017717 -3.39347)'), GeomFromEWKT('SRID=4674;POINT (-39.01772 -3.393473)'))) / (select extract(epoch from '2026-07-28 15:01:44'::timestamp) - extract(epoch from '2026-07-28 15:01: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'), 47422, 'SRID=4674;POINT (-39.017733 -3.393486)', '2026-07-28 15:01:55', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01772 -3.393473)'), GeomFromEWKT('SRID=4674;POINT (-39.017733 -3.393486)'))) / (select extract(epoch from '2026-07-28 15:01:55'::timestamp) - extract(epoch from '2026-07-28 15:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01772 -3.393473)'), GeomFromEWKT('SRID=4674;POINT (-39.017733 -3.393486)'))) / (select extract(epoch from '2026-07-28 15:01:55'::timestamp) - extract(epoch from '2026-07-28 15:01: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'), 47422, 'SRID=4674;POINT (-39.017756 -3.393489)', '2026-07-28 15:02:02', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017733 -3.393486)'), GeomFromEWKT('SRID=4674;POINT (-39.017756 -3.393489)'))) / (select extract(epoch from '2026-07-28 15:02:02'::timestamp) - extract(epoch from '2026-07-28 15:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017733 -3.393486)'), GeomFromEWKT('SRID=4674;POINT (-39.017756 -3.393489)'))) / (select extract(epoch from '2026-07-28 15:02:02'::timestamp) - extract(epoch from '2026-07-28 15:01: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'), 47422, 'SRID=4674;POINT (-39.017798 -3.393468)', '2026-07-28 15:02:12', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017756 -3.393489)'), GeomFromEWKT('SRID=4674;POINT (-39.017798 -3.393468)'))) / (select extract(epoch from '2026-07-28 15:02:12'::timestamp) - extract(epoch from '2026-07-28 15:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017756 -3.393489)'), GeomFromEWKT('SRID=4674;POINT (-39.017798 -3.393468)'))) / (select extract(epoch from '2026-07-28 15:02:12'::timestamp) - extract(epoch from '2026-07-28 15:02: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'), 47422, 'SRID=4674;POINT (-39.017849 -3.39343)', '2026-07-28 15:02:23', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017798 -3.393468)'), GeomFromEWKT('SRID=4674;POINT (-39.017849 -3.39343)'))) / (select extract(epoch from '2026-07-28 15:02:23'::timestamp) - extract(epoch from '2026-07-28 15:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017798 -3.393468)'), GeomFromEWKT('SRID=4674;POINT (-39.017849 -3.39343)'))) / (select extract(epoch from '2026-07-28 15:02:23'::timestamp) - extract(epoch from '2026-07-28 15:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017896 -3.39338)', '2026-07-28 15:02:36', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017849 -3.39343)'), GeomFromEWKT('SRID=4674;POINT (-39.017896 -3.39338)'))) / (select extract(epoch from '2026-07-28 15:02:36'::timestamp) - extract(epoch from '2026-07-28 15:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017849 -3.39343)'), GeomFromEWKT('SRID=4674;POINT (-39.017896 -3.39338)'))) / (select extract(epoch from '2026-07-28 15:02:36'::timestamp) - extract(epoch from '2026-07-28 15:02: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'), 47422, 'SRID=4674;POINT (-39.017936 -3.39335)', '2026-07-28 15:02:46', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017896 -3.39338)'), GeomFromEWKT('SRID=4674;POINT (-39.017936 -3.39335)'))) / (select extract(epoch from '2026-07-28 15:02:46'::timestamp) - extract(epoch from '2026-07-28 15:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017896 -3.39338)'), GeomFromEWKT('SRID=4674;POINT (-39.017936 -3.39335)'))) / (select extract(epoch from '2026-07-28 15:02:46'::timestamp) - extract(epoch from '2026-07-28 15:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017974 -3.393308)', '2026-07-28 15:02:57', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017936 -3.39335)'), GeomFromEWKT('SRID=4674;POINT (-39.017974 -3.393308)'))) / (select extract(epoch from '2026-07-28 15:02:57'::timestamp) - extract(epoch from '2026-07-28 15:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017936 -3.39335)'), GeomFromEWKT('SRID=4674;POINT (-39.017974 -3.393308)'))) / (select extract(epoch from '2026-07-28 15:02:57'::timestamp) - extract(epoch from '2026-07-28 15:02: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'), 47422, 'SRID=4674;POINT (-39.018004 -3.393265)', '2026-07-28 15:03:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017974 -3.393308)'), GeomFromEWKT('SRID=4674;POINT (-39.018004 -3.393265)'))) / (select extract(epoch from '2026-07-28 15:03:07'::timestamp) - extract(epoch from '2026-07-28 15:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017974 -3.393308)'), GeomFromEWKT('SRID=4674;POINT (-39.018004 -3.393265)'))) / (select extract(epoch from '2026-07-28 15:03:07'::timestamp) - extract(epoch from '2026-07-28 15:02:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018048 -3.393225)', '2026-07-28 15:03:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018004 -3.393265)'), GeomFromEWKT('SRID=4674;POINT (-39.018048 -3.393225)'))) / (select extract(epoch from '2026-07-28 15:03:19'::timestamp) - extract(epoch from '2026-07-28 15:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018004 -3.393265)'), GeomFromEWKT('SRID=4674;POINT (-39.018048 -3.393225)'))) / (select extract(epoch from '2026-07-28 15:03:19'::timestamp) - extract(epoch from '2026-07-28 15:03: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'), 47422, 'SRID=4674;POINT (-39.018076 -3.393196)', '2026-07-28 15:03:27', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018048 -3.393225)'), GeomFromEWKT('SRID=4674;POINT (-39.018076 -3.393196)'))) / (select extract(epoch from '2026-07-28 15:03:27'::timestamp) - extract(epoch from '2026-07-28 15:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018048 -3.393225)'), GeomFromEWKT('SRID=4674;POINT (-39.018076 -3.393196)'))) / (select extract(epoch from '2026-07-28 15:03:27'::timestamp) - extract(epoch from '2026-07-28 15:03: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'), 47422, 'SRID=4674;POINT (-39.018111 -3.393167)', '2026-07-28 15:03:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018076 -3.393196)'), GeomFromEWKT('SRID=4674;POINT (-39.018111 -3.393167)'))) / (select extract(epoch from '2026-07-28 15:03:37'::timestamp) - extract(epoch from '2026-07-28 15:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018076 -3.393196)'), GeomFromEWKT('SRID=4674;POINT (-39.018111 -3.393167)'))) / (select extract(epoch from '2026-07-28 15:03:37'::timestamp) - extract(epoch from '2026-07-28 15:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018138 -3.393141)', '2026-07-28 15:03:46', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018111 -3.393167)'), GeomFromEWKT('SRID=4674;POINT (-39.018138 -3.393141)'))) / (select extract(epoch from '2026-07-28 15:03:46'::timestamp) - extract(epoch from '2026-07-28 15:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018111 -3.393167)'), GeomFromEWKT('SRID=4674;POINT (-39.018138 -3.393141)'))) / (select extract(epoch from '2026-07-28 15:03:46'::timestamp) - extract(epoch from '2026-07-28 15:03: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'), 47422, 'SRID=4674;POINT (-39.018183 -3.393105)', '2026-07-28 15:03:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018138 -3.393141)'), GeomFromEWKT('SRID=4674;POINT (-39.018183 -3.393105)'))) / (select extract(epoch from '2026-07-28 15:03:59'::timestamp) - extract(epoch from '2026-07-28 15:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018138 -3.393141)'), GeomFromEWKT('SRID=4674;POINT (-39.018183 -3.393105)'))) / (select extract(epoch from '2026-07-28 15:03:59'::timestamp) - extract(epoch from '2026-07-28 15:03: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'), 47422, 'SRID=4674;POINT (-39.018211 -3.393082)', '2026-07-28 15:04:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018183 -3.393105)'), GeomFromEWKT('SRID=4674;POINT (-39.018211 -3.393082)'))) / (select extract(epoch from '2026-07-28 15:04:08'::timestamp) - extract(epoch from '2026-07-28 15:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018183 -3.393105)'), GeomFromEWKT('SRID=4674;POINT (-39.018211 -3.393082)'))) / (select extract(epoch from '2026-07-28 15:04:08'::timestamp) - extract(epoch from '2026-07-28 15:03: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'), 47422, 'SRID=4674;POINT (-39.018251 -3.393028)', '2026-07-28 15:04:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018211 -3.393082)'), GeomFromEWKT('SRID=4674;POINT (-39.018251 -3.393028)'))) / (select extract(epoch from '2026-07-28 15:04:24'::timestamp) - extract(epoch from '2026-07-28 15:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018211 -3.393082)'), GeomFromEWKT('SRID=4674;POINT (-39.018251 -3.393028)'))) / (select extract(epoch from '2026-07-28 15:04:24'::timestamp) - extract(epoch from '2026-07-28 15:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018297 -3.393)', '2026-07-28 15:04:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018251 -3.393028)'), GeomFromEWKT('SRID=4674;POINT (-39.018297 -3.393)'))) / (select extract(epoch from '2026-07-28 15:04:39'::timestamp) - extract(epoch from '2026-07-28 15:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018251 -3.393028)'), GeomFromEWKT('SRID=4674;POINT (-39.018297 -3.393)'))) / (select extract(epoch from '2026-07-28 15:04:39'::timestamp) - extract(epoch from '2026-07-28 15:04: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'), 47422, 'SRID=4674;POINT (-39.018351 -3.392969)', '2026-07-28 15:04:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018297 -3.393)'), GeomFromEWKT('SRID=4674;POINT (-39.018351 -3.392969)'))) / (select extract(epoch from '2026-07-28 15:04:54'::timestamp) - extract(epoch from '2026-07-28 15:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018297 -3.393)'), GeomFromEWKT('SRID=4674;POINT (-39.018351 -3.392969)'))) / (select extract(epoch from '2026-07-28 15:04:54'::timestamp) - extract(epoch from '2026-07-28 15:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018398 -3.392937)', '2026-07-28 15:05:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018351 -3.392969)'), GeomFromEWKT('SRID=4674;POINT (-39.018398 -3.392937)'))) / (select extract(epoch from '2026-07-28 15:05:10'::timestamp) - extract(epoch from '2026-07-28 15:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018351 -3.392969)'), GeomFromEWKT('SRID=4674;POINT (-39.018398 -3.392937)'))) / (select extract(epoch from '2026-07-28 15:05:10'::timestamp) - extract(epoch from '2026-07-28 15:04: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'), 47422, 'SRID=4674;POINT (-39.018439 -3.39292)', '2026-07-28 15:05:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018398 -3.392937)'), GeomFromEWKT('SRID=4674;POINT (-39.018439 -3.39292)'))) / (select extract(epoch from '2026-07-28 15:05:27'::timestamp) - extract(epoch from '2026-07-28 15:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018398 -3.392937)'), GeomFromEWKT('SRID=4674;POINT (-39.018439 -3.39292)'))) / (select extract(epoch from '2026-07-28 15:05:27'::timestamp) - extract(epoch from '2026-07-28 15:05: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'), 47422, 'SRID=4674;POINT (-39.018473 -3.392894)', '2026-07-28 15:05:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018439 -3.39292)'), GeomFromEWKT('SRID=4674;POINT (-39.018473 -3.392894)'))) / (select extract(epoch from '2026-07-28 15:05:49'::timestamp) - extract(epoch from '2026-07-28 15:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018439 -3.39292)'), GeomFromEWKT('SRID=4674;POINT (-39.018473 -3.392894)'))) / (select extract(epoch from '2026-07-28 15:05:49'::timestamp) - extract(epoch from '2026-07-28 15:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018481 -3.392887)', '2026-07-28 15:06:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018473 -3.392894)'), GeomFromEWKT('SRID=4674;POINT (-39.018481 -3.392887)'))) / (select extract(epoch from '2026-07-28 15:06:04'::timestamp) - extract(epoch from '2026-07-28 15:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018473 -3.392894)'), GeomFromEWKT('SRID=4674;POINT (-39.018481 -3.392887)'))) / (select extract(epoch from '2026-07-28 15:06:04'::timestamp) - extract(epoch from '2026-07-28 15:05: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'), 47422, 'SRID=4674;POINT (-39.018491 -3.392875)', '2026-07-28 15:06:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018481 -3.392887)'), GeomFromEWKT('SRID=4674;POINT (-39.018491 -3.392875)'))) / (select extract(epoch from '2026-07-28 15:06:18'::timestamp) - extract(epoch from '2026-07-28 15:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018481 -3.392887)'), GeomFromEWKT('SRID=4674;POINT (-39.018491 -3.392875)'))) / (select extract(epoch from '2026-07-28 15:06:18'::timestamp) - extract(epoch from '2026-07-28 15:06: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'), 47422, 'SRID=4674;POINT (-39.018496 -3.392862)', '2026-07-28 15:06:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018491 -3.392875)'), GeomFromEWKT('SRID=4674;POINT (-39.018496 -3.392862)'))) / (select extract(epoch from '2026-07-28 15:06:36'::timestamp) - extract(epoch from '2026-07-28 15:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018491 -3.392875)'), GeomFromEWKT('SRID=4674;POINT (-39.018496 -3.392862)'))) / (select extract(epoch from '2026-07-28 15:06:36'::timestamp) - extract(epoch from '2026-07-28 15:06:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.0185 -3.392856)', '2026-07-28 15:06:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018496 -3.392862)'), GeomFromEWKT('SRID=4674;POINT (-39.0185 -3.392856)'))) / (select extract(epoch from '2026-07-28 15:06:47'::timestamp) - extract(epoch from '2026-07-28 15:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018496 -3.392862)'), GeomFromEWKT('SRID=4674;POINT (-39.0185 -3.392856)'))) / (select extract(epoch from '2026-07-28 15:06:47'::timestamp) - extract(epoch from '2026-07-28 15:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018516 -3.392845)', '2026-07-28 15:07:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0185 -3.392856)'), GeomFromEWKT('SRID=4674;POINT (-39.018516 -3.392845)'))) / (select extract(epoch from '2026-07-28 15:07:02'::timestamp) - extract(epoch from '2026-07-28 15:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0185 -3.392856)'), GeomFromEWKT('SRID=4674;POINT (-39.018516 -3.392845)'))) / (select extract(epoch from '2026-07-28 15:07:02'::timestamp) - extract(epoch from '2026-07-28 15:06: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'), 47422, 'SRID=4674;POINT (-39.018533 -3.392833)', '2026-07-28 15:07:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018516 -3.392845)'), GeomFromEWKT('SRID=4674;POINT (-39.018533 -3.392833)'))) / (select extract(epoch from '2026-07-28 15:07:13'::timestamp) - extract(epoch from '2026-07-28 15:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018516 -3.392845)'), GeomFromEWKT('SRID=4674;POINT (-39.018533 -3.392833)'))) / (select extract(epoch from '2026-07-28 15:07:13'::timestamp) - extract(epoch from '2026-07-28 15:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018549 -3.392816)', '2026-07-28 15:07:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018533 -3.392833)'), GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.392816)'))) / (select extract(epoch from '2026-07-28 15:07:24'::timestamp) - extract(epoch from '2026-07-28 15:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018533 -3.392833)'), GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.392816)'))) / (select extract(epoch from '2026-07-28 15:07:24'::timestamp) - extract(epoch from '2026-07-28 15:07: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'), 47422, 'SRID=4674;POINT (-39.018561 -3.39279)', '2026-07-28 15:07:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.392816)'), GeomFromEWKT('SRID=4674;POINT (-39.018561 -3.39279)'))) / (select extract(epoch from '2026-07-28 15:07:41'::timestamp) - extract(epoch from '2026-07-28 15:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.392816)'), GeomFromEWKT('SRID=4674;POINT (-39.018561 -3.39279)'))) / (select extract(epoch from '2026-07-28 15:07:41'::timestamp) - extract(epoch from '2026-07-28 15:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018562 -3.392748)', '2026-07-28 15:07:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018561 -3.39279)'), GeomFromEWKT('SRID=4674;POINT (-39.018562 -3.392748)'))) / (select extract(epoch from '2026-07-28 15:07:51'::timestamp) - extract(epoch from '2026-07-28 15:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018561 -3.39279)'), GeomFromEWKT('SRID=4674;POINT (-39.018562 -3.392748)'))) / (select extract(epoch from '2026-07-28 15:07:51'::timestamp) - extract(epoch from '2026-07-28 15:07: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'), 47422, 'SRID=4674;POINT (-39.018566 -3.392716)', '2026-07-28 15:08:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018562 -3.392748)'), GeomFromEWKT('SRID=4674;POINT (-39.018566 -3.392716)'))) / (select extract(epoch from '2026-07-28 15:08:01'::timestamp) - extract(epoch from '2026-07-28 15:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018562 -3.392748)'), GeomFromEWKT('SRID=4674;POINT (-39.018566 -3.392716)'))) / (select extract(epoch from '2026-07-28 15:08:01'::timestamp) - extract(epoch from '2026-07-28 15:07: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'), 47422, 'SRID=4674;POINT (-39.018569 -3.392692)', '2026-07-28 15:08:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018566 -3.392716)'), GeomFromEWKT('SRID=4674;POINT (-39.018569 -3.392692)'))) / (select extract(epoch from '2026-07-28 15:08:10'::timestamp) - extract(epoch from '2026-07-28 15:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018566 -3.392716)'), GeomFromEWKT('SRID=4674;POINT (-39.018569 -3.392692)'))) / (select extract(epoch from '2026-07-28 15:08:10'::timestamp) - extract(epoch from '2026-07-28 15:08: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'), 47422, 'SRID=4674;POINT (-39.018567 -3.39267)', '2026-07-28 15:08:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018569 -3.392692)'), GeomFromEWKT('SRID=4674;POINT (-39.018567 -3.39267)'))) / (select extract(epoch from '2026-07-28 15:08:21'::timestamp) - extract(epoch from '2026-07-28 15:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018569 -3.392692)'), GeomFromEWKT('SRID=4674;POINT (-39.018567 -3.39267)'))) / (select extract(epoch from '2026-07-28 15:08:21'::timestamp) - extract(epoch from '2026-07-28 15:08: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'), 47422, 'SRID=4674;POINT (-39.018568 -3.39265)', '2026-07-28 15:08:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018567 -3.39267)'), GeomFromEWKT('SRID=4674;POINT (-39.018568 -3.39265)'))) / (select extract(epoch from '2026-07-28 15:08:30'::timestamp) - extract(epoch from '2026-07-28 15:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018567 -3.39267)'), GeomFromEWKT('SRID=4674;POINT (-39.018568 -3.39265)'))) / (select extract(epoch from '2026-07-28 15:08:30'::timestamp) - extract(epoch from '2026-07-28 15:08: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'), 47422, 'SRID=4674;POINT (-39.01857 -3.392636)', '2026-07-28 15:08:38', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018568 -3.39265)'), GeomFromEWKT('SRID=4674;POINT (-39.01857 -3.392636)'))) / (select extract(epoch from '2026-07-28 15:08:38'::timestamp) - extract(epoch from '2026-07-28 15:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018568 -3.39265)'), GeomFromEWKT('SRID=4674;POINT (-39.01857 -3.392636)'))) / (select extract(epoch from '2026-07-28 15:08:38'::timestamp) - extract(epoch from '2026-07-28 15:08: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'), 47422, 'SRID=4674;POINT (-39.018579 -3.392607)', '2026-07-28 15:08:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01857 -3.392636)'), GeomFromEWKT('SRID=4674;POINT (-39.018579 -3.392607)'))) / (select extract(epoch from '2026-07-28 15:08:56'::timestamp) - extract(epoch from '2026-07-28 15:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01857 -3.392636)'), GeomFromEWKT('SRID=4674;POINT (-39.018579 -3.392607)'))) / (select extract(epoch from '2026-07-28 15:08:56'::timestamp) - extract(epoch from '2026-07-28 15:08: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'), 47422, 'SRID=4674;POINT (-39.01857 -3.39259)', '2026-07-28 15:09:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018579 -3.392607)'), GeomFromEWKT('SRID=4674;POINT (-39.01857 -3.39259)'))) / (select extract(epoch from '2026-07-28 15:09:10'::timestamp) - extract(epoch from '2026-07-28 15:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018579 -3.392607)'), GeomFromEWKT('SRID=4674;POINT (-39.01857 -3.39259)'))) / (select extract(epoch from '2026-07-28 15:09:10'::timestamp) - extract(epoch from '2026-07-28 15:08: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'), 47422, 'SRID=4674;POINT (-39.018566 -3.39257)', '2026-07-28 15:09:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01857 -3.39259)'), GeomFromEWKT('SRID=4674;POINT (-39.018566 -3.39257)'))) / (select extract(epoch from '2026-07-28 15:09:22'::timestamp) - extract(epoch from '2026-07-28 15:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01857 -3.39259)'), GeomFromEWKT('SRID=4674;POINT (-39.018566 -3.39257)'))) / (select extract(epoch from '2026-07-28 15:09:22'::timestamp) - extract(epoch from '2026-07-28 15:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.01856 -3.392556)', '2026-07-28 15:09:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018566 -3.39257)'), GeomFromEWKT('SRID=4674;POINT (-39.01856 -3.392556)'))) / (select extract(epoch from '2026-07-28 15:09:31'::timestamp) - extract(epoch from '2026-07-28 15:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018566 -3.39257)'), GeomFromEWKT('SRID=4674;POINT (-39.01856 -3.392556)'))) / (select extract(epoch from '2026-07-28 15:09:31'::timestamp) - extract(epoch from '2026-07-28 15:09:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018558 -3.392535)', '2026-07-28 15:09:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01856 -3.392556)'), GeomFromEWKT('SRID=4674;POINT (-39.018558 -3.392535)'))) / (select extract(epoch from '2026-07-28 15:09:42'::timestamp) - extract(epoch from '2026-07-28 15:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01856 -3.392556)'), GeomFromEWKT('SRID=4674;POINT (-39.018558 -3.392535)'))) / (select extract(epoch from '2026-07-28 15:09:42'::timestamp) - extract(epoch from '2026-07-28 15:09: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'), 47422, 'SRID=4674;POINT (-39.018546 -3.392511)', '2026-07-28 15:09:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018558 -3.392535)'), GeomFromEWKT('SRID=4674;POINT (-39.018546 -3.392511)'))) / (select extract(epoch from '2026-07-28 15:09:51'::timestamp) - extract(epoch from '2026-07-28 15:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018558 -3.392535)'), GeomFromEWKT('SRID=4674;POINT (-39.018546 -3.392511)'))) / (select extract(epoch from '2026-07-28 15:09:51'::timestamp) - extract(epoch from '2026-07-28 15:09: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'), 47422, 'SRID=4674;POINT (-39.018549 -3.392497)', '2026-07-28 15:10:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018546 -3.392511)'), GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.392497)'))) / (select extract(epoch from '2026-07-28 15:10:00'::timestamp) - extract(epoch from '2026-07-28 15:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018546 -3.392511)'), GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.392497)'))) / (select extract(epoch from '2026-07-28 15:10:00'::timestamp) - extract(epoch from '2026-07-28 15:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018551 -3.392478)', '2026-07-28 15:10:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.392497)'), GeomFromEWKT('SRID=4674;POINT (-39.018551 -3.392478)'))) / (select extract(epoch from '2026-07-28 15:10:10'::timestamp) - extract(epoch from '2026-07-28 15:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.392497)'), GeomFromEWKT('SRID=4674;POINT (-39.018551 -3.392478)'))) / (select extract(epoch from '2026-07-28 15:10:10'::timestamp) - extract(epoch from '2026-07-28 15:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.01854 -3.392464)', '2026-07-28 15:10:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018551 -3.392478)'), GeomFromEWKT('SRID=4674;POINT (-39.01854 -3.392464)'))) / (select extract(epoch from '2026-07-28 15:10:17'::timestamp) - extract(epoch from '2026-07-28 15:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018551 -3.392478)'), GeomFromEWKT('SRID=4674;POINT (-39.01854 -3.392464)'))) / (select extract(epoch from '2026-07-28 15:10:17'::timestamp) - extract(epoch from '2026-07-28 15:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018522 -3.392442)', '2026-07-28 15:10:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01854 -3.392464)'), GeomFromEWKT('SRID=4674;POINT (-39.018522 -3.392442)'))) / (select extract(epoch from '2026-07-28 15:10:30'::timestamp) - extract(epoch from '2026-07-28 15:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01854 -3.392464)'), GeomFromEWKT('SRID=4674;POINT (-39.018522 -3.392442)'))) / (select extract(epoch from '2026-07-28 15:10:30'::timestamp) - extract(epoch from '2026-07-28 15:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018521 -3.392439)', '2026-07-28 15:10:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018522 -3.392442)'), GeomFromEWKT('SRID=4674;POINT (-39.018521 -3.392439)'))) / (select extract(epoch from '2026-07-28 15:10:40'::timestamp) - extract(epoch from '2026-07-28 15:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018522 -3.392442)'), GeomFromEWKT('SRID=4674;POINT (-39.018521 -3.392439)'))) / (select extract(epoch from '2026-07-28 15:10:40'::timestamp) - extract(epoch from '2026-07-28 15:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018528 -3.392428)', '2026-07-28 15:10:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018521 -3.392439)'), GeomFromEWKT('SRID=4674;POINT (-39.018528 -3.392428)'))) / (select extract(epoch from '2026-07-28 15:10:52'::timestamp) - extract(epoch from '2026-07-28 15:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018521 -3.392439)'), GeomFromEWKT('SRID=4674;POINT (-39.018528 -3.392428)'))) / (select extract(epoch from '2026-07-28 15:10:52'::timestamp) - extract(epoch from '2026-07-28 15:10: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'), 47422, 'SRID=4674;POINT (-39.018523 -3.392417)', '2026-07-28 15:11:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018528 -3.392428)'), GeomFromEWKT('SRID=4674;POINT (-39.018523 -3.392417)'))) / (select extract(epoch from '2026-07-28 15:11:05'::timestamp) - extract(epoch from '2026-07-28 15:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018528 -3.392428)'), GeomFromEWKT('SRID=4674;POINT (-39.018523 -3.392417)'))) / (select extract(epoch from '2026-07-28 15:11:05'::timestamp) - extract(epoch from '2026-07-28 15:10: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'), 47422, 'SRID=4674;POINT (-39.018516 -3.392404)', '2026-07-28 15:11:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018523 -3.392417)'), GeomFromEWKT('SRID=4674;POINT (-39.018516 -3.392404)'))) / (select extract(epoch from '2026-07-28 15:11:13'::timestamp) - extract(epoch from '2026-07-28 15:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018523 -3.392417)'), GeomFromEWKT('SRID=4674;POINT (-39.018516 -3.392404)'))) / (select extract(epoch from '2026-07-28 15:11:13'::timestamp) - extract(epoch from '2026-07-28 15:11: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'), 47422, 'SRID=4674;POINT (-39.018511 -3.392395)', '2026-07-28 15:11:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018516 -3.392404)'), GeomFromEWKT('SRID=4674;POINT (-39.018511 -3.392395)'))) / (select extract(epoch from '2026-07-28 15:11:24'::timestamp) - extract(epoch from '2026-07-28 15:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018516 -3.392404)'), GeomFromEWKT('SRID=4674;POINT (-39.018511 -3.392395)'))) / (select extract(epoch from '2026-07-28 15:11:24'::timestamp) - extract(epoch from '2026-07-28 15:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018498 -3.392374)', '2026-07-28 15:11:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018511 -3.392395)'), GeomFromEWKT('SRID=4674;POINT (-39.018498 -3.392374)'))) / (select extract(epoch from '2026-07-28 15:11:40'::timestamp) - extract(epoch from '2026-07-28 15:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018511 -3.392395)'), GeomFromEWKT('SRID=4674;POINT (-39.018498 -3.392374)'))) / (select extract(epoch from '2026-07-28 15:11:40'::timestamp) - extract(epoch from '2026-07-28 15:11: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'), 47422, 'SRID=4674;POINT (-39.018477 -3.392371)', '2026-07-28 15:11:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018498 -3.392374)'), GeomFromEWKT('SRID=4674;POINT (-39.018477 -3.392371)'))) / (select extract(epoch from '2026-07-28 15:11:52'::timestamp) - extract(epoch from '2026-07-28 15:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018498 -3.392374)'), GeomFromEWKT('SRID=4674;POINT (-39.018477 -3.392371)'))) / (select extract(epoch from '2026-07-28 15:11:52'::timestamp) - extract(epoch from '2026-07-28 15:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018467 -3.392366)', '2026-07-28 15:11:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018477 -3.392371)'), GeomFromEWKT('SRID=4674;POINT (-39.018467 -3.392366)'))) / (select extract(epoch from '2026-07-28 15:11:58'::timestamp) - extract(epoch from '2026-07-28 15:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018477 -3.392371)'), GeomFromEWKT('SRID=4674;POINT (-39.018467 -3.392366)'))) / (select extract(epoch from '2026-07-28 15:11:58'::timestamp) - extract(epoch from '2026-07-28 15:11: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'), 47422, 'SRID=4674;POINT (-39.018462 -3.392363)', '2026-07-28 15:12:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018467 -3.392366)'), GeomFromEWKT('SRID=4674;POINT (-39.018462 -3.392363)'))) / (select extract(epoch from '2026-07-28 15:12:08'::timestamp) - extract(epoch from '2026-07-28 15:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018467 -3.392366)'), GeomFromEWKT('SRID=4674;POINT (-39.018462 -3.392363)'))) / (select extract(epoch from '2026-07-28 15:12:08'::timestamp) - extract(epoch from '2026-07-28 15:11: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'), 47422, 'SRID=4674;POINT (-39.018446 -3.392358)', '2026-07-28 15:12:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018462 -3.392363)'), GeomFromEWKT('SRID=4674;POINT (-39.018446 -3.392358)'))) / (select extract(epoch from '2026-07-28 15:12:17'::timestamp) - extract(epoch from '2026-07-28 15:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018462 -3.392363)'), GeomFromEWKT('SRID=4674;POINT (-39.018446 -3.392358)'))) / (select extract(epoch from '2026-07-28 15:12:17'::timestamp) - extract(epoch from '2026-07-28 15:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018419 -3.392359)', '2026-07-28 15:12:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018446 -3.392358)'), GeomFromEWKT('SRID=4674;POINT (-39.018419 -3.392359)'))) / (select extract(epoch from '2026-07-28 15:12:28'::timestamp) - extract(epoch from '2026-07-28 15:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018446 -3.392358)'), GeomFromEWKT('SRID=4674;POINT (-39.018419 -3.392359)'))) / (select extract(epoch from '2026-07-28 15:12:28'::timestamp) - extract(epoch from '2026-07-28 15:12: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'), 47422, 'SRID=4674;POINT (-39.018407 -3.392355)', '2026-07-28 15:12:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018419 -3.392359)'), GeomFromEWKT('SRID=4674;POINT (-39.018407 -3.392355)'))) / (select extract(epoch from '2026-07-28 15:12:35'::timestamp) - extract(epoch from '2026-07-28 15:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018419 -3.392359)'), GeomFromEWKT('SRID=4674;POINT (-39.018407 -3.392355)'))) / (select extract(epoch from '2026-07-28 15:12:35'::timestamp) - extract(epoch from '2026-07-28 15:12: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'), 47422, 'SRID=4674;POINT (-39.018395 -3.392355)', '2026-07-28 15:12:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018407 -3.392355)'), GeomFromEWKT('SRID=4674;POINT (-39.018395 -3.392355)'))) / (select extract(epoch from '2026-07-28 15:12:44'::timestamp) - extract(epoch from '2026-07-28 15:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018407 -3.392355)'), GeomFromEWKT('SRID=4674;POINT (-39.018395 -3.392355)'))) / (select extract(epoch from '2026-07-28 15:12:44'::timestamp) - extract(epoch from '2026-07-28 15:12: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'), 47422, 'SRID=4674;POINT (-39.018396 -3.392353)', '2026-07-28 15:12:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018395 -3.392355)'), GeomFromEWKT('SRID=4674;POINT (-39.018396 -3.392353)'))) / (select extract(epoch from '2026-07-28 15:12:52'::timestamp) - extract(epoch from '2026-07-28 15:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018395 -3.392355)'), GeomFromEWKT('SRID=4674;POINT (-39.018396 -3.392353)'))) / (select extract(epoch from '2026-07-28 15:12:52'::timestamp) - extract(epoch from '2026-07-28 15:12: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'), 47422, 'SRID=4674;POINT (-39.018387 -3.392355)', '2026-07-28 15:13:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018396 -3.392353)'), GeomFromEWKT('SRID=4674;POINT (-39.018387 -3.392355)'))) / (select extract(epoch from '2026-07-28 15:13:04'::timestamp) - extract(epoch from '2026-07-28 15:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018396 -3.392353)'), GeomFromEWKT('SRID=4674;POINT (-39.018387 -3.392355)'))) / (select extract(epoch from '2026-07-28 15:13:04'::timestamp) - extract(epoch from '2026-07-28 15:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018375 -3.392349)', '2026-07-28 15:13:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018387 -3.392355)'), GeomFromEWKT('SRID=4674;POINT (-39.018375 -3.392349)'))) / (select extract(epoch from '2026-07-28 15:13:14'::timestamp) - extract(epoch from '2026-07-28 15:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018387 -3.392355)'), GeomFromEWKT('SRID=4674;POINT (-39.018375 -3.392349)'))) / (select extract(epoch from '2026-07-28 15:13:14'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018359 -3.392351)', '2026-07-28 15:13:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018375 -3.392349)'), GeomFromEWKT('SRID=4674;POINT (-39.018359 -3.392351)'))) / (select extract(epoch from '2026-07-28 15:13:26'::timestamp) - extract(epoch from '2026-07-28 15:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018375 -3.392349)'), GeomFromEWKT('SRID=4674;POINT (-39.018359 -3.392351)'))) / (select extract(epoch from '2026-07-28 15:13:26'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018348 -3.392355)', '2026-07-28 15:13:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018359 -3.392351)'), GeomFromEWKT('SRID=4674;POINT (-39.018348 -3.392355)'))) / (select extract(epoch from '2026-07-28 15:13:34'::timestamp) - extract(epoch from '2026-07-28 15:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018359 -3.392351)'), GeomFromEWKT('SRID=4674;POINT (-39.018348 -3.392355)'))) / (select extract(epoch from '2026-07-28 15:13:34'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018331 -3.392358)', '2026-07-28 15:13:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018348 -3.392355)'), GeomFromEWKT('SRID=4674;POINT (-39.018331 -3.392358)'))) / (select extract(epoch from '2026-07-28 15:13:43'::timestamp) - extract(epoch from '2026-07-28 15:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018348 -3.392355)'), GeomFromEWKT('SRID=4674;POINT (-39.018331 -3.392358)'))) / (select extract(epoch from '2026-07-28 15:13:43'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018321 -3.392354)', '2026-07-28 15:13:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018331 -3.392358)'), GeomFromEWKT('SRID=4674;POINT (-39.018321 -3.392354)'))) / (select extract(epoch from '2026-07-28 15:13:55'::timestamp) - extract(epoch from '2026-07-28 15:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018331 -3.392358)'), GeomFromEWKT('SRID=4674;POINT (-39.018321 -3.392354)'))) / (select extract(epoch from '2026-07-28 15:13:55'::timestamp) - extract(epoch from '2026-07-28 15:13: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'), 47422, 'SRID=4674;POINT (-39.018312 -3.392352)', '2026-07-28 15:14:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018321 -3.392354)'), GeomFromEWKT('SRID=4674;POINT (-39.018312 -3.392352)'))) / (select extract(epoch from '2026-07-28 15:14:02'::timestamp) - extract(epoch from '2026-07-28 15:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018321 -3.392354)'), GeomFromEWKT('SRID=4674;POINT (-39.018312 -3.392352)'))) / (select extract(epoch from '2026-07-28 15:14:02'::timestamp) - extract(epoch from '2026-07-28 15:13:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018298 -3.392357)', '2026-07-28 15:14:09', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018312 -3.392352)'), GeomFromEWKT('SRID=4674;POINT (-39.018298 -3.392357)'))) / (select extract(epoch from '2026-07-28 15:14:09'::timestamp) - extract(epoch from '2026-07-28 15:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018312 -3.392352)'), GeomFromEWKT('SRID=4674;POINT (-39.018298 -3.392357)'))) / (select extract(epoch from '2026-07-28 15:14:09'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.01829 -3.392364)', '2026-07-28 15:14:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018298 -3.392357)'), GeomFromEWKT('SRID=4674;POINT (-39.01829 -3.392364)'))) / (select extract(epoch from '2026-07-28 15:14:19'::timestamp) - extract(epoch from '2026-07-28 15:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018298 -3.392357)'), GeomFromEWKT('SRID=4674;POINT (-39.01829 -3.392364)'))) / (select extract(epoch from '2026-07-28 15:14:19'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018279 -3.392359)', '2026-07-28 15:14:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01829 -3.392364)'), GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.392359)'))) / (select extract(epoch from '2026-07-28 15:14:29'::timestamp) - extract(epoch from '2026-07-28 15:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01829 -3.392364)'), GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.392359)'))) / (select extract(epoch from '2026-07-28 15:14:29'::timestamp) - extract(epoch from '2026-07-28 15:14:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018299 -3.392363)', '2026-07-28 15:14:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.392359)'), GeomFromEWKT('SRID=4674;POINT (-39.018299 -3.392363)'))) / (select extract(epoch from '2026-07-28 15:14:37'::timestamp) - extract(epoch from '2026-07-28 15:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.392359)'), GeomFromEWKT('SRID=4674;POINT (-39.018299 -3.392363)'))) / (select extract(epoch from '2026-07-28 15:14:37'::timestamp) - extract(epoch from '2026-07-28 15:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018332 -3.392364)', '2026-07-28 15:14:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018299 -3.392363)'), GeomFromEWKT('SRID=4674;POINT (-39.018332 -3.392364)'))) / (select extract(epoch from '2026-07-28 15:14:47'::timestamp) - extract(epoch from '2026-07-28 15:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018299 -3.392363)'), GeomFromEWKT('SRID=4674;POINT (-39.018332 -3.392364)'))) / (select extract(epoch from '2026-07-28 15:14:47'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018361 -3.392356)', '2026-07-28 15:14:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018332 -3.392364)'), GeomFromEWKT('SRID=4674;POINT (-39.018361 -3.392356)'))) / (select extract(epoch from '2026-07-28 15:14:54'::timestamp) - extract(epoch from '2026-07-28 15:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018332 -3.392364)'), GeomFromEWKT('SRID=4674;POINT (-39.018361 -3.392356)'))) / (select extract(epoch from '2026-07-28 15:14:54'::timestamp) - extract(epoch from '2026-07-28 15:14: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'), 47422, 'SRID=4674;POINT (-39.018397 -3.39235)', '2026-07-28 15:15:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018361 -3.392356)'), GeomFromEWKT('SRID=4674;POINT (-39.018397 -3.39235)'))) / (select extract(epoch from '2026-07-28 15:15:03'::timestamp) - extract(epoch from '2026-07-28 15:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018361 -3.392356)'), GeomFromEWKT('SRID=4674;POINT (-39.018397 -3.39235)'))) / (select extract(epoch from '2026-07-28 15:15:03'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018426 -3.392346)', '2026-07-28 15:15:11', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018397 -3.39235)'), GeomFromEWKT('SRID=4674;POINT (-39.018426 -3.392346)'))) / (select extract(epoch from '2026-07-28 15:15:11'::timestamp) - extract(epoch from '2026-07-28 15:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018397 -3.39235)'), GeomFromEWKT('SRID=4674;POINT (-39.018426 -3.392346)'))) / (select extract(epoch from '2026-07-28 15:15:11'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018474 -3.392346)', '2026-07-28 15:15:21', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018426 -3.392346)'), GeomFromEWKT('SRID=4674;POINT (-39.018474 -3.392346)'))) / (select extract(epoch from '2026-07-28 15:15:21'::timestamp) - extract(epoch from '2026-07-28 15:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018426 -3.392346)'), GeomFromEWKT('SRID=4674;POINT (-39.018474 -3.392346)'))) / (select extract(epoch from '2026-07-28 15:15:21'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018507 -3.392341)', '2026-07-28 15:15:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018474 -3.392346)'), GeomFromEWKT('SRID=4674;POINT (-39.018507 -3.392341)'))) / (select extract(epoch from '2026-07-28 15:15:29'::timestamp) - extract(epoch from '2026-07-28 15:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018474 -3.392346)'), GeomFromEWKT('SRID=4674;POINT (-39.018507 -3.392341)'))) / (select extract(epoch from '2026-07-28 15:15:29'::timestamp) - extract(epoch from '2026-07-28 15:15: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'), 47422, 'SRID=4674;POINT (-39.01855 -3.392332)', '2026-07-28 15:15:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018507 -3.392341)'), GeomFromEWKT('SRID=4674;POINT (-39.01855 -3.392332)'))) / (select extract(epoch from '2026-07-28 15:15:38'::timestamp) - extract(epoch from '2026-07-28 15:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018507 -3.392341)'), GeomFromEWKT('SRID=4674;POINT (-39.01855 -3.392332)'))) / (select extract(epoch from '2026-07-28 15:15:38'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018601 -3.392309)', '2026-07-28 15:15:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01855 -3.392332)'), GeomFromEWKT('SRID=4674;POINT (-39.018601 -3.392309)'))) / (select extract(epoch from '2026-07-28 15:15:51'::timestamp) - extract(epoch from '2026-07-28 15:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01855 -3.392332)'), GeomFromEWKT('SRID=4674;POINT (-39.018601 -3.392309)'))) / (select extract(epoch from '2026-07-28 15:15:51'::timestamp) - extract(epoch from '2026-07-28 15:15: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'), 47422, 'SRID=4674;POINT (-39.018643 -3.39229)', '2026-07-28 15:16:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018601 -3.392309)'), GeomFromEWKT('SRID=4674;POINT (-39.018643 -3.39229)'))) / (select extract(epoch from '2026-07-28 15:16:05'::timestamp) - extract(epoch from '2026-07-28 15:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018601 -3.392309)'), GeomFromEWKT('SRID=4674;POINT (-39.018643 -3.39229)'))) / (select extract(epoch from '2026-07-28 15:16:05'::timestamp) - extract(epoch from '2026-07-28 15:15: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'), 47422, 'SRID=4674;POINT (-39.018654 -3.392286)', '2026-07-28 15:16:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018643 -3.39229)'), GeomFromEWKT('SRID=4674;POINT (-39.018654 -3.392286)'))) / (select extract(epoch from '2026-07-28 15:16:16'::timestamp) - extract(epoch from '2026-07-28 15:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018643 -3.39229)'), GeomFromEWKT('SRID=4674;POINT (-39.018654 -3.392286)'))) / (select extract(epoch from '2026-07-28 15:16:16'::timestamp) - extract(epoch from '2026-07-28 15:16: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'), 47422, 'SRID=4674;POINT (-39.018685 -3.392291)', '2026-07-28 15:16:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018654 -3.392286)'), GeomFromEWKT('SRID=4674;POINT (-39.018685 -3.392291)'))) / (select extract(epoch from '2026-07-28 15:16:27'::timestamp) - extract(epoch from '2026-07-28 15:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018654 -3.392286)'), GeomFromEWKT('SRID=4674;POINT (-39.018685 -3.392291)'))) / (select extract(epoch from '2026-07-28 15:16:27'::timestamp) - extract(epoch from '2026-07-28 15:16: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'), 47422, 'SRID=4674;POINT (-39.018706 -3.392289)', '2026-07-28 15:16:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018685 -3.392291)'), GeomFromEWKT('SRID=4674;POINT (-39.018706 -3.392289)'))) / (select extract(epoch from '2026-07-28 15:16:36'::timestamp) - extract(epoch from '2026-07-28 15:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018685 -3.392291)'), GeomFromEWKT('SRID=4674;POINT (-39.018706 -3.392289)'))) / (select extract(epoch from '2026-07-28 15:16:36'::timestamp) - extract(epoch from '2026-07-28 15:16: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'), 47422, 'SRID=4674;POINT (-39.018724 -3.392281)', '2026-07-28 15:16:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018706 -3.392289)'), GeomFromEWKT('SRID=4674;POINT (-39.018724 -3.392281)'))) / (select extract(epoch from '2026-07-28 15:16:45'::timestamp) - extract(epoch from '2026-07-28 15:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018706 -3.392289)'), GeomFromEWKT('SRID=4674;POINT (-39.018724 -3.392281)'))) / (select extract(epoch from '2026-07-28 15:16:45'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018746 -3.392273)', '2026-07-28 15:16:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018724 -3.392281)'), GeomFromEWKT('SRID=4674;POINT (-39.018746 -3.392273)'))) / (select extract(epoch from '2026-07-28 15:16:56'::timestamp) - extract(epoch from '2026-07-28 15:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018724 -3.392281)'), GeomFromEWKT('SRID=4674;POINT (-39.018746 -3.392273)'))) / (select extract(epoch from '2026-07-28 15:16:56'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.01876 -3.392267)', '2026-07-28 15:17:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018746 -3.392273)'), GeomFromEWKT('SRID=4674;POINT (-39.01876 -3.392267)'))) / (select extract(epoch from '2026-07-28 15:17:06'::timestamp) - extract(epoch from '2026-07-28 15:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018746 -3.392273)'), GeomFromEWKT('SRID=4674;POINT (-39.01876 -3.392267)'))) / (select extract(epoch from '2026-07-28 15:17:06'::timestamp) - extract(epoch from '2026-07-28 15:16: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'), 47422, 'SRID=4674;POINT (-39.018778 -3.392261)', '2026-07-28 15:17:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01876 -3.392267)'), GeomFromEWKT('SRID=4674;POINT (-39.018778 -3.392261)'))) / (select extract(epoch from '2026-07-28 15:17:17'::timestamp) - extract(epoch from '2026-07-28 15:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01876 -3.392267)'), GeomFromEWKT('SRID=4674;POINT (-39.018778 -3.392261)'))) / (select extract(epoch from '2026-07-28 15:17:17'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018803 -3.392257)', '2026-07-28 15:17:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018778 -3.392261)'), GeomFromEWKT('SRID=4674;POINT (-39.018803 -3.392257)'))) / (select extract(epoch from '2026-07-28 15:17:25'::timestamp) - extract(epoch from '2026-07-28 15:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018778 -3.392261)'), GeomFromEWKT('SRID=4674;POINT (-39.018803 -3.392257)'))) / (select extract(epoch from '2026-07-28 15:17:25'::timestamp) - extract(epoch from '2026-07-28 15:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018816 -3.392251)', '2026-07-28 15:17:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018803 -3.392257)'), GeomFromEWKT('SRID=4674;POINT (-39.018816 -3.392251)'))) / (select extract(epoch from '2026-07-28 15:17:36'::timestamp) - extract(epoch from '2026-07-28 15:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018803 -3.392257)'), GeomFromEWKT('SRID=4674;POINT (-39.018816 -3.392251)'))) / (select extract(epoch from '2026-07-28 15:17:36'::timestamp) - extract(epoch from '2026-07-28 15:17:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018832 -3.392242)', '2026-07-28 15:17:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018816 -3.392251)'), GeomFromEWKT('SRID=4674;POINT (-39.018832 -3.392242)'))) / (select extract(epoch from '2026-07-28 15:17:47'::timestamp) - extract(epoch from '2026-07-28 15:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018816 -3.392251)'), GeomFromEWKT('SRID=4674;POINT (-39.018832 -3.392242)'))) / (select extract(epoch from '2026-07-28 15:17:47'::timestamp) - extract(epoch from '2026-07-28 15:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018851 -3.392233)', '2026-07-28 15:17:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018832 -3.392242)'), GeomFromEWKT('SRID=4674;POINT (-39.018851 -3.392233)'))) / (select extract(epoch from '2026-07-28 15:17:58'::timestamp) - extract(epoch from '2026-07-28 15:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018832 -3.392242)'), GeomFromEWKT('SRID=4674;POINT (-39.018851 -3.392233)'))) / (select extract(epoch from '2026-07-28 15:17:58'::timestamp) - extract(epoch from '2026-07-28 15:17: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'), 47422, 'SRID=4674;POINT (-39.018879 -3.392221)', '2026-07-28 15:18:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018851 -3.392233)'), GeomFromEWKT('SRID=4674;POINT (-39.018879 -3.392221)'))) / (select extract(epoch from '2026-07-28 15:18:06'::timestamp) - extract(epoch from '2026-07-28 15:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018851 -3.392233)'), GeomFromEWKT('SRID=4674;POINT (-39.018879 -3.392221)'))) / (select extract(epoch from '2026-07-28 15:18:06'::timestamp) - extract(epoch from '2026-07-28 15:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018907 -3.392213)', '2026-07-28 15:18:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018879 -3.392221)'), GeomFromEWKT('SRID=4674;POINT (-39.018907 -3.392213)'))) / (select extract(epoch from '2026-07-28 15:18:15'::timestamp) - extract(epoch from '2026-07-28 15:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018879 -3.392221)'), GeomFromEWKT('SRID=4674;POINT (-39.018907 -3.392213)'))) / (select extract(epoch from '2026-07-28 15:18:15'::timestamp) - extract(epoch from '2026-07-28 15:18: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'), 47422, 'SRID=4674;POINT (-39.018938 -3.392193)', '2026-07-28 15:18:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018907 -3.392213)'), GeomFromEWKT('SRID=4674;POINT (-39.018938 -3.392193)'))) / (select extract(epoch from '2026-07-28 15:18:24'::timestamp) - extract(epoch from '2026-07-28 15:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018907 -3.392213)'), GeomFromEWKT('SRID=4674;POINT (-39.018938 -3.392193)'))) / (select extract(epoch from '2026-07-28 15:18:24'::timestamp) - extract(epoch from '2026-07-28 15:18: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'), 47422, 'SRID=4674;POINT (-39.018949 -3.392179)', '2026-07-28 15:18:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018938 -3.392193)'), GeomFromEWKT('SRID=4674;POINT (-39.018949 -3.392179)'))) / (select extract(epoch from '2026-07-28 15:18:32'::timestamp) - extract(epoch from '2026-07-28 15:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018938 -3.392193)'), GeomFromEWKT('SRID=4674;POINT (-39.018949 -3.392179)'))) / (select extract(epoch from '2026-07-28 15:18:32'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.018965 -3.392166)', '2026-07-28 15:18:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018949 -3.392179)'), GeomFromEWKT('SRID=4674;POINT (-39.018965 -3.392166)'))) / (select extract(epoch from '2026-07-28 15:18:40'::timestamp) - extract(epoch from '2026-07-28 15:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018949 -3.392179)'), GeomFromEWKT('SRID=4674;POINT (-39.018965 -3.392166)'))) / (select extract(epoch from '2026-07-28 15:18:40'::timestamp) - extract(epoch from '2026-07-28 15:18: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'), 47422, 'SRID=4674;POINT (-39.018976 -3.392157)', '2026-07-28 15:18:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018965 -3.392166)'), GeomFromEWKT('SRID=4674;POINT (-39.018976 -3.392157)'))) / (select extract(epoch from '2026-07-28 15:18:49'::timestamp) - extract(epoch from '2026-07-28 15:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018965 -3.392166)'), GeomFromEWKT('SRID=4674;POINT (-39.018976 -3.392157)'))) / (select extract(epoch from '2026-07-28 15:18:49'::timestamp) - extract(epoch from '2026-07-28 15:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018991 -3.392149)', '2026-07-28 15:18:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018976 -3.392157)'), GeomFromEWKT('SRID=4674;POINT (-39.018991 -3.392149)'))) / (select extract(epoch from '2026-07-28 15:18:58'::timestamp) - extract(epoch from '2026-07-28 15:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018976 -3.392157)'), GeomFromEWKT('SRID=4674;POINT (-39.018991 -3.392149)'))) / (select extract(epoch from '2026-07-28 15:18:58'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.019011 -3.392143)', '2026-07-28 15:19:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018991 -3.392149)'), GeomFromEWKT('SRID=4674;POINT (-39.019011 -3.392143)'))) / (select extract(epoch from '2026-07-28 15:19:07'::timestamp) - extract(epoch from '2026-07-28 15:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018991 -3.392149)'), GeomFromEWKT('SRID=4674;POINT (-39.019011 -3.392143)'))) / (select extract(epoch from '2026-07-28 15:19:07'::timestamp) - extract(epoch from '2026-07-28 15:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019032 -3.39213)', '2026-07-28 15:19:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019011 -3.392143)'), GeomFromEWKT('SRID=4674;POINT (-39.019032 -3.39213)'))) / (select extract(epoch from '2026-07-28 15:19:21'::timestamp) - extract(epoch from '2026-07-28 15:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019011 -3.392143)'), GeomFromEWKT('SRID=4674;POINT (-39.019032 -3.39213)'))) / (select extract(epoch from '2026-07-28 15:19:21'::timestamp) - extract(epoch from '2026-07-28 15:19:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019071 -3.392104)', '2026-07-28 15:19:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019032 -3.39213)'), GeomFromEWKT('SRID=4674;POINT (-39.019071 -3.392104)'))) / (select extract(epoch from '2026-07-28 15:19:35'::timestamp) - extract(epoch from '2026-07-28 15:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019032 -3.39213)'), GeomFromEWKT('SRID=4674;POINT (-39.019071 -3.392104)'))) / (select extract(epoch from '2026-07-28 15:19:35'::timestamp) - extract(epoch from '2026-07-28 15:19: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'), 47422, 'SRID=4674;POINT (-39.019108 -3.392078)', '2026-07-28 15:19:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019071 -3.392104)'), GeomFromEWKT('SRID=4674;POINT (-39.019108 -3.392078)'))) / (select extract(epoch from '2026-07-28 15:19:51'::timestamp) - extract(epoch from '2026-07-28 15:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019071 -3.392104)'), GeomFromEWKT('SRID=4674;POINT (-39.019108 -3.392078)'))) / (select extract(epoch from '2026-07-28 15:19:51'::timestamp) - extract(epoch from '2026-07-28 15:19: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'), 47422, 'SRID=4674;POINT (-39.019129 -3.392068)', '2026-07-28 15:20:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019108 -3.392078)'), GeomFromEWKT('SRID=4674;POINT (-39.019129 -3.392068)'))) / (select extract(epoch from '2026-07-28 15:20:01'::timestamp) - extract(epoch from '2026-07-28 15:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019108 -3.392078)'), GeomFromEWKT('SRID=4674;POINT (-39.019129 -3.392068)'))) / (select extract(epoch from '2026-07-28 15:20:01'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.019155 -3.392045)', '2026-07-28 15:20:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019129 -3.392068)'), GeomFromEWKT('SRID=4674;POINT (-39.019155 -3.392045)'))) / (select extract(epoch from '2026-07-28 15:20:17'::timestamp) - extract(epoch from '2026-07-28 15:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019129 -3.392068)'), GeomFromEWKT('SRID=4674;POINT (-39.019155 -3.392045)'))) / (select extract(epoch from '2026-07-28 15:20:17'::timestamp) - extract(epoch from '2026-07-28 15:20: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'), 47422, 'SRID=4674;POINT (-39.019171 -3.392029)', '2026-07-28 15:20:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019155 -3.392045)'), GeomFromEWKT('SRID=4674;POINT (-39.019171 -3.392029)'))) / (select extract(epoch from '2026-07-28 15:20:25'::timestamp) - extract(epoch from '2026-07-28 15:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019155 -3.392045)'), GeomFromEWKT('SRID=4674;POINT (-39.019171 -3.392029)'))) / (select extract(epoch from '2026-07-28 15:20:25'::timestamp) - extract(epoch from '2026-07-28 15:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019201 -3.392002)', '2026-07-28 15:20:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019171 -3.392029)'), GeomFromEWKT('SRID=4674;POINT (-39.019201 -3.392002)'))) / (select extract(epoch from '2026-07-28 15:20:35'::timestamp) - extract(epoch from '2026-07-28 15:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019171 -3.392029)'), GeomFromEWKT('SRID=4674;POINT (-39.019201 -3.392002)'))) / (select extract(epoch from '2026-07-28 15:20:35'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.01922 -3.391984)', '2026-07-28 15:20:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019201 -3.392002)'), GeomFromEWKT('SRID=4674;POINT (-39.01922 -3.391984)'))) / (select extract(epoch from '2026-07-28 15:20:45'::timestamp) - extract(epoch from '2026-07-28 15:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019201 -3.392002)'), GeomFromEWKT('SRID=4674;POINT (-39.01922 -3.391984)'))) / (select extract(epoch from '2026-07-28 15:20:45'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.01924 -3.391974)', '2026-07-28 15:20:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01922 -3.391984)'), GeomFromEWKT('SRID=4674;POINT (-39.01924 -3.391974)'))) / (select extract(epoch from '2026-07-28 15:20:53'::timestamp) - extract(epoch from '2026-07-28 15:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01922 -3.391984)'), GeomFromEWKT('SRID=4674;POINT (-39.01924 -3.391974)'))) / (select extract(epoch from '2026-07-28 15:20:53'::timestamp) - extract(epoch from '2026-07-28 15:20: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'), 47422, 'SRID=4674;POINT (-39.019275 -3.391966)', '2026-07-28 15:21:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01924 -3.391974)'), GeomFromEWKT('SRID=4674;POINT (-39.019275 -3.391966)'))) / (select extract(epoch from '2026-07-28 15:21:03'::timestamp) - extract(epoch from '2026-07-28 15:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01924 -3.391974)'), GeomFromEWKT('SRID=4674;POINT (-39.019275 -3.391966)'))) / (select extract(epoch from '2026-07-28 15:21:03'::timestamp) - extract(epoch from '2026-07-28 15:20: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'), 47422, 'SRID=4674;POINT (-39.019297 -3.391958)', '2026-07-28 15:21:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019275 -3.391966)'), GeomFromEWKT('SRID=4674;POINT (-39.019297 -3.391958)'))) / (select extract(epoch from '2026-07-28 15:21:12'::timestamp) - extract(epoch from '2026-07-28 15:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019275 -3.391966)'), GeomFromEWKT('SRID=4674;POINT (-39.019297 -3.391958)'))) / (select extract(epoch from '2026-07-28 15:21:12'::timestamp) - extract(epoch from '2026-07-28 15:21: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'), 47422, 'SRID=4674;POINT (-39.019324 -3.391945)', '2026-07-28 15:21:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019297 -3.391958)'), GeomFromEWKT('SRID=4674;POINT (-39.019324 -3.391945)'))) / (select extract(epoch from '2026-07-28 15:21:21'::timestamp) - extract(epoch from '2026-07-28 15:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019297 -3.391958)'), GeomFromEWKT('SRID=4674;POINT (-39.019324 -3.391945)'))) / (select extract(epoch from '2026-07-28 15:21:21'::timestamp) - extract(epoch from '2026-07-28 15:21: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'), 47422, 'SRID=4674;POINT (-39.019364 -3.39192)', '2026-07-28 15:21:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019324 -3.391945)'), GeomFromEWKT('SRID=4674;POINT (-39.019364 -3.39192)'))) / (select extract(epoch from '2026-07-28 15:21:33'::timestamp) - extract(epoch from '2026-07-28 15:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019324 -3.391945)'), GeomFromEWKT('SRID=4674;POINT (-39.019364 -3.39192)'))) / (select extract(epoch from '2026-07-28 15:21:33'::timestamp) - extract(epoch from '2026-07-28 15: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'), 47422, 'SRID=4674;POINT (-39.01939 -3.3919)', '2026-07-28 15:21:43', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019364 -3.39192)'), GeomFromEWKT('SRID=4674;POINT (-39.01939 -3.3919)'))) / (select extract(epoch from '2026-07-28 15:21:43'::timestamp) - extract(epoch from '2026-07-28 15:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019364 -3.39192)'), GeomFromEWKT('SRID=4674;POINT (-39.01939 -3.3919)'))) / (select extract(epoch from '2026-07-28 15:21:43'::timestamp) - extract(epoch from '2026-07-28 15:21: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'), 47422, 'SRID=4674;POINT (-39.019395 -3.391881)', '2026-07-28 15:21:58', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01939 -3.3919)'), GeomFromEWKT('SRID=4674;POINT (-39.019395 -3.391881)'))) / (select extract(epoch from '2026-07-28 15:21:58'::timestamp) - extract(epoch from '2026-07-28 15:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01939 -3.3919)'), GeomFromEWKT('SRID=4674;POINT (-39.019395 -3.391881)'))) / (select extract(epoch from '2026-07-28 15:21:58'::timestamp) - extract(epoch from '2026-07-28 15:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019406 -3.391869)', '2026-07-28 15:22:06', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019395 -3.391881)'), GeomFromEWKT('SRID=4674;POINT (-39.019406 -3.391869)'))) / (select extract(epoch from '2026-07-28 15:22:06'::timestamp) - extract(epoch from '2026-07-28 15:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019395 -3.391881)'), GeomFromEWKT('SRID=4674;POINT (-39.019406 -3.391869)'))) / (select extract(epoch from '2026-07-28 15:22:06'::timestamp) - extract(epoch from '2026-07-28 15:21:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
