 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.434276 -2.801606)', '2026-06-09 22:48:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434398 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.434276 -2.801606)'))) / (select extract(epoch from '2026-06-09 22:48:14'::timestamp) - extract(epoch from '2026-06-09 22:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434398 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.434276 -2.801606)'))) / (select extract(epoch from '2026-06-09 22:48:14'::timestamp) - extract(epoch from '2026-06-09 22:48: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'), 46728, 'SRID=4674;POINT (-40.434128 -2.801611)', '2026-06-09 22:48:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434276 -2.801606)'), GeomFromEWKT('SRID=4674;POINT (-40.434128 -2.801611)'))) / (select extract(epoch from '2026-06-09 22:48:22'::timestamp) - extract(epoch from '2026-06-09 22:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434276 -2.801606)'), GeomFromEWKT('SRID=4674;POINT (-40.434128 -2.801611)'))) / (select extract(epoch from '2026-06-09 22:48:22'::timestamp) - extract(epoch from '2026-06-09 22:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.434016 -2.801634)', '2026-06-09 22:48:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434128 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.434016 -2.801634)'))) / (select extract(epoch from '2026-06-09 22:48:28'::timestamp) - extract(epoch from '2026-06-09 22:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434128 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.434016 -2.801634)'))) / (select extract(epoch from '2026-06-09 22:48:28'::timestamp) - extract(epoch from '2026-06-09 22:48: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'), 46728, 'SRID=4674;POINT (-40.433872 -2.801659)', '2026-06-09 22:48:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434016 -2.801634)'), GeomFromEWKT('SRID=4674;POINT (-40.433872 -2.801659)'))) / (select extract(epoch from '2026-06-09 22:48:36'::timestamp) - extract(epoch from '2026-06-09 22:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434016 -2.801634)'), GeomFromEWKT('SRID=4674;POINT (-40.433872 -2.801659)'))) / (select extract(epoch from '2026-06-09 22:48:36'::timestamp) - extract(epoch from '2026-06-09 22:48: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'), 46728, 'SRID=4674;POINT (-40.433728 -2.801672)', '2026-06-09 22:48:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433872 -2.801659)'), GeomFromEWKT('SRID=4674;POINT (-40.433728 -2.801672)'))) / (select extract(epoch from '2026-06-09 22:48:44'::timestamp) - extract(epoch from '2026-06-09 22:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433872 -2.801659)'), GeomFromEWKT('SRID=4674;POINT (-40.433728 -2.801672)'))) / (select extract(epoch from '2026-06-09 22:48:44'::timestamp) - extract(epoch from '2026-06-09 22:48: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'), 46728, 'SRID=4674;POINT (-40.433565 -2.801695)', '2026-06-09 22:48:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433728 -2.801672)'), GeomFromEWKT('SRID=4674;POINT (-40.433565 -2.801695)'))) / (select extract(epoch from '2026-06-09 22:48:52'::timestamp) - extract(epoch from '2026-06-09 22:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433728 -2.801672)'), GeomFromEWKT('SRID=4674;POINT (-40.433565 -2.801695)'))) / (select extract(epoch from '2026-06-09 22:48:52'::timestamp) - extract(epoch from '2026-06-09 22:48:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.433401 -2.801729)', '2026-06-09 22:49:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433565 -2.801695)'), GeomFromEWKT('SRID=4674;POINT (-40.433401 -2.801729)'))) / (select extract(epoch from '2026-06-09 22:49:01'::timestamp) - extract(epoch from '2026-06-09 22:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433565 -2.801695)'), GeomFromEWKT('SRID=4674;POINT (-40.433401 -2.801729)'))) / (select extract(epoch from '2026-06-09 22:49:01'::timestamp) - extract(epoch from '2026-06-09 22:48: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'), 46728, 'SRID=4674;POINT (-40.433267 -2.801714)', '2026-06-09 22:49:08', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433401 -2.801729)'), GeomFromEWKT('SRID=4674;POINT (-40.433267 -2.801714)'))) / (select extract(epoch from '2026-06-09 22:49:08'::timestamp) - extract(epoch from '2026-06-09 22:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433401 -2.801729)'), GeomFromEWKT('SRID=4674;POINT (-40.433267 -2.801714)'))) / (select extract(epoch from '2026-06-09 22:49:08'::timestamp) - extract(epoch from '2026-06-09 22:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.43311 -2.801702)', '2026-06-09 22:49:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433267 -2.801714)'), GeomFromEWKT('SRID=4674;POINT (-40.43311 -2.801702)'))) / (select extract(epoch from '2026-06-09 22:49:16'::timestamp) - extract(epoch from '2026-06-09 22:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433267 -2.801714)'), GeomFromEWKT('SRID=4674;POINT (-40.43311 -2.801702)'))) / (select extract(epoch from '2026-06-09 22:49:16'::timestamp) - extract(epoch from '2026-06-09 22:49: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'), 46728, 'SRID=4674;POINT (-40.432991 -2.80172)', '2026-06-09 22:49:22', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43311 -2.801702)'), GeomFromEWKT('SRID=4674;POINT (-40.432991 -2.80172)'))) / (select extract(epoch from '2026-06-09 22:49:22'::timestamp) - extract(epoch from '2026-06-09 22:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43311 -2.801702)'), GeomFromEWKT('SRID=4674;POINT (-40.432991 -2.80172)'))) / (select extract(epoch from '2026-06-09 22:49:22'::timestamp) - extract(epoch from '2026-06-09 22:49: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'), 46728, 'SRID=4674;POINT (-40.432847 -2.801714)', '2026-06-09 22:49:30', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432991 -2.80172)'), GeomFromEWKT('SRID=4674;POINT (-40.432847 -2.801714)'))) / (select extract(epoch from '2026-06-09 22:49:30'::timestamp) - extract(epoch from '2026-06-09 22:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432991 -2.80172)'), GeomFromEWKT('SRID=4674;POINT (-40.432847 -2.801714)'))) / (select extract(epoch from '2026-06-09 22:49:30'::timestamp) - extract(epoch from '2026-06-09 22:49:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.432723 -2.801717)', '2026-06-09 22:49:37', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432847 -2.801714)'), GeomFromEWKT('SRID=4674;POINT (-40.432723 -2.801717)'))) / (select extract(epoch from '2026-06-09 22:49:37'::timestamp) - extract(epoch from '2026-06-09 22:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432847 -2.801714)'), GeomFromEWKT('SRID=4674;POINT (-40.432723 -2.801717)'))) / (select extract(epoch from '2026-06-09 22:49:37'::timestamp) - extract(epoch from '2026-06-09 22:49: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'), 46728, 'SRID=4674;POINT (-40.432577 -2.801724)', '2026-06-09 22:49:45', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432723 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.432577 -2.801724)'))) / (select extract(epoch from '2026-06-09 22:49:45'::timestamp) - extract(epoch from '2026-06-09 22:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432723 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.432577 -2.801724)'))) / (select extract(epoch from '2026-06-09 22:49:45'::timestamp) - extract(epoch from '2026-06-09 22:49: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'), 46728, 'SRID=4674;POINT (-40.432439 -2.801742)', '2026-06-09 22:49:52', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432577 -2.801724)'), GeomFromEWKT('SRID=4674;POINT (-40.432439 -2.801742)'))) / (select extract(epoch from '2026-06-09 22:49:52'::timestamp) - extract(epoch from '2026-06-09 22:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432577 -2.801724)'), GeomFromEWKT('SRID=4674;POINT (-40.432439 -2.801742)'))) / (select extract(epoch from '2026-06-09 22:49:52'::timestamp) - extract(epoch from '2026-06-09 22:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.432278 -2.801765)', '2026-06-09 22:50:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432439 -2.801742)'), GeomFromEWKT('SRID=4674;POINT (-40.432278 -2.801765)'))) / (select extract(epoch from '2026-06-09 22:50:01'::timestamp) - extract(epoch from '2026-06-09 22:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432439 -2.801742)'), GeomFromEWKT('SRID=4674;POINT (-40.432278 -2.801765)'))) / (select extract(epoch from '2026-06-09 22:50:01'::timestamp) - extract(epoch from '2026-06-09 22:49: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'), 46728, 'SRID=4674;POINT (-40.432178 -2.80176)', '2026-06-09 22:50:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432278 -2.801765)'), GeomFromEWKT('SRID=4674;POINT (-40.432178 -2.80176)'))) / (select extract(epoch from '2026-06-09 22:50:07'::timestamp) - extract(epoch from '2026-06-09 22:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432278 -2.801765)'), GeomFromEWKT('SRID=4674;POINT (-40.432178 -2.80176)'))) / (select extract(epoch from '2026-06-09 22:50:07'::timestamp) - extract(epoch from '2026-06-09 22:50: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'), 46728, 'SRID=4674;POINT (-40.432039 -2.80174)', '2026-06-09 22:50:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432178 -2.80176)'), GeomFromEWKT('SRID=4674;POINT (-40.432039 -2.80174)'))) / (select extract(epoch from '2026-06-09 22:50:14'::timestamp) - extract(epoch from '2026-06-09 22:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432178 -2.80176)'), GeomFromEWKT('SRID=4674;POINT (-40.432039 -2.80174)'))) / (select extract(epoch from '2026-06-09 22:50:14'::timestamp) - extract(epoch from '2026-06-09 22:50: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'), 46728, 'SRID=4674;POINT (-40.431918 -2.801721)', '2026-06-09 22:50:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432039 -2.80174)'), GeomFromEWKT('SRID=4674;POINT (-40.431918 -2.801721)'))) / (select extract(epoch from '2026-06-09 22:50:20'::timestamp) - extract(epoch from '2026-06-09 22:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432039 -2.80174)'), GeomFromEWKT('SRID=4674;POINT (-40.431918 -2.801721)'))) / (select extract(epoch from '2026-06-09 22:50:20'::timestamp) - extract(epoch from '2026-06-09 22:50: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'), 46728, 'SRID=4674;POINT (-40.431713 -2.801738)', '2026-06-09 22:50:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431918 -2.801721)'), GeomFromEWKT('SRID=4674;POINT (-40.431713 -2.801738)'))) / (select extract(epoch from '2026-06-09 22:50:31'::timestamp) - extract(epoch from '2026-06-09 22:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431918 -2.801721)'), GeomFromEWKT('SRID=4674;POINT (-40.431713 -2.801738)'))) / (select extract(epoch from '2026-06-09 22:50:31'::timestamp) - extract(epoch from '2026-06-09 22:50: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'), 46728, 'SRID=4674;POINT (-40.43158 -2.801735)', '2026-06-09 22:50:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431713 -2.801738)'), GeomFromEWKT('SRID=4674;POINT (-40.43158 -2.801735)'))) / (select extract(epoch from '2026-06-09 22:50:38'::timestamp) - extract(epoch from '2026-06-09 22:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431713 -2.801738)'), GeomFromEWKT('SRID=4674;POINT (-40.43158 -2.801735)'))) / (select extract(epoch from '2026-06-09 22:50:38'::timestamp) - extract(epoch from '2026-06-09 22:50: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'), 46728, 'SRID=4674;POINT (-40.431478 -2.80173)', '2026-06-09 22:50:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43158 -2.801735)'), GeomFromEWKT('SRID=4674;POINT (-40.431478 -2.80173)'))) / (select extract(epoch from '2026-06-09 22:50:44'::timestamp) - extract(epoch from '2026-06-09 22:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43158 -2.801735)'), GeomFromEWKT('SRID=4674;POINT (-40.431478 -2.80173)'))) / (select extract(epoch from '2026-06-09 22:50:44'::timestamp) - extract(epoch from '2026-06-09 22:50: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'), 46728, 'SRID=4674;POINT (-40.431311 -2.801743)', '2026-06-09 22:50:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431478 -2.80173)'), GeomFromEWKT('SRID=4674;POINT (-40.431311 -2.801743)'))) / (select extract(epoch from '2026-06-09 22:50:53'::timestamp) - extract(epoch from '2026-06-09 22:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431478 -2.80173)'), GeomFromEWKT('SRID=4674;POINT (-40.431311 -2.801743)'))) / (select extract(epoch from '2026-06-09 22:50:53'::timestamp) - extract(epoch from '2026-06-09 22:50: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'), 46728, 'SRID=4674;POINT (-40.431154 -2.801769)', '2026-06-09 22:51:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431311 -2.801743)'), GeomFromEWKT('SRID=4674;POINT (-40.431154 -2.801769)'))) / (select extract(epoch from '2026-06-09 22:51:01'::timestamp) - extract(epoch from '2026-06-09 22:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431311 -2.801743)'), GeomFromEWKT('SRID=4674;POINT (-40.431154 -2.801769)'))) / (select extract(epoch from '2026-06-09 22:51:01'::timestamp) - extract(epoch from '2026-06-09 22:50: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'), 46728, 'SRID=4674;POINT (-40.431033 -2.801774)', '2026-06-09 22:51:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431154 -2.801769)'), GeomFromEWKT('SRID=4674;POINT (-40.431033 -2.801774)'))) / (select extract(epoch from '2026-06-09 22:51:07'::timestamp) - extract(epoch from '2026-06-09 22:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431154 -2.801769)'), GeomFromEWKT('SRID=4674;POINT (-40.431033 -2.801774)'))) / (select extract(epoch from '2026-06-09 22:51:07'::timestamp) - extract(epoch from '2026-06-09 22:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.430893 -2.80176)', '2026-06-09 22:51:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431033 -2.801774)'), GeomFromEWKT('SRID=4674;POINT (-40.430893 -2.80176)'))) / (select extract(epoch from '2026-06-09 22:51:14'::timestamp) - extract(epoch from '2026-06-09 22:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431033 -2.801774)'), GeomFromEWKT('SRID=4674;POINT (-40.430893 -2.80176)'))) / (select extract(epoch from '2026-06-09 22:51:14'::timestamp) - extract(epoch from '2026-06-09 22:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.43075 -2.801767)', '2026-06-09 22:51:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430893 -2.80176)'), GeomFromEWKT('SRID=4674;POINT (-40.43075 -2.801767)'))) / (select extract(epoch from '2026-06-09 22:51:22'::timestamp) - extract(epoch from '2026-06-09 22:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430893 -2.80176)'), GeomFromEWKT('SRID=4674;POINT (-40.43075 -2.801767)'))) / (select extract(epoch from '2026-06-09 22:51:22'::timestamp) - extract(epoch from '2026-06-09 22:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.430637 -2.801764)', '2026-06-09 22:51:29', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43075 -2.801767)'), GeomFromEWKT('SRID=4674;POINT (-40.430637 -2.801764)'))) / (select extract(epoch from '2026-06-09 22:51:29'::timestamp) - extract(epoch from '2026-06-09 22:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43075 -2.801767)'), GeomFromEWKT('SRID=4674;POINT (-40.430637 -2.801764)'))) / (select extract(epoch from '2026-06-09 22:51:29'::timestamp) - extract(epoch from '2026-06-09 22:51: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'), 46728, 'SRID=4674;POINT (-40.430534 -2.801756)', '2026-06-09 22:51:35', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430637 -2.801764)'), GeomFromEWKT('SRID=4674;POINT (-40.430534 -2.801756)'))) / (select extract(epoch from '2026-06-09 22:51:35'::timestamp) - extract(epoch from '2026-06-09 22:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430637 -2.801764)'), GeomFromEWKT('SRID=4674;POINT (-40.430534 -2.801756)'))) / (select extract(epoch from '2026-06-09 22:51:35'::timestamp) - extract(epoch from '2026-06-09 22:51: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'), 46728, 'SRID=4674;POINT (-40.430484 -2.801759)', '2026-06-09 22:51:38', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430534 -2.801756)'), GeomFromEWKT('SRID=4674;POINT (-40.430484 -2.801759)'))) / (select extract(epoch from '2026-06-09 22:51:38'::timestamp) - extract(epoch from '2026-06-09 22:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430534 -2.801756)'), GeomFromEWKT('SRID=4674;POINT (-40.430484 -2.801759)'))) / (select extract(epoch from '2026-06-09 22:51:38'::timestamp) - extract(epoch from '2026-06-09 22:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.430427 -2.801748)', '2026-06-09 22:51:41', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430484 -2.801759)'), GeomFromEWKT('SRID=4674;POINT (-40.430427 -2.801748)'))) / (select extract(epoch from '2026-06-09 22:51:41'::timestamp) - extract(epoch from '2026-06-09 22:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430484 -2.801759)'), GeomFromEWKT('SRID=4674;POINT (-40.430427 -2.801748)'))) / (select extract(epoch from '2026-06-09 22:51:41'::timestamp) - extract(epoch from '2026-06-09 22:51: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'), 46728, 'SRID=4674;POINT (-40.430291 -2.801719)', '2026-06-09 22:51:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430427 -2.801748)'), GeomFromEWKT('SRID=4674;POINT (-40.430291 -2.801719)'))) / (select extract(epoch from '2026-06-09 22:51:49'::timestamp) - extract(epoch from '2026-06-09 22:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430427 -2.801748)'), GeomFromEWKT('SRID=4674;POINT (-40.430291 -2.801719)'))) / (select extract(epoch from '2026-06-09 22:51:49'::timestamp) - extract(epoch from '2026-06-09 22:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.430175 -2.80174)', '2026-06-09 22:51:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430291 -2.801719)'), GeomFromEWKT('SRID=4674;POINT (-40.430175 -2.80174)'))) / (select extract(epoch from '2026-06-09 22:51:56'::timestamp) - extract(epoch from '2026-06-09 22:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430291 -2.801719)'), GeomFromEWKT('SRID=4674;POINT (-40.430175 -2.80174)'))) / (select extract(epoch from '2026-06-09 22:51:56'::timestamp) - extract(epoch from '2026-06-09 22:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.430077 -2.801768)', '2026-06-09 22:52:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430175 -2.80174)'), GeomFromEWKT('SRID=4674;POINT (-40.430077 -2.801768)'))) / (select extract(epoch from '2026-06-09 22:52:02'::timestamp) - extract(epoch from '2026-06-09 22:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430175 -2.80174)'), GeomFromEWKT('SRID=4674;POINT (-40.430077 -2.801768)'))) / (select extract(epoch from '2026-06-09 22:52:02'::timestamp) - extract(epoch from '2026-06-09 22:51:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.430057 -2.801773)', '2026-06-09 22:52:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430077 -2.801768)'), GeomFromEWKT('SRID=4674;POINT (-40.430057 -2.801773)'))) / (select extract(epoch from '2026-06-09 22:52:03'::timestamp) - extract(epoch from '2026-06-09 22:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430077 -2.801768)'), GeomFromEWKT('SRID=4674;POINT (-40.430057 -2.801773)'))) / (select extract(epoch from '2026-06-09 22:52:03'::timestamp) - extract(epoch from '2026-06-09 22:52: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'), 46728, 'SRID=4674;POINT (-40.429922 -2.801777)', '2026-06-09 22:52:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430057 -2.801773)'), GeomFromEWKT('SRID=4674;POINT (-40.429922 -2.801777)'))) / (select extract(epoch from '2026-06-09 22:52:10'::timestamp) - extract(epoch from '2026-06-09 22:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430057 -2.801773)'), GeomFromEWKT('SRID=4674;POINT (-40.429922 -2.801777)'))) / (select extract(epoch from '2026-06-09 22:52:10'::timestamp) - extract(epoch from '2026-06-09 22:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.429787 -2.801775)', '2026-06-09 22:52:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429922 -2.801777)'), GeomFromEWKT('SRID=4674;POINT (-40.429787 -2.801775)'))) / (select extract(epoch from '2026-06-09 22:52:17'::timestamp) - extract(epoch from '2026-06-09 22:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429922 -2.801777)'), GeomFromEWKT('SRID=4674;POINT (-40.429787 -2.801775)'))) / (select extract(epoch from '2026-06-09 22:52:17'::timestamp) - extract(epoch from '2026-06-09 22:52: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'), 46728, 'SRID=4674;POINT (-40.429606 -2.801772)', '2026-06-09 22:52:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429787 -2.801775)'), GeomFromEWKT('SRID=4674;POINT (-40.429606 -2.801772)'))) / (select extract(epoch from '2026-06-09 22:52:26'::timestamp) - extract(epoch from '2026-06-09 22:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429787 -2.801775)'), GeomFromEWKT('SRID=4674;POINT (-40.429606 -2.801772)'))) / (select extract(epoch from '2026-06-09 22:52:26'::timestamp) - extract(epoch from '2026-06-09 22:52: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'), 46728, 'SRID=4674;POINT (-40.429467 -2.801766)', '2026-06-09 22:52:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429606 -2.801772)'), GeomFromEWKT('SRID=4674;POINT (-40.429467 -2.801766)'))) / (select extract(epoch from '2026-06-09 22:52:33'::timestamp) - extract(epoch from '2026-06-09 22:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429606 -2.801772)'), GeomFromEWKT('SRID=4674;POINT (-40.429467 -2.801766)'))) / (select extract(epoch from '2026-06-09 22:52:33'::timestamp) - extract(epoch from '2026-06-09 22:52: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'), 46728, 'SRID=4674;POINT (-40.429315 -2.80176)', '2026-06-09 22:52:41', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429467 -2.801766)'), GeomFromEWKT('SRID=4674;POINT (-40.429315 -2.80176)'))) / (select extract(epoch from '2026-06-09 22:52:41'::timestamp) - extract(epoch from '2026-06-09 22:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429467 -2.801766)'), GeomFromEWKT('SRID=4674;POINT (-40.429315 -2.80176)'))) / (select extract(epoch from '2026-06-09 22:52:41'::timestamp) - extract(epoch from '2026-06-09 22:52:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.429185 -2.801768)', '2026-06-09 22:52:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429315 -2.80176)'), GeomFromEWKT('SRID=4674;POINT (-40.429185 -2.801768)'))) / (select extract(epoch from '2026-06-09 22:52:48'::timestamp) - extract(epoch from '2026-06-09 22:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429315 -2.80176)'), GeomFromEWKT('SRID=4674;POINT (-40.429185 -2.801768)'))) / (select extract(epoch from '2026-06-09 22:52:48'::timestamp) - extract(epoch from '2026-06-09 22:52: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'), 46728, 'SRID=4674;POINT (-40.429081 -2.801775)', '2026-06-09 22:52:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429185 -2.801768)'), GeomFromEWKT('SRID=4674;POINT (-40.429081 -2.801775)'))) / (select extract(epoch from '2026-06-09 22:52:54'::timestamp) - extract(epoch from '2026-06-09 22:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429185 -2.801768)'), GeomFromEWKT('SRID=4674;POINT (-40.429081 -2.801775)'))) / (select extract(epoch from '2026-06-09 22:52:54'::timestamp) - extract(epoch from '2026-06-09 22:52: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'), 46728, 'SRID=4674;POINT (-40.428938 -2.801779)', '2026-06-09 22:53:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429081 -2.801775)'), GeomFromEWKT('SRID=4674;POINT (-40.428938 -2.801779)'))) / (select extract(epoch from '2026-06-09 22:53:02'::timestamp) - extract(epoch from '2026-06-09 22:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429081 -2.801775)'), GeomFromEWKT('SRID=4674;POINT (-40.428938 -2.801779)'))) / (select extract(epoch from '2026-06-09 22:53:02'::timestamp) - extract(epoch from '2026-06-09 22:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.428816 -2.801791)', '2026-06-09 22:53:08', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428938 -2.801779)'), GeomFromEWKT('SRID=4674;POINT (-40.428816 -2.801791)'))) / (select extract(epoch from '2026-06-09 22:53:08'::timestamp) - extract(epoch from '2026-06-09 22:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428938 -2.801779)'), GeomFromEWKT('SRID=4674;POINT (-40.428816 -2.801791)'))) / (select extract(epoch from '2026-06-09 22:53:08'::timestamp) - extract(epoch from '2026-06-09 22: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'), 46728, 'SRID=4674;POINT (-40.428682 -2.801796)', '2026-06-09 22:53:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428816 -2.801791)'), GeomFromEWKT('SRID=4674;POINT (-40.428682 -2.801796)'))) / (select extract(epoch from '2026-06-09 22:53:15'::timestamp) - extract(epoch from '2026-06-09 22:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428816 -2.801791)'), GeomFromEWKT('SRID=4674;POINT (-40.428682 -2.801796)'))) / (select extract(epoch from '2026-06-09 22:53:15'::timestamp) - extract(epoch from '2026-06-09 22:53:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.428534 -2.801793)', '2026-06-09 22:53:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428682 -2.801796)'), GeomFromEWKT('SRID=4674;POINT (-40.428534 -2.801793)'))) / (select extract(epoch from '2026-06-09 22:53:23'::timestamp) - extract(epoch from '2026-06-09 22:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428682 -2.801796)'), GeomFromEWKT('SRID=4674;POINT (-40.428534 -2.801793)'))) / (select extract(epoch from '2026-06-09 22:53:23'::timestamp) - extract(epoch from '2026-06-09 22:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.428424 -2.801799)', '2026-06-09 22:53:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428534 -2.801793)'), GeomFromEWKT('SRID=4674;POINT (-40.428424 -2.801799)'))) / (select extract(epoch from '2026-06-09 22:53:30'::timestamp) - extract(epoch from '2026-06-09 22:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428534 -2.801793)'), GeomFromEWKT('SRID=4674;POINT (-40.428424 -2.801799)'))) / (select extract(epoch from '2026-06-09 22:53:30'::timestamp) - extract(epoch from '2026-06-09 22:53: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'), 46728, 'SRID=4674;POINT (-40.428281 -2.801803)', '2026-06-09 22:53:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428424 -2.801799)'), GeomFromEWKT('SRID=4674;POINT (-40.428281 -2.801803)'))) / (select extract(epoch from '2026-06-09 22:53:38'::timestamp) - extract(epoch from '2026-06-09 22:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428424 -2.801799)'), GeomFromEWKT('SRID=4674;POINT (-40.428281 -2.801803)'))) / (select extract(epoch from '2026-06-09 22:53:38'::timestamp) - extract(epoch from '2026-06-09 22:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.42815 -2.801806)', '2026-06-09 22:53:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428281 -2.801803)'), GeomFromEWKT('SRID=4674;POINT (-40.42815 -2.801806)'))) / (select extract(epoch from '2026-06-09 22:53:45'::timestamp) - extract(epoch from '2026-06-09 22:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428281 -2.801803)'), GeomFromEWKT('SRID=4674;POINT (-40.42815 -2.801806)'))) / (select extract(epoch from '2026-06-09 22:53:45'::timestamp) - extract(epoch from '2026-06-09 22:53:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.427997 -2.80182)', '2026-06-09 22:53:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42815 -2.801806)'), GeomFromEWKT('SRID=4674;POINT (-40.427997 -2.80182)'))) / (select extract(epoch from '2026-06-09 22:53:53'::timestamp) - extract(epoch from '2026-06-09 22:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42815 -2.801806)'), GeomFromEWKT('SRID=4674;POINT (-40.427997 -2.80182)'))) / (select extract(epoch from '2026-06-09 22:53:53'::timestamp) - extract(epoch from '2026-06-09 22:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.427858 -2.801828)', '2026-06-09 22:54:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427997 -2.80182)'), GeomFromEWKT('SRID=4674;POINT (-40.427858 -2.801828)'))) / (select extract(epoch from '2026-06-09 22:54:00'::timestamp) - extract(epoch from '2026-06-09 22:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427997 -2.80182)'), GeomFromEWKT('SRID=4674;POINT (-40.427858 -2.801828)'))) / (select extract(epoch from '2026-06-09 22:54:00'::timestamp) - extract(epoch from '2026-06-09 22: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'), 46728, 'SRID=4674;POINT (-40.427742 -2.801815)', '2026-06-09 22:54:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427858 -2.801828)'), GeomFromEWKT('SRID=4674;POINT (-40.427742 -2.801815)'))) / (select extract(epoch from '2026-06-09 22:54:06'::timestamp) - extract(epoch from '2026-06-09 22:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427858 -2.801828)'), GeomFromEWKT('SRID=4674;POINT (-40.427742 -2.801815)'))) / (select extract(epoch from '2026-06-09 22:54:06'::timestamp) - extract(epoch from '2026-06-09 22:54:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.427567 -2.801815)', '2026-06-09 22:54:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427742 -2.801815)'), GeomFromEWKT('SRID=4674;POINT (-40.427567 -2.801815)'))) / (select extract(epoch from '2026-06-09 22:54:15'::timestamp) - extract(epoch from '2026-06-09 22:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427742 -2.801815)'), GeomFromEWKT('SRID=4674;POINT (-40.427567 -2.801815)'))) / (select extract(epoch from '2026-06-09 22:54:15'::timestamp) - extract(epoch from '2026-06-09 22:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.42743 -2.801826)', '2026-06-09 22:54:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427567 -2.801815)'), GeomFromEWKT('SRID=4674;POINT (-40.42743 -2.801826)'))) / (select extract(epoch from '2026-06-09 22:54:22'::timestamp) - extract(epoch from '2026-06-09 22:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427567 -2.801815)'), GeomFromEWKT('SRID=4674;POINT (-40.42743 -2.801826)'))) / (select extract(epoch from '2026-06-09 22:54:22'::timestamp) - extract(epoch from '2026-06-09 22: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'), 46728, 'SRID=4674;POINT (-40.427254 -2.801847)', '2026-06-09 22:54:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42743 -2.801826)'), GeomFromEWKT('SRID=4674;POINT (-40.427254 -2.801847)'))) / (select extract(epoch from '2026-06-09 22:54:31'::timestamp) - extract(epoch from '2026-06-09 22:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42743 -2.801826)'), GeomFromEWKT('SRID=4674;POINT (-40.427254 -2.801847)'))) / (select extract(epoch from '2026-06-09 22:54:31'::timestamp) - extract(epoch from '2026-06-09 22: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'), 46728, 'SRID=4674;POINT (-40.427118 -2.801887)', '2026-06-09 22:54:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427254 -2.801847)'), GeomFromEWKT('SRID=4674;POINT (-40.427118 -2.801887)'))) / (select extract(epoch from '2026-06-09 22:54:39'::timestamp) - extract(epoch from '2026-06-09 22:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427254 -2.801847)'), GeomFromEWKT('SRID=4674;POINT (-40.427118 -2.801887)'))) / (select extract(epoch from '2026-06-09 22:54:39'::timestamp) - extract(epoch from '2026-06-09 22:54: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'), 46728, 'SRID=4674;POINT (-40.427015 -2.801896)', '2026-06-09 22:54:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427118 -2.801887)'), GeomFromEWKT('SRID=4674;POINT (-40.427015 -2.801896)'))) / (select extract(epoch from '2026-06-09 22:54:45'::timestamp) - extract(epoch from '2026-06-09 22:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427118 -2.801887)'), GeomFromEWKT('SRID=4674;POINT (-40.427015 -2.801896)'))) / (select extract(epoch from '2026-06-09 22:54:45'::timestamp) - extract(epoch from '2026-06-09 22:54: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'), 46728, 'SRID=4674;POINT (-40.426917 -2.801926)', '2026-06-09 22:54:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427015 -2.801896)'), GeomFromEWKT('SRID=4674;POINT (-40.426917 -2.801926)'))) / (select extract(epoch from '2026-06-09 22:54:51'::timestamp) - extract(epoch from '2026-06-09 22:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427015 -2.801896)'), GeomFromEWKT('SRID=4674;POINT (-40.426917 -2.801926)'))) / (select extract(epoch from '2026-06-09 22:54:51'::timestamp) - extract(epoch from '2026-06-09 22:54: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'), 46728, 'SRID=4674;POINT (-40.426824 -2.801951)', '2026-06-09 22:54:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426917 -2.801926)'), GeomFromEWKT('SRID=4674;POINT (-40.426824 -2.801951)'))) / (select extract(epoch from '2026-06-09 22:54:56'::timestamp) - extract(epoch from '2026-06-09 22:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426917 -2.801926)'), GeomFromEWKT('SRID=4674;POINT (-40.426824 -2.801951)'))) / (select extract(epoch from '2026-06-09 22:54:56'::timestamp) - extract(epoch from '2026-06-09 22:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.426715 -2.801971)', '2026-06-09 22:55:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426824 -2.801951)'), GeomFromEWKT('SRID=4674;POINT (-40.426715 -2.801971)'))) / (select extract(epoch from '2026-06-09 22:55:02'::timestamp) - extract(epoch from '2026-06-09 22:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426824 -2.801951)'), GeomFromEWKT('SRID=4674;POINT (-40.426715 -2.801971)'))) / (select extract(epoch from '2026-06-09 22:55:02'::timestamp) - extract(epoch from '2026-06-09 22:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.426579 -2.801985)', '2026-06-09 22:55:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426715 -2.801971)'), GeomFromEWKT('SRID=4674;POINT (-40.426579 -2.801985)'))) / (select extract(epoch from '2026-06-09 22:55:09'::timestamp) - extract(epoch from '2026-06-09 22:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426715 -2.801971)'), GeomFromEWKT('SRID=4674;POINT (-40.426579 -2.801985)'))) / (select extract(epoch from '2026-06-09 22:55:09'::timestamp) - extract(epoch from '2026-06-09 22:55: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'), 46728, 'SRID=4674;POINT (-40.426415 -2.802002)', '2026-06-09 22:55:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426579 -2.801985)'), GeomFromEWKT('SRID=4674;POINT (-40.426415 -2.802002)'))) / (select extract(epoch from '2026-06-09 22:55:17'::timestamp) - extract(epoch from '2026-06-09 22:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426579 -2.801985)'), GeomFromEWKT('SRID=4674;POINT (-40.426415 -2.802002)'))) / (select extract(epoch from '2026-06-09 22:55:17'::timestamp) - extract(epoch from '2026-06-09 22: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'), 46728, 'SRID=4674;POINT (-40.426292 -2.802047)', '2026-06-09 22:55:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426415 -2.802002)'), GeomFromEWKT('SRID=4674;POINT (-40.426292 -2.802047)'))) / (select extract(epoch from '2026-06-09 22:55:24'::timestamp) - extract(epoch from '2026-06-09 22:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426415 -2.802002)'), GeomFromEWKT('SRID=4674;POINT (-40.426292 -2.802047)'))) / (select extract(epoch from '2026-06-09 22:55:24'::timestamp) - extract(epoch from '2026-06-09 22:55: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'), 46728, 'SRID=4674;POINT (-40.426174 -2.802086)', '2026-06-09 22:55:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426292 -2.802047)'), GeomFromEWKT('SRID=4674;POINT (-40.426174 -2.802086)'))) / (select extract(epoch from '2026-06-09 22:55:32'::timestamp) - extract(epoch from '2026-06-09 22:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426292 -2.802047)'), GeomFromEWKT('SRID=4674;POINT (-40.426174 -2.802086)'))) / (select extract(epoch from '2026-06-09 22:55:32'::timestamp) - extract(epoch from '2026-06-09 22:55:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.426048 -2.802083)', '2026-06-09 22:55:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426174 -2.802086)'), GeomFromEWKT('SRID=4674;POINT (-40.426048 -2.802083)'))) / (select extract(epoch from '2026-06-09 22:55:39'::timestamp) - extract(epoch from '2026-06-09 22:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426174 -2.802086)'), GeomFromEWKT('SRID=4674;POINT (-40.426048 -2.802083)'))) / (select extract(epoch from '2026-06-09 22:55:39'::timestamp) - extract(epoch from '2026-06-09 22:55: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'), 46728, 'SRID=4674;POINT (-40.425946 -2.802084)', '2026-06-09 22:55:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426048 -2.802083)'), GeomFromEWKT('SRID=4674;POINT (-40.425946 -2.802084)'))) / (select extract(epoch from '2026-06-09 22:55:45'::timestamp) - extract(epoch from '2026-06-09 22:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426048 -2.802083)'), GeomFromEWKT('SRID=4674;POINT (-40.425946 -2.802084)'))) / (select extract(epoch from '2026-06-09 22:55:45'::timestamp) - extract(epoch from '2026-06-09 22: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'), 46728, 'SRID=4674;POINT (-40.4258 -2.8021)', '2026-06-09 22:55:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425946 -2.802084)'), GeomFromEWKT('SRID=4674;POINT (-40.4258 -2.8021)'))) / (select extract(epoch from '2026-06-09 22:55:53'::timestamp) - extract(epoch from '2026-06-09 22:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425946 -2.802084)'), GeomFromEWKT('SRID=4674;POINT (-40.4258 -2.8021)'))) / (select extract(epoch from '2026-06-09 22:55:53'::timestamp) - extract(epoch from '2026-06-09 22:55: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'), 46728, 'SRID=4674;POINT (-40.425673 -2.802105)', '2026-06-09 22:56:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4258 -2.8021)'), GeomFromEWKT('SRID=4674;POINT (-40.425673 -2.802105)'))) / (select extract(epoch from '2026-06-09 22:56:01'::timestamp) - extract(epoch from '2026-06-09 22:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4258 -2.8021)'), GeomFromEWKT('SRID=4674;POINT (-40.425673 -2.802105)'))) / (select extract(epoch from '2026-06-09 22:56:01'::timestamp) - extract(epoch from '2026-06-09 22:55: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'), 46728, 'SRID=4674;POINT (-40.425575 -2.802076)', '2026-06-09 22:56:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425673 -2.802105)'), GeomFromEWKT('SRID=4674;POINT (-40.425575 -2.802076)'))) / (select extract(epoch from '2026-06-09 22:56:07'::timestamp) - extract(epoch from '2026-06-09 22:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425673 -2.802105)'), GeomFromEWKT('SRID=4674;POINT (-40.425575 -2.802076)'))) / (select extract(epoch from '2026-06-09 22:56:07'::timestamp) - extract(epoch from '2026-06-09 22:56: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'), 46728, 'SRID=4674;POINT (-40.425443 -2.802033)', '2026-06-09 22:56:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425575 -2.802076)'), GeomFromEWKT('SRID=4674;POINT (-40.425443 -2.802033)'))) / (select extract(epoch from '2026-06-09 22:56:15'::timestamp) - extract(epoch from '2026-06-09 22:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425575 -2.802076)'), GeomFromEWKT('SRID=4674;POINT (-40.425443 -2.802033)'))) / (select extract(epoch from '2026-06-09 22:56:15'::timestamp) - extract(epoch from '2026-06-09 22:56: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'), 46728, 'SRID=4674;POINT (-40.425308 -2.80199)', '2026-06-09 22:56:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425443 -2.802033)'), GeomFromEWKT('SRID=4674;POINT (-40.425308 -2.80199)'))) / (select extract(epoch from '2026-06-09 22:56:22'::timestamp) - extract(epoch from '2026-06-09 22:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425443 -2.802033)'), GeomFromEWKT('SRID=4674;POINT (-40.425308 -2.80199)'))) / (select extract(epoch from '2026-06-09 22:56:22'::timestamp) - extract(epoch from '2026-06-09 22: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'), 46728, 'SRID=4674;POINT (-40.425188 -2.801974)', '2026-06-09 22:56:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425308 -2.80199)'), GeomFromEWKT('SRID=4674;POINT (-40.425188 -2.801974)'))) / (select extract(epoch from '2026-06-09 22:56:28'::timestamp) - extract(epoch from '2026-06-09 22:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425308 -2.80199)'), GeomFromEWKT('SRID=4674;POINT (-40.425188 -2.801974)'))) / (select extract(epoch from '2026-06-09 22:56:28'::timestamp) - extract(epoch from '2026-06-09 22:56: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'), 46728, 'SRID=4674;POINT (-40.425041 -2.801969)', '2026-06-09 22:56:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425188 -2.801974)'), GeomFromEWKT('SRID=4674;POINT (-40.425041 -2.801969)'))) / (select extract(epoch from '2026-06-09 22:56:36'::timestamp) - extract(epoch from '2026-06-09 22:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425188 -2.801974)'), GeomFromEWKT('SRID=4674;POINT (-40.425041 -2.801969)'))) / (select extract(epoch from '2026-06-09 22:56:36'::timestamp) - extract(epoch from '2026-06-09 22:56: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'), 46728, 'SRID=4674;POINT (-40.424885 -2.801975)', '2026-06-09 22:56:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425041 -2.801969)'), GeomFromEWKT('SRID=4674;POINT (-40.424885 -2.801975)'))) / (select extract(epoch from '2026-06-09 22:56:44'::timestamp) - extract(epoch from '2026-06-09 22:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425041 -2.801969)'), GeomFromEWKT('SRID=4674;POINT (-40.424885 -2.801975)'))) / (select extract(epoch from '2026-06-09 22:56:44'::timestamp) - extract(epoch from '2026-06-09 22:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.424758 -2.801999)', '2026-06-09 22:56:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424885 -2.801975)'), GeomFromEWKT('SRID=4674;POINT (-40.424758 -2.801999)'))) / (select extract(epoch from '2026-06-09 22:56:51'::timestamp) - extract(epoch from '2026-06-09 22:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424885 -2.801975)'), GeomFromEWKT('SRID=4674;POINT (-40.424758 -2.801999)'))) / (select extract(epoch from '2026-06-09 22:56:51'::timestamp) - extract(epoch from '2026-06-09 22:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.424639 -2.802035)', '2026-06-09 22:56:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424758 -2.801999)'), GeomFromEWKT('SRID=4674;POINT (-40.424639 -2.802035)'))) / (select extract(epoch from '2026-06-09 22:56:58'::timestamp) - extract(epoch from '2026-06-09 22:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424758 -2.801999)'), GeomFromEWKT('SRID=4674;POINT (-40.424639 -2.802035)'))) / (select extract(epoch from '2026-06-09 22:56:58'::timestamp) - extract(epoch from '2026-06-09 22:56:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.424519 -2.802041)', '2026-06-09 22:57:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424639 -2.802035)'), GeomFromEWKT('SRID=4674;POINT (-40.424519 -2.802041)'))) / (select extract(epoch from '2026-06-09 22:57:05'::timestamp) - extract(epoch from '2026-06-09 22:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424639 -2.802035)'), GeomFromEWKT('SRID=4674;POINT (-40.424519 -2.802041)'))) / (select extract(epoch from '2026-06-09 22:57:05'::timestamp) - extract(epoch from '2026-06-09 22:56:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.424391 -2.802018)', '2026-06-09 22:57:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424519 -2.802041)'), GeomFromEWKT('SRID=4674;POINT (-40.424391 -2.802018)'))) / (select extract(epoch from '2026-06-09 22:57:12'::timestamp) - extract(epoch from '2026-06-09 22:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424519 -2.802041)'), GeomFromEWKT('SRID=4674;POINT (-40.424391 -2.802018)'))) / (select extract(epoch from '2026-06-09 22:57:12'::timestamp) - extract(epoch from '2026-06-09 22:57: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'), 46728, 'SRID=4674;POINT (-40.424196 -2.80202)', '2026-06-09 22:57:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424391 -2.802018)'), GeomFromEWKT('SRID=4674;POINT (-40.424196 -2.80202)'))) / (select extract(epoch from '2026-06-09 22:57:22'::timestamp) - extract(epoch from '2026-06-09 22:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424391 -2.802018)'), GeomFromEWKT('SRID=4674;POINT (-40.424196 -2.80202)'))) / (select extract(epoch from '2026-06-09 22:57:22'::timestamp) - extract(epoch from '2026-06-09 22:57: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'), 46728, 'SRID=4674;POINT (-40.424035 -2.802047)', '2026-06-09 22:57:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424196 -2.80202)'), GeomFromEWKT('SRID=4674;POINT (-40.424035 -2.802047)'))) / (select extract(epoch from '2026-06-09 22:57:30'::timestamp) - extract(epoch from '2026-06-09 22:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424196 -2.80202)'), GeomFromEWKT('SRID=4674;POINT (-40.424035 -2.802047)'))) / (select extract(epoch from '2026-06-09 22:57:30'::timestamp) - extract(epoch from '2026-06-09 22:57: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'), 46728, 'SRID=4674;POINT (-40.423917 -2.802065)', '2026-06-09 22:57:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424035 -2.802047)'), GeomFromEWKT('SRID=4674;POINT (-40.423917 -2.802065)'))) / (select extract(epoch from '2026-06-09 22:57:36'::timestamp) - extract(epoch from '2026-06-09 22:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424035 -2.802047)'), GeomFromEWKT('SRID=4674;POINT (-40.423917 -2.802065)'))) / (select extract(epoch from '2026-06-09 22:57:36'::timestamp) - extract(epoch from '2026-06-09 22:57: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'), 46728, 'SRID=4674;POINT (-40.42381 -2.802093)', '2026-06-09 22:57:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423917 -2.802065)'), GeomFromEWKT('SRID=4674;POINT (-40.42381 -2.802093)'))) / (select extract(epoch from '2026-06-09 22:57:42'::timestamp) - extract(epoch from '2026-06-09 22:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423917 -2.802065)'), GeomFromEWKT('SRID=4674;POINT (-40.42381 -2.802093)'))) / (select extract(epoch from '2026-06-09 22:57:42'::timestamp) - extract(epoch from '2026-06-09 22: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'), 46728, 'SRID=4674;POINT (-40.423705 -2.802127)', '2026-06-09 22:57:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42381 -2.802093)'), GeomFromEWKT('SRID=4674;POINT (-40.423705 -2.802127)'))) / (select extract(epoch from '2026-06-09 22:57:48'::timestamp) - extract(epoch from '2026-06-09 22:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42381 -2.802093)'), GeomFromEWKT('SRID=4674;POINT (-40.423705 -2.802127)'))) / (select extract(epoch from '2026-06-09 22:57:48'::timestamp) - extract(epoch from '2026-06-09 22:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.423543 -2.802163)', '2026-06-09 22:57:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423705 -2.802127)'), GeomFromEWKT('SRID=4674;POINT (-40.423543 -2.802163)'))) / (select extract(epoch from '2026-06-09 22:57:57'::timestamp) - extract(epoch from '2026-06-09 22:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423705 -2.802127)'), GeomFromEWKT('SRID=4674;POINT (-40.423543 -2.802163)'))) / (select extract(epoch from '2026-06-09 22:57:57'::timestamp) - extract(epoch from '2026-06-09 22:57: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'), 46728, 'SRID=4674;POINT (-40.423418 -2.80219)', '2026-06-09 22:58:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423543 -2.802163)'), GeomFromEWKT('SRID=4674;POINT (-40.423418 -2.80219)'))) / (select extract(epoch from '2026-06-09 22:58:04'::timestamp) - extract(epoch from '2026-06-09 22:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423543 -2.802163)'), GeomFromEWKT('SRID=4674;POINT (-40.423418 -2.80219)'))) / (select extract(epoch from '2026-06-09 22:58:04'::timestamp) - extract(epoch from '2026-06-09 22:57: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'), 46728, 'SRID=4674;POINT (-40.423283 -2.802233)', '2026-06-09 22:58:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423418 -2.80219)'), GeomFromEWKT('SRID=4674;POINT (-40.423283 -2.802233)'))) / (select extract(epoch from '2026-06-09 22:58:11'::timestamp) - extract(epoch from '2026-06-09 22:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423418 -2.80219)'), GeomFromEWKT('SRID=4674;POINT (-40.423283 -2.802233)'))) / (select extract(epoch from '2026-06-09 22:58:11'::timestamp) - extract(epoch from '2026-06-09 22:58: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'), 46728, 'SRID=4674;POINT (-40.423177 -2.802259)', '2026-06-09 22:58:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423283 -2.802233)'), GeomFromEWKT('SRID=4674;POINT (-40.423177 -2.802259)'))) / (select extract(epoch from '2026-06-09 22:58:17'::timestamp) - extract(epoch from '2026-06-09 22:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423283 -2.802233)'), GeomFromEWKT('SRID=4674;POINT (-40.423177 -2.802259)'))) / (select extract(epoch from '2026-06-09 22:58:17'::timestamp) - extract(epoch from '2026-06-09 22:58: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'), 46728, 'SRID=4674;POINT (-40.422974 -2.802288)', '2026-06-09 22:58:27', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423177 -2.802259)'), GeomFromEWKT('SRID=4674;POINT (-40.422974 -2.802288)'))) / (select extract(epoch from '2026-06-09 22:58:27'::timestamp) - extract(epoch from '2026-06-09 22:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423177 -2.802259)'), GeomFromEWKT('SRID=4674;POINT (-40.422974 -2.802288)'))) / (select extract(epoch from '2026-06-09 22:58:27'::timestamp) - extract(epoch from '2026-06-09 22:58: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'), 46728, 'SRID=4674;POINT (-40.422834 -2.80231)', '2026-06-09 22:58:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422974 -2.802288)'), GeomFromEWKT('SRID=4674;POINT (-40.422834 -2.80231)'))) / (select extract(epoch from '2026-06-09 22:58:34'::timestamp) - extract(epoch from '2026-06-09 22:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422974 -2.802288)'), GeomFromEWKT('SRID=4674;POINT (-40.422834 -2.80231)'))) / (select extract(epoch from '2026-06-09 22:58:34'::timestamp) - extract(epoch from '2026-06-09 22:58: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'), 46728, 'SRID=4674;POINT (-40.422711 -2.80235)', '2026-06-09 22:58:41', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422834 -2.80231)'), GeomFromEWKT('SRID=4674;POINT (-40.422711 -2.80235)'))) / (select extract(epoch from '2026-06-09 22:58:41'::timestamp) - extract(epoch from '2026-06-09 22:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422834 -2.80231)'), GeomFromEWKT('SRID=4674;POINT (-40.422711 -2.80235)'))) / (select extract(epoch from '2026-06-09 22:58:41'::timestamp) - extract(epoch from '2026-06-09 22:58: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'), 46728, 'SRID=4674;POINT (-40.422594 -2.802378)', '2026-06-09 22:58:47', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422711 -2.80235)'), GeomFromEWKT('SRID=4674;POINT (-40.422594 -2.802378)'))) / (select extract(epoch from '2026-06-09 22:58:47'::timestamp) - extract(epoch from '2026-06-09 22:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422711 -2.80235)'), GeomFromEWKT('SRID=4674;POINT (-40.422594 -2.802378)'))) / (select extract(epoch from '2026-06-09 22:58:47'::timestamp) - extract(epoch from '2026-06-09 22:58: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'), 46728, 'SRID=4674;POINT (-40.42245 -2.802394)', '2026-06-09 22:58:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422594 -2.802378)'), GeomFromEWKT('SRID=4674;POINT (-40.42245 -2.802394)'))) / (select extract(epoch from '2026-06-09 22:58:54'::timestamp) - extract(epoch from '2026-06-09 22:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422594 -2.802378)'), GeomFromEWKT('SRID=4674;POINT (-40.42245 -2.802394)'))) / (select extract(epoch from '2026-06-09 22:58:54'::timestamp) - extract(epoch from '2026-06-09 22:58: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'), 46728, 'SRID=4674;POINT (-40.422296 -2.802416)', '2026-06-09 22:59:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42245 -2.802394)'), GeomFromEWKT('SRID=4674;POINT (-40.422296 -2.802416)'))) / (select extract(epoch from '2026-06-09 22:59:02'::timestamp) - extract(epoch from '2026-06-09 22:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42245 -2.802394)'), GeomFromEWKT('SRID=4674;POINT (-40.422296 -2.802416)'))) / (select extract(epoch from '2026-06-09 22:59:02'::timestamp) - extract(epoch from '2026-06-09 22:58: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'), 46728, 'SRID=4674;POINT (-40.422131 -2.802445)', '2026-06-09 22:59:11', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422296 -2.802416)'), GeomFromEWKT('SRID=4674;POINT (-40.422131 -2.802445)'))) / (select extract(epoch from '2026-06-09 22:59:11'::timestamp) - extract(epoch from '2026-06-09 22:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422296 -2.802416)'), GeomFromEWKT('SRID=4674;POINT (-40.422131 -2.802445)'))) / (select extract(epoch from '2026-06-09 22:59:11'::timestamp) - extract(epoch from '2026-06-09 22:59: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'), 46728, 'SRID=4674;POINT (-40.422024 -2.802484)', '2026-06-09 22:59:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422131 -2.802445)'), GeomFromEWKT('SRID=4674;POINT (-40.422024 -2.802484)'))) / (select extract(epoch from '2026-06-09 22:59:17'::timestamp) - extract(epoch from '2026-06-09 22:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422131 -2.802445)'), GeomFromEWKT('SRID=4674;POINT (-40.422024 -2.802484)'))) / (select extract(epoch from '2026-06-09 22:59:17'::timestamp) - extract(epoch from '2026-06-09 22:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.421889 -2.802528)', '2026-06-09 22:59:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422024 -2.802484)'), GeomFromEWKT('SRID=4674;POINT (-40.421889 -2.802528)'))) / (select extract(epoch from '2026-06-09 22:59:24'::timestamp) - extract(epoch from '2026-06-09 22:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422024 -2.802484)'), GeomFromEWKT('SRID=4674;POINT (-40.421889 -2.802528)'))) / (select extract(epoch from '2026-06-09 22:59:24'::timestamp) - extract(epoch from '2026-06-09 22:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.421759 -2.80257)', '2026-06-09 22:59:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421889 -2.802528)'), GeomFromEWKT('SRID=4674;POINT (-40.421759 -2.80257)'))) / (select extract(epoch from '2026-06-09 22:59:31'::timestamp) - extract(epoch from '2026-06-09 22:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421889 -2.802528)'), GeomFromEWKT('SRID=4674;POINT (-40.421759 -2.80257)'))) / (select extract(epoch from '2026-06-09 22:59:31'::timestamp) - extract(epoch from '2026-06-09 22:59: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'), 46728, 'SRID=4674;POINT (-40.421654 -2.802601)', '2026-06-09 22:59:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421759 -2.80257)'), GeomFromEWKT('SRID=4674;POINT (-40.421654 -2.802601)'))) / (select extract(epoch from '2026-06-09 22:59:37'::timestamp) - extract(epoch from '2026-06-09 22:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421759 -2.80257)'), GeomFromEWKT('SRID=4674;POINT (-40.421654 -2.802601)'))) / (select extract(epoch from '2026-06-09 22:59:37'::timestamp) - extract(epoch from '2026-06-09 22:59: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'), 46728, 'SRID=4674;POINT (-40.421532 -2.802627)', '2026-06-09 22:59:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421654 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.421532 -2.802627)'))) / (select extract(epoch from '2026-06-09 22:59:43'::timestamp) - extract(epoch from '2026-06-09 22:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421654 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.421532 -2.802627)'))) / (select extract(epoch from '2026-06-09 22:59:43'::timestamp) - extract(epoch from '2026-06-09 22:59: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'), 46728, 'SRID=4674;POINT (-40.421399 -2.802666)', '2026-06-09 22:59:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421532 -2.802627)'), GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.802666)'))) / (select extract(epoch from '2026-06-09 22:59:50'::timestamp) - extract(epoch from '2026-06-09 22:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421532 -2.802627)'), GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.802666)'))) / (select extract(epoch from '2026-06-09 22:59:50'::timestamp) - extract(epoch from '2026-06-09 22:59: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'), 46728, 'SRID=4674;POINT (-40.421287 -2.802705)', '2026-06-09 22:59:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.802666)'), GeomFromEWKT('SRID=4674;POINT (-40.421287 -2.802705)'))) / (select extract(epoch from '2026-06-09 22:59:56'::timestamp) - extract(epoch from '2026-06-09 22:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.802666)'), GeomFromEWKT('SRID=4674;POINT (-40.421287 -2.802705)'))) / (select extract(epoch from '2026-06-09 22:59:56'::timestamp) - extract(epoch from '2026-06-09 22:59:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.421126 -2.802755)', '2026-06-09 23:00:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421287 -2.802705)'), GeomFromEWKT('SRID=4674;POINT (-40.421126 -2.802755)'))) / (select extract(epoch from '2026-06-09 23:00:04'::timestamp) - extract(epoch from '2026-06-09 22:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421287 -2.802705)'), GeomFromEWKT('SRID=4674;POINT (-40.421126 -2.802755)'))) / (select extract(epoch from '2026-06-09 23:00:04'::timestamp) - extract(epoch from '2026-06-09 22:59: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'), 46728, 'SRID=4674;POINT (-40.420988 -2.802797)', '2026-06-09 23:00:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421126 -2.802755)'), GeomFromEWKT('SRID=4674;POINT (-40.420988 -2.802797)'))) / (select extract(epoch from '2026-06-09 23:00:11'::timestamp) - extract(epoch from '2026-06-09 23:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421126 -2.802755)'), GeomFromEWKT('SRID=4674;POINT (-40.420988 -2.802797)'))) / (select extract(epoch from '2026-06-09 23:00:11'::timestamp) - extract(epoch from '2026-06-09 23:00: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'), 46728, 'SRID=4674;POINT (-40.420855 -2.802831)', '2026-06-09 23:00:18', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420988 -2.802797)'), GeomFromEWKT('SRID=4674;POINT (-40.420855 -2.802831)'))) / (select extract(epoch from '2026-06-09 23:00:18'::timestamp) - extract(epoch from '2026-06-09 23:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420988 -2.802797)'), GeomFromEWKT('SRID=4674;POINT (-40.420855 -2.802831)'))) / (select extract(epoch from '2026-06-09 23:00:18'::timestamp) - extract(epoch from '2026-06-09 23:00:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.420712 -2.802905)', '2026-06-09 23:00:26', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420855 -2.802831)'), GeomFromEWKT('SRID=4674;POINT (-40.420712 -2.802905)'))) / (select extract(epoch from '2026-06-09 23:00:26'::timestamp) - extract(epoch from '2026-06-09 23:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420855 -2.802831)'), GeomFromEWKT('SRID=4674;POINT (-40.420712 -2.802905)'))) / (select extract(epoch from '2026-06-09 23:00:26'::timestamp) - extract(epoch from '2026-06-09 23:00:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.420597 -2.802952)', '2026-06-09 23:00:32', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420712 -2.802905)'), GeomFromEWKT('SRID=4674;POINT (-40.420597 -2.802952)'))) / (select extract(epoch from '2026-06-09 23:00:32'::timestamp) - extract(epoch from '2026-06-09 23:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420712 -2.802905)'), GeomFromEWKT('SRID=4674;POINT (-40.420597 -2.802952)'))) / (select extract(epoch from '2026-06-09 23:00:32'::timestamp) - extract(epoch from '2026-06-09 23:00: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'), 46728, 'SRID=4674;POINT (-40.42047 -2.803007)', '2026-06-09 23:00:39', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420597 -2.802952)'), GeomFromEWKT('SRID=4674;POINT (-40.42047 -2.803007)'))) / (select extract(epoch from '2026-06-09 23:00:39'::timestamp) - extract(epoch from '2026-06-09 23:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420597 -2.802952)'), GeomFromEWKT('SRID=4674;POINT (-40.42047 -2.803007)'))) / (select extract(epoch from '2026-06-09 23:00:39'::timestamp) - extract(epoch from '2026-06-09 23:00: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'), 46728, 'SRID=4674;POINT (-40.420329 -2.803096)', '2026-06-09 23:00:47', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42047 -2.803007)'), GeomFromEWKT('SRID=4674;POINT (-40.420329 -2.803096)'))) / (select extract(epoch from '2026-06-09 23:00:47'::timestamp) - extract(epoch from '2026-06-09 23:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42047 -2.803007)'), GeomFromEWKT('SRID=4674;POINT (-40.420329 -2.803096)'))) / (select extract(epoch from '2026-06-09 23:00:47'::timestamp) - extract(epoch from '2026-06-09 23:00: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'), 46728, 'SRID=4674;POINT (-40.420217 -2.803159)', '2026-06-09 23:00:54', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420329 -2.803096)'), GeomFromEWKT('SRID=4674;POINT (-40.420217 -2.803159)'))) / (select extract(epoch from '2026-06-09 23:00:54'::timestamp) - extract(epoch from '2026-06-09 23:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420329 -2.803096)'), GeomFromEWKT('SRID=4674;POINT (-40.420217 -2.803159)'))) / (select extract(epoch from '2026-06-09 23:00:54'::timestamp) - extract(epoch from '2026-06-09 23:00:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.420048 -2.803199)', '2026-06-09 23:01:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420217 -2.803159)'), GeomFromEWKT('SRID=4674;POINT (-40.420048 -2.803199)'))) / (select extract(epoch from '2026-06-09 23:01:04'::timestamp) - extract(epoch from '2026-06-09 23:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420217 -2.803159)'), GeomFromEWKT('SRID=4674;POINT (-40.420048 -2.803199)'))) / (select extract(epoch from '2026-06-09 23:01:04'::timestamp) - extract(epoch from '2026-06-09 23:00: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'), 46728, 'SRID=4674;POINT (-40.419888 -2.803239)', '2026-06-09 23:01:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420048 -2.803199)'), GeomFromEWKT('SRID=4674;POINT (-40.419888 -2.803239)'))) / (select extract(epoch from '2026-06-09 23:01:13'::timestamp) - extract(epoch from '2026-06-09 23:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420048 -2.803199)'), GeomFromEWKT('SRID=4674;POINT (-40.419888 -2.803239)'))) / (select extract(epoch from '2026-06-09 23:01:13'::timestamp) - extract(epoch from '2026-06-09 23:01: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'), 46728, 'SRID=4674;POINT (-40.419755 -2.80327)', '2026-06-09 23:01:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419888 -2.803239)'), GeomFromEWKT('SRID=4674;POINT (-40.419755 -2.80327)'))) / (select extract(epoch from '2026-06-09 23:01:20'::timestamp) - extract(epoch from '2026-06-09 23:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419888 -2.803239)'), GeomFromEWKT('SRID=4674;POINT (-40.419755 -2.80327)'))) / (select extract(epoch from '2026-06-09 23:01:20'::timestamp) - extract(epoch from '2026-06-09 23:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.419591 -2.803297)', '2026-06-09 23:01:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419755 -2.80327)'), GeomFromEWKT('SRID=4674;POINT (-40.419591 -2.803297)'))) / (select extract(epoch from '2026-06-09 23:01:28'::timestamp) - extract(epoch from '2026-06-09 23:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419755 -2.80327)'), GeomFromEWKT('SRID=4674;POINT (-40.419591 -2.803297)'))) / (select extract(epoch from '2026-06-09 23:01:28'::timestamp) - extract(epoch from '2026-06-09 23:01: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'), 46728, 'SRID=4674;POINT (-40.419477 -2.803344)', '2026-06-09 23:01:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419591 -2.803297)'), GeomFromEWKT('SRID=4674;POINT (-40.419477 -2.803344)'))) / (select extract(epoch from '2026-06-09 23:01:34'::timestamp) - extract(epoch from '2026-06-09 23:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419591 -2.803297)'), GeomFromEWKT('SRID=4674;POINT (-40.419477 -2.803344)'))) / (select extract(epoch from '2026-06-09 23:01:34'::timestamp) - extract(epoch from '2026-06-09 23:01: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'), 46728, 'SRID=4674;POINT (-40.419351 -2.803403)', '2026-06-09 23:01:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419477 -2.803344)'), GeomFromEWKT('SRID=4674;POINT (-40.419351 -2.803403)'))) / (select extract(epoch from '2026-06-09 23:01:41'::timestamp) - extract(epoch from '2026-06-09 23:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419477 -2.803344)'), GeomFromEWKT('SRID=4674;POINT (-40.419351 -2.803403)'))) / (select extract(epoch from '2026-06-09 23:01:41'::timestamp) - extract(epoch from '2026-06-09 23:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.419243 -2.803426)', '2026-06-09 23:01:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419351 -2.803403)'), GeomFromEWKT('SRID=4674;POINT (-40.419243 -2.803426)'))) / (select extract(epoch from '2026-06-09 23:01:47'::timestamp) - extract(epoch from '2026-06-09 23:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419351 -2.803403)'), GeomFromEWKT('SRID=4674;POINT (-40.419243 -2.803426)'))) / (select extract(epoch from '2026-06-09 23:01:47'::timestamp) - extract(epoch from '2026-06-09 23:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.419116 -2.803454)', '2026-06-09 23:01:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419243 -2.803426)'), GeomFromEWKT('SRID=4674;POINT (-40.419116 -2.803454)'))) / (select extract(epoch from '2026-06-09 23:01:54'::timestamp) - extract(epoch from '2026-06-09 23:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419243 -2.803426)'), GeomFromEWKT('SRID=4674;POINT (-40.419116 -2.803454)'))) / (select extract(epoch from '2026-06-09 23:01:54'::timestamp) - extract(epoch from '2026-06-09 23:01: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'), 46728, 'SRID=4674;POINT (-40.419017 -2.803496)', '2026-06-09 23:02:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419116 -2.803454)'), GeomFromEWKT('SRID=4674;POINT (-40.419017 -2.803496)'))) / (select extract(epoch from '2026-06-09 23:02:00'::timestamp) - extract(epoch from '2026-06-09 23:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419116 -2.803454)'), GeomFromEWKT('SRID=4674;POINT (-40.419017 -2.803496)'))) / (select extract(epoch from '2026-06-09 23:02:00'::timestamp) - extract(epoch from '2026-06-09 23:01: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'), 46728, 'SRID=4674;POINT (-40.418894 -2.803557)', '2026-06-09 23:02:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419017 -2.803496)'), GeomFromEWKT('SRID=4674;POINT (-40.418894 -2.803557)'))) / (select extract(epoch from '2026-06-09 23:02:07'::timestamp) - extract(epoch from '2026-06-09 23:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419017 -2.803496)'), GeomFromEWKT('SRID=4674;POINT (-40.418894 -2.803557)'))) / (select extract(epoch from '2026-06-09 23:02:07'::timestamp) - extract(epoch from '2026-06-09 23:02: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'), 46728, 'SRID=4674;POINT (-40.418751 -2.803627)', '2026-06-09 23:02:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418894 -2.803557)'), GeomFromEWKT('SRID=4674;POINT (-40.418751 -2.803627)'))) / (select extract(epoch from '2026-06-09 23:02:15'::timestamp) - extract(epoch from '2026-06-09 23:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418894 -2.803557)'), GeomFromEWKT('SRID=4674;POINT (-40.418751 -2.803627)'))) / (select extract(epoch from '2026-06-09 23:02:15'::timestamp) - extract(epoch from '2026-06-09 23:02: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'), 46728, 'SRID=4674;POINT (-40.418626 -2.803683)', '2026-06-09 23:02:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418751 -2.803627)'), GeomFromEWKT('SRID=4674;POINT (-40.418626 -2.803683)'))) / (select extract(epoch from '2026-06-09 23:02:22'::timestamp) - extract(epoch from '2026-06-09 23:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418751 -2.803627)'), GeomFromEWKT('SRID=4674;POINT (-40.418626 -2.803683)'))) / (select extract(epoch from '2026-06-09 23:02:22'::timestamp) - extract(epoch from '2026-06-09 23:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.418499 -2.803716)', '2026-06-09 23:02:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418626 -2.803683)'), GeomFromEWKT('SRID=4674;POINT (-40.418499 -2.803716)'))) / (select extract(epoch from '2026-06-09 23:02:29'::timestamp) - extract(epoch from '2026-06-09 23:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418626 -2.803683)'), GeomFromEWKT('SRID=4674;POINT (-40.418499 -2.803716)'))) / (select extract(epoch from '2026-06-09 23:02:29'::timestamp) - extract(epoch from '2026-06-09 23:02: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'), 46728, 'SRID=4674;POINT (-40.418369 -2.803749)', '2026-06-09 23:02:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418499 -2.803716)'), GeomFromEWKT('SRID=4674;POINT (-40.418369 -2.803749)'))) / (select extract(epoch from '2026-06-09 23:02:36'::timestamp) - extract(epoch from '2026-06-09 23:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418499 -2.803716)'), GeomFromEWKT('SRID=4674;POINT (-40.418369 -2.803749)'))) / (select extract(epoch from '2026-06-09 23:02:36'::timestamp) - extract(epoch from '2026-06-09 23:02: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'), 46728, 'SRID=4674;POINT (-40.418272 -2.803788)', '2026-06-09 23:02:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418369 -2.803749)'), GeomFromEWKT('SRID=4674;POINT (-40.418272 -2.803788)'))) / (select extract(epoch from '2026-06-09 23:02:42'::timestamp) - extract(epoch from '2026-06-09 23:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418369 -2.803749)'), GeomFromEWKT('SRID=4674;POINT (-40.418272 -2.803788)'))) / (select extract(epoch from '2026-06-09 23:02:42'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.418171 -2.803836)', '2026-06-09 23:02:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418272 -2.803788)'), GeomFromEWKT('SRID=4674;POINT (-40.418171 -2.803836)'))) / (select extract(epoch from '2026-06-09 23:02:48'::timestamp) - extract(epoch from '2026-06-09 23:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418272 -2.803788)'), GeomFromEWKT('SRID=4674;POINT (-40.418171 -2.803836)'))) / (select extract(epoch from '2026-06-09 23:02:48'::timestamp) - extract(epoch from '2026-06-09 23:02: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'), 46728, 'SRID=4674;POINT (-40.418063 -2.80388)', '2026-06-09 23:02:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418171 -2.803836)'), GeomFromEWKT('SRID=4674;POINT (-40.418063 -2.80388)'))) / (select extract(epoch from '2026-06-09 23:02:54'::timestamp) - extract(epoch from '2026-06-09 23:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418171 -2.803836)'), GeomFromEWKT('SRID=4674;POINT (-40.418063 -2.80388)'))) / (select extract(epoch from '2026-06-09 23:02:54'::timestamp) - extract(epoch from '2026-06-09 23:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.417941 -2.803917)', '2026-06-09 23:03:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418063 -2.80388)'), GeomFromEWKT('SRID=4674;POINT (-40.417941 -2.803917)'))) / (select extract(epoch from '2026-06-09 23:03:01'::timestamp) - extract(epoch from '2026-06-09 23:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418063 -2.80388)'), GeomFromEWKT('SRID=4674;POINT (-40.417941 -2.803917)'))) / (select extract(epoch from '2026-06-09 23:03:01'::timestamp) - extract(epoch from '2026-06-09 23:02: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'), 46728, 'SRID=4674;POINT (-40.417842 -2.803933)', '2026-06-09 23:03:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417941 -2.803917)'), GeomFromEWKT('SRID=4674;POINT (-40.417842 -2.803933)'))) / (select extract(epoch from '2026-06-09 23:03:07'::timestamp) - extract(epoch from '2026-06-09 23:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417941 -2.803917)'), GeomFromEWKT('SRID=4674;POINT (-40.417842 -2.803933)'))) / (select extract(epoch from '2026-06-09 23:03:07'::timestamp) - extract(epoch from '2026-06-09 23:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.417756 -2.803953)', '2026-06-09 23:03:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417842 -2.803933)'), GeomFromEWKT('SRID=4674;POINT (-40.417756 -2.803953)'))) / (select extract(epoch from '2026-06-09 23:03:12'::timestamp) - extract(epoch from '2026-06-09 23:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417842 -2.803933)'), GeomFromEWKT('SRID=4674;POINT (-40.417756 -2.803953)'))) / (select extract(epoch from '2026-06-09 23:03:12'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.41774 -2.803961)', '2026-06-09 23:03:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417756 -2.803953)'), GeomFromEWKT('SRID=4674;POINT (-40.41774 -2.803961)'))) / (select extract(epoch from '2026-06-09 23:03:13'::timestamp) - extract(epoch from '2026-06-09 23:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417756 -2.803953)'), GeomFromEWKT('SRID=4674;POINT (-40.41774 -2.803961)'))) / (select extract(epoch from '2026-06-09 23:03:13'::timestamp) - extract(epoch from '2026-06-09 23:03: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'), 46728, 'SRID=4674;POINT (-40.417602 -2.804026)', '2026-06-09 23:03:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41774 -2.803961)'), GeomFromEWKT('SRID=4674;POINT (-40.417602 -2.804026)'))) / (select extract(epoch from '2026-06-09 23:03:21'::timestamp) - extract(epoch from '2026-06-09 23:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41774 -2.803961)'), GeomFromEWKT('SRID=4674;POINT (-40.417602 -2.804026)'))) / (select extract(epoch from '2026-06-09 23:03:21'::timestamp) - extract(epoch from '2026-06-09 23:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.417452 -2.804088)', '2026-06-09 23:03:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417602 -2.804026)'), GeomFromEWKT('SRID=4674;POINT (-40.417452 -2.804088)'))) / (select extract(epoch from '2026-06-09 23:03:29'::timestamp) - extract(epoch from '2026-06-09 23:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417602 -2.804026)'), GeomFromEWKT('SRID=4674;POINT (-40.417452 -2.804088)'))) / (select extract(epoch from '2026-06-09 23:03:29'::timestamp) - extract(epoch from '2026-06-09 23:03:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.417293 -2.804152)', '2026-06-09 23:03:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417452 -2.804088)'), GeomFromEWKT('SRID=4674;POINT (-40.417293 -2.804152)'))) / (select extract(epoch from '2026-06-09 23:03:38'::timestamp) - extract(epoch from '2026-06-09 23:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417452 -2.804088)'), GeomFromEWKT('SRID=4674;POINT (-40.417293 -2.804152)'))) / (select extract(epoch from '2026-06-09 23:03:38'::timestamp) - extract(epoch from '2026-06-09 23:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.41716 -2.804206)', '2026-06-09 23:03:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417293 -2.804152)'), GeomFromEWKT('SRID=4674;POINT (-40.41716 -2.804206)'))) / (select extract(epoch from '2026-06-09 23:03:45'::timestamp) - extract(epoch from '2026-06-09 23:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417293 -2.804152)'), GeomFromEWKT('SRID=4674;POINT (-40.41716 -2.804206)'))) / (select extract(epoch from '2026-06-09 23:03:45'::timestamp) - extract(epoch from '2026-06-09 23:03: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'), 46728, 'SRID=4674;POINT (-40.417081 -2.804238)', '2026-06-09 23:03:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41716 -2.804206)'), GeomFromEWKT('SRID=4674;POINT (-40.417081 -2.804238)'))) / (select extract(epoch from '2026-06-09 23:03:50'::timestamp) - extract(epoch from '2026-06-09 23:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41716 -2.804206)'), GeomFromEWKT('SRID=4674;POINT (-40.417081 -2.804238)'))) / (select extract(epoch from '2026-06-09 23:03:50'::timestamp) - extract(epoch from '2026-06-09 23:03: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'), 46728, 'SRID=4674;POINT (-40.416964 -2.804292)', '2026-06-09 23:03:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417081 -2.804238)'), GeomFromEWKT('SRID=4674;POINT (-40.416964 -2.804292)'))) / (select extract(epoch from '2026-06-09 23:03:57'::timestamp) - extract(epoch from '2026-06-09 23:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417081 -2.804238)'), GeomFromEWKT('SRID=4674;POINT (-40.416964 -2.804292)'))) / (select extract(epoch from '2026-06-09 23:03:57'::timestamp) - extract(epoch from '2026-06-09 23:03: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'), 46728, 'SRID=4674;POINT (-40.416819 -2.804349)', '2026-06-09 23:04:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416964 -2.804292)'), GeomFromEWKT('SRID=4674;POINT (-40.416819 -2.804349)'))) / (select extract(epoch from '2026-06-09 23:04:05'::timestamp) - extract(epoch from '2026-06-09 23:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416964 -2.804292)'), GeomFromEWKT('SRID=4674;POINT (-40.416819 -2.804349)'))) / (select extract(epoch from '2026-06-09 23:04:05'::timestamp) - extract(epoch from '2026-06-09 23:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.416655 -2.804401)', '2026-06-09 23:04:13', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416819 -2.804349)'), GeomFromEWKT('SRID=4674;POINT (-40.416655 -2.804401)'))) / (select extract(epoch from '2026-06-09 23:04:13'::timestamp) - extract(epoch from '2026-06-09 23:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416819 -2.804349)'), GeomFromEWKT('SRID=4674;POINT (-40.416655 -2.804401)'))) / (select extract(epoch from '2026-06-09 23:04:13'::timestamp) - extract(epoch from '2026-06-09 23:04: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'), 46728, 'SRID=4674;POINT (-40.416524 -2.804454)', '2026-06-09 23:04:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416655 -2.804401)'), GeomFromEWKT('SRID=4674;POINT (-40.416524 -2.804454)'))) / (select extract(epoch from '2026-06-09 23:04:20'::timestamp) - extract(epoch from '2026-06-09 23:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416655 -2.804401)'), GeomFromEWKT('SRID=4674;POINT (-40.416524 -2.804454)'))) / (select extract(epoch from '2026-06-09 23:04:20'::timestamp) - extract(epoch from '2026-06-09 23:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.416397 -2.804507)', '2026-06-09 23:04:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416524 -2.804454)'), GeomFromEWKT('SRID=4674;POINT (-40.416397 -2.804507)'))) / (select extract(epoch from '2026-06-09 23:04:27'::timestamp) - extract(epoch from '2026-06-09 23:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416524 -2.804454)'), GeomFromEWKT('SRID=4674;POINT (-40.416397 -2.804507)'))) / (select extract(epoch from '2026-06-09 23:04:27'::timestamp) - extract(epoch from '2026-06-09 23:04: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'), 46728, 'SRID=4674;POINT (-40.416289 -2.804547)', '2026-06-09 23:04:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416397 -2.804507)'), GeomFromEWKT('SRID=4674;POINT (-40.416289 -2.804547)'))) / (select extract(epoch from '2026-06-09 23:04:33'::timestamp) - extract(epoch from '2026-06-09 23:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416397 -2.804507)'), GeomFromEWKT('SRID=4674;POINT (-40.416289 -2.804547)'))) / (select extract(epoch from '2026-06-09 23:04:33'::timestamp) - extract(epoch from '2026-06-09 23:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.416143 -2.804595)', '2026-06-09 23:04:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416289 -2.804547)'), GeomFromEWKT('SRID=4674;POINT (-40.416143 -2.804595)'))) / (select extract(epoch from '2026-06-09 23:04:41'::timestamp) - extract(epoch from '2026-06-09 23:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416289 -2.804547)'), GeomFromEWKT('SRID=4674;POINT (-40.416143 -2.804595)'))) / (select extract(epoch from '2026-06-09 23:04:41'::timestamp) - extract(epoch from '2026-06-09 23:04: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'), 46728, 'SRID=4674;POINT (-40.416011 -2.804645)', '2026-06-09 23:04:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416143 -2.804595)'), GeomFromEWKT('SRID=4674;POINT (-40.416011 -2.804645)'))) / (select extract(epoch from '2026-06-09 23:04:48'::timestamp) - extract(epoch from '2026-06-09 23:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416143 -2.804595)'), GeomFromEWKT('SRID=4674;POINT (-40.416011 -2.804645)'))) / (select extract(epoch from '2026-06-09 23:04:48'::timestamp) - extract(epoch from '2026-06-09 23:04: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'), 46728, 'SRID=4674;POINT (-40.415876 -2.804714)', '2026-06-09 23:04:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416011 -2.804645)'), GeomFromEWKT('SRID=4674;POINT (-40.415876 -2.804714)'))) / (select extract(epoch from '2026-06-09 23:04:56'::timestamp) - extract(epoch from '2026-06-09 23:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416011 -2.804645)'), GeomFromEWKT('SRID=4674;POINT (-40.415876 -2.804714)'))) / (select extract(epoch from '2026-06-09 23:04:56'::timestamp) - extract(epoch from '2026-06-09 23:04: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'), 46728, 'SRID=4674;POINT (-40.415757 -2.804745)', '2026-06-09 23:05:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415876 -2.804714)'), GeomFromEWKT('SRID=4674;POINT (-40.415757 -2.804745)'))) / (select extract(epoch from '2026-06-09 23:05:02'::timestamp) - extract(epoch from '2026-06-09 23:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415876 -2.804714)'), GeomFromEWKT('SRID=4674;POINT (-40.415757 -2.804745)'))) / (select extract(epoch from '2026-06-09 23:05:02'::timestamp) - extract(epoch from '2026-06-09 23:04: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'), 46728, 'SRID=4674;POINT (-40.415604 -2.804775)', '2026-06-09 23:05:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415757 -2.804745)'), GeomFromEWKT('SRID=4674;POINT (-40.415604 -2.804775)'))) / (select extract(epoch from '2026-06-09 23:05:10'::timestamp) - extract(epoch from '2026-06-09 23:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415757 -2.804745)'), GeomFromEWKT('SRID=4674;POINT (-40.415604 -2.804775)'))) / (select extract(epoch from '2026-06-09 23:05:10'::timestamp) - extract(epoch from '2026-06-09 23:05: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'), 46728, 'SRID=4674;POINT (-40.415445 -2.804818)', '2026-06-09 23:05:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415604 -2.804775)'), GeomFromEWKT('SRID=4674;POINT (-40.415445 -2.804818)'))) / (select extract(epoch from '2026-06-09 23:05:18'::timestamp) - extract(epoch from '2026-06-09 23:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415604 -2.804775)'), GeomFromEWKT('SRID=4674;POINT (-40.415445 -2.804818)'))) / (select extract(epoch from '2026-06-09 23:05:18'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.41532 -2.80485)', '2026-06-09 23:05:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415445 -2.804818)'), GeomFromEWKT('SRID=4674;POINT (-40.41532 -2.80485)'))) / (select extract(epoch from '2026-06-09 23:05:24'::timestamp) - extract(epoch from '2026-06-09 23:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415445 -2.804818)'), GeomFromEWKT('SRID=4674;POINT (-40.41532 -2.80485)'))) / (select extract(epoch from '2026-06-09 23:05:24'::timestamp) - extract(epoch from '2026-06-09 23:05: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'), 46728, 'SRID=4674;POINT (-40.41516 -2.8049)', '2026-06-09 23:05:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41532 -2.80485)'), GeomFromEWKT('SRID=4674;POINT (-40.41516 -2.8049)'))) / (select extract(epoch from '2026-06-09 23:05:32'::timestamp) - extract(epoch from '2026-06-09 23:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41532 -2.80485)'), GeomFromEWKT('SRID=4674;POINT (-40.41516 -2.8049)'))) / (select extract(epoch from '2026-06-09 23:05:32'::timestamp) - extract(epoch from '2026-06-09 23:05: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'), 46728, 'SRID=4674;POINT (-40.41503 -2.80495)', '2026-06-09 23:05:39', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41516 -2.8049)'), GeomFromEWKT('SRID=4674;POINT (-40.41503 -2.80495)'))) / (select extract(epoch from '2026-06-09 23:05:39'::timestamp) - extract(epoch from '2026-06-09 23:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41516 -2.8049)'), GeomFromEWKT('SRID=4674;POINT (-40.41503 -2.80495)'))) / (select extract(epoch from '2026-06-09 23:05:39'::timestamp) - extract(epoch from '2026-06-09 23:05: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'), 46728, 'SRID=4674;POINT (-40.414893 -2.805017)', '2026-06-09 23:05:46', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41503 -2.80495)'), GeomFromEWKT('SRID=4674;POINT (-40.414893 -2.805017)'))) / (select extract(epoch from '2026-06-09 23:05:46'::timestamp) - extract(epoch from '2026-06-09 23:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41503 -2.80495)'), GeomFromEWKT('SRID=4674;POINT (-40.414893 -2.805017)'))) / (select extract(epoch from '2026-06-09 23:05:46'::timestamp) - extract(epoch from '2026-06-09 23:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.414729 -2.805098)', '2026-06-09 23:05:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414893 -2.805017)'), GeomFromEWKT('SRID=4674;POINT (-40.414729 -2.805098)'))) / (select extract(epoch from '2026-06-09 23:05:55'::timestamp) - extract(epoch from '2026-06-09 23:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414893 -2.805017)'), GeomFromEWKT('SRID=4674;POINT (-40.414729 -2.805098)'))) / (select extract(epoch from '2026-06-09 23:05:55'::timestamp) - extract(epoch from '2026-06-09 23:05: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'), 46728, 'SRID=4674;POINT (-40.414584 -2.805156)', '2026-06-09 23:06:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414729 -2.805098)'), GeomFromEWKT('SRID=4674;POINT (-40.414584 -2.805156)'))) / (select extract(epoch from '2026-06-09 23:06:03'::timestamp) - extract(epoch from '2026-06-09 23:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414729 -2.805098)'), GeomFromEWKT('SRID=4674;POINT (-40.414584 -2.805156)'))) / (select extract(epoch from '2026-06-09 23:06:03'::timestamp) - extract(epoch from '2026-06-09 23:05: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'), 46728, 'SRID=4674;POINT (-40.414455 -2.805194)', '2026-06-09 23:06:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414584 -2.805156)'), GeomFromEWKT('SRID=4674;POINT (-40.414455 -2.805194)'))) / (select extract(epoch from '2026-06-09 23:06:10'::timestamp) - extract(epoch from '2026-06-09 23:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414584 -2.805156)'), GeomFromEWKT('SRID=4674;POINT (-40.414455 -2.805194)'))) / (select extract(epoch from '2026-06-09 23:06:10'::timestamp) - extract(epoch from '2026-06-09 23:06: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'), 46728, 'SRID=4674;POINT (-40.414371 -2.805219)', '2026-06-09 23:06:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414455 -2.805194)'), GeomFromEWKT('SRID=4674;POINT (-40.414371 -2.805219)'))) / (select extract(epoch from '2026-06-09 23:06:15'::timestamp) - extract(epoch from '2026-06-09 23:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414455 -2.805194)'), GeomFromEWKT('SRID=4674;POINT (-40.414371 -2.805219)'))) / (select extract(epoch from '2026-06-09 23:06:15'::timestamp) - extract(epoch from '2026-06-09 23:06: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'), 46728, 'SRID=4674;POINT (-40.414303 -2.805238)', '2026-06-09 23:06:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414371 -2.805219)'), GeomFromEWKT('SRID=4674;POINT (-40.414303 -2.805238)'))) / (select extract(epoch from '2026-06-09 23:06:19'::timestamp) - extract(epoch from '2026-06-09 23:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414371 -2.805219)'), GeomFromEWKT('SRID=4674;POINT (-40.414303 -2.805238)'))) / (select extract(epoch from '2026-06-09 23:06:19'::timestamp) - extract(epoch from '2026-06-09 23:06: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'), 46728, 'SRID=4674;POINT (-40.414265 -2.805255)', '2026-06-09 23:06:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414303 -2.805238)'), GeomFromEWKT('SRID=4674;POINT (-40.414265 -2.805255)'))) / (select extract(epoch from '2026-06-09 23:06:21'::timestamp) - extract(epoch from '2026-06-09 23:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414303 -2.805238)'), GeomFromEWKT('SRID=4674;POINT (-40.414265 -2.805255)'))) / (select extract(epoch from '2026-06-09 23:06:21'::timestamp) - extract(epoch from '2026-06-09 23:06: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'), 46728, 'SRID=4674;POINT (-40.414147 -2.805293)', '2026-06-09 23:06:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414265 -2.805255)'), GeomFromEWKT('SRID=4674;POINT (-40.414147 -2.805293)'))) / (select extract(epoch from '2026-06-09 23:06:27'::timestamp) - extract(epoch from '2026-06-09 23:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414265 -2.805255)'), GeomFromEWKT('SRID=4674;POINT (-40.414147 -2.805293)'))) / (select extract(epoch from '2026-06-09 23:06:27'::timestamp) - extract(epoch from '2026-06-09 23:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.414018 -2.80535)', '2026-06-09 23:06:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414147 -2.805293)'), GeomFromEWKT('SRID=4674;POINT (-40.414018 -2.80535)'))) / (select extract(epoch from '2026-06-09 23:06:34'::timestamp) - extract(epoch from '2026-06-09 23:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414147 -2.805293)'), GeomFromEWKT('SRID=4674;POINT (-40.414018 -2.80535)'))) / (select extract(epoch from '2026-06-09 23:06:34'::timestamp) - extract(epoch from '2026-06-09 23:06: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'), 46728, 'SRID=4674;POINT (-40.413881 -2.805406)', '2026-06-09 23:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414018 -2.80535)'), GeomFromEWKT('SRID=4674;POINT (-40.413881 -2.805406)'))) / (select extract(epoch from '2026-06-09 23:06:41'::timestamp) - extract(epoch from '2026-06-09 23:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414018 -2.80535)'), GeomFromEWKT('SRID=4674;POINT (-40.413881 -2.805406)'))) / (select extract(epoch from '2026-06-09 23:06:41'::timestamp) - extract(epoch from '2026-06-09 23:06: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'), 46728, 'SRID=4674;POINT (-40.413735 -2.805448)', '2026-06-09 23:06:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413881 -2.805406)'), GeomFromEWKT('SRID=4674;POINT (-40.413735 -2.805448)'))) / (select extract(epoch from '2026-06-09 23:06:49'::timestamp) - extract(epoch from '2026-06-09 23:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413881 -2.805406)'), GeomFromEWKT('SRID=4674;POINT (-40.413735 -2.805448)'))) / (select extract(epoch from '2026-06-09 23:06:49'::timestamp) - extract(epoch from '2026-06-09 23:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.413621 -2.805501)', '2026-06-09 23:06:55', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413735 -2.805448)'), GeomFromEWKT('SRID=4674;POINT (-40.413621 -2.805501)'))) / (select extract(epoch from '2026-06-09 23:06:55'::timestamp) - extract(epoch from '2026-06-09 23:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413735 -2.805448)'), GeomFromEWKT('SRID=4674;POINT (-40.413621 -2.805501)'))) / (select extract(epoch from '2026-06-09 23:06:55'::timestamp) - extract(epoch from '2026-06-09 23:06: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'), 46728, 'SRID=4674;POINT (-40.413501 -2.805541)', '2026-06-09 23:07:01', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413621 -2.805501)'), GeomFromEWKT('SRID=4674;POINT (-40.413501 -2.805541)'))) / (select extract(epoch from '2026-06-09 23:07:01'::timestamp) - extract(epoch from '2026-06-09 23:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413621 -2.805501)'), GeomFromEWKT('SRID=4674;POINT (-40.413501 -2.805541)'))) / (select extract(epoch from '2026-06-09 23:07:01'::timestamp) - extract(epoch from '2026-06-09 23:06: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'), 46728, 'SRID=4674;POINT (-40.41336 -2.805591)', '2026-06-09 23:07:08', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413501 -2.805541)'), GeomFromEWKT('SRID=4674;POINT (-40.41336 -2.805591)'))) / (select extract(epoch from '2026-06-09 23:07:08'::timestamp) - extract(epoch from '2026-06-09 23:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413501 -2.805541)'), GeomFromEWKT('SRID=4674;POINT (-40.41336 -2.805591)'))) / (select extract(epoch from '2026-06-09 23:07:08'::timestamp) - extract(epoch from '2026-06-09 23:07: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'), 46728, 'SRID=4674;POINT (-40.413228 -2.805625)', '2026-06-09 23:07:15', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41336 -2.805591)'), GeomFromEWKT('SRID=4674;POINT (-40.413228 -2.805625)'))) / (select extract(epoch from '2026-06-09 23:07:15'::timestamp) - extract(epoch from '2026-06-09 23:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41336 -2.805591)'), GeomFromEWKT('SRID=4674;POINT (-40.413228 -2.805625)'))) / (select extract(epoch from '2026-06-09 23:07:15'::timestamp) - extract(epoch from '2026-06-09 23:07: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'), 46728, 'SRID=4674;POINT (-40.413107 -2.805651)', '2026-06-09 23:07:21', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413228 -2.805625)'), GeomFromEWKT('SRID=4674;POINT (-40.413107 -2.805651)'))) / (select extract(epoch from '2026-06-09 23:07:21'::timestamp) - extract(epoch from '2026-06-09 23:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413228 -2.805625)'), GeomFromEWKT('SRID=4674;POINT (-40.413107 -2.805651)'))) / (select extract(epoch from '2026-06-09 23:07:21'::timestamp) - extract(epoch from '2026-06-09 23:07: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'), 46728, 'SRID=4674;POINT (-40.412956 -2.805687)', '2026-06-09 23:07:29', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413107 -2.805651)'), GeomFromEWKT('SRID=4674;POINT (-40.412956 -2.805687)'))) / (select extract(epoch from '2026-06-09 23:07:29'::timestamp) - extract(epoch from '2026-06-09 23:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413107 -2.805651)'), GeomFromEWKT('SRID=4674;POINT (-40.412956 -2.805687)'))) / (select extract(epoch from '2026-06-09 23:07:29'::timestamp) - extract(epoch from '2026-06-09 23:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.412814 -2.805742)', '2026-06-09 23:07:37', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412956 -2.805687)'), GeomFromEWKT('SRID=4674;POINT (-40.412814 -2.805742)'))) / (select extract(epoch from '2026-06-09 23:07:37'::timestamp) - extract(epoch from '2026-06-09 23:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412956 -2.805687)'), GeomFromEWKT('SRID=4674;POINT (-40.412814 -2.805742)'))) / (select extract(epoch from '2026-06-09 23:07:37'::timestamp) - extract(epoch from '2026-06-09 23:07: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'), 46728, 'SRID=4674;POINT (-40.412686 -2.805776)', '2026-06-09 23:07:44', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412814 -2.805742)'), GeomFromEWKT('SRID=4674;POINT (-40.412686 -2.805776)'))) / (select extract(epoch from '2026-06-09 23:07:44'::timestamp) - extract(epoch from '2026-06-09 23:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412814 -2.805742)'), GeomFromEWKT('SRID=4674;POINT (-40.412686 -2.805776)'))) / (select extract(epoch from '2026-06-09 23:07:44'::timestamp) - extract(epoch from '2026-06-09 23:07: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'), 46728, 'SRID=4674;POINT (-40.41256 -2.805809)', '2026-06-09 23:07:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412686 -2.805776)'), GeomFromEWKT('SRID=4674;POINT (-40.41256 -2.805809)'))) / (select extract(epoch from '2026-06-09 23:07:51'::timestamp) - extract(epoch from '2026-06-09 23:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412686 -2.805776)'), GeomFromEWKT('SRID=4674;POINT (-40.41256 -2.805809)'))) / (select extract(epoch from '2026-06-09 23:07:51'::timestamp) - extract(epoch from '2026-06-09 23:07: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'), 46728, 'SRID=4674;POINT (-40.412421 -2.805871)', '2026-06-09 23:07:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41256 -2.805809)'), GeomFromEWKT('SRID=4674;POINT (-40.412421 -2.805871)'))) / (select extract(epoch from '2026-06-09 23:07:58'::timestamp) - extract(epoch from '2026-06-09 23:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41256 -2.805809)'), GeomFromEWKT('SRID=4674;POINT (-40.412421 -2.805871)'))) / (select extract(epoch from '2026-06-09 23:07:58'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.412301 -2.805929)', '2026-06-09 23:08:05', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412421 -2.805871)'), GeomFromEWKT('SRID=4674;POINT (-40.412301 -2.805929)'))) / (select extract(epoch from '2026-06-09 23:08:05'::timestamp) - extract(epoch from '2026-06-09 23:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412421 -2.805871)'), GeomFromEWKT('SRID=4674;POINT (-40.412301 -2.805929)'))) / (select extract(epoch from '2026-06-09 23:08:05'::timestamp) - extract(epoch from '2026-06-09 23:07: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'), 46728, 'SRID=4674;POINT (-40.412171 -2.805983)', '2026-06-09 23:08:12', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412301 -2.805929)'), GeomFromEWKT('SRID=4674;POINT (-40.412171 -2.805983)'))) / (select extract(epoch from '2026-06-09 23:08:12'::timestamp) - extract(epoch from '2026-06-09 23:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412301 -2.805929)'), GeomFromEWKT('SRID=4674;POINT (-40.412171 -2.805983)'))) / (select extract(epoch from '2026-06-09 23:08:12'::timestamp) - extract(epoch from '2026-06-09 23:08: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'), 46728, 'SRID=4674;POINT (-40.412026 -2.806067)', '2026-06-09 23:08:20', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412171 -2.805983)'), GeomFromEWKT('SRID=4674;POINT (-40.412026 -2.806067)'))) / (select extract(epoch from '2026-06-09 23:08:20'::timestamp) - extract(epoch from '2026-06-09 23:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412171 -2.805983)'), GeomFromEWKT('SRID=4674;POINT (-40.412026 -2.806067)'))) / (select extract(epoch from '2026-06-09 23:08:20'::timestamp) - extract(epoch from '2026-06-09 23:08: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'), 46728, 'SRID=4674;POINT (-40.411898 -2.806131)', '2026-06-09 23:08:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412026 -2.806067)'), GeomFromEWKT('SRID=4674;POINT (-40.411898 -2.806131)'))) / (select extract(epoch from '2026-06-09 23:08:27'::timestamp) - extract(epoch from '2026-06-09 23:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412026 -2.806067)'), GeomFromEWKT('SRID=4674;POINT (-40.411898 -2.806131)'))) / (select extract(epoch from '2026-06-09 23:08:27'::timestamp) - extract(epoch from '2026-06-09 23:08: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'), 46728, 'SRID=4674;POINT (-40.41176 -2.806179)', '2026-06-09 23:08:35', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411898 -2.806131)'), GeomFromEWKT('SRID=4674;POINT (-40.41176 -2.806179)'))) / (select extract(epoch from '2026-06-09 23:08:35'::timestamp) - extract(epoch from '2026-06-09 23:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411898 -2.806131)'), GeomFromEWKT('SRID=4674;POINT (-40.41176 -2.806179)'))) / (select extract(epoch from '2026-06-09 23:08:35'::timestamp) - extract(epoch from '2026-06-09 23:08: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'), 46728, 'SRID=4674;POINT (-40.411627 -2.806222)', '2026-06-09 23:08:42', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41176 -2.806179)'), GeomFromEWKT('SRID=4674;POINT (-40.411627 -2.806222)'))) / (select extract(epoch from '2026-06-09 23:08:42'::timestamp) - extract(epoch from '2026-06-09 23:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41176 -2.806179)'), GeomFromEWKT('SRID=4674;POINT (-40.411627 -2.806222)'))) / (select extract(epoch from '2026-06-09 23:08:42'::timestamp) - extract(epoch from '2026-06-09 23:08: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'), 46728, 'SRID=4674;POINT (-40.411452 -2.806285)', '2026-06-09 23:08:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411627 -2.806222)'), GeomFromEWKT('SRID=4674;POINT (-40.411452 -2.806285)'))) / (select extract(epoch from '2026-06-09 23:08:51'::timestamp) - extract(epoch from '2026-06-09 23:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411627 -2.806222)'), GeomFromEWKT('SRID=4674;POINT (-40.411452 -2.806285)'))) / (select extract(epoch from '2026-06-09 23:08:51'::timestamp) - extract(epoch from '2026-06-09 23:08: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'), 46728, 'SRID=4674;POINT (-40.411338 -2.806315)', '2026-06-09 23:08:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411452 -2.806285)'), GeomFromEWKT('SRID=4674;POINT (-40.411338 -2.806315)'))) / (select extract(epoch from '2026-06-09 23:08:57'::timestamp) - extract(epoch from '2026-06-09 23:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411452 -2.806285)'), GeomFromEWKT('SRID=4674;POINT (-40.411338 -2.806315)'))) / (select extract(epoch from '2026-06-09 23:08:57'::timestamp) - extract(epoch from '2026-06-09 23:08: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'), 46728, 'SRID=4674;POINT (-40.411196 -2.806357)', '2026-06-09 23:09:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411338 -2.806315)'), GeomFromEWKT('SRID=4674;POINT (-40.411196 -2.806357)'))) / (select extract(epoch from '2026-06-09 23:09:04'::timestamp) - extract(epoch from '2026-06-09 23:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411338 -2.806315)'), GeomFromEWKT('SRID=4674;POINT (-40.411196 -2.806357)'))) / (select extract(epoch from '2026-06-09 23:09:04'::timestamp) - extract(epoch from '2026-06-09 23:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.411069 -2.806401)', '2026-06-09 23:09:11', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411196 -2.806357)'), GeomFromEWKT('SRID=4674;POINT (-40.411069 -2.806401)'))) / (select extract(epoch from '2026-06-09 23:09:11'::timestamp) - extract(epoch from '2026-06-09 23:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411196 -2.806357)'), GeomFromEWKT('SRID=4674;POINT (-40.411069 -2.806401)'))) / (select extract(epoch from '2026-06-09 23:09:11'::timestamp) - extract(epoch from '2026-06-09 23:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.410921 -2.806452)', '2026-06-09 23:09:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411069 -2.806401)'), GeomFromEWKT('SRID=4674;POINT (-40.410921 -2.806452)'))) / (select extract(epoch from '2026-06-09 23:09:19'::timestamp) - extract(epoch from '2026-06-09 23:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411069 -2.806401)'), GeomFromEWKT('SRID=4674;POINT (-40.410921 -2.806452)'))) / (select extract(epoch from '2026-06-09 23:09:19'::timestamp) - extract(epoch from '2026-06-09 23:09: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'), 46728, 'SRID=4674;POINT (-40.410778 -2.806493)', '2026-06-09 23:09:27', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410921 -2.806452)'), GeomFromEWKT('SRID=4674;POINT (-40.410778 -2.806493)'))) / (select extract(epoch from '2026-06-09 23:09:27'::timestamp) - extract(epoch from '2026-06-09 23:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410921 -2.806452)'), GeomFromEWKT('SRID=4674;POINT (-40.410778 -2.806493)'))) / (select extract(epoch from '2026-06-09 23:09:27'::timestamp) - extract(epoch from '2026-06-09 23:09: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'), 46728, 'SRID=4674;POINT (-40.410639 -2.80654)', '2026-06-09 23:09:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410778 -2.806493)'), GeomFromEWKT('SRID=4674;POINT (-40.410639 -2.80654)'))) / (select extract(epoch from '2026-06-09 23:09:35'::timestamp) - extract(epoch from '2026-06-09 23:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410778 -2.806493)'), GeomFromEWKT('SRID=4674;POINT (-40.410639 -2.80654)'))) / (select extract(epoch from '2026-06-09 23:09:35'::timestamp) - extract(epoch from '2026-06-09 23:09: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'), 46728, 'SRID=4674;POINT (-40.410501 -2.806585)', '2026-06-09 23:09:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410639 -2.80654)'), GeomFromEWKT('SRID=4674;POINT (-40.410501 -2.806585)'))) / (select extract(epoch from '2026-06-09 23:09:42'::timestamp) - extract(epoch from '2026-06-09 23:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410639 -2.80654)'), GeomFromEWKT('SRID=4674;POINT (-40.410501 -2.806585)'))) / (select extract(epoch from '2026-06-09 23:09:42'::timestamp) - extract(epoch from '2026-06-09 23:09: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'), 46728, 'SRID=4674;POINT (-40.410323 -2.806645)', '2026-06-09 23:09:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410501 -2.806585)'), GeomFromEWKT('SRID=4674;POINT (-40.410323 -2.806645)'))) / (select extract(epoch from '2026-06-09 23:09:51'::timestamp) - extract(epoch from '2026-06-09 23:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410501 -2.806585)'), GeomFromEWKT('SRID=4674;POINT (-40.410323 -2.806645)'))) / (select extract(epoch from '2026-06-09 23:09:51'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.41016 -2.806709)', '2026-06-09 23:09:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410323 -2.806645)'), GeomFromEWKT('SRID=4674;POINT (-40.41016 -2.806709)'))) / (select extract(epoch from '2026-06-09 23:09:59'::timestamp) - extract(epoch from '2026-06-09 23:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410323 -2.806645)'), GeomFromEWKT('SRID=4674;POINT (-40.41016 -2.806709)'))) / (select extract(epoch from '2026-06-09 23:09:59'::timestamp) - extract(epoch from '2026-06-09 23:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.410037 -2.806753)', '2026-06-09 23:10:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41016 -2.806709)'), GeomFromEWKT('SRID=4674;POINT (-40.410037 -2.806753)'))) / (select extract(epoch from '2026-06-09 23:10:06'::timestamp) - extract(epoch from '2026-06-09 23:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41016 -2.806709)'), GeomFromEWKT('SRID=4674;POINT (-40.410037 -2.806753)'))) / (select extract(epoch from '2026-06-09 23:10:06'::timestamp) - extract(epoch from '2026-06-09 23:09: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'), 46728, 'SRID=4674;POINT (-40.409925 -2.806801)', '2026-06-09 23:10:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410037 -2.806753)'), GeomFromEWKT('SRID=4674;POINT (-40.409925 -2.806801)'))) / (select extract(epoch from '2026-06-09 23:10:12'::timestamp) - extract(epoch from '2026-06-09 23:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410037 -2.806753)'), GeomFromEWKT('SRID=4674;POINT (-40.409925 -2.806801)'))) / (select extract(epoch from '2026-06-09 23:10:12'::timestamp) - extract(epoch from '2026-06-09 23:10: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'), 46728, 'SRID=4674;POINT (-40.409791 -2.806871)', '2026-06-09 23:10:19', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409925 -2.806801)'), GeomFromEWKT('SRID=4674;POINT (-40.409791 -2.806871)'))) / (select extract(epoch from '2026-06-09 23:10:19'::timestamp) - extract(epoch from '2026-06-09 23:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409925 -2.806801)'), GeomFromEWKT('SRID=4674;POINT (-40.409791 -2.806871)'))) / (select extract(epoch from '2026-06-09 23:10:19'::timestamp) - extract(epoch from '2026-06-09 23:10: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'), 46728, 'SRID=4674;POINT (-40.40967 -2.806917)', '2026-06-09 23:10:25', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409791 -2.806871)'), GeomFromEWKT('SRID=4674;POINT (-40.40967 -2.806917)'))) / (select extract(epoch from '2026-06-09 23:10:25'::timestamp) - extract(epoch from '2026-06-09 23:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409791 -2.806871)'), GeomFromEWKT('SRID=4674;POINT (-40.40967 -2.806917)'))) / (select extract(epoch from '2026-06-09 23:10:25'::timestamp) - extract(epoch from '2026-06-09 23:10: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'), 46728, 'SRID=4674;POINT (-40.409551 -2.806938)', '2026-06-09 23:10:31', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40967 -2.806917)'), GeomFromEWKT('SRID=4674;POINT (-40.409551 -2.806938)'))) / (select extract(epoch from '2026-06-09 23:10:31'::timestamp) - extract(epoch from '2026-06-09 23:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40967 -2.806917)'), GeomFromEWKT('SRID=4674;POINT (-40.409551 -2.806938)'))) / (select extract(epoch from '2026-06-09 23:10:31'::timestamp) - extract(epoch from '2026-06-09 23:10: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'), 46728, 'SRID=4674;POINT (-40.409397 -2.806992)', '2026-06-09 23:10:39', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409551 -2.806938)'), GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.806992)'))) / (select extract(epoch from '2026-06-09 23:10:39'::timestamp) - extract(epoch from '2026-06-09 23:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409551 -2.806938)'), GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.806992)'))) / (select extract(epoch from '2026-06-09 23:10:39'::timestamp) - extract(epoch from '2026-06-09 23:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.409279 -2.807024)', '2026-06-09 23:10:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.806992)'), GeomFromEWKT('SRID=4674;POINT (-40.409279 -2.807024)'))) / (select extract(epoch from '2026-06-09 23:10:45'::timestamp) - extract(epoch from '2026-06-09 23:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.806992)'), GeomFromEWKT('SRID=4674;POINT (-40.409279 -2.807024)'))) / (select extract(epoch from '2026-06-09 23:10:45'::timestamp) - extract(epoch from '2026-06-09 23:10: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'), 46728, 'SRID=4674;POINT (-40.409154 -2.807056)', '2026-06-09 23:10:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409279 -2.807024)'), GeomFromEWKT('SRID=4674;POINT (-40.409154 -2.807056)'))) / (select extract(epoch from '2026-06-09 23:10:52'::timestamp) - extract(epoch from '2026-06-09 23:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409279 -2.807024)'), GeomFromEWKT('SRID=4674;POINT (-40.409154 -2.807056)'))) / (select extract(epoch from '2026-06-09 23:10:52'::timestamp) - extract(epoch from '2026-06-09 23:10: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'), 46728, 'SRID=4674;POINT (-40.409005 -2.807087)', '2026-06-09 23:11:00', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409154 -2.807056)'), GeomFromEWKT('SRID=4674;POINT (-40.409005 -2.807087)'))) / (select extract(epoch from '2026-06-09 23:11:00'::timestamp) - extract(epoch from '2026-06-09 23:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409154 -2.807056)'), GeomFromEWKT('SRID=4674;POINT (-40.409005 -2.807087)'))) / (select extract(epoch from '2026-06-09 23:11:00'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.408861 -2.807133)', '2026-06-09 23:11:08', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409005 -2.807087)'), GeomFromEWKT('SRID=4674;POINT (-40.408861 -2.807133)'))) / (select extract(epoch from '2026-06-09 23:11:08'::timestamp) - extract(epoch from '2026-06-09 23:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409005 -2.807087)'), GeomFromEWKT('SRID=4674;POINT (-40.408861 -2.807133)'))) / (select extract(epoch from '2026-06-09 23:11:08'::timestamp) - extract(epoch from '2026-06-09 23:11: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'), 46728, 'SRID=4674;POINT (-40.408764 -2.807179)', '2026-06-09 23:11:14', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408861 -2.807133)'), GeomFromEWKT('SRID=4674;POINT (-40.408764 -2.807179)'))) / (select extract(epoch from '2026-06-09 23:11:14'::timestamp) - extract(epoch from '2026-06-09 23:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408861 -2.807133)'), GeomFromEWKT('SRID=4674;POINT (-40.408764 -2.807179)'))) / (select extract(epoch from '2026-06-09 23:11:14'::timestamp) - extract(epoch from '2026-06-09 23:11: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'), 46728, 'SRID=4674;POINT (-40.408627 -2.807252)', '2026-06-09 23:11:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408764 -2.807179)'), GeomFromEWKT('SRID=4674;POINT (-40.408627 -2.807252)'))) / (select extract(epoch from '2026-06-09 23:11:22'::timestamp) - extract(epoch from '2026-06-09 23:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408764 -2.807179)'), GeomFromEWKT('SRID=4674;POINT (-40.408627 -2.807252)'))) / (select extract(epoch from '2026-06-09 23:11:22'::timestamp) - extract(epoch from '2026-06-09 23:11: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'), 46728, 'SRID=4674;POINT (-40.408438 -2.807319)', '2026-06-09 23:11:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408627 -2.807252)'), GeomFromEWKT('SRID=4674;POINT (-40.408438 -2.807319)'))) / (select extract(epoch from '2026-06-09 23:11:32'::timestamp) - extract(epoch from '2026-06-09 23:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408627 -2.807252)'), GeomFromEWKT('SRID=4674;POINT (-40.408438 -2.807319)'))) / (select extract(epoch from '2026-06-09 23:11:32'::timestamp) - extract(epoch from '2026-06-09 23:11: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'), 46728, 'SRID=4674;POINT (-40.408319 -2.807354)', '2026-06-09 23:11:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408438 -2.807319)'), GeomFromEWKT('SRID=4674;POINT (-40.408319 -2.807354)'))) / (select extract(epoch from '2026-06-09 23:11:38'::timestamp) - extract(epoch from '2026-06-09 23:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408438 -2.807319)'), GeomFromEWKT('SRID=4674;POINT (-40.408319 -2.807354)'))) / (select extract(epoch from '2026-06-09 23:11:38'::timestamp) - extract(epoch from '2026-06-09 23:11: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'), 46728, 'SRID=4674;POINT (-40.408183 -2.807385)', '2026-06-09 23:11:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408319 -2.807354)'), GeomFromEWKT('SRID=4674;POINT (-40.408183 -2.807385)'))) / (select extract(epoch from '2026-06-09 23:11:45'::timestamp) - extract(epoch from '2026-06-09 23:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408319 -2.807354)'), GeomFromEWKT('SRID=4674;POINT (-40.408183 -2.807385)'))) / (select extract(epoch from '2026-06-09 23:11:45'::timestamp) - extract(epoch from '2026-06-09 23:11: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'), 46728, 'SRID=4674;POINT (-40.408068 -2.807421)', '2026-06-09 23:11:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408183 -2.807385)'), GeomFromEWKT('SRID=4674;POINT (-40.408068 -2.807421)'))) / (select extract(epoch from '2026-06-09 23:11:51'::timestamp) - extract(epoch from '2026-06-09 23:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408183 -2.807385)'), GeomFromEWKT('SRID=4674;POINT (-40.408068 -2.807421)'))) / (select extract(epoch from '2026-06-09 23:11:51'::timestamp) - extract(epoch from '2026-06-09 23:11: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'), 46728, 'SRID=4674;POINT (-40.407931 -2.807469)', '2026-06-09 23:11:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408068 -2.807421)'), GeomFromEWKT('SRID=4674;POINT (-40.407931 -2.807469)'))) / (select extract(epoch from '2026-06-09 23:11:58'::timestamp) - extract(epoch from '2026-06-09 23:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408068 -2.807421)'), GeomFromEWKT('SRID=4674;POINT (-40.407931 -2.807469)'))) / (select extract(epoch from '2026-06-09 23:11:58'::timestamp) - extract(epoch from '2026-06-09 23:11: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'), 46728, 'SRID=4674;POINT (-40.407795 -2.807518)', '2026-06-09 23:12:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407931 -2.807469)'), GeomFromEWKT('SRID=4674;POINT (-40.407795 -2.807518)'))) / (select extract(epoch from '2026-06-09 23:12:05'::timestamp) - extract(epoch from '2026-06-09 23:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407931 -2.807469)'), GeomFromEWKT('SRID=4674;POINT (-40.407795 -2.807518)'))) / (select extract(epoch from '2026-06-09 23:12:05'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.407654 -2.807548)', '2026-06-09 23:12:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407795 -2.807518)'), GeomFromEWKT('SRID=4674;POINT (-40.407654 -2.807548)'))) / (select extract(epoch from '2026-06-09 23:12:12'::timestamp) - extract(epoch from '2026-06-09 23:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407795 -2.807518)'), GeomFromEWKT('SRID=4674;POINT (-40.407654 -2.807548)'))) / (select extract(epoch from '2026-06-09 23:12:12'::timestamp) - extract(epoch from '2026-06-09 23:12: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'), 46728, 'SRID=4674;POINT (-40.40752 -2.807587)', '2026-06-09 23:12:19', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407654 -2.807548)'), GeomFromEWKT('SRID=4674;POINT (-40.40752 -2.807587)'))) / (select extract(epoch from '2026-06-09 23:12:19'::timestamp) - extract(epoch from '2026-06-09 23:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407654 -2.807548)'), GeomFromEWKT('SRID=4674;POINT (-40.40752 -2.807587)'))) / (select extract(epoch from '2026-06-09 23:12:19'::timestamp) - extract(epoch from '2026-06-09 23:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.407375 -2.807627)', '2026-06-09 23:12:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40752 -2.807587)'), GeomFromEWKT('SRID=4674;POINT (-40.407375 -2.807627)'))) / (select extract(epoch from '2026-06-09 23:12:27'::timestamp) - extract(epoch from '2026-06-09 23:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40752 -2.807587)'), GeomFromEWKT('SRID=4674;POINT (-40.407375 -2.807627)'))) / (select extract(epoch from '2026-06-09 23:12:27'::timestamp) - extract(epoch from '2026-06-09 23:12: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'), 46728, 'SRID=4674;POINT (-40.407249 -2.807663)', '2026-06-09 23:12:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407375 -2.807627)'), GeomFromEWKT('SRID=4674;POINT (-40.407249 -2.807663)'))) / (select extract(epoch from '2026-06-09 23:12:34'::timestamp) - extract(epoch from '2026-06-09 23:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407375 -2.807627)'), GeomFromEWKT('SRID=4674;POINT (-40.407249 -2.807663)'))) / (select extract(epoch from '2026-06-09 23:12:34'::timestamp) - extract(epoch from '2026-06-09 23:12: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'), 46728, 'SRID=4674;POINT (-40.40711 -2.807713)', '2026-06-09 23:12:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407249 -2.807663)'), GeomFromEWKT('SRID=4674;POINT (-40.40711 -2.807713)'))) / (select extract(epoch from '2026-06-09 23:12:41'::timestamp) - extract(epoch from '2026-06-09 23:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407249 -2.807663)'), GeomFromEWKT('SRID=4674;POINT (-40.40711 -2.807713)'))) / (select extract(epoch from '2026-06-09 23:12:41'::timestamp) - extract(epoch from '2026-06-09 23:12: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'), 46728, 'SRID=4674;POINT (-40.406988 -2.807773)', '2026-06-09 23:12:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40711 -2.807713)'), GeomFromEWKT('SRID=4674;POINT (-40.406988 -2.807773)'))) / (select extract(epoch from '2026-06-09 23:12:48'::timestamp) - extract(epoch from '2026-06-09 23:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40711 -2.807713)'), GeomFromEWKT('SRID=4674;POINT (-40.406988 -2.807773)'))) / (select extract(epoch from '2026-06-09 23:12:48'::timestamp) - extract(epoch from '2026-06-09 23:12: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'), 46728, 'SRID=4674;POINT (-40.406851 -2.807834)', '2026-06-09 23:12:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406988 -2.807773)'), GeomFromEWKT('SRID=4674;POINT (-40.406851 -2.807834)'))) / (select extract(epoch from '2026-06-09 23:12:55'::timestamp) - extract(epoch from '2026-06-09 23:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406988 -2.807773)'), GeomFromEWKT('SRID=4674;POINT (-40.406851 -2.807834)'))) / (select extract(epoch from '2026-06-09 23:12:55'::timestamp) - extract(epoch from '2026-06-09 23:12: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'), 46728, 'SRID=4674;POINT (-40.406738 -2.807897)', '2026-06-09 23:13:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406851 -2.807834)'), GeomFromEWKT('SRID=4674;POINT (-40.406738 -2.807897)'))) / (select extract(epoch from '2026-06-09 23:13:01'::timestamp) - extract(epoch from '2026-06-09 23:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406851 -2.807834)'), GeomFromEWKT('SRID=4674;POINT (-40.406738 -2.807897)'))) / (select extract(epoch from '2026-06-09 23:13:01'::timestamp) - extract(epoch from '2026-06-09 23:12: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'), 46728, 'SRID=4674;POINT (-40.406589 -2.807933)', '2026-06-09 23:13:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406738 -2.807897)'), GeomFromEWKT('SRID=4674;POINT (-40.406589 -2.807933)'))) / (select extract(epoch from '2026-06-09 23:13:08'::timestamp) - extract(epoch from '2026-06-09 23:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406738 -2.807897)'), GeomFromEWKT('SRID=4674;POINT (-40.406589 -2.807933)'))) / (select extract(epoch from '2026-06-09 23:13:08'::timestamp) - extract(epoch from '2026-06-09 23:13: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'), 46728, 'SRID=4674;POINT (-40.40644 -2.807967)', '2026-06-09 23:13:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406589 -2.807933)'), GeomFromEWKT('SRID=4674;POINT (-40.40644 -2.807967)'))) / (select extract(epoch from '2026-06-09 23:13:15'::timestamp) - extract(epoch from '2026-06-09 23:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406589 -2.807933)'), GeomFromEWKT('SRID=4674;POINT (-40.40644 -2.807967)'))) / (select extract(epoch from '2026-06-09 23:13:15'::timestamp) - extract(epoch from '2026-06-09 23:13: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'), 46728, 'SRID=4674;POINT (-40.406314 -2.807998)', '2026-06-09 23:13:21', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40644 -2.807967)'), GeomFromEWKT('SRID=4674;POINT (-40.406314 -2.807998)'))) / (select extract(epoch from '2026-06-09 23:13:21'::timestamp) - extract(epoch from '2026-06-09 23:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40644 -2.807967)'), GeomFromEWKT('SRID=4674;POINT (-40.406314 -2.807998)'))) / (select extract(epoch from '2026-06-09 23:13:21'::timestamp) - extract(epoch from '2026-06-09 23:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.406196 -2.808015)', '2026-06-09 23:13:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406314 -2.807998)'), GeomFromEWKT('SRID=4674;POINT (-40.406196 -2.808015)'))) / (select extract(epoch from '2026-06-09 23:13:27'::timestamp) - extract(epoch from '2026-06-09 23:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406314 -2.807998)'), GeomFromEWKT('SRID=4674;POINT (-40.406196 -2.808015)'))) / (select extract(epoch from '2026-06-09 23:13:27'::timestamp) - extract(epoch from '2026-06-09 23:13: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'), 46728, 'SRID=4674;POINT (-40.406042 -2.80806)', '2026-06-09 23:13:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406196 -2.808015)'), GeomFromEWKT('SRID=4674;POINT (-40.406042 -2.80806)'))) / (select extract(epoch from '2026-06-09 23:13:35'::timestamp) - extract(epoch from '2026-06-09 23:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406196 -2.808015)'), GeomFromEWKT('SRID=4674;POINT (-40.406042 -2.80806)'))) / (select extract(epoch from '2026-06-09 23:13:35'::timestamp) - extract(epoch from '2026-06-09 23:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.405915 -2.808085)', '2026-06-09 23:13:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406042 -2.80806)'), GeomFromEWKT('SRID=4674;POINT (-40.405915 -2.808085)'))) / (select extract(epoch from '2026-06-09 23:13:42'::timestamp) - extract(epoch from '2026-06-09 23:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406042 -2.80806)'), GeomFromEWKT('SRID=4674;POINT (-40.405915 -2.808085)'))) / (select extract(epoch from '2026-06-09 23:13:42'::timestamp) - extract(epoch from '2026-06-09 23:13: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'), 46728, 'SRID=4674;POINT (-40.405775 -2.808114)', '2026-06-09 23:13:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405915 -2.808085)'), GeomFromEWKT('SRID=4674;POINT (-40.405775 -2.808114)'))) / (select extract(epoch from '2026-06-09 23:13:49'::timestamp) - extract(epoch from '2026-06-09 23:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405915 -2.808085)'), GeomFromEWKT('SRID=4674;POINT (-40.405775 -2.808114)'))) / (select extract(epoch from '2026-06-09 23:13:49'::timestamp) - extract(epoch from '2026-06-09 23:13:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.405633 -2.808145)', '2026-06-09 23:13:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405775 -2.808114)'), GeomFromEWKT('SRID=4674;POINT (-40.405633 -2.808145)'))) / (select extract(epoch from '2026-06-09 23:13:56'::timestamp) - extract(epoch from '2026-06-09 23:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405775 -2.808114)'), GeomFromEWKT('SRID=4674;POINT (-40.405633 -2.808145)'))) / (select extract(epoch from '2026-06-09 23:13:56'::timestamp) - extract(epoch from '2026-06-09 23:13: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'), 46728, 'SRID=4674;POINT (-40.405478 -2.808184)', '2026-06-09 23:14:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405633 -2.808145)'), GeomFromEWKT('SRID=4674;POINT (-40.405478 -2.808184)'))) / (select extract(epoch from '2026-06-09 23:14:04'::timestamp) - extract(epoch from '2026-06-09 23:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405633 -2.808145)'), GeomFromEWKT('SRID=4674;POINT (-40.405478 -2.808184)'))) / (select extract(epoch from '2026-06-09 23:14:04'::timestamp) - extract(epoch from '2026-06-09 23:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.405333 -2.808229)', '2026-06-09 23:14:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405478 -2.808184)'), GeomFromEWKT('SRID=4674;POINT (-40.405333 -2.808229)'))) / (select extract(epoch from '2026-06-09 23:14:11'::timestamp) - extract(epoch from '2026-06-09 23:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405478 -2.808184)'), GeomFromEWKT('SRID=4674;POINT (-40.405333 -2.808229)'))) / (select extract(epoch from '2026-06-09 23:14:11'::timestamp) - extract(epoch from '2026-06-09 23:14: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'), 46728, 'SRID=4674;POINT (-40.405162 -2.80826)', '2026-06-09 23:14:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405333 -2.808229)'), GeomFromEWKT('SRID=4674;POINT (-40.405162 -2.80826)'))) / (select extract(epoch from '2026-06-09 23:14:19'::timestamp) - extract(epoch from '2026-06-09 23:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405333 -2.808229)'), GeomFromEWKT('SRID=4674;POINT (-40.405162 -2.80826)'))) / (select extract(epoch from '2026-06-09 23:14:19'::timestamp) - extract(epoch from '2026-06-09 23:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.404999 -2.808295)', '2026-06-09 23:14:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405162 -2.80826)'), GeomFromEWKT('SRID=4674;POINT (-40.404999 -2.808295)'))) / (select extract(epoch from '2026-06-09 23:14:27'::timestamp) - extract(epoch from '2026-06-09 23:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405162 -2.80826)'), GeomFromEWKT('SRID=4674;POINT (-40.404999 -2.808295)'))) / (select extract(epoch from '2026-06-09 23:14:27'::timestamp) - extract(epoch from '2026-06-09 23:14:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.40479 -2.808326)', '2026-06-09 23:14:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404999 -2.808295)'), GeomFromEWKT('SRID=4674;POINT (-40.40479 -2.808326)'))) / (select extract(epoch from '2026-06-09 23:14:37'::timestamp) - extract(epoch from '2026-06-09 23:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404999 -2.808295)'), GeomFromEWKT('SRID=4674;POINT (-40.40479 -2.808326)'))) / (select extract(epoch from '2026-06-09 23:14:37'::timestamp) - extract(epoch from '2026-06-09 23:14:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.404654 -2.808358)', '2026-06-09 23:14:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40479 -2.808326)'), GeomFromEWKT('SRID=4674;POINT (-40.404654 -2.808358)'))) / (select extract(epoch from '2026-06-09 23:14:44'::timestamp) - extract(epoch from '2026-06-09 23:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40479 -2.808326)'), GeomFromEWKT('SRID=4674;POINT (-40.404654 -2.808358)'))) / (select extract(epoch from '2026-06-09 23:14:44'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.404489 -2.80839)', '2026-06-09 23:14:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404654 -2.808358)'), GeomFromEWKT('SRID=4674;POINT (-40.404489 -2.80839)'))) / (select extract(epoch from '2026-06-09 23:14:52'::timestamp) - extract(epoch from '2026-06-09 23:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404654 -2.808358)'), GeomFromEWKT('SRID=4674;POINT (-40.404489 -2.80839)'))) / (select extract(epoch from '2026-06-09 23:14:52'::timestamp) - extract(epoch from '2026-06-09 23:14: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'), 46728, 'SRID=4674;POINT (-40.404324 -2.808429)', '2026-06-09 23:15:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404489 -2.80839)'), GeomFromEWKT('SRID=4674;POINT (-40.404324 -2.808429)'))) / (select extract(epoch from '2026-06-09 23:15:00'::timestamp) - extract(epoch from '2026-06-09 23:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404489 -2.80839)'), GeomFromEWKT('SRID=4674;POINT (-40.404324 -2.808429)'))) / (select extract(epoch from '2026-06-09 23:15:00'::timestamp) - extract(epoch from '2026-06-09 23:14: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'), 46728, 'SRID=4674;POINT (-40.404182 -2.808458)', '2026-06-09 23:15:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404324 -2.808429)'), GeomFromEWKT('SRID=4674;POINT (-40.404182 -2.808458)'))) / (select extract(epoch from '2026-06-09 23:15:07'::timestamp) - extract(epoch from '2026-06-09 23:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404324 -2.808429)'), GeomFromEWKT('SRID=4674;POINT (-40.404182 -2.808458)'))) / (select extract(epoch from '2026-06-09 23:15:07'::timestamp) - extract(epoch from '2026-06-09 23:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.404 -2.808484)', '2026-06-09 23:15:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404182 -2.808458)'), GeomFromEWKT('SRID=4674;POINT (-40.404 -2.808484)'))) / (select extract(epoch from '2026-06-09 23:15:16'::timestamp) - extract(epoch from '2026-06-09 23:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404182 -2.808458)'), GeomFromEWKT('SRID=4674;POINT (-40.404 -2.808484)'))) / (select extract(epoch from '2026-06-09 23:15:16'::timestamp) - extract(epoch from '2026-06-09 23:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.403823 -2.808516)', '2026-06-09 23:15:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404 -2.808484)'), GeomFromEWKT('SRID=4674;POINT (-40.403823 -2.808516)'))) / (select extract(epoch from '2026-06-09 23:15:25'::timestamp) - extract(epoch from '2026-06-09 23:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404 -2.808484)'), GeomFromEWKT('SRID=4674;POINT (-40.403823 -2.808516)'))) / (select extract(epoch from '2026-06-09 23:15:25'::timestamp) - extract(epoch from '2026-06-09 23:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.403681 -2.808549)', '2026-06-09 23:15:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403823 -2.808516)'), GeomFromEWKT('SRID=4674;POINT (-40.403681 -2.808549)'))) / (select extract(epoch from '2026-06-09 23:15:32'::timestamp) - extract(epoch from '2026-06-09 23:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403823 -2.808516)'), GeomFromEWKT('SRID=4674;POINT (-40.403681 -2.808549)'))) / (select extract(epoch from '2026-06-09 23:15:32'::timestamp) - extract(epoch from '2026-06-09 23:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.40354 -2.808581)', '2026-06-09 23:15:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403681 -2.808549)'), GeomFromEWKT('SRID=4674;POINT (-40.40354 -2.808581)'))) / (select extract(epoch from '2026-06-09 23:15:39'::timestamp) - extract(epoch from '2026-06-09 23:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403681 -2.808549)'), GeomFromEWKT('SRID=4674;POINT (-40.40354 -2.808581)'))) / (select extract(epoch from '2026-06-09 23:15:39'::timestamp) - extract(epoch from '2026-06-09 23:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.403392 -2.808603)', '2026-06-09 23:15:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40354 -2.808581)'), GeomFromEWKT('SRID=4674;POINT (-40.403392 -2.808603)'))) / (select extract(epoch from '2026-06-09 23:15:46'::timestamp) - extract(epoch from '2026-06-09 23:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40354 -2.808581)'), GeomFromEWKT('SRID=4674;POINT (-40.403392 -2.808603)'))) / (select extract(epoch from '2026-06-09 23:15:46'::timestamp) - extract(epoch from '2026-06-09 23:15: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'), 46728, 'SRID=4674;POINT (-40.403247 -2.808624)', '2026-06-09 23:15:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403392 -2.808603)'), GeomFromEWKT('SRID=4674;POINT (-40.403247 -2.808624)'))) / (select extract(epoch from '2026-06-09 23:15:53'::timestamp) - extract(epoch from '2026-06-09 23:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403392 -2.808603)'), GeomFromEWKT('SRID=4674;POINT (-40.403247 -2.808624)'))) / (select extract(epoch from '2026-06-09 23:15:53'::timestamp) - extract(epoch from '2026-06-09 23:15: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'), 46728, 'SRID=4674;POINT (-40.403072 -2.808648)', '2026-06-09 23:16:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403247 -2.808624)'), GeomFromEWKT('SRID=4674;POINT (-40.403072 -2.808648)'))) / (select extract(epoch from '2026-06-09 23:16:01'::timestamp) - extract(epoch from '2026-06-09 23:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403247 -2.808624)'), GeomFromEWKT('SRID=4674;POINT (-40.403072 -2.808648)'))) / (select extract(epoch from '2026-06-09 23:16:01'::timestamp) - extract(epoch from '2026-06-09 23:15: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'), 46728, 'SRID=4674;POINT (-40.402892 -2.808664)', '2026-06-09 23:16:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403072 -2.808648)'), GeomFromEWKT('SRID=4674;POINT (-40.402892 -2.808664)'))) / (select extract(epoch from '2026-06-09 23:16:10'::timestamp) - extract(epoch from '2026-06-09 23:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403072 -2.808648)'), GeomFromEWKT('SRID=4674;POINT (-40.402892 -2.808664)'))) / (select extract(epoch from '2026-06-09 23:16:10'::timestamp) - extract(epoch from '2026-06-09 23:16: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'), 46728, 'SRID=4674;POINT (-40.402727 -2.808685)', '2026-06-09 23:16:18', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402892 -2.808664)'), GeomFromEWKT('SRID=4674;POINT (-40.402727 -2.808685)'))) / (select extract(epoch from '2026-06-09 23:16:18'::timestamp) - extract(epoch from '2026-06-09 23:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402892 -2.808664)'), GeomFromEWKT('SRID=4674;POINT (-40.402727 -2.808685)'))) / (select extract(epoch from '2026-06-09 23:16:18'::timestamp) - extract(epoch from '2026-06-09 23:16: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'), 46728, 'SRID=4674;POINT (-40.402547 -2.808691)', '2026-06-09 23:16:27', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402727 -2.808685)'), GeomFromEWKT('SRID=4674;POINT (-40.402547 -2.808691)'))) / (select extract(epoch from '2026-06-09 23:16:27'::timestamp) - extract(epoch from '2026-06-09 23:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402727 -2.808685)'), GeomFromEWKT('SRID=4674;POINT (-40.402547 -2.808691)'))) / (select extract(epoch from '2026-06-09 23:16:27'::timestamp) - extract(epoch from '2026-06-09 23:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.402405 -2.808706)', '2026-06-09 23:16:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402547 -2.808691)'), GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.808706)'))) / (select extract(epoch from '2026-06-09 23:16:34'::timestamp) - extract(epoch from '2026-06-09 23:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402547 -2.808691)'), GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.808706)'))) / (select extract(epoch from '2026-06-09 23:16:34'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.402251 -2.808711)', '2026-06-09 23:16:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.808706)'), GeomFromEWKT('SRID=4674;POINT (-40.402251 -2.808711)'))) / (select extract(epoch from '2026-06-09 23:16:41'::timestamp) - extract(epoch from '2026-06-09 23:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.808706)'), GeomFromEWKT('SRID=4674;POINT (-40.402251 -2.808711)'))) / (select extract(epoch from '2026-06-09 23:16:41'::timestamp) - extract(epoch from '2026-06-09 23:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.402063 -2.808737)', '2026-06-09 23:16:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402251 -2.808711)'), GeomFromEWKT('SRID=4674;POINT (-40.402063 -2.808737)'))) / (select extract(epoch from '2026-06-09 23:16:50'::timestamp) - extract(epoch from '2026-06-09 23:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402251 -2.808711)'), GeomFromEWKT('SRID=4674;POINT (-40.402063 -2.808737)'))) / (select extract(epoch from '2026-06-09 23:16:50'::timestamp) - extract(epoch from '2026-06-09 23:16: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'), 46728, 'SRID=4674;POINT (-40.401919 -2.808762)', '2026-06-09 23:16:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402063 -2.808737)'), GeomFromEWKT('SRID=4674;POINT (-40.401919 -2.808762)'))) / (select extract(epoch from '2026-06-09 23:16:57'::timestamp) - extract(epoch from '2026-06-09 23:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402063 -2.808737)'), GeomFromEWKT('SRID=4674;POINT (-40.401919 -2.808762)'))) / (select extract(epoch from '2026-06-09 23:16:57'::timestamp) - extract(epoch from '2026-06-09 23:16:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.4018 -2.808789)', '2026-06-09 23:17:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401919 -2.808762)'), GeomFromEWKT('SRID=4674;POINT (-40.4018 -2.808789)'))) / (select extract(epoch from '2026-06-09 23:17:03'::timestamp) - extract(epoch from '2026-06-09 23:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401919 -2.808762)'), GeomFromEWKT('SRID=4674;POINT (-40.4018 -2.808789)'))) / (select extract(epoch from '2026-06-09 23:17:03'::timestamp) - extract(epoch from '2026-06-09 23:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.401656 -2.808787)', '2026-06-09 23:17:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4018 -2.808789)'), GeomFromEWKT('SRID=4674;POINT (-40.401656 -2.808787)'))) / (select extract(epoch from '2026-06-09 23:17:10'::timestamp) - extract(epoch from '2026-06-09 23:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4018 -2.808789)'), GeomFromEWKT('SRID=4674;POINT (-40.401656 -2.808787)'))) / (select extract(epoch from '2026-06-09 23:17:10'::timestamp) - extract(epoch from '2026-06-09 23:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.40151 -2.808796)', '2026-06-09 23:17:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401656 -2.808787)'), GeomFromEWKT('SRID=4674;POINT (-40.40151 -2.808796)'))) / (select extract(epoch from '2026-06-09 23:17:17'::timestamp) - extract(epoch from '2026-06-09 23:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401656 -2.808787)'), GeomFromEWKT('SRID=4674;POINT (-40.40151 -2.808796)'))) / (select extract(epoch from '2026-06-09 23:17:17'::timestamp) - extract(epoch from '2026-06-09 23:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.401332 -2.808811)', '2026-06-09 23:17:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40151 -2.808796)'), GeomFromEWKT('SRID=4674;POINT (-40.401332 -2.808811)'))) / (select extract(epoch from '2026-06-09 23:17:25'::timestamp) - extract(epoch from '2026-06-09 23:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40151 -2.808796)'), GeomFromEWKT('SRID=4674;POINT (-40.401332 -2.808811)'))) / (select extract(epoch from '2026-06-09 23:17:25'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.401186 -2.808822)', '2026-06-09 23:17:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401332 -2.808811)'), GeomFromEWKT('SRID=4674;POINT (-40.401186 -2.808822)'))) / (select extract(epoch from '2026-06-09 23:17:32'::timestamp) - extract(epoch from '2026-06-09 23:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401332 -2.808811)'), GeomFromEWKT('SRID=4674;POINT (-40.401186 -2.808822)'))) / (select extract(epoch from '2026-06-09 23:17:32'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.401036 -2.808818)', '2026-06-09 23:17:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401186 -2.808822)'), GeomFromEWKT('SRID=4674;POINT (-40.401036 -2.808818)'))) / (select extract(epoch from '2026-06-09 23:17:39'::timestamp) - extract(epoch from '2026-06-09 23:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401186 -2.808822)'), GeomFromEWKT('SRID=4674;POINT (-40.401036 -2.808818)'))) / (select extract(epoch from '2026-06-09 23:17:39'::timestamp) - extract(epoch from '2026-06-09 23:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.400906 -2.808823)', '2026-06-09 23:17:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401036 -2.808818)'), GeomFromEWKT('SRID=4674;POINT (-40.400906 -2.808823)'))) / (select extract(epoch from '2026-06-09 23:17:45'::timestamp) - extract(epoch from '2026-06-09 23:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401036 -2.808818)'), GeomFromEWKT('SRID=4674;POINT (-40.400906 -2.808823)'))) / (select extract(epoch from '2026-06-09 23:17:45'::timestamp) - extract(epoch from '2026-06-09 23:17: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'), 46728, 'SRID=4674;POINT (-40.400745 -2.808843)', '2026-06-09 23:17:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400906 -2.808823)'), GeomFromEWKT('SRID=4674;POINT (-40.400745 -2.808843)'))) / (select extract(epoch from '2026-06-09 23:17:53'::timestamp) - extract(epoch from '2026-06-09 23:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400906 -2.808823)'), GeomFromEWKT('SRID=4674;POINT (-40.400745 -2.808843)'))) / (select extract(epoch from '2026-06-09 23:17:53'::timestamp) - extract(epoch from '2026-06-09 23:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.400616 -2.808854)', '2026-06-09 23:17:59', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400745 -2.808843)'), GeomFromEWKT('SRID=4674;POINT (-40.400616 -2.808854)'))) / (select extract(epoch from '2026-06-09 23:17:59'::timestamp) - extract(epoch from '2026-06-09 23:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400745 -2.808843)'), GeomFromEWKT('SRID=4674;POINT (-40.400616 -2.808854)'))) / (select extract(epoch from '2026-06-09 23:17:59'::timestamp) - extract(epoch from '2026-06-09 23:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.400478 -2.808887)', '2026-06-09 23:18:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400616 -2.808854)'), GeomFromEWKT('SRID=4674;POINT (-40.400478 -2.808887)'))) / (select extract(epoch from '2026-06-09 23:18:06'::timestamp) - extract(epoch from '2026-06-09 23:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400616 -2.808854)'), GeomFromEWKT('SRID=4674;POINT (-40.400478 -2.808887)'))) / (select extract(epoch from '2026-06-09 23:18:06'::timestamp) - extract(epoch from '2026-06-09 23:17: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'), 46728, 'SRID=4674;POINT (-40.400314 -2.808909)', '2026-06-09 23:18:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400478 -2.808887)'), GeomFromEWKT('SRID=4674;POINT (-40.400314 -2.808909)'))) / (select extract(epoch from '2026-06-09 23:18:14'::timestamp) - extract(epoch from '2026-06-09 23:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400478 -2.808887)'), GeomFromEWKT('SRID=4674;POINT (-40.400314 -2.808909)'))) / (select extract(epoch from '2026-06-09 23:18:14'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.400097 -2.808909)', '2026-06-09 23:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400314 -2.808909)'), GeomFromEWKT('SRID=4674;POINT (-40.400097 -2.808909)'))) / (select extract(epoch from '2026-06-09 23:18:24'::timestamp) - extract(epoch from '2026-06-09 23:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400314 -2.808909)'), GeomFromEWKT('SRID=4674;POINT (-40.400097 -2.808909)'))) / (select extract(epoch from '2026-06-09 23:18:24'::timestamp) - extract(epoch from '2026-06-09 23:18: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'), 46728, 'SRID=4674;POINT (-40.39996 -2.808914)', '2026-06-09 23:18:30', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400097 -2.808909)'), GeomFromEWKT('SRID=4674;POINT (-40.39996 -2.808914)'))) / (select extract(epoch from '2026-06-09 23:18:30'::timestamp) - extract(epoch from '2026-06-09 23:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400097 -2.808909)'), GeomFromEWKT('SRID=4674;POINT (-40.39996 -2.808914)'))) / (select extract(epoch from '2026-06-09 23:18:30'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.399814 -2.808919)', '2026-06-09 23:18:37', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39996 -2.808914)'), GeomFromEWKT('SRID=4674;POINT (-40.399814 -2.808919)'))) / (select extract(epoch from '2026-06-09 23:18:37'::timestamp) - extract(epoch from '2026-06-09 23:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39996 -2.808914)'), GeomFromEWKT('SRID=4674;POINT (-40.399814 -2.808919)'))) / (select extract(epoch from '2026-06-09 23:18:37'::timestamp) - extract(epoch from '2026-06-09 23:18: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'), 46728, 'SRID=4674;POINT (-40.399634 -2.808932)', '2026-06-09 23:18:46', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399814 -2.808919)'), GeomFromEWKT('SRID=4674;POINT (-40.399634 -2.808932)'))) / (select extract(epoch from '2026-06-09 23:18:46'::timestamp) - extract(epoch from '2026-06-09 23:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399814 -2.808919)'), GeomFromEWKT('SRID=4674;POINT (-40.399634 -2.808932)'))) / (select extract(epoch from '2026-06-09 23:18:46'::timestamp) - extract(epoch from '2026-06-09 23:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.399496 -2.80894)', '2026-06-09 23:18:53', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399634 -2.808932)'), GeomFromEWKT('SRID=4674;POINT (-40.399496 -2.80894)'))) / (select extract(epoch from '2026-06-09 23:18:53'::timestamp) - extract(epoch from '2026-06-09 23:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399634 -2.808932)'), GeomFromEWKT('SRID=4674;POINT (-40.399496 -2.80894)'))) / (select extract(epoch from '2026-06-09 23:18:53'::timestamp) - extract(epoch from '2026-06-09 23:18: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'), 46728, 'SRID=4674;POINT (-40.399359 -2.808926)', '2026-06-09 23:19:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399496 -2.80894)'), GeomFromEWKT('SRID=4674;POINT (-40.399359 -2.808926)'))) / (select extract(epoch from '2026-06-09 23:19:00'::timestamp) - extract(epoch from '2026-06-09 23:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399496 -2.80894)'), GeomFromEWKT('SRID=4674;POINT (-40.399359 -2.808926)'))) / (select extract(epoch from '2026-06-09 23:19:00'::timestamp) - extract(epoch from '2026-06-09 23:18: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'), 46728, 'SRID=4674;POINT (-40.399247 -2.808911)', '2026-06-09 23:19:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399359 -2.808926)'), GeomFromEWKT('SRID=4674;POINT (-40.399247 -2.808911)'))) / (select extract(epoch from '2026-06-09 23:19:06'::timestamp) - extract(epoch from '2026-06-09 23:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399359 -2.808926)'), GeomFromEWKT('SRID=4674;POINT (-40.399247 -2.808911)'))) / (select extract(epoch from '2026-06-09 23:19:06'::timestamp) - extract(epoch from '2026-06-09 23:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.399085 -2.808916)', '2026-06-09 23:19:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399247 -2.808911)'), GeomFromEWKT('SRID=4674;POINT (-40.399085 -2.808916)'))) / (select extract(epoch from '2026-06-09 23:19:14'::timestamp) - extract(epoch from '2026-06-09 23:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399247 -2.808911)'), GeomFromEWKT('SRID=4674;POINT (-40.399085 -2.808916)'))) / (select extract(epoch from '2026-06-09 23:19:14'::timestamp) - extract(epoch from '2026-06-09 23:19: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'), 46728, 'SRID=4674;POINT (-40.398934 -2.808904)', '2026-06-09 23:19:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399085 -2.808916)'), GeomFromEWKT('SRID=4674;POINT (-40.398934 -2.808904)'))) / (select extract(epoch from '2026-06-09 23:19:22'::timestamp) - extract(epoch from '2026-06-09 23:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399085 -2.808916)'), GeomFromEWKT('SRID=4674;POINT (-40.398934 -2.808904)'))) / (select extract(epoch from '2026-06-09 23:19:22'::timestamp) - extract(epoch from '2026-06-09 23:19: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'), 46728, 'SRID=4674;POINT (-40.398806 -2.808881)', '2026-06-09 23:19:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398934 -2.808904)'), GeomFromEWKT('SRID=4674;POINT (-40.398806 -2.808881)'))) / (select extract(epoch from '2026-06-09 23:19:29'::timestamp) - extract(epoch from '2026-06-09 23:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398934 -2.808904)'), GeomFromEWKT('SRID=4674;POINT (-40.398806 -2.808881)'))) / (select extract(epoch from '2026-06-09 23:19:29'::timestamp) - extract(epoch from '2026-06-09 23:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.398618 -2.808879)', '2026-06-09 23:19:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398806 -2.808881)'), GeomFromEWKT('SRID=4674;POINT (-40.398618 -2.808879)'))) / (select extract(epoch from '2026-06-09 23:19:38'::timestamp) - extract(epoch from '2026-06-09 23:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398806 -2.808881)'), GeomFromEWKT('SRID=4674;POINT (-40.398618 -2.808879)'))) / (select extract(epoch from '2026-06-09 23:19:38'::timestamp) - extract(epoch from '2026-06-09 23:19: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'), 46728, 'SRID=4674;POINT (-40.398495 -2.808886)', '2026-06-09 23:19:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398618 -2.808879)'), GeomFromEWKT('SRID=4674;POINT (-40.398495 -2.808886)'))) / (select extract(epoch from '2026-06-09 23:19:44'::timestamp) - extract(epoch from '2026-06-09 23:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398618 -2.808879)'), GeomFromEWKT('SRID=4674;POINT (-40.398495 -2.808886)'))) / (select extract(epoch from '2026-06-09 23:19:44'::timestamp) - extract(epoch from '2026-06-09 23:19: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'), 46728, 'SRID=4674;POINT (-40.398352 -2.808874)', '2026-06-09 23:19:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398495 -2.808886)'), GeomFromEWKT('SRID=4674;POINT (-40.398352 -2.808874)'))) / (select extract(epoch from '2026-06-09 23:19:51'::timestamp) - extract(epoch from '2026-06-09 23:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398495 -2.808886)'), GeomFromEWKT('SRID=4674;POINT (-40.398352 -2.808874)'))) / (select extract(epoch from '2026-06-09 23:19:51'::timestamp) - extract(epoch from '2026-06-09 23:19: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'), 46728, 'SRID=4674;POINT (-40.398233 -2.808861)', '2026-06-09 23:19:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398352 -2.808874)'), GeomFromEWKT('SRID=4674;POINT (-40.398233 -2.808861)'))) / (select extract(epoch from '2026-06-09 23:19:57'::timestamp) - extract(epoch from '2026-06-09 23:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398352 -2.808874)'), GeomFromEWKT('SRID=4674;POINT (-40.398233 -2.808861)'))) / (select extract(epoch from '2026-06-09 23:19:57'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.398044 -2.808849)', '2026-06-09 23:20:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398233 -2.808861)'), GeomFromEWKT('SRID=4674;POINT (-40.398044 -2.808849)'))) / (select extract(epoch from '2026-06-09 23:20:06'::timestamp) - extract(epoch from '2026-06-09 23:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398233 -2.808861)'), GeomFromEWKT('SRID=4674;POINT (-40.398044 -2.808849)'))) / (select extract(epoch from '2026-06-09 23:20:06'::timestamp) - extract(epoch from '2026-06-09 23:19: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'), 46728, 'SRID=4674;POINT (-40.3979 -2.80887)', '2026-06-09 23:20:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398044 -2.808849)'), GeomFromEWKT('SRID=4674;POINT (-40.3979 -2.80887)'))) / (select extract(epoch from '2026-06-09 23:20:14'::timestamp) - extract(epoch from '2026-06-09 23:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398044 -2.808849)'), GeomFromEWKT('SRID=4674;POINT (-40.3979 -2.80887)'))) / (select extract(epoch from '2026-06-09 23:20:14'::timestamp) - extract(epoch from '2026-06-09 23:20: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'), 46728, 'SRID=4674;POINT (-40.397746 -2.808859)', '2026-06-09 23:20:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3979 -2.80887)'), GeomFromEWKT('SRID=4674;POINT (-40.397746 -2.808859)'))) / (select extract(epoch from '2026-06-09 23:20:22'::timestamp) - extract(epoch from '2026-06-09 23:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3979 -2.80887)'), GeomFromEWKT('SRID=4674;POINT (-40.397746 -2.808859)'))) / (select extract(epoch from '2026-06-09 23:20:22'::timestamp) - extract(epoch from '2026-06-09 23:20:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.397596 -2.808863)', '2026-06-09 23:20:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397746 -2.808859)'), GeomFromEWKT('SRID=4674;POINT (-40.397596 -2.808863)'))) / (select extract(epoch from '2026-06-09 23:20:30'::timestamp) - extract(epoch from '2026-06-09 23:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397746 -2.808859)'), GeomFromEWKT('SRID=4674;POINT (-40.397596 -2.808863)'))) / (select extract(epoch from '2026-06-09 23:20:30'::timestamp) - extract(epoch from '2026-06-09 23:20: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'), 46728, 'SRID=4674;POINT (-40.397459 -2.808859)', '2026-06-09 23:20:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397596 -2.808863)'), GeomFromEWKT('SRID=4674;POINT (-40.397459 -2.808859)'))) / (select extract(epoch from '2026-06-09 23:20:37'::timestamp) - extract(epoch from '2026-06-09 23:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397596 -2.808863)'), GeomFromEWKT('SRID=4674;POINT (-40.397459 -2.808859)'))) / (select extract(epoch from '2026-06-09 23:20:37'::timestamp) - extract(epoch from '2026-06-09 23:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.397322 -2.808872)', '2026-06-09 23:20:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397459 -2.808859)'), GeomFromEWKT('SRID=4674;POINT (-40.397322 -2.808872)'))) / (select extract(epoch from '2026-06-09 23:20:44'::timestamp) - extract(epoch from '2026-06-09 23:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397459 -2.808859)'), GeomFromEWKT('SRID=4674;POINT (-40.397322 -2.808872)'))) / (select extract(epoch from '2026-06-09 23:20:44'::timestamp) - extract(epoch from '2026-06-09 23:20: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'), 46728, 'SRID=4674;POINT (-40.397156 -2.808885)', '2026-06-09 23:20:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397322 -2.808872)'), GeomFromEWKT('SRID=4674;POINT (-40.397156 -2.808885)'))) / (select extract(epoch from '2026-06-09 23:20:52'::timestamp) - extract(epoch from '2026-06-09 23:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397322 -2.808872)'), GeomFromEWKT('SRID=4674;POINT (-40.397156 -2.808885)'))) / (select extract(epoch from '2026-06-09 23:20:52'::timestamp) - extract(epoch from '2026-06-09 23:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.396976 -2.808881)', '2026-06-09 23:21:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397156 -2.808885)'), GeomFromEWKT('SRID=4674;POINT (-40.396976 -2.808881)'))) / (select extract(epoch from '2026-06-09 23:21:01'::timestamp) - extract(epoch from '2026-06-09 23:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397156 -2.808885)'), GeomFromEWKT('SRID=4674;POINT (-40.396976 -2.808881)'))) / (select extract(epoch from '2026-06-09 23:21:01'::timestamp) - extract(epoch from '2026-06-09 23:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.396819 -2.808863)', '2026-06-09 23:21:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396976 -2.808881)'), GeomFromEWKT('SRID=4674;POINT (-40.396819 -2.808863)'))) / (select extract(epoch from '2026-06-09 23:21:09'::timestamp) - extract(epoch from '2026-06-09 23:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396976 -2.808881)'), GeomFromEWKT('SRID=4674;POINT (-40.396819 -2.808863)'))) / (select extract(epoch from '2026-06-09 23:21:09'::timestamp) - extract(epoch from '2026-06-09 23:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.396678 -2.808867)', '2026-06-09 23:21:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396819 -2.808863)'), GeomFromEWKT('SRID=4674;POINT (-40.396678 -2.808867)'))) / (select extract(epoch from '2026-06-09 23:21:16'::timestamp) - extract(epoch from '2026-06-09 23:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396819 -2.808863)'), GeomFromEWKT('SRID=4674;POINT (-40.396678 -2.808867)'))) / (select extract(epoch from '2026-06-09 23:21:16'::timestamp) - extract(epoch from '2026-06-09 23:21: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'), 46728, 'SRID=4674;POINT (-40.396518 -2.808872)', '2026-06-09 23:21:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396678 -2.808867)'), GeomFromEWKT('SRID=4674;POINT (-40.396518 -2.808872)'))) / (select extract(epoch from '2026-06-09 23:21:24'::timestamp) - extract(epoch from '2026-06-09 23:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396678 -2.808867)'), GeomFromEWKT('SRID=4674;POINT (-40.396518 -2.808872)'))) / (select extract(epoch from '2026-06-09 23:21:24'::timestamp) - extract(epoch from '2026-06-09 23:21: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'), 46728, 'SRID=4674;POINT (-40.396361 -2.808875)', '2026-06-09 23:21:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396518 -2.808872)'), GeomFromEWKT('SRID=4674;POINT (-40.396361 -2.808875)'))) / (select extract(epoch from '2026-06-09 23:21:32'::timestamp) - extract(epoch from '2026-06-09 23:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396518 -2.808872)'), GeomFromEWKT('SRID=4674;POINT (-40.396361 -2.808875)'))) / (select extract(epoch from '2026-06-09 23:21:32'::timestamp) - extract(epoch from '2026-06-09 23:21: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'), 46728, 'SRID=4674;POINT (-40.396245 -2.808901)', '2026-06-09 23:21:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396361 -2.808875)'), GeomFromEWKT('SRID=4674;POINT (-40.396245 -2.808901)'))) / (select extract(epoch from '2026-06-09 23:21:38'::timestamp) - extract(epoch from '2026-06-09 23:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396361 -2.808875)'), GeomFromEWKT('SRID=4674;POINT (-40.396245 -2.808901)'))) / (select extract(epoch from '2026-06-09 23:21:38'::timestamp) - extract(epoch from '2026-06-09 23:21:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.396126 -2.808942)', '2026-06-09 23:21:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396245 -2.808901)'), GeomFromEWKT('SRID=4674;POINT (-40.396126 -2.808942)'))) / (select extract(epoch from '2026-06-09 23:21:44'::timestamp) - extract(epoch from '2026-06-09 23:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396245 -2.808901)'), GeomFromEWKT('SRID=4674;POINT (-40.396126 -2.808942)'))) / (select extract(epoch from '2026-06-09 23:21:44'::timestamp) - extract(epoch from '2026-06-09 23:21: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'), 46728, 'SRID=4674;POINT (-40.396014 -2.808971)', '2026-06-09 23:21:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396126 -2.808942)'), GeomFromEWKT('SRID=4674;POINT (-40.396014 -2.808971)'))) / (select extract(epoch from '2026-06-09 23:21:50'::timestamp) - extract(epoch from '2026-06-09 23:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396126 -2.808942)'), GeomFromEWKT('SRID=4674;POINT (-40.396014 -2.808971)'))) / (select extract(epoch from '2026-06-09 23:21:50'::timestamp) - extract(epoch from '2026-06-09 23:21: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'), 46728, 'SRID=4674;POINT (-40.395886 -2.809002)', '2026-06-09 23:21:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396014 -2.808971)'), GeomFromEWKT('SRID=4674;POINT (-40.395886 -2.809002)'))) / (select extract(epoch from '2026-06-09 23:21:57'::timestamp) - extract(epoch from '2026-06-09 23:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396014 -2.808971)'), GeomFromEWKT('SRID=4674;POINT (-40.395886 -2.809002)'))) / (select extract(epoch from '2026-06-09 23:21:57'::timestamp) - extract(epoch from '2026-06-09 23:21: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'), 46728, 'SRID=4674;POINT (-40.395729 -2.809023)', '2026-06-09 23:22:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395886 -2.809002)'), GeomFromEWKT('SRID=4674;POINT (-40.395729 -2.809023)'))) / (select extract(epoch from '2026-06-09 23:22:05'::timestamp) - extract(epoch from '2026-06-09 23:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395886 -2.809002)'), GeomFromEWKT('SRID=4674;POINT (-40.395729 -2.809023)'))) / (select extract(epoch from '2026-06-09 23:22:05'::timestamp) - extract(epoch from '2026-06-09 23:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.395542 -2.809066)', '2026-06-09 23:22:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395729 -2.809023)'), GeomFromEWKT('SRID=4674;POINT (-40.395542 -2.809066)'))) / (select extract(epoch from '2026-06-09 23:22:14'::timestamp) - extract(epoch from '2026-06-09 23:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395729 -2.809023)'), GeomFromEWKT('SRID=4674;POINT (-40.395542 -2.809066)'))) / (select extract(epoch from '2026-06-09 23:22:14'::timestamp) - extract(epoch from '2026-06-09 23:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.395393 -2.809088)', '2026-06-09 23:22:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395542 -2.809066)'), GeomFromEWKT('SRID=4674;POINT (-40.395393 -2.809088)'))) / (select extract(epoch from '2026-06-09 23:22:22'::timestamp) - extract(epoch from '2026-06-09 23:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395542 -2.809066)'), GeomFromEWKT('SRID=4674;POINT (-40.395393 -2.809088)'))) / (select extract(epoch from '2026-06-09 23:22:22'::timestamp) - extract(epoch from '2026-06-09 23:22: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'), 46728, 'SRID=4674;POINT (-40.395241 -2.809111)', '2026-06-09 23:22:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395393 -2.809088)'), GeomFromEWKT('SRID=4674;POINT (-40.395241 -2.809111)'))) / (select extract(epoch from '2026-06-09 23:22:30'::timestamp) - extract(epoch from '2026-06-09 23:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395393 -2.809088)'), GeomFromEWKT('SRID=4674;POINT (-40.395241 -2.809111)'))) / (select extract(epoch from '2026-06-09 23:22:30'::timestamp) - extract(epoch from '2026-06-09 23:22: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'), 46728, 'SRID=4674;POINT (-40.395086 -2.809117)', '2026-06-09 23:22:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395241 -2.809111)'), GeomFromEWKT('SRID=4674;POINT (-40.395086 -2.809117)'))) / (select extract(epoch from '2026-06-09 23:22:38'::timestamp) - extract(epoch from '2026-06-09 23:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395241 -2.809111)'), GeomFromEWKT('SRID=4674;POINT (-40.395086 -2.809117)'))) / (select extract(epoch from '2026-06-09 23:22:38'::timestamp) - extract(epoch from '2026-06-09 23:22: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'), 46728, 'SRID=4674;POINT (-40.394954 -2.80911)', '2026-06-09 23:22:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395086 -2.809117)'), GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.80911)'))) / (select extract(epoch from '2026-06-09 23:22:44'::timestamp) - extract(epoch from '2026-06-09 23:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395086 -2.809117)'), GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.80911)'))) / (select extract(epoch from '2026-06-09 23:22:44'::timestamp) - extract(epoch from '2026-06-09 23:22: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'), 46728, 'SRID=4674;POINT (-40.394827 -2.809126)', '2026-06-09 23:22:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.80911)'), GeomFromEWKT('SRID=4674;POINT (-40.394827 -2.809126)'))) / (select extract(epoch from '2026-06-09 23:22:50'::timestamp) - extract(epoch from '2026-06-09 23:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.80911)'), GeomFromEWKT('SRID=4674;POINT (-40.394827 -2.809126)'))) / (select extract(epoch from '2026-06-09 23:22:50'::timestamp) - extract(epoch from '2026-06-09 23:22: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'), 46728, 'SRID=4674;POINT (-40.39471 -2.809139)', '2026-06-09 23:22:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394827 -2.809126)'), GeomFromEWKT('SRID=4674;POINT (-40.39471 -2.809139)'))) / (select extract(epoch from '2026-06-09 23:22:56'::timestamp) - extract(epoch from '2026-06-09 23:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394827 -2.809126)'), GeomFromEWKT('SRID=4674;POINT (-40.39471 -2.809139)'))) / (select extract(epoch from '2026-06-09 23:22:56'::timestamp) - extract(epoch from '2026-06-09 23:22: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'), 46728, 'SRID=4674;POINT (-40.394574 -2.809154)', '2026-06-09 23:23:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39471 -2.809139)'), GeomFromEWKT('SRID=4674;POINT (-40.394574 -2.809154)'))) / (select extract(epoch from '2026-06-09 23:23:03'::timestamp) - extract(epoch from '2026-06-09 23:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39471 -2.809139)'), GeomFromEWKT('SRID=4674;POINT (-40.394574 -2.809154)'))) / (select extract(epoch from '2026-06-09 23:23:03'::timestamp) - extract(epoch from '2026-06-09 23:22: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'), 46728, 'SRID=4674;POINT (-40.394403 -2.80915)', '2026-06-09 23:23:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394574 -2.809154)'), GeomFromEWKT('SRID=4674;POINT (-40.394403 -2.80915)'))) / (select extract(epoch from '2026-06-09 23:23:11'::timestamp) - extract(epoch from '2026-06-09 23:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394574 -2.809154)'), GeomFromEWKT('SRID=4674;POINT (-40.394403 -2.80915)'))) / (select extract(epoch from '2026-06-09 23:23:11'::timestamp) - extract(epoch from '2026-06-09 23:23: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'), 46728, 'SRID=4674;POINT (-40.394236 -2.809155)', '2026-06-09 23:23:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394403 -2.80915)'), GeomFromEWKT('SRID=4674;POINT (-40.394236 -2.809155)'))) / (select extract(epoch from '2026-06-09 23:23:19'::timestamp) - extract(epoch from '2026-06-09 23:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394403 -2.80915)'), GeomFromEWKT('SRID=4674;POINT (-40.394236 -2.809155)'))) / (select extract(epoch from '2026-06-09 23:23:19'::timestamp) - extract(epoch from '2026-06-09 23:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.394068 -2.809171)', '2026-06-09 23:23:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394236 -2.809155)'), GeomFromEWKT('SRID=4674;POINT (-40.394068 -2.809171)'))) / (select extract(epoch from '2026-06-09 23:23:27'::timestamp) - extract(epoch from '2026-06-09 23:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394236 -2.809155)'), GeomFromEWKT('SRID=4674;POINT (-40.394068 -2.809171)'))) / (select extract(epoch from '2026-06-09 23:23:27'::timestamp) - extract(epoch from '2026-06-09 23:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.393944 -2.80918)', '2026-06-09 23:23:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394068 -2.809171)'), GeomFromEWKT('SRID=4674;POINT (-40.393944 -2.80918)'))) / (select extract(epoch from '2026-06-09 23:23:33'::timestamp) - extract(epoch from '2026-06-09 23:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394068 -2.809171)'), GeomFromEWKT('SRID=4674;POINT (-40.393944 -2.80918)'))) / (select extract(epoch from '2026-06-09 23:23:33'::timestamp) - extract(epoch from '2026-06-09 23:23: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'), 46728, 'SRID=4674;POINT (-40.393807 -2.809199)', '2026-06-09 23:23:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393944 -2.80918)'), GeomFromEWKT('SRID=4674;POINT (-40.393807 -2.809199)'))) / (select extract(epoch from '2026-06-09 23:23:40'::timestamp) - extract(epoch from '2026-06-09 23:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393944 -2.80918)'), GeomFromEWKT('SRID=4674;POINT (-40.393807 -2.809199)'))) / (select extract(epoch from '2026-06-09 23:23:40'::timestamp) - extract(epoch from '2026-06-09 23:23: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'), 46728, 'SRID=4674;POINT (-40.393662 -2.809216)', '2026-06-09 23:23:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393807 -2.809199)'), GeomFromEWKT('SRID=4674;POINT (-40.393662 -2.809216)'))) / (select extract(epoch from '2026-06-09 23:23:48'::timestamp) - extract(epoch from '2026-06-09 23:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393807 -2.809199)'), GeomFromEWKT('SRID=4674;POINT (-40.393662 -2.809216)'))) / (select extract(epoch from '2026-06-09 23:23:48'::timestamp) - extract(epoch from '2026-06-09 23:23: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'), 46728, 'SRID=4674;POINT (-40.39355 -2.80922)', '2026-06-09 23:23:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393662 -2.809216)'), GeomFromEWKT('SRID=4674;POINT (-40.39355 -2.80922)'))) / (select extract(epoch from '2026-06-09 23:23:54'::timestamp) - extract(epoch from '2026-06-09 23:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393662 -2.809216)'), GeomFromEWKT('SRID=4674;POINT (-40.39355 -2.80922)'))) / (select extract(epoch from '2026-06-09 23:23:54'::timestamp) - extract(epoch from '2026-06-09 23:23: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'), 46728, 'SRID=4674;POINT (-40.393439 -2.809225)', '2026-06-09 23:24:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39355 -2.80922)'), GeomFromEWKT('SRID=4674;POINT (-40.393439 -2.809225)'))) / (select extract(epoch from '2026-06-09 23:24:00'::timestamp) - extract(epoch from '2026-06-09 23:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39355 -2.80922)'), GeomFromEWKT('SRID=4674;POINT (-40.393439 -2.809225)'))) / (select extract(epoch from '2026-06-09 23:24:00'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.393288 -2.809238)', '2026-06-09 23:24:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393439 -2.809225)'), GeomFromEWKT('SRID=4674;POINT (-40.393288 -2.809238)'))) / (select extract(epoch from '2026-06-09 23:24:08'::timestamp) - extract(epoch from '2026-06-09 23:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393439 -2.809225)'), GeomFromEWKT('SRID=4674;POINT (-40.393288 -2.809238)'))) / (select extract(epoch from '2026-06-09 23:24:08'::timestamp) - extract(epoch from '2026-06-09 23:24: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'), 46728, 'SRID=4674;POINT (-40.393084 -2.809261)', '2026-06-09 23:24:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393288 -2.809238)'), GeomFromEWKT('SRID=4674;POINT (-40.393084 -2.809261)'))) / (select extract(epoch from '2026-06-09 23:24:18'::timestamp) - extract(epoch from '2026-06-09 23:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393288 -2.809238)'), GeomFromEWKT('SRID=4674;POINT (-40.393084 -2.809261)'))) / (select extract(epoch from '2026-06-09 23:24:18'::timestamp) - extract(epoch from '2026-06-09 23:24: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'), 46728, 'SRID=4674;POINT (-40.392959 -2.809279)', '2026-06-09 23:24:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393084 -2.809261)'), GeomFromEWKT('SRID=4674;POINT (-40.392959 -2.809279)'))) / (select extract(epoch from '2026-06-09 23:24:24'::timestamp) - extract(epoch from '2026-06-09 23:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393084 -2.809261)'), GeomFromEWKT('SRID=4674;POINT (-40.392959 -2.809279)'))) / (select extract(epoch from '2026-06-09 23:24:24'::timestamp) - extract(epoch from '2026-06-09 23:24:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.392752 -2.809299)', '2026-06-09 23:24:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392959 -2.809279)'), GeomFromEWKT('SRID=4674;POINT (-40.392752 -2.809299)'))) / (select extract(epoch from '2026-06-09 23:24:34'::timestamp) - extract(epoch from '2026-06-09 23:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392959 -2.809279)'), GeomFromEWKT('SRID=4674;POINT (-40.392752 -2.809299)'))) / (select extract(epoch from '2026-06-09 23:24:34'::timestamp) - extract(epoch from '2026-06-09 23:24: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'), 46728, 'SRID=4674;POINT (-40.392555 -2.809282)', '2026-06-09 23:24:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392752 -2.809299)'), GeomFromEWKT('SRID=4674;POINT (-40.392555 -2.809282)'))) / (select extract(epoch from '2026-06-09 23:24:43'::timestamp) - extract(epoch from '2026-06-09 23:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392752 -2.809299)'), GeomFromEWKT('SRID=4674;POINT (-40.392555 -2.809282)'))) / (select extract(epoch from '2026-06-09 23:24:43'::timestamp) - extract(epoch from '2026-06-09 23:24: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'), 46728, 'SRID=4674;POINT (-40.392381 -2.809274)', '2026-06-09 23:24:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392555 -2.809282)'), GeomFromEWKT('SRID=4674;POINT (-40.392381 -2.809274)'))) / (select extract(epoch from '2026-06-09 23:24:51'::timestamp) - extract(epoch from '2026-06-09 23:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392555 -2.809282)'), GeomFromEWKT('SRID=4674;POINT (-40.392381 -2.809274)'))) / (select extract(epoch from '2026-06-09 23:24:51'::timestamp) - extract(epoch from '2026-06-09 23:24:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.392233 -2.809263)', '2026-06-09 23:24:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392381 -2.809274)'), GeomFromEWKT('SRID=4674;POINT (-40.392233 -2.809263)'))) / (select extract(epoch from '2026-06-09 23:24:58'::timestamp) - extract(epoch from '2026-06-09 23:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392381 -2.809274)'), GeomFromEWKT('SRID=4674;POINT (-40.392233 -2.809263)'))) / (select extract(epoch from '2026-06-09 23:24:58'::timestamp) - extract(epoch from '2026-06-09 23:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.392071 -2.809258)', '2026-06-09 23:25:05', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392233 -2.809263)'), GeomFromEWKT('SRID=4674;POINT (-40.392071 -2.809258)'))) / (select extract(epoch from '2026-06-09 23:25:05'::timestamp) - extract(epoch from '2026-06-09 23:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392233 -2.809263)'), GeomFromEWKT('SRID=4674;POINT (-40.392071 -2.809258)'))) / (select extract(epoch from '2026-06-09 23:25:05'::timestamp) - extract(epoch from '2026-06-09 23:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.391948 -2.809253)', '2026-06-09 23:25:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392071 -2.809258)'), GeomFromEWKT('SRID=4674;POINT (-40.391948 -2.809253)'))) / (select extract(epoch from '2026-06-09 23:25:11'::timestamp) - extract(epoch from '2026-06-09 23:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392071 -2.809258)'), GeomFromEWKT('SRID=4674;POINT (-40.391948 -2.809253)'))) / (select extract(epoch from '2026-06-09 23:25:11'::timestamp) - extract(epoch from '2026-06-09 23:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.391775 -2.80926)', '2026-06-09 23:25:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391948 -2.809253)'), GeomFromEWKT('SRID=4674;POINT (-40.391775 -2.80926)'))) / (select extract(epoch from '2026-06-09 23:25:20'::timestamp) - extract(epoch from '2026-06-09 23:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391948 -2.809253)'), GeomFromEWKT('SRID=4674;POINT (-40.391775 -2.80926)'))) / (select extract(epoch from '2026-06-09 23:25:20'::timestamp) - extract(epoch from '2026-06-09 23:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.391637 -2.809238)', '2026-06-09 23:25:27', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391775 -2.80926)'), GeomFromEWKT('SRID=4674;POINT (-40.391637 -2.809238)'))) / (select extract(epoch from '2026-06-09 23:25:27'::timestamp) - extract(epoch from '2026-06-09 23:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391775 -2.80926)'), GeomFromEWKT('SRID=4674;POINT (-40.391637 -2.809238)'))) / (select extract(epoch from '2026-06-09 23:25:27'::timestamp) - extract(epoch from '2026-06-09 23:25: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'), 46728, 'SRID=4674;POINT (-40.391498 -2.80922)', '2026-06-09 23:25:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391637 -2.809238)'), GeomFromEWKT('SRID=4674;POINT (-40.391498 -2.80922)'))) / (select extract(epoch from '2026-06-09 23:25:34'::timestamp) - extract(epoch from '2026-06-09 23:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391637 -2.809238)'), GeomFromEWKT('SRID=4674;POINT (-40.391498 -2.80922)'))) / (select extract(epoch from '2026-06-09 23:25:34'::timestamp) - extract(epoch from '2026-06-09 23:25: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'), 46728, 'SRID=4674;POINT (-40.391352 -2.809211)', '2026-06-09 23:25:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391498 -2.80922)'), GeomFromEWKT('SRID=4674;POINT (-40.391352 -2.809211)'))) / (select extract(epoch from '2026-06-09 23:25:41'::timestamp) - extract(epoch from '2026-06-09 23:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391498 -2.80922)'), GeomFromEWKT('SRID=4674;POINT (-40.391352 -2.809211)'))) / (select extract(epoch from '2026-06-09 23:25:41'::timestamp) - extract(epoch from '2026-06-09 23:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.391254 -2.809175)', '2026-06-09 23:25:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391352 -2.809211)'), GeomFromEWKT('SRID=4674;POINT (-40.391254 -2.809175)'))) / (select extract(epoch from '2026-06-09 23:25:47'::timestamp) - extract(epoch from '2026-06-09 23:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391352 -2.809211)'), GeomFromEWKT('SRID=4674;POINT (-40.391254 -2.809175)'))) / (select extract(epoch from '2026-06-09 23:25:47'::timestamp) - extract(epoch from '2026-06-09 23:25: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'), 46728, 'SRID=4674;POINT (-40.391113 -2.809095)', '2026-06-09 23:25:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391254 -2.809175)'), GeomFromEWKT('SRID=4674;POINT (-40.391113 -2.809095)'))) / (select extract(epoch from '2026-06-09 23:25:55'::timestamp) - extract(epoch from '2026-06-09 23:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391254 -2.809175)'), GeomFromEWKT('SRID=4674;POINT (-40.391113 -2.809095)'))) / (select extract(epoch from '2026-06-09 23:25:55'::timestamp) - extract(epoch from '2026-06-09 23:25: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'), 46728, 'SRID=4674;POINT (-40.390988 -2.809057)', '2026-06-09 23:26:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391113 -2.809095)'), GeomFromEWKT('SRID=4674;POINT (-40.390988 -2.809057)'))) / (select extract(epoch from '2026-06-09 23:26:02'::timestamp) - extract(epoch from '2026-06-09 23:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391113 -2.809095)'), GeomFromEWKT('SRID=4674;POINT (-40.390988 -2.809057)'))) / (select extract(epoch from '2026-06-09 23:26:02'::timestamp) - extract(epoch from '2026-06-09 23:25: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'), 46728, 'SRID=4674;POINT (-40.390895 -2.809028)', '2026-06-09 23:26:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390988 -2.809057)'), GeomFromEWKT('SRID=4674;POINT (-40.390895 -2.809028)'))) / (select extract(epoch from '2026-06-09 23:26:08'::timestamp) - extract(epoch from '2026-06-09 23:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390988 -2.809057)'), GeomFromEWKT('SRID=4674;POINT (-40.390895 -2.809028)'))) / (select extract(epoch from '2026-06-09 23:26:08'::timestamp) - extract(epoch from '2026-06-09 23:26: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'), 46728, 'SRID=4674;POINT (-40.390796 -2.809002)', '2026-06-09 23:26:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390895 -2.809028)'), GeomFromEWKT('SRID=4674;POINT (-40.390796 -2.809002)'))) / (select extract(epoch from '2026-06-09 23:26:14'::timestamp) - extract(epoch from '2026-06-09 23:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390895 -2.809028)'), GeomFromEWKT('SRID=4674;POINT (-40.390796 -2.809002)'))) / (select extract(epoch from '2026-06-09 23:26:14'::timestamp) - extract(epoch from '2026-06-09 23:26: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'), 46728, 'SRID=4674;POINT (-40.390671 -2.809044)', '2026-06-09 23:26:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390796 -2.809002)'), GeomFromEWKT('SRID=4674;POINT (-40.390671 -2.809044)'))) / (select extract(epoch from '2026-06-09 23:26:21'::timestamp) - extract(epoch from '2026-06-09 23:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390796 -2.809002)'), GeomFromEWKT('SRID=4674;POINT (-40.390671 -2.809044)'))) / (select extract(epoch from '2026-06-09 23:26:21'::timestamp) - extract(epoch from '2026-06-09 23:26: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'), 46728, 'SRID=4674;POINT (-40.390556 -2.80912)', '2026-06-09 23:26:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390671 -2.809044)'), GeomFromEWKT('SRID=4674;POINT (-40.390556 -2.80912)'))) / (select extract(epoch from '2026-06-09 23:26:28'::timestamp) - extract(epoch from '2026-06-09 23:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390671 -2.809044)'), GeomFromEWKT('SRID=4674;POINT (-40.390556 -2.80912)'))) / (select extract(epoch from '2026-06-09 23:26:28'::timestamp) - extract(epoch from '2026-06-09 23:26: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'), 46728, 'SRID=4674;POINT (-40.390446 -2.809198)', '2026-06-09 23:26:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390556 -2.80912)'), GeomFromEWKT('SRID=4674;POINT (-40.390446 -2.809198)'))) / (select extract(epoch from '2026-06-09 23:26:35'::timestamp) - extract(epoch from '2026-06-09 23:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390556 -2.80912)'), GeomFromEWKT('SRID=4674;POINT (-40.390446 -2.809198)'))) / (select extract(epoch from '2026-06-09 23:26:35'::timestamp) - extract(epoch from '2026-06-09 23:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390418 -2.809224)', '2026-06-09 23:26:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390446 -2.809198)'), GeomFromEWKT('SRID=4674;POINT (-40.390418 -2.809224)'))) / (select extract(epoch from '2026-06-09 23:26:37'::timestamp) - extract(epoch from '2026-06-09 23:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390446 -2.809198)'), GeomFromEWKT('SRID=4674;POINT (-40.390418 -2.809224)'))) / (select extract(epoch from '2026-06-09 23:26:37'::timestamp) - extract(epoch from '2026-06-09 23:26:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390384 -2.809287)', '2026-06-09 23:26:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390418 -2.809224)'), GeomFromEWKT('SRID=4674;POINT (-40.390384 -2.809287)'))) / (select extract(epoch from '2026-06-09 23:26:40'::timestamp) - extract(epoch from '2026-06-09 23:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390418 -2.809224)'), GeomFromEWKT('SRID=4674;POINT (-40.390384 -2.809287)'))) / (select extract(epoch from '2026-06-09 23:26:40'::timestamp) - extract(epoch from '2026-06-09 23:26: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'), 46728, 'SRID=4674;POINT (-40.390293 -2.809384)', '2026-06-09 23:26:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390384 -2.809287)'), GeomFromEWKT('SRID=4674;POINT (-40.390293 -2.809384)'))) / (select extract(epoch from '2026-06-09 23:26:47'::timestamp) - extract(epoch from '2026-06-09 23:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390384 -2.809287)'), GeomFromEWKT('SRID=4674;POINT (-40.390293 -2.809384)'))) / (select extract(epoch from '2026-06-09 23:26:47'::timestamp) - extract(epoch from '2026-06-09 23:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390131 -2.809473)', '2026-06-09 23:26:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390293 -2.809384)'), GeomFromEWKT('SRID=4674;POINT (-40.390131 -2.809473)'))) / (select extract(epoch from '2026-06-09 23:26:56'::timestamp) - extract(epoch from '2026-06-09 23:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390293 -2.809384)'), GeomFromEWKT('SRID=4674;POINT (-40.390131 -2.809473)'))) / (select extract(epoch from '2026-06-09 23:26:56'::timestamp) - extract(epoch from '2026-06-09 23:26: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'), 46728, 'SRID=4674;POINT (-40.389994 -2.809506)', '2026-06-09 23:27:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390131 -2.809473)'), GeomFromEWKT('SRID=4674;POINT (-40.389994 -2.809506)'))) / (select extract(epoch from '2026-06-09 23:27:03'::timestamp) - extract(epoch from '2026-06-09 23:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390131 -2.809473)'), GeomFromEWKT('SRID=4674;POINT (-40.389994 -2.809506)'))) / (select extract(epoch from '2026-06-09 23:27:03'::timestamp) - extract(epoch from '2026-06-09 23:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.389842 -2.809516)', '2026-06-09 23:27:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389994 -2.809506)'), GeomFromEWKT('SRID=4674;POINT (-40.389842 -2.809516)'))) / (select extract(epoch from '2026-06-09 23:27:10'::timestamp) - extract(epoch from '2026-06-09 23:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389994 -2.809506)'), GeomFromEWKT('SRID=4674;POINT (-40.389842 -2.809516)'))) / (select extract(epoch from '2026-06-09 23:27:10'::timestamp) - extract(epoch from '2026-06-09 23:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.389677 -2.809523)', '2026-06-09 23:27:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389842 -2.809516)'), GeomFromEWKT('SRID=4674;POINT (-40.389677 -2.809523)'))) / (select extract(epoch from '2026-06-09 23:27:18'::timestamp) - extract(epoch from '2026-06-09 23:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389842 -2.809516)'), GeomFromEWKT('SRID=4674;POINT (-40.389677 -2.809523)'))) / (select extract(epoch from '2026-06-09 23:27:18'::timestamp) - extract(epoch from '2026-06-09 23:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.389512 -2.809533)', '2026-06-09 23:27:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389677 -2.809523)'), GeomFromEWKT('SRID=4674;POINT (-40.389512 -2.809533)'))) / (select extract(epoch from '2026-06-09 23:27:26'::timestamp) - extract(epoch from '2026-06-09 23:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389677 -2.809523)'), GeomFromEWKT('SRID=4674;POINT (-40.389512 -2.809533)'))) / (select extract(epoch from '2026-06-09 23:27:26'::timestamp) - extract(epoch from '2026-06-09 23:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.389309 -2.809555)', '2026-06-09 23:27:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389512 -2.809533)'), GeomFromEWKT('SRID=4674;POINT (-40.389309 -2.809555)'))) / (select extract(epoch from '2026-06-09 23:27:36'::timestamp) - extract(epoch from '2026-06-09 23:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389512 -2.809533)'), GeomFromEWKT('SRID=4674;POINT (-40.389309 -2.809555)'))) / (select extract(epoch from '2026-06-09 23:27:36'::timestamp) - extract(epoch from '2026-06-09 23:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.389153 -2.809541)', '2026-06-09 23:27:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389309 -2.809555)'), GeomFromEWKT('SRID=4674;POINT (-40.389153 -2.809541)'))) / (select extract(epoch from '2026-06-09 23:27:44'::timestamp) - extract(epoch from '2026-06-09 23:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389309 -2.809555)'), GeomFromEWKT('SRID=4674;POINT (-40.389153 -2.809541)'))) / (select extract(epoch from '2026-06-09 23:27:44'::timestamp) - extract(epoch from '2026-06-09 23:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.388973 -2.809524)', '2026-06-09 23:27:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389153 -2.809541)'), GeomFromEWKT('SRID=4674;POINT (-40.388973 -2.809524)'))) / (select extract(epoch from '2026-06-09 23:27:53'::timestamp) - extract(epoch from '2026-06-09 23:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389153 -2.809541)'), GeomFromEWKT('SRID=4674;POINT (-40.388973 -2.809524)'))) / (select extract(epoch from '2026-06-09 23:27:53'::timestamp) - extract(epoch from '2026-06-09 23:27: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'), 46728, 'SRID=4674;POINT (-40.388824 -2.809522)', '2026-06-09 23:28:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388973 -2.809524)'), GeomFromEWKT('SRID=4674;POINT (-40.388824 -2.809522)'))) / (select extract(epoch from '2026-06-09 23:28:01'::timestamp) - extract(epoch from '2026-06-09 23:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388973 -2.809524)'), GeomFromEWKT('SRID=4674;POINT (-40.388824 -2.809522)'))) / (select extract(epoch from '2026-06-09 23:28:01'::timestamp) - extract(epoch from '2026-06-09 23:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.388669 -2.8095)', '2026-06-09 23:28:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388824 -2.809522)'), GeomFromEWKT('SRID=4674;POINT (-40.388669 -2.8095)'))) / (select extract(epoch from '2026-06-09 23:28:09'::timestamp) - extract(epoch from '2026-06-09 23:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388824 -2.809522)'), GeomFromEWKT('SRID=4674;POINT (-40.388669 -2.8095)'))) / (select extract(epoch from '2026-06-09 23:28:09'::timestamp) - extract(epoch from '2026-06-09 23:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.388508 -2.809497)', '2026-06-09 23:28:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388669 -2.8095)'), GeomFromEWKT('SRID=4674;POINT (-40.388508 -2.809497)'))) / (select extract(epoch from '2026-06-09 23:28:17'::timestamp) - extract(epoch from '2026-06-09 23:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388669 -2.8095)'), GeomFromEWKT('SRID=4674;POINT (-40.388508 -2.809497)'))) / (select extract(epoch from '2026-06-09 23:28:17'::timestamp) - extract(epoch from '2026-06-09 23:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.388351 -2.80949)', '2026-06-09 23:28:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388508 -2.809497)'), GeomFromEWKT('SRID=4674;POINT (-40.388351 -2.80949)'))) / (select extract(epoch from '2026-06-09 23:28:25'::timestamp) - extract(epoch from '2026-06-09 23:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388508 -2.809497)'), GeomFromEWKT('SRID=4674;POINT (-40.388351 -2.80949)'))) / (select extract(epoch from '2026-06-09 23:28:25'::timestamp) - extract(epoch from '2026-06-09 23:28: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'), 46728, 'SRID=4674;POINT (-40.388186 -2.809467)', '2026-06-09 23:28:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388351 -2.80949)'), GeomFromEWKT('SRID=4674;POINT (-40.388186 -2.809467)'))) / (select extract(epoch from '2026-06-09 23:28:34'::timestamp) - extract(epoch from '2026-06-09 23:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388351 -2.80949)'), GeomFromEWKT('SRID=4674;POINT (-40.388186 -2.809467)'))) / (select extract(epoch from '2026-06-09 23:28:34'::timestamp) - extract(epoch from '2026-06-09 23:28: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'), 46728, 'SRID=4674;POINT (-40.388013 -2.809457)', '2026-06-09 23:28:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388186 -2.809467)'), GeomFromEWKT('SRID=4674;POINT (-40.388013 -2.809457)'))) / (select extract(epoch from '2026-06-09 23:28:43'::timestamp) - extract(epoch from '2026-06-09 23:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388186 -2.809467)'), GeomFromEWKT('SRID=4674;POINT (-40.388013 -2.809457)'))) / (select extract(epoch from '2026-06-09 23:28:43'::timestamp) - extract(epoch from '2026-06-09 23:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.3879 -2.809449)', '2026-06-09 23:28:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388013 -2.809457)'), GeomFromEWKT('SRID=4674;POINT (-40.3879 -2.809449)'))) / (select extract(epoch from '2026-06-09 23:28:49'::timestamp) - extract(epoch from '2026-06-09 23:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388013 -2.809457)'), GeomFromEWKT('SRID=4674;POINT (-40.3879 -2.809449)'))) / (select extract(epoch from '2026-06-09 23:28:49'::timestamp) - extract(epoch from '2026-06-09 23:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.387724 -2.809434)', '2026-06-09 23:28:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3879 -2.809449)'), GeomFromEWKT('SRID=4674;POINT (-40.387724 -2.809434)'))) / (select extract(epoch from '2026-06-09 23:28:58'::timestamp) - extract(epoch from '2026-06-09 23:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3879 -2.809449)'), GeomFromEWKT('SRID=4674;POINT (-40.387724 -2.809434)'))) / (select extract(epoch from '2026-06-09 23:28:58'::timestamp) - extract(epoch from '2026-06-09 23:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.387582 -2.809418)', '2026-06-09 23:29:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387724 -2.809434)'), GeomFromEWKT('SRID=4674;POINT (-40.387582 -2.809418)'))) / (select extract(epoch from '2026-06-09 23:29:05'::timestamp) - extract(epoch from '2026-06-09 23:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387724 -2.809434)'), GeomFromEWKT('SRID=4674;POINT (-40.387582 -2.809418)'))) / (select extract(epoch from '2026-06-09 23:29:05'::timestamp) - extract(epoch from '2026-06-09 23:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.387451 -2.809406)', '2026-06-09 23:29:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387582 -2.809418)'), GeomFromEWKT('SRID=4674;POINT (-40.387451 -2.809406)'))) / (select extract(epoch from '2026-06-09 23:29:11'::timestamp) - extract(epoch from '2026-06-09 23:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387582 -2.809418)'), GeomFromEWKT('SRID=4674;POINT (-40.387451 -2.809406)'))) / (select extract(epoch from '2026-06-09 23:29:11'::timestamp) - extract(epoch from '2026-06-09 23:29:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.387278 -2.809429)', '2026-06-09 23:29:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387451 -2.809406)'), GeomFromEWKT('SRID=4674;POINT (-40.387278 -2.809429)'))) / (select extract(epoch from '2026-06-09 23:29:20'::timestamp) - extract(epoch from '2026-06-09 23:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387451 -2.809406)'), GeomFromEWKT('SRID=4674;POINT (-40.387278 -2.809429)'))) / (select extract(epoch from '2026-06-09 23:29:20'::timestamp) - extract(epoch from '2026-06-09 23:29:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.387082 -2.809449)', '2026-06-09 23:29:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387278 -2.809429)'), GeomFromEWKT('SRID=4674;POINT (-40.387082 -2.809449)'))) / (select extract(epoch from '2026-06-09 23:29:30'::timestamp) - extract(epoch from '2026-06-09 23:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387278 -2.809429)'), GeomFromEWKT('SRID=4674;POINT (-40.387082 -2.809449)'))) / (select extract(epoch from '2026-06-09 23:29:30'::timestamp) - extract(epoch from '2026-06-09 23:29:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.386947 -2.809441)', '2026-06-09 23:29:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387082 -2.809449)'), GeomFromEWKT('SRID=4674;POINT (-40.386947 -2.809441)'))) / (select extract(epoch from '2026-06-09 23:29:37'::timestamp) - extract(epoch from '2026-06-09 23:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387082 -2.809449)'), GeomFromEWKT('SRID=4674;POINT (-40.386947 -2.809441)'))) / (select extract(epoch from '2026-06-09 23:29:37'::timestamp) - extract(epoch from '2026-06-09 23:29: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'), 46728, 'SRID=4674;POINT (-40.386793 -2.809448)', '2026-06-09 23:29:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386947 -2.809441)'), GeomFromEWKT('SRID=4674;POINT (-40.386793 -2.809448)'))) / (select extract(epoch from '2026-06-09 23:29:45'::timestamp) - extract(epoch from '2026-06-09 23:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386947 -2.809441)'), GeomFromEWKT('SRID=4674;POINT (-40.386793 -2.809448)'))) / (select extract(epoch from '2026-06-09 23:29:45'::timestamp) - extract(epoch from '2026-06-09 23:29: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'), 46728, 'SRID=4674;POINT (-40.386641 -2.80947)', '2026-06-09 23:29:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386793 -2.809448)'), GeomFromEWKT('SRID=4674;POINT (-40.386641 -2.80947)'))) / (select extract(epoch from '2026-06-09 23:29:53'::timestamp) - extract(epoch from '2026-06-09 23:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386793 -2.809448)'), GeomFromEWKT('SRID=4674;POINT (-40.386641 -2.80947)'))) / (select extract(epoch from '2026-06-09 23:29:53'::timestamp) - extract(epoch from '2026-06-09 23:29: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'), 46728, 'SRID=4674;POINT (-40.386465 -2.809482)', '2026-06-09 23:30:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386641 -2.80947)'), GeomFromEWKT('SRID=4674;POINT (-40.386465 -2.809482)'))) / (select extract(epoch from '2026-06-09 23:30:02'::timestamp) - extract(epoch from '2026-06-09 23:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386641 -2.80947)'), GeomFromEWKT('SRID=4674;POINT (-40.386465 -2.809482)'))) / (select extract(epoch from '2026-06-09 23:30:02'::timestamp) - extract(epoch from '2026-06-09 23:29: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'), 46728, 'SRID=4674;POINT (-40.386316 -2.809504)', '2026-06-09 23:30:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386465 -2.809482)'), GeomFromEWKT('SRID=4674;POINT (-40.386316 -2.809504)'))) / (select extract(epoch from '2026-06-09 23:30:09'::timestamp) - extract(epoch from '2026-06-09 23:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386465 -2.809482)'), GeomFromEWKT('SRID=4674;POINT (-40.386316 -2.809504)'))) / (select extract(epoch from '2026-06-09 23:30:09'::timestamp) - extract(epoch from '2026-06-09 23:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.386153 -2.809537)', '2026-06-09 23:30:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386316 -2.809504)'), GeomFromEWKT('SRID=4674;POINT (-40.386153 -2.809537)'))) / (select extract(epoch from '2026-06-09 23:30:17'::timestamp) - extract(epoch from '2026-06-09 23:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386316 -2.809504)'), GeomFromEWKT('SRID=4674;POINT (-40.386153 -2.809537)'))) / (select extract(epoch from '2026-06-09 23:30:17'::timestamp) - extract(epoch from '2026-06-09 23:30: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'), 46728, 'SRID=4674;POINT (-40.386037 -2.809561)', '2026-06-09 23:30:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386153 -2.809537)'), GeomFromEWKT('SRID=4674;POINT (-40.386037 -2.809561)'))) / (select extract(epoch from '2026-06-09 23:30:23'::timestamp) - extract(epoch from '2026-06-09 23:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386153 -2.809537)'), GeomFromEWKT('SRID=4674;POINT (-40.386037 -2.809561)'))) / (select extract(epoch from '2026-06-09 23:30:23'::timestamp) - extract(epoch from '2026-06-09 23:30: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'), 46728, 'SRID=4674;POINT (-40.385872 -2.809573)', '2026-06-09 23:30:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386037 -2.809561)'), GeomFromEWKT('SRID=4674;POINT (-40.385872 -2.809573)'))) / (select extract(epoch from '2026-06-09 23:30:31'::timestamp) - extract(epoch from '2026-06-09 23:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386037 -2.809561)'), GeomFromEWKT('SRID=4674;POINT (-40.385872 -2.809573)'))) / (select extract(epoch from '2026-06-09 23:30:31'::timestamp) - extract(epoch from '2026-06-09 23:30: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'), 46728, 'SRID=4674;POINT (-40.385697 -2.809572)', '2026-06-09 23:30:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385872 -2.809573)'), GeomFromEWKT('SRID=4674;POINT (-40.385697 -2.809572)'))) / (select extract(epoch from '2026-06-09 23:30:40'::timestamp) - extract(epoch from '2026-06-09 23:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385872 -2.809573)'), GeomFromEWKT('SRID=4674;POINT (-40.385697 -2.809572)'))) / (select extract(epoch from '2026-06-09 23:30:40'::timestamp) - extract(epoch from '2026-06-09 23:30: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'), 46728, 'SRID=4674;POINT (-40.385542 -2.809566)', '2026-06-09 23:30:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385697 -2.809572)'), GeomFromEWKT('SRID=4674;POINT (-40.385542 -2.809566)'))) / (select extract(epoch from '2026-06-09 23:30:48'::timestamp) - extract(epoch from '2026-06-09 23:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385697 -2.809572)'), GeomFromEWKT('SRID=4674;POINT (-40.385542 -2.809566)'))) / (select extract(epoch from '2026-06-09 23:30:48'::timestamp) - extract(epoch from '2026-06-09 23:30: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'), 46728, 'SRID=4674;POINT (-40.385386 -2.80958)', '2026-06-09 23:30:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385542 -2.809566)'), GeomFromEWKT('SRID=4674;POINT (-40.385386 -2.80958)'))) / (select extract(epoch from '2026-06-09 23:30:56'::timestamp) - extract(epoch from '2026-06-09 23:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385542 -2.809566)'), GeomFromEWKT('SRID=4674;POINT (-40.385386 -2.80958)'))) / (select extract(epoch from '2026-06-09 23:30:56'::timestamp) - extract(epoch from '2026-06-09 23:30:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.385225 -2.809608)', '2026-06-09 23:31:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385386 -2.80958)'), GeomFromEWKT('SRID=4674;POINT (-40.385225 -2.809608)'))) / (select extract(epoch from '2026-06-09 23:31:04'::timestamp) - extract(epoch from '2026-06-09 23:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385386 -2.80958)'), GeomFromEWKT('SRID=4674;POINT (-40.385225 -2.809608)'))) / (select extract(epoch from '2026-06-09 23:31:04'::timestamp) - extract(epoch from '2026-06-09 23:30:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.385057 -2.809611)', '2026-06-09 23:31:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385225 -2.809608)'), GeomFromEWKT('SRID=4674;POINT (-40.385057 -2.809611)'))) / (select extract(epoch from '2026-06-09 23:31:12'::timestamp) - extract(epoch from '2026-06-09 23:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385225 -2.809608)'), GeomFromEWKT('SRID=4674;POINT (-40.385057 -2.809611)'))) / (select extract(epoch from '2026-06-09 23:31:12'::timestamp) - extract(epoch from '2026-06-09 23:31: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'), 46728, 'SRID=4674;POINT (-40.384852 -2.809627)', '2026-06-09 23:31:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385057 -2.809611)'), GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.809627)'))) / (select extract(epoch from '2026-06-09 23:31:22'::timestamp) - extract(epoch from '2026-06-09 23:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385057 -2.809611)'), GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.809627)'))) / (select extract(epoch from '2026-06-09 23:31:22'::timestamp) - extract(epoch from '2026-06-09 23:31: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'), 46728, 'SRID=4674;POINT (-40.384715 -2.809642)', '2026-06-09 23:31:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.809627)'), GeomFromEWKT('SRID=4674;POINT (-40.384715 -2.809642)'))) / (select extract(epoch from '2026-06-09 23:31:29'::timestamp) - extract(epoch from '2026-06-09 23:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.809627)'), GeomFromEWKT('SRID=4674;POINT (-40.384715 -2.809642)'))) / (select extract(epoch from '2026-06-09 23:31:29'::timestamp) - extract(epoch from '2026-06-09 23:31: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'), 46728, 'SRID=4674;POINT (-40.384564 -2.809634)', '2026-06-09 23:31:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384715 -2.809642)'), GeomFromEWKT('SRID=4674;POINT (-40.384564 -2.809634)'))) / (select extract(epoch from '2026-06-09 23:31:36'::timestamp) - extract(epoch from '2026-06-09 23:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384715 -2.809642)'), GeomFromEWKT('SRID=4674;POINT (-40.384564 -2.809634)'))) / (select extract(epoch from '2026-06-09 23:31:36'::timestamp) - extract(epoch from '2026-06-09 23:31: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'), 46728, 'SRID=4674;POINT (-40.384419 -2.809622)', '2026-06-09 23:31:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384564 -2.809634)'), GeomFromEWKT('SRID=4674;POINT (-40.384419 -2.809622)'))) / (select extract(epoch from '2026-06-09 23:31:43'::timestamp) - extract(epoch from '2026-06-09 23:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384564 -2.809634)'), GeomFromEWKT('SRID=4674;POINT (-40.384419 -2.809622)'))) / (select extract(epoch from '2026-06-09 23:31:43'::timestamp) - extract(epoch from '2026-06-09 23:31: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'), 46728, 'SRID=4674;POINT (-40.384258 -2.80963)', '2026-06-09 23:31:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384419 -2.809622)'), GeomFromEWKT('SRID=4674;POINT (-40.384258 -2.80963)'))) / (select extract(epoch from '2026-06-09 23:31:51'::timestamp) - extract(epoch from '2026-06-09 23:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384419 -2.809622)'), GeomFromEWKT('SRID=4674;POINT (-40.384258 -2.80963)'))) / (select extract(epoch from '2026-06-09 23:31:51'::timestamp) - extract(epoch from '2026-06-09 23:31: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'), 46728, 'SRID=4674;POINT (-40.384085 -2.809622)', '2026-06-09 23:32:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384258 -2.80963)'), GeomFromEWKT('SRID=4674;POINT (-40.384085 -2.809622)'))) / (select extract(epoch from '2026-06-09 23:32:00'::timestamp) - extract(epoch from '2026-06-09 23:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384258 -2.80963)'), GeomFromEWKT('SRID=4674;POINT (-40.384085 -2.809622)'))) / (select extract(epoch from '2026-06-09 23:32:00'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.383948 -2.809631)', '2026-06-09 23:32:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384085 -2.809622)'), GeomFromEWKT('SRID=4674;POINT (-40.383948 -2.809631)'))) / (select extract(epoch from '2026-06-09 23:32:07'::timestamp) - extract(epoch from '2026-06-09 23:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384085 -2.809622)'), GeomFromEWKT('SRID=4674;POINT (-40.383948 -2.809631)'))) / (select extract(epoch from '2026-06-09 23:32:07'::timestamp) - extract(epoch from '2026-06-09 23:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.383791 -2.809641)', '2026-06-09 23:32:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383948 -2.809631)'), GeomFromEWKT('SRID=4674;POINT (-40.383791 -2.809641)'))) / (select extract(epoch from '2026-06-09 23:32:15'::timestamp) - extract(epoch from '2026-06-09 23:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383948 -2.809631)'), GeomFromEWKT('SRID=4674;POINT (-40.383791 -2.809641)'))) / (select extract(epoch from '2026-06-09 23:32:15'::timestamp) - extract(epoch from '2026-06-09 23:32: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'), 46728, 'SRID=4674;POINT (-40.383616 -2.809644)', '2026-06-09 23:32:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383791 -2.809641)'), GeomFromEWKT('SRID=4674;POINT (-40.383616 -2.809644)'))) / (select extract(epoch from '2026-06-09 23:32:24'::timestamp) - extract(epoch from '2026-06-09 23:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383791 -2.809641)'), GeomFromEWKT('SRID=4674;POINT (-40.383616 -2.809644)'))) / (select extract(epoch from '2026-06-09 23:32:24'::timestamp) - extract(epoch from '2026-06-09 23:32: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'), 46728, 'SRID=4674;POINT (-40.383469 -2.809663)', '2026-06-09 23:32:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383616 -2.809644)'), GeomFromEWKT('SRID=4674;POINT (-40.383469 -2.809663)'))) / (select extract(epoch from '2026-06-09 23:32:31'::timestamp) - extract(epoch from '2026-06-09 23:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383616 -2.809644)'), GeomFromEWKT('SRID=4674;POINT (-40.383469 -2.809663)'))) / (select extract(epoch from '2026-06-09 23:32:31'::timestamp) - extract(epoch from '2026-06-09 23:32: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'), 46728, 'SRID=4674;POINT (-40.383332 -2.809645)', '2026-06-09 23:32:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383469 -2.809663)'), GeomFromEWKT('SRID=4674;POINT (-40.383332 -2.809645)'))) / (select extract(epoch from '2026-06-09 23:32:38'::timestamp) - extract(epoch from '2026-06-09 23:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383469 -2.809663)'), GeomFromEWKT('SRID=4674;POINT (-40.383332 -2.809645)'))) / (select extract(epoch from '2026-06-09 23:32:38'::timestamp) - extract(epoch from '2026-06-09 23:32: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'), 46728, 'SRID=4674;POINT (-40.383151 -2.809632)', '2026-06-09 23:32:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383332 -2.809645)'), GeomFromEWKT('SRID=4674;POINT (-40.383151 -2.809632)'))) / (select extract(epoch from '2026-06-09 23:32:47'::timestamp) - extract(epoch from '2026-06-09 23:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383332 -2.809645)'), GeomFromEWKT('SRID=4674;POINT (-40.383151 -2.809632)'))) / (select extract(epoch from '2026-06-09 23:32:47'::timestamp) - extract(epoch from '2026-06-09 23:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.383008 -2.809628)', '2026-06-09 23:32:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383151 -2.809632)'), GeomFromEWKT('SRID=4674;POINT (-40.383008 -2.809628)'))) / (select extract(epoch from '2026-06-09 23:32:54'::timestamp) - extract(epoch from '2026-06-09 23:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383151 -2.809632)'), GeomFromEWKT('SRID=4674;POINT (-40.383008 -2.809628)'))) / (select extract(epoch from '2026-06-09 23:32:54'::timestamp) - extract(epoch from '2026-06-09 23:32: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'), 46728, 'SRID=4674;POINT (-40.382884 -2.809609)', '2026-06-09 23:33:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383008 -2.809628)'), GeomFromEWKT('SRID=4674;POINT (-40.382884 -2.809609)'))) / (select extract(epoch from '2026-06-09 23:33:00'::timestamp) - extract(epoch from '2026-06-09 23:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383008 -2.809628)'), GeomFromEWKT('SRID=4674;POINT (-40.382884 -2.809609)'))) / (select extract(epoch from '2026-06-09 23:33:00'::timestamp) - extract(epoch from '2026-06-09 23:32: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'), 46728, 'SRID=4674;POINT (-40.382767 -2.809603)', '2026-06-09 23:33:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382884 -2.809609)'), GeomFromEWKT('SRID=4674;POINT (-40.382767 -2.809603)'))) / (select extract(epoch from '2026-06-09 23:33:06'::timestamp) - extract(epoch from '2026-06-09 23:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382884 -2.809609)'), GeomFromEWKT('SRID=4674;POINT (-40.382767 -2.809603)'))) / (select extract(epoch from '2026-06-09 23:33:06'::timestamp) - extract(epoch from '2026-06-09 23:33: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'), 46728, 'SRID=4674;POINT (-40.382598 -2.809605)', '2026-06-09 23:33:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382767 -2.809603)'), GeomFromEWKT('SRID=4674;POINT (-40.382598 -2.809605)'))) / (select extract(epoch from '2026-06-09 23:33:15'::timestamp) - extract(epoch from '2026-06-09 23:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382767 -2.809603)'), GeomFromEWKT('SRID=4674;POINT (-40.382598 -2.809605)'))) / (select extract(epoch from '2026-06-09 23:33:15'::timestamp) - extract(epoch from '2026-06-09 23:33: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'), 46728, 'SRID=4674;POINT (-40.382441 -2.809607)', '2026-06-09 23:33:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382598 -2.809605)'), GeomFromEWKT('SRID=4674;POINT (-40.382441 -2.809607)'))) / (select extract(epoch from '2026-06-09 23:33:23'::timestamp) - extract(epoch from '2026-06-09 23:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382598 -2.809605)'), GeomFromEWKT('SRID=4674;POINT (-40.382441 -2.809607)'))) / (select extract(epoch from '2026-06-09 23:33:23'::timestamp) - extract(epoch from '2026-06-09 23:33: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'), 46728, 'SRID=4674;POINT (-40.382297 -2.80961)', '2026-06-09 23:33:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382441 -2.809607)'), GeomFromEWKT('SRID=4674;POINT (-40.382297 -2.80961)'))) / (select extract(epoch from '2026-06-09 23:33:30'::timestamp) - extract(epoch from '2026-06-09 23:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382441 -2.809607)'), GeomFromEWKT('SRID=4674;POINT (-40.382297 -2.80961)'))) / (select extract(epoch from '2026-06-09 23:33:30'::timestamp) - extract(epoch from '2026-06-09 23:33: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'), 46728, 'SRID=4674;POINT (-40.382143 -2.809614)', '2026-06-09 23:33:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382297 -2.80961)'), GeomFromEWKT('SRID=4674;POINT (-40.382143 -2.809614)'))) / (select extract(epoch from '2026-06-09 23:33:38'::timestamp) - extract(epoch from '2026-06-09 23:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382297 -2.80961)'), GeomFromEWKT('SRID=4674;POINT (-40.382143 -2.809614)'))) / (select extract(epoch from '2026-06-09 23:33:38'::timestamp) - extract(epoch from '2026-06-09 23:33:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.381976 -2.809629)', '2026-06-09 23:33:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382143 -2.809614)'), GeomFromEWKT('SRID=4674;POINT (-40.381976 -2.809629)'))) / (select extract(epoch from '2026-06-09 23:33:46'::timestamp) - extract(epoch from '2026-06-09 23:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382143 -2.809614)'), GeomFromEWKT('SRID=4674;POINT (-40.381976 -2.809629)'))) / (select extract(epoch from '2026-06-09 23:33:46'::timestamp) - extract(epoch from '2026-06-09 23:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.381836 -2.809629)', '2026-06-09 23:33:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381976 -2.809629)'), GeomFromEWKT('SRID=4674;POINT (-40.381836 -2.809629)'))) / (select extract(epoch from '2026-06-09 23:33:53'::timestamp) - extract(epoch from '2026-06-09 23:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381976 -2.809629)'), GeomFromEWKT('SRID=4674;POINT (-40.381836 -2.809629)'))) / (select extract(epoch from '2026-06-09 23:33:53'::timestamp) - extract(epoch from '2026-06-09 23:33: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'), 46728, 'SRID=4674;POINT (-40.381725 -2.809643)', '2026-06-09 23:33:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381836 -2.809629)'), GeomFromEWKT('SRID=4674;POINT (-40.381725 -2.809643)'))) / (select extract(epoch from '2026-06-09 23:33:59'::timestamp) - extract(epoch from '2026-06-09 23:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381836 -2.809629)'), GeomFromEWKT('SRID=4674;POINT (-40.381725 -2.809643)'))) / (select extract(epoch from '2026-06-09 23:33:59'::timestamp) - extract(epoch from '2026-06-09 23:33: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'), 46728, 'SRID=4674;POINT (-40.381581 -2.809678)', '2026-06-09 23:34:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381725 -2.809643)'), GeomFromEWKT('SRID=4674;POINT (-40.381581 -2.809678)'))) / (select extract(epoch from '2026-06-09 23:34:07'::timestamp) - extract(epoch from '2026-06-09 23:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381725 -2.809643)'), GeomFromEWKT('SRID=4674;POINT (-40.381581 -2.809678)'))) / (select extract(epoch from '2026-06-09 23:34:07'::timestamp) - extract(epoch from '2026-06-09 23:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.381419 -2.80967)', '2026-06-09 23:34:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381581 -2.809678)'), GeomFromEWKT('SRID=4674;POINT (-40.381419 -2.80967)'))) / (select extract(epoch from '2026-06-09 23:34:15'::timestamp) - extract(epoch from '2026-06-09 23:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381581 -2.809678)'), GeomFromEWKT('SRID=4674;POINT (-40.381419 -2.80967)'))) / (select extract(epoch from '2026-06-09 23:34:15'::timestamp) - extract(epoch from '2026-06-09 23:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.381277 -2.809659)', '2026-06-09 23:34:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381419 -2.80967)'), GeomFromEWKT('SRID=4674;POINT (-40.381277 -2.809659)'))) / (select extract(epoch from '2026-06-09 23:34:22'::timestamp) - extract(epoch from '2026-06-09 23:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381419 -2.80967)'), GeomFromEWKT('SRID=4674;POINT (-40.381277 -2.809659)'))) / (select extract(epoch from '2026-06-09 23:34:22'::timestamp) - extract(epoch from '2026-06-09 23:34: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'), 46728, 'SRID=4674;POINT (-40.381101 -2.809658)', '2026-06-09 23:34:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381277 -2.809659)'), GeomFromEWKT('SRID=4674;POINT (-40.381101 -2.809658)'))) / (select extract(epoch from '2026-06-09 23:34:30'::timestamp) - extract(epoch from '2026-06-09 23:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381277 -2.809659)'), GeomFromEWKT('SRID=4674;POINT (-40.381101 -2.809658)'))) / (select extract(epoch from '2026-06-09 23:34:30'::timestamp) - extract(epoch from '2026-06-09 23:34: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'), 46728, 'SRID=4674;POINT (-40.380943 -2.80965)', '2026-06-09 23:34:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381101 -2.809658)'), GeomFromEWKT('SRID=4674;POINT (-40.380943 -2.80965)'))) / (select extract(epoch from '2026-06-09 23:34:38'::timestamp) - extract(epoch from '2026-06-09 23:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381101 -2.809658)'), GeomFromEWKT('SRID=4674;POINT (-40.380943 -2.80965)'))) / (select extract(epoch from '2026-06-09 23:34:38'::timestamp) - extract(epoch from '2026-06-09 23:34: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'), 46728, 'SRID=4674;POINT (-40.380729 -2.809624)', '2026-06-09 23:34:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380943 -2.80965)'), GeomFromEWKT('SRID=4674;POINT (-40.380729 -2.809624)'))) / (select extract(epoch from '2026-06-09 23:34:49'::timestamp) - extract(epoch from '2026-06-09 23:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380943 -2.80965)'), GeomFromEWKT('SRID=4674;POINT (-40.380729 -2.809624)'))) / (select extract(epoch from '2026-06-09 23:34:49'::timestamp) - extract(epoch from '2026-06-09 23:34: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'), 46728, 'SRID=4674;POINT (-40.380562 -2.809616)', '2026-06-09 23:34:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380729 -2.809624)'), GeomFromEWKT('SRID=4674;POINT (-40.380562 -2.809616)'))) / (select extract(epoch from '2026-06-09 23:34:57'::timestamp) - extract(epoch from '2026-06-09 23:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380729 -2.809624)'), GeomFromEWKT('SRID=4674;POINT (-40.380562 -2.809616)'))) / (select extract(epoch from '2026-06-09 23:34:57'::timestamp) - extract(epoch from '2026-06-09 23:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.380418 -2.809618)', '2026-06-09 23:35:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380562 -2.809616)'), GeomFromEWKT('SRID=4674;POINT (-40.380418 -2.809618)'))) / (select extract(epoch from '2026-06-09 23:35:04'::timestamp) - extract(epoch from '2026-06-09 23:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380562 -2.809616)'), GeomFromEWKT('SRID=4674;POINT (-40.380418 -2.809618)'))) / (select extract(epoch from '2026-06-09 23:35:04'::timestamp) - extract(epoch from '2026-06-09 23:34:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.380301 -2.809626)', '2026-06-09 23:35:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380418 -2.809618)'), GeomFromEWKT('SRID=4674;POINT (-40.380301 -2.809626)'))) / (select extract(epoch from '2026-06-09 23:35:10'::timestamp) - extract(epoch from '2026-06-09 23:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380418 -2.809618)'), GeomFromEWKT('SRID=4674;POINT (-40.380301 -2.809626)'))) / (select extract(epoch from '2026-06-09 23:35:10'::timestamp) - extract(epoch from '2026-06-09 23:35:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.380217 -2.809637)', '2026-06-09 23:35:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380301 -2.809626)'), GeomFromEWKT('SRID=4674;POINT (-40.380217 -2.809637)'))) / (select extract(epoch from '2026-06-09 23:35:15'::timestamp) - extract(epoch from '2026-06-09 23:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380301 -2.809626)'), GeomFromEWKT('SRID=4674;POINT (-40.380217 -2.809637)'))) / (select extract(epoch from '2026-06-09 23:35:15'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.380075 -2.809654)', '2026-06-09 23:35:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380217 -2.809637)'), GeomFromEWKT('SRID=4674;POINT (-40.380075 -2.809654)'))) / (select extract(epoch from '2026-06-09 23:35:22'::timestamp) - extract(epoch from '2026-06-09 23:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380217 -2.809637)'), GeomFromEWKT('SRID=4674;POINT (-40.380075 -2.809654)'))) / (select extract(epoch from '2026-06-09 23:35:22'::timestamp) - extract(epoch from '2026-06-09 23:35:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.379933 -2.80969)', '2026-06-09 23:35:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380075 -2.809654)'), GeomFromEWKT('SRID=4674;POINT (-40.379933 -2.80969)'))) / (select extract(epoch from '2026-06-09 23:35:29'::timestamp) - extract(epoch from '2026-06-09 23:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380075 -2.809654)'), GeomFromEWKT('SRID=4674;POINT (-40.379933 -2.80969)'))) / (select extract(epoch from '2026-06-09 23:35:29'::timestamp) - extract(epoch from '2026-06-09 23:35: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'), 46728, 'SRID=4674;POINT (-40.379764 -2.809711)', '2026-06-09 23:35:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379933 -2.80969)'), GeomFromEWKT('SRID=4674;POINT (-40.379764 -2.809711)'))) / (select extract(epoch from '2026-06-09 23:35:37'::timestamp) - extract(epoch from '2026-06-09 23:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379933 -2.80969)'), GeomFromEWKT('SRID=4674;POINT (-40.379764 -2.809711)'))) / (select extract(epoch from '2026-06-09 23:35:37'::timestamp) - extract(epoch from '2026-06-09 23:35: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'), 46728, 'SRID=4674;POINT (-40.379616 -2.809708)', '2026-06-09 23:35:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379764 -2.809711)'), GeomFromEWKT('SRID=4674;POINT (-40.379616 -2.809708)'))) / (select extract(epoch from '2026-06-09 23:35:44'::timestamp) - extract(epoch from '2026-06-09 23:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379764 -2.809711)'), GeomFromEWKT('SRID=4674;POINT (-40.379616 -2.809708)'))) / (select extract(epoch from '2026-06-09 23:35:44'::timestamp) - extract(epoch from '2026-06-09 23:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.37949 -2.809719)', '2026-06-09 23:35:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379616 -2.809708)'), GeomFromEWKT('SRID=4674;POINT (-40.37949 -2.809719)'))) / (select extract(epoch from '2026-06-09 23:35:50'::timestamp) - extract(epoch from '2026-06-09 23:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379616 -2.809708)'), GeomFromEWKT('SRID=4674;POINT (-40.37949 -2.809719)'))) / (select extract(epoch from '2026-06-09 23:35:50'::timestamp) - extract(epoch from '2026-06-09 23:35: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'), 46728, 'SRID=4674;POINT (-40.379326 -2.809724)', '2026-06-09 23:35:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37949 -2.809719)'), GeomFromEWKT('SRID=4674;POINT (-40.379326 -2.809724)'))) / (select extract(epoch from '2026-06-09 23:35:58'::timestamp) - extract(epoch from '2026-06-09 23:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37949 -2.809719)'), GeomFromEWKT('SRID=4674;POINT (-40.379326 -2.809724)'))) / (select extract(epoch from '2026-06-09 23:35:58'::timestamp) - extract(epoch from '2026-06-09 23:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.379187 -2.809716)', '2026-06-09 23:36:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379326 -2.809724)'), GeomFromEWKT('SRID=4674;POINT (-40.379187 -2.809716)'))) / (select extract(epoch from '2026-06-09 23:36:05'::timestamp) - extract(epoch from '2026-06-09 23:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379326 -2.809724)'), GeomFromEWKT('SRID=4674;POINT (-40.379187 -2.809716)'))) / (select extract(epoch from '2026-06-09 23:36:05'::timestamp) - extract(epoch from '2026-06-09 23:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.379002 -2.809729)', '2026-06-09 23:36:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379187 -2.809716)'), GeomFromEWKT('SRID=4674;POINT (-40.379002 -2.809729)'))) / (select extract(epoch from '2026-06-09 23:36:14'::timestamp) - extract(epoch from '2026-06-09 23:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379187 -2.809716)'), GeomFromEWKT('SRID=4674;POINT (-40.379002 -2.809729)'))) / (select extract(epoch from '2026-06-09 23:36:14'::timestamp) - extract(epoch from '2026-06-09 23:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.378854 -2.809738)', '2026-06-09 23:36:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379002 -2.809729)'), GeomFromEWKT('SRID=4674;POINT (-40.378854 -2.809738)'))) / (select extract(epoch from '2026-06-09 23:36:21'::timestamp) - extract(epoch from '2026-06-09 23:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379002 -2.809729)'), GeomFromEWKT('SRID=4674;POINT (-40.378854 -2.809738)'))) / (select extract(epoch from '2026-06-09 23:36:21'::timestamp) - extract(epoch from '2026-06-09 23:36:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.378657 -2.809747)', '2026-06-09 23:36:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378854 -2.809738)'), GeomFromEWKT('SRID=4674;POINT (-40.378657 -2.809747)'))) / (select extract(epoch from '2026-06-09 23:36:31'::timestamp) - extract(epoch from '2026-06-09 23:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378854 -2.809738)'), GeomFromEWKT('SRID=4674;POINT (-40.378657 -2.809747)'))) / (select extract(epoch from '2026-06-09 23:36:31'::timestamp) - extract(epoch from '2026-06-09 23:36: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'), 46728, 'SRID=4674;POINT (-40.378539 -2.809768)', '2026-06-09 23:36:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378657 -2.809747)'), GeomFromEWKT('SRID=4674;POINT (-40.378539 -2.809768)'))) / (select extract(epoch from '2026-06-09 23:36:37'::timestamp) - extract(epoch from '2026-06-09 23:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378657 -2.809747)'), GeomFromEWKT('SRID=4674;POINT (-40.378539 -2.809768)'))) / (select extract(epoch from '2026-06-09 23:36:37'::timestamp) - extract(epoch from '2026-06-09 23:36: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'), 46728, 'SRID=4674;POINT (-40.378372 -2.809783)', '2026-06-09 23:36:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378539 -2.809768)'), GeomFromEWKT('SRID=4674;POINT (-40.378372 -2.809783)'))) / (select extract(epoch from '2026-06-09 23:36:45'::timestamp) - extract(epoch from '2026-06-09 23:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378539 -2.809768)'), GeomFromEWKT('SRID=4674;POINT (-40.378372 -2.809783)'))) / (select extract(epoch from '2026-06-09 23:36:45'::timestamp) - extract(epoch from '2026-06-09 23:36: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'), 46728, 'SRID=4674;POINT (-40.378237 -2.809787)', '2026-06-09 23:36:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378372 -2.809783)'), GeomFromEWKT('SRID=4674;POINT (-40.378237 -2.809787)'))) / (select extract(epoch from '2026-06-09 23:36:51'::timestamp) - extract(epoch from '2026-06-09 23:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378372 -2.809783)'), GeomFromEWKT('SRID=4674;POINT (-40.378237 -2.809787)'))) / (select extract(epoch from '2026-06-09 23:36:51'::timestamp) - extract(epoch from '2026-06-09 23:36: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'), 46728, 'SRID=4674;POINT (-40.378119 -2.809796)', '2026-06-09 23:36:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378237 -2.809787)'), GeomFromEWKT('SRID=4674;POINT (-40.378119 -2.809796)'))) / (select extract(epoch from '2026-06-09 23:36:57'::timestamp) - extract(epoch from '2026-06-09 23:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378237 -2.809787)'), GeomFromEWKT('SRID=4674;POINT (-40.378119 -2.809796)'))) / (select extract(epoch from '2026-06-09 23:36:57'::timestamp) - extract(epoch from '2026-06-09 23:36: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'), 46728, 'SRID=4674;POINT (-40.377976 -2.809797)', '2026-06-09 23:37:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378119 -2.809796)'), GeomFromEWKT('SRID=4674;POINT (-40.377976 -2.809797)'))) / (select extract(epoch from '2026-06-09 23:37:04'::timestamp) - extract(epoch from '2026-06-09 23:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378119 -2.809796)'), GeomFromEWKT('SRID=4674;POINT (-40.377976 -2.809797)'))) / (select extract(epoch from '2026-06-09 23:37:04'::timestamp) - extract(epoch from '2026-06-09 23:36:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.377795 -2.809811)', '2026-06-09 23:37:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377976 -2.809797)'), GeomFromEWKT('SRID=4674;POINT (-40.377795 -2.809811)'))) / (select extract(epoch from '2026-06-09 23:37:13'::timestamp) - extract(epoch from '2026-06-09 23:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377976 -2.809797)'), GeomFromEWKT('SRID=4674;POINT (-40.377795 -2.809811)'))) / (select extract(epoch from '2026-06-09 23:37:13'::timestamp) - extract(epoch from '2026-06-09 23:37: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'), 46728, 'SRID=4674;POINT (-40.377657 -2.809822)', '2026-06-09 23:37:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377795 -2.809811)'), GeomFromEWKT('SRID=4674;POINT (-40.377657 -2.809822)'))) / (select extract(epoch from '2026-06-09 23:37:20'::timestamp) - extract(epoch from '2026-06-09 23:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377795 -2.809811)'), GeomFromEWKT('SRID=4674;POINT (-40.377657 -2.809822)'))) / (select extract(epoch from '2026-06-09 23:37:20'::timestamp) - extract(epoch from '2026-06-09 23:37: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'), 46728, 'SRID=4674;POINT (-40.377493 -2.809832)', '2026-06-09 23:37:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377657 -2.809822)'), GeomFromEWKT('SRID=4674;POINT (-40.377493 -2.809832)'))) / (select extract(epoch from '2026-06-09 23:37:28'::timestamp) - extract(epoch from '2026-06-09 23:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377657 -2.809822)'), GeomFromEWKT('SRID=4674;POINT (-40.377493 -2.809832)'))) / (select extract(epoch from '2026-06-09 23:37:28'::timestamp) - extract(epoch from '2026-06-09 23:37: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'), 46728, 'SRID=4674;POINT (-40.377351 -2.809847)', '2026-06-09 23:37:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377493 -2.809832)'), GeomFromEWKT('SRID=4674;POINT (-40.377351 -2.809847)'))) / (select extract(epoch from '2026-06-09 23:37:35'::timestamp) - extract(epoch from '2026-06-09 23:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377493 -2.809832)'), GeomFromEWKT('SRID=4674;POINT (-40.377351 -2.809847)'))) / (select extract(epoch from '2026-06-09 23:37:35'::timestamp) - extract(epoch from '2026-06-09 23:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.377205 -2.809845)', '2026-06-09 23:37:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377351 -2.809847)'), GeomFromEWKT('SRID=4674;POINT (-40.377205 -2.809845)'))) / (select extract(epoch from '2026-06-09 23:37:42'::timestamp) - extract(epoch from '2026-06-09 23:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377351 -2.809847)'), GeomFromEWKT('SRID=4674;POINT (-40.377205 -2.809845)'))) / (select extract(epoch from '2026-06-09 23:37:42'::timestamp) - extract(epoch from '2026-06-09 23:37:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.377032 -2.809845)', '2026-06-09 23:37:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377205 -2.809845)'), GeomFromEWKT('SRID=4674;POINT (-40.377032 -2.809845)'))) / (select extract(epoch from '2026-06-09 23:37:50'::timestamp) - extract(epoch from '2026-06-09 23:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377205 -2.809845)'), GeomFromEWKT('SRID=4674;POINT (-40.377032 -2.809845)'))) / (select extract(epoch from '2026-06-09 23:37:50'::timestamp) - extract(epoch from '2026-06-09 23:37: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'), 46728, 'SRID=4674;POINT (-40.376874 -2.809851)', '2026-06-09 23:37:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377032 -2.809845)'), GeomFromEWKT('SRID=4674;POINT (-40.376874 -2.809851)'))) / (select extract(epoch from '2026-06-09 23:37:58'::timestamp) - extract(epoch from '2026-06-09 23:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377032 -2.809845)'), GeomFromEWKT('SRID=4674;POINT (-40.376874 -2.809851)'))) / (select extract(epoch from '2026-06-09 23:37:58'::timestamp) - extract(epoch from '2026-06-09 23:37: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'), 46728, 'SRID=4674;POINT (-40.376757 -2.809844)', '2026-06-09 23:38:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376874 -2.809851)'), GeomFromEWKT('SRID=4674;POINT (-40.376757 -2.809844)'))) / (select extract(epoch from '2026-06-09 23:38:04'::timestamp) - extract(epoch from '2026-06-09 23:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376874 -2.809851)'), GeomFromEWKT('SRID=4674;POINT (-40.376757 -2.809844)'))) / (select extract(epoch from '2026-06-09 23:38:04'::timestamp) - extract(epoch from '2026-06-09 23:37: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'), 46728, 'SRID=4674;POINT (-40.376601 -2.809854)', '2026-06-09 23:38:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376757 -2.809844)'), GeomFromEWKT('SRID=4674;POINT (-40.376601 -2.809854)'))) / (select extract(epoch from '2026-06-09 23:38:12'::timestamp) - extract(epoch from '2026-06-09 23:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376757 -2.809844)'), GeomFromEWKT('SRID=4674;POINT (-40.376601 -2.809854)'))) / (select extract(epoch from '2026-06-09 23:38:12'::timestamp) - extract(epoch from '2026-06-09 23:38: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'), 46728, 'SRID=4674;POINT (-40.376483 -2.809863)', '2026-06-09 23:38:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376601 -2.809854)'), GeomFromEWKT('SRID=4674;POINT (-40.376483 -2.809863)'))) / (select extract(epoch from '2026-06-09 23:38:18'::timestamp) - extract(epoch from '2026-06-09 23:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376601 -2.809854)'), GeomFromEWKT('SRID=4674;POINT (-40.376483 -2.809863)'))) / (select extract(epoch from '2026-06-09 23:38:18'::timestamp) - extract(epoch from '2026-06-09 23:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.376338 -2.809863)', '2026-06-09 23:38:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376483 -2.809863)'), GeomFromEWKT('SRID=4674;POINT (-40.376338 -2.809863)'))) / (select extract(epoch from '2026-06-09 23:38:26'::timestamp) - extract(epoch from '2026-06-09 23:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376483 -2.809863)'), GeomFromEWKT('SRID=4674;POINT (-40.376338 -2.809863)'))) / (select extract(epoch from '2026-06-09 23:38:26'::timestamp) - extract(epoch from '2026-06-09 23:38: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'), 46728, 'SRID=4674;POINT (-40.37618 -2.809856)', '2026-06-09 23:38:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376338 -2.809863)'), GeomFromEWKT('SRID=4674;POINT (-40.37618 -2.809856)'))) / (select extract(epoch from '2026-06-09 23:38:34'::timestamp) - extract(epoch from '2026-06-09 23:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376338 -2.809863)'), GeomFromEWKT('SRID=4674;POINT (-40.37618 -2.809856)'))) / (select extract(epoch from '2026-06-09 23:38:34'::timestamp) - extract(epoch from '2026-06-09 23:38: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'), 46728, 'SRID=4674;POINT (-40.375991 -2.809855)', '2026-06-09 23:38:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37618 -2.809856)'), GeomFromEWKT('SRID=4674;POINT (-40.375991 -2.809855)'))) / (select extract(epoch from '2026-06-09 23:38:43'::timestamp) - extract(epoch from '2026-06-09 23:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37618 -2.809856)'), GeomFromEWKT('SRID=4674;POINT (-40.375991 -2.809855)'))) / (select extract(epoch from '2026-06-09 23:38:43'::timestamp) - extract(epoch from '2026-06-09 23:38: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'), 46728, 'SRID=4674;POINT (-40.375797 -2.809897)', '2026-06-09 23:38:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375991 -2.809855)'), GeomFromEWKT('SRID=4674;POINT (-40.375797 -2.809897)'))) / (select extract(epoch from '2026-06-09 23:38:52'::timestamp) - extract(epoch from '2026-06-09 23:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375991 -2.809855)'), GeomFromEWKT('SRID=4674;POINT (-40.375797 -2.809897)'))) / (select extract(epoch from '2026-06-09 23:38:52'::timestamp) - extract(epoch from '2026-06-09 23:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.375639 -2.809916)', '2026-06-09 23:39:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375797 -2.809897)'), GeomFromEWKT('SRID=4674;POINT (-40.375639 -2.809916)'))) / (select extract(epoch from '2026-06-09 23:39:00'::timestamp) - extract(epoch from '2026-06-09 23:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375797 -2.809897)'), GeomFromEWKT('SRID=4674;POINT (-40.375639 -2.809916)'))) / (select extract(epoch from '2026-06-09 23:39:00'::timestamp) - extract(epoch from '2026-06-09 23:38: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'), 46728, 'SRID=4674;POINT (-40.375495 -2.80992)', '2026-06-09 23:39:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375639 -2.809916)'), GeomFromEWKT('SRID=4674;POINT (-40.375495 -2.80992)'))) / (select extract(epoch from '2026-06-09 23:39:07'::timestamp) - extract(epoch from '2026-06-09 23:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375639 -2.809916)'), GeomFromEWKT('SRID=4674;POINT (-40.375495 -2.80992)'))) / (select extract(epoch from '2026-06-09 23:39:07'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.375381 -2.809949)', '2026-06-09 23:39:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375495 -2.80992)'), GeomFromEWKT('SRID=4674;POINT (-40.375381 -2.809949)'))) / (select extract(epoch from '2026-06-09 23:39:13'::timestamp) - extract(epoch from '2026-06-09 23:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375495 -2.80992)'), GeomFromEWKT('SRID=4674;POINT (-40.375381 -2.809949)'))) / (select extract(epoch from '2026-06-09 23:39:13'::timestamp) - extract(epoch from '2026-06-09 23:39: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'), 46728, 'SRID=4674;POINT (-40.375257 -2.809962)', '2026-06-09 23:39:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375381 -2.809949)'), GeomFromEWKT('SRID=4674;POINT (-40.375257 -2.809962)'))) / (select extract(epoch from '2026-06-09 23:39:19'::timestamp) - extract(epoch from '2026-06-09 23:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375381 -2.809949)'), GeomFromEWKT('SRID=4674;POINT (-40.375257 -2.809962)'))) / (select extract(epoch from '2026-06-09 23:39:19'::timestamp) - extract(epoch from '2026-06-09 23:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.375121 -2.809965)', '2026-06-09 23:39:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375257 -2.809962)'), GeomFromEWKT('SRID=4674;POINT (-40.375121 -2.809965)'))) / (select extract(epoch from '2026-06-09 23:39:26'::timestamp) - extract(epoch from '2026-06-09 23:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375257 -2.809962)'), GeomFromEWKT('SRID=4674;POINT (-40.375121 -2.809965)'))) / (select extract(epoch from '2026-06-09 23:39:26'::timestamp) - extract(epoch from '2026-06-09 23:39:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.374942 -2.809983)', '2026-06-09 23:39:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375121 -2.809965)'), GeomFromEWKT('SRID=4674;POINT (-40.374942 -2.809983)'))) / (select extract(epoch from '2026-06-09 23:39:35'::timestamp) - extract(epoch from '2026-06-09 23:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375121 -2.809965)'), GeomFromEWKT('SRID=4674;POINT (-40.374942 -2.809983)'))) / (select extract(epoch from '2026-06-09 23:39:35'::timestamp) - extract(epoch from '2026-06-09 23:39: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'), 46728, 'SRID=4674;POINT (-40.374781 -2.810026)', '2026-06-09 23:39:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374942 -2.809983)'), GeomFromEWKT('SRID=4674;POINT (-40.374781 -2.810026)'))) / (select extract(epoch from '2026-06-09 23:39:43'::timestamp) - extract(epoch from '2026-06-09 23:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374942 -2.809983)'), GeomFromEWKT('SRID=4674;POINT (-40.374781 -2.810026)'))) / (select extract(epoch from '2026-06-09 23:39:43'::timestamp) - extract(epoch from '2026-06-09 23:39: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'), 46728, 'SRID=4674;POINT (-40.374623 -2.810042)', '2026-06-09 23:39:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374781 -2.810026)'), GeomFromEWKT('SRID=4674;POINT (-40.374623 -2.810042)'))) / (select extract(epoch from '2026-06-09 23:39:51'::timestamp) - extract(epoch from '2026-06-09 23:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374781 -2.810026)'), GeomFromEWKT('SRID=4674;POINT (-40.374623 -2.810042)'))) / (select extract(epoch from '2026-06-09 23:39:51'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.374492 -2.810064)', '2026-06-09 23:39:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374623 -2.810042)'), GeomFromEWKT('SRID=4674;POINT (-40.374492 -2.810064)'))) / (select extract(epoch from '2026-06-09 23:39:57'::timestamp) - extract(epoch from '2026-06-09 23:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374623 -2.810042)'), GeomFromEWKT('SRID=4674;POINT (-40.374492 -2.810064)'))) / (select extract(epoch from '2026-06-09 23:39:57'::timestamp) - extract(epoch from '2026-06-09 23:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.374354 -2.810117)', '2026-06-09 23:40:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374492 -2.810064)'), GeomFromEWKT('SRID=4674;POINT (-40.374354 -2.810117)'))) / (select extract(epoch from '2026-06-09 23:40:04'::timestamp) - extract(epoch from '2026-06-09 23:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374492 -2.810064)'), GeomFromEWKT('SRID=4674;POINT (-40.374354 -2.810117)'))) / (select extract(epoch from '2026-06-09 23:40:04'::timestamp) - extract(epoch from '2026-06-09 23:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.374188 -2.810149)', '2026-06-09 23:40:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374354 -2.810117)'), GeomFromEWKT('SRID=4674;POINT (-40.374188 -2.810149)'))) / (select extract(epoch from '2026-06-09 23:40:12'::timestamp) - extract(epoch from '2026-06-09 23:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374354 -2.810117)'), GeomFromEWKT('SRID=4674;POINT (-40.374188 -2.810149)'))) / (select extract(epoch from '2026-06-09 23:40:12'::timestamp) - extract(epoch from '2026-06-09 23:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.374007 -2.810139)', '2026-06-09 23:40:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374188 -2.810149)'), GeomFromEWKT('SRID=4674;POINT (-40.374007 -2.810139)'))) / (select extract(epoch from '2026-06-09 23:40:21'::timestamp) - extract(epoch from '2026-06-09 23:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374188 -2.810149)'), GeomFromEWKT('SRID=4674;POINT (-40.374007 -2.810139)'))) / (select extract(epoch from '2026-06-09 23:40:21'::timestamp) - extract(epoch from '2026-06-09 23:40: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'), 46728, 'SRID=4674;POINT (-40.373847 -2.810164)', '2026-06-09 23:40:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374007 -2.810139)'), GeomFromEWKT('SRID=4674;POINT (-40.373847 -2.810164)'))) / (select extract(epoch from '2026-06-09 23:40:29'::timestamp) - extract(epoch from '2026-06-09 23:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374007 -2.810139)'), GeomFromEWKT('SRID=4674;POINT (-40.373847 -2.810164)'))) / (select extract(epoch from '2026-06-09 23:40:29'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.37381 -2.810173)', '2026-06-09 23:40:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373847 -2.810164)'), GeomFromEWKT('SRID=4674;POINT (-40.37381 -2.810173)'))) / (select extract(epoch from '2026-06-09 23:40:31'::timestamp) - extract(epoch from '2026-06-09 23:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373847 -2.810164)'), GeomFromEWKT('SRID=4674;POINT (-40.37381 -2.810173)'))) / (select extract(epoch from '2026-06-09 23:40:31'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.373751 -2.810173)', '2026-06-09 23:40:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37381 -2.810173)'), GeomFromEWKT('SRID=4674;POINT (-40.373751 -2.810173)'))) / (select extract(epoch from '2026-06-09 23:40:34'::timestamp) - extract(epoch from '2026-06-09 23:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37381 -2.810173)'), GeomFromEWKT('SRID=4674;POINT (-40.373751 -2.810173)'))) / (select extract(epoch from '2026-06-09 23:40:34'::timestamp) - extract(epoch from '2026-06-09 23:40: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'), 46728, 'SRID=4674;POINT (-40.373617 -2.810141)', '2026-06-09 23:40:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373751 -2.810173)'), GeomFromEWKT('SRID=4674;POINT (-40.373617 -2.810141)'))) / (select extract(epoch from '2026-06-09 23:40:41'::timestamp) - extract(epoch from '2026-06-09 23:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373751 -2.810173)'), GeomFromEWKT('SRID=4674;POINT (-40.373617 -2.810141)'))) / (select extract(epoch from '2026-06-09 23:40:41'::timestamp) - extract(epoch from '2026-06-09 23:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.373475 -2.810105)', '2026-06-09 23:40:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373617 -2.810141)'), GeomFromEWKT('SRID=4674;POINT (-40.373475 -2.810105)'))) / (select extract(epoch from '2026-06-09 23:40:48'::timestamp) - extract(epoch from '2026-06-09 23:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373617 -2.810141)'), GeomFromEWKT('SRID=4674;POINT (-40.373475 -2.810105)'))) / (select extract(epoch from '2026-06-09 23:40:48'::timestamp) - extract(epoch from '2026-06-09 23:40: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'), 46728, 'SRID=4674;POINT (-40.373359 -2.810079)', '2026-06-09 23:40:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373475 -2.810105)'), GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.810079)'))) / (select extract(epoch from '2026-06-09 23:40:54'::timestamp) - extract(epoch from '2026-06-09 23:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373475 -2.810105)'), GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.810079)'))) / (select extract(epoch from '2026-06-09 23:40:54'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.373196 -2.810028)', '2026-06-09 23:41:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.810079)'), GeomFromEWKT('SRID=4674;POINT (-40.373196 -2.810028)'))) / (select extract(epoch from '2026-06-09 23:41:02'::timestamp) - extract(epoch from '2026-06-09 23:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.810079)'), GeomFromEWKT('SRID=4674;POINT (-40.373196 -2.810028)'))) / (select extract(epoch from '2026-06-09 23:41:02'::timestamp) - extract(epoch from '2026-06-09 23:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.373032 -2.810016)', '2026-06-09 23:41:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373196 -2.810028)'), GeomFromEWKT('SRID=4674;POINT (-40.373032 -2.810016)'))) / (select extract(epoch from '2026-06-09 23:41:10'::timestamp) - extract(epoch from '2026-06-09 23:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373196 -2.810028)'), GeomFromEWKT('SRID=4674;POINT (-40.373032 -2.810016)'))) / (select extract(epoch from '2026-06-09 23:41:10'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.372904 -2.809974)', '2026-06-09 23:41:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373032 -2.810016)'), GeomFromEWKT('SRID=4674;POINT (-40.372904 -2.809974)'))) / (select extract(epoch from '2026-06-09 23:41:18'::timestamp) - extract(epoch from '2026-06-09 23:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373032 -2.810016)'), GeomFromEWKT('SRID=4674;POINT (-40.372904 -2.809974)'))) / (select extract(epoch from '2026-06-09 23:41:18'::timestamp) - extract(epoch from '2026-06-09 23:41: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'), 46728, 'SRID=4674;POINT (-40.372807 -2.809952)', '2026-06-09 23:41:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372904 -2.809974)'), GeomFromEWKT('SRID=4674;POINT (-40.372807 -2.809952)'))) / (select extract(epoch from '2026-06-09 23:41:25'::timestamp) - extract(epoch from '2026-06-09 23:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372904 -2.809974)'), GeomFromEWKT('SRID=4674;POINT (-40.372807 -2.809952)'))) / (select extract(epoch from '2026-06-09 23:41:25'::timestamp) - extract(epoch from '2026-06-09 23:41: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'), 46728, 'SRID=4674;POINT (-40.372731 -2.809935)', '2026-06-09 23:41:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372807 -2.809952)'), GeomFromEWKT('SRID=4674;POINT (-40.372731 -2.809935)'))) / (select extract(epoch from '2026-06-09 23:41:32'::timestamp) - extract(epoch from '2026-06-09 23:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372807 -2.809952)'), GeomFromEWKT('SRID=4674;POINT (-40.372731 -2.809935)'))) / (select extract(epoch from '2026-06-09 23:41:32'::timestamp) - extract(epoch from '2026-06-09 23:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.372663 -2.809952)', '2026-06-09 23:41:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372731 -2.809935)'), GeomFromEWKT('SRID=4674;POINT (-40.372663 -2.809952)'))) / (select extract(epoch from '2026-06-09 23:41:40'::timestamp) - extract(epoch from '2026-06-09 23:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372731 -2.809935)'), GeomFromEWKT('SRID=4674;POINT (-40.372663 -2.809952)'))) / (select extract(epoch from '2026-06-09 23:41:40'::timestamp) - extract(epoch from '2026-06-09 23:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.372623 -2.809944)', '2026-06-09 23:41:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372663 -2.809952)'), GeomFromEWKT('SRID=4674;POINT (-40.372623 -2.809944)'))) / (select extract(epoch from '2026-06-09 23:41:53'::timestamp) - extract(epoch from '2026-06-09 23:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372663 -2.809952)'), GeomFromEWKT('SRID=4674;POINT (-40.372623 -2.809944)'))) / (select extract(epoch from '2026-06-09 23:41:53'::timestamp) - extract(epoch from '2026-06-09 23:41: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'), 46728, 'SRID=4674;POINT (-40.372614 -2.809938)', '2026-06-09 23:42:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372623 -2.809944)'), GeomFromEWKT('SRID=4674;POINT (-40.372614 -2.809938)'))) / (select extract(epoch from '2026-06-09 23:42:05'::timestamp) - extract(epoch from '2026-06-09 23:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372623 -2.809944)'), GeomFromEWKT('SRID=4674;POINT (-40.372614 -2.809938)'))) / (select extract(epoch from '2026-06-09 23:42:05'::timestamp) - extract(epoch from '2026-06-09 23:41: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'), 46728, 'SRID=4674;POINT (-40.372632 -2.80993)', '2026-06-09 23:42:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372614 -2.809938)'), GeomFromEWKT('SRID=4674;POINT (-40.372632 -2.80993)'))) / (select extract(epoch from '2026-06-09 23:42:21'::timestamp) - extract(epoch from '2026-06-09 23:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372614 -2.809938)'), GeomFromEWKT('SRID=4674;POINT (-40.372632 -2.80993)'))) / (select extract(epoch from '2026-06-09 23:42:21'::timestamp) - extract(epoch from '2026-06-09 23:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.37265 -2.809921)', '2026-06-09 23:42:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372632 -2.80993)'), GeomFromEWKT('SRID=4674;POINT (-40.37265 -2.809921)'))) / (select extract(epoch from '2026-06-09 23:42:34'::timestamp) - extract(epoch from '2026-06-09 23:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372632 -2.80993)'), GeomFromEWKT('SRID=4674;POINT (-40.37265 -2.809921)'))) / (select extract(epoch from '2026-06-09 23:42:34'::timestamp) - extract(epoch from '2026-06-09 23:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.372697 -2.809892)', '2026-06-09 23:42:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37265 -2.809921)'), GeomFromEWKT('SRID=4674;POINT (-40.372697 -2.809892)'))) / (select extract(epoch from '2026-06-09 23:42:47'::timestamp) - extract(epoch from '2026-06-09 23:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37265 -2.809921)'), GeomFromEWKT('SRID=4674;POINT (-40.372697 -2.809892)'))) / (select extract(epoch from '2026-06-09 23:42:47'::timestamp) - extract(epoch from '2026-06-09 23:42: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'), 46728, 'SRID=4674;POINT (-40.372671 -2.809811)', '2026-06-09 23:42:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372697 -2.809892)'), GeomFromEWKT('SRID=4674;POINT (-40.372671 -2.809811)'))) / (select extract(epoch from '2026-06-09 23:42:57'::timestamp) - extract(epoch from '2026-06-09 23:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372697 -2.809892)'), GeomFromEWKT('SRID=4674;POINT (-40.372671 -2.809811)'))) / (select extract(epoch from '2026-06-09 23:42:57'::timestamp) - extract(epoch from '2026-06-09 23:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.372596 -2.809835)', '2026-06-09 23:43:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372671 -2.809811)'), GeomFromEWKT('SRID=4674;POINT (-40.372596 -2.809835)'))) / (select extract(epoch from '2026-06-09 23:43:04'::timestamp) - extract(epoch from '2026-06-09 23:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372671 -2.809811)'), GeomFromEWKT('SRID=4674;POINT (-40.372596 -2.809835)'))) / (select extract(epoch from '2026-06-09 23:43:04'::timestamp) - extract(epoch from '2026-06-09 23:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.37252 -2.809889)', '2026-06-09 23:43:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372596 -2.809835)'), GeomFromEWKT('SRID=4674;POINT (-40.37252 -2.809889)'))) / (select extract(epoch from '2026-06-09 23:43:10'::timestamp) - extract(epoch from '2026-06-09 23:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372596 -2.809835)'), GeomFromEWKT('SRID=4674;POINT (-40.37252 -2.809889)'))) / (select extract(epoch from '2026-06-09 23:43:10'::timestamp) - extract(epoch from '2026-06-09 23:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.372416 -2.809892)', '2026-06-09 23:43:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37252 -2.809889)'), GeomFromEWKT('SRID=4674;POINT (-40.372416 -2.809892)'))) / (select extract(epoch from '2026-06-09 23:43:16'::timestamp) - extract(epoch from '2026-06-09 23:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37252 -2.809889)'), GeomFromEWKT('SRID=4674;POINT (-40.372416 -2.809892)'))) / (select extract(epoch from '2026-06-09 23:43:16'::timestamp) - extract(epoch from '2026-06-09 23:43: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'), 46728, 'SRID=4674;POINT (-40.372261 -2.809889)', '2026-06-09 23:43:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372416 -2.809892)'), GeomFromEWKT('SRID=4674;POINT (-40.372261 -2.809889)'))) / (select extract(epoch from '2026-06-09 23:43:24'::timestamp) - extract(epoch from '2026-06-09 23:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372416 -2.809892)'), GeomFromEWKT('SRID=4674;POINT (-40.372261 -2.809889)'))) / (select extract(epoch from '2026-06-09 23:43:24'::timestamp) - extract(epoch from '2026-06-09 23:43: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'), 46728, 'SRID=4674;POINT (-40.372149 -2.80991)', '2026-06-09 23:43:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372261 -2.809889)'), GeomFromEWKT('SRID=4674;POINT (-40.372149 -2.80991)'))) / (select extract(epoch from '2026-06-09 23:43:30'::timestamp) - extract(epoch from '2026-06-09 23:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372261 -2.809889)'), GeomFromEWKT('SRID=4674;POINT (-40.372149 -2.80991)'))) / (select extract(epoch from '2026-06-09 23:43:30'::timestamp) - extract(epoch from '2026-06-09 23:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.371982 -2.809905)', '2026-06-09 23:43:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372149 -2.80991)'), GeomFromEWKT('SRID=4674;POINT (-40.371982 -2.809905)'))) / (select extract(epoch from '2026-06-09 23:43:38'::timestamp) - extract(epoch from '2026-06-09 23:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372149 -2.80991)'), GeomFromEWKT('SRID=4674;POINT (-40.371982 -2.809905)'))) / (select extract(epoch from '2026-06-09 23:43:38'::timestamp) - extract(epoch from '2026-06-09 23:43: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'), 46728, 'SRID=4674;POINT (-40.37182 -2.809882)', '2026-06-09 23:43:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371982 -2.809905)'), GeomFromEWKT('SRID=4674;POINT (-40.37182 -2.809882)'))) / (select extract(epoch from '2026-06-09 23:43:46'::timestamp) - extract(epoch from '2026-06-09 23:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371982 -2.809905)'), GeomFromEWKT('SRID=4674;POINT (-40.37182 -2.809882)'))) / (select extract(epoch from '2026-06-09 23:43:46'::timestamp) - extract(epoch from '2026-06-09 23:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.371681 -2.809879)', '2026-06-09 23:43:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37182 -2.809882)'), GeomFromEWKT('SRID=4674;POINT (-40.371681 -2.809879)'))) / (select extract(epoch from '2026-06-09 23:43:53'::timestamp) - extract(epoch from '2026-06-09 23:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37182 -2.809882)'), GeomFromEWKT('SRID=4674;POINT (-40.371681 -2.809879)'))) / (select extract(epoch from '2026-06-09 23:43:53'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.371568 -2.809875)', '2026-06-09 23:43:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371681 -2.809879)'), GeomFromEWKT('SRID=4674;POINT (-40.371568 -2.809875)'))) / (select extract(epoch from '2026-06-09 23:43:59'::timestamp) - extract(epoch from '2026-06-09 23:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371681 -2.809879)'), GeomFromEWKT('SRID=4674;POINT (-40.371568 -2.809875)'))) / (select extract(epoch from '2026-06-09 23:43:59'::timestamp) - extract(epoch from '2026-06-09 23:43: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'), 46728, 'SRID=4674;POINT (-40.371456 -2.809841)', '2026-06-09 23:44:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371568 -2.809875)'), GeomFromEWKT('SRID=4674;POINT (-40.371456 -2.809841)'))) / (select extract(epoch from '2026-06-09 23:44:05'::timestamp) - extract(epoch from '2026-06-09 23:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371568 -2.809875)'), GeomFromEWKT('SRID=4674;POINT (-40.371456 -2.809841)'))) / (select extract(epoch from '2026-06-09 23:44:05'::timestamp) - extract(epoch from '2026-06-09 23:43:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.371284 -2.809836)', '2026-06-09 23:44:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371456 -2.809841)'), GeomFromEWKT('SRID=4674;POINT (-40.371284 -2.809836)'))) / (select extract(epoch from '2026-06-09 23:44:14'::timestamp) - extract(epoch from '2026-06-09 23:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371456 -2.809841)'), GeomFromEWKT('SRID=4674;POINT (-40.371284 -2.809836)'))) / (select extract(epoch from '2026-06-09 23:44:14'::timestamp) - extract(epoch from '2026-06-09 23:44: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'), 46728, 'SRID=4674;POINT (-40.371138 -2.80981)', '2026-06-09 23:44:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371284 -2.809836)'), GeomFromEWKT('SRID=4674;POINT (-40.371138 -2.80981)'))) / (select extract(epoch from '2026-06-09 23:44:22'::timestamp) - extract(epoch from '2026-06-09 23:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371284 -2.809836)'), GeomFromEWKT('SRID=4674;POINT (-40.371138 -2.80981)'))) / (select extract(epoch from '2026-06-09 23:44:22'::timestamp) - extract(epoch from '2026-06-09 23:44: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'), 46728, 'SRID=4674;POINT (-40.370967 -2.809734)', '2026-06-09 23:44:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371138 -2.80981)'), GeomFromEWKT('SRID=4674;POINT (-40.370967 -2.809734)'))) / (select extract(epoch from '2026-06-09 23:44:31'::timestamp) - extract(epoch from '2026-06-09 23:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371138 -2.80981)'), GeomFromEWKT('SRID=4674;POINT (-40.370967 -2.809734)'))) / (select extract(epoch from '2026-06-09 23:44:31'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.370835 -2.8097)', '2026-06-09 23:44:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370967 -2.809734)'), GeomFromEWKT('SRID=4674;POINT (-40.370835 -2.8097)'))) / (select extract(epoch from '2026-06-09 23:44:38'::timestamp) - extract(epoch from '2026-06-09 23:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370967 -2.809734)'), GeomFromEWKT('SRID=4674;POINT (-40.370835 -2.8097)'))) / (select extract(epoch from '2026-06-09 23:44:38'::timestamp) - extract(epoch from '2026-06-09 23:44: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'), 46728, 'SRID=4674;POINT (-40.37069 -2.809676)', '2026-06-09 23:44:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370835 -2.8097)'), GeomFromEWKT('SRID=4674;POINT (-40.37069 -2.809676)'))) / (select extract(epoch from '2026-06-09 23:44:46'::timestamp) - extract(epoch from '2026-06-09 23:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370835 -2.8097)'), GeomFromEWKT('SRID=4674;POINT (-40.37069 -2.809676)'))) / (select extract(epoch from '2026-06-09 23:44:46'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.370561 -2.809644)', '2026-06-09 23:44:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37069 -2.809676)'), GeomFromEWKT('SRID=4674;POINT (-40.370561 -2.809644)'))) / (select extract(epoch from '2026-06-09 23:44:53'::timestamp) - extract(epoch from '2026-06-09 23:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37069 -2.809676)'), GeomFromEWKT('SRID=4674;POINT (-40.370561 -2.809644)'))) / (select extract(epoch from '2026-06-09 23:44:53'::timestamp) - extract(epoch from '2026-06-09 23:44: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'), 46728, 'SRID=4674;POINT (-40.37045 -2.80964)', '2026-06-09 23:44:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370561 -2.809644)'), GeomFromEWKT('SRID=4674;POINT (-40.37045 -2.80964)'))) / (select extract(epoch from '2026-06-09 23:44:59'::timestamp) - extract(epoch from '2026-06-09 23:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370561 -2.809644)'), GeomFromEWKT('SRID=4674;POINT (-40.37045 -2.80964)'))) / (select extract(epoch from '2026-06-09 23:44:59'::timestamp) - extract(epoch from '2026-06-09 23:44: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'), 46728, 'SRID=4674;POINT (-40.370333 -2.809654)', '2026-06-09 23:45:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37045 -2.80964)'), GeomFromEWKT('SRID=4674;POINT (-40.370333 -2.809654)'))) / (select extract(epoch from '2026-06-09 23:45:06'::timestamp) - extract(epoch from '2026-06-09 23:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37045 -2.80964)'), GeomFromEWKT('SRID=4674;POINT (-40.370333 -2.809654)'))) / (select extract(epoch from '2026-06-09 23:45:06'::timestamp) - extract(epoch from '2026-06-09 23:44: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'), 46728, 'SRID=4674;POINT (-40.370189 -2.809697)', '2026-06-09 23:45:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370333 -2.809654)'), GeomFromEWKT('SRID=4674;POINT (-40.370189 -2.809697)'))) / (select extract(epoch from '2026-06-09 23:45:14'::timestamp) - extract(epoch from '2026-06-09 23:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370333 -2.809654)'), GeomFromEWKT('SRID=4674;POINT (-40.370189 -2.809697)'))) / (select extract(epoch from '2026-06-09 23:45:14'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.370056 -2.809715)', '2026-06-09 23:45:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370189 -2.809697)'), GeomFromEWKT('SRID=4674;POINT (-40.370056 -2.809715)'))) / (select extract(epoch from '2026-06-09 23:45:21'::timestamp) - extract(epoch from '2026-06-09 23:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370189 -2.809697)'), GeomFromEWKT('SRID=4674;POINT (-40.370056 -2.809715)'))) / (select extract(epoch from '2026-06-09 23:45:21'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.369939 -2.809698)', '2026-06-09 23:45:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370056 -2.809715)'), GeomFromEWKT('SRID=4674;POINT (-40.369939 -2.809698)'))) / (select extract(epoch from '2026-06-09 23:45:27'::timestamp) - extract(epoch from '2026-06-09 23:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370056 -2.809715)'), GeomFromEWKT('SRID=4674;POINT (-40.369939 -2.809698)'))) / (select extract(epoch from '2026-06-09 23:45:27'::timestamp) - extract(epoch from '2026-06-09 23: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'), 46728, 'SRID=4674;POINT (-40.369739 -2.809659)', '2026-06-09 23:45:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369939 -2.809698)'), GeomFromEWKT('SRID=4674;POINT (-40.369739 -2.809659)'))) / (select extract(epoch from '2026-06-09 23:45:37'::timestamp) - extract(epoch from '2026-06-09 23:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369939 -2.809698)'), GeomFromEWKT('SRID=4674;POINT (-40.369739 -2.809659)'))) / (select extract(epoch from '2026-06-09 23:45:37'::timestamp) - extract(epoch from '2026-06-09 23:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
