 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409664 -2.719321)', '2026-07-17 13:52:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.719267)'), GeomFromEWKT('SRID=4674;POINT (-40.409664 -2.719321)'))) / (select extract(epoch from '2026-07-17 13:52:45'::timestamp) - extract(epoch from '2026-07-17 13:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.719267)'), GeomFromEWKT('SRID=4674;POINT (-40.409664 -2.719321)'))) / (select extract(epoch from '2026-07-17 13:52:45'::timestamp) - extract(epoch from '2026-07-17 13:52: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'), 47831, 'SRID=4674;POINT (-40.409614 -2.719363)', '2026-07-17 13:52:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409664 -2.719321)'), GeomFromEWKT('SRID=4674;POINT (-40.409614 -2.719363)'))) / (select extract(epoch from '2026-07-17 13:52:55'::timestamp) - extract(epoch from '2026-07-17 13:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409664 -2.719321)'), GeomFromEWKT('SRID=4674;POINT (-40.409614 -2.719363)'))) / (select extract(epoch from '2026-07-17 13:52:55'::timestamp) - extract(epoch from '2026-07-17 13:52: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'), 47831, 'SRID=4674;POINT (-40.409613 -2.719389)', '2026-07-17 13:53:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409614 -2.719363)'), GeomFromEWKT('SRID=4674;POINT (-40.409613 -2.719389)'))) / (select extract(epoch from '2026-07-17 13:53:04'::timestamp) - extract(epoch from '2026-07-17 13:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409614 -2.719363)'), GeomFromEWKT('SRID=4674;POINT (-40.409613 -2.719389)'))) / (select extract(epoch from '2026-07-17 13:53:04'::timestamp) - extract(epoch from '2026-07-17 13:52: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'), 47831, 'SRID=4674;POINT (-40.409634 -2.719363)', '2026-07-17 13:53:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409613 -2.719389)'), GeomFromEWKT('SRID=4674;POINT (-40.409634 -2.719363)'))) / (select extract(epoch from '2026-07-17 13:53:20'::timestamp) - extract(epoch from '2026-07-17 13:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409613 -2.719389)'), GeomFromEWKT('SRID=4674;POINT (-40.409634 -2.719363)'))) / (select extract(epoch from '2026-07-17 13:53:20'::timestamp) - extract(epoch from '2026-07-17 13:53: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'), 47831, 'SRID=4674;POINT (-40.409637 -2.719314)', '2026-07-17 13:53:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409634 -2.719363)'), GeomFromEWKT('SRID=4674;POINT (-40.409637 -2.719314)'))) / (select extract(epoch from '2026-07-17 13:53:31'::timestamp) - extract(epoch from '2026-07-17 13:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409634 -2.719363)'), GeomFromEWKT('SRID=4674;POINT (-40.409637 -2.719314)'))) / (select extract(epoch from '2026-07-17 13:53:31'::timestamp) - extract(epoch from '2026-07-17 13:53: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'), 47831, 'SRID=4674;POINT (-40.409606 -2.719338)', '2026-07-17 13:53:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409637 -2.719314)'), GeomFromEWKT('SRID=4674;POINT (-40.409606 -2.719338)'))) / (select extract(epoch from '2026-07-17 13:53:43'::timestamp) - extract(epoch from '2026-07-17 13:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409637 -2.719314)'), GeomFromEWKT('SRID=4674;POINT (-40.409606 -2.719338)'))) / (select extract(epoch from '2026-07-17 13:53:43'::timestamp) - extract(epoch from '2026-07-17 13:53: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'), 47831, 'SRID=4674;POINT (-40.409585 -2.719354)', '2026-07-17 13:53:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409606 -2.719338)'), GeomFromEWKT('SRID=4674;POINT (-40.409585 -2.719354)'))) / (select extract(epoch from '2026-07-17 13:53:54'::timestamp) - extract(epoch from '2026-07-17 13:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409606 -2.719338)'), GeomFromEWKT('SRID=4674;POINT (-40.409585 -2.719354)'))) / (select extract(epoch from '2026-07-17 13:53:54'::timestamp) - extract(epoch from '2026-07-17 13:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409584 -2.719387)', '2026-07-17 13:54:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409585 -2.719354)'), GeomFromEWKT('SRID=4674;POINT (-40.409584 -2.719387)'))) / (select extract(epoch from '2026-07-17 13:54:06'::timestamp) - extract(epoch from '2026-07-17 13:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409585 -2.719354)'), GeomFromEWKT('SRID=4674;POINT (-40.409584 -2.719387)'))) / (select extract(epoch from '2026-07-17 13:54:06'::timestamp) - extract(epoch from '2026-07-17 13:53:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409666 -2.719411)', '2026-07-17 13:54:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409584 -2.719387)'), GeomFromEWKT('SRID=4674;POINT (-40.409666 -2.719411)'))) / (select extract(epoch from '2026-07-17 13:54:28'::timestamp) - extract(epoch from '2026-07-17 13:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409584 -2.719387)'), GeomFromEWKT('SRID=4674;POINT (-40.409666 -2.719411)'))) / (select extract(epoch from '2026-07-17 13:54:28'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.409752 -2.719365)', '2026-07-17 13:54:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409666 -2.719411)'), GeomFromEWKT('SRID=4674;POINT (-40.409752 -2.719365)'))) / (select extract(epoch from '2026-07-17 13:54:40'::timestamp) - extract(epoch from '2026-07-17 13:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409666 -2.719411)'), GeomFromEWKT('SRID=4674;POINT (-40.409752 -2.719365)'))) / (select extract(epoch from '2026-07-17 13:54:40'::timestamp) - extract(epoch from '2026-07-17 13:54:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409728 -2.719336)', '2026-07-17 13:54:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409752 -2.719365)'), GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.719336)'))) / (select extract(epoch from '2026-07-17 13:54:48'::timestamp) - extract(epoch from '2026-07-17 13:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409752 -2.719365)'), GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.719336)'))) / (select extract(epoch from '2026-07-17 13:54:48'::timestamp) - extract(epoch from '2026-07-17 13:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409724 -2.719337)', '2026-07-17 13:54:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.719336)'), GeomFromEWKT('SRID=4674;POINT (-40.409724 -2.719337)'))) / (select extract(epoch from '2026-07-17 13:54:49'::timestamp) - extract(epoch from '2026-07-17 13:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.719336)'), GeomFromEWKT('SRID=4674;POINT (-40.409724 -2.719337)'))) / (select extract(epoch from '2026-07-17 13:54:49'::timestamp) - extract(epoch from '2026-07-17 13:54: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'), 47831, 'SRID=4674;POINT (-40.409668 -2.719363)', '2026-07-17 13:54:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409724 -2.719337)'), GeomFromEWKT('SRID=4674;POINT (-40.409668 -2.719363)'))) / (select extract(epoch from '2026-07-17 13:54:59'::timestamp) - extract(epoch from '2026-07-17 13:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409724 -2.719337)'), GeomFromEWKT('SRID=4674;POINT (-40.409668 -2.719363)'))) / (select extract(epoch from '2026-07-17 13:54:59'::timestamp) - extract(epoch from '2026-07-17 13:54: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'), 47831, 'SRID=4674;POINT (-40.409671 -2.719369)', '2026-07-17 13:55:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409668 -2.719363)'), GeomFromEWKT('SRID=4674;POINT (-40.409671 -2.719369)'))) / (select extract(epoch from '2026-07-17 13:55:08'::timestamp) - extract(epoch from '2026-07-17 13:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409668 -2.719363)'), GeomFromEWKT('SRID=4674;POINT (-40.409671 -2.719369)'))) / (select extract(epoch from '2026-07-17 13:55:08'::timestamp) - extract(epoch from '2026-07-17 13:54:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409703 -2.719408)', '2026-07-17 13:55:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409671 -2.719369)'), GeomFromEWKT('SRID=4674;POINT (-40.409703 -2.719408)'))) / (select extract(epoch from '2026-07-17 13:55:17'::timestamp) - extract(epoch from '2026-07-17 13:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409671 -2.719369)'), GeomFromEWKT('SRID=4674;POINT (-40.409703 -2.719408)'))) / (select extract(epoch from '2026-07-17 13:55:17'::timestamp) - extract(epoch from '2026-07-17 13:55: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'), 47831, 'SRID=4674;POINT (-40.409784 -2.719465)', '2026-07-17 13:55:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409703 -2.719408)'), GeomFromEWKT('SRID=4674;POINT (-40.409784 -2.719465)'))) / (select extract(epoch from '2026-07-17 13:55:35'::timestamp) - extract(epoch from '2026-07-17 13:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409703 -2.719408)'), GeomFromEWKT('SRID=4674;POINT (-40.409784 -2.719465)'))) / (select extract(epoch from '2026-07-17 13:55:35'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.409812 -2.719475)', '2026-07-17 13:55:41', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409784 -2.719465)'), GeomFromEWKT('SRID=4674;POINT (-40.409812 -2.719475)'))) / (select extract(epoch from '2026-07-17 13:55:41'::timestamp) - extract(epoch from '2026-07-17 13:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409784 -2.719465)'), GeomFromEWKT('SRID=4674;POINT (-40.409812 -2.719475)'))) / (select extract(epoch from '2026-07-17 13:55:41'::timestamp) - extract(epoch from '2026-07-17 13:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409855 -2.719413)', '2026-07-17 13:55:49', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409812 -2.719475)'), GeomFromEWKT('SRID=4674;POINT (-40.409855 -2.719413)'))) / (select extract(epoch from '2026-07-17 13:55:49'::timestamp) - extract(epoch from '2026-07-17 13:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409812 -2.719475)'), GeomFromEWKT('SRID=4674;POINT (-40.409855 -2.719413)'))) / (select extract(epoch from '2026-07-17 13:55:49'::timestamp) - extract(epoch from '2026-07-17 13:55: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'), 47831, 'SRID=4674;POINT (-40.409953 -2.719338)', '2026-07-17 13:55:57', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409855 -2.719413)'), GeomFromEWKT('SRID=4674;POINT (-40.409953 -2.719338)'))) / (select extract(epoch from '2026-07-17 13:55:57'::timestamp) - extract(epoch from '2026-07-17 13:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409855 -2.719413)'), GeomFromEWKT('SRID=4674;POINT (-40.409953 -2.719338)'))) / (select extract(epoch from '2026-07-17 13:55:57'::timestamp) - extract(epoch from '2026-07-17 13:55: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'), 47831, 'SRID=4674;POINT (-40.410071 -2.719351)', '2026-07-17 13:56:03', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409953 -2.719338)'), GeomFromEWKT('SRID=4674;POINT (-40.410071 -2.719351)'))) / (select extract(epoch from '2026-07-17 13:56:03'::timestamp) - extract(epoch from '2026-07-17 13:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409953 -2.719338)'), GeomFromEWKT('SRID=4674;POINT (-40.410071 -2.719351)'))) / (select extract(epoch from '2026-07-17 13:56:03'::timestamp) - extract(epoch from '2026-07-17 13:55: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'), 47831, 'SRID=4674;POINT (-40.410178 -2.719348)', '2026-07-17 13:56:08', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410071 -2.719351)'), GeomFromEWKT('SRID=4674;POINT (-40.410178 -2.719348)'))) / (select extract(epoch from '2026-07-17 13:56:08'::timestamp) - extract(epoch from '2026-07-17 13:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410071 -2.719351)'), GeomFromEWKT('SRID=4674;POINT (-40.410178 -2.719348)'))) / (select extract(epoch from '2026-07-17 13:56:08'::timestamp) - extract(epoch from '2026-07-17 13:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410287 -2.719315)', '2026-07-17 13:56:14', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410178 -2.719348)'), GeomFromEWKT('SRID=4674;POINT (-40.410287 -2.719315)'))) / (select extract(epoch from '2026-07-17 13:56:14'::timestamp) - extract(epoch from '2026-07-17 13:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410178 -2.719348)'), GeomFromEWKT('SRID=4674;POINT (-40.410287 -2.719315)'))) / (select extract(epoch from '2026-07-17 13:56:14'::timestamp) - extract(epoch from '2026-07-17 13:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410391 -2.719274)', '2026-07-17 13:56:20', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410287 -2.719315)'), GeomFromEWKT('SRID=4674;POINT (-40.410391 -2.719274)'))) / (select extract(epoch from '2026-07-17 13:56:20'::timestamp) - extract(epoch from '2026-07-17 13:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410287 -2.719315)'), GeomFromEWKT('SRID=4674;POINT (-40.410391 -2.719274)'))) / (select extract(epoch from '2026-07-17 13:56:20'::timestamp) - extract(epoch from '2026-07-17 13:56: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'), 47831, 'SRID=4674;POINT (-40.410493 -2.719262)', '2026-07-17 13:56:26', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410391 -2.719274)'), GeomFromEWKT('SRID=4674;POINT (-40.410493 -2.719262)'))) / (select extract(epoch from '2026-07-17 13:56:26'::timestamp) - extract(epoch from '2026-07-17 13:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410391 -2.719274)'), GeomFromEWKT('SRID=4674;POINT (-40.410493 -2.719262)'))) / (select extract(epoch from '2026-07-17 13:56:26'::timestamp) - extract(epoch from '2026-07-17 13:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410531 -2.719255)', '2026-07-17 13:56:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410493 -2.719262)'), GeomFromEWKT('SRID=4674;POINT (-40.410531 -2.719255)'))) / (select extract(epoch from '2026-07-17 13:56:29'::timestamp) - extract(epoch from '2026-07-17 13:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410493 -2.719262)'), GeomFromEWKT('SRID=4674;POINT (-40.410531 -2.719255)'))) / (select extract(epoch from '2026-07-17 13:56:29'::timestamp) - extract(epoch from '2026-07-17 13:56: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'), 47831, 'SRID=4674;POINT (-40.410546 -2.719239)', '2026-07-17 13:56:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410531 -2.719255)'), GeomFromEWKT('SRID=4674;POINT (-40.410546 -2.719239)'))) / (select extract(epoch from '2026-07-17 13:56:31'::timestamp) - extract(epoch from '2026-07-17 13:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410531 -2.719255)'), GeomFromEWKT('SRID=4674;POINT (-40.410546 -2.719239)'))) / (select extract(epoch from '2026-07-17 13:56:31'::timestamp) - extract(epoch from '2026-07-17 13:56: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'), 47831, 'SRID=4674;POINT (-40.410559 -2.719234)', '2026-07-17 13:56:32', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410546 -2.719239)'), GeomFromEWKT('SRID=4674;POINT (-40.410559 -2.719234)'))) / (select extract(epoch from '2026-07-17 13:56:32'::timestamp) - extract(epoch from '2026-07-17 13:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410546 -2.719239)'), GeomFromEWKT('SRID=4674;POINT (-40.410559 -2.719234)'))) / (select extract(epoch from '2026-07-17 13:56:32'::timestamp) - extract(epoch from '2026-07-17 13:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410674 -2.719221)', '2026-07-17 13:56:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410559 -2.719234)'), GeomFromEWKT('SRID=4674;POINT (-40.410674 -2.719221)'))) / (select extract(epoch from '2026-07-17 13:56:40'::timestamp) - extract(epoch from '2026-07-17 13:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410559 -2.719234)'), GeomFromEWKT('SRID=4674;POINT (-40.410674 -2.719221)'))) / (select extract(epoch from '2026-07-17 13:56:40'::timestamp) - extract(epoch from '2026-07-17 13:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41076 -2.719204)', '2026-07-17 13:56:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410674 -2.719221)'), GeomFromEWKT('SRID=4674;POINT (-40.41076 -2.719204)'))) / (select extract(epoch from '2026-07-17 13:56:47'::timestamp) - extract(epoch from '2026-07-17 13:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410674 -2.719221)'), GeomFromEWKT('SRID=4674;POINT (-40.41076 -2.719204)'))) / (select extract(epoch from '2026-07-17 13:56:47'::timestamp) - extract(epoch from '2026-07-17 13:56: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'), 47831, 'SRID=4674;POINT (-40.410848 -2.719167)', '2026-07-17 13:56:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41076 -2.719204)'), GeomFromEWKT('SRID=4674;POINT (-40.410848 -2.719167)'))) / (select extract(epoch from '2026-07-17 13:56:54'::timestamp) - extract(epoch from '2026-07-17 13:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41076 -2.719204)'), GeomFromEWKT('SRID=4674;POINT (-40.410848 -2.719167)'))) / (select extract(epoch from '2026-07-17 13:56:54'::timestamp) - extract(epoch from '2026-07-17 13:56: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'), 47831, 'SRID=4674;POINT (-40.410904 -2.719112)', '2026-07-17 13:57:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410848 -2.719167)'), GeomFromEWKT('SRID=4674;POINT (-40.410904 -2.719112)'))) / (select extract(epoch from '2026-07-17 13:57:01'::timestamp) - extract(epoch from '2026-07-17 13:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410848 -2.719167)'), GeomFromEWKT('SRID=4674;POINT (-40.410904 -2.719112)'))) / (select extract(epoch from '2026-07-17 13:57:01'::timestamp) - extract(epoch from '2026-07-17 13:56: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'), 47831, 'SRID=4674;POINT (-40.410907 -2.719081)', '2026-07-17 13:57:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410904 -2.719112)'), GeomFromEWKT('SRID=4674;POINT (-40.410907 -2.719081)'))) / (select extract(epoch from '2026-07-17 13:57:10'::timestamp) - extract(epoch from '2026-07-17 13:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410904 -2.719112)'), GeomFromEWKT('SRID=4674;POINT (-40.410907 -2.719081)'))) / (select extract(epoch from '2026-07-17 13:57:10'::timestamp) - extract(epoch from '2026-07-17 13:57: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'), 47831, 'SRID=4674;POINT (-40.410881 -2.719101)', '2026-07-17 13:57:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410907 -2.719081)'), GeomFromEWKT('SRID=4674;POINT (-40.410881 -2.719101)'))) / (select extract(epoch from '2026-07-17 13:57:21'::timestamp) - extract(epoch from '2026-07-17 13:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410907 -2.719081)'), GeomFromEWKT('SRID=4674;POINT (-40.410881 -2.719101)'))) / (select extract(epoch from '2026-07-17 13:57:21'::timestamp) - extract(epoch from '2026-07-17 13:57: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'), 47831, 'SRID=4674;POINT (-40.410801 -2.719159)', '2026-07-17 13:57:35', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410881 -2.719101)'), GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.719159)'))) / (select extract(epoch from '2026-07-17 13:57:35'::timestamp) - extract(epoch from '2026-07-17 13:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410881 -2.719101)'), GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.719159)'))) / (select extract(epoch from '2026-07-17 13:57:35'::timestamp) - extract(epoch from '2026-07-17 13:57:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410777 -2.719192)', '2026-07-17 13:57:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.719159)'), GeomFromEWKT('SRID=4674;POINT (-40.410777 -2.719192)'))) / (select extract(epoch from '2026-07-17 13:57:45'::timestamp) - extract(epoch from '2026-07-17 13:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.719159)'), GeomFromEWKT('SRID=4674;POINT (-40.410777 -2.719192)'))) / (select extract(epoch from '2026-07-17 13:57:45'::timestamp) - extract(epoch from '2026-07-17 13:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410795 -2.719226)', '2026-07-17 13:58:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410777 -2.719192)'), GeomFromEWKT('SRID=4674;POINT (-40.410795 -2.719226)'))) / (select extract(epoch from '2026-07-17 13:58:00'::timestamp) - extract(epoch from '2026-07-17 13:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410777 -2.719192)'), GeomFromEWKT('SRID=4674;POINT (-40.410795 -2.719226)'))) / (select extract(epoch from '2026-07-17 13:58:00'::timestamp) - extract(epoch from '2026-07-17 13:57: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'), 47831, 'SRID=4674;POINT (-40.410801 -2.719233)', '2026-07-17 13:58:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410795 -2.719226)'), GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.719233)'))) / (select extract(epoch from '2026-07-17 13:58:13'::timestamp) - extract(epoch from '2026-07-17 13:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410795 -2.719226)'), GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.719233)'))) / (select extract(epoch from '2026-07-17 13:58:13'::timestamp) - extract(epoch from '2026-07-17 13:58: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'), 47831, 'SRID=4674;POINT (-40.410859 -2.719251)', '2026-07-17 13:58:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.719233)'), GeomFromEWKT('SRID=4674;POINT (-40.410859 -2.719251)'))) / (select extract(epoch from '2026-07-17 13:58:37'::timestamp) - extract(epoch from '2026-07-17 13:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.719233)'), GeomFromEWKT('SRID=4674;POINT (-40.410859 -2.719251)'))) / (select extract(epoch from '2026-07-17 13:58:37'::timestamp) - extract(epoch from '2026-07-17 13:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410875 -2.719327)', '2026-07-17 13:58:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410859 -2.719251)'), GeomFromEWKT('SRID=4674;POINT (-40.410875 -2.719327)'))) / (select extract(epoch from '2026-07-17 13:58:45'::timestamp) - extract(epoch from '2026-07-17 13:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410859 -2.719251)'), GeomFromEWKT('SRID=4674;POINT (-40.410875 -2.719327)'))) / (select extract(epoch from '2026-07-17 13:58:45'::timestamp) - extract(epoch from '2026-07-17 13:58: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'), 47831, 'SRID=4674;POINT (-40.410925 -2.719447)', '2026-07-17 13:58:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410875 -2.719327)'), GeomFromEWKT('SRID=4674;POINT (-40.410925 -2.719447)'))) / (select extract(epoch from '2026-07-17 13:58:53'::timestamp) - extract(epoch from '2026-07-17 13:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410875 -2.719327)'), GeomFromEWKT('SRID=4674;POINT (-40.410925 -2.719447)'))) / (select extract(epoch from '2026-07-17 13:58:53'::timestamp) - extract(epoch from '2026-07-17 13:58: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'), 47831, 'SRID=4674;POINT (-40.411018 -2.71948)', '2026-07-17 13:58:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410925 -2.719447)'), GeomFromEWKT('SRID=4674;POINT (-40.411018 -2.71948)'))) / (select extract(epoch from '2026-07-17 13:58:58'::timestamp) - extract(epoch from '2026-07-17 13:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410925 -2.719447)'), GeomFromEWKT('SRID=4674;POINT (-40.411018 -2.71948)'))) / (select extract(epoch from '2026-07-17 13:58:58'::timestamp) - extract(epoch from '2026-07-17 13:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411095 -2.719467)', '2026-07-17 13:59:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411018 -2.71948)'), GeomFromEWKT('SRID=4674;POINT (-40.411095 -2.719467)'))) / (select extract(epoch from '2026-07-17 13:59:03'::timestamp) - extract(epoch from '2026-07-17 13:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411018 -2.71948)'), GeomFromEWKT('SRID=4674;POINT (-40.411095 -2.719467)'))) / (select extract(epoch from '2026-07-17 13:59:03'::timestamp) - extract(epoch from '2026-07-17 13:58: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'), 47831, 'SRID=4674;POINT (-40.411183 -2.719405)', '2026-07-17 13:59:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411095 -2.719467)'), GeomFromEWKT('SRID=4674;POINT (-40.411183 -2.719405)'))) / (select extract(epoch from '2026-07-17 13:59:09'::timestamp) - extract(epoch from '2026-07-17 13:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411095 -2.719467)'), GeomFromEWKT('SRID=4674;POINT (-40.411183 -2.719405)'))) / (select extract(epoch from '2026-07-17 13:59:09'::timestamp) - extract(epoch from '2026-07-17 13:59: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'), 47831, 'SRID=4674;POINT (-40.411263 -2.719335)', '2026-07-17 13:59:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411183 -2.719405)'), GeomFromEWKT('SRID=4674;POINT (-40.411263 -2.719335)'))) / (select extract(epoch from '2026-07-17 13:59:15'::timestamp) - extract(epoch from '2026-07-17 13:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411183 -2.719405)'), GeomFromEWKT('SRID=4674;POINT (-40.411263 -2.719335)'))) / (select extract(epoch from '2026-07-17 13:59:15'::timestamp) - extract(epoch from '2026-07-17 13:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411351 -2.719247)', '2026-07-17 13:59:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411263 -2.719335)'), GeomFromEWKT('SRID=4674;POINT (-40.411351 -2.719247)'))) / (select extract(epoch from '2026-07-17 13:59:22'::timestamp) - extract(epoch from '2026-07-17 13:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411263 -2.719335)'), GeomFromEWKT('SRID=4674;POINT (-40.411351 -2.719247)'))) / (select extract(epoch from '2026-07-17 13:59:22'::timestamp) - extract(epoch from '2026-07-17 13:59: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'), 47831, 'SRID=4674;POINT (-40.411409 -2.719188)', '2026-07-17 13:59:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411351 -2.719247)'), GeomFromEWKT('SRID=4674;POINT (-40.411409 -2.719188)'))) / (select extract(epoch from '2026-07-17 13:59:27'::timestamp) - extract(epoch from '2026-07-17 13:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411351 -2.719247)'), GeomFromEWKT('SRID=4674;POINT (-40.411409 -2.719188)'))) / (select extract(epoch from '2026-07-17 13:59:27'::timestamp) - extract(epoch from '2026-07-17 13:59: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'), 47831, 'SRID=4674;POINT (-40.411476 -2.719083)', '2026-07-17 13:59:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411409 -2.719188)'), GeomFromEWKT('SRID=4674;POINT (-40.411476 -2.719083)'))) / (select extract(epoch from '2026-07-17 13:59:36'::timestamp) - extract(epoch from '2026-07-17 13:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411409 -2.719188)'), GeomFromEWKT('SRID=4674;POINT (-40.411476 -2.719083)'))) / (select extract(epoch from '2026-07-17 13:59:36'::timestamp) - extract(epoch from '2026-07-17 13:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411511 -2.718993)', '2026-07-17 13:59:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411476 -2.719083)'), GeomFromEWKT('SRID=4674;POINT (-40.411511 -2.718993)'))) / (select extract(epoch from '2026-07-17 13:59:42'::timestamp) - extract(epoch from '2026-07-17 13:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411476 -2.719083)'), GeomFromEWKT('SRID=4674;POINT (-40.411511 -2.718993)'))) / (select extract(epoch from '2026-07-17 13:59:42'::timestamp) - extract(epoch from '2026-07-17 13:59: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'), 47831, 'SRID=4674;POINT (-40.411584 -2.718916)', '2026-07-17 13:59:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411511 -2.718993)'), GeomFromEWKT('SRID=4674;POINT (-40.411584 -2.718916)'))) / (select extract(epoch from '2026-07-17 13:59:48'::timestamp) - extract(epoch from '2026-07-17 13:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411511 -2.718993)'), GeomFromEWKT('SRID=4674;POINT (-40.411584 -2.718916)'))) / (select extract(epoch from '2026-07-17 13:59:48'::timestamp) - extract(epoch from '2026-07-17 13:59: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'), 47831, 'SRID=4674;POINT (-40.41166 -2.718843)', '2026-07-17 13:59:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411584 -2.718916)'), GeomFromEWKT('SRID=4674;POINT (-40.41166 -2.718843)'))) / (select extract(epoch from '2026-07-17 13:59:55'::timestamp) - extract(epoch from '2026-07-17 13:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411584 -2.718916)'), GeomFromEWKT('SRID=4674;POINT (-40.41166 -2.718843)'))) / (select extract(epoch from '2026-07-17 13:59:55'::timestamp) - extract(epoch from '2026-07-17 13:59: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'), 47831, 'SRID=4674;POINT (-40.411682 -2.718815)', '2026-07-17 13:59:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41166 -2.718843)'), GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.718815)'))) / (select extract(epoch from '2026-07-17 13:59:59'::timestamp) - extract(epoch from '2026-07-17 13:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41166 -2.718843)'), GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.718815)'))) / (select extract(epoch from '2026-07-17 13:59:59'::timestamp) - extract(epoch from '2026-07-17 13:59:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411688 -2.718791)', '2026-07-17 14:00:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.718815)'), GeomFromEWKT('SRID=4674;POINT (-40.411688 -2.718791)'))) / (select extract(epoch from '2026-07-17 14:00:01'::timestamp) - extract(epoch from '2026-07-17 13:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.718815)'), GeomFromEWKT('SRID=4674;POINT (-40.411688 -2.718791)'))) / (select extract(epoch from '2026-07-17 14:00:01'::timestamp) - extract(epoch from '2026-07-17 13:59: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'), 47831, 'SRID=4674;POINT (-40.411693 -2.718782)', '2026-07-17 14:00:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411688 -2.718791)'), GeomFromEWKT('SRID=4674;POINT (-40.411693 -2.718782)'))) / (select extract(epoch from '2026-07-17 14:00:02'::timestamp) - extract(epoch from '2026-07-17 14:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411688 -2.718791)'), GeomFromEWKT('SRID=4674;POINT (-40.411693 -2.718782)'))) / (select extract(epoch from '2026-07-17 14:00:02'::timestamp) - extract(epoch from '2026-07-17 14:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411716 -2.71872)', '2026-07-17 14:00:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411693 -2.718782)'), GeomFromEWKT('SRID=4674;POINT (-40.411716 -2.71872)'))) / (select extract(epoch from '2026-07-17 14:00:09'::timestamp) - extract(epoch from '2026-07-17 14:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411693 -2.718782)'), GeomFromEWKT('SRID=4674;POINT (-40.411716 -2.71872)'))) / (select extract(epoch from '2026-07-17 14:00:09'::timestamp) - extract(epoch from '2026-07-17 14:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411749 -2.718698)', '2026-07-17 14:00:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411716 -2.71872)'), GeomFromEWKT('SRID=4674;POINT (-40.411749 -2.718698)'))) / (select extract(epoch from '2026-07-17 14:00:13'::timestamp) - extract(epoch from '2026-07-17 14:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411716 -2.71872)'), GeomFromEWKT('SRID=4674;POINT (-40.411749 -2.718698)'))) / (select extract(epoch from '2026-07-17 14:00:13'::timestamp) - extract(epoch from '2026-07-17 14:00: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'), 47831, 'SRID=4674;POINT (-40.411771 -2.718688)', '2026-07-17 14:00:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411749 -2.718698)'), GeomFromEWKT('SRID=4674;POINT (-40.411771 -2.718688)'))) / (select extract(epoch from '2026-07-17 14:00:15'::timestamp) - extract(epoch from '2026-07-17 14:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411749 -2.718698)'), GeomFromEWKT('SRID=4674;POINT (-40.411771 -2.718688)'))) / (select extract(epoch from '2026-07-17 14:00:15'::timestamp) - extract(epoch from '2026-07-17 14:00: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'), 47831, 'SRID=4674;POINT (-40.411814 -2.718657)', '2026-07-17 14:00:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411771 -2.718688)'), GeomFromEWKT('SRID=4674;POINT (-40.411814 -2.718657)'))) / (select extract(epoch from '2026-07-17 14:00:20'::timestamp) - extract(epoch from '2026-07-17 14:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411771 -2.718688)'), GeomFromEWKT('SRID=4674;POINT (-40.411814 -2.718657)'))) / (select extract(epoch from '2026-07-17 14:00:20'::timestamp) - extract(epoch from '2026-07-17 14:00: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'), 47831, 'SRID=4674;POINT (-40.411823 -2.718651)', '2026-07-17 14:00:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411814 -2.718657)'), GeomFromEWKT('SRID=4674;POINT (-40.411823 -2.718651)'))) / (select extract(epoch from '2026-07-17 14:00:22'::timestamp) - extract(epoch from '2026-07-17 14:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411814 -2.718657)'), GeomFromEWKT('SRID=4674;POINT (-40.411823 -2.718651)'))) / (select extract(epoch from '2026-07-17 14:00:22'::timestamp) - extract(epoch from '2026-07-17 14:00:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411823 -2.71863)', '2026-07-17 14:00:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411823 -2.718651)'), GeomFromEWKT('SRID=4674;POINT (-40.411823 -2.71863)'))) / (select extract(epoch from '2026-07-17 14:00:29'::timestamp) - extract(epoch from '2026-07-17 14:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411823 -2.718651)'), GeomFromEWKT('SRID=4674;POINT (-40.411823 -2.71863)'))) / (select extract(epoch from '2026-07-17 14:00:29'::timestamp) - extract(epoch from '2026-07-17 14:00: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'), 47831, 'SRID=4674;POINT (-40.411854 -2.71864)', '2026-07-17 14:00:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411823 -2.71863)'), GeomFromEWKT('SRID=4674;POINT (-40.411854 -2.71864)'))) / (select extract(epoch from '2026-07-17 14:00:40'::timestamp) - extract(epoch from '2026-07-17 14:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411823 -2.71863)'), GeomFromEWKT('SRID=4674;POINT (-40.411854 -2.71864)'))) / (select extract(epoch from '2026-07-17 14:00:40'::timestamp) - extract(epoch from '2026-07-17 14:00: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'), 47831, 'SRID=4674;POINT (-40.41189 -2.718655)', '2026-07-17 14:00:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411854 -2.71864)'), GeomFromEWKT('SRID=4674;POINT (-40.41189 -2.718655)'))) / (select extract(epoch from '2026-07-17 14:00:47'::timestamp) - extract(epoch from '2026-07-17 14:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411854 -2.71864)'), GeomFromEWKT('SRID=4674;POINT (-40.41189 -2.718655)'))) / (select extract(epoch from '2026-07-17 14:00:47'::timestamp) - extract(epoch from '2026-07-17 14:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411925 -2.718679)', '2026-07-17 14:00:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41189 -2.718655)'), GeomFromEWKT('SRID=4674;POINT (-40.411925 -2.718679)'))) / (select extract(epoch from '2026-07-17 14:00:56'::timestamp) - extract(epoch from '2026-07-17 14:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41189 -2.718655)'), GeomFromEWKT('SRID=4674;POINT (-40.411925 -2.718679)'))) / (select extract(epoch from '2026-07-17 14:00:56'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.411954 -2.718686)', '2026-07-17 14:01:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411925 -2.718679)'), GeomFromEWKT('SRID=4674;POINT (-40.411954 -2.718686)'))) / (select extract(epoch from '2026-07-17 14:01:03'::timestamp) - extract(epoch from '2026-07-17 14:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411925 -2.718679)'), GeomFromEWKT('SRID=4674;POINT (-40.411954 -2.718686)'))) / (select extract(epoch from '2026-07-17 14:01:03'::timestamp) - extract(epoch from '2026-07-17 14:00: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'), 47831, 'SRID=4674;POINT (-40.412029 -2.718671)', '2026-07-17 14:01:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411954 -2.718686)'), GeomFromEWKT('SRID=4674;POINT (-40.412029 -2.718671)'))) / (select extract(epoch from '2026-07-17 14:01:13'::timestamp) - extract(epoch from '2026-07-17 14:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411954 -2.718686)'), GeomFromEWKT('SRID=4674;POINT (-40.412029 -2.718671)'))) / (select extract(epoch from '2026-07-17 14:01:13'::timestamp) - extract(epoch from '2026-07-17 14:01: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'), 47831, 'SRID=4674;POINT (-40.412081 -2.718626)', '2026-07-17 14:01:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412029 -2.718671)'), GeomFromEWKT('SRID=4674;POINT (-40.412081 -2.718626)'))) / (select extract(epoch from '2026-07-17 14:01:22'::timestamp) - extract(epoch from '2026-07-17 14:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412029 -2.718671)'), GeomFromEWKT('SRID=4674;POINT (-40.412081 -2.718626)'))) / (select extract(epoch from '2026-07-17 14:01:22'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.41206 -2.71862)', '2026-07-17 14:01:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412081 -2.718626)'), GeomFromEWKT('SRID=4674;POINT (-40.41206 -2.71862)'))) / (select extract(epoch from '2026-07-17 14:01:31'::timestamp) - extract(epoch from '2026-07-17 14:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412081 -2.718626)'), GeomFromEWKT('SRID=4674;POINT (-40.41206 -2.71862)'))) / (select extract(epoch from '2026-07-17 14:01:31'::timestamp) - extract(epoch from '2026-07-17 14:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411982 -2.718636)', '2026-07-17 14:01:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41206 -2.71862)'), GeomFromEWKT('SRID=4674;POINT (-40.411982 -2.718636)'))) / (select extract(epoch from '2026-07-17 14:01:40'::timestamp) - extract(epoch from '2026-07-17 14:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41206 -2.71862)'), GeomFromEWKT('SRID=4674;POINT (-40.411982 -2.718636)'))) / (select extract(epoch from '2026-07-17 14:01:40'::timestamp) - extract(epoch from '2026-07-17 14:01: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'), 47831, 'SRID=4674;POINT (-40.411906 -2.718653)', '2026-07-17 14:01:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411982 -2.718636)'), GeomFromEWKT('SRID=4674;POINT (-40.411906 -2.718653)'))) / (select extract(epoch from '2026-07-17 14:01:50'::timestamp) - extract(epoch from '2026-07-17 14:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411982 -2.718636)'), GeomFromEWKT('SRID=4674;POINT (-40.411906 -2.718653)'))) / (select extract(epoch from '2026-07-17 14:01:50'::timestamp) - extract(epoch from '2026-07-17 14:01: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'), 47831, 'SRID=4674;POINT (-40.411853 -2.718639)', '2026-07-17 14:02:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411906 -2.718653)'), GeomFromEWKT('SRID=4674;POINT (-40.411853 -2.718639)'))) / (select extract(epoch from '2026-07-17 14:02:03'::timestamp) - extract(epoch from '2026-07-17 14:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411906 -2.718653)'), GeomFromEWKT('SRID=4674;POINT (-40.411853 -2.718639)'))) / (select extract(epoch from '2026-07-17 14:02:03'::timestamp) - extract(epoch from '2026-07-17 14:01: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'), 47831, 'SRID=4674;POINT (-40.411882 -2.718596)', '2026-07-17 14:02:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411853 -2.718639)'), GeomFromEWKT('SRID=4674;POINT (-40.411882 -2.718596)'))) / (select extract(epoch from '2026-07-17 14:02:14'::timestamp) - extract(epoch from '2026-07-17 14:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411853 -2.718639)'), GeomFromEWKT('SRID=4674;POINT (-40.411882 -2.718596)'))) / (select extract(epoch from '2026-07-17 14:02:14'::timestamp) - extract(epoch from '2026-07-17 14:02: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'), 47831, 'SRID=4674;POINT (-40.411944 -2.718602)', '2026-07-17 14:02:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411882 -2.718596)'), GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.718602)'))) / (select extract(epoch from '2026-07-17 14:02:26'::timestamp) - extract(epoch from '2026-07-17 14:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411882 -2.718596)'), GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.718602)'))) / (select extract(epoch from '2026-07-17 14:02:26'::timestamp) - extract(epoch from '2026-07-17 14:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41199 -2.718642)', '2026-07-17 14:02:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.718602)'), GeomFromEWKT('SRID=4674;POINT (-40.41199 -2.718642)'))) / (select extract(epoch from '2026-07-17 14:02:37'::timestamp) - extract(epoch from '2026-07-17 14:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.718602)'), GeomFromEWKT('SRID=4674;POINT (-40.41199 -2.718642)'))) / (select extract(epoch from '2026-07-17 14:02:37'::timestamp) - extract(epoch from '2026-07-17 14:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412052 -2.718683)', '2026-07-17 14:02:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41199 -2.718642)'), GeomFromEWKT('SRID=4674;POINT (-40.412052 -2.718683)'))) / (select extract(epoch from '2026-07-17 14:02:52'::timestamp) - extract(epoch from '2026-07-17 14:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41199 -2.718642)'), GeomFromEWKT('SRID=4674;POINT (-40.412052 -2.718683)'))) / (select extract(epoch from '2026-07-17 14:02:52'::timestamp) - extract(epoch from '2026-07-17 14:02: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'), 47831, 'SRID=4674;POINT (-40.412103 -2.718719)', '2026-07-17 14:03:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412052 -2.718683)'), GeomFromEWKT('SRID=4674;POINT (-40.412103 -2.718719)'))) / (select extract(epoch from '2026-07-17 14:03:04'::timestamp) - extract(epoch from '2026-07-17 14:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412052 -2.718683)'), GeomFromEWKT('SRID=4674;POINT (-40.412103 -2.718719)'))) / (select extract(epoch from '2026-07-17 14:03:04'::timestamp) - extract(epoch from '2026-07-17 14:02: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'), 47831, 'SRID=4674;POINT (-40.412158 -2.718759)', '2026-07-17 14:03:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412103 -2.718719)'), GeomFromEWKT('SRID=4674;POINT (-40.412158 -2.718759)'))) / (select extract(epoch from '2026-07-17 14:03:17'::timestamp) - extract(epoch from '2026-07-17 14:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412103 -2.718719)'), GeomFromEWKT('SRID=4674;POINT (-40.412158 -2.718759)'))) / (select extract(epoch from '2026-07-17 14:03:17'::timestamp) - extract(epoch from '2026-07-17 14:03:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412215 -2.718787)', '2026-07-17 14:03:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412158 -2.718759)'), GeomFromEWKT('SRID=4674;POINT (-40.412215 -2.718787)'))) / (select extract(epoch from '2026-07-17 14:03:28'::timestamp) - extract(epoch from '2026-07-17 14:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412158 -2.718759)'), GeomFromEWKT('SRID=4674;POINT (-40.412215 -2.718787)'))) / (select extract(epoch from '2026-07-17 14:03:28'::timestamp) - extract(epoch from '2026-07-17 14:03: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'), 47831, 'SRID=4674;POINT (-40.412254 -2.718801)', '2026-07-17 14:03:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412215 -2.718787)'), GeomFromEWKT('SRID=4674;POINT (-40.412254 -2.718801)'))) / (select extract(epoch from '2026-07-17 14:03:38'::timestamp) - extract(epoch from '2026-07-17 14:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412215 -2.718787)'), GeomFromEWKT('SRID=4674;POINT (-40.412254 -2.718801)'))) / (select extract(epoch from '2026-07-17 14:03:38'::timestamp) - extract(epoch from '2026-07-17 14:03: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'), 47831, 'SRID=4674;POINT (-40.412326 -2.718838)', '2026-07-17 14:03:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412254 -2.718801)'), GeomFromEWKT('SRID=4674;POINT (-40.412326 -2.718838)'))) / (select extract(epoch from '2026-07-17 14:03:50'::timestamp) - extract(epoch from '2026-07-17 14:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412254 -2.718801)'), GeomFromEWKT('SRID=4674;POINT (-40.412326 -2.718838)'))) / (select extract(epoch from '2026-07-17 14:03:50'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.41236 -2.718859)', '2026-07-17 14:04:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412326 -2.718838)'), GeomFromEWKT('SRID=4674;POINT (-40.41236 -2.718859)'))) / (select extract(epoch from '2026-07-17 14:04:00'::timestamp) - extract(epoch from '2026-07-17 14:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412326 -2.718838)'), GeomFromEWKT('SRID=4674;POINT (-40.41236 -2.718859)'))) / (select extract(epoch from '2026-07-17 14:04:00'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.412396 -2.718868)', '2026-07-17 14:04:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41236 -2.718859)'), GeomFromEWKT('SRID=4674;POINT (-40.412396 -2.718868)'))) / (select extract(epoch from '2026-07-17 14:04:08'::timestamp) - extract(epoch from '2026-07-17 14:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41236 -2.718859)'), GeomFromEWKT('SRID=4674;POINT (-40.412396 -2.718868)'))) / (select extract(epoch from '2026-07-17 14:04:08'::timestamp) - extract(epoch from '2026-07-17 14:04: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'), 47831, 'SRID=4674;POINT (-40.412423 -2.718886)', '2026-07-17 14:04:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412396 -2.718868)'), GeomFromEWKT('SRID=4674;POINT (-40.412423 -2.718886)'))) / (select extract(epoch from '2026-07-17 14:04:15'::timestamp) - extract(epoch from '2026-07-17 14:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412396 -2.718868)'), GeomFromEWKT('SRID=4674;POINT (-40.412423 -2.718886)'))) / (select extract(epoch from '2026-07-17 14:04:15'::timestamp) - extract(epoch from '2026-07-17 14:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412447 -2.718901)', '2026-07-17 14:04:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412423 -2.718886)'), GeomFromEWKT('SRID=4674;POINT (-40.412447 -2.718901)'))) / (select extract(epoch from '2026-07-17 14:04:22'::timestamp) - extract(epoch from '2026-07-17 14:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412423 -2.718886)'), GeomFromEWKT('SRID=4674;POINT (-40.412447 -2.718901)'))) / (select extract(epoch from '2026-07-17 14:04:22'::timestamp) - extract(epoch from '2026-07-17 14:04: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'), 47831, 'SRID=4674;POINT (-40.412494 -2.718906)', '2026-07-17 14:04:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412447 -2.718901)'), GeomFromEWKT('SRID=4674;POINT (-40.412494 -2.718906)'))) / (select extract(epoch from '2026-07-17 14:04:32'::timestamp) - extract(epoch from '2026-07-17 14:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412447 -2.718901)'), GeomFromEWKT('SRID=4674;POINT (-40.412494 -2.718906)'))) / (select extract(epoch from '2026-07-17 14:04:32'::timestamp) - extract(epoch from '2026-07-17 14:04: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'), 47831, 'SRID=4674;POINT (-40.412561 -2.718844)', '2026-07-17 14:04:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412494 -2.718906)'), GeomFromEWKT('SRID=4674;POINT (-40.412561 -2.718844)'))) / (select extract(epoch from '2026-07-17 14:04:43'::timestamp) - extract(epoch from '2026-07-17 14:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412494 -2.718906)'), GeomFromEWKT('SRID=4674;POINT (-40.412561 -2.718844)'))) / (select extract(epoch from '2026-07-17 14:04:43'::timestamp) - extract(epoch from '2026-07-17 14:04:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412561 -2.718761)', '2026-07-17 14:04:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412561 -2.718844)'), GeomFromEWKT('SRID=4674;POINT (-40.412561 -2.718761)'))) / (select extract(epoch from '2026-07-17 14:04:51'::timestamp) - extract(epoch from '2026-07-17 14:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412561 -2.718844)'), GeomFromEWKT('SRID=4674;POINT (-40.412561 -2.718761)'))) / (select extract(epoch from '2026-07-17 14:04:51'::timestamp) - extract(epoch from '2026-07-17 14:04: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'), 47831, 'SRID=4674;POINT (-40.412545 -2.718734)', '2026-07-17 14:04:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412561 -2.718761)'), GeomFromEWKT('SRID=4674;POINT (-40.412545 -2.718734)'))) / (select extract(epoch from '2026-07-17 14:04:54'::timestamp) - extract(epoch from '2026-07-17 14:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412561 -2.718761)'), GeomFromEWKT('SRID=4674;POINT (-40.412545 -2.718734)'))) / (select extract(epoch from '2026-07-17 14:04:54'::timestamp) - extract(epoch from '2026-07-17 14:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412515 -2.718711)', '2026-07-17 14:04:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412545 -2.718734)'), GeomFromEWKT('SRID=4674;POINT (-40.412515 -2.718711)'))) / (select extract(epoch from '2026-07-17 14:04:57'::timestamp) - extract(epoch from '2026-07-17 14:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412545 -2.718734)'), GeomFromEWKT('SRID=4674;POINT (-40.412515 -2.718711)'))) / (select extract(epoch from '2026-07-17 14:04:57'::timestamp) - extract(epoch from '2026-07-17 14:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412451 -2.718697)', '2026-07-17 14:05:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412515 -2.718711)'), GeomFromEWKT('SRID=4674;POINT (-40.412451 -2.718697)'))) / (select extract(epoch from '2026-07-17 14:05:02'::timestamp) - extract(epoch from '2026-07-17 14:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412515 -2.718711)'), GeomFromEWKT('SRID=4674;POINT (-40.412451 -2.718697)'))) / (select extract(epoch from '2026-07-17 14:05:02'::timestamp) - extract(epoch from '2026-07-17 14:04: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'), 47831, 'SRID=4674;POINT (-40.412421 -2.71874)', '2026-07-17 14:05:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412451 -2.718697)'), GeomFromEWKT('SRID=4674;POINT (-40.412421 -2.71874)'))) / (select extract(epoch from '2026-07-17 14:05:07'::timestamp) - extract(epoch from '2026-07-17 14:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412451 -2.718697)'), GeomFromEWKT('SRID=4674;POINT (-40.412421 -2.71874)'))) / (select extract(epoch from '2026-07-17 14:05:07'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.412382 -2.718859)', '2026-07-17 14:05:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412421 -2.71874)'), GeomFromEWKT('SRID=4674;POINT (-40.412382 -2.718859)'))) / (select extract(epoch from '2026-07-17 14:05:13'::timestamp) - extract(epoch from '2026-07-17 14:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412421 -2.71874)'), GeomFromEWKT('SRID=4674;POINT (-40.412382 -2.718859)'))) / (select extract(epoch from '2026-07-17 14:05:13'::timestamp) - extract(epoch from '2026-07-17 14:05: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'), 47831, 'SRID=4674;POINT (-40.412332 -2.718974)', '2026-07-17 14:05:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412382 -2.718859)'), GeomFromEWKT('SRID=4674;POINT (-40.412332 -2.718974)'))) / (select extract(epoch from '2026-07-17 14:05:19'::timestamp) - extract(epoch from '2026-07-17 14:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412382 -2.718859)'), GeomFromEWKT('SRID=4674;POINT (-40.412332 -2.718974)'))) / (select extract(epoch from '2026-07-17 14:05:19'::timestamp) - extract(epoch from '2026-07-17 14:05: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'), 47831, 'SRID=4674;POINT (-40.412231 -2.719139)', '2026-07-17 14:05:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412332 -2.718974)'), GeomFromEWKT('SRID=4674;POINT (-40.412231 -2.719139)'))) / (select extract(epoch from '2026-07-17 14:05:27'::timestamp) - extract(epoch from '2026-07-17 14:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412332 -2.718974)'), GeomFromEWKT('SRID=4674;POINT (-40.412231 -2.719139)'))) / (select extract(epoch from '2026-07-17 14:05:27'::timestamp) - extract(epoch from '2026-07-17 14:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412142 -2.71927)', '2026-07-17 14:05:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412231 -2.719139)'), GeomFromEWKT('SRID=4674;POINT (-40.412142 -2.71927)'))) / (select extract(epoch from '2026-07-17 14:05:34'::timestamp) - extract(epoch from '2026-07-17 14:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412231 -2.719139)'), GeomFromEWKT('SRID=4674;POINT (-40.412142 -2.71927)'))) / (select extract(epoch from '2026-07-17 14:05:34'::timestamp) - extract(epoch from '2026-07-17 14:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412079 -2.719374)', '2026-07-17 14:05:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412142 -2.71927)'), GeomFromEWKT('SRID=4674;POINT (-40.412079 -2.719374)'))) / (select extract(epoch from '2026-07-17 14:05:39'::timestamp) - extract(epoch from '2026-07-17 14:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412142 -2.71927)'), GeomFromEWKT('SRID=4674;POINT (-40.412079 -2.719374)'))) / (select extract(epoch from '2026-07-17 14:05:39'::timestamp) - extract(epoch from '2026-07-17 14:05: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'), 47831, 'SRID=4674;POINT (-40.411969 -2.719516)', '2026-07-17 14:05:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412079 -2.719374)'), GeomFromEWKT('SRID=4674;POINT (-40.411969 -2.719516)'))) / (select extract(epoch from '2026-07-17 14:05:47'::timestamp) - extract(epoch from '2026-07-17 14:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412079 -2.719374)'), GeomFromEWKT('SRID=4674;POINT (-40.411969 -2.719516)'))) / (select extract(epoch from '2026-07-17 14:05:47'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.411867 -2.719653)', '2026-07-17 14:05:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411969 -2.719516)'), GeomFromEWKT('SRID=4674;POINT (-40.411867 -2.719653)'))) / (select extract(epoch from '2026-07-17 14:05:54'::timestamp) - extract(epoch from '2026-07-17 14:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411969 -2.719516)'), GeomFromEWKT('SRID=4674;POINT (-40.411867 -2.719653)'))) / (select extract(epoch from '2026-07-17 14:05:54'::timestamp) - extract(epoch from '2026-07-17 14:05: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'), 47831, 'SRID=4674;POINT (-40.411799 -2.719754)', '2026-07-17 14:05:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411867 -2.719653)'), GeomFromEWKT('SRID=4674;POINT (-40.411799 -2.719754)'))) / (select extract(epoch from '2026-07-17 14:05:59'::timestamp) - extract(epoch from '2026-07-17 14:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411867 -2.719653)'), GeomFromEWKT('SRID=4674;POINT (-40.411799 -2.719754)'))) / (select extract(epoch from '2026-07-17 14:05:59'::timestamp) - extract(epoch from '2026-07-17 14:05: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'), 47831, 'SRID=4674;POINT (-40.41175 -2.719861)', '2026-07-17 14:06:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411799 -2.719754)'), GeomFromEWKT('SRID=4674;POINT (-40.41175 -2.719861)'))) / (select extract(epoch from '2026-07-17 14:06:04'::timestamp) - extract(epoch from '2026-07-17 14:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411799 -2.719754)'), GeomFromEWKT('SRID=4674;POINT (-40.41175 -2.719861)'))) / (select extract(epoch from '2026-07-17 14:06:04'::timestamp) - extract(epoch from '2026-07-17 14:05: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'), 47831, 'SRID=4674;POINT (-40.411704 -2.719985)', '2026-07-17 14:06:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41175 -2.719861)'), GeomFromEWKT('SRID=4674;POINT (-40.411704 -2.719985)'))) / (select extract(epoch from '2026-07-17 14:06:10'::timestamp) - extract(epoch from '2026-07-17 14:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41175 -2.719861)'), GeomFromEWKT('SRID=4674;POINT (-40.411704 -2.719985)'))) / (select extract(epoch from '2026-07-17 14:06:10'::timestamp) - extract(epoch from '2026-07-17 14:06:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411635 -2.720096)', '2026-07-17 14:06:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411704 -2.719985)'), GeomFromEWKT('SRID=4674;POINT (-40.411635 -2.720096)'))) / (select extract(epoch from '2026-07-17 14:06:16'::timestamp) - extract(epoch from '2026-07-17 14:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411704 -2.719985)'), GeomFromEWKT('SRID=4674;POINT (-40.411635 -2.720096)'))) / (select extract(epoch from '2026-07-17 14:06:16'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.411548 -2.720238)', '2026-07-17 14:06:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411635 -2.720096)'), GeomFromEWKT('SRID=4674;POINT (-40.411548 -2.720238)'))) / (select extract(epoch from '2026-07-17 14:06:23'::timestamp) - extract(epoch from '2026-07-17 14:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411635 -2.720096)'), GeomFromEWKT('SRID=4674;POINT (-40.411548 -2.720238)'))) / (select extract(epoch from '2026-07-17 14:06:23'::timestamp) - extract(epoch from '2026-07-17 14:06: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'), 47831, 'SRID=4674;POINT (-40.411479 -2.720329)', '2026-07-17 14:06:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411548 -2.720238)'), GeomFromEWKT('SRID=4674;POINT (-40.411479 -2.720329)'))) / (select extract(epoch from '2026-07-17 14:06:28'::timestamp) - extract(epoch from '2026-07-17 14:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411548 -2.720238)'), GeomFromEWKT('SRID=4674;POINT (-40.411479 -2.720329)'))) / (select extract(epoch from '2026-07-17 14:06:28'::timestamp) - extract(epoch from '2026-07-17 14:06: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'), 47831, 'SRID=4674;POINT (-40.411379 -2.720451)', '2026-07-17 14:06:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411479 -2.720329)'), GeomFromEWKT('SRID=4674;POINT (-40.411379 -2.720451)'))) / (select extract(epoch from '2026-07-17 14:06:35'::timestamp) - extract(epoch from '2026-07-17 14:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411479 -2.720329)'), GeomFromEWKT('SRID=4674;POINT (-40.411379 -2.720451)'))) / (select extract(epoch from '2026-07-17 14:06:35'::timestamp) - extract(epoch from '2026-07-17 14:06: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'), 47831, 'SRID=4674;POINT (-40.411285 -2.720531)', '2026-07-17 14:06:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411379 -2.720451)'), GeomFromEWKT('SRID=4674;POINT (-40.411285 -2.720531)'))) / (select extract(epoch from '2026-07-17 14:06:41'::timestamp) - extract(epoch from '2026-07-17 14:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411379 -2.720451)'), GeomFromEWKT('SRID=4674;POINT (-40.411285 -2.720531)'))) / (select extract(epoch from '2026-07-17 14:06:41'::timestamp) - extract(epoch from '2026-07-17 14:06: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'), 47831, 'SRID=4674;POINT (-40.411186 -2.72059)', '2026-07-17 14:06:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411285 -2.720531)'), GeomFromEWKT('SRID=4674;POINT (-40.411186 -2.72059)'))) / (select extract(epoch from '2026-07-17 14:06:47'::timestamp) - extract(epoch from '2026-07-17 14:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411285 -2.720531)'), GeomFromEWKT('SRID=4674;POINT (-40.411186 -2.72059)'))) / (select extract(epoch from '2026-07-17 14:06:47'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.411073 -2.720667)', '2026-07-17 14:06:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411186 -2.72059)'), GeomFromEWKT('SRID=4674;POINT (-40.411073 -2.720667)'))) / (select extract(epoch from '2026-07-17 14:06:53'::timestamp) - extract(epoch from '2026-07-17 14:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411186 -2.72059)'), GeomFromEWKT('SRID=4674;POINT (-40.411073 -2.720667)'))) / (select extract(epoch from '2026-07-17 14:06:53'::timestamp) - extract(epoch from '2026-07-17 14:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411001 -2.720802)', '2026-07-17 14:07:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411073 -2.720667)'), GeomFromEWKT('SRID=4674;POINT (-40.411001 -2.720802)'))) / (select extract(epoch from '2026-07-17 14:07:00'::timestamp) - extract(epoch from '2026-07-17 14:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411073 -2.720667)'), GeomFromEWKT('SRID=4674;POINT (-40.411001 -2.720802)'))) / (select extract(epoch from '2026-07-17 14:07:00'::timestamp) - extract(epoch from '2026-07-17 14:06: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'), 47831, 'SRID=4674;POINT (-40.410903 -2.720945)', '2026-07-17 14:07:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411001 -2.720802)'), GeomFromEWKT('SRID=4674;POINT (-40.410903 -2.720945)'))) / (select extract(epoch from '2026-07-17 14:07:07'::timestamp) - extract(epoch from '2026-07-17 14:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411001 -2.720802)'), GeomFromEWKT('SRID=4674;POINT (-40.410903 -2.720945)'))) / (select extract(epoch from '2026-07-17 14:07:07'::timestamp) - extract(epoch from '2026-07-17 14:07: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'), 47831, 'SRID=4674;POINT (-40.410804 -2.721076)', '2026-07-17 14:07:14', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410903 -2.720945)'), GeomFromEWKT('SRID=4674;POINT (-40.410804 -2.721076)'))) / (select extract(epoch from '2026-07-17 14:07:14'::timestamp) - extract(epoch from '2026-07-17 14:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410903 -2.720945)'), GeomFromEWKT('SRID=4674;POINT (-40.410804 -2.721076)'))) / (select extract(epoch from '2026-07-17 14:07:14'::timestamp) - extract(epoch from '2026-07-17 14:07: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'), 47831, 'SRID=4674;POINT (-40.41069 -2.721224)', '2026-07-17 14:07:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410804 -2.721076)'), GeomFromEWKT('SRID=4674;POINT (-40.41069 -2.721224)'))) / (select extract(epoch from '2026-07-17 14:07:22'::timestamp) - extract(epoch from '2026-07-17 14:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410804 -2.721076)'), GeomFromEWKT('SRID=4674;POINT (-40.41069 -2.721224)'))) / (select extract(epoch from '2026-07-17 14:07:22'::timestamp) - extract(epoch from '2026-07-17 14:07: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'), 47831, 'SRID=4674;POINT (-40.410614 -2.721344)', '2026-07-17 14:07:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41069 -2.721224)'), GeomFromEWKT('SRID=4674;POINT (-40.410614 -2.721344)'))) / (select extract(epoch from '2026-07-17 14:07:28'::timestamp) - extract(epoch from '2026-07-17 14:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41069 -2.721224)'), GeomFromEWKT('SRID=4674;POINT (-40.410614 -2.721344)'))) / (select extract(epoch from '2026-07-17 14:07:28'::timestamp) - extract(epoch from '2026-07-17 14:07: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'), 47831, 'SRID=4674;POINT (-40.410536 -2.721474)', '2026-07-17 14:07:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410614 -2.721344)'), GeomFromEWKT('SRID=4674;POINT (-40.410536 -2.721474)'))) / (select extract(epoch from '2026-07-17 14:07:35'::timestamp) - extract(epoch from '2026-07-17 14:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410614 -2.721344)'), GeomFromEWKT('SRID=4674;POINT (-40.410536 -2.721474)'))) / (select extract(epoch from '2026-07-17 14:07:35'::timestamp) - extract(epoch from '2026-07-17 14:07: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'), 47831, 'SRID=4674;POINT (-40.410462 -2.721602)', '2026-07-17 14:07:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410536 -2.721474)'), GeomFromEWKT('SRID=4674;POINT (-40.410462 -2.721602)'))) / (select extract(epoch from '2026-07-17 14:07:42'::timestamp) - extract(epoch from '2026-07-17 14:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410536 -2.721474)'), GeomFromEWKT('SRID=4674;POINT (-40.410462 -2.721602)'))) / (select extract(epoch from '2026-07-17 14:07:42'::timestamp) - extract(epoch from '2026-07-17 14:07: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'), 47831, 'SRID=4674;POINT (-40.410382 -2.72173)', '2026-07-17 14:07:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410462 -2.721602)'), GeomFromEWKT('SRID=4674;POINT (-40.410382 -2.72173)'))) / (select extract(epoch from '2026-07-17 14:07:49'::timestamp) - extract(epoch from '2026-07-17 14:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410462 -2.721602)'), GeomFromEWKT('SRID=4674;POINT (-40.410382 -2.72173)'))) / (select extract(epoch from '2026-07-17 14:07:49'::timestamp) - extract(epoch from '2026-07-17 14:07: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'), 47831, 'SRID=4674;POINT (-40.410292 -2.721839)', '2026-07-17 14:07:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410382 -2.72173)'), GeomFromEWKT('SRID=4674;POINT (-40.410292 -2.721839)'))) / (select extract(epoch from '2026-07-17 14:07:55'::timestamp) - extract(epoch from '2026-07-17 14:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410382 -2.72173)'), GeomFromEWKT('SRID=4674;POINT (-40.410292 -2.721839)'))) / (select extract(epoch from '2026-07-17 14:07:55'::timestamp) - extract(epoch from '2026-07-17 14:07: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'), 47831, 'SRID=4674;POINT (-40.410222 -2.721959)', '2026-07-17 14:08:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410292 -2.721839)'), GeomFromEWKT('SRID=4674;POINT (-40.410222 -2.721959)'))) / (select extract(epoch from '2026-07-17 14:08:01'::timestamp) - extract(epoch from '2026-07-17 14:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410292 -2.721839)'), GeomFromEWKT('SRID=4674;POINT (-40.410222 -2.721959)'))) / (select extract(epoch from '2026-07-17 14:08:01'::timestamp) - extract(epoch from '2026-07-17 14:07:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410205 -2.722003)', '2026-07-17 14:08:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410222 -2.721959)'), GeomFromEWKT('SRID=4674;POINT (-40.410205 -2.722003)'))) / (select extract(epoch from '2026-07-17 14:08:03'::timestamp) - extract(epoch from '2026-07-17 14:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410222 -2.721959)'), GeomFromEWKT('SRID=4674;POINT (-40.410205 -2.722003)'))) / (select extract(epoch from '2026-07-17 14:08:03'::timestamp) - extract(epoch from '2026-07-17 14:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410201 -2.72205)', '2026-07-17 14:08:05', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410205 -2.722003)'), GeomFromEWKT('SRID=4674;POINT (-40.410201 -2.72205)'))) / (select extract(epoch from '2026-07-17 14:08:05'::timestamp) - extract(epoch from '2026-07-17 14:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410205 -2.722003)'), GeomFromEWKT('SRID=4674;POINT (-40.410201 -2.72205)'))) / (select extract(epoch from '2026-07-17 14:08:05'::timestamp) - extract(epoch from '2026-07-17 14:08: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'), 47831, 'SRID=4674;POINT (-40.410132 -2.72217)', '2026-07-17 14:08:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410201 -2.72205)'), GeomFromEWKT('SRID=4674;POINT (-40.410132 -2.72217)'))) / (select extract(epoch from '2026-07-17 14:08:12'::timestamp) - extract(epoch from '2026-07-17 14:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410201 -2.72205)'), GeomFromEWKT('SRID=4674;POINT (-40.410132 -2.72217)'))) / (select extract(epoch from '2026-07-17 14:08:12'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.410027 -2.722303)', '2026-07-17 14:08:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410132 -2.72217)'), GeomFromEWKT('SRID=4674;POINT (-40.410027 -2.722303)'))) / (select extract(epoch from '2026-07-17 14:08:20'::timestamp) - extract(epoch from '2026-07-17 14:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410132 -2.72217)'), GeomFromEWKT('SRID=4674;POINT (-40.410027 -2.722303)'))) / (select extract(epoch from '2026-07-17 14:08:20'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.409969 -2.722395)', '2026-07-17 14:08:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410027 -2.722303)'), GeomFromEWKT('SRID=4674;POINT (-40.409969 -2.722395)'))) / (select extract(epoch from '2026-07-17 14:08:25'::timestamp) - extract(epoch from '2026-07-17 14:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410027 -2.722303)'), GeomFromEWKT('SRID=4674;POINT (-40.409969 -2.722395)'))) / (select extract(epoch from '2026-07-17 14:08:25'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.40988 -2.722517)', '2026-07-17 14:08:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409969 -2.722395)'), GeomFromEWKT('SRID=4674;POINT (-40.40988 -2.722517)'))) / (select extract(epoch from '2026-07-17 14:08:32'::timestamp) - extract(epoch from '2026-07-17 14:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409969 -2.722395)'), GeomFromEWKT('SRID=4674;POINT (-40.40988 -2.722517)'))) / (select extract(epoch from '2026-07-17 14:08:32'::timestamp) - extract(epoch from '2026-07-17 14:08: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'), 47831, 'SRID=4674;POINT (-40.40985 -2.722553)', '2026-07-17 14:08:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40988 -2.722517)'), GeomFromEWKT('SRID=4674;POINT (-40.40985 -2.722553)'))) / (select extract(epoch from '2026-07-17 14:08:34'::timestamp) - extract(epoch from '2026-07-17 14:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40988 -2.722517)'), GeomFromEWKT('SRID=4674;POINT (-40.40985 -2.722553)'))) / (select extract(epoch from '2026-07-17 14:08:34'::timestamp) - extract(epoch from '2026-07-17 14:08: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'), 47831, 'SRID=4674;POINT (-40.409813 -2.722614)', '2026-07-17 14:08:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40985 -2.722553)'), GeomFromEWKT('SRID=4674;POINT (-40.409813 -2.722614)'))) / (select extract(epoch from '2026-07-17 14:08:37'::timestamp) - extract(epoch from '2026-07-17 14:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40985 -2.722553)'), GeomFromEWKT('SRID=4674;POINT (-40.409813 -2.722614)'))) / (select extract(epoch from '2026-07-17 14:08:37'::timestamp) - extract(epoch from '2026-07-17 14:08: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'), 47831, 'SRID=4674;POINT (-40.409762 -2.722717)', '2026-07-17 14:08:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409813 -2.722614)'), GeomFromEWKT('SRID=4674;POINT (-40.409762 -2.722717)'))) / (select extract(epoch from '2026-07-17 14:08:42'::timestamp) - extract(epoch from '2026-07-17 14:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409813 -2.722614)'), GeomFromEWKT('SRID=4674;POINT (-40.409762 -2.722717)'))) / (select extract(epoch from '2026-07-17 14:08:42'::timestamp) - extract(epoch from '2026-07-17 14:08: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'), 47831, 'SRID=4674;POINT (-40.409703 -2.722834)', '2026-07-17 14:08:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409762 -2.722717)'), GeomFromEWKT('SRID=4674;POINT (-40.409703 -2.722834)'))) / (select extract(epoch from '2026-07-17 14:08:48'::timestamp) - extract(epoch from '2026-07-17 14:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409762 -2.722717)'), GeomFromEWKT('SRID=4674;POINT (-40.409703 -2.722834)'))) / (select extract(epoch from '2026-07-17 14:08:48'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.40962 -2.722979)', '2026-07-17 14:08:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409703 -2.722834)'), GeomFromEWKT('SRID=4674;POINT (-40.40962 -2.722979)'))) / (select extract(epoch from '2026-07-17 14:08:55'::timestamp) - extract(epoch from '2026-07-17 14:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409703 -2.722834)'), GeomFromEWKT('SRID=4674;POINT (-40.40962 -2.722979)'))) / (select extract(epoch from '2026-07-17 14:08:55'::timestamp) - extract(epoch from '2026-07-17 14:08: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'), 47831, 'SRID=4674;POINT (-40.40955 -2.7231)', '2026-07-17 14:09:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40962 -2.722979)'), GeomFromEWKT('SRID=4674;POINT (-40.40955 -2.7231)'))) / (select extract(epoch from '2026-07-17 14:09:01'::timestamp) - extract(epoch from '2026-07-17 14:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40962 -2.722979)'), GeomFromEWKT('SRID=4674;POINT (-40.40955 -2.7231)'))) / (select extract(epoch from '2026-07-17 14:09:01'::timestamp) - extract(epoch from '2026-07-17 14:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409478 -2.723196)', '2026-07-17 14:09:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40955 -2.7231)'), GeomFromEWKT('SRID=4674;POINT (-40.409478 -2.723196)'))) / (select extract(epoch from '2026-07-17 14:09:07'::timestamp) - extract(epoch from '2026-07-17 14:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40955 -2.7231)'), GeomFromEWKT('SRID=4674;POINT (-40.409478 -2.723196)'))) / (select extract(epoch from '2026-07-17 14:09:07'::timestamp) - extract(epoch from '2026-07-17 14:09: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'), 47831, 'SRID=4674;POINT (-40.409423 -2.72326)', '2026-07-17 14:09:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409478 -2.723196)'), GeomFromEWKT('SRID=4674;POINT (-40.409423 -2.72326)'))) / (select extract(epoch from '2026-07-17 14:09:11'::timestamp) - extract(epoch from '2026-07-17 14:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409478 -2.723196)'), GeomFromEWKT('SRID=4674;POINT (-40.409423 -2.72326)'))) / (select extract(epoch from '2026-07-17 14:09:11'::timestamp) - extract(epoch from '2026-07-17 14:09:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.4094 -2.723302)', '2026-07-17 14:09:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409423 -2.72326)'), GeomFromEWKT('SRID=4674;POINT (-40.4094 -2.723302)'))) / (select extract(epoch from '2026-07-17 14:09:13'::timestamp) - extract(epoch from '2026-07-17 14:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409423 -2.72326)'), GeomFromEWKT('SRID=4674;POINT (-40.4094 -2.723302)'))) / (select extract(epoch from '2026-07-17 14:09:13'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.409331 -2.723416)', '2026-07-17 14:09:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4094 -2.723302)'), GeomFromEWKT('SRID=4674;POINT (-40.409331 -2.723416)'))) / (select extract(epoch from '2026-07-17 14:09:19'::timestamp) - extract(epoch from '2026-07-17 14:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4094 -2.723302)'), GeomFromEWKT('SRID=4674;POINT (-40.409331 -2.723416)'))) / (select extract(epoch from '2026-07-17 14:09:19'::timestamp) - extract(epoch from '2026-07-17 14:09: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'), 47831, 'SRID=4674;POINT (-40.409287 -2.723536)', '2026-07-17 14:09:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409331 -2.723416)'), GeomFromEWKT('SRID=4674;POINT (-40.409287 -2.723536)'))) / (select extract(epoch from '2026-07-17 14:09:25'::timestamp) - extract(epoch from '2026-07-17 14:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409331 -2.723416)'), GeomFromEWKT('SRID=4674;POINT (-40.409287 -2.723536)'))) / (select extract(epoch from '2026-07-17 14:09:25'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.409228 -2.723659)', '2026-07-17 14:09:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409287 -2.723536)'), GeomFromEWKT('SRID=4674;POINT (-40.409228 -2.723659)'))) / (select extract(epoch from '2026-07-17 14:09:31'::timestamp) - extract(epoch from '2026-07-17 14:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409287 -2.723536)'), GeomFromEWKT('SRID=4674;POINT (-40.409228 -2.723659)'))) / (select extract(epoch from '2026-07-17 14:09:31'::timestamp) - extract(epoch from '2026-07-17 14:09: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'), 47831, 'SRID=4674;POINT (-40.409169 -2.723773)', '2026-07-17 14:09:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409228 -2.723659)'), GeomFromEWKT('SRID=4674;POINT (-40.409169 -2.723773)'))) / (select extract(epoch from '2026-07-17 14:09:37'::timestamp) - extract(epoch from '2026-07-17 14:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409228 -2.723659)'), GeomFromEWKT('SRID=4674;POINT (-40.409169 -2.723773)'))) / (select extract(epoch from '2026-07-17 14:09:37'::timestamp) - extract(epoch from '2026-07-17 14:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409121 -2.723874)', '2026-07-17 14:09:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409169 -2.723773)'), GeomFromEWKT('SRID=4674;POINT (-40.409121 -2.723874)'))) / (select extract(epoch from '2026-07-17 14:09:42'::timestamp) - extract(epoch from '2026-07-17 14:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409169 -2.723773)'), GeomFromEWKT('SRID=4674;POINT (-40.409121 -2.723874)'))) / (select extract(epoch from '2026-07-17 14:09:42'::timestamp) - extract(epoch from '2026-07-17 14:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409064 -2.724022)', '2026-07-17 14:09:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409121 -2.723874)'), GeomFromEWKT('SRID=4674;POINT (-40.409064 -2.724022)'))) / (select extract(epoch from '2026-07-17 14:09:49'::timestamp) - extract(epoch from '2026-07-17 14:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409121 -2.723874)'), GeomFromEWKT('SRID=4674;POINT (-40.409064 -2.724022)'))) / (select extract(epoch from '2026-07-17 14:09:49'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.409022 -2.724127)', '2026-07-17 14:09:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409064 -2.724022)'), GeomFromEWKT('SRID=4674;POINT (-40.409022 -2.724127)'))) / (select extract(epoch from '2026-07-17 14:09:54'::timestamp) - extract(epoch from '2026-07-17 14:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409064 -2.724022)'), GeomFromEWKT('SRID=4674;POINT (-40.409022 -2.724127)'))) / (select extract(epoch from '2026-07-17 14:09:54'::timestamp) - extract(epoch from '2026-07-17 14:09: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'), 47831, 'SRID=4674;POINT (-40.408965 -2.724267)', '2026-07-17 14:10:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409022 -2.724127)'), GeomFromEWKT('SRID=4674;POINT (-40.408965 -2.724267)'))) / (select extract(epoch from '2026-07-17 14:10:00'::timestamp) - extract(epoch from '2026-07-17 14:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409022 -2.724127)'), GeomFromEWKT('SRID=4674;POINT (-40.408965 -2.724267)'))) / (select extract(epoch from '2026-07-17 14:10:00'::timestamp) - extract(epoch from '2026-07-17 14:09: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'), 47831, 'SRID=4674;POINT (-40.408911 -2.724402)', '2026-07-17 14:10:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408965 -2.724267)'), GeomFromEWKT('SRID=4674;POINT (-40.408911 -2.724402)'))) / (select extract(epoch from '2026-07-17 14:10:06'::timestamp) - extract(epoch from '2026-07-17 14:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408965 -2.724267)'), GeomFromEWKT('SRID=4674;POINT (-40.408911 -2.724402)'))) / (select extract(epoch from '2026-07-17 14:10:06'::timestamp) - extract(epoch from '2026-07-17 14:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408852 -2.724561)', '2026-07-17 14:10:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408911 -2.724402)'), GeomFromEWKT('SRID=4674;POINT (-40.408852 -2.724561)'))) / (select extract(epoch from '2026-07-17 14:10:13'::timestamp) - extract(epoch from '2026-07-17 14:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408911 -2.724402)'), GeomFromEWKT('SRID=4674;POINT (-40.408852 -2.724561)'))) / (select extract(epoch from '2026-07-17 14:10:13'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.408798 -2.724698)', '2026-07-17 14:10:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408852 -2.724561)'), GeomFromEWKT('SRID=4674;POINT (-40.408798 -2.724698)'))) / (select extract(epoch from '2026-07-17 14:10:19'::timestamp) - extract(epoch from '2026-07-17 14:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408852 -2.724561)'), GeomFromEWKT('SRID=4674;POINT (-40.408798 -2.724698)'))) / (select extract(epoch from '2026-07-17 14:10:19'::timestamp) - extract(epoch from '2026-07-17 14:10: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'), 47831, 'SRID=4674;POINT (-40.408747 -2.724831)', '2026-07-17 14:10:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408798 -2.724698)'), GeomFromEWKT('SRID=4674;POINT (-40.408747 -2.724831)'))) / (select extract(epoch from '2026-07-17 14:10:25'::timestamp) - extract(epoch from '2026-07-17 14:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408798 -2.724698)'), GeomFromEWKT('SRID=4674;POINT (-40.408747 -2.724831)'))) / (select extract(epoch from '2026-07-17 14:10:25'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.408666 -2.724963)', '2026-07-17 14:10:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408747 -2.724831)'), GeomFromEWKT('SRID=4674;POINT (-40.408666 -2.724963)'))) / (select extract(epoch from '2026-07-17 14:10:32'::timestamp) - extract(epoch from '2026-07-17 14:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408747 -2.724831)'), GeomFromEWKT('SRID=4674;POINT (-40.408666 -2.724963)'))) / (select extract(epoch from '2026-07-17 14:10:32'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.408566 -2.725062)', '2026-07-17 14:10:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408666 -2.724963)'), GeomFromEWKT('SRID=4674;POINT (-40.408566 -2.725062)'))) / (select extract(epoch from '2026-07-17 14:10:39'::timestamp) - extract(epoch from '2026-07-17 14:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408666 -2.724963)'), GeomFromEWKT('SRID=4674;POINT (-40.408566 -2.725062)'))) / (select extract(epoch from '2026-07-17 14:10:39'::timestamp) - extract(epoch from '2026-07-17 14:10: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'), 47831, 'SRID=4674;POINT (-40.408474 -2.725156)', '2026-07-17 14:10:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408566 -2.725062)'), GeomFromEWKT('SRID=4674;POINT (-40.408474 -2.725156)'))) / (select extract(epoch from '2026-07-17 14:10:45'::timestamp) - extract(epoch from '2026-07-17 14:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408566 -2.725062)'), GeomFromEWKT('SRID=4674;POINT (-40.408474 -2.725156)'))) / (select extract(epoch from '2026-07-17 14:10:45'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.408373 -2.725279)', '2026-07-17 14:10:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408474 -2.725156)'), GeomFromEWKT('SRID=4674;POINT (-40.408373 -2.725279)'))) / (select extract(epoch from '2026-07-17 14:10:52'::timestamp) - extract(epoch from '2026-07-17 14:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408474 -2.725156)'), GeomFromEWKT('SRID=4674;POINT (-40.408373 -2.725279)'))) / (select extract(epoch from '2026-07-17 14:10:52'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.408313 -2.72538)', '2026-07-17 14:10:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408373 -2.725279)'), GeomFromEWKT('SRID=4674;POINT (-40.408313 -2.72538)'))) / (select extract(epoch from '2026-07-17 14:10:57'::timestamp) - extract(epoch from '2026-07-17 14:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408373 -2.725279)'), GeomFromEWKT('SRID=4674;POINT (-40.408313 -2.72538)'))) / (select extract(epoch from '2026-07-17 14:10:57'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.408245 -2.725529)', '2026-07-17 14:11:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408313 -2.72538)'), GeomFromEWKT('SRID=4674;POINT (-40.408245 -2.725529)'))) / (select extract(epoch from '2026-07-17 14:11:04'::timestamp) - extract(epoch from '2026-07-17 14:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408313 -2.72538)'), GeomFromEWKT('SRID=4674;POINT (-40.408245 -2.725529)'))) / (select extract(epoch from '2026-07-17 14:11:04'::timestamp) - extract(epoch from '2026-07-17 14:10: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'), 47831, 'SRID=4674;POINT (-40.408167 -2.725675)', '2026-07-17 14:11:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408245 -2.725529)'), GeomFromEWKT('SRID=4674;POINT (-40.408167 -2.725675)'))) / (select extract(epoch from '2026-07-17 14:11:11'::timestamp) - extract(epoch from '2026-07-17 14:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408245 -2.725529)'), GeomFromEWKT('SRID=4674;POINT (-40.408167 -2.725675)'))) / (select extract(epoch from '2026-07-17 14:11:11'::timestamp) - extract(epoch from '2026-07-17 14:11: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'), 47831, 'SRID=4674;POINT (-40.408108 -2.725769)', '2026-07-17 14:11:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408167 -2.725675)'), GeomFromEWKT('SRID=4674;POINT (-40.408108 -2.725769)'))) / (select extract(epoch from '2026-07-17 14:11:16'::timestamp) - extract(epoch from '2026-07-17 14:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408167 -2.725675)'), GeomFromEWKT('SRID=4674;POINT (-40.408108 -2.725769)'))) / (select extract(epoch from '2026-07-17 14:11:16'::timestamp) - extract(epoch from '2026-07-17 14:11: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'), 47831, 'SRID=4674;POINT (-40.408019 -2.725897)', '2026-07-17 14:11:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408108 -2.725769)'), GeomFromEWKT('SRID=4674;POINT (-40.408019 -2.725897)'))) / (select extract(epoch from '2026-07-17 14:11:23'::timestamp) - extract(epoch from '2026-07-17 14:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408108 -2.725769)'), GeomFromEWKT('SRID=4674;POINT (-40.408019 -2.725897)'))) / (select extract(epoch from '2026-07-17 14:11:23'::timestamp) - extract(epoch from '2026-07-17 14:11: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'), 47831, 'SRID=4674;POINT (-40.407933 -2.726017)', '2026-07-17 14:11:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408019 -2.725897)'), GeomFromEWKT('SRID=4674;POINT (-40.407933 -2.726017)'))) / (select extract(epoch from '2026-07-17 14:11:30'::timestamp) - extract(epoch from '2026-07-17 14:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408019 -2.725897)'), GeomFromEWKT('SRID=4674;POINT (-40.407933 -2.726017)'))) / (select extract(epoch from '2026-07-17 14:11:30'::timestamp) - extract(epoch from '2026-07-17 14:11: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'), 47831, 'SRID=4674;POINT (-40.40786 -2.726137)', '2026-07-17 14:11:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407933 -2.726017)'), GeomFromEWKT('SRID=4674;POINT (-40.40786 -2.726137)'))) / (select extract(epoch from '2026-07-17 14:11:37'::timestamp) - extract(epoch from '2026-07-17 14:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407933 -2.726017)'), GeomFromEWKT('SRID=4674;POINT (-40.40786 -2.726137)'))) / (select extract(epoch from '2026-07-17 14:11:37'::timestamp) - extract(epoch from '2026-07-17 14:11: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'), 47831, 'SRID=4674;POINT (-40.407789 -2.726247)', '2026-07-17 14:11:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40786 -2.726137)'), GeomFromEWKT('SRID=4674;POINT (-40.407789 -2.726247)'))) / (select extract(epoch from '2026-07-17 14:11:43'::timestamp) - extract(epoch from '2026-07-17 14:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40786 -2.726137)'), GeomFromEWKT('SRID=4674;POINT (-40.407789 -2.726247)'))) / (select extract(epoch from '2026-07-17 14:11:43'::timestamp) - extract(epoch from '2026-07-17 14:11: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'), 47831, 'SRID=4674;POINT (-40.407717 -2.726353)', '2026-07-17 14:11:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407789 -2.726247)'), GeomFromEWKT('SRID=4674;POINT (-40.407717 -2.726353)'))) / (select extract(epoch from '2026-07-17 14:11:49'::timestamp) - extract(epoch from '2026-07-17 14:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407789 -2.726247)'), GeomFromEWKT('SRID=4674;POINT (-40.407717 -2.726353)'))) / (select extract(epoch from '2026-07-17 14:11:49'::timestamp) - extract(epoch from '2026-07-17 14:11: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'), 47831, 'SRID=4674;POINT (-40.407617 -2.726476)', '2026-07-17 14:11:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407717 -2.726353)'), GeomFromEWKT('SRID=4674;POINT (-40.407617 -2.726476)'))) / (select extract(epoch from '2026-07-17 14:11:56'::timestamp) - extract(epoch from '2026-07-17 14:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407717 -2.726353)'), GeomFromEWKT('SRID=4674;POINT (-40.407617 -2.726476)'))) / (select extract(epoch from '2026-07-17 14:11:56'::timestamp) - extract(epoch from '2026-07-17 14:11: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'), 47831, 'SRID=4674;POINT (-40.407524 -2.726567)', '2026-07-17 14:12:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407617 -2.726476)'), GeomFromEWKT('SRID=4674;POINT (-40.407524 -2.726567)'))) / (select extract(epoch from '2026-07-17 14:12:02'::timestamp) - extract(epoch from '2026-07-17 14:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407617 -2.726476)'), GeomFromEWKT('SRID=4674;POINT (-40.407524 -2.726567)'))) / (select extract(epoch from '2026-07-17 14:12:02'::timestamp) - extract(epoch from '2026-07-17 14:11: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'), 47831, 'SRID=4674;POINT (-40.407439 -2.726656)', '2026-07-17 14:12:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407524 -2.726567)'), GeomFromEWKT('SRID=4674;POINT (-40.407439 -2.726656)'))) / (select extract(epoch from '2026-07-17 14:12:08'::timestamp) - extract(epoch from '2026-07-17 14:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407524 -2.726567)'), GeomFromEWKT('SRID=4674;POINT (-40.407439 -2.726656)'))) / (select extract(epoch from '2026-07-17 14:12:08'::timestamp) - extract(epoch from '2026-07-17 14:12: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'), 47831, 'SRID=4674;POINT (-40.407385 -2.726728)', '2026-07-17 14:12:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407439 -2.726656)'), GeomFromEWKT('SRID=4674;POINT (-40.407385 -2.726728)'))) / (select extract(epoch from '2026-07-17 14:12:13'::timestamp) - extract(epoch from '2026-07-17 14:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407439 -2.726656)'), GeomFromEWKT('SRID=4674;POINT (-40.407385 -2.726728)'))) / (select extract(epoch from '2026-07-17 14:12:13'::timestamp) - extract(epoch from '2026-07-17 14:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407311 -2.726828)', '2026-07-17 14:12:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407385 -2.726728)'), GeomFromEWKT('SRID=4674;POINT (-40.407311 -2.726828)'))) / (select extract(epoch from '2026-07-17 14:12:19'::timestamp) - extract(epoch from '2026-07-17 14:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407385 -2.726728)'), GeomFromEWKT('SRID=4674;POINT (-40.407311 -2.726828)'))) / (select extract(epoch from '2026-07-17 14:12:19'::timestamp) - extract(epoch from '2026-07-17 14:12: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'), 47831, 'SRID=4674;POINT (-40.407238 -2.726936)', '2026-07-17 14:12:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407311 -2.726828)'), GeomFromEWKT('SRID=4674;POINT (-40.407238 -2.726936)'))) / (select extract(epoch from '2026-07-17 14:12:25'::timestamp) - extract(epoch from '2026-07-17 14:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407311 -2.726828)'), GeomFromEWKT('SRID=4674;POINT (-40.407238 -2.726936)'))) / (select extract(epoch from '2026-07-17 14:12:25'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.407177 -2.727042)', '2026-07-17 14:12:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407238 -2.726936)'), GeomFromEWKT('SRID=4674;POINT (-40.407177 -2.727042)'))) / (select extract(epoch from '2026-07-17 14:12:30'::timestamp) - extract(epoch from '2026-07-17 14:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407238 -2.726936)'), GeomFromEWKT('SRID=4674;POINT (-40.407177 -2.727042)'))) / (select extract(epoch from '2026-07-17 14:12:30'::timestamp) - extract(epoch from '2026-07-17 14:12: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'), 47831, 'SRID=4674;POINT (-40.4071 -2.727186)', '2026-07-17 14:12:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407177 -2.727042)'), GeomFromEWKT('SRID=4674;POINT (-40.4071 -2.727186)'))) / (select extract(epoch from '2026-07-17 14:12:37'::timestamp) - extract(epoch from '2026-07-17 14:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407177 -2.727042)'), GeomFromEWKT('SRID=4674;POINT (-40.4071 -2.727186)'))) / (select extract(epoch from '2026-07-17 14:12:37'::timestamp) - extract(epoch from '2026-07-17 14:12: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'), 47831, 'SRID=4674;POINT (-40.407057 -2.727307)', '2026-07-17 14:12:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4071 -2.727186)'), GeomFromEWKT('SRID=4674;POINT (-40.407057 -2.727307)'))) / (select extract(epoch from '2026-07-17 14:12:42'::timestamp) - extract(epoch from '2026-07-17 14:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4071 -2.727186)'), GeomFromEWKT('SRID=4674;POINT (-40.407057 -2.727307)'))) / (select extract(epoch from '2026-07-17 14:12:42'::timestamp) - extract(epoch from '2026-07-17 14:12: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'), 47831, 'SRID=4674;POINT (-40.406987 -2.727457)', '2026-07-17 14:12:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407057 -2.727307)'), GeomFromEWKT('SRID=4674;POINT (-40.406987 -2.727457)'))) / (select extract(epoch from '2026-07-17 14:12:49'::timestamp) - extract(epoch from '2026-07-17 14:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407057 -2.727307)'), GeomFromEWKT('SRID=4674;POINT (-40.406987 -2.727457)'))) / (select extract(epoch from '2026-07-17 14:12:49'::timestamp) - extract(epoch from '2026-07-17 14:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40691 -2.727618)', '2026-07-17 14:12:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406987 -2.727457)'), GeomFromEWKT('SRID=4674;POINT (-40.40691 -2.727618)'))) / (select extract(epoch from '2026-07-17 14:12:56'::timestamp) - extract(epoch from '2026-07-17 14:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406987 -2.727457)'), GeomFromEWKT('SRID=4674;POINT (-40.40691 -2.727618)'))) / (select extract(epoch from '2026-07-17 14:12:56'::timestamp) - extract(epoch from '2026-07-17 14:12: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'), 47831, 'SRID=4674;POINT (-40.406829 -2.727764)', '2026-07-17 14:13:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40691 -2.727618)'), GeomFromEWKT('SRID=4674;POINT (-40.406829 -2.727764)'))) / (select extract(epoch from '2026-07-17 14:13:03'::timestamp) - extract(epoch from '2026-07-17 14:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40691 -2.727618)'), GeomFromEWKT('SRID=4674;POINT (-40.406829 -2.727764)'))) / (select extract(epoch from '2026-07-17 14:13:03'::timestamp) - extract(epoch from '2026-07-17 14:12: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'), 47831, 'SRID=4674;POINT (-40.406758 -2.727884)', '2026-07-17 14:13:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406829 -2.727764)'), GeomFromEWKT('SRID=4674;POINT (-40.406758 -2.727884)'))) / (select extract(epoch from '2026-07-17 14:13:09'::timestamp) - extract(epoch from '2026-07-17 14:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406829 -2.727764)'), GeomFromEWKT('SRID=4674;POINT (-40.406758 -2.727884)'))) / (select extract(epoch from '2026-07-17 14:13:09'::timestamp) - extract(epoch from '2026-07-17 14:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406696 -2.728018)', '2026-07-17 14:13:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406758 -2.727884)'), GeomFromEWKT('SRID=4674;POINT (-40.406696 -2.728018)'))) / (select extract(epoch from '2026-07-17 14:13:15'::timestamp) - extract(epoch from '2026-07-17 14:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406758 -2.727884)'), GeomFromEWKT('SRID=4674;POINT (-40.406696 -2.728018)'))) / (select extract(epoch from '2026-07-17 14:13:15'::timestamp) - extract(epoch from '2026-07-17 14:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406666 -2.728135)', '2026-07-17 14:13:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406696 -2.728018)'), GeomFromEWKT('SRID=4674;POINT (-40.406666 -2.728135)'))) / (select extract(epoch from '2026-07-17 14:13:20'::timestamp) - extract(epoch from '2026-07-17 14:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406696 -2.728018)'), GeomFromEWKT('SRID=4674;POINT (-40.406666 -2.728135)'))) / (select extract(epoch from '2026-07-17 14:13:20'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.406621 -2.72826)', '2026-07-17 14:13:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406666 -2.728135)'), GeomFromEWKT('SRID=4674;POINT (-40.406621 -2.72826)'))) / (select extract(epoch from '2026-07-17 14:13:25'::timestamp) - extract(epoch from '2026-07-17 14:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406666 -2.728135)'), GeomFromEWKT('SRID=4674;POINT (-40.406621 -2.72826)'))) / (select extract(epoch from '2026-07-17 14:13:25'::timestamp) - extract(epoch from '2026-07-17 14:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406554 -2.728381)', '2026-07-17 14:13:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406621 -2.72826)'), GeomFromEWKT('SRID=4674;POINT (-40.406554 -2.728381)'))) / (select extract(epoch from '2026-07-17 14:13:31'::timestamp) - extract(epoch from '2026-07-17 14:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406621 -2.72826)'), GeomFromEWKT('SRID=4674;POINT (-40.406554 -2.728381)'))) / (select extract(epoch from '2026-07-17 14:13:31'::timestamp) - extract(epoch from '2026-07-17 14:13: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'), 47831, 'SRID=4674;POINT (-40.406479 -2.728499)', '2026-07-17 14:13:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406554 -2.728381)'), GeomFromEWKT('SRID=4674;POINT (-40.406479 -2.728499)'))) / (select extract(epoch from '2026-07-17 14:13:37'::timestamp) - extract(epoch from '2026-07-17 14:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406554 -2.728381)'), GeomFromEWKT('SRID=4674;POINT (-40.406479 -2.728499)'))) / (select extract(epoch from '2026-07-17 14:13:37'::timestamp) - extract(epoch from '2026-07-17 14:13: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'), 47831, 'SRID=4674;POINT (-40.406392 -2.728636)', '2026-07-17 14:13:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406479 -2.728499)'), GeomFromEWKT('SRID=4674;POINT (-40.406392 -2.728636)'))) / (select extract(epoch from '2026-07-17 14:13:44'::timestamp) - extract(epoch from '2026-07-17 14:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406479 -2.728499)'), GeomFromEWKT('SRID=4674;POINT (-40.406392 -2.728636)'))) / (select extract(epoch from '2026-07-17 14:13:44'::timestamp) - extract(epoch from '2026-07-17 14:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406326 -2.72874)', '2026-07-17 14:13:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406392 -2.728636)'), GeomFromEWKT('SRID=4674;POINT (-40.406326 -2.72874)'))) / (select extract(epoch from '2026-07-17 14:13:49'::timestamp) - extract(epoch from '2026-07-17 14:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406392 -2.728636)'), GeomFromEWKT('SRID=4674;POINT (-40.406326 -2.72874)'))) / (select extract(epoch from '2026-07-17 14:13:49'::timestamp) - extract(epoch from '2026-07-17 14:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406267 -2.728827)', '2026-07-17 14:13:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406326 -2.72874)'), GeomFromEWKT('SRID=4674;POINT (-40.406267 -2.728827)'))) / (select extract(epoch from '2026-07-17 14:13:54'::timestamp) - extract(epoch from '2026-07-17 14:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406326 -2.72874)'), GeomFromEWKT('SRID=4674;POINT (-40.406267 -2.728827)'))) / (select extract(epoch from '2026-07-17 14:13:54'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.406149 -2.728955)', '2026-07-17 14:14:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406267 -2.728827)'), GeomFromEWKT('SRID=4674;POINT (-40.406149 -2.728955)'))) / (select extract(epoch from '2026-07-17 14:14:02'::timestamp) - extract(epoch from '2026-07-17 14:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406267 -2.728827)'), GeomFromEWKT('SRID=4674;POINT (-40.406149 -2.728955)'))) / (select extract(epoch from '2026-07-17 14:14:02'::timestamp) - extract(epoch from '2026-07-17 14:13: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'), 47831, 'SRID=4674;POINT (-40.406059 -2.729058)', '2026-07-17 14:14:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406149 -2.728955)'), GeomFromEWKT('SRID=4674;POINT (-40.406059 -2.729058)'))) / (select extract(epoch from '2026-07-17 14:14:08'::timestamp) - extract(epoch from '2026-07-17 14:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406149 -2.728955)'), GeomFromEWKT('SRID=4674;POINT (-40.406059 -2.729058)'))) / (select extract(epoch from '2026-07-17 14:14:08'::timestamp) - extract(epoch from '2026-07-17 14:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405956 -2.729162)', '2026-07-17 14:14:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406059 -2.729058)'), GeomFromEWKT('SRID=4674;POINT (-40.405956 -2.729162)'))) / (select extract(epoch from '2026-07-17 14:14:15'::timestamp) - extract(epoch from '2026-07-17 14:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406059 -2.729058)'), GeomFromEWKT('SRID=4674;POINT (-40.405956 -2.729162)'))) / (select extract(epoch from '2026-07-17 14:14:15'::timestamp) - extract(epoch from '2026-07-17 14:14: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'), 47831, 'SRID=4674;POINT (-40.40587 -2.729265)', '2026-07-17 14:14:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405956 -2.729162)'), GeomFromEWKT('SRID=4674;POINT (-40.40587 -2.729265)'))) / (select extract(epoch from '2026-07-17 14:14:21'::timestamp) - extract(epoch from '2026-07-17 14:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405956 -2.729162)'), GeomFromEWKT('SRID=4674;POINT (-40.40587 -2.729265)'))) / (select extract(epoch from '2026-07-17 14:14:21'::timestamp) - extract(epoch from '2026-07-17 14:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405782 -2.729397)', '2026-07-17 14:14:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40587 -2.729265)'), GeomFromEWKT('SRID=4674;POINT (-40.405782 -2.729397)'))) / (select extract(epoch from '2026-07-17 14:14:28'::timestamp) - extract(epoch from '2026-07-17 14:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40587 -2.729265)'), GeomFromEWKT('SRID=4674;POINT (-40.405782 -2.729397)'))) / (select extract(epoch from '2026-07-17 14:14:28'::timestamp) - extract(epoch from '2026-07-17 14:14: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'), 47831, 'SRID=4674;POINT (-40.405736 -2.729553)', '2026-07-17 14:14:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405782 -2.729397)'), GeomFromEWKT('SRID=4674;POINT (-40.405736 -2.729553)'))) / (select extract(epoch from '2026-07-17 14:14:35'::timestamp) - extract(epoch from '2026-07-17 14:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405782 -2.729397)'), GeomFromEWKT('SRID=4674;POINT (-40.405736 -2.729553)'))) / (select extract(epoch from '2026-07-17 14:14:35'::timestamp) - extract(epoch from '2026-07-17 14:14: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'), 47831, 'SRID=4674;POINT (-40.405666 -2.729687)', '2026-07-17 14:14:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405736 -2.729553)'), GeomFromEWKT('SRID=4674;POINT (-40.405666 -2.729687)'))) / (select extract(epoch from '2026-07-17 14:14:42'::timestamp) - extract(epoch from '2026-07-17 14:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405736 -2.729553)'), GeomFromEWKT('SRID=4674;POINT (-40.405666 -2.729687)'))) / (select extract(epoch from '2026-07-17 14:14:42'::timestamp) - extract(epoch from '2026-07-17 14:14: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'), 47831, 'SRID=4674;POINT (-40.405594 -2.729795)', '2026-07-17 14:14:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405666 -2.729687)'), GeomFromEWKT('SRID=4674;POINT (-40.405594 -2.729795)'))) / (select extract(epoch from '2026-07-17 14:14:48'::timestamp) - extract(epoch from '2026-07-17 14:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405666 -2.729687)'), GeomFromEWKT('SRID=4674;POINT (-40.405594 -2.729795)'))) / (select extract(epoch from '2026-07-17 14:14:48'::timestamp) - extract(epoch from '2026-07-17 14:14: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'), 47831, 'SRID=4674;POINT (-40.405522 -2.729978)', '2026-07-17 14:14:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405594 -2.729795)'), GeomFromEWKT('SRID=4674;POINT (-40.405522 -2.729978)'))) / (select extract(epoch from '2026-07-17 14:14:56'::timestamp) - extract(epoch from '2026-07-17 14:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405594 -2.729795)'), GeomFromEWKT('SRID=4674;POINT (-40.405522 -2.729978)'))) / (select extract(epoch from '2026-07-17 14:14:56'::timestamp) - extract(epoch from '2026-07-17 14:14: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'), 47831, 'SRID=4674;POINT (-40.40547 -2.730109)', '2026-07-17 14:15:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405522 -2.729978)'), GeomFromEWKT('SRID=4674;POINT (-40.40547 -2.730109)'))) / (select extract(epoch from '2026-07-17 14:15:02'::timestamp) - extract(epoch from '2026-07-17 14:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405522 -2.729978)'), GeomFromEWKT('SRID=4674;POINT (-40.40547 -2.730109)'))) / (select extract(epoch from '2026-07-17 14:15:02'::timestamp) - extract(epoch from '2026-07-17 14:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405403 -2.730238)', '2026-07-17 14:15:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40547 -2.730109)'), GeomFromEWKT('SRID=4674;POINT (-40.405403 -2.730238)'))) / (select extract(epoch from '2026-07-17 14:15:08'::timestamp) - extract(epoch from '2026-07-17 14:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40547 -2.730109)'), GeomFromEWKT('SRID=4674;POINT (-40.405403 -2.730238)'))) / (select extract(epoch from '2026-07-17 14:15:08'::timestamp) - extract(epoch from '2026-07-17 14:15: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'), 47831, 'SRID=4674;POINT (-40.405353 -2.730355)', '2026-07-17 14:15:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405403 -2.730238)'), GeomFromEWKT('SRID=4674;POINT (-40.405353 -2.730355)'))) / (select extract(epoch from '2026-07-17 14:15:13'::timestamp) - extract(epoch from '2026-07-17 14:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405403 -2.730238)'), GeomFromEWKT('SRID=4674;POINT (-40.405353 -2.730355)'))) / (select extract(epoch from '2026-07-17 14:15:13'::timestamp) - extract(epoch from '2026-07-17 14:15: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'), 47831, 'SRID=4674;POINT (-40.40529 -2.730488)', '2026-07-17 14:15:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405353 -2.730355)'), GeomFromEWKT('SRID=4674;POINT (-40.40529 -2.730488)'))) / (select extract(epoch from '2026-07-17 14:15:19'::timestamp) - extract(epoch from '2026-07-17 14:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405353 -2.730355)'), GeomFromEWKT('SRID=4674;POINT (-40.40529 -2.730488)'))) / (select extract(epoch from '2026-07-17 14:15:19'::timestamp) - extract(epoch from '2026-07-17 14:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405238 -2.730577)', '2026-07-17 14:15:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40529 -2.730488)'), GeomFromEWKT('SRID=4674;POINT (-40.405238 -2.730577)'))) / (select extract(epoch from '2026-07-17 14:15:24'::timestamp) - extract(epoch from '2026-07-17 14:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40529 -2.730488)'), GeomFromEWKT('SRID=4674;POINT (-40.405238 -2.730577)'))) / (select extract(epoch from '2026-07-17 14:15:24'::timestamp) - extract(epoch from '2026-07-17 14:15: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'), 47831, 'SRID=4674;POINT (-40.405176 -2.730666)', '2026-07-17 14:15:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405238 -2.730577)'), GeomFromEWKT('SRID=4674;POINT (-40.405176 -2.730666)'))) / (select extract(epoch from '2026-07-17 14:15:29'::timestamp) - extract(epoch from '2026-07-17 14:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405238 -2.730577)'), GeomFromEWKT('SRID=4674;POINT (-40.405176 -2.730666)'))) / (select extract(epoch from '2026-07-17 14:15:29'::timestamp) - extract(epoch from '2026-07-17 14:15: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'), 47831, 'SRID=4674;POINT (-40.405119 -2.730734)', '2026-07-17 14:15:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405176 -2.730666)'), GeomFromEWKT('SRID=4674;POINT (-40.405119 -2.730734)'))) / (select extract(epoch from '2026-07-17 14:15:33'::timestamp) - extract(epoch from '2026-07-17 14:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405176 -2.730666)'), GeomFromEWKT('SRID=4674;POINT (-40.405119 -2.730734)'))) / (select extract(epoch from '2026-07-17 14:15:33'::timestamp) - extract(epoch from '2026-07-17 14:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405097 -2.730779)', '2026-07-17 14:15:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405119 -2.730734)'), GeomFromEWKT('SRID=4674;POINT (-40.405097 -2.730779)'))) / (select extract(epoch from '2026-07-17 14:15:35'::timestamp) - extract(epoch from '2026-07-17 14:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405119 -2.730734)'), GeomFromEWKT('SRID=4674;POINT (-40.405097 -2.730779)'))) / (select extract(epoch from '2026-07-17 14:15:35'::timestamp) - extract(epoch from '2026-07-17 14:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405018 -2.730881)', '2026-07-17 14:15:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405097 -2.730779)'), GeomFromEWKT('SRID=4674;POINT (-40.405018 -2.730881)'))) / (select extract(epoch from '2026-07-17 14:15:41'::timestamp) - extract(epoch from '2026-07-17 14:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405097 -2.730779)'), GeomFromEWKT('SRID=4674;POINT (-40.405018 -2.730881)'))) / (select extract(epoch from '2026-07-17 14:15:41'::timestamp) - extract(epoch from '2026-07-17 14:15: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'), 47831, 'SRID=4674;POINT (-40.40496 -2.730964)', '2026-07-17 14:15:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405018 -2.730881)'), GeomFromEWKT('SRID=4674;POINT (-40.40496 -2.730964)'))) / (select extract(epoch from '2026-07-17 14:15:46'::timestamp) - extract(epoch from '2026-07-17 14:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405018 -2.730881)'), GeomFromEWKT('SRID=4674;POINT (-40.40496 -2.730964)'))) / (select extract(epoch from '2026-07-17 14:15:46'::timestamp) - extract(epoch from '2026-07-17 14:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404881 -2.731099)', '2026-07-17 14:15:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40496 -2.730964)'), GeomFromEWKT('SRID=4674;POINT (-40.404881 -2.731099)'))) / (select extract(epoch from '2026-07-17 14:15:53'::timestamp) - extract(epoch from '2026-07-17 14:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40496 -2.730964)'), GeomFromEWKT('SRID=4674;POINT (-40.404881 -2.731099)'))) / (select extract(epoch from '2026-07-17 14:15:53'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.404815 -2.731208)', '2026-07-17 14:15:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404881 -2.731099)'), GeomFromEWKT('SRID=4674;POINT (-40.404815 -2.731208)'))) / (select extract(epoch from '2026-07-17 14:15:59'::timestamp) - extract(epoch from '2026-07-17 14:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404881 -2.731099)'), GeomFromEWKT('SRID=4674;POINT (-40.404815 -2.731208)'))) / (select extract(epoch from '2026-07-17 14:15:59'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.404741 -2.731291)', '2026-07-17 14:16:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404815 -2.731208)'), GeomFromEWKT('SRID=4674;POINT (-40.404741 -2.731291)'))) / (select extract(epoch from '2026-07-17 14:16:04'::timestamp) - extract(epoch from '2026-07-17 14:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404815 -2.731208)'), GeomFromEWKT('SRID=4674;POINT (-40.404741 -2.731291)'))) / (select extract(epoch from '2026-07-17 14:16:04'::timestamp) - extract(epoch from '2026-07-17 14:15: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'), 47831, 'SRID=4674;POINT (-40.40468 -2.731379)', '2026-07-17 14:16:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404741 -2.731291)'), GeomFromEWKT('SRID=4674;POINT (-40.40468 -2.731379)'))) / (select extract(epoch from '2026-07-17 14:16:09'::timestamp) - extract(epoch from '2026-07-17 14:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404741 -2.731291)'), GeomFromEWKT('SRID=4674;POINT (-40.40468 -2.731379)'))) / (select extract(epoch from '2026-07-17 14:16:09'::timestamp) - extract(epoch from '2026-07-17 14:16: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'), 47831, 'SRID=4674;POINT (-40.404671 -2.731399)', '2026-07-17 14:16:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40468 -2.731379)'), GeomFromEWKT('SRID=4674;POINT (-40.404671 -2.731399)'))) / (select extract(epoch from '2026-07-17 14:16:10'::timestamp) - extract(epoch from '2026-07-17 14:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40468 -2.731379)'), GeomFromEWKT('SRID=4674;POINT (-40.404671 -2.731399)'))) / (select extract(epoch from '2026-07-17 14:16:10'::timestamp) - extract(epoch from '2026-07-17 14:16: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'), 47831, 'SRID=4674;POINT (-40.404591 -2.731514)', '2026-07-17 14:16:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404671 -2.731399)'), GeomFromEWKT('SRID=4674;POINT (-40.404591 -2.731514)'))) / (select extract(epoch from '2026-07-17 14:16:16'::timestamp) - extract(epoch from '2026-07-17 14:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404671 -2.731399)'), GeomFromEWKT('SRID=4674;POINT (-40.404591 -2.731514)'))) / (select extract(epoch from '2026-07-17 14:16:16'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.404515 -2.731616)', '2026-07-17 14:16:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404591 -2.731514)'), GeomFromEWKT('SRID=4674;POINT (-40.404515 -2.731616)'))) / (select extract(epoch from '2026-07-17 14:16:22'::timestamp) - extract(epoch from '2026-07-17 14:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404591 -2.731514)'), GeomFromEWKT('SRID=4674;POINT (-40.404515 -2.731616)'))) / (select extract(epoch from '2026-07-17 14:16:22'::timestamp) - extract(epoch from '2026-07-17 14:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404421 -2.731698)', '2026-07-17 14:16:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404515 -2.731616)'), GeomFromEWKT('SRID=4674;POINT (-40.404421 -2.731698)'))) / (select extract(epoch from '2026-07-17 14:16:28'::timestamp) - extract(epoch from '2026-07-17 14:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404515 -2.731616)'), GeomFromEWKT('SRID=4674;POINT (-40.404421 -2.731698)'))) / (select extract(epoch from '2026-07-17 14:16:28'::timestamp) - extract(epoch from '2026-07-17 14:16: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'), 47831, 'SRID=4674;POINT (-40.404373 -2.731819)', '2026-07-17 14:16:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404421 -2.731698)'), GeomFromEWKT('SRID=4674;POINT (-40.404373 -2.731819)'))) / (select extract(epoch from '2026-07-17 14:16:34'::timestamp) - extract(epoch from '2026-07-17 14:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404421 -2.731698)'), GeomFromEWKT('SRID=4674;POINT (-40.404373 -2.731819)'))) / (select extract(epoch from '2026-07-17 14:16:34'::timestamp) - extract(epoch from '2026-07-17 14:16: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'), 47831, 'SRID=4674;POINT (-40.404335 -2.731934)', '2026-07-17 14:16:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404373 -2.731819)'), GeomFromEWKT('SRID=4674;POINT (-40.404335 -2.731934)'))) / (select extract(epoch from '2026-07-17 14:16:39'::timestamp) - extract(epoch from '2026-07-17 14:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404373 -2.731819)'), GeomFromEWKT('SRID=4674;POINT (-40.404335 -2.731934)'))) / (select extract(epoch from '2026-07-17 14:16:39'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.404304 -2.732044)', '2026-07-17 14:16:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404335 -2.731934)'), GeomFromEWKT('SRID=4674;POINT (-40.404304 -2.732044)'))) / (select extract(epoch from '2026-07-17 14:16:44'::timestamp) - extract(epoch from '2026-07-17 14:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404335 -2.731934)'), GeomFromEWKT('SRID=4674;POINT (-40.404304 -2.732044)'))) / (select extract(epoch from '2026-07-17 14:16:44'::timestamp) - extract(epoch from '2026-07-17 14:16: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'), 47831, 'SRID=4674;POINT (-40.40425 -2.732159)', '2026-07-17 14:16:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404304 -2.732044)'), GeomFromEWKT('SRID=4674;POINT (-40.40425 -2.732159)'))) / (select extract(epoch from '2026-07-17 14:16:50'::timestamp) - extract(epoch from '2026-07-17 14:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404304 -2.732044)'), GeomFromEWKT('SRID=4674;POINT (-40.40425 -2.732159)'))) / (select extract(epoch from '2026-07-17 14:16:50'::timestamp) - extract(epoch from '2026-07-17 14:16: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'), 47831, 'SRID=4674;POINT (-40.404171 -2.73225)', '2026-07-17 14:16:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40425 -2.732159)'), GeomFromEWKT('SRID=4674;POINT (-40.404171 -2.73225)'))) / (select extract(epoch from '2026-07-17 14:16:56'::timestamp) - extract(epoch from '2026-07-17 14:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40425 -2.732159)'), GeomFromEWKT('SRID=4674;POINT (-40.404171 -2.73225)'))) / (select extract(epoch from '2026-07-17 14:16:56'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.404078 -2.732395)', '2026-07-17 14:17:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404171 -2.73225)'), GeomFromEWKT('SRID=4674;POINT (-40.404078 -2.732395)'))) / (select extract(epoch from '2026-07-17 14:17:04'::timestamp) - extract(epoch from '2026-07-17 14:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404171 -2.73225)'), GeomFromEWKT('SRID=4674;POINT (-40.404078 -2.732395)'))) / (select extract(epoch from '2026-07-17 14:17:04'::timestamp) - extract(epoch from '2026-07-17 14:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404017 -2.732518)', '2026-07-17 14:17:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404078 -2.732395)'), GeomFromEWKT('SRID=4674;POINT (-40.404017 -2.732518)'))) / (select extract(epoch from '2026-07-17 14:17:10'::timestamp) - extract(epoch from '2026-07-17 14:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404078 -2.732395)'), GeomFromEWKT('SRID=4674;POINT (-40.404017 -2.732518)'))) / (select extract(epoch from '2026-07-17 14:17:10'::timestamp) - extract(epoch from '2026-07-17 14:17: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'), 47831, 'SRID=4674;POINT (-40.403947 -2.732647)', '2026-07-17 14:17:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404017 -2.732518)'), GeomFromEWKT('SRID=4674;POINT (-40.403947 -2.732647)'))) / (select extract(epoch from '2026-07-17 14:17:17'::timestamp) - extract(epoch from '2026-07-17 14:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404017 -2.732518)'), GeomFromEWKT('SRID=4674;POINT (-40.403947 -2.732647)'))) / (select extract(epoch from '2026-07-17 14:17:17'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.403872 -2.73277)', '2026-07-17 14:17:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403947 -2.732647)'), GeomFromEWKT('SRID=4674;POINT (-40.403872 -2.73277)'))) / (select extract(epoch from '2026-07-17 14:17:24'::timestamp) - extract(epoch from '2026-07-17 14:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403947 -2.732647)'), GeomFromEWKT('SRID=4674;POINT (-40.403872 -2.73277)'))) / (select extract(epoch from '2026-07-17 14:17:24'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.403786 -2.732877)', '2026-07-17 14:17:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403872 -2.73277)'), GeomFromEWKT('SRID=4674;POINT (-40.403786 -2.732877)'))) / (select extract(epoch from '2026-07-17 14:17:30'::timestamp) - extract(epoch from '2026-07-17 14:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403872 -2.73277)'), GeomFromEWKT('SRID=4674;POINT (-40.403786 -2.732877)'))) / (select extract(epoch from '2026-07-17 14:17:30'::timestamp) - extract(epoch from '2026-07-17 14:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403717 -2.732993)', '2026-07-17 14:17:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403786 -2.732877)'), GeomFromEWKT('SRID=4674;POINT (-40.403717 -2.732993)'))) / (select extract(epoch from '2026-07-17 14:17:36'::timestamp) - extract(epoch from '2026-07-17 14:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403786 -2.732877)'), GeomFromEWKT('SRID=4674;POINT (-40.403717 -2.732993)'))) / (select extract(epoch from '2026-07-17 14:17:36'::timestamp) - extract(epoch from '2026-07-17 14:17: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'), 47831, 'SRID=4674;POINT (-40.403653 -2.733102)', '2026-07-17 14:17:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403717 -2.732993)'), GeomFromEWKT('SRID=4674;POINT (-40.403653 -2.733102)'))) / (select extract(epoch from '2026-07-17 14:17:41'::timestamp) - extract(epoch from '2026-07-17 14:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403717 -2.732993)'), GeomFromEWKT('SRID=4674;POINT (-40.403653 -2.733102)'))) / (select extract(epoch from '2026-07-17 14:17:41'::timestamp) - extract(epoch from '2026-07-17 14:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403578 -2.733232)', '2026-07-17 14:17:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403653 -2.733102)'), GeomFromEWKT('SRID=4674;POINT (-40.403578 -2.733232)'))) / (select extract(epoch from '2026-07-17 14:17:48'::timestamp) - extract(epoch from '2026-07-17 14:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403653 -2.733102)'), GeomFromEWKT('SRID=4674;POINT (-40.403578 -2.733232)'))) / (select extract(epoch from '2026-07-17 14:17:48'::timestamp) - extract(epoch from '2026-07-17 14:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403512 -2.733317)', '2026-07-17 14:17:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403578 -2.733232)'), GeomFromEWKT('SRID=4674;POINT (-40.403512 -2.733317)'))) / (select extract(epoch from '2026-07-17 14:17:53'::timestamp) - extract(epoch from '2026-07-17 14:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403578 -2.733232)'), GeomFromEWKT('SRID=4674;POINT (-40.403512 -2.733317)'))) / (select extract(epoch from '2026-07-17 14:17:53'::timestamp) - extract(epoch from '2026-07-17 14:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403409 -2.733438)', '2026-07-17 14:18:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403512 -2.733317)'), GeomFromEWKT('SRID=4674;POINT (-40.403409 -2.733438)'))) / (select extract(epoch from '2026-07-17 14:18:00'::timestamp) - extract(epoch from '2026-07-17 14:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403512 -2.733317)'), GeomFromEWKT('SRID=4674;POINT (-40.403409 -2.733438)'))) / (select extract(epoch from '2026-07-17 14:18:00'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.403294 -2.733541)', '2026-07-17 14:18:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403409 -2.733438)'), GeomFromEWKT('SRID=4674;POINT (-40.403294 -2.733541)'))) / (select extract(epoch from '2026-07-17 14:18:07'::timestamp) - extract(epoch from '2026-07-17 14:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403409 -2.733438)'), GeomFromEWKT('SRID=4674;POINT (-40.403294 -2.733541)'))) / (select extract(epoch from '2026-07-17 14:18:07'::timestamp) - extract(epoch from '2026-07-17 14:18: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'), 47831, 'SRID=4674;POINT (-40.403198 -2.733654)', '2026-07-17 14:18:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403294 -2.733541)'), GeomFromEWKT('SRID=4674;POINT (-40.403198 -2.733654)'))) / (select extract(epoch from '2026-07-17 14:18:14'::timestamp) - extract(epoch from '2026-07-17 14:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403294 -2.733541)'), GeomFromEWKT('SRID=4674;POINT (-40.403198 -2.733654)'))) / (select extract(epoch from '2026-07-17 14:18:14'::timestamp) - extract(epoch from '2026-07-17 14:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403133 -2.733814)', '2026-07-17 14:18:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403198 -2.733654)'), GeomFromEWKT('SRID=4674;POINT (-40.403133 -2.733814)'))) / (select extract(epoch from '2026-07-17 14:18:22'::timestamp) - extract(epoch from '2026-07-17 14:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403198 -2.733654)'), GeomFromEWKT('SRID=4674;POINT (-40.403133 -2.733814)'))) / (select extract(epoch from '2026-07-17 14:18:22'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.403059 -2.733903)', '2026-07-17 14:18:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403133 -2.733814)'), GeomFromEWKT('SRID=4674;POINT (-40.403059 -2.733903)'))) / (select extract(epoch from '2026-07-17 14:18:29'::timestamp) - extract(epoch from '2026-07-17 14:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403133 -2.733814)'), GeomFromEWKT('SRID=4674;POINT (-40.403059 -2.733903)'))) / (select extract(epoch from '2026-07-17 14:18:29'::timestamp) - extract(epoch from '2026-07-17 14:18: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'), 47831, 'SRID=4674;POINT (-40.402964 -2.734)', '2026-07-17 14:18:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403059 -2.733903)'), GeomFromEWKT('SRID=4674;POINT (-40.402964 -2.734)'))) / (select extract(epoch from '2026-07-17 14:18:37'::timestamp) - extract(epoch from '2026-07-17 14:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403059 -2.733903)'), GeomFromEWKT('SRID=4674;POINT (-40.402964 -2.734)'))) / (select extract(epoch from '2026-07-17 14:18:37'::timestamp) - extract(epoch from '2026-07-17 14:18: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'), 47831, 'SRID=4674;POINT (-40.402951 -2.734033)', '2026-07-17 14:18:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402964 -2.734)'), GeomFromEWKT('SRID=4674;POINT (-40.402951 -2.734033)'))) / (select extract(epoch from '2026-07-17 14:18:40'::timestamp) - extract(epoch from '2026-07-17 14:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402964 -2.734)'), GeomFromEWKT('SRID=4674;POINT (-40.402951 -2.734033)'))) / (select extract(epoch from '2026-07-17 14:18:40'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.402933 -2.734063)', '2026-07-17 14:18:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402951 -2.734033)'), GeomFromEWKT('SRID=4674;POINT (-40.402933 -2.734063)'))) / (select extract(epoch from '2026-07-17 14:18:43'::timestamp) - extract(epoch from '2026-07-17 14:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402951 -2.734033)'), GeomFromEWKT('SRID=4674;POINT (-40.402933 -2.734063)'))) / (select extract(epoch from '2026-07-17 14:18:43'::timestamp) - extract(epoch from '2026-07-17 14:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402919 -2.734105)', '2026-07-17 14:18:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402933 -2.734063)'), GeomFromEWKT('SRID=4674;POINT (-40.402919 -2.734105)'))) / (select extract(epoch from '2026-07-17 14:18:46'::timestamp) - extract(epoch from '2026-07-17 14:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402933 -2.734063)'), GeomFromEWKT('SRID=4674;POINT (-40.402919 -2.734105)'))) / (select extract(epoch from '2026-07-17 14:18:46'::timestamp) - extract(epoch from '2026-07-17 14:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402925 -2.734147)', '2026-07-17 14:18:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402919 -2.734105)'), GeomFromEWKT('SRID=4674;POINT (-40.402925 -2.734147)'))) / (select extract(epoch from '2026-07-17 14:18:49'::timestamp) - extract(epoch from '2026-07-17 14:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402919 -2.734105)'), GeomFromEWKT('SRID=4674;POINT (-40.402925 -2.734147)'))) / (select extract(epoch from '2026-07-17 14:18:49'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.402952 -2.734229)', '2026-07-17 14:18:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402925 -2.734147)'), GeomFromEWKT('SRID=4674;POINT (-40.402952 -2.734229)'))) / (select extract(epoch from '2026-07-17 14:18:56'::timestamp) - extract(epoch from '2026-07-17 14:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402925 -2.734147)'), GeomFromEWKT('SRID=4674;POINT (-40.402952 -2.734229)'))) / (select extract(epoch from '2026-07-17 14:18:56'::timestamp) - extract(epoch from '2026-07-17 14:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402998 -2.734268)', '2026-07-17 14:19:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402952 -2.734229)'), GeomFromEWKT('SRID=4674;POINT (-40.402998 -2.734268)'))) / (select extract(epoch from '2026-07-17 14:19:02'::timestamp) - extract(epoch from '2026-07-17 14:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402952 -2.734229)'), GeomFromEWKT('SRID=4674;POINT (-40.402998 -2.734268)'))) / (select extract(epoch from '2026-07-17 14:19:02'::timestamp) - extract(epoch from '2026-07-17 14:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403037 -2.734311)', '2026-07-17 14:19:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402998 -2.734268)'), GeomFromEWKT('SRID=4674;POINT (-40.403037 -2.734311)'))) / (select extract(epoch from '2026-07-17 14:19:09'::timestamp) - extract(epoch from '2026-07-17 14:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402998 -2.734268)'), GeomFromEWKT('SRID=4674;POINT (-40.403037 -2.734311)'))) / (select extract(epoch from '2026-07-17 14:19:09'::timestamp) - extract(epoch from '2026-07-17 14:19: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'), 47831, 'SRID=4674;POINT (-40.403102 -2.734373)', '2026-07-17 14:19:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403037 -2.734311)'), GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.734373)'))) / (select extract(epoch from '2026-07-17 14:19:21'::timestamp) - extract(epoch from '2026-07-17 14:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403037 -2.734311)'), GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.734373)'))) / (select extract(epoch from '2026-07-17 14:19:21'::timestamp) - extract(epoch from '2026-07-17 14:19: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'), 47831, 'SRID=4674;POINT (-40.403142 -2.734399)', '2026-07-17 14:19:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.734373)'), GeomFromEWKT('SRID=4674;POINT (-40.403142 -2.734399)'))) / (select extract(epoch from '2026-07-17 14:19:29'::timestamp) - extract(epoch from '2026-07-17 14:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.734373)'), GeomFromEWKT('SRID=4674;POINT (-40.403142 -2.734399)'))) / (select extract(epoch from '2026-07-17 14:19:29'::timestamp) - extract(epoch from '2026-07-17 14:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403208 -2.734432)', '2026-07-17 14:19:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403142 -2.734399)'), GeomFromEWKT('SRID=4674;POINT (-40.403208 -2.734432)'))) / (select extract(epoch from '2026-07-17 14:19:42'::timestamp) - extract(epoch from '2026-07-17 14:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403142 -2.734399)'), GeomFromEWKT('SRID=4674;POINT (-40.403208 -2.734432)'))) / (select extract(epoch from '2026-07-17 14:19:42'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.403253 -2.734451)', '2026-07-17 14:19:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403208 -2.734432)'), GeomFromEWKT('SRID=4674;POINT (-40.403253 -2.734451)'))) / (select extract(epoch from '2026-07-17 14:19:48'::timestamp) - extract(epoch from '2026-07-17 14:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403208 -2.734432)'), GeomFromEWKT('SRID=4674;POINT (-40.403253 -2.734451)'))) / (select extract(epoch from '2026-07-17 14:19:48'::timestamp) - extract(epoch from '2026-07-17 14:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403292 -2.734475)', '2026-07-17 14:19:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403253 -2.734451)'), GeomFromEWKT('SRID=4674;POINT (-40.403292 -2.734475)'))) / (select extract(epoch from '2026-07-17 14:19:59'::timestamp) - extract(epoch from '2026-07-17 14:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403253 -2.734451)'), GeomFromEWKT('SRID=4674;POINT (-40.403292 -2.734475)'))) / (select extract(epoch from '2026-07-17 14:19:59'::timestamp) - extract(epoch from '2026-07-17 14:19: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'), 47831, 'SRID=4674;POINT (-40.403368 -2.734523)', '2026-07-17 14:20:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403292 -2.734475)'), GeomFromEWKT('SRID=4674;POINT (-40.403368 -2.734523)'))) / (select extract(epoch from '2026-07-17 14:20:13'::timestamp) - extract(epoch from '2026-07-17 14:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403292 -2.734475)'), GeomFromEWKT('SRID=4674;POINT (-40.403368 -2.734523)'))) / (select extract(epoch from '2026-07-17 14:20:13'::timestamp) - extract(epoch from '2026-07-17 14:19: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'), 47831, 'SRID=4674;POINT (-40.403403 -2.734539)', '2026-07-17 14:20:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403368 -2.734523)'), GeomFromEWKT('SRID=4674;POINT (-40.403403 -2.734539)'))) / (select extract(epoch from '2026-07-17 14:20:22'::timestamp) - extract(epoch from '2026-07-17 14:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403368 -2.734523)'), GeomFromEWKT('SRID=4674;POINT (-40.403403 -2.734539)'))) / (select extract(epoch from '2026-07-17 14:20:22'::timestamp) - extract(epoch from '2026-07-17 14:20: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'), 47831, 'SRID=4674;POINT (-40.403452 -2.734574)', '2026-07-17 14:20:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403403 -2.734539)'), GeomFromEWKT('SRID=4674;POINT (-40.403452 -2.734574)'))) / (select extract(epoch from '2026-07-17 14:20:32'::timestamp) - extract(epoch from '2026-07-17 14:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403403 -2.734539)'), GeomFromEWKT('SRID=4674;POINT (-40.403452 -2.734574)'))) / (select extract(epoch from '2026-07-17 14:20:32'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.403515 -2.734603)', '2026-07-17 14:20:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403452 -2.734574)'), GeomFromEWKT('SRID=4674;POINT (-40.403515 -2.734603)'))) / (select extract(epoch from '2026-07-17 14:20:43'::timestamp) - extract(epoch from '2026-07-17 14:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403452 -2.734574)'), GeomFromEWKT('SRID=4674;POINT (-40.403515 -2.734603)'))) / (select extract(epoch from '2026-07-17 14:20:43'::timestamp) - extract(epoch from '2026-07-17 14:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403543 -2.734694)', '2026-07-17 14:20:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403515 -2.734603)'), GeomFromEWKT('SRID=4674;POINT (-40.403543 -2.734694)'))) / (select extract(epoch from '2026-07-17 14:20:54'::timestamp) - extract(epoch from '2026-07-17 14:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403515 -2.734603)'), GeomFromEWKT('SRID=4674;POINT (-40.403543 -2.734694)'))) / (select extract(epoch from '2026-07-17 14:20:54'::timestamp) - extract(epoch from '2026-07-17 14:20: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'), 47831, 'SRID=4674;POINT (-40.403526 -2.734862)', '2026-07-17 14:21:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403543 -2.734694)'), GeomFromEWKT('SRID=4674;POINT (-40.403526 -2.734862)'))) / (select extract(epoch from '2026-07-17 14:21:04'::timestamp) - extract(epoch from '2026-07-17 14:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403543 -2.734694)'), GeomFromEWKT('SRID=4674;POINT (-40.403526 -2.734862)'))) / (select extract(epoch from '2026-07-17 14:21:04'::timestamp) - extract(epoch from '2026-07-17 14:20: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'), 47831, 'SRID=4674;POINT (-40.403486 -2.735021)', '2026-07-17 14:21:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403526 -2.734862)'), GeomFromEWKT('SRID=4674;POINT (-40.403486 -2.735021)'))) / (select extract(epoch from '2026-07-17 14:21:11'::timestamp) - extract(epoch from '2026-07-17 14:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403526 -2.734862)'), GeomFromEWKT('SRID=4674;POINT (-40.403486 -2.735021)'))) / (select extract(epoch from '2026-07-17 14:21:11'::timestamp) - extract(epoch from '2026-07-17 14:21: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'), 47831, 'SRID=4674;POINT (-40.403429 -2.735208)', '2026-07-17 14:21:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403486 -2.735021)'), GeomFromEWKT('SRID=4674;POINT (-40.403429 -2.735208)'))) / (select extract(epoch from '2026-07-17 14:21:19'::timestamp) - extract(epoch from '2026-07-17 14:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403486 -2.735021)'), GeomFromEWKT('SRID=4674;POINT (-40.403429 -2.735208)'))) / (select extract(epoch from '2026-07-17 14:21:19'::timestamp) - extract(epoch from '2026-07-17 14:21: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'), 47831, 'SRID=4674;POINT (-40.403346 -2.73543)', '2026-07-17 14:21:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403429 -2.735208)'), GeomFromEWKT('SRID=4674;POINT (-40.403346 -2.73543)'))) / (select extract(epoch from '2026-07-17 14:21:29'::timestamp) - extract(epoch from '2026-07-17 14:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403429 -2.735208)'), GeomFromEWKT('SRID=4674;POINT (-40.403346 -2.73543)'))) / (select extract(epoch from '2026-07-17 14:21:29'::timestamp) - extract(epoch from '2026-07-17 14:21: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'), 47831, 'SRID=4674;POINT (-40.40328 -2.735572)', '2026-07-17 14:21:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403346 -2.73543)'), GeomFromEWKT('SRID=4674;POINT (-40.40328 -2.735572)'))) / (select extract(epoch from '2026-07-17 14:21:36'::timestamp) - extract(epoch from '2026-07-17 14:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403346 -2.73543)'), GeomFromEWKT('SRID=4674;POINT (-40.40328 -2.735572)'))) / (select extract(epoch from '2026-07-17 14:21:36'::timestamp) - extract(epoch from '2026-07-17 14:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40319 -2.735716)', '2026-07-17 14:21:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40328 -2.735572)'), GeomFromEWKT('SRID=4674;POINT (-40.40319 -2.735716)'))) / (select extract(epoch from '2026-07-17 14:21:45'::timestamp) - extract(epoch from '2026-07-17 14:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40328 -2.735572)'), GeomFromEWKT('SRID=4674;POINT (-40.40319 -2.735716)'))) / (select extract(epoch from '2026-07-17 14:21:45'::timestamp) - extract(epoch from '2026-07-17 14:21: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'), 47831, 'SRID=4674;POINT (-40.403077 -2.735838)', '2026-07-17 14:21:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40319 -2.735716)'), GeomFromEWKT('SRID=4674;POINT (-40.403077 -2.735838)'))) / (select extract(epoch from '2026-07-17 14:21:54'::timestamp) - extract(epoch from '2026-07-17 14:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40319 -2.735716)'), GeomFromEWKT('SRID=4674;POINT (-40.403077 -2.735838)'))) / (select extract(epoch from '2026-07-17 14:21:54'::timestamp) - extract(epoch from '2026-07-17 14:21:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402979 -2.735908)', '2026-07-17 14:22:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403077 -2.735838)'), GeomFromEWKT('SRID=4674;POINT (-40.402979 -2.735908)'))) / (select extract(epoch from '2026-07-17 14:22:00'::timestamp) - extract(epoch from '2026-07-17 14:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403077 -2.735838)'), GeomFromEWKT('SRID=4674;POINT (-40.402979 -2.735908)'))) / (select extract(epoch from '2026-07-17 14:22:00'::timestamp) - extract(epoch from '2026-07-17 14:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402884 -2.735998)', '2026-07-17 14:22:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402979 -2.735908)'), GeomFromEWKT('SRID=4674;POINT (-40.402884 -2.735998)'))) / (select extract(epoch from '2026-07-17 14:22:06'::timestamp) - extract(epoch from '2026-07-17 14:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402979 -2.735908)'), GeomFromEWKT('SRID=4674;POINT (-40.402884 -2.735998)'))) / (select extract(epoch from '2026-07-17 14:22:06'::timestamp) - extract(epoch from '2026-07-17 14:22: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'), 47831, 'SRID=4674;POINT (-40.40283 -2.736099)', '2026-07-17 14:22:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402884 -2.735998)'), GeomFromEWKT('SRID=4674;POINT (-40.40283 -2.736099)'))) / (select extract(epoch from '2026-07-17 14:22:12'::timestamp) - extract(epoch from '2026-07-17 14:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402884 -2.735998)'), GeomFromEWKT('SRID=4674;POINT (-40.40283 -2.736099)'))) / (select extract(epoch from '2026-07-17 14:22:12'::timestamp) - extract(epoch from '2026-07-17 14:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402775 -2.736199)', '2026-07-17 14:22:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40283 -2.736099)'), GeomFromEWKT('SRID=4674;POINT (-40.402775 -2.736199)'))) / (select extract(epoch from '2026-07-17 14:22:18'::timestamp) - extract(epoch from '2026-07-17 14:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40283 -2.736099)'), GeomFromEWKT('SRID=4674;POINT (-40.402775 -2.736199)'))) / (select extract(epoch from '2026-07-17 14:22:18'::timestamp) - extract(epoch from '2026-07-17 14:22: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'), 47831, 'SRID=4674;POINT (-40.402713 -2.736363)', '2026-07-17 14:22:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402775 -2.736199)'), GeomFromEWKT('SRID=4674;POINT (-40.402713 -2.736363)'))) / (select extract(epoch from '2026-07-17 14:22:26'::timestamp) - extract(epoch from '2026-07-17 14:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402775 -2.736199)'), GeomFromEWKT('SRID=4674;POINT (-40.402713 -2.736363)'))) / (select extract(epoch from '2026-07-17 14:22:26'::timestamp) - extract(epoch from '2026-07-17 14:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402652 -2.736478)', '2026-07-17 14:22:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402713 -2.736363)'), GeomFromEWKT('SRID=4674;POINT (-40.402652 -2.736478)'))) / (select extract(epoch from '2026-07-17 14:22:32'::timestamp) - extract(epoch from '2026-07-17 14:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402713 -2.736363)'), GeomFromEWKT('SRID=4674;POINT (-40.402652 -2.736478)'))) / (select extract(epoch from '2026-07-17 14:22:32'::timestamp) - extract(epoch from '2026-07-17 14:22: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'), 47831, 'SRID=4674;POINT (-40.4026 -2.736583)', '2026-07-17 14:22:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402652 -2.736478)'), GeomFromEWKT('SRID=4674;POINT (-40.4026 -2.736583)'))) / (select extract(epoch from '2026-07-17 14:22:38'::timestamp) - extract(epoch from '2026-07-17 14:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402652 -2.736478)'), GeomFromEWKT('SRID=4674;POINT (-40.4026 -2.736583)'))) / (select extract(epoch from '2026-07-17 14:22:38'::timestamp) - extract(epoch from '2026-07-17 14:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402532 -2.736687)', '2026-07-17 14:22:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4026 -2.736583)'), GeomFromEWKT('SRID=4674;POINT (-40.402532 -2.736687)'))) / (select extract(epoch from '2026-07-17 14:22:44'::timestamp) - extract(epoch from '2026-07-17 14:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4026 -2.736583)'), GeomFromEWKT('SRID=4674;POINT (-40.402532 -2.736687)'))) / (select extract(epoch from '2026-07-17 14:22:44'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.402443 -2.736796)', '2026-07-17 14:22:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402532 -2.736687)'), GeomFromEWKT('SRID=4674;POINT (-40.402443 -2.736796)'))) / (select extract(epoch from '2026-07-17 14:22:51'::timestamp) - extract(epoch from '2026-07-17 14:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402532 -2.736687)'), GeomFromEWKT('SRID=4674;POINT (-40.402443 -2.736796)'))) / (select extract(epoch from '2026-07-17 14:22:51'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.402385 -2.736898)', '2026-07-17 14:22:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402443 -2.736796)'), GeomFromEWKT('SRID=4674;POINT (-40.402385 -2.736898)'))) / (select extract(epoch from '2026-07-17 14:22:57'::timestamp) - extract(epoch from '2026-07-17 14:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402443 -2.736796)'), GeomFromEWKT('SRID=4674;POINT (-40.402385 -2.736898)'))) / (select extract(epoch from '2026-07-17 14:22:57'::timestamp) - extract(epoch from '2026-07-17 14:22: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'), 47831, 'SRID=4674;POINT (-40.402323 -2.73701)', '2026-07-17 14:23:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402385 -2.736898)'), GeomFromEWKT('SRID=4674;POINT (-40.402323 -2.73701)'))) / (select extract(epoch from '2026-07-17 14:23:04'::timestamp) - extract(epoch from '2026-07-17 14:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402385 -2.736898)'), GeomFromEWKT('SRID=4674;POINT (-40.402323 -2.73701)'))) / (select extract(epoch from '2026-07-17 14:23:04'::timestamp) - extract(epoch from '2026-07-17 14:22: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'), 47831, 'SRID=4674;POINT (-40.402275 -2.73713)', '2026-07-17 14:23:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402323 -2.73701)'), GeomFromEWKT('SRID=4674;POINT (-40.402275 -2.73713)'))) / (select extract(epoch from '2026-07-17 14:23:10'::timestamp) - extract(epoch from '2026-07-17 14:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402323 -2.73701)'), GeomFromEWKT('SRID=4674;POINT (-40.402275 -2.73713)'))) / (select extract(epoch from '2026-07-17 14:23:10'::timestamp) - extract(epoch from '2026-07-17 14:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402214 -2.737275)', '2026-07-17 14:23:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402275 -2.73713)'), GeomFromEWKT('SRID=4674;POINT (-40.402214 -2.737275)'))) / (select extract(epoch from '2026-07-17 14:23:17'::timestamp) - extract(epoch from '2026-07-17 14:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402275 -2.73713)'), GeomFromEWKT('SRID=4674;POINT (-40.402214 -2.737275)'))) / (select extract(epoch from '2026-07-17 14:23:17'::timestamp) - extract(epoch from '2026-07-17 14:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402143 -2.737407)', '2026-07-17 14:23:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402214 -2.737275)'), GeomFromEWKT('SRID=4674;POINT (-40.402143 -2.737407)'))) / (select extract(epoch from '2026-07-17 14:23:24'::timestamp) - extract(epoch from '2026-07-17 14:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402214 -2.737275)'), GeomFromEWKT('SRID=4674;POINT (-40.402143 -2.737407)'))) / (select extract(epoch from '2026-07-17 14:23:24'::timestamp) - extract(epoch from '2026-07-17 14:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402081 -2.737501)', '2026-07-17 14:23:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402143 -2.737407)'), GeomFromEWKT('SRID=4674;POINT (-40.402081 -2.737501)'))) / (select extract(epoch from '2026-07-17 14:23:30'::timestamp) - extract(epoch from '2026-07-17 14:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402143 -2.737407)'), GeomFromEWKT('SRID=4674;POINT (-40.402081 -2.737501)'))) / (select extract(epoch from '2026-07-17 14:23:30'::timestamp) - extract(epoch from '2026-07-17 14:23: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'), 47831, 'SRID=4674;POINT (-40.401991 -2.73769)', '2026-07-17 14:23:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402081 -2.737501)'), GeomFromEWKT('SRID=4674;POINT (-40.401991 -2.73769)'))) / (select extract(epoch from '2026-07-17 14:23:39'::timestamp) - extract(epoch from '2026-07-17 14:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402081 -2.737501)'), GeomFromEWKT('SRID=4674;POINT (-40.401991 -2.73769)'))) / (select extract(epoch from '2026-07-17 14:23:39'::timestamp) - extract(epoch from '2026-07-17 14:23: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'), 47831, 'SRID=4674;POINT (-40.401941 -2.737829)', '2026-07-17 14:23:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401991 -2.73769)'), GeomFromEWKT('SRID=4674;POINT (-40.401941 -2.737829)'))) / (select extract(epoch from '2026-07-17 14:23:46'::timestamp) - extract(epoch from '2026-07-17 14:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401991 -2.73769)'), GeomFromEWKT('SRID=4674;POINT (-40.401941 -2.737829)'))) / (select extract(epoch from '2026-07-17 14:23:46'::timestamp) - extract(epoch from '2026-07-17 14:23:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401864 -2.737995)', '2026-07-17 14:23:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401941 -2.737829)'), GeomFromEWKT('SRID=4674;POINT (-40.401864 -2.737995)'))) / (select extract(epoch from '2026-07-17 14:23:55'::timestamp) - extract(epoch from '2026-07-17 14:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401941 -2.737829)'), GeomFromEWKT('SRID=4674;POINT (-40.401864 -2.737995)'))) / (select extract(epoch from '2026-07-17 14:23:55'::timestamp) - extract(epoch from '2026-07-17 14:23: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'), 47831, 'SRID=4674;POINT (-40.401808 -2.738095)', '2026-07-17 14:24:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401864 -2.737995)'), GeomFromEWKT('SRID=4674;POINT (-40.401808 -2.738095)'))) / (select extract(epoch from '2026-07-17 14:24:01'::timestamp) - extract(epoch from '2026-07-17 14:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401864 -2.737995)'), GeomFromEWKT('SRID=4674;POINT (-40.401808 -2.738095)'))) / (select extract(epoch from '2026-07-17 14:24:01'::timestamp) - extract(epoch from '2026-07-17 14:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401746 -2.738191)', '2026-07-17 14:24:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401808 -2.738095)'), GeomFromEWKT('SRID=4674;POINT (-40.401746 -2.738191)'))) / (select extract(epoch from '2026-07-17 14:24:07'::timestamp) - extract(epoch from '2026-07-17 14:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401808 -2.738095)'), GeomFromEWKT('SRID=4674;POINT (-40.401746 -2.738191)'))) / (select extract(epoch from '2026-07-17 14:24:07'::timestamp) - extract(epoch from '2026-07-17 14:24: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'), 47831, 'SRID=4674;POINT (-40.401677 -2.738312)', '2026-07-17 14:24:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401746 -2.738191)'), GeomFromEWKT('SRID=4674;POINT (-40.401677 -2.738312)'))) / (select extract(epoch from '2026-07-17 14:24:14'::timestamp) - extract(epoch from '2026-07-17 14:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401746 -2.738191)'), GeomFromEWKT('SRID=4674;POINT (-40.401677 -2.738312)'))) / (select extract(epoch from '2026-07-17 14:24:14'::timestamp) - extract(epoch from '2026-07-17 14:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401612 -2.738462)', '2026-07-17 14:24:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401677 -2.738312)'), GeomFromEWKT('SRID=4674;POINT (-40.401612 -2.738462)'))) / (select extract(epoch from '2026-07-17 14:24:21'::timestamp) - extract(epoch from '2026-07-17 14:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401677 -2.738312)'), GeomFromEWKT('SRID=4674;POINT (-40.401612 -2.738462)'))) / (select extract(epoch from '2026-07-17 14:24:21'::timestamp) - extract(epoch from '2026-07-17 14:24: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'), 47831, 'SRID=4674;POINT (-40.401557 -2.738582)', '2026-07-17 14:24:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401612 -2.738462)'), GeomFromEWKT('SRID=4674;POINT (-40.401557 -2.738582)'))) / (select extract(epoch from '2026-07-17 14:24:27'::timestamp) - extract(epoch from '2026-07-17 14:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401612 -2.738462)'), GeomFromEWKT('SRID=4674;POINT (-40.401557 -2.738582)'))) / (select extract(epoch from '2026-07-17 14:24:27'::timestamp) - extract(epoch from '2026-07-17 14:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401521 -2.73875)', '2026-07-17 14:24:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401557 -2.738582)'), GeomFromEWKT('SRID=4674;POINT (-40.401521 -2.73875)'))) / (select extract(epoch from '2026-07-17 14:24:34'::timestamp) - extract(epoch from '2026-07-17 14:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401557 -2.738582)'), GeomFromEWKT('SRID=4674;POINT (-40.401521 -2.73875)'))) / (select extract(epoch from '2026-07-17 14:24:34'::timestamp) - extract(epoch from '2026-07-17 14:24: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'), 47831, 'SRID=4674;POINT (-40.401434 -2.738907)', '2026-07-17 14:24:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401521 -2.73875)'), GeomFromEWKT('SRID=4674;POINT (-40.401434 -2.738907)'))) / (select extract(epoch from '2026-07-17 14:24:43'::timestamp) - extract(epoch from '2026-07-17 14:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401521 -2.73875)'), GeomFromEWKT('SRID=4674;POINT (-40.401434 -2.738907)'))) / (select extract(epoch from '2026-07-17 14:24:43'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.401398 -2.739048)', '2026-07-17 14:24:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401434 -2.738907)'), GeomFromEWKT('SRID=4674;POINT (-40.401398 -2.739048)'))) / (select extract(epoch from '2026-07-17 14:24:50'::timestamp) - extract(epoch from '2026-07-17 14:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401434 -2.738907)'), GeomFromEWKT('SRID=4674;POINT (-40.401398 -2.739048)'))) / (select extract(epoch from '2026-07-17 14:24:50'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.401367 -2.739171)', '2026-07-17 14:24:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401398 -2.739048)'), GeomFromEWKT('SRID=4674;POINT (-40.401367 -2.739171)'))) / (select extract(epoch from '2026-07-17 14:24:56'::timestamp) - extract(epoch from '2026-07-17 14:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401398 -2.739048)'), GeomFromEWKT('SRID=4674;POINT (-40.401367 -2.739171)'))) / (select extract(epoch from '2026-07-17 14:24:56'::timestamp) - extract(epoch from '2026-07-17 14:24: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'), 47831, 'SRID=4674;POINT (-40.401305 -2.739323)', '2026-07-17 14:25:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401367 -2.739171)'), GeomFromEWKT('SRID=4674;POINT (-40.401305 -2.739323)'))) / (select extract(epoch from '2026-07-17 14:25:04'::timestamp) - extract(epoch from '2026-07-17 14:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401367 -2.739171)'), GeomFromEWKT('SRID=4674;POINT (-40.401305 -2.739323)'))) / (select extract(epoch from '2026-07-17 14:25:04'::timestamp) - extract(epoch from '2026-07-17 14:24: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'), 47831, 'SRID=4674;POINT (-40.401213 -2.739445)', '2026-07-17 14:25:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401305 -2.739323)'), GeomFromEWKT('SRID=4674;POINT (-40.401213 -2.739445)'))) / (select extract(epoch from '2026-07-17 14:25:11'::timestamp) - extract(epoch from '2026-07-17 14:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401305 -2.739323)'), GeomFromEWKT('SRID=4674;POINT (-40.401213 -2.739445)'))) / (select extract(epoch from '2026-07-17 14:25:11'::timestamp) - extract(epoch from '2026-07-17 14:25: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'), 47831, 'SRID=4674;POINT (-40.401126 -2.739569)', '2026-07-17 14:25:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401213 -2.739445)'), GeomFromEWKT('SRID=4674;POINT (-40.401126 -2.739569)'))) / (select extract(epoch from '2026-07-17 14:25:18'::timestamp) - extract(epoch from '2026-07-17 14:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401213 -2.739445)'), GeomFromEWKT('SRID=4674;POINT (-40.401126 -2.739569)'))) / (select extract(epoch from '2026-07-17 14:25:18'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.401055 -2.739681)', '2026-07-17 14:25:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401126 -2.739569)'), GeomFromEWKT('SRID=4674;POINT (-40.401055 -2.739681)'))) / (select extract(epoch from '2026-07-17 14:25:25'::timestamp) - extract(epoch from '2026-07-17 14:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401126 -2.739569)'), GeomFromEWKT('SRID=4674;POINT (-40.401055 -2.739681)'))) / (select extract(epoch from '2026-07-17 14:25:25'::timestamp) - extract(epoch from '2026-07-17 14:25: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'), 47831, 'SRID=4674;POINT (-40.40096 -2.739775)', '2026-07-17 14:25:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401055 -2.739681)'), GeomFromEWKT('SRID=4674;POINT (-40.40096 -2.739775)'))) / (select extract(epoch from '2026-07-17 14:25:32'::timestamp) - extract(epoch from '2026-07-17 14:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401055 -2.739681)'), GeomFromEWKT('SRID=4674;POINT (-40.40096 -2.739775)'))) / (select extract(epoch from '2026-07-17 14:25:32'::timestamp) - extract(epoch from '2026-07-17 14:25: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'), 47831, 'SRID=4674;POINT (-40.400884 -2.739894)', '2026-07-17 14:25:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40096 -2.739775)'), GeomFromEWKT('SRID=4674;POINT (-40.400884 -2.739894)'))) / (select extract(epoch from '2026-07-17 14:25:39'::timestamp) - extract(epoch from '2026-07-17 14:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40096 -2.739775)'), GeomFromEWKT('SRID=4674;POINT (-40.400884 -2.739894)'))) / (select extract(epoch from '2026-07-17 14:25:39'::timestamp) - extract(epoch from '2026-07-17 14:25: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'), 47831, 'SRID=4674;POINT (-40.40083 -2.740024)', '2026-07-17 14:25:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400884 -2.739894)'), GeomFromEWKT('SRID=4674;POINT (-40.40083 -2.740024)'))) / (select extract(epoch from '2026-07-17 14:25:46'::timestamp) - extract(epoch from '2026-07-17 14:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400884 -2.739894)'), GeomFromEWKT('SRID=4674;POINT (-40.40083 -2.740024)'))) / (select extract(epoch from '2026-07-17 14:25:46'::timestamp) - extract(epoch from '2026-07-17 14:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400774 -2.740131)', '2026-07-17 14:25:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40083 -2.740024)'), GeomFromEWKT('SRID=4674;POINT (-40.400774 -2.740131)'))) / (select extract(epoch from '2026-07-17 14:25:52'::timestamp) - extract(epoch from '2026-07-17 14:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40083 -2.740024)'), GeomFromEWKT('SRID=4674;POINT (-40.400774 -2.740131)'))) / (select extract(epoch from '2026-07-17 14:25:52'::timestamp) - extract(epoch from '2026-07-17 14:25: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'), 47831, 'SRID=4674;POINT (-40.400697 -2.740271)', '2026-07-17 14:26:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400774 -2.740131)'), GeomFromEWKT('SRID=4674;POINT (-40.400697 -2.740271)'))) / (select extract(epoch from '2026-07-17 14:26:00'::timestamp) - extract(epoch from '2026-07-17 14:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400774 -2.740131)'), GeomFromEWKT('SRID=4674;POINT (-40.400697 -2.740271)'))) / (select extract(epoch from '2026-07-17 14:26:00'::timestamp) - extract(epoch from '2026-07-17 14:25: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'), 47831, 'SRID=4674;POINT (-40.400629 -2.740389)', '2026-07-17 14:26:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400697 -2.740271)'), GeomFromEWKT('SRID=4674;POINT (-40.400629 -2.740389)'))) / (select extract(epoch from '2026-07-17 14:26:06'::timestamp) - extract(epoch from '2026-07-17 14:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400697 -2.740271)'), GeomFromEWKT('SRID=4674;POINT (-40.400629 -2.740389)'))) / (select extract(epoch from '2026-07-17 14:26:06'::timestamp) - extract(epoch from '2026-07-17 14:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400537 -2.740544)', '2026-07-17 14:26:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400629 -2.740389)'), GeomFromEWKT('SRID=4674;POINT (-40.400537 -2.740544)'))) / (select extract(epoch from '2026-07-17 14:26:14'::timestamp) - extract(epoch from '2026-07-17 14:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400629 -2.740389)'), GeomFromEWKT('SRID=4674;POINT (-40.400537 -2.740544)'))) / (select extract(epoch from '2026-07-17 14:26:14'::timestamp) - extract(epoch from '2026-07-17 14:26: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'), 47831, 'SRID=4674;POINT (-40.40043 -2.740676)', '2026-07-17 14:26:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400537 -2.740544)'), GeomFromEWKT('SRID=4674;POINT (-40.40043 -2.740676)'))) / (select extract(epoch from '2026-07-17 14:26:23'::timestamp) - extract(epoch from '2026-07-17 14:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400537 -2.740544)'), GeomFromEWKT('SRID=4674;POINT (-40.40043 -2.740676)'))) / (select extract(epoch from '2026-07-17 14:26:23'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.400346 -2.740775)', '2026-07-17 14:26:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40043 -2.740676)'), GeomFromEWKT('SRID=4674;POINT (-40.400346 -2.740775)'))) / (select extract(epoch from '2026-07-17 14:26:30'::timestamp) - extract(epoch from '2026-07-17 14:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40043 -2.740676)'), GeomFromEWKT('SRID=4674;POINT (-40.400346 -2.740775)'))) / (select extract(epoch from '2026-07-17 14:26:30'::timestamp) - extract(epoch from '2026-07-17 14:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400268 -2.740859)', '2026-07-17 14:26:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400346 -2.740775)'), GeomFromEWKT('SRID=4674;POINT (-40.400268 -2.740859)'))) / (select extract(epoch from '2026-07-17 14:26:36'::timestamp) - extract(epoch from '2026-07-17 14:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400346 -2.740775)'), GeomFromEWKT('SRID=4674;POINT (-40.400268 -2.740859)'))) / (select extract(epoch from '2026-07-17 14:26:36'::timestamp) - extract(epoch from '2026-07-17 14:26: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'), 47831, 'SRID=4674;POINT (-40.400175 -2.740984)', '2026-07-17 14:26:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400268 -2.740859)'), GeomFromEWKT('SRID=4674;POINT (-40.400175 -2.740984)'))) / (select extract(epoch from '2026-07-17 14:26:44'::timestamp) - extract(epoch from '2026-07-17 14:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400268 -2.740859)'), GeomFromEWKT('SRID=4674;POINT (-40.400175 -2.740984)'))) / (select extract(epoch from '2026-07-17 14:26:44'::timestamp) - extract(epoch from '2026-07-17 14:26: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'), 47831, 'SRID=4674;POINT (-40.400054 -2.741135)', '2026-07-17 14:26:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400175 -2.740984)'), GeomFromEWKT('SRID=4674;POINT (-40.400054 -2.741135)'))) / (select extract(epoch from '2026-07-17 14:26:53'::timestamp) - extract(epoch from '2026-07-17 14:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400175 -2.740984)'), GeomFromEWKT('SRID=4674;POINT (-40.400054 -2.741135)'))) / (select extract(epoch from '2026-07-17 14:26:53'::timestamp) - extract(epoch from '2026-07-17 14:26: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'), 47831, 'SRID=4674;POINT (-40.399988 -2.74125)', '2026-07-17 14:26:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400054 -2.741135)'), GeomFromEWKT('SRID=4674;POINT (-40.399988 -2.74125)'))) / (select extract(epoch from '2026-07-17 14:26:59'::timestamp) - extract(epoch from '2026-07-17 14:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400054 -2.741135)'), GeomFromEWKT('SRID=4674;POINT (-40.399988 -2.74125)'))) / (select extract(epoch from '2026-07-17 14:26:59'::timestamp) - extract(epoch from '2026-07-17 14:26: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'), 47831, 'SRID=4674;POINT (-40.399927 -2.741348)', '2026-07-17 14:27:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399988 -2.74125)'), GeomFromEWKT('SRID=4674;POINT (-40.399927 -2.741348)'))) / (select extract(epoch from '2026-07-17 14:27:05'::timestamp) - extract(epoch from '2026-07-17 14:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399988 -2.74125)'), GeomFromEWKT('SRID=4674;POINT (-40.399927 -2.741348)'))) / (select extract(epoch from '2026-07-17 14:27:05'::timestamp) - extract(epoch from '2026-07-17 14:26: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'), 47831, 'SRID=4674;POINT (-40.39986 -2.741469)', '2026-07-17 14:27:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399927 -2.741348)'), GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.741469)'))) / (select extract(epoch from '2026-07-17 14:27:13'::timestamp) - extract(epoch from '2026-07-17 14:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399927 -2.741348)'), GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.741469)'))) / (select extract(epoch from '2026-07-17 14:27:13'::timestamp) - extract(epoch from '2026-07-17 14:27: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'), 47831, 'SRID=4674;POINT (-40.399798 -2.741548)', '2026-07-17 14:27:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.741469)'), GeomFromEWKT('SRID=4674;POINT (-40.399798 -2.741548)'))) / (select extract(epoch from '2026-07-17 14:27:19'::timestamp) - extract(epoch from '2026-07-17 14:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.741469)'), GeomFromEWKT('SRID=4674;POINT (-40.399798 -2.741548)'))) / (select extract(epoch from '2026-07-17 14:27:19'::timestamp) - extract(epoch from '2026-07-17 14:27: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'), 47831, 'SRID=4674;POINT (-40.399719 -2.74165)', '2026-07-17 14:27:26', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399798 -2.741548)'), GeomFromEWKT('SRID=4674;POINT (-40.399719 -2.74165)'))) / (select extract(epoch from '2026-07-17 14:27:26'::timestamp) - extract(epoch from '2026-07-17 14:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399798 -2.741548)'), GeomFromEWKT('SRID=4674;POINT (-40.399719 -2.74165)'))) / (select extract(epoch from '2026-07-17 14:27:26'::timestamp) - extract(epoch from '2026-07-17 14:27:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.399652 -2.741844)', '2026-07-17 14:27:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399719 -2.74165)'), GeomFromEWKT('SRID=4674;POINT (-40.399652 -2.741844)'))) / (select extract(epoch from '2026-07-17 14:27:35'::timestamp) - extract(epoch from '2026-07-17 14:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399719 -2.74165)'), GeomFromEWKT('SRID=4674;POINT (-40.399652 -2.741844)'))) / (select extract(epoch from '2026-07-17 14:27:35'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.399611 -2.741996)', '2026-07-17 14:27:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399652 -2.741844)'), GeomFromEWKT('SRID=4674;POINT (-40.399611 -2.741996)'))) / (select extract(epoch from '2026-07-17 14:27:42'::timestamp) - extract(epoch from '2026-07-17 14:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399652 -2.741844)'), GeomFromEWKT('SRID=4674;POINT (-40.399611 -2.741996)'))) / (select extract(epoch from '2026-07-17 14:27:42'::timestamp) - extract(epoch from '2026-07-17 14:27: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'), 47831, 'SRID=4674;POINT (-40.399547 -2.742105)', '2026-07-17 14:27:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399611 -2.741996)'), GeomFromEWKT('SRID=4674;POINT (-40.399547 -2.742105)'))) / (select extract(epoch from '2026-07-17 14:27:48'::timestamp) - extract(epoch from '2026-07-17 14:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399611 -2.741996)'), GeomFromEWKT('SRID=4674;POINT (-40.399547 -2.742105)'))) / (select extract(epoch from '2026-07-17 14:27:48'::timestamp) - extract(epoch from '2026-07-17 14:27: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'), 47831, 'SRID=4674;POINT (-40.399462 -2.742226)', '2026-07-17 14:27:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399547 -2.742105)'), GeomFromEWKT('SRID=4674;POINT (-40.399462 -2.742226)'))) / (select extract(epoch from '2026-07-17 14:27:56'::timestamp) - extract(epoch from '2026-07-17 14:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399547 -2.742105)'), GeomFromEWKT('SRID=4674;POINT (-40.399462 -2.742226)'))) / (select extract(epoch from '2026-07-17 14:27:56'::timestamp) - extract(epoch from '2026-07-17 14:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.399396 -2.742327)', '2026-07-17 14:28:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399462 -2.742226)'), GeomFromEWKT('SRID=4674;POINT (-40.399396 -2.742327)'))) / (select extract(epoch from '2026-07-17 14:28:02'::timestamp) - extract(epoch from '2026-07-17 14:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399462 -2.742226)'), GeomFromEWKT('SRID=4674;POINT (-40.399396 -2.742327)'))) / (select extract(epoch from '2026-07-17 14:28:02'::timestamp) - extract(epoch from '2026-07-17 14:27: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'), 47831, 'SRID=4674;POINT (-40.399335 -2.742442)', '2026-07-17 14:28:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399396 -2.742327)'), GeomFromEWKT('SRID=4674;POINT (-40.399335 -2.742442)'))) / (select extract(epoch from '2026-07-17 14:28:08'::timestamp) - extract(epoch from '2026-07-17 14:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399396 -2.742327)'), GeomFromEWKT('SRID=4674;POINT (-40.399335 -2.742442)'))) / (select extract(epoch from '2026-07-17 14:28:08'::timestamp) - extract(epoch from '2026-07-17 14:28: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'), 47831, 'SRID=4674;POINT (-40.39926 -2.742572)', '2026-07-17 14:28:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399335 -2.742442)'), GeomFromEWKT('SRID=4674;POINT (-40.39926 -2.742572)'))) / (select extract(epoch from '2026-07-17 14:28:15'::timestamp) - extract(epoch from '2026-07-17 14:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399335 -2.742442)'), GeomFromEWKT('SRID=4674;POINT (-40.39926 -2.742572)'))) / (select extract(epoch from '2026-07-17 14:28:15'::timestamp) - extract(epoch from '2026-07-17 14:28:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39922 -2.742676)', '2026-07-17 14:28:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39926 -2.742572)'), GeomFromEWKT('SRID=4674;POINT (-40.39922 -2.742676)'))) / (select extract(epoch from '2026-07-17 14:28:20'::timestamp) - extract(epoch from '2026-07-17 14:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39926 -2.742572)'), GeomFromEWKT('SRID=4674;POINT (-40.39922 -2.742676)'))) / (select extract(epoch from '2026-07-17 14:28:20'::timestamp) - extract(epoch from '2026-07-17 14:28:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.399185 -2.742771)', '2026-07-17 14:28:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39922 -2.742676)'), GeomFromEWKT('SRID=4674;POINT (-40.399185 -2.742771)'))) / (select extract(epoch from '2026-07-17 14:28:25'::timestamp) - extract(epoch from '2026-07-17 14:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39922 -2.742676)'), GeomFromEWKT('SRID=4674;POINT (-40.399185 -2.742771)'))) / (select extract(epoch from '2026-07-17 14:28:25'::timestamp) - extract(epoch from '2026-07-17 14:28: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'), 47831, 'SRID=4674;POINT (-40.399129 -2.742887)', '2026-07-17 14:28:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399185 -2.742771)'), GeomFromEWKT('SRID=4674;POINT (-40.399129 -2.742887)'))) / (select extract(epoch from '2026-07-17 14:28:31'::timestamp) - extract(epoch from '2026-07-17 14:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399185 -2.742771)'), GeomFromEWKT('SRID=4674;POINT (-40.399129 -2.742887)'))) / (select extract(epoch from '2026-07-17 14:28:31'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.399083 -2.742984)', '2026-07-17 14:28:36', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399129 -2.742887)'), GeomFromEWKT('SRID=4674;POINT (-40.399083 -2.742984)'))) / (select extract(epoch from '2026-07-17 14:28:36'::timestamp) - extract(epoch from '2026-07-17 14:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399129 -2.742887)'), GeomFromEWKT('SRID=4674;POINT (-40.399083 -2.742984)'))) / (select extract(epoch from '2026-07-17 14:28:36'::timestamp) - extract(epoch from '2026-07-17 14:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.399009 -2.743129)', '2026-07-17 14:28:44', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399083 -2.742984)'), GeomFromEWKT('SRID=4674;POINT (-40.399009 -2.743129)'))) / (select extract(epoch from '2026-07-17 14:28:44'::timestamp) - extract(epoch from '2026-07-17 14:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399083 -2.742984)'), GeomFromEWKT('SRID=4674;POINT (-40.399009 -2.743129)'))) / (select extract(epoch from '2026-07-17 14:28:44'::timestamp) - extract(epoch from '2026-07-17 14:28: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'), 47831, 'SRID=4674;POINT (-40.398946 -2.743258)', '2026-07-17 14:28:51', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399009 -2.743129)'), GeomFromEWKT('SRID=4674;POINT (-40.398946 -2.743258)'))) / (select extract(epoch from '2026-07-17 14:28:51'::timestamp) - extract(epoch from '2026-07-17 14:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399009 -2.743129)'), GeomFromEWKT('SRID=4674;POINT (-40.398946 -2.743258)'))) / (select extract(epoch from '2026-07-17 14:28:51'::timestamp) - extract(epoch from '2026-07-17 14:28: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'), 47831, 'SRID=4674;POINT (-40.398862 -2.743382)', '2026-07-17 14:28:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398946 -2.743258)'), GeomFromEWKT('SRID=4674;POINT (-40.398862 -2.743382)'))) / (select extract(epoch from '2026-07-17 14:28:58'::timestamp) - extract(epoch from '2026-07-17 14:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398946 -2.743258)'), GeomFromEWKT('SRID=4674;POINT (-40.398862 -2.743382)'))) / (select extract(epoch from '2026-07-17 14:28:58'::timestamp) - extract(epoch from '2026-07-17 14:28: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'), 47831, 'SRID=4674;POINT (-40.398777 -2.743524)', '2026-07-17 14:29:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398862 -2.743382)'), GeomFromEWKT('SRID=4674;POINT (-40.398777 -2.743524)'))) / (select extract(epoch from '2026-07-17 14:29:06'::timestamp) - extract(epoch from '2026-07-17 14:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398862 -2.743382)'), GeomFromEWKT('SRID=4674;POINT (-40.398777 -2.743524)'))) / (select extract(epoch from '2026-07-17 14:29:06'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.398655 -2.743639)', '2026-07-17 14:29:14', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398777 -2.743524)'), GeomFromEWKT('SRID=4674;POINT (-40.398655 -2.743639)'))) / (select extract(epoch from '2026-07-17 14:29:14'::timestamp) - extract(epoch from '2026-07-17 14:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398777 -2.743524)'), GeomFromEWKT('SRID=4674;POINT (-40.398655 -2.743639)'))) / (select extract(epoch from '2026-07-17 14:29:14'::timestamp) - extract(epoch from '2026-07-17 14:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.398584 -2.743735)', '2026-07-17 14:29:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398655 -2.743639)'), GeomFromEWKT('SRID=4674;POINT (-40.398584 -2.743735)'))) / (select extract(epoch from '2026-07-17 14:29:20'::timestamp) - extract(epoch from '2026-07-17 14:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398655 -2.743639)'), GeomFromEWKT('SRID=4674;POINT (-40.398584 -2.743735)'))) / (select extract(epoch from '2026-07-17 14:29:20'::timestamp) - extract(epoch from '2026-07-17 14:29: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'), 47831, 'SRID=4674;POINT (-40.398525 -2.743811)', '2026-07-17 14:29:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398584 -2.743735)'), GeomFromEWKT('SRID=4674;POINT (-40.398525 -2.743811)'))) / (select extract(epoch from '2026-07-17 14:29:26'::timestamp) - extract(epoch from '2026-07-17 14:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398584 -2.743735)'), GeomFromEWKT('SRID=4674;POINT (-40.398525 -2.743811)'))) / (select extract(epoch from '2026-07-17 14:29:26'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.398465 -2.743903)', '2026-07-17 14:29:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398525 -2.743811)'), GeomFromEWKT('SRID=4674;POINT (-40.398465 -2.743903)'))) / (select extract(epoch from '2026-07-17 14:29:33'::timestamp) - extract(epoch from '2026-07-17 14:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398525 -2.743811)'), GeomFromEWKT('SRID=4674;POINT (-40.398465 -2.743903)'))) / (select extract(epoch from '2026-07-17 14:29:33'::timestamp) - extract(epoch from '2026-07-17 14:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.398381 -2.744011)', '2026-07-17 14:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398465 -2.743903)'), GeomFromEWKT('SRID=4674;POINT (-40.398381 -2.744011)'))) / (select extract(epoch from '2026-07-17 14:29:40'::timestamp) - extract(epoch from '2026-07-17 14:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398465 -2.743903)'), GeomFromEWKT('SRID=4674;POINT (-40.398381 -2.744011)'))) / (select extract(epoch from '2026-07-17 14:29:40'::timestamp) - extract(epoch from '2026-07-17 14:29:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.398315 -2.744096)', '2026-07-17 14:29:46', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398381 -2.744011)'), GeomFromEWKT('SRID=4674;POINT (-40.398315 -2.744096)'))) / (select extract(epoch from '2026-07-17 14:29:46'::timestamp) - extract(epoch from '2026-07-17 14:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398381 -2.744011)'), GeomFromEWKT('SRID=4674;POINT (-40.398315 -2.744096)'))) / (select extract(epoch from '2026-07-17 14:29:46'::timestamp) - extract(epoch from '2026-07-17 14:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.398233 -2.744185)', '2026-07-17 14:29:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398315 -2.744096)'), GeomFromEWKT('SRID=4674;POINT (-40.398233 -2.744185)'))) / (select extract(epoch from '2026-07-17 14:29:53'::timestamp) - extract(epoch from '2026-07-17 14:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398315 -2.744096)'), GeomFromEWKT('SRID=4674;POINT (-40.398233 -2.744185)'))) / (select extract(epoch from '2026-07-17 14:29:53'::timestamp) - extract(epoch from '2026-07-17 14:29:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39813 -2.744273)', '2026-07-17 14:30:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398233 -2.744185)'), GeomFromEWKT('SRID=4674;POINT (-40.39813 -2.744273)'))) / (select extract(epoch from '2026-07-17 14:30:00'::timestamp) - extract(epoch from '2026-07-17 14:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398233 -2.744185)'), GeomFromEWKT('SRID=4674;POINT (-40.39813 -2.744273)'))) / (select extract(epoch from '2026-07-17 14:30:00'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.39804 -2.744342)', '2026-07-17 14:30:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39813 -2.744273)'), GeomFromEWKT('SRID=4674;POINT (-40.39804 -2.744342)'))) / (select extract(epoch from '2026-07-17 14:30:06'::timestamp) - extract(epoch from '2026-07-17 14:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39813 -2.744273)'), GeomFromEWKT('SRID=4674;POINT (-40.39804 -2.744342)'))) / (select extract(epoch from '2026-07-17 14:30:06'::timestamp) - extract(epoch from '2026-07-17 14:30: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'), 47831, 'SRID=4674;POINT (-40.39796 -2.74444)', '2026-07-17 14:30:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39804 -2.744342)'), GeomFromEWKT('SRID=4674;POINT (-40.39796 -2.74444)'))) / (select extract(epoch from '2026-07-17 14:30:13'::timestamp) - extract(epoch from '2026-07-17 14:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39804 -2.744342)'), GeomFromEWKT('SRID=4674;POINT (-40.39796 -2.74444)'))) / (select extract(epoch from '2026-07-17 14:30:13'::timestamp) - extract(epoch from '2026-07-17 14:30: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'), 47831, 'SRID=4674;POINT (-40.397886 -2.744522)', '2026-07-17 14:30:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39796 -2.74444)'), GeomFromEWKT('SRID=4674;POINT (-40.397886 -2.744522)'))) / (select extract(epoch from '2026-07-17 14:30:19'::timestamp) - extract(epoch from '2026-07-17 14:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39796 -2.74444)'), GeomFromEWKT('SRID=4674;POINT (-40.397886 -2.744522)'))) / (select extract(epoch from '2026-07-17 14:30:19'::timestamp) - extract(epoch from '2026-07-17 14:30: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'), 47831, 'SRID=4674;POINT (-40.397797 -2.744689)', '2026-07-17 14:30:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397886 -2.744522)'), GeomFromEWKT('SRID=4674;POINT (-40.397797 -2.744689)'))) / (select extract(epoch from '2026-07-17 14:30:28'::timestamp) - extract(epoch from '2026-07-17 14:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397886 -2.744522)'), GeomFromEWKT('SRID=4674;POINT (-40.397797 -2.744689)'))) / (select extract(epoch from '2026-07-17 14:30:28'::timestamp) - extract(epoch from '2026-07-17 14:30: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'), 47831, 'SRID=4674;POINT (-40.397724 -2.744855)', '2026-07-17 14:30:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397797 -2.744689)'), GeomFromEWKT('SRID=4674;POINT (-40.397724 -2.744855)'))) / (select extract(epoch from '2026-07-17 14:30:36'::timestamp) - extract(epoch from '2026-07-17 14:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397797 -2.744689)'), GeomFromEWKT('SRID=4674;POINT (-40.397724 -2.744855)'))) / (select extract(epoch from '2026-07-17 14:30:36'::timestamp) - extract(epoch from '2026-07-17 14:30: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'), 47831, 'SRID=4674;POINT (-40.397637 -2.745024)', '2026-07-17 14:30:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397724 -2.744855)'), GeomFromEWKT('SRID=4674;POINT (-40.397637 -2.745024)'))) / (select extract(epoch from '2026-07-17 14:30:45'::timestamp) - extract(epoch from '2026-07-17 14:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397724 -2.744855)'), GeomFromEWKT('SRID=4674;POINT (-40.397637 -2.745024)'))) / (select extract(epoch from '2026-07-17 14:30:45'::timestamp) - extract(epoch from '2026-07-17 14:30:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.397607 -2.745174)', '2026-07-17 14:30:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397637 -2.745024)'), GeomFromEWKT('SRID=4674;POINT (-40.397607 -2.745174)'))) / (select extract(epoch from '2026-07-17 14:30:52'::timestamp) - extract(epoch from '2026-07-17 14:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397637 -2.745024)'), GeomFromEWKT('SRID=4674;POINT (-40.397607 -2.745174)'))) / (select extract(epoch from '2026-07-17 14:30:52'::timestamp) - extract(epoch from '2026-07-17 14:30: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'), 47831, 'SRID=4674;POINT (-40.397579 -2.74534)', '2026-07-17 14:30:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397607 -2.745174)'), GeomFromEWKT('SRID=4674;POINT (-40.397579 -2.74534)'))) / (select extract(epoch from '2026-07-17 14:30:59'::timestamp) - extract(epoch from '2026-07-17 14:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397607 -2.745174)'), GeomFromEWKT('SRID=4674;POINT (-40.397579 -2.74534)'))) / (select extract(epoch from '2026-07-17 14:30:59'::timestamp) - extract(epoch from '2026-07-17 14:30: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'), 47831, 'SRID=4674;POINT (-40.397572 -2.745495)', '2026-07-17 14:31:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397579 -2.74534)'), GeomFromEWKT('SRID=4674;POINT (-40.397572 -2.745495)'))) / (select extract(epoch from '2026-07-17 14:31:06'::timestamp) - extract(epoch from '2026-07-17 14:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397579 -2.74534)'), GeomFromEWKT('SRID=4674;POINT (-40.397572 -2.745495)'))) / (select extract(epoch from '2026-07-17 14:31:06'::timestamp) - extract(epoch from '2026-07-17 14:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.397573 -2.745664)', '2026-07-17 14:31:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397572 -2.745495)'), GeomFromEWKT('SRID=4674;POINT (-40.397573 -2.745664)'))) / (select extract(epoch from '2026-07-17 14:31:13'::timestamp) - extract(epoch from '2026-07-17 14:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397572 -2.745495)'), GeomFromEWKT('SRID=4674;POINT (-40.397573 -2.745664)'))) / (select extract(epoch from '2026-07-17 14:31:13'::timestamp) - extract(epoch from '2026-07-17 14:31: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'), 47831, 'SRID=4674;POINT (-40.397561 -2.7458)', '2026-07-17 14:31:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397573 -2.745664)'), GeomFromEWKT('SRID=4674;POINT (-40.397561 -2.7458)'))) / (select extract(epoch from '2026-07-17 14:31:19'::timestamp) - extract(epoch from '2026-07-17 14:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397573 -2.745664)'), GeomFromEWKT('SRID=4674;POINT (-40.397561 -2.7458)'))) / (select extract(epoch from '2026-07-17 14:31:19'::timestamp) - extract(epoch from '2026-07-17 14:31: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'), 47831, 'SRID=4674;POINT (-40.397513 -2.74592)', '2026-07-17 14:31:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397561 -2.7458)'), GeomFromEWKT('SRID=4674;POINT (-40.397513 -2.74592)'))) / (select extract(epoch from '2026-07-17 14:31:25'::timestamp) - extract(epoch from '2026-07-17 14:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397561 -2.7458)'), GeomFromEWKT('SRID=4674;POINT (-40.397513 -2.74592)'))) / (select extract(epoch from '2026-07-17 14:31:25'::timestamp) - extract(epoch from '2026-07-17 14:31: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'), 47831, 'SRID=4674;POINT (-40.397501 -2.746064)', '2026-07-17 14:31:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397513 -2.74592)'), GeomFromEWKT('SRID=4674;POINT (-40.397501 -2.746064)'))) / (select extract(epoch from '2026-07-17 14:31:31'::timestamp) - extract(epoch from '2026-07-17 14:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397513 -2.74592)'), GeomFromEWKT('SRID=4674;POINT (-40.397501 -2.746064)'))) / (select extract(epoch from '2026-07-17 14:31:31'::timestamp) - extract(epoch from '2026-07-17 14:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.397466 -2.746199)', '2026-07-17 14:31:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397501 -2.746064)'), GeomFromEWKT('SRID=4674;POINT (-40.397466 -2.746199)'))) / (select extract(epoch from '2026-07-17 14:31:37'::timestamp) - extract(epoch from '2026-07-17 14:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397501 -2.746064)'), GeomFromEWKT('SRID=4674;POINT (-40.397466 -2.746199)'))) / (select extract(epoch from '2026-07-17 14:31:37'::timestamp) - extract(epoch from '2026-07-17 14:31: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'), 47831, 'SRID=4674;POINT (-40.39742 -2.746375)', '2026-07-17 14:31:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397466 -2.746199)'), GeomFromEWKT('SRID=4674;POINT (-40.39742 -2.746375)'))) / (select extract(epoch from '2026-07-17 14:31:45'::timestamp) - extract(epoch from '2026-07-17 14:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397466 -2.746199)'), GeomFromEWKT('SRID=4674;POINT (-40.39742 -2.746375)'))) / (select extract(epoch from '2026-07-17 14:31:45'::timestamp) - extract(epoch from '2026-07-17 14:31: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'), 47831, 'SRID=4674;POINT (-40.397379 -2.746561)', '2026-07-17 14:31:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39742 -2.746375)'), GeomFromEWKT('SRID=4674;POINT (-40.397379 -2.746561)'))) / (select extract(epoch from '2026-07-17 14:31:53'::timestamp) - extract(epoch from '2026-07-17 14:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39742 -2.746375)'), GeomFromEWKT('SRID=4674;POINT (-40.397379 -2.746561)'))) / (select extract(epoch from '2026-07-17 14:31:53'::timestamp) - extract(epoch from '2026-07-17 14:31: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'), 47831, 'SRID=4674;POINT (-40.397314 -2.746704)', '2026-07-17 14:32:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397379 -2.746561)'), GeomFromEWKT('SRID=4674;POINT (-40.397314 -2.746704)'))) / (select extract(epoch from '2026-07-17 14:32:00'::timestamp) - extract(epoch from '2026-07-17 14:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397379 -2.746561)'), GeomFromEWKT('SRID=4674;POINT (-40.397314 -2.746704)'))) / (select extract(epoch from '2026-07-17 14:32:00'::timestamp) - extract(epoch from '2026-07-17 14:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.397251 -2.746842)', '2026-07-17 14:32:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397314 -2.746704)'), GeomFromEWKT('SRID=4674;POINT (-40.397251 -2.746842)'))) / (select extract(epoch from '2026-07-17 14:32:08'::timestamp) - extract(epoch from '2026-07-17 14:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397314 -2.746704)'), GeomFromEWKT('SRID=4674;POINT (-40.397251 -2.746842)'))) / (select extract(epoch from '2026-07-17 14:32:08'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.397175 -2.746961)', '2026-07-17 14:32:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397251 -2.746842)'), GeomFromEWKT('SRID=4674;POINT (-40.397175 -2.746961)'))) / (select extract(epoch from '2026-07-17 14:32:15'::timestamp) - extract(epoch from '2026-07-17 14:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397251 -2.746842)'), GeomFromEWKT('SRID=4674;POINT (-40.397175 -2.746961)'))) / (select extract(epoch from '2026-07-17 14:32:15'::timestamp) - extract(epoch from '2026-07-17 14:32: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'), 47831, 'SRID=4674;POINT (-40.397113 -2.747094)', '2026-07-17 14:32:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397175 -2.746961)'), GeomFromEWKT('SRID=4674;POINT (-40.397113 -2.747094)'))) / (select extract(epoch from '2026-07-17 14:32:22'::timestamp) - extract(epoch from '2026-07-17 14:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397175 -2.746961)'), GeomFromEWKT('SRID=4674;POINT (-40.397113 -2.747094)'))) / (select extract(epoch from '2026-07-17 14:32:22'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.397008 -2.74727)', '2026-07-17 14:32:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397113 -2.747094)'), GeomFromEWKT('SRID=4674;POINT (-40.397008 -2.74727)'))) / (select extract(epoch from '2026-07-17 14:32:31'::timestamp) - extract(epoch from '2026-07-17 14:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397113 -2.747094)'), GeomFromEWKT('SRID=4674;POINT (-40.397008 -2.74727)'))) / (select extract(epoch from '2026-07-17 14:32:31'::timestamp) - extract(epoch from '2026-07-17 14:32: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'), 47831, 'SRID=4674;POINT (-40.396919 -2.74741)', '2026-07-17 14:32:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397008 -2.74727)'), GeomFromEWKT('SRID=4674;POINT (-40.396919 -2.74741)'))) / (select extract(epoch from '2026-07-17 14:32:39'::timestamp) - extract(epoch from '2026-07-17 14:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397008 -2.74727)'), GeomFromEWKT('SRID=4674;POINT (-40.396919 -2.74741)'))) / (select extract(epoch from '2026-07-17 14:32:39'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.39687 -2.747521)', '2026-07-17 14:32:45', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396919 -2.74741)'), GeomFromEWKT('SRID=4674;POINT (-40.39687 -2.747521)'))) / (select extract(epoch from '2026-07-17 14:32:45'::timestamp) - extract(epoch from '2026-07-17 14:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396919 -2.74741)'), GeomFromEWKT('SRID=4674;POINT (-40.39687 -2.747521)'))) / (select extract(epoch from '2026-07-17 14:32:45'::timestamp) - extract(epoch from '2026-07-17 14:32: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'), 47831, 'SRID=4674;POINT (-40.396818 -2.747664)', '2026-07-17 14:32:52', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39687 -2.747521)'), GeomFromEWKT('SRID=4674;POINT (-40.396818 -2.747664)'))) / (select extract(epoch from '2026-07-17 14:32:52'::timestamp) - extract(epoch from '2026-07-17 14:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39687 -2.747521)'), GeomFromEWKT('SRID=4674;POINT (-40.396818 -2.747664)'))) / (select extract(epoch from '2026-07-17 14:32:52'::timestamp) - extract(epoch from '2026-07-17 14:32: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'), 47831, 'SRID=4674;POINT (-40.396757 -2.747792)', '2026-07-17 14:32:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396818 -2.747664)'), GeomFromEWKT('SRID=4674;POINT (-40.396757 -2.747792)'))) / (select extract(epoch from '2026-07-17 14:32:59'::timestamp) - extract(epoch from '2026-07-17 14:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396818 -2.747664)'), GeomFromEWKT('SRID=4674;POINT (-40.396757 -2.747792)'))) / (select extract(epoch from '2026-07-17 14:32:59'::timestamp) - extract(epoch from '2026-07-17 14:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.396696 -2.747906)', '2026-07-17 14:33:05', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396757 -2.747792)'), GeomFromEWKT('SRID=4674;POINT (-40.396696 -2.747906)'))) / (select extract(epoch from '2026-07-17 14:33:05'::timestamp) - extract(epoch from '2026-07-17 14:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396757 -2.747792)'), GeomFromEWKT('SRID=4674;POINT (-40.396696 -2.747906)'))) / (select extract(epoch from '2026-07-17 14:33:05'::timestamp) - extract(epoch from '2026-07-17 14:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.396619 -2.748034)', '2026-07-17 14:33:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396696 -2.747906)'), GeomFromEWKT('SRID=4674;POINT (-40.396619 -2.748034)'))) / (select extract(epoch from '2026-07-17 14:33:13'::timestamp) - extract(epoch from '2026-07-17 14:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396696 -2.747906)'), GeomFromEWKT('SRID=4674;POINT (-40.396619 -2.748034)'))) / (select extract(epoch from '2026-07-17 14:33:13'::timestamp) - extract(epoch from '2026-07-17 14:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.396492 -2.748163)', '2026-07-17 14:33:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396619 -2.748034)'), GeomFromEWKT('SRID=4674;POINT (-40.396492 -2.748163)'))) / (select extract(epoch from '2026-07-17 14:33:22'::timestamp) - extract(epoch from '2026-07-17 14:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396619 -2.748034)'), GeomFromEWKT('SRID=4674;POINT (-40.396492 -2.748163)'))) / (select extract(epoch from '2026-07-17 14:33:22'::timestamp) - extract(epoch from '2026-07-17 14:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39642 -2.748267)', '2026-07-17 14:33:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396492 -2.748163)'), GeomFromEWKT('SRID=4674;POINT (-40.39642 -2.748267)'))) / (select extract(epoch from '2026-07-17 14:33:28'::timestamp) - extract(epoch from '2026-07-17 14:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396492 -2.748163)'), GeomFromEWKT('SRID=4674;POINT (-40.39642 -2.748267)'))) / (select extract(epoch from '2026-07-17 14:33:28'::timestamp) - extract(epoch from '2026-07-17 14:33: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'), 47831, 'SRID=4674;POINT (-40.396358 -2.748379)', '2026-07-17 14:33:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39642 -2.748267)'), GeomFromEWKT('SRID=4674;POINT (-40.396358 -2.748379)'))) / (select extract(epoch from '2026-07-17 14:33:34'::timestamp) - extract(epoch from '2026-07-17 14:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39642 -2.748267)'), GeomFromEWKT('SRID=4674;POINT (-40.396358 -2.748379)'))) / (select extract(epoch from '2026-07-17 14:33:34'::timestamp) - extract(epoch from '2026-07-17 14:33:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.396268 -2.748501)', '2026-07-17 14:33:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396358 -2.748379)'), GeomFromEWKT('SRID=4674;POINT (-40.396268 -2.748501)'))) / (select extract(epoch from '2026-07-17 14:33:41'::timestamp) - extract(epoch from '2026-07-17 14:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396358 -2.748379)'), GeomFromEWKT('SRID=4674;POINT (-40.396268 -2.748501)'))) / (select extract(epoch from '2026-07-17 14:33:41'::timestamp) - extract(epoch from '2026-07-17 14:33: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'), 47831, 'SRID=4674;POINT (-40.396195 -2.748608)', '2026-07-17 14:33:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396268 -2.748501)'), GeomFromEWKT('SRID=4674;POINT (-40.396195 -2.748608)'))) / (select extract(epoch from '2026-07-17 14:33:47'::timestamp) - extract(epoch from '2026-07-17 14:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396268 -2.748501)'), GeomFromEWKT('SRID=4674;POINT (-40.396195 -2.748608)'))) / (select extract(epoch from '2026-07-17 14:33:47'::timestamp) - extract(epoch from '2026-07-17 14:33: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'), 47831, 'SRID=4674;POINT (-40.3961 -2.74874)', '2026-07-17 14:33:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396195 -2.748608)'), GeomFromEWKT('SRID=4674;POINT (-40.3961 -2.74874)'))) / (select extract(epoch from '2026-07-17 14:33:55'::timestamp) - extract(epoch from '2026-07-17 14:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396195 -2.748608)'), GeomFromEWKT('SRID=4674;POINT (-40.3961 -2.74874)'))) / (select extract(epoch from '2026-07-17 14:33:55'::timestamp) - extract(epoch from '2026-07-17 14:33: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'), 47831, 'SRID=4674;POINT (-40.396006 -2.748861)', '2026-07-17 14:34:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3961 -2.74874)'), GeomFromEWKT('SRID=4674;POINT (-40.396006 -2.748861)'))) / (select extract(epoch from '2026-07-17 14:34:02'::timestamp) - extract(epoch from '2026-07-17 14:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3961 -2.74874)'), GeomFromEWKT('SRID=4674;POINT (-40.396006 -2.748861)'))) / (select extract(epoch from '2026-07-17 14:34:02'::timestamp) - extract(epoch from '2026-07-17 14:33: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'), 47831, 'SRID=4674;POINT (-40.395937 -2.74895)', '2026-07-17 14:34:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396006 -2.748861)'), GeomFromEWKT('SRID=4674;POINT (-40.395937 -2.74895)'))) / (select extract(epoch from '2026-07-17 14:34:08'::timestamp) - extract(epoch from '2026-07-17 14:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396006 -2.748861)'), GeomFromEWKT('SRID=4674;POINT (-40.395937 -2.74895)'))) / (select extract(epoch from '2026-07-17 14:34:08'::timestamp) - extract(epoch from '2026-07-17 14:34: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'), 47831, 'SRID=4674;POINT (-40.39582 -2.749027)', '2026-07-17 14:34:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395937 -2.74895)'), GeomFromEWKT('SRID=4674;POINT (-40.39582 -2.749027)'))) / (select extract(epoch from '2026-07-17 14:34:16'::timestamp) - extract(epoch from '2026-07-17 14:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395937 -2.74895)'), GeomFromEWKT('SRID=4674;POINT (-40.39582 -2.749027)'))) / (select extract(epoch from '2026-07-17 14:34:16'::timestamp) - extract(epoch from '2026-07-17 14:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39572 -2.749089)', '2026-07-17 14:34:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39582 -2.749027)'), GeomFromEWKT('SRID=4674;POINT (-40.39572 -2.749089)'))) / (select extract(epoch from '2026-07-17 14:34:23'::timestamp) - extract(epoch from '2026-07-17 14:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39582 -2.749027)'), GeomFromEWKT('SRID=4674;POINT (-40.39572 -2.749089)'))) / (select extract(epoch from '2026-07-17 14:34:23'::timestamp) - extract(epoch from '2026-07-17 14:34: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'), 47831, 'SRID=4674;POINT (-40.39557 -2.749186)', '2026-07-17 14:34:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39572 -2.749089)'), GeomFromEWKT('SRID=4674;POINT (-40.39557 -2.749186)'))) / (select extract(epoch from '2026-07-17 14:34:32'::timestamp) - extract(epoch from '2026-07-17 14:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39572 -2.749089)'), GeomFromEWKT('SRID=4674;POINT (-40.39557 -2.749186)'))) / (select extract(epoch from '2026-07-17 14:34:32'::timestamp) - extract(epoch from '2026-07-17 14:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.395488 -2.749268)', '2026-07-17 14:34:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39557 -2.749186)'), GeomFromEWKT('SRID=4674;POINT (-40.395488 -2.749268)'))) / (select extract(epoch from '2026-07-17 14:34:38'::timestamp) - extract(epoch from '2026-07-17 14:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39557 -2.749186)'), GeomFromEWKT('SRID=4674;POINT (-40.395488 -2.749268)'))) / (select extract(epoch from '2026-07-17 14:34:38'::timestamp) - extract(epoch from '2026-07-17 14:34: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'), 47831, 'SRID=4674;POINT (-40.395399 -2.749348)', '2026-07-17 14:34:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395488 -2.749268)'), GeomFromEWKT('SRID=4674;POINT (-40.395399 -2.749348)'))) / (select extract(epoch from '2026-07-17 14:34:45'::timestamp) - extract(epoch from '2026-07-17 14:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395488 -2.749268)'), GeomFromEWKT('SRID=4674;POINT (-40.395399 -2.749348)'))) / (select extract(epoch from '2026-07-17 14:34:45'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.395321 -2.749431)', '2026-07-17 14:34:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395399 -2.749348)'), GeomFromEWKT('SRID=4674;POINT (-40.395321 -2.749431)'))) / (select extract(epoch from '2026-07-17 14:34:52'::timestamp) - extract(epoch from '2026-07-17 14:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395399 -2.749348)'), GeomFromEWKT('SRID=4674;POINT (-40.395321 -2.749431)'))) / (select extract(epoch from '2026-07-17 14:34:52'::timestamp) - extract(epoch from '2026-07-17 14:34: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'), 47831, 'SRID=4674;POINT (-40.39526 -2.749529)', '2026-07-17 14:34:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395321 -2.749431)'), GeomFromEWKT('SRID=4674;POINT (-40.39526 -2.749529)'))) / (select extract(epoch from '2026-07-17 14:34:58'::timestamp) - extract(epoch from '2026-07-17 14:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395321 -2.749431)'), GeomFromEWKT('SRID=4674;POINT (-40.39526 -2.749529)'))) / (select extract(epoch from '2026-07-17 14:34:58'::timestamp) - extract(epoch from '2026-07-17 14:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.395172 -2.749626)', '2026-07-17 14:35:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39526 -2.749529)'), GeomFromEWKT('SRID=4674;POINT (-40.395172 -2.749626)'))) / (select extract(epoch from '2026-07-17 14:35:05'::timestamp) - extract(epoch from '2026-07-17 14:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39526 -2.749529)'), GeomFromEWKT('SRID=4674;POINT (-40.395172 -2.749626)'))) / (select extract(epoch from '2026-07-17 14:35:05'::timestamp) - extract(epoch from '2026-07-17 14:34: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'), 47831, 'SRID=4674;POINT (-40.395103 -2.749683)', '2026-07-17 14:35:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395172 -2.749626)'), GeomFromEWKT('SRID=4674;POINT (-40.395103 -2.749683)'))) / (select extract(epoch from '2026-07-17 14:35:10'::timestamp) - extract(epoch from '2026-07-17 14:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395172 -2.749626)'), GeomFromEWKT('SRID=4674;POINT (-40.395103 -2.749683)'))) / (select extract(epoch from '2026-07-17 14:35:10'::timestamp) - extract(epoch from '2026-07-17 14:35: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'), 47831, 'SRID=4674;POINT (-40.395031 -2.749758)', '2026-07-17 14:35:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395103 -2.749683)'), GeomFromEWKT('SRID=4674;POINT (-40.395031 -2.749758)'))) / (select extract(epoch from '2026-07-17 14:35:16'::timestamp) - extract(epoch from '2026-07-17 14:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395103 -2.749683)'), GeomFromEWKT('SRID=4674;POINT (-40.395031 -2.749758)'))) / (select extract(epoch from '2026-07-17 14:35:16'::timestamp) - extract(epoch from '2026-07-17 14:35:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.394948 -2.749851)', '2026-07-17 14:35:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395031 -2.749758)'), GeomFromEWKT('SRID=4674;POINT (-40.394948 -2.749851)'))) / (select extract(epoch from '2026-07-17 14:35:23'::timestamp) - extract(epoch from '2026-07-17 14:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395031 -2.749758)'), GeomFromEWKT('SRID=4674;POINT (-40.394948 -2.749851)'))) / (select extract(epoch from '2026-07-17 14:35:23'::timestamp) - extract(epoch from '2026-07-17 14:35: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'), 47831, 'SRID=4674;POINT (-40.394845 -2.749984)', '2026-07-17 14:35:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394948 -2.749851)'), GeomFromEWKT('SRID=4674;POINT (-40.394845 -2.749984)'))) / (select extract(epoch from '2026-07-17 14:35:31'::timestamp) - extract(epoch from '2026-07-17 14:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394948 -2.749851)'), GeomFromEWKT('SRID=4674;POINT (-40.394845 -2.749984)'))) / (select extract(epoch from '2026-07-17 14:35:31'::timestamp) - extract(epoch from '2026-07-17 14:35: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'), 47831, 'SRID=4674;POINT (-40.394797 -2.750119)', '2026-07-17 14:35:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394845 -2.749984)'), GeomFromEWKT('SRID=4674;POINT (-40.394797 -2.750119)'))) / (select extract(epoch from '2026-07-17 14:35:38'::timestamp) - extract(epoch from '2026-07-17 14:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394845 -2.749984)'), GeomFromEWKT('SRID=4674;POINT (-40.394797 -2.750119)'))) / (select extract(epoch from '2026-07-17 14:35:38'::timestamp) - extract(epoch from '2026-07-17 14:35: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'), 47831, 'SRID=4674;POINT (-40.394706 -2.75024)', '2026-07-17 14:35:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394797 -2.750119)'), GeomFromEWKT('SRID=4674;POINT (-40.394706 -2.75024)'))) / (select extract(epoch from '2026-07-17 14:35:46'::timestamp) - extract(epoch from '2026-07-17 14:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394797 -2.750119)'), GeomFromEWKT('SRID=4674;POINT (-40.394706 -2.75024)'))) / (select extract(epoch from '2026-07-17 14:35:46'::timestamp) - extract(epoch from '2026-07-17 14:35: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'), 47831, 'SRID=4674;POINT (-40.394614 -2.750343)', '2026-07-17 14:35:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394706 -2.75024)'), GeomFromEWKT('SRID=4674;POINT (-40.394614 -2.750343)'))) / (select extract(epoch from '2026-07-17 14:35:54'::timestamp) - extract(epoch from '2026-07-17 14:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394706 -2.75024)'), GeomFromEWKT('SRID=4674;POINT (-40.394614 -2.750343)'))) / (select extract(epoch from '2026-07-17 14:35:54'::timestamp) - extract(epoch from '2026-07-17 14:35: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'), 47831, 'SRID=4674;POINT (-40.39452 -2.750408)', '2026-07-17 14:36:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394614 -2.750343)'), GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.750408)'))) / (select extract(epoch from '2026-07-17 14:36:00'::timestamp) - extract(epoch from '2026-07-17 14:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394614 -2.750343)'), GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.750408)'))) / (select extract(epoch from '2026-07-17 14:36:00'::timestamp) - extract(epoch from '2026-07-17 14:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.394391 -2.750514)', '2026-07-17 14:36:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.750408)'), GeomFromEWKT('SRID=4674;POINT (-40.394391 -2.750514)'))) / (select extract(epoch from '2026-07-17 14:36:08'::timestamp) - extract(epoch from '2026-07-17 14:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.750408)'), GeomFromEWKT('SRID=4674;POINT (-40.394391 -2.750514)'))) / (select extract(epoch from '2026-07-17 14:36:08'::timestamp) - extract(epoch from '2026-07-17 14:36: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'), 47831, 'SRID=4674;POINT (-40.394345 -2.750652)', '2026-07-17 14:36:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394391 -2.750514)'), GeomFromEWKT('SRID=4674;POINT (-40.394345 -2.750652)'))) / (select extract(epoch from '2026-07-17 14:36:15'::timestamp) - extract(epoch from '2026-07-17 14:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394391 -2.750514)'), GeomFromEWKT('SRID=4674;POINT (-40.394345 -2.750652)'))) / (select extract(epoch from '2026-07-17 14:36:15'::timestamp) - extract(epoch from '2026-07-17 14:36: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'), 47831, 'SRID=4674;POINT (-40.394303 -2.750763)', '2026-07-17 14:36:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394345 -2.750652)'), GeomFromEWKT('SRID=4674;POINT (-40.394303 -2.750763)'))) / (select extract(epoch from '2026-07-17 14:36:20'::timestamp) - extract(epoch from '2026-07-17 14:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394345 -2.750652)'), GeomFromEWKT('SRID=4674;POINT (-40.394303 -2.750763)'))) / (select extract(epoch from '2026-07-17 14:36:20'::timestamp) - extract(epoch from '2026-07-17 14:36: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'), 47831, 'SRID=4674;POINT (-40.394276 -2.75081)', '2026-07-17 14:36:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394303 -2.750763)'), GeomFromEWKT('SRID=4674;POINT (-40.394276 -2.75081)'))) / (select extract(epoch from '2026-07-17 14:36:23'::timestamp) - extract(epoch from '2026-07-17 14:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394303 -2.750763)'), GeomFromEWKT('SRID=4674;POINT (-40.394276 -2.75081)'))) / (select extract(epoch from '2026-07-17 14:36:23'::timestamp) - extract(epoch from '2026-07-17 14:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.394253 -2.750834)', '2026-07-17 14:36:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394276 -2.75081)'), GeomFromEWKT('SRID=4674;POINT (-40.394253 -2.750834)'))) / (select extract(epoch from '2026-07-17 14:36:25'::timestamp) - extract(epoch from '2026-07-17 14:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394276 -2.75081)'), GeomFromEWKT('SRID=4674;POINT (-40.394253 -2.750834)'))) / (select extract(epoch from '2026-07-17 14:36:25'::timestamp) - extract(epoch from '2026-07-17 14:36: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'), 47831, 'SRID=4674;POINT (-40.394165 -2.750919)', '2026-07-17 14:36:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394253 -2.750834)'), GeomFromEWKT('SRID=4674;POINT (-40.394165 -2.750919)'))) / (select extract(epoch from '2026-07-17 14:36:31'::timestamp) - extract(epoch from '2026-07-17 14:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394253 -2.750834)'), GeomFromEWKT('SRID=4674;POINT (-40.394165 -2.750919)'))) / (select extract(epoch from '2026-07-17 14:36:31'::timestamp) - extract(epoch from '2026-07-17 14:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.394038 -2.751002)', '2026-07-17 14:36:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394165 -2.750919)'), GeomFromEWKT('SRID=4674;POINT (-40.394038 -2.751002)'))) / (select extract(epoch from '2026-07-17 14:36:39'::timestamp) - extract(epoch from '2026-07-17 14:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394165 -2.750919)'), GeomFromEWKT('SRID=4674;POINT (-40.394038 -2.751002)'))) / (select extract(epoch from '2026-07-17 14:36:39'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.39395 -2.751089)', '2026-07-17 14:36:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394038 -2.751002)'), GeomFromEWKT('SRID=4674;POINT (-40.39395 -2.751089)'))) / (select extract(epoch from '2026-07-17 14:36:46'::timestamp) - extract(epoch from '2026-07-17 14:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394038 -2.751002)'), GeomFromEWKT('SRID=4674;POINT (-40.39395 -2.751089)'))) / (select extract(epoch from '2026-07-17 14:36:46'::timestamp) - extract(epoch from '2026-07-17 14:36: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'), 47831, 'SRID=4674;POINT (-40.393902 -2.751206)', '2026-07-17 14:36:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39395 -2.751089)'), GeomFromEWKT('SRID=4674;POINT (-40.393902 -2.751206)'))) / (select extract(epoch from '2026-07-17 14:36:52'::timestamp) - extract(epoch from '2026-07-17 14:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39395 -2.751089)'), GeomFromEWKT('SRID=4674;POINT (-40.393902 -2.751206)'))) / (select extract(epoch from '2026-07-17 14:36:52'::timestamp) - extract(epoch from '2026-07-17 14:36: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'), 47831, 'SRID=4674;POINT (-40.393843 -2.751368)', '2026-07-17 14:37:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393902 -2.751206)'), GeomFromEWKT('SRID=4674;POINT (-40.393843 -2.751368)'))) / (select extract(epoch from '2026-07-17 14:37:00'::timestamp) - extract(epoch from '2026-07-17 14:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393902 -2.751206)'), GeomFromEWKT('SRID=4674;POINT (-40.393843 -2.751368)'))) / (select extract(epoch from '2026-07-17 14:37:00'::timestamp) - extract(epoch from '2026-07-17 14:36: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'), 47831, 'SRID=4674;POINT (-40.393777 -2.751502)', '2026-07-17 14:37:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393843 -2.751368)'), GeomFromEWKT('SRID=4674;POINT (-40.393777 -2.751502)'))) / (select extract(epoch from '2026-07-17 14:37:07'::timestamp) - extract(epoch from '2026-07-17 14:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393843 -2.751368)'), GeomFromEWKT('SRID=4674;POINT (-40.393777 -2.751502)'))) / (select extract(epoch from '2026-07-17 14:37:07'::timestamp) - extract(epoch from '2026-07-17 14:37:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.393666 -2.751706)', '2026-07-17 14:37:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393777 -2.751502)'), GeomFromEWKT('SRID=4674;POINT (-40.393666 -2.751706)'))) / (select extract(epoch from '2026-07-17 14:37:17'::timestamp) - extract(epoch from '2026-07-17 14:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393777 -2.751502)'), GeomFromEWKT('SRID=4674;POINT (-40.393666 -2.751706)'))) / (select extract(epoch from '2026-07-17 14:37:17'::timestamp) - extract(epoch from '2026-07-17 14:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.393595 -2.751841)', '2026-07-17 14:37:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393666 -2.751706)'), GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.751841)'))) / (select extract(epoch from '2026-07-17 14:37:24'::timestamp) - extract(epoch from '2026-07-17 14:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393666 -2.751706)'), GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.751841)'))) / (select extract(epoch from '2026-07-17 14:37:24'::timestamp) - extract(epoch from '2026-07-17 14:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.393529 -2.751979)', '2026-07-17 14:37:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.751841)'), GeomFromEWKT('SRID=4674;POINT (-40.393529 -2.751979)'))) / (select extract(epoch from '2026-07-17 14:37:31'::timestamp) - extract(epoch from '2026-07-17 14:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.751841)'), GeomFromEWKT('SRID=4674;POINT (-40.393529 -2.751979)'))) / (select extract(epoch from '2026-07-17 14:37:31'::timestamp) - extract(epoch from '2026-07-17 14:37: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'), 47831, 'SRID=4674;POINT (-40.393472 -2.752092)', '2026-07-17 14:37:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393529 -2.751979)'), GeomFromEWKT('SRID=4674;POINT (-40.393472 -2.752092)'))) / (select extract(epoch from '2026-07-17 14:37:37'::timestamp) - extract(epoch from '2026-07-17 14:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393529 -2.751979)'), GeomFromEWKT('SRID=4674;POINT (-40.393472 -2.752092)'))) / (select extract(epoch from '2026-07-17 14:37:37'::timestamp) - extract(epoch from '2026-07-17 14:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.393412 -2.752164)', '2026-07-17 14:37:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393472 -2.752092)'), GeomFromEWKT('SRID=4674;POINT (-40.393412 -2.752164)'))) / (select extract(epoch from '2026-07-17 14:37:42'::timestamp) - extract(epoch from '2026-07-17 14:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393472 -2.752092)'), GeomFromEWKT('SRID=4674;POINT (-40.393412 -2.752164)'))) / (select extract(epoch from '2026-07-17 14:37:42'::timestamp) - extract(epoch from '2026-07-17 14:37: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'), 47831, 'SRID=4674;POINT (-40.393298 -2.752301)', '2026-07-17 14:37:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393412 -2.752164)'), GeomFromEWKT('SRID=4674;POINT (-40.393298 -2.752301)'))) / (select extract(epoch from '2026-07-17 14:37:51'::timestamp) - extract(epoch from '2026-07-17 14:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393412 -2.752164)'), GeomFromEWKT('SRID=4674;POINT (-40.393298 -2.752301)'))) / (select extract(epoch from '2026-07-17 14:37:51'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.393235 -2.752409)', '2026-07-17 14:37:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393298 -2.752301)'), GeomFromEWKT('SRID=4674;POINT (-40.393235 -2.752409)'))) / (select extract(epoch from '2026-07-17 14:37:57'::timestamp) - extract(epoch from '2026-07-17 14:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393298 -2.752301)'), GeomFromEWKT('SRID=4674;POINT (-40.393235 -2.752409)'))) / (select extract(epoch from '2026-07-17 14:37:57'::timestamp) - extract(epoch from '2026-07-17 14:37: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'), 47831, 'SRID=4674;POINT (-40.393173 -2.752516)', '2026-07-17 14:38:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393235 -2.752409)'), GeomFromEWKT('SRID=4674;POINT (-40.393173 -2.752516)'))) / (select extract(epoch from '2026-07-17 14:38:04'::timestamp) - extract(epoch from '2026-07-17 14:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393235 -2.752409)'), GeomFromEWKT('SRID=4674;POINT (-40.393173 -2.752516)'))) / (select extract(epoch from '2026-07-17 14:38:04'::timestamp) - extract(epoch from '2026-07-17 14:37: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'), 47831, 'SRID=4674;POINT (-40.393121 -2.75258)', '2026-07-17 14:38:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393173 -2.752516)'), GeomFromEWKT('SRID=4674;POINT (-40.393121 -2.75258)'))) / (select extract(epoch from '2026-07-17 14:38:09'::timestamp) - extract(epoch from '2026-07-17 14:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393173 -2.752516)'), GeomFromEWKT('SRID=4674;POINT (-40.393121 -2.75258)'))) / (select extract(epoch from '2026-07-17 14:38:09'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.393047 -2.752671)', '2026-07-17 14:38:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393121 -2.75258)'), GeomFromEWKT('SRID=4674;POINT (-40.393047 -2.752671)'))) / (select extract(epoch from '2026-07-17 14:38:16'::timestamp) - extract(epoch from '2026-07-17 14:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393121 -2.75258)'), GeomFromEWKT('SRID=4674;POINT (-40.393047 -2.752671)'))) / (select extract(epoch from '2026-07-17 14:38:16'::timestamp) - extract(epoch from '2026-07-17 14:38: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'), 47831, 'SRID=4674;POINT (-40.392945 -2.752772)', '2026-07-17 14:38:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393047 -2.752671)'), GeomFromEWKT('SRID=4674;POINT (-40.392945 -2.752772)'))) / (select extract(epoch from '2026-07-17 14:38:23'::timestamp) - extract(epoch from '2026-07-17 14:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393047 -2.752671)'), GeomFromEWKT('SRID=4674;POINT (-40.392945 -2.752772)'))) / (select extract(epoch from '2026-07-17 14:38:23'::timestamp) - extract(epoch from '2026-07-17 14:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392859 -2.752911)', '2026-07-17 14:38:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392945 -2.752772)'), GeomFromEWKT('SRID=4674;POINT (-40.392859 -2.752911)'))) / (select extract(epoch from '2026-07-17 14:38:31'::timestamp) - extract(epoch from '2026-07-17 14:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392945 -2.752772)'), GeomFromEWKT('SRID=4674;POINT (-40.392859 -2.752911)'))) / (select extract(epoch from '2026-07-17 14:38:31'::timestamp) - extract(epoch from '2026-07-17 14:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392772 -2.753042)', '2026-07-17 14:38:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392859 -2.752911)'), GeomFromEWKT('SRID=4674;POINT (-40.392772 -2.753042)'))) / (select extract(epoch from '2026-07-17 14:38:39'::timestamp) - extract(epoch from '2026-07-17 14:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392859 -2.752911)'), GeomFromEWKT('SRID=4674;POINT (-40.392772 -2.753042)'))) / (select extract(epoch from '2026-07-17 14:38:39'::timestamp) - extract(epoch from '2026-07-17 14:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392716 -2.753111)', '2026-07-17 14:38:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392772 -2.753042)'), GeomFromEWKT('SRID=4674;POINT (-40.392716 -2.753111)'))) / (select extract(epoch from '2026-07-17 14:38:45'::timestamp) - extract(epoch from '2026-07-17 14:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392772 -2.753042)'), GeomFromEWKT('SRID=4674;POINT (-40.392716 -2.753111)'))) / (select extract(epoch from '2026-07-17 14:38:45'::timestamp) - extract(epoch from '2026-07-17 14:38:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392618 -2.753197)', '2026-07-17 14:38:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392716 -2.753111)'), GeomFromEWKT('SRID=4674;POINT (-40.392618 -2.753197)'))) / (select extract(epoch from '2026-07-17 14:38:52'::timestamp) - extract(epoch from '2026-07-17 14:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392716 -2.753111)'), GeomFromEWKT('SRID=4674;POINT (-40.392618 -2.753197)'))) / (select extract(epoch from '2026-07-17 14:38:52'::timestamp) - extract(epoch from '2026-07-17 14:38: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'), 47831, 'SRID=4674;POINT (-40.392518 -2.753293)', '2026-07-17 14:38:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392618 -2.753197)'), GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.753293)'))) / (select extract(epoch from '2026-07-17 14:38:59'::timestamp) - extract(epoch from '2026-07-17 14:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392618 -2.753197)'), GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.753293)'))) / (select extract(epoch from '2026-07-17 14:38:59'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.392443 -2.753432)', '2026-07-17 14:39:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.753293)'), GeomFromEWKT('SRID=4674;POINT (-40.392443 -2.753432)'))) / (select extract(epoch from '2026-07-17 14:39:07'::timestamp) - extract(epoch from '2026-07-17 14:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.753293)'), GeomFromEWKT('SRID=4674;POINT (-40.392443 -2.753432)'))) / (select extract(epoch from '2026-07-17 14:39:07'::timestamp) - extract(epoch from '2026-07-17 14:38: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'), 47831, 'SRID=4674;POINT (-40.392382 -2.753549)', '2026-07-17 14:39:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392443 -2.753432)'), GeomFromEWKT('SRID=4674;POINT (-40.392382 -2.753549)'))) / (select extract(epoch from '2026-07-17 14:39:13'::timestamp) - extract(epoch from '2026-07-17 14:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392443 -2.753432)'), GeomFromEWKT('SRID=4674;POINT (-40.392382 -2.753549)'))) / (select extract(epoch from '2026-07-17 14:39:13'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.392317 -2.753702)', '2026-07-17 14:39:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392382 -2.753549)'), GeomFromEWKT('SRID=4674;POINT (-40.392317 -2.753702)'))) / (select extract(epoch from '2026-07-17 14:39:20'::timestamp) - extract(epoch from '2026-07-17 14:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392382 -2.753549)'), GeomFromEWKT('SRID=4674;POINT (-40.392317 -2.753702)'))) / (select extract(epoch from '2026-07-17 14:39:20'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.392237 -2.753807)', '2026-07-17 14:39:27', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392317 -2.753702)'), GeomFromEWKT('SRID=4674;POINT (-40.392237 -2.753807)'))) / (select extract(epoch from '2026-07-17 14:39:27'::timestamp) - extract(epoch from '2026-07-17 14:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392317 -2.753702)'), GeomFromEWKT('SRID=4674;POINT (-40.392237 -2.753807)'))) / (select extract(epoch from '2026-07-17 14:39:27'::timestamp) - extract(epoch from '2026-07-17 14:39: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'), 47831, 'SRID=4674;POINT (-40.392163 -2.753914)', '2026-07-17 14:39:34', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392237 -2.753807)'), GeomFromEWKT('SRID=4674;POINT (-40.392163 -2.753914)'))) / (select extract(epoch from '2026-07-17 14:39:34'::timestamp) - extract(epoch from '2026-07-17 14:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392237 -2.753807)'), GeomFromEWKT('SRID=4674;POINT (-40.392163 -2.753914)'))) / (select extract(epoch from '2026-07-17 14:39:34'::timestamp) - extract(epoch from '2026-07-17 14:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392107 -2.753998)', '2026-07-17 14:39:40', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392163 -2.753914)'), GeomFromEWKT('SRID=4674;POINT (-40.392107 -2.753998)'))) / (select extract(epoch from '2026-07-17 14:39:40'::timestamp) - extract(epoch from '2026-07-17 14:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392163 -2.753914)'), GeomFromEWKT('SRID=4674;POINT (-40.392107 -2.753998)'))) / (select extract(epoch from '2026-07-17 14:39:40'::timestamp) - extract(epoch from '2026-07-17 14:39:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391973 -2.75413)', '2026-07-17 14:39:49', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392107 -2.753998)'), GeomFromEWKT('SRID=4674;POINT (-40.391973 -2.75413)'))) / (select extract(epoch from '2026-07-17 14:39:49'::timestamp) - extract(epoch from '2026-07-17 14:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392107 -2.753998)'), GeomFromEWKT('SRID=4674;POINT (-40.391973 -2.75413)'))) / (select extract(epoch from '2026-07-17 14:39:49'::timestamp) - extract(epoch from '2026-07-17 14:39: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'), 47831, 'SRID=4674;POINT (-40.3919 -2.754245)', '2026-07-17 14:39:56', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391973 -2.75413)'), GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.754245)'))) / (select extract(epoch from '2026-07-17 14:39:56'::timestamp) - extract(epoch from '2026-07-17 14:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391973 -2.75413)'), GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.754245)'))) / (select extract(epoch from '2026-07-17 14:39:56'::timestamp) - extract(epoch from '2026-07-17 14:39: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'), 47831, 'SRID=4674;POINT (-40.391829 -2.754361)', '2026-07-17 14:40:03', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.754245)'), GeomFromEWKT('SRID=4674;POINT (-40.391829 -2.754361)'))) / (select extract(epoch from '2026-07-17 14:40:03'::timestamp) - extract(epoch from '2026-07-17 14:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.754245)'), GeomFromEWKT('SRID=4674;POINT (-40.391829 -2.754361)'))) / (select extract(epoch from '2026-07-17 14:40:03'::timestamp) - extract(epoch from '2026-07-17 14:39: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'), 47831, 'SRID=4674;POINT (-40.391714 -2.754496)', '2026-07-17 14:40:11', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391829 -2.754361)'), GeomFromEWKT('SRID=4674;POINT (-40.391714 -2.754496)'))) / (select extract(epoch from '2026-07-17 14:40:11'::timestamp) - extract(epoch from '2026-07-17 14:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391829 -2.754361)'), GeomFromEWKT('SRID=4674;POINT (-40.391714 -2.754496)'))) / (select extract(epoch from '2026-07-17 14:40:11'::timestamp) - extract(epoch from '2026-07-17 14:40: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'), 47831, 'SRID=4674;POINT (-40.391595 -2.754602)', '2026-07-17 14:40:18', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391714 -2.754496)'), GeomFromEWKT('SRID=4674;POINT (-40.391595 -2.754602)'))) / (select extract(epoch from '2026-07-17 14:40:18'::timestamp) - extract(epoch from '2026-07-17 14:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391714 -2.754496)'), GeomFromEWKT('SRID=4674;POINT (-40.391595 -2.754602)'))) / (select extract(epoch from '2026-07-17 14:40:18'::timestamp) - extract(epoch from '2026-07-17 14:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391519 -2.754732)', '2026-07-17 14:40:25', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391595 -2.754602)'), GeomFromEWKT('SRID=4674;POINT (-40.391519 -2.754732)'))) / (select extract(epoch from '2026-07-17 14:40:25'::timestamp) - extract(epoch from '2026-07-17 14:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391595 -2.754602)'), GeomFromEWKT('SRID=4674;POINT (-40.391519 -2.754732)'))) / (select extract(epoch from '2026-07-17 14:40:25'::timestamp) - extract(epoch from '2026-07-17 14:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391453 -2.754879)', '2026-07-17 14:40:33', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391519 -2.754732)'), GeomFromEWKT('SRID=4674;POINT (-40.391453 -2.754879)'))) / (select extract(epoch from '2026-07-17 14:40:33'::timestamp) - extract(epoch from '2026-07-17 14:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391519 -2.754732)'), GeomFromEWKT('SRID=4674;POINT (-40.391453 -2.754879)'))) / (select extract(epoch from '2026-07-17 14:40:33'::timestamp) - extract(epoch from '2026-07-17 14:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391381 -2.754991)', '2026-07-17 14:40:40', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391453 -2.754879)'), GeomFromEWKT('SRID=4674;POINT (-40.391381 -2.754991)'))) / (select extract(epoch from '2026-07-17 14:40:40'::timestamp) - extract(epoch from '2026-07-17 14:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391453 -2.754879)'), GeomFromEWKT('SRID=4674;POINT (-40.391381 -2.754991)'))) / (select extract(epoch from '2026-07-17 14:40:40'::timestamp) - extract(epoch from '2026-07-17 14:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391321 -2.755113)', '2026-07-17 14:40:47', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391381 -2.754991)'), GeomFromEWKT('SRID=4674;POINT (-40.391321 -2.755113)'))) / (select extract(epoch from '2026-07-17 14:40:47'::timestamp) - extract(epoch from '2026-07-17 14:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391381 -2.754991)'), GeomFromEWKT('SRID=4674;POINT (-40.391321 -2.755113)'))) / (select extract(epoch from '2026-07-17 14:40:47'::timestamp) - extract(epoch from '2026-07-17 14:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391289 -2.755223)', '2026-07-17 14:40:52', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391321 -2.755113)'), GeomFromEWKT('SRID=4674;POINT (-40.391289 -2.755223)'))) / (select extract(epoch from '2026-07-17 14:40:52'::timestamp) - extract(epoch from '2026-07-17 14:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391321 -2.755113)'), GeomFromEWKT('SRID=4674;POINT (-40.391289 -2.755223)'))) / (select extract(epoch from '2026-07-17 14:40:52'::timestamp) - extract(epoch from '2026-07-17 14:40: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'), 47831, 'SRID=4674;POINT (-40.391245 -2.755341)', '2026-07-17 14:40:59', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391289 -2.755223)'), GeomFromEWKT('SRID=4674;POINT (-40.391245 -2.755341)'))) / (select extract(epoch from '2026-07-17 14:40:59'::timestamp) - extract(epoch from '2026-07-17 14:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391289 -2.755223)'), GeomFromEWKT('SRID=4674;POINT (-40.391245 -2.755341)'))) / (select extract(epoch from '2026-07-17 14:40:59'::timestamp) - extract(epoch from '2026-07-17 14:40: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'), 47831, 'SRID=4674;POINT (-40.39115 -2.755529)', '2026-07-17 14:41:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391245 -2.755341)'), GeomFromEWKT('SRID=4674;POINT (-40.39115 -2.755529)'))) / (select extract(epoch from '2026-07-17 14:41:09'::timestamp) - extract(epoch from '2026-07-17 14:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391245 -2.755341)'), GeomFromEWKT('SRID=4674;POINT (-40.39115 -2.755529)'))) / (select extract(epoch from '2026-07-17 14:41:09'::timestamp) - extract(epoch from '2026-07-17 14:40: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'), 47831, 'SRID=4674;POINT (-40.391082 -2.755623)', '2026-07-17 14:41:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39115 -2.755529)'), GeomFromEWKT('SRID=4674;POINT (-40.391082 -2.755623)'))) / (select extract(epoch from '2026-07-17 14:41:16'::timestamp) - extract(epoch from '2026-07-17 14:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39115 -2.755529)'), GeomFromEWKT('SRID=4674;POINT (-40.391082 -2.755623)'))) / (select extract(epoch from '2026-07-17 14:41:16'::timestamp) - extract(epoch from '2026-07-17 14:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390979 -2.755752)', '2026-07-17 14:41:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391082 -2.755623)'), GeomFromEWKT('SRID=4674;POINT (-40.390979 -2.755752)'))) / (select extract(epoch from '2026-07-17 14:41:24'::timestamp) - extract(epoch from '2026-07-17 14:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391082 -2.755623)'), GeomFromEWKT('SRID=4674;POINT (-40.390979 -2.755752)'))) / (select extract(epoch from '2026-07-17 14:41:24'::timestamp) - extract(epoch from '2026-07-17 14:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390849 -2.75584)', '2026-07-17 14:41:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390979 -2.755752)'), GeomFromEWKT('SRID=4674;POINT (-40.390849 -2.75584)'))) / (select extract(epoch from '2026-07-17 14:41:32'::timestamp) - extract(epoch from '2026-07-17 14:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390979 -2.755752)'), GeomFromEWKT('SRID=4674;POINT (-40.390849 -2.75584)'))) / (select extract(epoch from '2026-07-17 14:41:32'::timestamp) - extract(epoch from '2026-07-17 14:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390744 -2.755922)', '2026-07-17 14:41:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390849 -2.75584)'), GeomFromEWKT('SRID=4674;POINT (-40.390744 -2.755922)'))) / (select extract(epoch from '2026-07-17 14:41:40'::timestamp) - extract(epoch from '2026-07-17 14:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390849 -2.75584)'), GeomFromEWKT('SRID=4674;POINT (-40.390744 -2.755922)'))) / (select extract(epoch from '2026-07-17 14:41:40'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.390643 -2.756011)', '2026-07-17 14:41:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390744 -2.755922)'), GeomFromEWKT('SRID=4674;POINT (-40.390643 -2.756011)'))) / (select extract(epoch from '2026-07-17 14:41:47'::timestamp) - extract(epoch from '2026-07-17 14:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390744 -2.755922)'), GeomFromEWKT('SRID=4674;POINT (-40.390643 -2.756011)'))) / (select extract(epoch from '2026-07-17 14:41:47'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.390568 -2.756147)', '2026-07-17 14:41:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390643 -2.756011)'), GeomFromEWKT('SRID=4674;POINT (-40.390568 -2.756147)'))) / (select extract(epoch from '2026-07-17 14:41:54'::timestamp) - extract(epoch from '2026-07-17 14:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390643 -2.756011)'), GeomFromEWKT('SRID=4674;POINT (-40.390568 -2.756147)'))) / (select extract(epoch from '2026-07-17 14:41:54'::timestamp) - extract(epoch from '2026-07-17 14:41: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'), 47831, 'SRID=4674;POINT (-40.390528 -2.75625)', '2026-07-17 14:41:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390568 -2.756147)'), GeomFromEWKT('SRID=4674;POINT (-40.390528 -2.75625)'))) / (select extract(epoch from '2026-07-17 14:41:59'::timestamp) - extract(epoch from '2026-07-17 14:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390568 -2.756147)'), GeomFromEWKT('SRID=4674;POINT (-40.390528 -2.75625)'))) / (select extract(epoch from '2026-07-17 14:41:59'::timestamp) - extract(epoch from '2026-07-17 14:41: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'), 47831, 'SRID=4674;POINT (-40.390475 -2.756356)', '2026-07-17 14:42:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390528 -2.75625)'), GeomFromEWKT('SRID=4674;POINT (-40.390475 -2.756356)'))) / (select extract(epoch from '2026-07-17 14:42:05'::timestamp) - extract(epoch from '2026-07-17 14:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390528 -2.75625)'), GeomFromEWKT('SRID=4674;POINT (-40.390475 -2.756356)'))) / (select extract(epoch from '2026-07-17 14:42:05'::timestamp) - extract(epoch from '2026-07-17 14:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390378 -2.756487)', '2026-07-17 14:42:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390475 -2.756356)'), GeomFromEWKT('SRID=4674;POINT (-40.390378 -2.756487)'))) / (select extract(epoch from '2026-07-17 14:42:13'::timestamp) - extract(epoch from '2026-07-17 14:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390475 -2.756356)'), GeomFromEWKT('SRID=4674;POINT (-40.390378 -2.756487)'))) / (select extract(epoch from '2026-07-17 14:42:13'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.390309 -2.756618)', '2026-07-17 14:42:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390378 -2.756487)'), GeomFromEWKT('SRID=4674;POINT (-40.390309 -2.756618)'))) / (select extract(epoch from '2026-07-17 14:42:20'::timestamp) - extract(epoch from '2026-07-17 14:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390378 -2.756487)'), GeomFromEWKT('SRID=4674;POINT (-40.390309 -2.756618)'))) / (select extract(epoch from '2026-07-17 14:42:20'::timestamp) - extract(epoch from '2026-07-17 14:42: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'), 47831, 'SRID=4674;POINT (-40.390225 -2.756741)', '2026-07-17 14:42:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390309 -2.756618)'), GeomFromEWKT('SRID=4674;POINT (-40.390225 -2.756741)'))) / (select extract(epoch from '2026-07-17 14:42:28'::timestamp) - extract(epoch from '2026-07-17 14:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390309 -2.756618)'), GeomFromEWKT('SRID=4674;POINT (-40.390225 -2.756741)'))) / (select extract(epoch from '2026-07-17 14:42:28'::timestamp) - extract(epoch from '2026-07-17 14:42: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'), 47831, 'SRID=4674;POINT (-40.390147 -2.756883)', '2026-07-17 14:42:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390225 -2.756741)'), GeomFromEWKT('SRID=4674;POINT (-40.390147 -2.756883)'))) / (select extract(epoch from '2026-07-17 14:42:36'::timestamp) - extract(epoch from '2026-07-17 14:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390225 -2.756741)'), GeomFromEWKT('SRID=4674;POINT (-40.390147 -2.756883)'))) / (select extract(epoch from '2026-07-17 14:42:36'::timestamp) - extract(epoch from '2026-07-17 14:42: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'), 47831, 'SRID=4674;POINT (-40.390073 -2.756966)', '2026-07-17 14:42:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390147 -2.756883)'), GeomFromEWKT('SRID=4674;POINT (-40.390073 -2.756966)'))) / (select extract(epoch from '2026-07-17 14:42:42'::timestamp) - extract(epoch from '2026-07-17 14:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390147 -2.756883)'), GeomFromEWKT('SRID=4674;POINT (-40.390073 -2.756966)'))) / (select extract(epoch from '2026-07-17 14:42:42'::timestamp) - extract(epoch from '2026-07-17 14:42:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390002 -2.757059)', '2026-07-17 14:42:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390073 -2.756966)'), GeomFromEWKT('SRID=4674;POINT (-40.390002 -2.757059)'))) / (select extract(epoch from '2026-07-17 14:42:48'::timestamp) - extract(epoch from '2026-07-17 14:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390073 -2.756966)'), GeomFromEWKT('SRID=4674;POINT (-40.390002 -2.757059)'))) / (select extract(epoch from '2026-07-17 14:42:48'::timestamp) - extract(epoch from '2026-07-17 14:42:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389922 -2.757146)', '2026-07-17 14:42:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390002 -2.757059)'), GeomFromEWKT('SRID=4674;POINT (-40.389922 -2.757146)'))) / (select extract(epoch from '2026-07-17 14:42:54'::timestamp) - extract(epoch from '2026-07-17 14:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390002 -2.757059)'), GeomFromEWKT('SRID=4674;POINT (-40.389922 -2.757146)'))) / (select extract(epoch from '2026-07-17 14:42:54'::timestamp) - extract(epoch from '2026-07-17 14:42: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'), 47831, 'SRID=4674;POINT (-40.389853 -2.757221)', '2026-07-17 14:43:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389922 -2.757146)'), GeomFromEWKT('SRID=4674;POINT (-40.389853 -2.757221)'))) / (select extract(epoch from '2026-07-17 14:43:00'::timestamp) - extract(epoch from '2026-07-17 14:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389922 -2.757146)'), GeomFromEWKT('SRID=4674;POINT (-40.389853 -2.757221)'))) / (select extract(epoch from '2026-07-17 14:43:00'::timestamp) - extract(epoch from '2026-07-17 14:42:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389769 -2.757313)', '2026-07-17 14:43:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389853 -2.757221)'), GeomFromEWKT('SRID=4674;POINT (-40.389769 -2.757313)'))) / (select extract(epoch from '2026-07-17 14:43:06'::timestamp) - extract(epoch from '2026-07-17 14:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389853 -2.757221)'), GeomFromEWKT('SRID=4674;POINT (-40.389769 -2.757313)'))) / (select extract(epoch from '2026-07-17 14:43:06'::timestamp) - extract(epoch from '2026-07-17 14:43: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'), 47831, 'SRID=4674;POINT (-40.389717 -2.757458)', '2026-07-17 14:43:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389769 -2.757313)'), GeomFromEWKT('SRID=4674;POINT (-40.389717 -2.757458)'))) / (select extract(epoch from '2026-07-17 14:43:13'::timestamp) - extract(epoch from '2026-07-17 14:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389769 -2.757313)'), GeomFromEWKT('SRID=4674;POINT (-40.389717 -2.757458)'))) / (select extract(epoch from '2026-07-17 14:43:13'::timestamp) - extract(epoch from '2026-07-17 14:43: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'), 47831, 'SRID=4674;POINT (-40.389691 -2.757588)', '2026-07-17 14:43:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389717 -2.757458)'), GeomFromEWKT('SRID=4674;POINT (-40.389691 -2.757588)'))) / (select extract(epoch from '2026-07-17 14:43:19'::timestamp) - extract(epoch from '2026-07-17 14:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389717 -2.757458)'), GeomFromEWKT('SRID=4674;POINT (-40.389691 -2.757588)'))) / (select extract(epoch from '2026-07-17 14:43:19'::timestamp) - extract(epoch from '2026-07-17 14:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389636 -2.757746)', '2026-07-17 14:43:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389691 -2.757588)'), GeomFromEWKT('SRID=4674;POINT (-40.389636 -2.757746)'))) / (select extract(epoch from '2026-07-17 14:43:26'::timestamp) - extract(epoch from '2026-07-17 14:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389691 -2.757588)'), GeomFromEWKT('SRID=4674;POINT (-40.389636 -2.757746)'))) / (select extract(epoch from '2026-07-17 14:43:26'::timestamp) - extract(epoch from '2026-07-17 14:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389586 -2.757857)', '2026-07-17 14:43:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389636 -2.757746)'), GeomFromEWKT('SRID=4674;POINT (-40.389586 -2.757857)'))) / (select extract(epoch from '2026-07-17 14:43:32'::timestamp) - extract(epoch from '2026-07-17 14:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389636 -2.757746)'), GeomFromEWKT('SRID=4674;POINT (-40.389586 -2.757857)'))) / (select extract(epoch from '2026-07-17 14:43:32'::timestamp) - extract(epoch from '2026-07-17 14:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389525 -2.757978)', '2026-07-17 14:43:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389586 -2.757857)'), GeomFromEWKT('SRID=4674;POINT (-40.389525 -2.757978)'))) / (select extract(epoch from '2026-07-17 14:43:38'::timestamp) - extract(epoch from '2026-07-17 14:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389586 -2.757857)'), GeomFromEWKT('SRID=4674;POINT (-40.389525 -2.757978)'))) / (select extract(epoch from '2026-07-17 14:43:38'::timestamp) - extract(epoch from '2026-07-17 14:43:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389444 -2.75809)', '2026-07-17 14:43:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389525 -2.757978)'), GeomFromEWKT('SRID=4674;POINT (-40.389444 -2.75809)'))) / (select extract(epoch from '2026-07-17 14:43:45'::timestamp) - extract(epoch from '2026-07-17 14:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389525 -2.757978)'), GeomFromEWKT('SRID=4674;POINT (-40.389444 -2.75809)'))) / (select extract(epoch from '2026-07-17 14:43:45'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.389377 -2.75818)', '2026-07-17 14:43:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389444 -2.75809)'), GeomFromEWKT('SRID=4674;POINT (-40.389377 -2.75818)'))) / (select extract(epoch from '2026-07-17 14:43:51'::timestamp) - extract(epoch from '2026-07-17 14:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389444 -2.75809)'), GeomFromEWKT('SRID=4674;POINT (-40.389377 -2.75818)'))) / (select extract(epoch from '2026-07-17 14:43:51'::timestamp) - extract(epoch from '2026-07-17 14:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38931 -2.758308)', '2026-07-17 14:43:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389377 -2.75818)'), GeomFromEWKT('SRID=4674;POINT (-40.38931 -2.758308)'))) / (select extract(epoch from '2026-07-17 14:43:58'::timestamp) - extract(epoch from '2026-07-17 14:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389377 -2.75818)'), GeomFromEWKT('SRID=4674;POINT (-40.38931 -2.758308)'))) / (select extract(epoch from '2026-07-17 14:43:58'::timestamp) - extract(epoch from '2026-07-17 14:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389288 -2.758429)', '2026-07-17 14:44:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38931 -2.758308)'), GeomFromEWKT('SRID=4674;POINT (-40.389288 -2.758429)'))) / (select extract(epoch from '2026-07-17 14:44:04'::timestamp) - extract(epoch from '2026-07-17 14:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38931 -2.758308)'), GeomFromEWKT('SRID=4674;POINT (-40.389288 -2.758429)'))) / (select extract(epoch from '2026-07-17 14:44:04'::timestamp) - extract(epoch from '2026-07-17 14:43:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389247 -2.758589)', '2026-07-17 14:44:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389288 -2.758429)'), GeomFromEWKT('SRID=4674;POINT (-40.389247 -2.758589)'))) / (select extract(epoch from '2026-07-17 14:44:11'::timestamp) - extract(epoch from '2026-07-17 14:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389288 -2.758429)'), GeomFromEWKT('SRID=4674;POINT (-40.389247 -2.758589)'))) / (select extract(epoch from '2026-07-17 14:44:11'::timestamp) - extract(epoch from '2026-07-17 14:44:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389214 -2.758755)', '2026-07-17 14:44:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389247 -2.758589)'), GeomFromEWKT('SRID=4674;POINT (-40.389214 -2.758755)'))) / (select extract(epoch from '2026-07-17 14:44:19'::timestamp) - extract(epoch from '2026-07-17 14:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389247 -2.758589)'), GeomFromEWKT('SRID=4674;POINT (-40.389214 -2.758755)'))) / (select extract(epoch from '2026-07-17 14:44:19'::timestamp) - extract(epoch from '2026-07-17 14:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389194 -2.758883)', '2026-07-17 14:44:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389214 -2.758755)'), GeomFromEWKT('SRID=4674;POINT (-40.389194 -2.758883)'))) / (select extract(epoch from '2026-07-17 14:44:25'::timestamp) - extract(epoch from '2026-07-17 14:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389214 -2.758755)'), GeomFromEWKT('SRID=4674;POINT (-40.389194 -2.758883)'))) / (select extract(epoch from '2026-07-17 14:44:25'::timestamp) - extract(epoch from '2026-07-17 14:44: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'), 47831, 'SRID=4674;POINT (-40.389147 -2.759033)', '2026-07-17 14:44:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389194 -2.758883)'), GeomFromEWKT('SRID=4674;POINT (-40.389147 -2.759033)'))) / (select extract(epoch from '2026-07-17 14:44:33'::timestamp) - extract(epoch from '2026-07-17 14:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389194 -2.758883)'), GeomFromEWKT('SRID=4674;POINT (-40.389147 -2.759033)'))) / (select extract(epoch from '2026-07-17 14:44:33'::timestamp) - extract(epoch from '2026-07-17 14:44: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'), 47831, 'SRID=4674;POINT (-40.389069 -2.759161)', '2026-07-17 14:44:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389147 -2.759033)'), GeomFromEWKT('SRID=4674;POINT (-40.389069 -2.759161)'))) / (select extract(epoch from '2026-07-17 14:44:40'::timestamp) - extract(epoch from '2026-07-17 14:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389147 -2.759033)'), GeomFromEWKT('SRID=4674;POINT (-40.389069 -2.759161)'))) / (select extract(epoch from '2026-07-17 14:44:40'::timestamp) - extract(epoch from '2026-07-17 14:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388982 -2.759316)', '2026-07-17 14:44:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389069 -2.759161)'), GeomFromEWKT('SRID=4674;POINT (-40.388982 -2.759316)'))) / (select extract(epoch from '2026-07-17 14:44:48'::timestamp) - extract(epoch from '2026-07-17 14:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389069 -2.759161)'), GeomFromEWKT('SRID=4674;POINT (-40.388982 -2.759316)'))) / (select extract(epoch from '2026-07-17 14:44:48'::timestamp) - extract(epoch from '2026-07-17 14:44: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'), 47831, 'SRID=4674;POINT (-40.388881 -2.759476)', '2026-07-17 14:44:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388982 -2.759316)'), GeomFromEWKT('SRID=4674;POINT (-40.388881 -2.759476)'))) / (select extract(epoch from '2026-07-17 14:44:56'::timestamp) - extract(epoch from '2026-07-17 14:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388982 -2.759316)'), GeomFromEWKT('SRID=4674;POINT (-40.388881 -2.759476)'))) / (select extract(epoch from '2026-07-17 14:44:56'::timestamp) - extract(epoch from '2026-07-17 14:44: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'), 47831, 'SRID=4674;POINT (-40.388831 -2.759579)', '2026-07-17 14:45:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388881 -2.759476)'), GeomFromEWKT('SRID=4674;POINT (-40.388831 -2.759579)'))) / (select extract(epoch from '2026-07-17 14:45:01'::timestamp) - extract(epoch from '2026-07-17 14:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388881 -2.759476)'), GeomFromEWKT('SRID=4674;POINT (-40.388831 -2.759579)'))) / (select extract(epoch from '2026-07-17 14:45:01'::timestamp) - extract(epoch from '2026-07-17 14:44: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'), 47831, 'SRID=4674;POINT (-40.388778 -2.759736)', '2026-07-17 14:45:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388831 -2.759579)'), GeomFromEWKT('SRID=4674;POINT (-40.388778 -2.759736)'))) / (select extract(epoch from '2026-07-17 14:45:08'::timestamp) - extract(epoch from '2026-07-17 14:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388831 -2.759579)'), GeomFromEWKT('SRID=4674;POINT (-40.388778 -2.759736)'))) / (select extract(epoch from '2026-07-17 14:45:08'::timestamp) - extract(epoch from '2026-07-17 14:45:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388718 -2.759887)', '2026-07-17 14:45:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388778 -2.759736)'), GeomFromEWKT('SRID=4674;POINT (-40.388718 -2.759887)'))) / (select extract(epoch from '2026-07-17 14:45:16'::timestamp) - extract(epoch from '2026-07-17 14:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388778 -2.759736)'), GeomFromEWKT('SRID=4674;POINT (-40.388718 -2.759887)'))) / (select extract(epoch from '2026-07-17 14:45:16'::timestamp) - extract(epoch from '2026-07-17 14:45:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388674 -2.760028)', '2026-07-17 14:45:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388718 -2.759887)'), GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.760028)'))) / (select extract(epoch from '2026-07-17 14:45:23'::timestamp) - extract(epoch from '2026-07-17 14:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388718 -2.759887)'), GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.760028)'))) / (select extract(epoch from '2026-07-17 14:45:23'::timestamp) - extract(epoch from '2026-07-17 14:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388628 -2.760198)', '2026-07-17 14:45:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.760028)'), GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.760198)'))) / (select extract(epoch from '2026-07-17 14:45:31'::timestamp) - extract(epoch from '2026-07-17 14:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.760028)'), GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.760198)'))) / (select extract(epoch from '2026-07-17 14:45:31'::timestamp) - extract(epoch from '2026-07-17 14:45:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388577 -2.760353)', '2026-07-17 14:45:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.760198)'), GeomFromEWKT('SRID=4674;POINT (-40.388577 -2.760353)'))) / (select extract(epoch from '2026-07-17 14:45:38'::timestamp) - extract(epoch from '2026-07-17 14:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.760198)'), GeomFromEWKT('SRID=4674;POINT (-40.388577 -2.760353)'))) / (select extract(epoch from '2026-07-17 14:45:38'::timestamp) - extract(epoch from '2026-07-17 14:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388531 -2.760439)', '2026-07-17 14:45:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388577 -2.760353)'), GeomFromEWKT('SRID=4674;POINT (-40.388531 -2.760439)'))) / (select extract(epoch from '2026-07-17 14:45:43'::timestamp) - extract(epoch from '2026-07-17 14:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388577 -2.760353)'), GeomFromEWKT('SRID=4674;POINT (-40.388531 -2.760439)'))) / (select extract(epoch from '2026-07-17 14:45:43'::timestamp) - extract(epoch from '2026-07-17 14:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388475 -2.760546)', '2026-07-17 14:45:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388531 -2.760439)'), GeomFromEWKT('SRID=4674;POINT (-40.388475 -2.760546)'))) / (select extract(epoch from '2026-07-17 14:45:49'::timestamp) - extract(epoch from '2026-07-17 14:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388531 -2.760439)'), GeomFromEWKT('SRID=4674;POINT (-40.388475 -2.760546)'))) / (select extract(epoch from '2026-07-17 14:45:49'::timestamp) - extract(epoch from '2026-07-17 14:45: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'), 47831, 'SRID=4674;POINT (-40.388412 -2.760656)', '2026-07-17 14:45:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388475 -2.760546)'), GeomFromEWKT('SRID=4674;POINT (-40.388412 -2.760656)'))) / (select extract(epoch from '2026-07-17 14:45:55'::timestamp) - extract(epoch from '2026-07-17 14:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388475 -2.760546)'), GeomFromEWKT('SRID=4674;POINT (-40.388412 -2.760656)'))) / (select extract(epoch from '2026-07-17 14:45:55'::timestamp) - extract(epoch from '2026-07-17 14:45: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'), 47831, 'SRID=4674;POINT (-40.388345 -2.760797)', '2026-07-17 14:46:02', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388412 -2.760656)'), GeomFromEWKT('SRID=4674;POINT (-40.388345 -2.760797)'))) / (select extract(epoch from '2026-07-17 14:46:02'::timestamp) - extract(epoch from '2026-07-17 14:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388412 -2.760656)'), GeomFromEWKT('SRID=4674;POINT (-40.388345 -2.760797)'))) / (select extract(epoch from '2026-07-17 14:46:02'::timestamp) - extract(epoch from '2026-07-17 14:45: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'), 47831, 'SRID=4674;POINT (-40.388287 -2.760886)', '2026-07-17 14:46:08', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388345 -2.760797)'), GeomFromEWKT('SRID=4674;POINT (-40.388287 -2.760886)'))) / (select extract(epoch from '2026-07-17 14:46:08'::timestamp) - extract(epoch from '2026-07-17 14:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388345 -2.760797)'), GeomFromEWKT('SRID=4674;POINT (-40.388287 -2.760886)'))) / (select extract(epoch from '2026-07-17 14:46:08'::timestamp) - extract(epoch from '2026-07-17 14:46: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'), 47831, 'SRID=4674;POINT (-40.388195 -2.761017)', '2026-07-17 14:46:16', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388287 -2.760886)'), GeomFromEWKT('SRID=4674;POINT (-40.388195 -2.761017)'))) / (select extract(epoch from '2026-07-17 14:46:16'::timestamp) - extract(epoch from '2026-07-17 14:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388287 -2.760886)'), GeomFromEWKT('SRID=4674;POINT (-40.388195 -2.761017)'))) / (select extract(epoch from '2026-07-17 14:46:16'::timestamp) - extract(epoch from '2026-07-17 14:46: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'), 47831, 'SRID=4674;POINT (-40.388135 -2.761148)', '2026-07-17 14:46:23', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388195 -2.761017)'), GeomFromEWKT('SRID=4674;POINT (-40.388135 -2.761148)'))) / (select extract(epoch from '2026-07-17 14:46:23'::timestamp) - extract(epoch from '2026-07-17 14:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388195 -2.761017)'), GeomFromEWKT('SRID=4674;POINT (-40.388135 -2.761148)'))) / (select extract(epoch from '2026-07-17 14:46:23'::timestamp) - extract(epoch from '2026-07-17 14:46: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'), 47831, 'SRID=4674;POINT (-40.38807 -2.761271)', '2026-07-17 14:46:29', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388135 -2.761148)'), GeomFromEWKT('SRID=4674;POINT (-40.38807 -2.761271)'))) / (select extract(epoch from '2026-07-17 14:46:29'::timestamp) - extract(epoch from '2026-07-17 14:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388135 -2.761148)'), GeomFromEWKT('SRID=4674;POINT (-40.38807 -2.761271)'))) / (select extract(epoch from '2026-07-17 14:46:29'::timestamp) - extract(epoch from '2026-07-17 14:46:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388018 -2.761434)', '2026-07-17 14:46:36', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38807 -2.761271)'), GeomFromEWKT('SRID=4674;POINT (-40.388018 -2.761434)'))) / (select extract(epoch from '2026-07-17 14:46:36'::timestamp) - extract(epoch from '2026-07-17 14:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38807 -2.761271)'), GeomFromEWKT('SRID=4674;POINT (-40.388018 -2.761434)'))) / (select extract(epoch from '2026-07-17 14:46:36'::timestamp) - extract(epoch from '2026-07-17 14:46: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'), 47831, 'SRID=4674;POINT (-40.387973 -2.761546)', '2026-07-17 14:46:42', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388018 -2.761434)'), GeomFromEWKT('SRID=4674;POINT (-40.387973 -2.761546)'))) / (select extract(epoch from '2026-07-17 14:46:42'::timestamp) - extract(epoch from '2026-07-17 14:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388018 -2.761434)'), GeomFromEWKT('SRID=4674;POINT (-40.387973 -2.761546)'))) / (select extract(epoch from '2026-07-17 14:46:42'::timestamp) - extract(epoch from '2026-07-17 14:46:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387899 -2.761688)', '2026-07-17 14:46:50', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387973 -2.761546)'), GeomFromEWKT('SRID=4674;POINT (-40.387899 -2.761688)'))) / (select extract(epoch from '2026-07-17 14:46:50'::timestamp) - extract(epoch from '2026-07-17 14:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387973 -2.761546)'), GeomFromEWKT('SRID=4674;POINT (-40.387899 -2.761688)'))) / (select extract(epoch from '2026-07-17 14:46:50'::timestamp) - extract(epoch from '2026-07-17 14:46: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'), 47831, 'SRID=4674;POINT (-40.387855 -2.761842)', '2026-07-17 14:46:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387899 -2.761688)'), GeomFromEWKT('SRID=4674;POINT (-40.387855 -2.761842)'))) / (select extract(epoch from '2026-07-17 14:46:57'::timestamp) - extract(epoch from '2026-07-17 14:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387899 -2.761688)'), GeomFromEWKT('SRID=4674;POINT (-40.387855 -2.761842)'))) / (select extract(epoch from '2026-07-17 14:46:57'::timestamp) - extract(epoch from '2026-07-17 14:46: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'), 47831, 'SRID=4674;POINT (-40.387798 -2.761995)', '2026-07-17 14:47:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387855 -2.761842)'), GeomFromEWKT('SRID=4674;POINT (-40.387798 -2.761995)'))) / (select extract(epoch from '2026-07-17 14:47:04'::timestamp) - extract(epoch from '2026-07-17 14:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387855 -2.761842)'), GeomFromEWKT('SRID=4674;POINT (-40.387798 -2.761995)'))) / (select extract(epoch from '2026-07-17 14:47:04'::timestamp) - extract(epoch from '2026-07-17 14:46: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'), 47831, 'SRID=4674;POINT (-40.387749 -2.762147)', '2026-07-17 14:47:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387798 -2.761995)'), GeomFromEWKT('SRID=4674;POINT (-40.387749 -2.762147)'))) / (select extract(epoch from '2026-07-17 14:47:11'::timestamp) - extract(epoch from '2026-07-17 14:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387798 -2.761995)'), GeomFromEWKT('SRID=4674;POINT (-40.387749 -2.762147)'))) / (select extract(epoch from '2026-07-17 14:47:11'::timestamp) - extract(epoch from '2026-07-17 14:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387704 -2.762315)', '2026-07-17 14:47:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387749 -2.762147)'), GeomFromEWKT('SRID=4674;POINT (-40.387704 -2.762315)'))) / (select extract(epoch from '2026-07-17 14:47:19'::timestamp) - extract(epoch from '2026-07-17 14:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387749 -2.762147)'), GeomFromEWKT('SRID=4674;POINT (-40.387704 -2.762315)'))) / (select extract(epoch from '2026-07-17 14:47:19'::timestamp) - extract(epoch from '2026-07-17 14:47: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'), 47831, 'SRID=4674;POINT (-40.387695 -2.762433)', '2026-07-17 14:47:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387704 -2.762315)'), GeomFromEWKT('SRID=4674;POINT (-40.387695 -2.762433)'))) / (select extract(epoch from '2026-07-17 14:47:24'::timestamp) - extract(epoch from '2026-07-17 14:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387704 -2.762315)'), GeomFromEWKT('SRID=4674;POINT (-40.387695 -2.762433)'))) / (select extract(epoch from '2026-07-17 14:47:24'::timestamp) - extract(epoch from '2026-07-17 14:47: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'), 47831, 'SRID=4674;POINT (-40.38768 -2.762516)', '2026-07-17 14:47:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387695 -2.762433)'), GeomFromEWKT('SRID=4674;POINT (-40.38768 -2.762516)'))) / (select extract(epoch from '2026-07-17 14:47:30'::timestamp) - extract(epoch from '2026-07-17 14:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387695 -2.762433)'), GeomFromEWKT('SRID=4674;POINT (-40.38768 -2.762516)'))) / (select extract(epoch from '2026-07-17 14:47:30'::timestamp) - extract(epoch from '2026-07-17 14:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387656 -2.762584)', '2026-07-17 14:47:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38768 -2.762516)'), GeomFromEWKT('SRID=4674;POINT (-40.387656 -2.762584)'))) / (select extract(epoch from '2026-07-17 14:47:37'::timestamp) - extract(epoch from '2026-07-17 14:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38768 -2.762516)'), GeomFromEWKT('SRID=4674;POINT (-40.387656 -2.762584)'))) / (select extract(epoch from '2026-07-17 14:47:37'::timestamp) - extract(epoch from '2026-07-17 14:47:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
