 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.568623 -2.824163)', '2026-07-09 13:30:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568589 -2.824158)'), GeomFromEWKT('SRID=4674;POINT (-40.568623 -2.824163)'))) / (select extract(epoch from '2026-07-09 13:30:00'::timestamp) - extract(epoch from '2026-07-09 13:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568589 -2.824158)'), GeomFromEWKT('SRID=4674;POINT (-40.568623 -2.824163)'))) / (select extract(epoch from '2026-07-09 13:30:00'::timestamp) - extract(epoch from '2026-07-09 13:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.568694 -2.824179)', '2026-07-09 13:30:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568623 -2.824163)'), GeomFromEWKT('SRID=4674;POINT (-40.568694 -2.824179)'))) / (select extract(epoch from '2026-07-09 13:30:13'::timestamp) - extract(epoch from '2026-07-09 13:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568623 -2.824163)'), GeomFromEWKT('SRID=4674;POINT (-40.568694 -2.824179)'))) / (select extract(epoch from '2026-07-09 13:30:13'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.568728 -2.824184)', '2026-07-09 13:30:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568694 -2.824179)'), GeomFromEWKT('SRID=4674;POINT (-40.568728 -2.824184)'))) / (select extract(epoch from '2026-07-09 13:30:20'::timestamp) - extract(epoch from '2026-07-09 13:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568694 -2.824179)'), GeomFromEWKT('SRID=4674;POINT (-40.568728 -2.824184)'))) / (select extract(epoch from '2026-07-09 13:30:20'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.568772 -2.824196)', '2026-07-09 13:30:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568728 -2.824184)'), GeomFromEWKT('SRID=4674;POINT (-40.568772 -2.824196)'))) / (select extract(epoch from '2026-07-09 13:30:28'::timestamp) - extract(epoch from '2026-07-09 13:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568728 -2.824184)'), GeomFromEWKT('SRID=4674;POINT (-40.568772 -2.824196)'))) / (select extract(epoch from '2026-07-09 13:30:28'::timestamp) - extract(epoch from '2026-07-09 13:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.568839 -2.824215)', '2026-07-09 13:30:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568772 -2.824196)'), GeomFromEWKT('SRID=4674;POINT (-40.568839 -2.824215)'))) / (select extract(epoch from '2026-07-09 13:30:39'::timestamp) - extract(epoch from '2026-07-09 13:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568772 -2.824196)'), GeomFromEWKT('SRID=4674;POINT (-40.568839 -2.824215)'))) / (select extract(epoch from '2026-07-09 13:30:39'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.568882 -2.82423)', '2026-07-09 13:30:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568839 -2.824215)'), GeomFromEWKT('SRID=4674;POINT (-40.568882 -2.82423)'))) / (select extract(epoch from '2026-07-09 13:30:47'::timestamp) - extract(epoch from '2026-07-09 13:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568839 -2.824215)'), GeomFromEWKT('SRID=4674;POINT (-40.568882 -2.82423)'))) / (select extract(epoch from '2026-07-09 13:30:47'::timestamp) - extract(epoch from '2026-07-09 13:30: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'), 47642, 'SRID=4674;POINT (-40.568921 -2.824242)', '2026-07-09 13:30:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568882 -2.82423)'), GeomFromEWKT('SRID=4674;POINT (-40.568921 -2.824242)'))) / (select extract(epoch from '2026-07-09 13:30:54'::timestamp) - extract(epoch from '2026-07-09 13:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568882 -2.82423)'), GeomFromEWKT('SRID=4674;POINT (-40.568921 -2.824242)'))) / (select extract(epoch from '2026-07-09 13:30:54'::timestamp) - extract(epoch from '2026-07-09 13:30: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'), 47642, 'SRID=4674;POINT (-40.568977 -2.824256)', '2026-07-09 13:31:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568921 -2.824242)'), GeomFromEWKT('SRID=4674;POINT (-40.568977 -2.824256)'))) / (select extract(epoch from '2026-07-09 13:31:03'::timestamp) - extract(epoch from '2026-07-09 13:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568921 -2.824242)'), GeomFromEWKT('SRID=4674;POINT (-40.568977 -2.824256)'))) / (select extract(epoch from '2026-07-09 13:31:03'::timestamp) - extract(epoch from '2026-07-09 13:30: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'), 47642, 'SRID=4674;POINT (-40.56904 -2.824274)', '2026-07-09 13:31:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568977 -2.824256)'), GeomFromEWKT('SRID=4674;POINT (-40.56904 -2.824274)'))) / (select extract(epoch from '2026-07-09 13:31:15'::timestamp) - extract(epoch from '2026-07-09 13:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568977 -2.824256)'), GeomFromEWKT('SRID=4674;POINT (-40.56904 -2.824274)'))) / (select extract(epoch from '2026-07-09 13:31:15'::timestamp) - extract(epoch from '2026-07-09 13:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56909 -2.82429)', '2026-07-09 13:31:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56904 -2.824274)'), GeomFromEWKT('SRID=4674;POINT (-40.56909 -2.82429)'))) / (select extract(epoch from '2026-07-09 13:31:24'::timestamp) - extract(epoch from '2026-07-09 13:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56904 -2.824274)'), GeomFromEWKT('SRID=4674;POINT (-40.56909 -2.82429)'))) / (select extract(epoch from '2026-07-09 13:31:24'::timestamp) - extract(epoch from '2026-07-09 13:31: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'), 47642, 'SRID=4674;POINT (-40.569121 -2.824293)', '2026-07-09 13:31:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56909 -2.82429)'), GeomFromEWKT('SRID=4674;POINT (-40.569121 -2.824293)'))) / (select extract(epoch from '2026-07-09 13:31:30'::timestamp) - extract(epoch from '2026-07-09 13:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56909 -2.82429)'), GeomFromEWKT('SRID=4674;POINT (-40.569121 -2.824293)'))) / (select extract(epoch from '2026-07-09 13:31:30'::timestamp) - extract(epoch from '2026-07-09 13:31: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'), 47642, 'SRID=4674;POINT (-40.569174 -2.824308)', '2026-07-09 13:31:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569121 -2.824293)'), GeomFromEWKT('SRID=4674;POINT (-40.569174 -2.824308)'))) / (select extract(epoch from '2026-07-09 13:31:40'::timestamp) - extract(epoch from '2026-07-09 13:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569121 -2.824293)'), GeomFromEWKT('SRID=4674;POINT (-40.569174 -2.824308)'))) / (select extract(epoch from '2026-07-09 13:31:40'::timestamp) - extract(epoch from '2026-07-09 13:31: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'), 47642, 'SRID=4674;POINT (-40.56923 -2.824321)', '2026-07-09 13:31:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569174 -2.824308)'), GeomFromEWKT('SRID=4674;POINT (-40.56923 -2.824321)'))) / (select extract(epoch from '2026-07-09 13:31:50'::timestamp) - extract(epoch from '2026-07-09 13:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569174 -2.824308)'), GeomFromEWKT('SRID=4674;POINT (-40.56923 -2.824321)'))) / (select extract(epoch from '2026-07-09 13:31:50'::timestamp) - extract(epoch from '2026-07-09 13:31: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'), 47642, 'SRID=4674;POINT (-40.569274 -2.824337)', '2026-07-09 13:31:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56923 -2.824321)'), GeomFromEWKT('SRID=4674;POINT (-40.569274 -2.824337)'))) / (select extract(epoch from '2026-07-09 13:31:58'::timestamp) - extract(epoch from '2026-07-09 13:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56923 -2.824321)'), GeomFromEWKT('SRID=4674;POINT (-40.569274 -2.824337)'))) / (select extract(epoch from '2026-07-09 13:31:58'::timestamp) - extract(epoch from '2026-07-09 13:31: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'), 47642, 'SRID=4674;POINT (-40.569323 -2.824359)', '2026-07-09 13:32:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569274 -2.824337)'), GeomFromEWKT('SRID=4674;POINT (-40.569323 -2.824359)'))) / (select extract(epoch from '2026-07-09 13:32:07'::timestamp) - extract(epoch from '2026-07-09 13:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569274 -2.824337)'), GeomFromEWKT('SRID=4674;POINT (-40.569323 -2.824359)'))) / (select extract(epoch from '2026-07-09 13:32:07'::timestamp) - extract(epoch from '2026-07-09 13:31: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'), 47642, 'SRID=4674;POINT (-40.569356 -2.824374)', '2026-07-09 13:32:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569323 -2.824359)'), GeomFromEWKT('SRID=4674;POINT (-40.569356 -2.824374)'))) / (select extract(epoch from '2026-07-09 13:32:13'::timestamp) - extract(epoch from '2026-07-09 13:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569323 -2.824359)'), GeomFromEWKT('SRID=4674;POINT (-40.569356 -2.824374)'))) / (select extract(epoch from '2026-07-09 13:32:13'::timestamp) - extract(epoch from '2026-07-09 13:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.569425 -2.824394)', '2026-07-09 13:32:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569356 -2.824374)'), GeomFromEWKT('SRID=4674;POINT (-40.569425 -2.824394)'))) / (select extract(epoch from '2026-07-09 13:32:25'::timestamp) - extract(epoch from '2026-07-09 13:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569356 -2.824374)'), GeomFromEWKT('SRID=4674;POINT (-40.569425 -2.824394)'))) / (select extract(epoch from '2026-07-09 13:32:25'::timestamp) - extract(epoch from '2026-07-09 13:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.569434 -2.824399)', '2026-07-09 13:32:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569425 -2.824394)'), GeomFromEWKT('SRID=4674;POINT (-40.569434 -2.824399)'))) / (select extract(epoch from '2026-07-09 13:32:26'::timestamp) - extract(epoch from '2026-07-09 13:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569425 -2.824394)'), GeomFromEWKT('SRID=4674;POINT (-40.569434 -2.824399)'))) / (select extract(epoch from '2026-07-09 13:32:26'::timestamp) - extract(epoch from '2026-07-09 13:32: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'), 47642, 'SRID=4674;POINT (-40.569463 -2.824408)', '2026-07-09 13:32:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569434 -2.824399)'), GeomFromEWKT('SRID=4674;POINT (-40.569463 -2.824408)'))) / (select extract(epoch from '2026-07-09 13:32:32'::timestamp) - extract(epoch from '2026-07-09 13:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569434 -2.824399)'), GeomFromEWKT('SRID=4674;POINT (-40.569463 -2.824408)'))) / (select extract(epoch from '2026-07-09 13:32:32'::timestamp) - extract(epoch from '2026-07-09 13:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.569515 -2.824429)', '2026-07-09 13:32:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569463 -2.824408)'), GeomFromEWKT('SRID=4674;POINT (-40.569515 -2.824429)'))) / (select extract(epoch from '2026-07-09 13:32:41'::timestamp) - extract(epoch from '2026-07-09 13:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569463 -2.824408)'), GeomFromEWKT('SRID=4674;POINT (-40.569515 -2.824429)'))) / (select extract(epoch from '2026-07-09 13:32:41'::timestamp) - extract(epoch from '2026-07-09 13:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.569572 -2.824449)', '2026-07-09 13:32:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569515 -2.824429)'), GeomFromEWKT('SRID=4674;POINT (-40.569572 -2.824449)'))) / (select extract(epoch from '2026-07-09 13:32:52'::timestamp) - extract(epoch from '2026-07-09 13:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569515 -2.824429)'), GeomFromEWKT('SRID=4674;POINT (-40.569572 -2.824449)'))) / (select extract(epoch from '2026-07-09 13:32:52'::timestamp) - extract(epoch from '2026-07-09 13:32: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'), 47642, 'SRID=4674;POINT (-40.569627 -2.824466)', '2026-07-09 13:33:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569572 -2.824449)'), GeomFromEWKT('SRID=4674;POINT (-40.569627 -2.824466)'))) / (select extract(epoch from '2026-07-09 13:33:01'::timestamp) - extract(epoch from '2026-07-09 13:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569572 -2.824449)'), GeomFromEWKT('SRID=4674;POINT (-40.569627 -2.824466)'))) / (select extract(epoch from '2026-07-09 13:33:01'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.569671 -2.824478)', '2026-07-09 13:33:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569627 -2.824466)'), GeomFromEWKT('SRID=4674;POINT (-40.569671 -2.824478)'))) / (select extract(epoch from '2026-07-09 13:33:10'::timestamp) - extract(epoch from '2026-07-09 13:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569627 -2.824466)'), GeomFromEWKT('SRID=4674;POINT (-40.569671 -2.824478)'))) / (select extract(epoch from '2026-07-09 13:33:10'::timestamp) - extract(epoch from '2026-07-09 13:33: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'), 47642, 'SRID=4674;POINT (-40.569711 -2.824494)', '2026-07-09 13:33:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569671 -2.824478)'), GeomFromEWKT('SRID=4674;POINT (-40.569711 -2.824494)'))) / (select extract(epoch from '2026-07-09 13:33:17'::timestamp) - extract(epoch from '2026-07-09 13:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569671 -2.824478)'), GeomFromEWKT('SRID=4674;POINT (-40.569711 -2.824494)'))) / (select extract(epoch from '2026-07-09 13:33:17'::timestamp) - extract(epoch from '2026-07-09 13:33: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'), 47642, 'SRID=4674;POINT (-40.569768 -2.824513)', '2026-07-09 13:33:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569711 -2.824494)'), GeomFromEWKT('SRID=4674;POINT (-40.569768 -2.824513)'))) / (select extract(epoch from '2026-07-09 13:33:29'::timestamp) - extract(epoch from '2026-07-09 13:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569711 -2.824494)'), GeomFromEWKT('SRID=4674;POINT (-40.569768 -2.824513)'))) / (select extract(epoch from '2026-07-09 13:33:29'::timestamp) - extract(epoch from '2026-07-09 13:33: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'), 47642, 'SRID=4674;POINT (-40.569818 -2.824526)', '2026-07-09 13:33:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569768 -2.824513)'), GeomFromEWKT('SRID=4674;POINT (-40.569818 -2.824526)'))) / (select extract(epoch from '2026-07-09 13:33:39'::timestamp) - extract(epoch from '2026-07-09 13:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569768 -2.824513)'), GeomFromEWKT('SRID=4674;POINT (-40.569818 -2.824526)'))) / (select extract(epoch from '2026-07-09 13:33:39'::timestamp) - extract(epoch from '2026-07-09 13:33: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'), 47642, 'SRID=4674;POINT (-40.569885 -2.824547)', '2026-07-09 13:33:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569818 -2.824526)'), GeomFromEWKT('SRID=4674;POINT (-40.569885 -2.824547)'))) / (select extract(epoch from '2026-07-09 13:33:51'::timestamp) - extract(epoch from '2026-07-09 13:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569818 -2.824526)'), GeomFromEWKT('SRID=4674;POINT (-40.569885 -2.824547)'))) / (select extract(epoch from '2026-07-09 13:33:51'::timestamp) - extract(epoch from '2026-07-09 13:33: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'), 47642, 'SRID=4674;POINT (-40.569943 -2.824565)', '2026-07-09 13:34:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569885 -2.824547)'), GeomFromEWKT('SRID=4674;POINT (-40.569943 -2.824565)'))) / (select extract(epoch from '2026-07-09 13:34:01'::timestamp) - extract(epoch from '2026-07-09 13:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569885 -2.824547)'), GeomFromEWKT('SRID=4674;POINT (-40.569943 -2.824565)'))) / (select extract(epoch from '2026-07-09 13:34:01'::timestamp) - extract(epoch from '2026-07-09 13:33: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'), 47642, 'SRID=4674;POINT (-40.57 -2.824573)', '2026-07-09 13:34:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569943 -2.824565)'), GeomFromEWKT('SRID=4674;POINT (-40.57 -2.824573)'))) / (select extract(epoch from '2026-07-09 13:34:11'::timestamp) - extract(epoch from '2026-07-09 13:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569943 -2.824565)'), GeomFromEWKT('SRID=4674;POINT (-40.57 -2.824573)'))) / (select extract(epoch from '2026-07-09 13:34:11'::timestamp) - extract(epoch from '2026-07-09 13:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.570057 -2.82458)', '2026-07-09 13:34:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57 -2.824573)'), GeomFromEWKT('SRID=4674;POINT (-40.570057 -2.82458)'))) / (select extract(epoch from '2026-07-09 13:34:20'::timestamp) - extract(epoch from '2026-07-09 13:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57 -2.824573)'), GeomFromEWKT('SRID=4674;POINT (-40.570057 -2.82458)'))) / (select extract(epoch from '2026-07-09 13:34:20'::timestamp) - extract(epoch from '2026-07-09 13:34: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'), 47642, 'SRID=4674;POINT (-40.570129 -2.824589)', '2026-07-09 13:34:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570057 -2.82458)'), GeomFromEWKT('SRID=4674;POINT (-40.570129 -2.824589)'))) / (select extract(epoch from '2026-07-09 13:34:31'::timestamp) - extract(epoch from '2026-07-09 13:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570057 -2.82458)'), GeomFromEWKT('SRID=4674;POINT (-40.570129 -2.824589)'))) / (select extract(epoch from '2026-07-09 13:34:31'::timestamp) - extract(epoch from '2026-07-09 13:34: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'), 47642, 'SRID=4674;POINT (-40.570183 -2.824605)', '2026-07-09 13:34:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570129 -2.824589)'), GeomFromEWKT('SRID=4674;POINT (-40.570183 -2.824605)'))) / (select extract(epoch from '2026-07-09 13:34:41'::timestamp) - extract(epoch from '2026-07-09 13:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570129 -2.824589)'), GeomFromEWKT('SRID=4674;POINT (-40.570183 -2.824605)'))) / (select extract(epoch from '2026-07-09 13:34:41'::timestamp) - extract(epoch from '2026-07-09 13:34:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.570239 -2.824608)', '2026-07-09 13:34:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570183 -2.824605)'), GeomFromEWKT('SRID=4674;POINT (-40.570239 -2.824608)'))) / (select extract(epoch from '2026-07-09 13:34:52'::timestamp) - extract(epoch from '2026-07-09 13:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570183 -2.824605)'), GeomFromEWKT('SRID=4674;POINT (-40.570239 -2.824608)'))) / (select extract(epoch from '2026-07-09 13:34:52'::timestamp) - extract(epoch from '2026-07-09 13:34: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'), 47642, 'SRID=4674;POINT (-40.570281 -2.824617)', '2026-07-09 13:35:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570239 -2.824608)'), GeomFromEWKT('SRID=4674;POINT (-40.570281 -2.824617)'))) / (select extract(epoch from '2026-07-09 13:35:00'::timestamp) - extract(epoch from '2026-07-09 13:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570239 -2.824608)'), GeomFromEWKT('SRID=4674;POINT (-40.570281 -2.824617)'))) / (select extract(epoch from '2026-07-09 13:35:00'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.570341 -2.824624)', '2026-07-09 13:35:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570281 -2.824617)'), GeomFromEWKT('SRID=4674;POINT (-40.570341 -2.824624)'))) / (select extract(epoch from '2026-07-09 13:35:09'::timestamp) - extract(epoch from '2026-07-09 13:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570281 -2.824617)'), GeomFromEWKT('SRID=4674;POINT (-40.570341 -2.824624)'))) / (select extract(epoch from '2026-07-09 13:35:09'::timestamp) - extract(epoch from '2026-07-09 13:35: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'), 47642, 'SRID=4674;POINT (-40.570397 -2.824635)', '2026-07-09 13:35:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570341 -2.824624)'), GeomFromEWKT('SRID=4674;POINT (-40.570397 -2.824635)'))) / (select extract(epoch from '2026-07-09 13:35:18'::timestamp) - extract(epoch from '2026-07-09 13:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570341 -2.824624)'), GeomFromEWKT('SRID=4674;POINT (-40.570397 -2.824635)'))) / (select extract(epoch from '2026-07-09 13:35:18'::timestamp) - extract(epoch from '2026-07-09 13:35: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'), 47642, 'SRID=4674;POINT (-40.57046 -2.824644)', '2026-07-09 13:35:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570397 -2.824635)'), GeomFromEWKT('SRID=4674;POINT (-40.57046 -2.824644)'))) / (select extract(epoch from '2026-07-09 13:35:28'::timestamp) - extract(epoch from '2026-07-09 13:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570397 -2.824635)'), GeomFromEWKT('SRID=4674;POINT (-40.57046 -2.824644)'))) / (select extract(epoch from '2026-07-09 13:35:28'::timestamp) - extract(epoch from '2026-07-09 13:35: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'), 47642, 'SRID=4674;POINT (-40.570504 -2.824654)', '2026-07-09 13:35:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57046 -2.824644)'), GeomFromEWKT('SRID=4674;POINT (-40.570504 -2.824654)'))) / (select extract(epoch from '2026-07-09 13:35:37'::timestamp) - extract(epoch from '2026-07-09 13:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57046 -2.824644)'), GeomFromEWKT('SRID=4674;POINT (-40.570504 -2.824654)'))) / (select extract(epoch from '2026-07-09 13:35:37'::timestamp) - extract(epoch from '2026-07-09 13:35: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'), 47642, 'SRID=4674;POINT (-40.570553 -2.824667)', '2026-07-09 13:35:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570504 -2.824654)'), GeomFromEWKT('SRID=4674;POINT (-40.570553 -2.824667)'))) / (select extract(epoch from '2026-07-09 13:35:45'::timestamp) - extract(epoch from '2026-07-09 13:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570504 -2.824654)'), GeomFromEWKT('SRID=4674;POINT (-40.570553 -2.824667)'))) / (select extract(epoch from '2026-07-09 13:35:45'::timestamp) - extract(epoch from '2026-07-09 13:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.570581 -2.824684)', '2026-07-09 13:35:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570553 -2.824667)'), GeomFromEWKT('SRID=4674;POINT (-40.570581 -2.824684)'))) / (select extract(epoch from '2026-07-09 13:35:52'::timestamp) - extract(epoch from '2026-07-09 13:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570553 -2.824667)'), GeomFromEWKT('SRID=4674;POINT (-40.570581 -2.824684)'))) / (select extract(epoch from '2026-07-09 13:35:52'::timestamp) - extract(epoch from '2026-07-09 13:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.570632 -2.824695)', '2026-07-09 13:36:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570581 -2.824684)'), GeomFromEWKT('SRID=4674;POINT (-40.570632 -2.824695)'))) / (select extract(epoch from '2026-07-09 13:36:00'::timestamp) - extract(epoch from '2026-07-09 13:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570581 -2.824684)'), GeomFromEWKT('SRID=4674;POINT (-40.570632 -2.824695)'))) / (select extract(epoch from '2026-07-09 13:36:00'::timestamp) - extract(epoch from '2026-07-09 13:35: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'), 47642, 'SRID=4674;POINT (-40.570687 -2.82471)', '2026-07-09 13:36:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570632 -2.824695)'), GeomFromEWKT('SRID=4674;POINT (-40.570687 -2.82471)'))) / (select extract(epoch from '2026-07-09 13:36:08'::timestamp) - extract(epoch from '2026-07-09 13:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570632 -2.824695)'), GeomFromEWKT('SRID=4674;POINT (-40.570687 -2.82471)'))) / (select extract(epoch from '2026-07-09 13:36:08'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.570731 -2.824721)', '2026-07-09 13:36:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570687 -2.82471)'), GeomFromEWKT('SRID=4674;POINT (-40.570731 -2.824721)'))) / (select extract(epoch from '2026-07-09 13:36:16'::timestamp) - extract(epoch from '2026-07-09 13:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570687 -2.82471)'), GeomFromEWKT('SRID=4674;POINT (-40.570731 -2.824721)'))) / (select extract(epoch from '2026-07-09 13:36:16'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.570803 -2.824732)', '2026-07-09 13:36:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570731 -2.824721)'), GeomFromEWKT('SRID=4674;POINT (-40.570803 -2.824732)'))) / (select extract(epoch from '2026-07-09 13:36:29'::timestamp) - extract(epoch from '2026-07-09 13:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570731 -2.824721)'), GeomFromEWKT('SRID=4674;POINT (-40.570803 -2.824732)'))) / (select extract(epoch from '2026-07-09 13:36:29'::timestamp) - extract(epoch from '2026-07-09 13:36:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.5709 -2.824774)', '2026-07-09 13:36:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570803 -2.824732)'), GeomFromEWKT('SRID=4674;POINT (-40.5709 -2.824774)'))) / (select extract(epoch from '2026-07-09 13:36:46'::timestamp) - extract(epoch from '2026-07-09 13:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570803 -2.824732)'), GeomFromEWKT('SRID=4674;POINT (-40.5709 -2.824774)'))) / (select extract(epoch from '2026-07-09 13:36:46'::timestamp) - extract(epoch from '2026-07-09 13:36: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'), 47642, 'SRID=4674;POINT (-40.571028 -2.82484)', '2026-07-09 13:37:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5709 -2.824774)'), GeomFromEWKT('SRID=4674;POINT (-40.571028 -2.82484)'))) / (select extract(epoch from '2026-07-09 13:37:09'::timestamp) - extract(epoch from '2026-07-09 13:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5709 -2.824774)'), GeomFromEWKT('SRID=4674;POINT (-40.571028 -2.82484)'))) / (select extract(epoch from '2026-07-09 13:37:09'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.571079 -2.824826)', '2026-07-09 13:37:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571028 -2.82484)'), GeomFromEWKT('SRID=4674;POINT (-40.571079 -2.824826)'))) / (select extract(epoch from '2026-07-09 13:37:22'::timestamp) - extract(epoch from '2026-07-09 13:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571028 -2.82484)'), GeomFromEWKT('SRID=4674;POINT (-40.571079 -2.824826)'))) / (select extract(epoch from '2026-07-09 13:37:22'::timestamp) - extract(epoch from '2026-07-09 13:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.571113 -2.824848)', '2026-07-09 13:37:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571079 -2.824826)'), GeomFromEWKT('SRID=4674;POINT (-40.571113 -2.824848)'))) / (select extract(epoch from '2026-07-09 13:37:29'::timestamp) - extract(epoch from '2026-07-09 13:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571079 -2.824826)'), GeomFromEWKT('SRID=4674;POINT (-40.571113 -2.824848)'))) / (select extract(epoch from '2026-07-09 13:37:29'::timestamp) - extract(epoch from '2026-07-09 13:37: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'), 47642, 'SRID=4674;POINT (-40.571155 -2.824872)', '2026-07-09 13:37:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571113 -2.824848)'), GeomFromEWKT('SRID=4674;POINT (-40.571155 -2.824872)'))) / (select extract(epoch from '2026-07-09 13:37:38'::timestamp) - extract(epoch from '2026-07-09 13:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571113 -2.824848)'), GeomFromEWKT('SRID=4674;POINT (-40.571155 -2.824872)'))) / (select extract(epoch from '2026-07-09 13:37:38'::timestamp) - extract(epoch from '2026-07-09 13:37: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'), 47642, 'SRID=4674;POINT (-40.571204 -2.824904)', '2026-07-09 13:37:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571155 -2.824872)'), GeomFromEWKT('SRID=4674;POINT (-40.571204 -2.824904)'))) / (select extract(epoch from '2026-07-09 13:37:46'::timestamp) - extract(epoch from '2026-07-09 13:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571155 -2.824872)'), GeomFromEWKT('SRID=4674;POINT (-40.571204 -2.824904)'))) / (select extract(epoch from '2026-07-09 13:37:46'::timestamp) - extract(epoch from '2026-07-09 13:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.571224 -2.824911)', '2026-07-09 13:37:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571204 -2.824904)'), GeomFromEWKT('SRID=4674;POINT (-40.571224 -2.824911)'))) / (select extract(epoch from '2026-07-09 13:37:55'::timestamp) - extract(epoch from '2026-07-09 13:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571204 -2.824904)'), GeomFromEWKT('SRID=4674;POINT (-40.571224 -2.824911)'))) / (select extract(epoch from '2026-07-09 13:37:55'::timestamp) - extract(epoch from '2026-07-09 13:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.571246 -2.824913)', '2026-07-09 13:38:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571224 -2.824911)'), GeomFromEWKT('SRID=4674;POINT (-40.571246 -2.824913)'))) / (select extract(epoch from '2026-07-09 13:38:04'::timestamp) - extract(epoch from '2026-07-09 13:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571224 -2.824911)'), GeomFromEWKT('SRID=4674;POINT (-40.571246 -2.824913)'))) / (select extract(epoch from '2026-07-09 13:38:04'::timestamp) - extract(epoch from '2026-07-09 13:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57129 -2.824936)', '2026-07-09 13:38:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571246 -2.824913)'), GeomFromEWKT('SRID=4674;POINT (-40.57129 -2.824936)'))) / (select extract(epoch from '2026-07-09 13:38:10'::timestamp) - extract(epoch from '2026-07-09 13:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571246 -2.824913)'), GeomFromEWKT('SRID=4674;POINT (-40.57129 -2.824936)'))) / (select extract(epoch from '2026-07-09 13:38:10'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.57132 -2.824945)', '2026-07-09 13:38:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57129 -2.824936)'), GeomFromEWKT('SRID=4674;POINT (-40.57132 -2.824945)'))) / (select extract(epoch from '2026-07-09 13:38:18'::timestamp) - extract(epoch from '2026-07-09 13:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57129 -2.824936)'), GeomFromEWKT('SRID=4674;POINT (-40.57132 -2.824945)'))) / (select extract(epoch from '2026-07-09 13:38:18'::timestamp) - extract(epoch from '2026-07-09 13:38: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'), 47642, 'SRID=4674;POINT (-40.571382 -2.824964)', '2026-07-09 13:38:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57132 -2.824945)'), GeomFromEWKT('SRID=4674;POINT (-40.571382 -2.824964)'))) / (select extract(epoch from '2026-07-09 13:38:25'::timestamp) - extract(epoch from '2026-07-09 13:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57132 -2.824945)'), GeomFromEWKT('SRID=4674;POINT (-40.571382 -2.824964)'))) / (select extract(epoch from '2026-07-09 13:38:25'::timestamp) - extract(epoch from '2026-07-09 13:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.571473 -2.824971)', '2026-07-09 13:38:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571382 -2.824964)'), GeomFromEWKT('SRID=4674;POINT (-40.571473 -2.824971)'))) / (select extract(epoch from '2026-07-09 13:38:34'::timestamp) - extract(epoch from '2026-07-09 13:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571382 -2.824964)'), GeomFromEWKT('SRID=4674;POINT (-40.571473 -2.824971)'))) / (select extract(epoch from '2026-07-09 13:38:34'::timestamp) - extract(epoch from '2026-07-09 13:38: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'), 47642, 'SRID=4674;POINT (-40.571555 -2.824989)', '2026-07-09 13:38:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571473 -2.824971)'), GeomFromEWKT('SRID=4674;POINT (-40.571555 -2.824989)'))) / (select extract(epoch from '2026-07-09 13:38:45'::timestamp) - extract(epoch from '2026-07-09 13:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571473 -2.824971)'), GeomFromEWKT('SRID=4674;POINT (-40.571555 -2.824989)'))) / (select extract(epoch from '2026-07-09 13:38:45'::timestamp) - extract(epoch from '2026-07-09 13:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.571622 -2.825004)', '2026-07-09 13:38:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571555 -2.824989)'), GeomFromEWKT('SRID=4674;POINT (-40.571622 -2.825004)'))) / (select extract(epoch from '2026-07-09 13:38:55'::timestamp) - extract(epoch from '2026-07-09 13:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571555 -2.824989)'), GeomFromEWKT('SRID=4674;POINT (-40.571622 -2.825004)'))) / (select extract(epoch from '2026-07-09 13:38:55'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.571691 -2.825032)', '2026-07-09 13:39:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571622 -2.825004)'), GeomFromEWKT('SRID=4674;POINT (-40.571691 -2.825032)'))) / (select extract(epoch from '2026-07-09 13:39:09'::timestamp) - extract(epoch from '2026-07-09 13:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571622 -2.825004)'), GeomFromEWKT('SRID=4674;POINT (-40.571691 -2.825032)'))) / (select extract(epoch from '2026-07-09 13:39:09'::timestamp) - extract(epoch from '2026-07-09 13:38: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'), 47642, 'SRID=4674;POINT (-40.571738 -2.825043)', '2026-07-09 13:39:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571691 -2.825032)'), GeomFromEWKT('SRID=4674;POINT (-40.571738 -2.825043)'))) / (select extract(epoch from '2026-07-09 13:39:18'::timestamp) - extract(epoch from '2026-07-09 13:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571691 -2.825032)'), GeomFromEWKT('SRID=4674;POINT (-40.571738 -2.825043)'))) / (select extract(epoch from '2026-07-09 13:39:18'::timestamp) - extract(epoch from '2026-07-09 13:39: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'), 47642, 'SRID=4674;POINT (-40.571776 -2.82505)', '2026-07-09 13:39:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571738 -2.825043)'), GeomFromEWKT('SRID=4674;POINT (-40.571776 -2.82505)'))) / (select extract(epoch from '2026-07-09 13:39:26'::timestamp) - extract(epoch from '2026-07-09 13:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571738 -2.825043)'), GeomFromEWKT('SRID=4674;POINT (-40.571776 -2.82505)'))) / (select extract(epoch from '2026-07-09 13:39:26'::timestamp) - extract(epoch from '2026-07-09 13:39: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'), 47642, 'SRID=4674;POINT (-40.571817 -2.825065)', '2026-07-09 13:39:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571776 -2.82505)'), GeomFromEWKT('SRID=4674;POINT (-40.571817 -2.825065)'))) / (select extract(epoch from '2026-07-09 13:39:34'::timestamp) - extract(epoch from '2026-07-09 13:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571776 -2.82505)'), GeomFromEWKT('SRID=4674;POINT (-40.571817 -2.825065)'))) / (select extract(epoch from '2026-07-09 13:39:34'::timestamp) - extract(epoch from '2026-07-09 13:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.571835 -2.825077)', '2026-07-09 13:39:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571817 -2.825065)'), GeomFromEWKT('SRID=4674;POINT (-40.571835 -2.825077)'))) / (select extract(epoch from '2026-07-09 13:39:39'::timestamp) - extract(epoch from '2026-07-09 13:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571817 -2.825065)'), GeomFromEWKT('SRID=4674;POINT (-40.571835 -2.825077)'))) / (select extract(epoch from '2026-07-09 13:39:39'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.571888 -2.825092)', '2026-07-09 13:39:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571835 -2.825077)'), GeomFromEWKT('SRID=4674;POINT (-40.571888 -2.825092)'))) / (select extract(epoch from '2026-07-09 13:39:50'::timestamp) - extract(epoch from '2026-07-09 13:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571835 -2.825077)'), GeomFromEWKT('SRID=4674;POINT (-40.571888 -2.825092)'))) / (select extract(epoch from '2026-07-09 13:39:50'::timestamp) - extract(epoch from '2026-07-09 13:39: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'), 47642, 'SRID=4674;POINT (-40.571955 -2.825136)', '2026-07-09 13:40:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571888 -2.825092)'), GeomFromEWKT('SRID=4674;POINT (-40.571955 -2.825136)'))) / (select extract(epoch from '2026-07-09 13:40:04'::timestamp) - extract(epoch from '2026-07-09 13:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571888 -2.825092)'), GeomFromEWKT('SRID=4674;POINT (-40.571955 -2.825136)'))) / (select extract(epoch from '2026-07-09 13:40:04'::timestamp) - extract(epoch from '2026-07-09 13:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57202 -2.825169)', '2026-07-09 13:40:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571955 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.57202 -2.825169)'))) / (select extract(epoch from '2026-07-09 13:40:17'::timestamp) - extract(epoch from '2026-07-09 13:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571955 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.57202 -2.825169)'))) / (select extract(epoch from '2026-07-09 13:40:17'::timestamp) - extract(epoch from '2026-07-09 13:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.572084 -2.825193)', '2026-07-09 13:40:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57202 -2.825169)'), GeomFromEWKT('SRID=4674;POINT (-40.572084 -2.825193)'))) / (select extract(epoch from '2026-07-09 13:40:29'::timestamp) - extract(epoch from '2026-07-09 13:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57202 -2.825169)'), GeomFromEWKT('SRID=4674;POINT (-40.572084 -2.825193)'))) / (select extract(epoch from '2026-07-09 13:40:29'::timestamp) - extract(epoch from '2026-07-09 13:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.572155 -2.825205)', '2026-07-09 13:40:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572084 -2.825193)'), GeomFromEWKT('SRID=4674;POINT (-40.572155 -2.825205)'))) / (select extract(epoch from '2026-07-09 13:40:43'::timestamp) - extract(epoch from '2026-07-09 13:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572084 -2.825193)'), GeomFromEWKT('SRID=4674;POINT (-40.572155 -2.825205)'))) / (select extract(epoch from '2026-07-09 13:40:43'::timestamp) - extract(epoch from '2026-07-09 13:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.572216 -2.825224)', '2026-07-09 13:40:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572155 -2.825205)'), GeomFromEWKT('SRID=4674;POINT (-40.572216 -2.825224)'))) / (select extract(epoch from '2026-07-09 13:40:52'::timestamp) - extract(epoch from '2026-07-09 13:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572155 -2.825205)'), GeomFromEWKT('SRID=4674;POINT (-40.572216 -2.825224)'))) / (select extract(epoch from '2026-07-09 13:40:52'::timestamp) - extract(epoch from '2026-07-09 13:40: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'), 47642, 'SRID=4674;POINT (-40.572226 -2.825233)', '2026-07-09 13:40:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572216 -2.825224)'), GeomFromEWKT('SRID=4674;POINT (-40.572226 -2.825233)'))) / (select extract(epoch from '2026-07-09 13:40:54'::timestamp) - extract(epoch from '2026-07-09 13:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572216 -2.825224)'), GeomFromEWKT('SRID=4674;POINT (-40.572226 -2.825233)'))) / (select extract(epoch from '2026-07-09 13:40:54'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.572257 -2.825244)', '2026-07-09 13:41:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572226 -2.825233)'), GeomFromEWKT('SRID=4674;POINT (-40.572257 -2.825244)'))) / (select extract(epoch from '2026-07-09 13:41:00'::timestamp) - extract(epoch from '2026-07-09 13:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572226 -2.825233)'), GeomFromEWKT('SRID=4674;POINT (-40.572257 -2.825244)'))) / (select extract(epoch from '2026-07-09 13:41:00'::timestamp) - extract(epoch from '2026-07-09 13:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.572324 -2.82529)', '2026-07-09 13:41:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572257 -2.825244)'), GeomFromEWKT('SRID=4674;POINT (-40.572324 -2.82529)'))) / (select extract(epoch from '2026-07-09 13:41:14'::timestamp) - extract(epoch from '2026-07-09 13:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572257 -2.825244)'), GeomFromEWKT('SRID=4674;POINT (-40.572324 -2.82529)'))) / (select extract(epoch from '2026-07-09 13:41:14'::timestamp) - extract(epoch from '2026-07-09 13:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.572407 -2.825323)', '2026-07-09 13:41:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572324 -2.82529)'), GeomFromEWKT('SRID=4674;POINT (-40.572407 -2.825323)'))) / (select extract(epoch from '2026-07-09 13:41:27'::timestamp) - extract(epoch from '2026-07-09 13:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572324 -2.82529)'), GeomFromEWKT('SRID=4674;POINT (-40.572407 -2.825323)'))) / (select extract(epoch from '2026-07-09 13:41:27'::timestamp) - extract(epoch from '2026-07-09 13:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.572486 -2.825353)', '2026-07-09 13:41:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572407 -2.825323)'), GeomFromEWKT('SRID=4674;POINT (-40.572486 -2.825353)'))) / (select extract(epoch from '2026-07-09 13:41:40'::timestamp) - extract(epoch from '2026-07-09 13:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572407 -2.825323)'), GeomFromEWKT('SRID=4674;POINT (-40.572486 -2.825353)'))) / (select extract(epoch from '2026-07-09 13:41:40'::timestamp) - extract(epoch from '2026-07-09 13:41: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'), 47642, 'SRID=4674;POINT (-40.572558 -2.825368)', '2026-07-09 13:41:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572486 -2.825353)'), GeomFromEWKT('SRID=4674;POINT (-40.572558 -2.825368)'))) / (select extract(epoch from '2026-07-09 13:41:51'::timestamp) - extract(epoch from '2026-07-09 13:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572486 -2.825353)'), GeomFromEWKT('SRID=4674;POINT (-40.572558 -2.825368)'))) / (select extract(epoch from '2026-07-09 13:41:51'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.572651 -2.825398)', '2026-07-09 13:42:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572558 -2.825368)'), GeomFromEWKT('SRID=4674;POINT (-40.572651 -2.825398)'))) / (select extract(epoch from '2026-07-09 13:42:07'::timestamp) - extract(epoch from '2026-07-09 13:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572558 -2.825368)'), GeomFromEWKT('SRID=4674;POINT (-40.572651 -2.825398)'))) / (select extract(epoch from '2026-07-09 13:42:07'::timestamp) - extract(epoch from '2026-07-09 13:41: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'), 47642, 'SRID=4674;POINT (-40.572744 -2.825405)', '2026-07-09 13:42:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572651 -2.825398)'), GeomFromEWKT('SRID=4674;POINT (-40.572744 -2.825405)'))) / (select extract(epoch from '2026-07-09 13:42:20'::timestamp) - extract(epoch from '2026-07-09 13:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572651 -2.825398)'), GeomFromEWKT('SRID=4674;POINT (-40.572744 -2.825405)'))) / (select extract(epoch from '2026-07-09 13:42:20'::timestamp) - extract(epoch from '2026-07-09 13:42:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.572791 -2.825418)', '2026-07-09 13:42:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572744 -2.825405)'), GeomFromEWKT('SRID=4674;POINT (-40.572791 -2.825418)'))) / (select extract(epoch from '2026-07-09 13:42:29'::timestamp) - extract(epoch from '2026-07-09 13:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572744 -2.825405)'), GeomFromEWKT('SRID=4674;POINT (-40.572791 -2.825418)'))) / (select extract(epoch from '2026-07-09 13:42:29'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.572822 -2.825425)', '2026-07-09 13:42:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572791 -2.825418)'), GeomFromEWKT('SRID=4674;POINT (-40.572822 -2.825425)'))) / (select extract(epoch from '2026-07-09 13:42:34'::timestamp) - extract(epoch from '2026-07-09 13:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572791 -2.825418)'), GeomFromEWKT('SRID=4674;POINT (-40.572822 -2.825425)'))) / (select extract(epoch from '2026-07-09 13:42:34'::timestamp) - extract(epoch from '2026-07-09 13:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.572856 -2.825438)', '2026-07-09 13:42:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572822 -2.825425)'), GeomFromEWKT('SRID=4674;POINT (-40.572856 -2.825438)'))) / (select extract(epoch from '2026-07-09 13:42:40'::timestamp) - extract(epoch from '2026-07-09 13:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572822 -2.825425)'), GeomFromEWKT('SRID=4674;POINT (-40.572856 -2.825438)'))) / (select extract(epoch from '2026-07-09 13:42:40'::timestamp) - extract(epoch from '2026-07-09 13:42:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.572897 -2.825456)', '2026-07-09 13:42:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572856 -2.825438)'), GeomFromEWKT('SRID=4674;POINT (-40.572897 -2.825456)'))) / (select extract(epoch from '2026-07-09 13:42:47'::timestamp) - extract(epoch from '2026-07-09 13:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572856 -2.825438)'), GeomFromEWKT('SRID=4674;POINT (-40.572897 -2.825456)'))) / (select extract(epoch from '2026-07-09 13:42:47'::timestamp) - extract(epoch from '2026-07-09 13:42: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'), 47642, 'SRID=4674;POINT (-40.572933 -2.825466)', '2026-07-09 13:42:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572897 -2.825456)'), GeomFromEWKT('SRID=4674;POINT (-40.572933 -2.825466)'))) / (select extract(epoch from '2026-07-09 13:42:53'::timestamp) - extract(epoch from '2026-07-09 13:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572897 -2.825456)'), GeomFromEWKT('SRID=4674;POINT (-40.572933 -2.825466)'))) / (select extract(epoch from '2026-07-09 13:42:53'::timestamp) - extract(epoch from '2026-07-09 13:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.572971 -2.82548)', '2026-07-09 13:43:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572933 -2.825466)'), GeomFromEWKT('SRID=4674;POINT (-40.572971 -2.82548)'))) / (select extract(epoch from '2026-07-09 13:43:00'::timestamp) - extract(epoch from '2026-07-09 13:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572933 -2.825466)'), GeomFromEWKT('SRID=4674;POINT (-40.572971 -2.82548)'))) / (select extract(epoch from '2026-07-09 13:43:00'::timestamp) - extract(epoch from '2026-07-09 13:42: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'), 47642, 'SRID=4674;POINT (-40.573004 -2.825487)', '2026-07-09 13:43:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572971 -2.82548)'), GeomFromEWKT('SRID=4674;POINT (-40.573004 -2.825487)'))) / (select extract(epoch from '2026-07-09 13:43:06'::timestamp) - extract(epoch from '2026-07-09 13:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572971 -2.82548)'), GeomFromEWKT('SRID=4674;POINT (-40.573004 -2.825487)'))) / (select extract(epoch from '2026-07-09 13:43:06'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.573032 -2.825497)', '2026-07-09 13:43:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573004 -2.825487)'), GeomFromEWKT('SRID=4674;POINT (-40.573032 -2.825497)'))) / (select extract(epoch from '2026-07-09 13:43:10'::timestamp) - extract(epoch from '2026-07-09 13:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573004 -2.825487)'), GeomFromEWKT('SRID=4674;POINT (-40.573032 -2.825497)'))) / (select extract(epoch from '2026-07-09 13:43:10'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.573047 -2.825505)', '2026-07-09 13:43:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573032 -2.825497)'), GeomFromEWKT('SRID=4674;POINT (-40.573047 -2.825505)'))) / (select extract(epoch from '2026-07-09 13:43:12'::timestamp) - extract(epoch from '2026-07-09 13:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573032 -2.825497)'), GeomFromEWKT('SRID=4674;POINT (-40.573047 -2.825505)'))) / (select extract(epoch from '2026-07-09 13:43:12'::timestamp) - extract(epoch from '2026-07-09 13:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.573063 -2.82551)', '2026-07-09 13:43:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573047 -2.825505)'), GeomFromEWKT('SRID=4674;POINT (-40.573063 -2.82551)'))) / (select extract(epoch from '2026-07-09 13:43:15'::timestamp) - extract(epoch from '2026-07-09 13:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573047 -2.825505)'), GeomFromEWKT('SRID=4674;POINT (-40.573063 -2.82551)'))) / (select extract(epoch from '2026-07-09 13:43:15'::timestamp) - extract(epoch from '2026-07-09 13:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.573106 -2.825521)', '2026-07-09 13:43:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573063 -2.82551)'), GeomFromEWKT('SRID=4674;POINT (-40.573106 -2.825521)'))) / (select extract(epoch from '2026-07-09 13:43:22'::timestamp) - extract(epoch from '2026-07-09 13:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573063 -2.82551)'), GeomFromEWKT('SRID=4674;POINT (-40.573106 -2.825521)'))) / (select extract(epoch from '2026-07-09 13:43:22'::timestamp) - extract(epoch from '2026-07-09 13:43: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'), 47642, 'SRID=4674;POINT (-40.573145 -2.825534)', '2026-07-09 13:43:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573106 -2.825521)'), GeomFromEWKT('SRID=4674;POINT (-40.573145 -2.825534)'))) / (select extract(epoch from '2026-07-09 13:43:29'::timestamp) - extract(epoch from '2026-07-09 13:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573106 -2.825521)'), GeomFromEWKT('SRID=4674;POINT (-40.573145 -2.825534)'))) / (select extract(epoch from '2026-07-09 13:43:29'::timestamp) - extract(epoch from '2026-07-09 13:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.573178 -2.82554)', '2026-07-09 13:43:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573145 -2.825534)'), GeomFromEWKT('SRID=4674;POINT (-40.573178 -2.82554)'))) / (select extract(epoch from '2026-07-09 13:43:36'::timestamp) - extract(epoch from '2026-07-09 13:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573145 -2.825534)'), GeomFromEWKT('SRID=4674;POINT (-40.573178 -2.82554)'))) / (select extract(epoch from '2026-07-09 13:43:36'::timestamp) - extract(epoch from '2026-07-09 13:43: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'), 47642, 'SRID=4674;POINT (-40.573232 -2.825552)', '2026-07-09 13:43:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573178 -2.82554)'), GeomFromEWKT('SRID=4674;POINT (-40.573232 -2.825552)'))) / (select extract(epoch from '2026-07-09 13:43:46'::timestamp) - extract(epoch from '2026-07-09 13:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573178 -2.82554)'), GeomFromEWKT('SRID=4674;POINT (-40.573232 -2.825552)'))) / (select extract(epoch from '2026-07-09 13:43:46'::timestamp) - extract(epoch from '2026-07-09 13:43: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'), 47642, 'SRID=4674;POINT (-40.573285 -2.825575)', '2026-07-09 13:43:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573232 -2.825552)'), GeomFromEWKT('SRID=4674;POINT (-40.573285 -2.825575)'))) / (select extract(epoch from '2026-07-09 13:43:52'::timestamp) - extract(epoch from '2026-07-09 13:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573232 -2.825552)'), GeomFromEWKT('SRID=4674;POINT (-40.573285 -2.825575)'))) / (select extract(epoch from '2026-07-09 13:43:52'::timestamp) - extract(epoch from '2026-07-09 13:43:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.573304 -2.825582)', '2026-07-09 13:43:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573285 -2.825575)'), GeomFromEWKT('SRID=4674;POINT (-40.573304 -2.825582)'))) / (select extract(epoch from '2026-07-09 13:43:56'::timestamp) - extract(epoch from '2026-07-09 13:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573285 -2.825575)'), GeomFromEWKT('SRID=4674;POINT (-40.573304 -2.825582)'))) / (select extract(epoch from '2026-07-09 13:43:56'::timestamp) - extract(epoch from '2026-07-09 13:43: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'), 47642, 'SRID=4674;POINT (-40.573375 -2.825614)', '2026-07-09 13:44:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573304 -2.825582)'), GeomFromEWKT('SRID=4674;POINT (-40.573375 -2.825614)'))) / (select extract(epoch from '2026-07-09 13:44:07'::timestamp) - extract(epoch from '2026-07-09 13:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573304 -2.825582)'), GeomFromEWKT('SRID=4674;POINT (-40.573375 -2.825614)'))) / (select extract(epoch from '2026-07-09 13:44:07'::timestamp) - extract(epoch from '2026-07-09 13:43:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.573416 -2.825631)', '2026-07-09 13:44:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573375 -2.825614)'), GeomFromEWKT('SRID=4674;POINT (-40.573416 -2.825631)'))) / (select extract(epoch from '2026-07-09 13:44:14'::timestamp) - extract(epoch from '2026-07-09 13:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573375 -2.825614)'), GeomFromEWKT('SRID=4674;POINT (-40.573416 -2.825631)'))) / (select extract(epoch from '2026-07-09 13:44:14'::timestamp) - extract(epoch from '2026-07-09 13:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57344 -2.825626)', '2026-07-09 13:44:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573416 -2.825631)'), GeomFromEWKT('SRID=4674;POINT (-40.57344 -2.825626)'))) / (select extract(epoch from '2026-07-09 13:44:17'::timestamp) - extract(epoch from '2026-07-09 13:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573416 -2.825631)'), GeomFromEWKT('SRID=4674;POINT (-40.57344 -2.825626)'))) / (select extract(epoch from '2026-07-09 13:44:17'::timestamp) - extract(epoch from '2026-07-09 13:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.573455 -2.825625)', '2026-07-09 13:44:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57344 -2.825626)'), GeomFromEWKT('SRID=4674;POINT (-40.573455 -2.825625)'))) / (select extract(epoch from '2026-07-09 13:44:19'::timestamp) - extract(epoch from '2026-07-09 13:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57344 -2.825626)'), GeomFromEWKT('SRID=4674;POINT (-40.573455 -2.825625)'))) / (select extract(epoch from '2026-07-09 13:44:19'::timestamp) - extract(epoch from '2026-07-09 13:44: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'), 47642, 'SRID=4674;POINT (-40.573532 -2.825654)', '2026-07-09 13:44:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573455 -2.825625)'), GeomFromEWKT('SRID=4674;POINT (-40.573532 -2.825654)'))) / (select extract(epoch from '2026-07-09 13:44:31'::timestamp) - extract(epoch from '2026-07-09 13:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573455 -2.825625)'), GeomFromEWKT('SRID=4674;POINT (-40.573532 -2.825654)'))) / (select extract(epoch from '2026-07-09 13:44:31'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.573577 -2.825663)', '2026-07-09 13:44:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573532 -2.825654)'), GeomFromEWKT('SRID=4674;POINT (-40.573577 -2.825663)'))) / (select extract(epoch from '2026-07-09 13:44:42'::timestamp) - extract(epoch from '2026-07-09 13:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573532 -2.825654)'), GeomFromEWKT('SRID=4674;POINT (-40.573577 -2.825663)'))) / (select extract(epoch from '2026-07-09 13:44:42'::timestamp) - extract(epoch from '2026-07-09 13:44:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.573621 -2.825673)', '2026-07-09 13:44:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573577 -2.825663)'), GeomFromEWKT('SRID=4674;POINT (-40.573621 -2.825673)'))) / (select extract(epoch from '2026-07-09 13:44:51'::timestamp) - extract(epoch from '2026-07-09 13:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573577 -2.825663)'), GeomFromEWKT('SRID=4674;POINT (-40.573621 -2.825673)'))) / (select extract(epoch from '2026-07-09 13:44:51'::timestamp) - extract(epoch from '2026-07-09 13:44: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'), 47642, 'SRID=4674;POINT (-40.57368 -2.8257)', '2026-07-09 13:45:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573621 -2.825673)'), GeomFromEWKT('SRID=4674;POINT (-40.57368 -2.8257)'))) / (select extract(epoch from '2026-07-09 13:45:01'::timestamp) - extract(epoch from '2026-07-09 13:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573621 -2.825673)'), GeomFromEWKT('SRID=4674;POINT (-40.57368 -2.8257)'))) / (select extract(epoch from '2026-07-09 13:45:01'::timestamp) - extract(epoch from '2026-07-09 13:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.573739 -2.825713)', '2026-07-09 13:45:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57368 -2.8257)'), GeomFromEWKT('SRID=4674;POINT (-40.573739 -2.825713)'))) / (select extract(epoch from '2026-07-09 13:45:11'::timestamp) - extract(epoch from '2026-07-09 13:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57368 -2.8257)'), GeomFromEWKT('SRID=4674;POINT (-40.573739 -2.825713)'))) / (select extract(epoch from '2026-07-09 13:45:11'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.573809 -2.825719)', '2026-07-09 13:45:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573739 -2.825713)'), GeomFromEWKT('SRID=4674;POINT (-40.573809 -2.825719)'))) / (select extract(epoch from '2026-07-09 13:45:23'::timestamp) - extract(epoch from '2026-07-09 13:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573739 -2.825713)'), GeomFromEWKT('SRID=4674;POINT (-40.573809 -2.825719)'))) / (select extract(epoch from '2026-07-09 13:45:23'::timestamp) - extract(epoch from '2026-07-09 13:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.573854 -2.825727)', '2026-07-09 13:45:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573809 -2.825719)'), GeomFromEWKT('SRID=4674;POINT (-40.573854 -2.825727)'))) / (select extract(epoch from '2026-07-09 13:45:31'::timestamp) - extract(epoch from '2026-07-09 13:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573809 -2.825719)'), GeomFromEWKT('SRID=4674;POINT (-40.573854 -2.825727)'))) / (select extract(epoch from '2026-07-09 13:45:31'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.573907 -2.825735)', '2026-07-09 13:45:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573854 -2.825727)'), GeomFromEWKT('SRID=4674;POINT (-40.573907 -2.825735)'))) / (select extract(epoch from '2026-07-09 13:45:40'::timestamp) - extract(epoch from '2026-07-09 13:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573854 -2.825727)'), GeomFromEWKT('SRID=4674;POINT (-40.573907 -2.825735)'))) / (select extract(epoch from '2026-07-09 13:45:40'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.573954 -2.825752)', '2026-07-09 13:45:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573907 -2.825735)'), GeomFromEWKT('SRID=4674;POINT (-40.573954 -2.825752)'))) / (select extract(epoch from '2026-07-09 13:45:49'::timestamp) - extract(epoch from '2026-07-09 13:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573907 -2.825735)'), GeomFromEWKT('SRID=4674;POINT (-40.573954 -2.825752)'))) / (select extract(epoch from '2026-07-09 13:45:49'::timestamp) - extract(epoch from '2026-07-09 13:45:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.573999 -2.825766)', '2026-07-09 13:45:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573954 -2.825752)'), GeomFromEWKT('SRID=4674;POINT (-40.573999 -2.825766)'))) / (select extract(epoch from '2026-07-09 13:45:58'::timestamp) - extract(epoch from '2026-07-09 13:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573954 -2.825752)'), GeomFromEWKT('SRID=4674;POINT (-40.573999 -2.825766)'))) / (select extract(epoch from '2026-07-09 13:45:58'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.574037 -2.825778)', '2026-07-09 13:46:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573999 -2.825766)'), GeomFromEWKT('SRID=4674;POINT (-40.574037 -2.825778)'))) / (select extract(epoch from '2026-07-09 13:46:04'::timestamp) - extract(epoch from '2026-07-09 13:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573999 -2.825766)'), GeomFromEWKT('SRID=4674;POINT (-40.574037 -2.825778)'))) / (select extract(epoch from '2026-07-09 13:46:04'::timestamp) - extract(epoch from '2026-07-09 13:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.574066 -2.825793)', '2026-07-09 13:46:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574037 -2.825778)'), GeomFromEWKT('SRID=4674;POINT (-40.574066 -2.825793)'))) / (select extract(epoch from '2026-07-09 13:46:10'::timestamp) - extract(epoch from '2026-07-09 13:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574037 -2.825778)'), GeomFromEWKT('SRID=4674;POINT (-40.574066 -2.825793)'))) / (select extract(epoch from '2026-07-09 13:46:10'::timestamp) - extract(epoch from '2026-07-09 13:46: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'), 47642, 'SRID=4674;POINT (-40.574072 -2.825794)', '2026-07-09 13:46:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574066 -2.825793)'), GeomFromEWKT('SRID=4674;POINT (-40.574072 -2.825794)'))) / (select extract(epoch from '2026-07-09 13:46:11'::timestamp) - extract(epoch from '2026-07-09 13:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574066 -2.825793)'), GeomFromEWKT('SRID=4674;POINT (-40.574072 -2.825794)'))) / (select extract(epoch from '2026-07-09 13:46:11'::timestamp) - extract(epoch from '2026-07-09 13:46:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.574109 -2.825807)', '2026-07-09 13:46:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574072 -2.825794)'), GeomFromEWKT('SRID=4674;POINT (-40.574109 -2.825807)'))) / (select extract(epoch from '2026-07-09 13:46:17'::timestamp) - extract(epoch from '2026-07-09 13:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574072 -2.825794)'), GeomFromEWKT('SRID=4674;POINT (-40.574109 -2.825807)'))) / (select extract(epoch from '2026-07-09 13:46:17'::timestamp) - extract(epoch from '2026-07-09 13:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.574151 -2.825811)', '2026-07-09 13:46:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574109 -2.825807)'), GeomFromEWKT('SRID=4674;POINT (-40.574151 -2.825811)'))) / (select extract(epoch from '2026-07-09 13:46:23'::timestamp) - extract(epoch from '2026-07-09 13:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574109 -2.825807)'), GeomFromEWKT('SRID=4674;POINT (-40.574151 -2.825811)'))) / (select extract(epoch from '2026-07-09 13:46:23'::timestamp) - extract(epoch from '2026-07-09 13:46: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'), 47642, 'SRID=4674;POINT (-40.57418 -2.825826)', '2026-07-09 13:46:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574151 -2.825811)'), GeomFromEWKT('SRID=4674;POINT (-40.57418 -2.825826)'))) / (select extract(epoch from '2026-07-09 13:46:27'::timestamp) - extract(epoch from '2026-07-09 13:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574151 -2.825811)'), GeomFromEWKT('SRID=4674;POINT (-40.57418 -2.825826)'))) / (select extract(epoch from '2026-07-09 13:46:27'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.574251 -2.825841)', '2026-07-09 13:46:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57418 -2.825826)'), GeomFromEWKT('SRID=4674;POINT (-40.574251 -2.825841)'))) / (select extract(epoch from '2026-07-09 13:46:38'::timestamp) - extract(epoch from '2026-07-09 13:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57418 -2.825826)'), GeomFromEWKT('SRID=4674;POINT (-40.574251 -2.825841)'))) / (select extract(epoch from '2026-07-09 13:46:38'::timestamp) - extract(epoch from '2026-07-09 13:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.574268 -2.825833)', '2026-07-09 13:46:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574251 -2.825841)'), GeomFromEWKT('SRID=4674;POINT (-40.574268 -2.825833)'))) / (select extract(epoch from '2026-07-09 13:46:42'::timestamp) - extract(epoch from '2026-07-09 13:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574251 -2.825841)'), GeomFromEWKT('SRID=4674;POINT (-40.574268 -2.825833)'))) / (select extract(epoch from '2026-07-09 13:46:42'::timestamp) - extract(epoch from '2026-07-09 13:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.574293 -2.825835)', '2026-07-09 13:46:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574268 -2.825833)'), GeomFromEWKT('SRID=4674;POINT (-40.574293 -2.825835)'))) / (select extract(epoch from '2026-07-09 13:46:46'::timestamp) - extract(epoch from '2026-07-09 13:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574268 -2.825833)'), GeomFromEWKT('SRID=4674;POINT (-40.574293 -2.825835)'))) / (select extract(epoch from '2026-07-09 13:46:46'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47642, 'SRID=4674;POINT (-40.574333 -2.825831)', '2026-07-09 13:46:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574293 -2.825835)'), GeomFromEWKT('SRID=4674;POINT (-40.574333 -2.825831)'))) / (select extract(epoch from '2026-07-09 13:46:53'::timestamp) - extract(epoch from '2026-07-09 13:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574293 -2.825835)'), GeomFromEWKT('SRID=4674;POINT (-40.574333 -2.825831)'))) / (select extract(epoch from '2026-07-09 13:46:53'::timestamp) - extract(epoch from '2026-07-09 13:46: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'), 47642, 'SRID=4674;POINT (-40.574375 -2.825844)', '2026-07-09 13:47:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574333 -2.825831)'), GeomFromEWKT('SRID=4674;POINT (-40.574375 -2.825844)'))) / (select extract(epoch from '2026-07-09 13:47:02'::timestamp) - extract(epoch from '2026-07-09 13:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574333 -2.825831)'), GeomFromEWKT('SRID=4674;POINT (-40.574375 -2.825844)'))) / (select extract(epoch from '2026-07-09 13:47:02'::timestamp) - extract(epoch from '2026-07-09 13:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57444 -2.825856)', '2026-07-09 13:47:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574375 -2.825844)'), GeomFromEWKT('SRID=4674;POINT (-40.57444 -2.825856)'))) / (select extract(epoch from '2026-07-09 13:47:12'::timestamp) - extract(epoch from '2026-07-09 13:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574375 -2.825844)'), GeomFromEWKT('SRID=4674;POINT (-40.57444 -2.825856)'))) / (select extract(epoch from '2026-07-09 13:47:12'::timestamp) - extract(epoch from '2026-07-09 13:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.574478 -2.825865)', '2026-07-09 13:47:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57444 -2.825856)'), GeomFromEWKT('SRID=4674;POINT (-40.574478 -2.825865)'))) / (select extract(epoch from '2026-07-09 13:47:18'::timestamp) - extract(epoch from '2026-07-09 13:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57444 -2.825856)'), GeomFromEWKT('SRID=4674;POINT (-40.574478 -2.825865)'))) / (select extract(epoch from '2026-07-09 13:47:18'::timestamp) - extract(epoch from '2026-07-09 13:47:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.574531 -2.825877)', '2026-07-09 13:47:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574478 -2.825865)'), GeomFromEWKT('SRID=4674;POINT (-40.574531 -2.825877)'))) / (select extract(epoch from '2026-07-09 13:47:27'::timestamp) - extract(epoch from '2026-07-09 13:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574478 -2.825865)'), GeomFromEWKT('SRID=4674;POINT (-40.574531 -2.825877)'))) / (select extract(epoch from '2026-07-09 13:47:27'::timestamp) - extract(epoch from '2026-07-09 13:47: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'), 47642, 'SRID=4674;POINT (-40.574589 -2.825887)', '2026-07-09 13:47:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574531 -2.825877)'), GeomFromEWKT('SRID=4674;POINT (-40.574589 -2.825887)'))) / (select extract(epoch from '2026-07-09 13:47:35'::timestamp) - extract(epoch from '2026-07-09 13:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574531 -2.825877)'), GeomFromEWKT('SRID=4674;POINT (-40.574589 -2.825887)'))) / (select extract(epoch from '2026-07-09 13:47:35'::timestamp) - extract(epoch from '2026-07-09 13:47: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'), 47642, 'SRID=4674;POINT (-40.574631 -2.825891)', '2026-07-09 13:47:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574589 -2.825887)'), GeomFromEWKT('SRID=4674;POINT (-40.574631 -2.825891)'))) / (select extract(epoch from '2026-07-09 13:47:42'::timestamp) - extract(epoch from '2026-07-09 13:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574589 -2.825887)'), GeomFromEWKT('SRID=4674;POINT (-40.574631 -2.825891)'))) / (select extract(epoch from '2026-07-09 13:47:42'::timestamp) - extract(epoch from '2026-07-09 13:47: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'), 47642, 'SRID=4674;POINT (-40.57468 -2.825901)', '2026-07-09 13:47:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574631 -2.825891)'), GeomFromEWKT('SRID=4674;POINT (-40.57468 -2.825901)'))) / (select extract(epoch from '2026-07-09 13:47:49'::timestamp) - extract(epoch from '2026-07-09 13:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574631 -2.825891)'), GeomFromEWKT('SRID=4674;POINT (-40.57468 -2.825901)'))) / (select extract(epoch from '2026-07-09 13:47:49'::timestamp) - extract(epoch from '2026-07-09 13:47: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'), 47642, 'SRID=4674;POINT (-40.574732 -2.825907)', '2026-07-09 13:47:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57468 -2.825901)'), GeomFromEWKT('SRID=4674;POINT (-40.574732 -2.825907)'))) / (select extract(epoch from '2026-07-09 13:47:57'::timestamp) - extract(epoch from '2026-07-09 13:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57468 -2.825901)'), GeomFromEWKT('SRID=4674;POINT (-40.574732 -2.825907)'))) / (select extract(epoch from '2026-07-09 13:47:57'::timestamp) - extract(epoch from '2026-07-09 13:47: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'), 47642, 'SRID=4674;POINT (-40.574776 -2.825909)', '2026-07-09 13:48:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574732 -2.825907)'), GeomFromEWKT('SRID=4674;POINT (-40.574776 -2.825909)'))) / (select extract(epoch from '2026-07-09 13:48:04'::timestamp) - extract(epoch from '2026-07-09 13:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574732 -2.825907)'), GeomFromEWKT('SRID=4674;POINT (-40.574776 -2.825909)'))) / (select extract(epoch from '2026-07-09 13:48:04'::timestamp) - extract(epoch from '2026-07-09 13:47: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'), 47642, 'SRID=4674;POINT (-40.574827 -2.825912)', '2026-07-09 13:48:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574776 -2.825909)'), GeomFromEWKT('SRID=4674;POINT (-40.574827 -2.825912)'))) / (select extract(epoch from '2026-07-09 13:48:12'::timestamp) - extract(epoch from '2026-07-09 13:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574776 -2.825909)'), GeomFromEWKT('SRID=4674;POINT (-40.574827 -2.825912)'))) / (select extract(epoch from '2026-07-09 13:48:12'::timestamp) - extract(epoch from '2026-07-09 13:48:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.574864 -2.825912)', '2026-07-09 13:48:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574827 -2.825912)'), GeomFromEWKT('SRID=4674;POINT (-40.574864 -2.825912)'))) / (select extract(epoch from '2026-07-09 13:48:19'::timestamp) - extract(epoch from '2026-07-09 13:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574827 -2.825912)'), GeomFromEWKT('SRID=4674;POINT (-40.574864 -2.825912)'))) / (select extract(epoch from '2026-07-09 13:48:19'::timestamp) - extract(epoch from '2026-07-09 13:48: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'), 47642, 'SRID=4674;POINT (-40.574897 -2.825922)', '2026-07-09 13:48:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574864 -2.825912)'), GeomFromEWKT('SRID=4674;POINT (-40.574897 -2.825922)'))) / (select extract(epoch from '2026-07-09 13:48:25'::timestamp) - extract(epoch from '2026-07-09 13:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574864 -2.825912)'), GeomFromEWKT('SRID=4674;POINT (-40.574897 -2.825922)'))) / (select extract(epoch from '2026-07-09 13:48:25'::timestamp) - extract(epoch from '2026-07-09 13:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57494 -2.82594)', '2026-07-09 13:48:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574897 -2.825922)'), GeomFromEWKT('SRID=4674;POINT (-40.57494 -2.82594)'))) / (select extract(epoch from '2026-07-09 13:48:33'::timestamp) - extract(epoch from '2026-07-09 13:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574897 -2.825922)'), GeomFromEWKT('SRID=4674;POINT (-40.57494 -2.82594)'))) / (select extract(epoch from '2026-07-09 13:48:33'::timestamp) - extract(epoch from '2026-07-09 13:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.574991 -2.825957)', '2026-07-09 13:48:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57494 -2.82594)'), GeomFromEWKT('SRID=4674;POINT (-40.574991 -2.825957)'))) / (select extract(epoch from '2026-07-09 13:48:42'::timestamp) - extract(epoch from '2026-07-09 13:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57494 -2.82594)'), GeomFromEWKT('SRID=4674;POINT (-40.574991 -2.825957)'))) / (select extract(epoch from '2026-07-09 13:48:42'::timestamp) - extract(epoch from '2026-07-09 13:48: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'), 47642, 'SRID=4674;POINT (-40.575044 -2.825969)', '2026-07-09 13:48:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574991 -2.825957)'), GeomFromEWKT('SRID=4674;POINT (-40.575044 -2.825969)'))) / (select extract(epoch from '2026-07-09 13:48:50'::timestamp) - extract(epoch from '2026-07-09 13:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574991 -2.825957)'), GeomFromEWKT('SRID=4674;POINT (-40.575044 -2.825969)'))) / (select extract(epoch from '2026-07-09 13:48:50'::timestamp) - extract(epoch from '2026-07-09 13:48: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'), 47642, 'SRID=4674;POINT (-40.575078 -2.825984)', '2026-07-09 13:48:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575044 -2.825969)'), GeomFromEWKT('SRID=4674;POINT (-40.575078 -2.825984)'))) / (select extract(epoch from '2026-07-09 13:48:55'::timestamp) - extract(epoch from '2026-07-09 13:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575044 -2.825969)'), GeomFromEWKT('SRID=4674;POINT (-40.575078 -2.825984)'))) / (select extract(epoch from '2026-07-09 13:48:55'::timestamp) - extract(epoch from '2026-07-09 13:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.575115 -2.825991)', '2026-07-09 13:49:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575078 -2.825984)'), GeomFromEWKT('SRID=4674;POINT (-40.575115 -2.825991)'))) / (select extract(epoch from '2026-07-09 13:49:00'::timestamp) - extract(epoch from '2026-07-09 13:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575078 -2.825984)'), GeomFromEWKT('SRID=4674;POINT (-40.575115 -2.825991)'))) / (select extract(epoch from '2026-07-09 13:49:00'::timestamp) - extract(epoch from '2026-07-09 13:48: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'), 47642, 'SRID=4674;POINT (-40.575129 -2.825998)', '2026-07-09 13:49:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575115 -2.825991)'), GeomFromEWKT('SRID=4674;POINT (-40.575129 -2.825998)'))) / (select extract(epoch from '2026-07-09 13:49:02'::timestamp) - extract(epoch from '2026-07-09 13:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575115 -2.825991)'), GeomFromEWKT('SRID=4674;POINT (-40.575129 -2.825998)'))) / (select extract(epoch from '2026-07-09 13:49:02'::timestamp) - extract(epoch from '2026-07-09 13:49:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.575177 -2.826006)', '2026-07-09 13:49:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575129 -2.825998)'), GeomFromEWKT('SRID=4674;POINT (-40.575177 -2.826006)'))) / (select extract(epoch from '2026-07-09 13:49:10'::timestamp) - extract(epoch from '2026-07-09 13:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575129 -2.825998)'), GeomFromEWKT('SRID=4674;POINT (-40.575177 -2.826006)'))) / (select extract(epoch from '2026-07-09 13:49:10'::timestamp) - extract(epoch from '2026-07-09 13:49: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'), 47642, 'SRID=4674;POINT (-40.575219 -2.826018)', '2026-07-09 13:49:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575177 -2.826006)'), GeomFromEWKT('SRID=4674;POINT (-40.575219 -2.826018)'))) / (select extract(epoch from '2026-07-09 13:49:17'::timestamp) - extract(epoch from '2026-07-09 13:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575177 -2.826006)'), GeomFromEWKT('SRID=4674;POINT (-40.575219 -2.826018)'))) / (select extract(epoch from '2026-07-09 13:49:17'::timestamp) - extract(epoch from '2026-07-09 13:49: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'), 47642, 'SRID=4674;POINT (-40.575253 -2.826024)', '2026-07-09 13:49:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575219 -2.826018)'), GeomFromEWKT('SRID=4674;POINT (-40.575253 -2.826024)'))) / (select extract(epoch from '2026-07-09 13:49:23'::timestamp) - extract(epoch from '2026-07-09 13:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575219 -2.826018)'), GeomFromEWKT('SRID=4674;POINT (-40.575253 -2.826024)'))) / (select extract(epoch from '2026-07-09 13:49:23'::timestamp) - extract(epoch from '2026-07-09 13:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.575269 -2.826027)', '2026-07-09 13:49:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575253 -2.826024)'), GeomFromEWKT('SRID=4674;POINT (-40.575269 -2.826027)'))) / (select extract(epoch from '2026-07-09 13:49:25'::timestamp) - extract(epoch from '2026-07-09 13:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575253 -2.826024)'), GeomFromEWKT('SRID=4674;POINT (-40.575269 -2.826027)'))) / (select extract(epoch from '2026-07-09 13:49:25'::timestamp) - extract(epoch from '2026-07-09 13:49: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'), 47642, 'SRID=4674;POINT (-40.575293 -2.826032)', '2026-07-09 13:49:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575269 -2.826027)'), GeomFromEWKT('SRID=4674;POINT (-40.575293 -2.826032)'))) / (select extract(epoch from '2026-07-09 13:49:29'::timestamp) - extract(epoch from '2026-07-09 13:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575269 -2.826027)'), GeomFromEWKT('SRID=4674;POINT (-40.575293 -2.826032)'))) / (select extract(epoch from '2026-07-09 13:49:29'::timestamp) - extract(epoch from '2026-07-09 13:49:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57534 -2.826037)', '2026-07-09 13:49:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575293 -2.826032)'), GeomFromEWKT('SRID=4674;POINT (-40.57534 -2.826037)'))) / (select extract(epoch from '2026-07-09 13:49:36'::timestamp) - extract(epoch from '2026-07-09 13:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575293 -2.826032)'), GeomFromEWKT('SRID=4674;POINT (-40.57534 -2.826037)'))) / (select extract(epoch from '2026-07-09 13:49:36'::timestamp) - extract(epoch from '2026-07-09 13:49: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'), 47642, 'SRID=4674;POINT (-40.575374 -2.826047)', '2026-07-09 13:49:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57534 -2.826037)'), GeomFromEWKT('SRID=4674;POINT (-40.575374 -2.826047)'))) / (select extract(epoch from '2026-07-09 13:49:42'::timestamp) - extract(epoch from '2026-07-09 13:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57534 -2.826037)'), GeomFromEWKT('SRID=4674;POINT (-40.575374 -2.826047)'))) / (select extract(epoch from '2026-07-09 13:49:42'::timestamp) - extract(epoch from '2026-07-09 13:49: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'), 47642, 'SRID=4674;POINT (-40.575408 -2.826055)', '2026-07-09 13:49:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575374 -2.826047)'), GeomFromEWKT('SRID=4674;POINT (-40.575408 -2.826055)'))) / (select extract(epoch from '2026-07-09 13:49:48'::timestamp) - extract(epoch from '2026-07-09 13:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575374 -2.826047)'), GeomFromEWKT('SRID=4674;POINT (-40.575408 -2.826055)'))) / (select extract(epoch from '2026-07-09 13:49:48'::timestamp) - extract(epoch from '2026-07-09 13:49: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'), 47642, 'SRID=4674;POINT (-40.575433 -2.82607)', '2026-07-09 13:49:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575408 -2.826055)'), GeomFromEWKT('SRID=4674;POINT (-40.575433 -2.82607)'))) / (select extract(epoch from '2026-07-09 13:49:54'::timestamp) - extract(epoch from '2026-07-09 13:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575408 -2.826055)'), GeomFromEWKT('SRID=4674;POINT (-40.575433 -2.82607)'))) / (select extract(epoch from '2026-07-09 13:49:54'::timestamp) - extract(epoch from '2026-07-09 13:49: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'), 47642, 'SRID=4674;POINT (-40.575475 -2.826087)', '2026-07-09 13:50:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575433 -2.82607)'), GeomFromEWKT('SRID=4674;POINT (-40.575475 -2.826087)'))) / (select extract(epoch from '2026-07-09 13:50:01'::timestamp) - extract(epoch from '2026-07-09 13:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575433 -2.82607)'), GeomFromEWKT('SRID=4674;POINT (-40.575475 -2.826087)'))) / (select extract(epoch from '2026-07-09 13:50:01'::timestamp) - extract(epoch from '2026-07-09 13:49: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'), 47642, 'SRID=4674;POINT (-40.575509 -2.826098)', '2026-07-09 13:50:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575475 -2.826087)'), GeomFromEWKT('SRID=4674;POINT (-40.575509 -2.826098)'))) / (select extract(epoch from '2026-07-09 13:50:07'::timestamp) - extract(epoch from '2026-07-09 13:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575475 -2.826087)'), GeomFromEWKT('SRID=4674;POINT (-40.575509 -2.826098)'))) / (select extract(epoch from '2026-07-09 13:50:07'::timestamp) - extract(epoch from '2026-07-09 13:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.575538 -2.826111)', '2026-07-09 13:50:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575509 -2.826098)'), GeomFromEWKT('SRID=4674;POINT (-40.575538 -2.826111)'))) / (select extract(epoch from '2026-07-09 13:50:12'::timestamp) - extract(epoch from '2026-07-09 13:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575509 -2.826098)'), GeomFromEWKT('SRID=4674;POINT (-40.575538 -2.826111)'))) / (select extract(epoch from '2026-07-09 13:50:12'::timestamp) - extract(epoch from '2026-07-09 13:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57558 -2.826125)', '2026-07-09 13:50:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575538 -2.826111)'), GeomFromEWKT('SRID=4674;POINT (-40.57558 -2.826125)'))) / (select extract(epoch from '2026-07-09 13:50:18'::timestamp) - extract(epoch from '2026-07-09 13:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575538 -2.826111)'), GeomFromEWKT('SRID=4674;POINT (-40.57558 -2.826125)'))) / (select extract(epoch from '2026-07-09 13:50:18'::timestamp) - extract(epoch from '2026-07-09 13:50: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'), 47642, 'SRID=4674;POINT (-40.575621 -2.826131)', '2026-07-09 13:50:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57558 -2.826125)'), GeomFromEWKT('SRID=4674;POINT (-40.575621 -2.826131)'))) / (select extract(epoch from '2026-07-09 13:50:26'::timestamp) - extract(epoch from '2026-07-09 13:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57558 -2.826125)'), GeomFromEWKT('SRID=4674;POINT (-40.575621 -2.826131)'))) / (select extract(epoch from '2026-07-09 13:50:26'::timestamp) - extract(epoch from '2026-07-09 13:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57565 -2.826133)', '2026-07-09 13:50:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575621 -2.826131)'), GeomFromEWKT('SRID=4674;POINT (-40.57565 -2.826133)'))) / (select extract(epoch from '2026-07-09 13:50:31'::timestamp) - extract(epoch from '2026-07-09 13:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575621 -2.826131)'), GeomFromEWKT('SRID=4674;POINT (-40.57565 -2.826133)'))) / (select extract(epoch from '2026-07-09 13:50:31'::timestamp) - extract(epoch from '2026-07-09 13:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.575707 -2.826129)', '2026-07-09 13:50:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57565 -2.826133)'), GeomFromEWKT('SRID=4674;POINT (-40.575707 -2.826129)'))) / (select extract(epoch from '2026-07-09 13:50:40'::timestamp) - extract(epoch from '2026-07-09 13:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57565 -2.826133)'), GeomFromEWKT('SRID=4674;POINT (-40.575707 -2.826129)'))) / (select extract(epoch from '2026-07-09 13:50:40'::timestamp) - extract(epoch from '2026-07-09 13:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.575754 -2.826128)', '2026-07-09 13:50:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575707 -2.826129)'), GeomFromEWKT('SRID=4674;POINT (-40.575754 -2.826128)'))) / (select extract(epoch from '2026-07-09 13:50:48'::timestamp) - extract(epoch from '2026-07-09 13:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575707 -2.826129)'), GeomFromEWKT('SRID=4674;POINT (-40.575754 -2.826128)'))) / (select extract(epoch from '2026-07-09 13:50:48'::timestamp) - extract(epoch from '2026-07-09 13:50: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'), 47642, 'SRID=4674;POINT (-40.57581 -2.826127)', '2026-07-09 13:50:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575754 -2.826128)'), GeomFromEWKT('SRID=4674;POINT (-40.57581 -2.826127)'))) / (select extract(epoch from '2026-07-09 13:50:58'::timestamp) - extract(epoch from '2026-07-09 13:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575754 -2.826128)'), GeomFromEWKT('SRID=4674;POINT (-40.57581 -2.826127)'))) / (select extract(epoch from '2026-07-09 13:50:58'::timestamp) - extract(epoch from '2026-07-09 13:50: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'), 47642, 'SRID=4674;POINT (-40.575846 -2.826137)', '2026-07-09 13:51:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57581 -2.826127)'), GeomFromEWKT('SRID=4674;POINT (-40.575846 -2.826137)'))) / (select extract(epoch from '2026-07-09 13:51:05'::timestamp) - extract(epoch from '2026-07-09 13:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57581 -2.826127)'), GeomFromEWKT('SRID=4674;POINT (-40.575846 -2.826137)'))) / (select extract(epoch from '2026-07-09 13:51:05'::timestamp) - extract(epoch from '2026-07-09 13:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.575874 -2.826146)', '2026-07-09 13:51:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575846 -2.826137)'), GeomFromEWKT('SRID=4674;POINT (-40.575874 -2.826146)'))) / (select extract(epoch from '2026-07-09 13:51:11'::timestamp) - extract(epoch from '2026-07-09 13:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575846 -2.826137)'), GeomFromEWKT('SRID=4674;POINT (-40.575874 -2.826146)'))) / (select extract(epoch from '2026-07-09 13:51:11'::timestamp) - extract(epoch from '2026-07-09 13:51: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'), 47642, 'SRID=4674;POINT (-40.575916 -2.82616)', '2026-07-09 13:51:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575874 -2.826146)'), GeomFromEWKT('SRID=4674;POINT (-40.575916 -2.82616)'))) / (select extract(epoch from '2026-07-09 13:51:20'::timestamp) - extract(epoch from '2026-07-09 13:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575874 -2.826146)'), GeomFromEWKT('SRID=4674;POINT (-40.575916 -2.82616)'))) / (select extract(epoch from '2026-07-09 13:51:20'::timestamp) - extract(epoch from '2026-07-09 13:51:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.575962 -2.826169)', '2026-07-09 13:51:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575916 -2.82616)'), GeomFromEWKT('SRID=4674;POINT (-40.575962 -2.826169)'))) / (select extract(epoch from '2026-07-09 13:51:29'::timestamp) - extract(epoch from '2026-07-09 13:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575916 -2.82616)'), GeomFromEWKT('SRID=4674;POINT (-40.575962 -2.826169)'))) / (select extract(epoch from '2026-07-09 13:51:29'::timestamp) - extract(epoch from '2026-07-09 13:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57601 -2.826188)', '2026-07-09 13:51:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575962 -2.826169)'), GeomFromEWKT('SRID=4674;POINT (-40.57601 -2.826188)'))) / (select extract(epoch from '2026-07-09 13:51:37'::timestamp) - extract(epoch from '2026-07-09 13:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575962 -2.826169)'), GeomFromEWKT('SRID=4674;POINT (-40.57601 -2.826188)'))) / (select extract(epoch from '2026-07-09 13:51:37'::timestamp) - extract(epoch from '2026-07-09 13:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.576043 -2.826199)', '2026-07-09 13:51:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57601 -2.826188)'), GeomFromEWKT('SRID=4674;POINT (-40.576043 -2.826199)'))) / (select extract(epoch from '2026-07-09 13:51:43'::timestamp) - extract(epoch from '2026-07-09 13:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57601 -2.826188)'), GeomFromEWKT('SRID=4674;POINT (-40.576043 -2.826199)'))) / (select extract(epoch from '2026-07-09 13:51:43'::timestamp) - extract(epoch from '2026-07-09 13:51: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'), 47642, 'SRID=4674;POINT (-40.576088 -2.826214)', '2026-07-09 13:51:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576043 -2.826199)'), GeomFromEWKT('SRID=4674;POINT (-40.576088 -2.826214)'))) / (select extract(epoch from '2026-07-09 13:51:50'::timestamp) - extract(epoch from '2026-07-09 13:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576043 -2.826199)'), GeomFromEWKT('SRID=4674;POINT (-40.576088 -2.826214)'))) / (select extract(epoch from '2026-07-09 13:51:50'::timestamp) - extract(epoch from '2026-07-09 13:51: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'), 47642, 'SRID=4674;POINT (-40.576142 -2.82622)', '2026-07-09 13:52:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576088 -2.826214)'), GeomFromEWKT('SRID=4674;POINT (-40.576142 -2.82622)'))) / (select extract(epoch from '2026-07-09 13:52:02'::timestamp) - extract(epoch from '2026-07-09 13:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576088 -2.826214)'), GeomFromEWKT('SRID=4674;POINT (-40.576142 -2.82622)'))) / (select extract(epoch from '2026-07-09 13:52:02'::timestamp) - extract(epoch from '2026-07-09 13:51: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'), 47642, 'SRID=4674;POINT (-40.576176 -2.826231)', '2026-07-09 13:52:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576142 -2.82622)'), GeomFromEWKT('SRID=4674;POINT (-40.576176 -2.826231)'))) / (select extract(epoch from '2026-07-09 13:52:12'::timestamp) - extract(epoch from '2026-07-09 13:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576142 -2.82622)'), GeomFromEWKT('SRID=4674;POINT (-40.576176 -2.826231)'))) / (select extract(epoch from '2026-07-09 13:52:12'::timestamp) - extract(epoch from '2026-07-09 13:52:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.576233 -2.826236)', '2026-07-09 13:52:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576176 -2.826231)'), GeomFromEWKT('SRID=4674;POINT (-40.576233 -2.826236)'))) / (select extract(epoch from '2026-07-09 13:52:21'::timestamp) - extract(epoch from '2026-07-09 13:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576176 -2.826231)'), GeomFromEWKT('SRID=4674;POINT (-40.576233 -2.826236)'))) / (select extract(epoch from '2026-07-09 13:52:21'::timestamp) - extract(epoch from '2026-07-09 13:52: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'), 47642, 'SRID=4674;POINT (-40.576276 -2.826243)', '2026-07-09 13:52:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576233 -2.826236)'), GeomFromEWKT('SRID=4674;POINT (-40.576276 -2.826243)'))) / (select extract(epoch from '2026-07-09 13:52:28'::timestamp) - extract(epoch from '2026-07-09 13:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576233 -2.826236)'), GeomFromEWKT('SRID=4674;POINT (-40.576276 -2.826243)'))) / (select extract(epoch from '2026-07-09 13:52:28'::timestamp) - extract(epoch from '2026-07-09 13:52: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'), 47642, 'SRID=4674;POINT (-40.576321 -2.826248)', '2026-07-09 13:52:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576276 -2.826243)'), GeomFromEWKT('SRID=4674;POINT (-40.576321 -2.826248)'))) / (select extract(epoch from '2026-07-09 13:52:36'::timestamp) - extract(epoch from '2026-07-09 13:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576276 -2.826243)'), GeomFromEWKT('SRID=4674;POINT (-40.576321 -2.826248)'))) / (select extract(epoch from '2026-07-09 13:52:36'::timestamp) - extract(epoch from '2026-07-09 13:52: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'), 47642, 'SRID=4674;POINT (-40.576374 -2.826264)', '2026-07-09 13:52:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576321 -2.826248)'), GeomFromEWKT('SRID=4674;POINT (-40.576374 -2.826264)'))) / (select extract(epoch from '2026-07-09 13:52:45'::timestamp) - extract(epoch from '2026-07-09 13:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576321 -2.826248)'), GeomFromEWKT('SRID=4674;POINT (-40.576374 -2.826264)'))) / (select extract(epoch from '2026-07-09 13:52:45'::timestamp) - extract(epoch from '2026-07-09 13:52: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'), 47642, 'SRID=4674;POINT (-40.576427 -2.826288)', '2026-07-09 13:52:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576374 -2.826264)'), GeomFromEWKT('SRID=4674;POINT (-40.576427 -2.826288)'))) / (select extract(epoch from '2026-07-09 13:52:56'::timestamp) - extract(epoch from '2026-07-09 13:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576374 -2.826264)'), GeomFromEWKT('SRID=4674;POINT (-40.576427 -2.826288)'))) / (select extract(epoch from '2026-07-09 13:52:56'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.576507 -2.82633)', '2026-07-09 13:53:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576427 -2.826288)'), GeomFromEWKT('SRID=4674;POINT (-40.576507 -2.82633)'))) / (select extract(epoch from '2026-07-09 13:53:13'::timestamp) - extract(epoch from '2026-07-09 13:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576427 -2.826288)'), GeomFromEWKT('SRID=4674;POINT (-40.576507 -2.82633)'))) / (select extract(epoch from '2026-07-09 13:53:13'::timestamp) - extract(epoch from '2026-07-09 13:52: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'), 47642, 'SRID=4674;POINT (-40.576563 -2.826356)', '2026-07-09 13:53:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576507 -2.82633)'), GeomFromEWKT('SRID=4674;POINT (-40.576563 -2.826356)'))) / (select extract(epoch from '2026-07-09 13:53:24'::timestamp) - extract(epoch from '2026-07-09 13:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576507 -2.82633)'), GeomFromEWKT('SRID=4674;POINT (-40.576563 -2.826356)'))) / (select extract(epoch from '2026-07-09 13:53:24'::timestamp) - extract(epoch from '2026-07-09 13:53: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'), 47642, 'SRID=4674;POINT (-40.576616 -2.826386)', '2026-07-09 13:53:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576563 -2.826356)'), GeomFromEWKT('SRID=4674;POINT (-40.576616 -2.826386)'))) / (select extract(epoch from '2026-07-09 13:53:33'::timestamp) - extract(epoch from '2026-07-09 13:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576563 -2.826356)'), GeomFromEWKT('SRID=4674;POINT (-40.576616 -2.826386)'))) / (select extract(epoch from '2026-07-09 13:53:33'::timestamp) - extract(epoch from '2026-07-09 13:53: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'), 47642, 'SRID=4674;POINT (-40.5767 -2.826441)', '2026-07-09 13:53:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576616 -2.826386)'), GeomFromEWKT('SRID=4674;POINT (-40.5767 -2.826441)'))) / (select extract(epoch from '2026-07-09 13:53:49'::timestamp) - extract(epoch from '2026-07-09 13:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576616 -2.826386)'), GeomFromEWKT('SRID=4674;POINT (-40.5767 -2.826441)'))) / (select extract(epoch from '2026-07-09 13:53:49'::timestamp) - extract(epoch from '2026-07-09 13:53: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'), 47642, 'SRID=4674;POINT (-40.576779 -2.826475)', '2026-07-09 13:54:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5767 -2.826441)'), GeomFromEWKT('SRID=4674;POINT (-40.576779 -2.826475)'))) / (select extract(epoch from '2026-07-09 13:54:03'::timestamp) - extract(epoch from '2026-07-09 13:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5767 -2.826441)'), GeomFromEWKT('SRID=4674;POINT (-40.576779 -2.826475)'))) / (select extract(epoch from '2026-07-09 13:54:03'::timestamp) - extract(epoch from '2026-07-09 13:53: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'), 47642, 'SRID=4674;POINT (-40.57685 -2.82649)', '2026-07-09 13:54:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576779 -2.826475)'), GeomFromEWKT('SRID=4674;POINT (-40.57685 -2.82649)'))) / (select extract(epoch from '2026-07-09 13:54:16'::timestamp) - extract(epoch from '2026-07-09 13:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576779 -2.826475)'), GeomFromEWKT('SRID=4674;POINT (-40.57685 -2.82649)'))) / (select extract(epoch from '2026-07-09 13:54:16'::timestamp) - extract(epoch from '2026-07-09 13:54: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'), 47642, 'SRID=4674;POINT (-40.57691 -2.826507)', '2026-07-09 13:54:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57685 -2.82649)'), GeomFromEWKT('SRID=4674;POINT (-40.57691 -2.826507)'))) / (select extract(epoch from '2026-07-09 13:54:28'::timestamp) - extract(epoch from '2026-07-09 13:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57685 -2.82649)'), GeomFromEWKT('SRID=4674;POINT (-40.57691 -2.826507)'))) / (select extract(epoch from '2026-07-09 13:54:28'::timestamp) - extract(epoch from '2026-07-09 13:54: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'), 47642, 'SRID=4674;POINT (-40.576991 -2.8265)', '2026-07-09 13:54:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57691 -2.826507)'), GeomFromEWKT('SRID=4674;POINT (-40.576991 -2.8265)'))) / (select extract(epoch from '2026-07-09 13:54:40'::timestamp) - extract(epoch from '2026-07-09 13:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57691 -2.826507)'), GeomFromEWKT('SRID=4674;POINT (-40.576991 -2.8265)'))) / (select extract(epoch from '2026-07-09 13:54:40'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.577018 -2.826504)', '2026-07-09 13:54:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576991 -2.8265)'), GeomFromEWKT('SRID=4674;POINT (-40.577018 -2.826504)'))) / (select extract(epoch from '2026-07-09 13:54:45'::timestamp) - extract(epoch from '2026-07-09 13:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576991 -2.8265)'), GeomFromEWKT('SRID=4674;POINT (-40.577018 -2.826504)'))) / (select extract(epoch from '2026-07-09 13:54:45'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.577074 -2.826497)', '2026-07-09 13:54:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577018 -2.826504)'), GeomFromEWKT('SRID=4674;POINT (-40.577074 -2.826497)'))) / (select extract(epoch from '2026-07-09 13:54:55'::timestamp) - extract(epoch from '2026-07-09 13:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577018 -2.826504)'), GeomFromEWKT('SRID=4674;POINT (-40.577074 -2.826497)'))) / (select extract(epoch from '2026-07-09 13:54:55'::timestamp) - extract(epoch from '2026-07-09 13:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.577129 -2.826525)', '2026-07-09 13:55:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577074 -2.826497)'), GeomFromEWKT('SRID=4674;POINT (-40.577129 -2.826525)'))) / (select extract(epoch from '2026-07-09 13:55:06'::timestamp) - extract(epoch from '2026-07-09 13:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577074 -2.826497)'), GeomFromEWKT('SRID=4674;POINT (-40.577129 -2.826525)'))) / (select extract(epoch from '2026-07-09 13:55:06'::timestamp) - extract(epoch from '2026-07-09 13:54: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'), 47642, 'SRID=4674;POINT (-40.577188 -2.826542)', '2026-07-09 13:55:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577129 -2.826525)'), GeomFromEWKT('SRID=4674;POINT (-40.577188 -2.826542)'))) / (select extract(epoch from '2026-07-09 13:55:17'::timestamp) - extract(epoch from '2026-07-09 13:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577129 -2.826525)'), GeomFromEWKT('SRID=4674;POINT (-40.577188 -2.826542)'))) / (select extract(epoch from '2026-07-09 13:55:17'::timestamp) - extract(epoch from '2026-07-09 13:55: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'), 47642, 'SRID=4674;POINT (-40.577244 -2.826553)', '2026-07-09 13:55:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577188 -2.826542)'), GeomFromEWKT('SRID=4674;POINT (-40.577244 -2.826553)'))) / (select extract(epoch from '2026-07-09 13:55:28'::timestamp) - extract(epoch from '2026-07-09 13:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577188 -2.826542)'), GeomFromEWKT('SRID=4674;POINT (-40.577244 -2.826553)'))) / (select extract(epoch from '2026-07-09 13:55:28'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.577267 -2.826556)', '2026-07-09 13:55:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577244 -2.826553)'), GeomFromEWKT('SRID=4674;POINT (-40.577267 -2.826556)'))) / (select extract(epoch from '2026-07-09 13:55:33'::timestamp) - extract(epoch from '2026-07-09 13:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577244 -2.826553)'), GeomFromEWKT('SRID=4674;POINT (-40.577267 -2.826556)'))) / (select extract(epoch from '2026-07-09 13:55:33'::timestamp) - extract(epoch from '2026-07-09 13:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.577277 -2.826558)', '2026-07-09 13:55:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577267 -2.826556)'), GeomFromEWKT('SRID=4674;POINT (-40.577277 -2.826558)'))) / (select extract(epoch from '2026-07-09 13:55:35'::timestamp) - extract(epoch from '2026-07-09 13:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577267 -2.826556)'), GeomFromEWKT('SRID=4674;POINT (-40.577277 -2.826558)'))) / (select extract(epoch from '2026-07-09 13:55:35'::timestamp) - extract(epoch from '2026-07-09 13:55: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'), 47642, 'SRID=4674;POINT (-40.577319 -2.826564)', '2026-07-09 13:55:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577277 -2.826558)'), GeomFromEWKT('SRID=4674;POINT (-40.577319 -2.826564)'))) / (select extract(epoch from '2026-07-09 13:55:43'::timestamp) - extract(epoch from '2026-07-09 13:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577277 -2.826558)'), GeomFromEWKT('SRID=4674;POINT (-40.577319 -2.826564)'))) / (select extract(epoch from '2026-07-09 13:55:43'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.577387 -2.826594)', '2026-07-09 13:55:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577319 -2.826564)'), GeomFromEWKT('SRID=4674;POINT (-40.577387 -2.826594)'))) / (select extract(epoch from '2026-07-09 13:55:54'::timestamp) - extract(epoch from '2026-07-09 13:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577319 -2.826564)'), GeomFromEWKT('SRID=4674;POINT (-40.577387 -2.826594)'))) / (select extract(epoch from '2026-07-09 13:55:54'::timestamp) - extract(epoch from '2026-07-09 13:55: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'), 47642, 'SRID=4674;POINT (-40.577465 -2.826616)', '2026-07-09 13:56:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577387 -2.826594)'), GeomFromEWKT('SRID=4674;POINT (-40.577465 -2.826616)'))) / (select extract(epoch from '2026-07-09 13:56:08'::timestamp) - extract(epoch from '2026-07-09 13:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577387 -2.826594)'), GeomFromEWKT('SRID=4674;POINT (-40.577465 -2.826616)'))) / (select extract(epoch from '2026-07-09 13:56:08'::timestamp) - extract(epoch from '2026-07-09 13:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.577538 -2.826629)', '2026-07-09 13:56:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577465 -2.826616)'), GeomFromEWKT('SRID=4674;POINT (-40.577538 -2.826629)'))) / (select extract(epoch from '2026-07-09 13:56:21'::timestamp) - extract(epoch from '2026-07-09 13:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577465 -2.826616)'), GeomFromEWKT('SRID=4674;POINT (-40.577538 -2.826629)'))) / (select extract(epoch from '2026-07-09 13:56:21'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.577585 -2.826635)', '2026-07-09 13:56:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577538 -2.826629)'), GeomFromEWKT('SRID=4674;POINT (-40.577585 -2.826635)'))) / (select extract(epoch from '2026-07-09 13:56:31'::timestamp) - extract(epoch from '2026-07-09 13:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577538 -2.826629)'), GeomFromEWKT('SRID=4674;POINT (-40.577585 -2.826635)'))) / (select extract(epoch from '2026-07-09 13:56:31'::timestamp) - extract(epoch from '2026-07-09 13:56: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'), 47642, 'SRID=4674;POINT (-40.577641 -2.826646)', '2026-07-09 13:56:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577585 -2.826635)'), GeomFromEWKT('SRID=4674;POINT (-40.577641 -2.826646)'))) / (select extract(epoch from '2026-07-09 13:56:43'::timestamp) - extract(epoch from '2026-07-09 13:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577585 -2.826635)'), GeomFromEWKT('SRID=4674;POINT (-40.577641 -2.826646)'))) / (select extract(epoch from '2026-07-09 13:56:43'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.577646 -2.826651)', '2026-07-09 13:56:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577641 -2.826646)'), GeomFromEWKT('SRID=4674;POINT (-40.577646 -2.826651)'))) / (select extract(epoch from '2026-07-09 13:56:44'::timestamp) - extract(epoch from '2026-07-09 13:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577641 -2.826646)'), GeomFromEWKT('SRID=4674;POINT (-40.577646 -2.826651)'))) / (select extract(epoch from '2026-07-09 13:56:44'::timestamp) - extract(epoch from '2026-07-09 13:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.577694 -2.826655)', '2026-07-09 13:56:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577646 -2.826651)'), GeomFromEWKT('SRID=4674;POINT (-40.577694 -2.826655)'))) / (select extract(epoch from '2026-07-09 13:56:53'::timestamp) - extract(epoch from '2026-07-09 13:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577646 -2.826651)'), GeomFromEWKT('SRID=4674;POINT (-40.577694 -2.826655)'))) / (select extract(epoch from '2026-07-09 13:56:53'::timestamp) - extract(epoch from '2026-07-09 13:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57778 -2.826697)', '2026-07-09 13:57:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577694 -2.826655)'), GeomFromEWKT('SRID=4674;POINT (-40.57778 -2.826697)'))) / (select extract(epoch from '2026-07-09 13:57:07'::timestamp) - extract(epoch from '2026-07-09 13:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577694 -2.826655)'), GeomFromEWKT('SRID=4674;POINT (-40.57778 -2.826697)'))) / (select extract(epoch from '2026-07-09 13:57:07'::timestamp) - extract(epoch from '2026-07-09 13:56: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'), 47642, 'SRID=4674;POINT (-40.57785 -2.82673)', '2026-07-09 13:57:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57778 -2.826697)'), GeomFromEWKT('SRID=4674;POINT (-40.57785 -2.82673)'))) / (select extract(epoch from '2026-07-09 13:57:20'::timestamp) - extract(epoch from '2026-07-09 13:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57778 -2.826697)'), GeomFromEWKT('SRID=4674;POINT (-40.57785 -2.82673)'))) / (select extract(epoch from '2026-07-09 13:57:20'::timestamp) - extract(epoch from '2026-07-09 13:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.577924 -2.826742)', '2026-07-09 13:57:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57785 -2.82673)'), GeomFromEWKT('SRID=4674;POINT (-40.577924 -2.826742)'))) / (select extract(epoch from '2026-07-09 13:57:33'::timestamp) - extract(epoch from '2026-07-09 13:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57785 -2.82673)'), GeomFromEWKT('SRID=4674;POINT (-40.577924 -2.826742)'))) / (select extract(epoch from '2026-07-09 13:57:33'::timestamp) - extract(epoch from '2026-07-09 13:57: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'), 47642, 'SRID=4674;POINT (-40.577987 -2.826757)', '2026-07-09 13:57:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577924 -2.826742)'), GeomFromEWKT('SRID=4674;POINT (-40.577987 -2.826757)'))) / (select extract(epoch from '2026-07-09 13:57:46'::timestamp) - extract(epoch from '2026-07-09 13:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577924 -2.826742)'), GeomFromEWKT('SRID=4674;POINT (-40.577987 -2.826757)'))) / (select extract(epoch from '2026-07-09 13:57:46'::timestamp) - extract(epoch from '2026-07-09 13:57: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'), 47642, 'SRID=4674;POINT (-40.578057 -2.826791)', '2026-07-09 13:57:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577987 -2.826757)'), GeomFromEWKT('SRID=4674;POINT (-40.578057 -2.826791)'))) / (select extract(epoch from '2026-07-09 13:57:57'::timestamp) - extract(epoch from '2026-07-09 13:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577987 -2.826757)'), GeomFromEWKT('SRID=4674;POINT (-40.578057 -2.826791)'))) / (select extract(epoch from '2026-07-09 13:57:57'::timestamp) - extract(epoch from '2026-07-09 13:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.578128 -2.826821)', '2026-07-09 13:58:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578057 -2.826791)'), GeomFromEWKT('SRID=4674;POINT (-40.578128 -2.826821)'))) / (select extract(epoch from '2026-07-09 13:58:10'::timestamp) - extract(epoch from '2026-07-09 13:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578057 -2.826791)'), GeomFromEWKT('SRID=4674;POINT (-40.578128 -2.826821)'))) / (select extract(epoch from '2026-07-09 13:58:10'::timestamp) - extract(epoch from '2026-07-09 13:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.578188 -2.826817)', '2026-07-09 13:58:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578128 -2.826821)'), GeomFromEWKT('SRID=4674;POINT (-40.578188 -2.826817)'))) / (select extract(epoch from '2026-07-09 13:58:21'::timestamp) - extract(epoch from '2026-07-09 13:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578128 -2.826821)'), GeomFromEWKT('SRID=4674;POINT (-40.578188 -2.826817)'))) / (select extract(epoch from '2026-07-09 13:58:21'::timestamp) - extract(epoch from '2026-07-09 13:58: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'), 47642, 'SRID=4674;POINT (-40.578254 -2.826845)', '2026-07-09 13:58:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578188 -2.826817)'), GeomFromEWKT('SRID=4674;POINT (-40.578254 -2.826845)'))) / (select extract(epoch from '2026-07-09 13:58:32'::timestamp) - extract(epoch from '2026-07-09 13:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578188 -2.826817)'), GeomFromEWKT('SRID=4674;POINT (-40.578254 -2.826845)'))) / (select extract(epoch from '2026-07-09 13:58:32'::timestamp) - extract(epoch from '2026-07-09 13:58: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'), 47642, 'SRID=4674;POINT (-40.578281 -2.826847)', '2026-07-09 13:58:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578254 -2.826845)'), GeomFromEWKT('SRID=4674;POINT (-40.578281 -2.826847)'))) / (select extract(epoch from '2026-07-09 13:58:37'::timestamp) - extract(epoch from '2026-07-09 13:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578254 -2.826845)'), GeomFromEWKT('SRID=4674;POINT (-40.578281 -2.826847)'))) / (select extract(epoch from '2026-07-09 13:58:37'::timestamp) - extract(epoch from '2026-07-09 13:58: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'), 47642, 'SRID=4674;POINT (-40.578355 -2.826871)', '2026-07-09 13:58:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578281 -2.826847)'), GeomFromEWKT('SRID=4674;POINT (-40.578355 -2.826871)'))) / (select extract(epoch from '2026-07-09 13:58:51'::timestamp) - extract(epoch from '2026-07-09 13:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578281 -2.826847)'), GeomFromEWKT('SRID=4674;POINT (-40.578355 -2.826871)'))) / (select extract(epoch from '2026-07-09 13:58:51'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.578452 -2.8269)', '2026-07-09 13:59:05', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578355 -2.826871)'), GeomFromEWKT('SRID=4674;POINT (-40.578452 -2.8269)'))) / (select extract(epoch from '2026-07-09 13:59:05'::timestamp) - extract(epoch from '2026-07-09 13:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578355 -2.826871)'), GeomFromEWKT('SRID=4674;POINT (-40.578452 -2.8269)'))) / (select extract(epoch from '2026-07-09 13:59:05'::timestamp) - extract(epoch from '2026-07-09 13:58: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'), 47642, 'SRID=4674;POINT (-40.578482 -2.82689)', '2026-07-09 13:59:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578452 -2.8269)'), GeomFromEWKT('SRID=4674;POINT (-40.578482 -2.82689)'))) / (select extract(epoch from '2026-07-09 13:59:10'::timestamp) - extract(epoch from '2026-07-09 13:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578452 -2.8269)'), GeomFromEWKT('SRID=4674;POINT (-40.578482 -2.82689)'))) / (select extract(epoch from '2026-07-09 13:59:10'::timestamp) - extract(epoch from '2026-07-09 13:59: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'), 47642, 'SRID=4674;POINT (-40.578505 -2.826895)', '2026-07-09 13:59:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578482 -2.82689)'), GeomFromEWKT('SRID=4674;POINT (-40.578505 -2.826895)'))) / (select extract(epoch from '2026-07-09 13:59:12'::timestamp) - extract(epoch from '2026-07-09 13:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578482 -2.82689)'), GeomFromEWKT('SRID=4674;POINT (-40.578505 -2.826895)'))) / (select extract(epoch from '2026-07-09 13:59:12'::timestamp) - extract(epoch from '2026-07-09 13:59: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'), 47642, 'SRID=4674;POINT (-40.57855 -2.826905)', '2026-07-09 13:59:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578505 -2.826895)'), GeomFromEWKT('SRID=4674;POINT (-40.57855 -2.826905)'))) / (select extract(epoch from '2026-07-09 13:59:19'::timestamp) - extract(epoch from '2026-07-09 13:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578505 -2.826895)'), GeomFromEWKT('SRID=4674;POINT (-40.57855 -2.826905)'))) / (select extract(epoch from '2026-07-09 13:59:19'::timestamp) - extract(epoch from '2026-07-09 13:59: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'), 47642, 'SRID=4674;POINT (-40.578581 -2.826913)', '2026-07-09 13:59:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57855 -2.826905)'), GeomFromEWKT('SRID=4674;POINT (-40.578581 -2.826913)'))) / (select extract(epoch from '2026-07-09 13:59:26'::timestamp) - extract(epoch from '2026-07-09 13:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57855 -2.826905)'), GeomFromEWKT('SRID=4674;POINT (-40.578581 -2.826913)'))) / (select extract(epoch from '2026-07-09 13:59:26'::timestamp) - extract(epoch from '2026-07-09 13:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57862 -2.826919)', '2026-07-09 13:59:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578581 -2.826913)'), GeomFromEWKT('SRID=4674;POINT (-40.57862 -2.826919)'))) / (select extract(epoch from '2026-07-09 13:59:34'::timestamp) - extract(epoch from '2026-07-09 13:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578581 -2.826913)'), GeomFromEWKT('SRID=4674;POINT (-40.57862 -2.826919)'))) / (select extract(epoch from '2026-07-09 13:59:34'::timestamp) - extract(epoch from '2026-07-09 13:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.578649 -2.826924)', '2026-07-09 13:59:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57862 -2.826919)'), GeomFromEWKT('SRID=4674;POINT (-40.578649 -2.826924)'))) / (select extract(epoch from '2026-07-09 13:59:40'::timestamp) - extract(epoch from '2026-07-09 13:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57862 -2.826919)'), GeomFromEWKT('SRID=4674;POINT (-40.578649 -2.826924)'))) / (select extract(epoch from '2026-07-09 13:59:40'::timestamp) - extract(epoch from '2026-07-09 13:59: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'), 47642, 'SRID=4674;POINT (-40.578689 -2.826939)', '2026-07-09 13:59:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578649 -2.826924)'), GeomFromEWKT('SRID=4674;POINT (-40.578689 -2.826939)'))) / (select extract(epoch from '2026-07-09 13:59:50'::timestamp) - extract(epoch from '2026-07-09 13:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578649 -2.826924)'), GeomFromEWKT('SRID=4674;POINT (-40.578689 -2.826939)'))) / (select extract(epoch from '2026-07-09 13:59:50'::timestamp) - extract(epoch from '2026-07-09 13:59: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'), 47642, 'SRID=4674;POINT (-40.578757 -2.826953)', '2026-07-09 14:00:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578689 -2.826939)'), GeomFromEWKT('SRID=4674;POINT (-40.578757 -2.826953)'))) / (select extract(epoch from '2026-07-09 14:00:04'::timestamp) - extract(epoch from '2026-07-09 13:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578689 -2.826939)'), GeomFromEWKT('SRID=4674;POINT (-40.578757 -2.826953)'))) / (select extract(epoch from '2026-07-09 14:00:04'::timestamp) - extract(epoch from '2026-07-09 13:59:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.578785 -2.826955)', '2026-07-09 14:00:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578757 -2.826953)'), GeomFromEWKT('SRID=4674;POINT (-40.578785 -2.826955)'))) / (select extract(epoch from '2026-07-09 14:00:09'::timestamp) - extract(epoch from '2026-07-09 14:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578757 -2.826953)'), GeomFromEWKT('SRID=4674;POINT (-40.578785 -2.826955)'))) / (select extract(epoch from '2026-07-09 14:00:09'::timestamp) - extract(epoch from '2026-07-09 14:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.578813 -2.826961)', '2026-07-09 14:00:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578785 -2.826955)'), GeomFromEWKT('SRID=4674;POINT (-40.578813 -2.826961)'))) / (select extract(epoch from '2026-07-09 14:00:15'::timestamp) - extract(epoch from '2026-07-09 14:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578785 -2.826955)'), GeomFromEWKT('SRID=4674;POINT (-40.578813 -2.826961)'))) / (select extract(epoch from '2026-07-09 14:00:15'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.578846 -2.82698)', '2026-07-09 14:00:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578813 -2.826961)'), GeomFromEWKT('SRID=4674;POINT (-40.578846 -2.82698)'))) / (select extract(epoch from '2026-07-09 14:00:21'::timestamp) - extract(epoch from '2026-07-09 14:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578813 -2.826961)'), GeomFromEWKT('SRID=4674;POINT (-40.578846 -2.82698)'))) / (select extract(epoch from '2026-07-09 14:00:21'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.578887 -2.826986)', '2026-07-09 14:00:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578846 -2.82698)'), GeomFromEWKT('SRID=4674;POINT (-40.578887 -2.826986)'))) / (select extract(epoch from '2026-07-09 14:00:28'::timestamp) - extract(epoch from '2026-07-09 14:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578846 -2.82698)'), GeomFromEWKT('SRID=4674;POINT (-40.578887 -2.826986)'))) / (select extract(epoch from '2026-07-09 14:00:28'::timestamp) - extract(epoch from '2026-07-09 14:00: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'), 47642, 'SRID=4674;POINT (-40.578925 -2.826991)', '2026-07-09 14:00:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578887 -2.826986)'), GeomFromEWKT('SRID=4674;POINT (-40.578925 -2.826991)'))) / (select extract(epoch from '2026-07-09 14:00:36'::timestamp) - extract(epoch from '2026-07-09 14:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578887 -2.826986)'), GeomFromEWKT('SRID=4674;POINT (-40.578925 -2.826991)'))) / (select extract(epoch from '2026-07-09 14:00:36'::timestamp) - extract(epoch from '2026-07-09 14:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.578952 -2.826999)', '2026-07-09 14:00:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578925 -2.826991)'), GeomFromEWKT('SRID=4674;POINT (-40.578952 -2.826999)'))) / (select extract(epoch from '2026-07-09 14:00:42'::timestamp) - extract(epoch from '2026-07-09 14:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578925 -2.826991)'), GeomFromEWKT('SRID=4674;POINT (-40.578952 -2.826999)'))) / (select extract(epoch from '2026-07-09 14:00:42'::timestamp) - extract(epoch from '2026-07-09 14:00: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'), 47642, 'SRID=4674;POINT (-40.578993 -2.827002)', '2026-07-09 14:00:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578952 -2.826999)'), GeomFromEWKT('SRID=4674;POINT (-40.578993 -2.827002)'))) / (select extract(epoch from '2026-07-09 14:00:49'::timestamp) - extract(epoch from '2026-07-09 14:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578952 -2.826999)'), GeomFromEWKT('SRID=4674;POINT (-40.578993 -2.827002)'))) / (select extract(epoch from '2026-07-09 14:00:49'::timestamp) - extract(epoch from '2026-07-09 14:00: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'), 47642, 'SRID=4674;POINT (-40.579013 -2.827015)', '2026-07-09 14:00:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578993 -2.827002)'), GeomFromEWKT('SRID=4674;POINT (-40.579013 -2.827015)'))) / (select extract(epoch from '2026-07-09 14:00:56'::timestamp) - extract(epoch from '2026-07-09 14:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578993 -2.827002)'), GeomFromEWKT('SRID=4674;POINT (-40.579013 -2.827015)'))) / (select extract(epoch from '2026-07-09 14:00:56'::timestamp) - extract(epoch from '2026-07-09 14:00: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'), 47642, 'SRID=4674;POINT (-40.579013 -2.827046)', '2026-07-09 14:01:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579013 -2.827015)'), GeomFromEWKT('SRID=4674;POINT (-40.579013 -2.827046)'))) / (select extract(epoch from '2026-07-09 14:01:13'::timestamp) - extract(epoch from '2026-07-09 14:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579013 -2.827015)'), GeomFromEWKT('SRID=4674;POINT (-40.579013 -2.827046)'))) / (select extract(epoch from '2026-07-09 14:01:13'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579012 -2.827054)', '2026-07-09 14:01:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579013 -2.827046)'), GeomFromEWKT('SRID=4674;POINT (-40.579012 -2.827054)'))) / (select extract(epoch from '2026-07-09 14:01:18'::timestamp) - extract(epoch from '2026-07-09 14:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579013 -2.827046)'), GeomFromEWKT('SRID=4674;POINT (-40.579012 -2.827054)'))) / (select extract(epoch from '2026-07-09 14:01:18'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579024 -2.827082)', '2026-07-09 14:01:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579012 -2.827054)'), GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827082)'))) / (select extract(epoch from '2026-07-09 14:01:30'::timestamp) - extract(epoch from '2026-07-09 14:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579012 -2.827054)'), GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827082)'))) / (select extract(epoch from '2026-07-09 14:01:30'::timestamp) - extract(epoch from '2026-07-09 14:01: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'), 47642, 'SRID=4674;POINT (-40.579023 -2.827096)', '2026-07-09 14:02:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579023 -2.827096)'))) / (select extract(epoch from '2026-07-09 14:02:24'::timestamp) - extract(epoch from '2026-07-09 14:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579023 -2.827096)'))) / (select extract(epoch from '2026-07-09 14:02:24'::timestamp) - extract(epoch from '2026-07-09 14:01: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'), 47642, 'SRID=4674;POINT (-40.579016 -2.827104)', '2026-07-09 14:02:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579023 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827104)'))) / (select extract(epoch from '2026-07-09 14:02:36'::timestamp) - extract(epoch from '2026-07-09 14:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579023 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827104)'))) / (select extract(epoch from '2026-07-09 14:02:36'::timestamp) - extract(epoch from '2026-07-09 14:02: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'), 47642, 'SRID=4674;POINT (-40.579025 -2.8271)', '2026-07-09 14:02:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827104)'), GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.8271)'))) / (select extract(epoch from '2026-07-09 14:02:41'::timestamp) - extract(epoch from '2026-07-09 14:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827104)'), GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.8271)'))) / (select extract(epoch from '2026-07-09 14:02:41'::timestamp) - extract(epoch from '2026-07-09 14:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579042 -2.827097)', '2026-07-09 14:03:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.8271)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827097)'))) / (select extract(epoch from '2026-07-09 14:03:23'::timestamp) - extract(epoch from '2026-07-09 14:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.8271)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827097)'))) / (select extract(epoch from '2026-07-09 14:03:23'::timestamp) - extract(epoch from '2026-07-09 14:02: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'), 47642, 'SRID=4674;POINT (-40.579034 -2.827091)', '2026-07-09 14:05:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827091)'))) / (select extract(epoch from '2026-07-09 14:05:21'::timestamp) - extract(epoch from '2026-07-09 14:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827091)'))) / (select extract(epoch from '2026-07-09 14:05:21'::timestamp) - extract(epoch from '2026-07-09 14:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579035 -2.827101)', '2026-07-09 14:05:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827101)'))) / (select extract(epoch from '2026-07-09 14:05:25'::timestamp) - extract(epoch from '2026-07-09 14:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827101)'))) / (select extract(epoch from '2026-07-09 14:05:25'::timestamp) - extract(epoch from '2026-07-09 14:05: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'), 47642, 'SRID=4674;POINT (-40.579027 -2.827112)', '2026-07-09 14:05:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827101)'), GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827112)'))) / (select extract(epoch from '2026-07-09 14:05:30'::timestamp) - extract(epoch from '2026-07-09 14:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827101)'), GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827112)'))) / (select extract(epoch from '2026-07-09 14:05:30'::timestamp) - extract(epoch from '2026-07-09 14:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57903 -2.827107)', '2026-07-09 14:05:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827112)'), GeomFromEWKT('SRID=4674;POINT (-40.57903 -2.827107)'))) / (select extract(epoch from '2026-07-09 14:05:34'::timestamp) - extract(epoch from '2026-07-09 14:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827112)'), GeomFromEWKT('SRID=4674;POINT (-40.57903 -2.827107)'))) / (select extract(epoch from '2026-07-09 14:05:34'::timestamp) - extract(epoch from '2026-07-09 14:05: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'), 47642, 'SRID=4674;POINT (-40.579039 -2.827085)', '2026-07-09 14:05:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57903 -2.827107)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827085)'))) / (select extract(epoch from '2026-07-09 14:05:46'::timestamp) - extract(epoch from '2026-07-09 14:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57903 -2.827107)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827085)'))) / (select extract(epoch from '2026-07-09 14:05:46'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579039 -2.82707)', '2026-07-09 14:06:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82707)'))) / (select extract(epoch from '2026-07-09 14:06:06'::timestamp) - extract(epoch from '2026-07-09 14:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82707)'))) / (select extract(epoch from '2026-07-09 14:06:06'::timestamp) - extract(epoch from '2026-07-09 14:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579024 -2.827091)', '2026-07-09 14:07:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827091)'))) / (select extract(epoch from '2026-07-09 14:07:24'::timestamp) - extract(epoch from '2026-07-09 14:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827091)'))) / (select extract(epoch from '2026-07-09 14:07:24'::timestamp) - extract(epoch from '2026-07-09 14:06: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'), 47642, 'SRID=4674;POINT (-40.579052 -2.827064)', '2026-07-09 14:09:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827064)'))) / (select extract(epoch from '2026-07-09 14:09:01'::timestamp) - extract(epoch from '2026-07-09 14:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827064)'))) / (select extract(epoch from '2026-07-09 14:09:01'::timestamp) - extract(epoch from '2026-07-09 14:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579031 -2.827082)', '2026-07-09 14:09:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827064)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827082)'))) / (select extract(epoch from '2026-07-09 14:09:31'::timestamp) - extract(epoch from '2026-07-09 14:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827064)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827082)'))) / (select extract(epoch from '2026-07-09 14:09:31'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579035 -2.827081)', '2026-07-09 14:10:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827081)'))) / (select extract(epoch from '2026-07-09 14:10:01'::timestamp) - extract(epoch from '2026-07-09 14:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827081)'))) / (select extract(epoch from '2026-07-09 14:10:01'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579032 -2.827079)', '2026-07-09 14:10:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827079)'))) / (select extract(epoch from '2026-07-09 14:10:15'::timestamp) - extract(epoch from '2026-07-09 14:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827079)'))) / (select extract(epoch from '2026-07-09 14:10:15'::timestamp) - extract(epoch from '2026-07-09 14:10: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'), 47642, 'SRID=4674;POINT (-40.579024 -2.827094)', '2026-07-09 14:10:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827094)'))) / (select extract(epoch from '2026-07-09 14:10:58'::timestamp) - extract(epoch from '2026-07-09 14:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827094)'))) / (select extract(epoch from '2026-07-09 14:10:58'::timestamp) - extract(epoch from '2026-07-09 14:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579038 -2.827088)', '2026-07-09 14:11:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827088)'))) / (select extract(epoch from '2026-07-09 14:11:03'::timestamp) - extract(epoch from '2026-07-09 14:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579024 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827088)'))) / (select extract(epoch from '2026-07-09 14:11:03'::timestamp) - extract(epoch from '2026-07-09 14:10: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'), 47642, 'SRID=4674;POINT (-40.579031 -2.827082)', '2026-07-09 14:11:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827082)'))) / (select extract(epoch from '2026-07-09 14:11:14'::timestamp) - extract(epoch from '2026-07-09 14:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827082)'))) / (select extract(epoch from '2026-07-09 14:11:14'::timestamp) - extract(epoch from '2026-07-09 14:11: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'), 47642, 'SRID=4674;POINT (-40.579016 -2.827094)', '2026-07-09 14:11:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827094)'))) / (select extract(epoch from '2026-07-09 14:11:19'::timestamp) - extract(epoch from '2026-07-09 14:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827094)'))) / (select extract(epoch from '2026-07-09 14:11:19'::timestamp) - extract(epoch from '2026-07-09 14:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579039 -2.827065)', '2026-07-09 14:13:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827065)'))) / (select extract(epoch from '2026-07-09 14:13:37'::timestamp) - extract(epoch from '2026-07-09 14:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827065)'))) / (select extract(epoch from '2026-07-09 14:13:37'::timestamp) - extract(epoch from '2026-07-09 14:11: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'), 47642, 'SRID=4674;POINT (-40.579027 -2.827075)', '2026-07-09 14:14:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827075)'))) / (select extract(epoch from '2026-07-09 14:14:40'::timestamp) - extract(epoch from '2026-07-09 14:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827075)'))) / (select extract(epoch from '2026-07-09 14:14:40'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579033 -2.827084)', '2026-07-09 14:15:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827084)'))) / (select extract(epoch from '2026-07-09 14:15:20'::timestamp) - extract(epoch from '2026-07-09 14:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827084)'))) / (select extract(epoch from '2026-07-09 14:15:20'::timestamp) - extract(epoch from '2026-07-09 14:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579031 -2.827092)', '2026-07-09 14:15:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827084)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827092)'))) / (select extract(epoch from '2026-07-09 14:15:58'::timestamp) - extract(epoch from '2026-07-09 14:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827084)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827092)'))) / (select extract(epoch from '2026-07-09 14:15:58'::timestamp) - extract(epoch from '2026-07-09 14:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579042 -2.827069)', '2026-07-09 14:18:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827069)'))) / (select extract(epoch from '2026-07-09 14:18:29'::timestamp) - extract(epoch from '2026-07-09 14:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827069)'))) / (select extract(epoch from '2026-07-09 14:18:29'::timestamp) - extract(epoch from '2026-07-09 14:15: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'), 47642, 'SRID=4674;POINT (-40.579065 -2.827063)', '2026-07-09 14:19:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579065 -2.827063)'))) / (select extract(epoch from '2026-07-09 14:19:52'::timestamp) - extract(epoch from '2026-07-09 14:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579065 -2.827063)'))) / (select extract(epoch from '2026-07-09 14:19:52'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579061 -2.827085)', '2026-07-09 14:20:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579065 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827085)'))) / (select extract(epoch from '2026-07-09 14:20:07'::timestamp) - extract(epoch from '2026-07-09 14:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579065 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827085)'))) / (select extract(epoch from '2026-07-09 14:20:07'::timestamp) - extract(epoch from '2026-07-09 14:19: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'), 47642, 'SRID=4674;POINT (-40.579048 -2.827079)', '2026-07-09 14:20:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827079)'))) / (select extract(epoch from '2026-07-09 14:20:11'::timestamp) - extract(epoch from '2026-07-09 14:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827079)'))) / (select extract(epoch from '2026-07-09 14:20:11'::timestamp) - extract(epoch from '2026-07-09 14:20: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'), 47642, 'SRID=4674;POINT (-40.579055 -2.827074)', '2026-07-09 14:20:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827074)'))) / (select extract(epoch from '2026-07-09 14:20:16'::timestamp) - extract(epoch from '2026-07-09 14:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827074)'))) / (select extract(epoch from '2026-07-09 14:20:16'::timestamp) - extract(epoch from '2026-07-09 14:20: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'), 47642, 'SRID=4674;POINT (-40.579038 -2.827081)', '2026-07-09 14:21:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827081)'))) / (select extract(epoch from '2026-07-09 14:21:21'::timestamp) - extract(epoch from '2026-07-09 14:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827081)'))) / (select extract(epoch from '2026-07-09 14:21:21'::timestamp) - extract(epoch from '2026-07-09 14:20: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'), 47642, 'SRID=4674;POINT (-40.579057 -2.827051)', '2026-07-09 14:21:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827051)'))) / (select extract(epoch from '2026-07-09 14:21:50'::timestamp) - extract(epoch from '2026-07-09 14:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827051)'))) / (select extract(epoch from '2026-07-09 14:21:50'::timestamp) - extract(epoch from '2026-07-09 14:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579035 -2.827075)', '2026-07-09 14:22:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827051)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827075)'))) / (select extract(epoch from '2026-07-09 14:22:58'::timestamp) - extract(epoch from '2026-07-09 14:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827051)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827075)'))) / (select extract(epoch from '2026-07-09 14:22:58'::timestamp) - extract(epoch from '2026-07-09 14:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579053 -2.827054)', '2026-07-09 14:24:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827054)'))) / (select extract(epoch from '2026-07-09 14:24:22'::timestamp) - extract(epoch from '2026-07-09 14:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827054)'))) / (select extract(epoch from '2026-07-09 14:24:22'::timestamp) - extract(epoch from '2026-07-09 14:22: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'), 47642, 'SRID=4674;POINT (-40.57905 -2.827059)', '2026-07-09 14:24:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827054)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827059)'))) / (select extract(epoch from '2026-07-09 14:24:33'::timestamp) - extract(epoch from '2026-07-09 14:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827054)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827059)'))) / (select extract(epoch from '2026-07-09 14:24:33'::timestamp) - extract(epoch from '2026-07-09 14:24: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'), 47642, 'SRID=4674;POINT (-40.579047 -2.827062)', '2026-07-09 14:24:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827062)'))) / (select extract(epoch from '2026-07-09 14:24:46'::timestamp) - extract(epoch from '2026-07-09 14:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827062)'))) / (select extract(epoch from '2026-07-09 14:24:46'::timestamp) - extract(epoch from '2026-07-09 14:24: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'), 47642, 'SRID=4674;POINT (-40.579043 -2.827073)', '2026-07-09 14:24:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827073)'))) / (select extract(epoch from '2026-07-09 14:24:59'::timestamp) - extract(epoch from '2026-07-09 14:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827073)'))) / (select extract(epoch from '2026-07-09 14:24:59'::timestamp) - extract(epoch from '2026-07-09 14:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579045 -2.827078)', '2026-07-09 14:25:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827078)'))) / (select extract(epoch from '2026-07-09 14:25:41'::timestamp) - extract(epoch from '2026-07-09 14:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827078)'))) / (select extract(epoch from '2026-07-09 14:25:41'::timestamp) - extract(epoch from '2026-07-09 14:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579047 -2.827086)', '2026-07-09 14:26:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827086)'))) / (select extract(epoch from '2026-07-09 14:26:20'::timestamp) - extract(epoch from '2026-07-09 14:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827086)'))) / (select extract(epoch from '2026-07-09 14:26:20'::timestamp) - extract(epoch from '2026-07-09 14:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579052 -2.827057)', '2026-07-09 14:27:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827057)'))) / (select extract(epoch from '2026-07-09 14:27:06'::timestamp) - extract(epoch from '2026-07-09 14:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827057)'))) / (select extract(epoch from '2026-07-09 14:27:06'::timestamp) - extract(epoch from '2026-07-09 14:26: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'), 47642, 'SRID=4674;POINT (-40.579046 -2.827067)', '2026-07-09 14:27:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827067)'))) / (select extract(epoch from '2026-07-09 14:27:15'::timestamp) - extract(epoch from '2026-07-09 14:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827067)'))) / (select extract(epoch from '2026-07-09 14:27:15'::timestamp) - extract(epoch from '2026-07-09 14:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579048 -2.827057)', '2026-07-09 14:27:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827057)'))) / (select extract(epoch from '2026-07-09 14:27:57'::timestamp) - extract(epoch from '2026-07-09 14:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827057)'))) / (select extract(epoch from '2026-07-09 14:27:57'::timestamp) - extract(epoch from '2026-07-09 14:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579057 -2.827059)', '2026-07-09 14:29:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827059)'))) / (select extract(epoch from '2026-07-09 14:29:11'::timestamp) - extract(epoch from '2026-07-09 14:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827059)'))) / (select extract(epoch from '2026-07-09 14:29:11'::timestamp) - extract(epoch from '2026-07-09 14:27: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'), 47642, 'SRID=4674;POINT (-40.579066 -2.827069)', '2026-07-09 14:29:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827069)'))) / (select extract(epoch from '2026-07-09 14:29:35'::timestamp) - extract(epoch from '2026-07-09 14:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827069)'))) / (select extract(epoch from '2026-07-09 14:29:35'::timestamp) - extract(epoch from '2026-07-09 14:29:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579056 -2.827081)', '2026-07-09 14:31:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827081)'))) / (select extract(epoch from '2026-07-09 14:31:19'::timestamp) - extract(epoch from '2026-07-09 14:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827081)'))) / (select extract(epoch from '2026-07-09 14:31:19'::timestamp) - extract(epoch from '2026-07-09 14:29: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'), 47642, 'SRID=4674;POINT (-40.579051 -2.827076)', '2026-07-09 14:31:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827076)'))) / (select extract(epoch from '2026-07-09 14:31:22'::timestamp) - extract(epoch from '2026-07-09 14:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827076)'))) / (select extract(epoch from '2026-07-09 14:31:22'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579052 -2.827056)', '2026-07-09 14:32:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827076)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827056)'))) / (select extract(epoch from '2026-07-09 14:32:41'::timestamp) - extract(epoch from '2026-07-09 14:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827076)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827056)'))) / (select extract(epoch from '2026-07-09 14:32:41'::timestamp) - extract(epoch from '2026-07-09 14:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579054 -2.827058)', '2026-07-09 14:33:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827058)'))) / (select extract(epoch from '2026-07-09 14:33:28'::timestamp) - extract(epoch from '2026-07-09 14:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827058)'))) / (select extract(epoch from '2026-07-09 14:33:28'::timestamp) - extract(epoch from '2026-07-09 14:32: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'), 47642, 'SRID=4674;POINT (-40.579055 -2.82706)', '2026-07-09 14:34:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.82706)'))) / (select extract(epoch from '2026-07-09 14:34:21'::timestamp) - extract(epoch from '2026-07-09 14:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.82706)'))) / (select extract(epoch from '2026-07-09 14:34:21'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.57907 -2.827045)', '2026-07-09 14:35:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.57907 -2.827045)'))) / (select extract(epoch from '2026-07-09 14:35:15'::timestamp) - extract(epoch from '2026-07-09 14:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.57907 -2.827045)'))) / (select extract(epoch from '2026-07-09 14:35:15'::timestamp) - extract(epoch from '2026-07-09 14:34: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'), 47642, 'SRID=4674;POINT (-40.579066 -2.827057)', '2026-07-09 14:35:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57907 -2.827045)'), GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827057)'))) / (select extract(epoch from '2026-07-09 14:35:22'::timestamp) - extract(epoch from '2026-07-09 14:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57907 -2.827045)'), GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827057)'))) / (select extract(epoch from '2026-07-09 14:35:22'::timestamp) - extract(epoch from '2026-07-09 14:35:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579059 -2.827061)', '2026-07-09 14:36:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:36:31'::timestamp) - extract(epoch from '2026-07-09 14:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:36:31'::timestamp) - extract(epoch from '2026-07-09 14:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579051 -2.827058)', '2026-07-09 14:37:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827058)'))) / (select extract(epoch from '2026-07-09 14:37:59'::timestamp) - extract(epoch from '2026-07-09 14:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827058)'))) / (select extract(epoch from '2026-07-09 14:37:59'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579038 -2.827064)', '2026-07-09 14:38:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827064)'))) / (select extract(epoch from '2026-07-09 14:38:04'::timestamp) - extract(epoch from '2026-07-09 14:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827064)'))) / (select extract(epoch from '2026-07-09 14:38:04'::timestamp) - extract(epoch from '2026-07-09 14:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579045 -2.827052)', '2026-07-09 14:38:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827064)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827052)'))) / (select extract(epoch from '2026-07-09 14:38:27'::timestamp) - extract(epoch from '2026-07-09 14:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827064)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827052)'))) / (select extract(epoch from '2026-07-09 14:38:27'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579046 -2.827059)', '2026-07-09 14:38:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827052)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827059)'))) / (select extract(epoch from '2026-07-09 14:38:33'::timestamp) - extract(epoch from '2026-07-09 14:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827052)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827059)'))) / (select extract(epoch from '2026-07-09 14:38:33'::timestamp) - extract(epoch from '2026-07-09 14:38: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'), 47642, 'SRID=4674;POINT (-40.579036 -2.827071)', '2026-07-09 14:38:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827071)'))) / (select extract(epoch from '2026-07-09 14:38:47'::timestamp) - extract(epoch from '2026-07-09 14:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827071)'))) / (select extract(epoch from '2026-07-09 14:38:47'::timestamp) - extract(epoch from '2026-07-09 14:38: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'), 47642, 'SRID=4674;POINT (-40.57904 -2.827067)', '2026-07-09 14:39:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827067)'))) / (select extract(epoch from '2026-07-09 14:39:15'::timestamp) - extract(epoch from '2026-07-09 14:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827067)'))) / (select extract(epoch from '2026-07-09 14:39:15'::timestamp) - extract(epoch from '2026-07-09 14:38: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'), 47642, 'SRID=4674;POINT (-40.57904 -2.827067)', '2026-07-09 14:39:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827067)'))) / (select extract(epoch from '2026-07-09 14:39:54'::timestamp) - extract(epoch from '2026-07-09 14:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827067)'))) / (select extract(epoch from '2026-07-09 14:39:54'::timestamp) - extract(epoch from '2026-07-09 14:39: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'), 47642, 'SRID=4674;POINT (-40.57904 -2.82708)', '2026-07-09 14:41:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82708)'))) / (select extract(epoch from '2026-07-09 14:41:31'::timestamp) - extract(epoch from '2026-07-09 14:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82708)'))) / (select extract(epoch from '2026-07-09 14:41:31'::timestamp) - extract(epoch from '2026-07-09 14:39: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'), 47642, 'SRID=4674;POINT (-40.579051 -2.827065)', '2026-07-09 14:42:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827065)'))) / (select extract(epoch from '2026-07-09 14:42:31'::timestamp) - extract(epoch from '2026-07-09 14:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827065)'))) / (select extract(epoch from '2026-07-09 14:42:31'::timestamp) - extract(epoch from '2026-07-09 14:41:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579058 -2.827052)', '2026-07-09 14:42:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827052)'))) / (select extract(epoch from '2026-07-09 14:42:35'::timestamp) - extract(epoch from '2026-07-09 14:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827052)'))) / (select extract(epoch from '2026-07-09 14:42:35'::timestamp) - extract(epoch from '2026-07-09 14:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579063 -2.82705)', '2026-07-09 14:42:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827052)'), GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.82705)'))) / (select extract(epoch from '2026-07-09 14:42:41'::timestamp) - extract(epoch from '2026-07-09 14:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827052)'), GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.82705)'))) / (select extract(epoch from '2026-07-09 14:42:41'::timestamp) - extract(epoch from '2026-07-09 14:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579046 -2.827069)', '2026-07-09 14:42:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.82705)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827069)'))) / (select extract(epoch from '2026-07-09 14:42:54'::timestamp) - extract(epoch from '2026-07-09 14:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.82705)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827069)'))) / (select extract(epoch from '2026-07-09 14:42:54'::timestamp) - extract(epoch from '2026-07-09 14:42: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'), 47642, 'SRID=4674;POINT (-40.579049 -2.827058)', '2026-07-09 14:44:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827058)'))) / (select extract(epoch from '2026-07-09 14:44:05'::timestamp) - extract(epoch from '2026-07-09 14:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827058)'))) / (select extract(epoch from '2026-07-09 14:44:05'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579038 -2.827088)', '2026-07-09 14:44:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827088)'))) / (select extract(epoch from '2026-07-09 14:44:14'::timestamp) - extract(epoch from '2026-07-09 14:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827088)'))) / (select extract(epoch from '2026-07-09 14:44:14'::timestamp) - extract(epoch from '2026-07-09 14:44:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579044 -2.827061)', '2026-07-09 14:45:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:45:27'::timestamp) - extract(epoch from '2026-07-09 14:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:45:27'::timestamp) - extract(epoch from '2026-07-09 14:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57905 -2.827061)', '2026-07-09 14:45:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:45:49'::timestamp) - extract(epoch from '2026-07-09 14:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:45:49'::timestamp) - extract(epoch from '2026-07-09 14:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579033 -2.827061)', '2026-07-09 14:45:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:45:54'::timestamp) - extract(epoch from '2026-07-09 14:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:45:54'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.579043 -2.827068)', '2026-07-09 14:46:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827068)'))) / (select extract(epoch from '2026-07-09 14:46:03'::timestamp) - extract(epoch from '2026-07-09 14:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827068)'))) / (select extract(epoch from '2026-07-09 14:46:03'::timestamp) - extract(epoch from '2026-07-09 14:45: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'), 47642, 'SRID=4674;POINT (-40.579048 -2.827049)', '2026-07-09 14:46:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827049)'))) / (select extract(epoch from '2026-07-09 14:46:20'::timestamp) - extract(epoch from '2026-07-09 14:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827049)'))) / (select extract(epoch from '2026-07-09 14:46:20'::timestamp) - extract(epoch from '2026-07-09 14:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579047 -2.827055)', '2026-07-09 14:46:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827049)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827055)'))) / (select extract(epoch from '2026-07-09 14:46:35'::timestamp) - extract(epoch from '2026-07-09 14:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827049)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827055)'))) / (select extract(epoch from '2026-07-09 14:46:35'::timestamp) - extract(epoch from '2026-07-09 14:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579043 -2.827075)', '2026-07-09 14:47:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827055)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827075)'))) / (select extract(epoch from '2026-07-09 14:47:14'::timestamp) - extract(epoch from '2026-07-09 14:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827055)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827075)'))) / (select extract(epoch from '2026-07-09 14:47:14'::timestamp) - extract(epoch from '2026-07-09 14:46: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'), 47642, 'SRID=4674;POINT (-40.579054 -2.82705)', '2026-07-09 14:48:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.82705)'))) / (select extract(epoch from '2026-07-09 14:48:22'::timestamp) - extract(epoch from '2026-07-09 14:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.82705)'))) / (select extract(epoch from '2026-07-09 14:48:22'::timestamp) - extract(epoch from '2026-07-09 14:47: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'), 47642, 'SRID=4674;POINT (-40.579066 -2.827041)', '2026-07-09 14:49:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.82705)'), GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827041)'))) / (select extract(epoch from '2026-07-09 14:49:51'::timestamp) - extract(epoch from '2026-07-09 14:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.82705)'), GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827041)'))) / (select extract(epoch from '2026-07-09 14:49:51'::timestamp) - extract(epoch from '2026-07-09 14:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57906 -2.827049)', '2026-07-09 14:50:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827041)'), GeomFromEWKT('SRID=4674;POINT (-40.57906 -2.827049)'))) / (select extract(epoch from '2026-07-09 14:50:53'::timestamp) - extract(epoch from '2026-07-09 14:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827041)'), GeomFromEWKT('SRID=4674;POINT (-40.57906 -2.827049)'))) / (select extract(epoch from '2026-07-09 14:50:53'::timestamp) - extract(epoch from '2026-07-09 14:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579059 -2.827061)', '2026-07-09 14:51:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57906 -2.827049)'), GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:51:48'::timestamp) - extract(epoch from '2026-07-09 14:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57906 -2.827049)'), GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:51:48'::timestamp) - extract(epoch from '2026-07-09 14:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579063 -2.827049)', '2026-07-09 14:52:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827049)'))) / (select extract(epoch from '2026-07-09 14:52:18'::timestamp) - extract(epoch from '2026-07-09 14:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827049)'))) / (select extract(epoch from '2026-07-09 14:52:18'::timestamp) - extract(epoch from '2026-07-09 14:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579067 -2.827033)', '2026-07-09 14:52:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827049)'), GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.827033)'))) / (select extract(epoch from '2026-07-09 14:52:53'::timestamp) - extract(epoch from '2026-07-09 14:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827049)'), GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.827033)'))) / (select extract(epoch from '2026-07-09 14:52:53'::timestamp) - extract(epoch from '2026-07-09 14:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579075 -2.827041)', '2026-07-09 14:53:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.827033)'), GeomFromEWKT('SRID=4674;POINT (-40.579075 -2.827041)'))) / (select extract(epoch from '2026-07-09 14:53:25'::timestamp) - extract(epoch from '2026-07-09 14:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.827033)'), GeomFromEWKT('SRID=4674;POINT (-40.579075 -2.827041)'))) / (select extract(epoch from '2026-07-09 14:53:25'::timestamp) - extract(epoch from '2026-07-09 14:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579067 -2.827055)', '2026-07-09 14:56:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579075 -2.827041)'), GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.827055)'))) / (select extract(epoch from '2026-07-09 14:56:32'::timestamp) - extract(epoch from '2026-07-09 14:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579075 -2.827041)'), GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.827055)'))) / (select extract(epoch from '2026-07-09 14:56:32'::timestamp) - extract(epoch from '2026-07-09 14:53: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'), 47642, 'SRID=4674;POINT (-40.579067 -2.82706)', '2026-07-09 14:56:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.827055)'), GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.82706)'))) / (select extract(epoch from '2026-07-09 14:56:38'::timestamp) - extract(epoch from '2026-07-09 14:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.827055)'), GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.82706)'))) / (select extract(epoch from '2026-07-09 14:56:38'::timestamp) - extract(epoch from '2026-07-09 14:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579056 -2.827089)', '2026-07-09 14:56:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827089)'))) / (select extract(epoch from '2026-07-09 14:56:51'::timestamp) - extract(epoch from '2026-07-09 14:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579067 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827089)'))) / (select extract(epoch from '2026-07-09 14:56:51'::timestamp) - extract(epoch from '2026-07-09 14:56: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'), 47642, 'SRID=4674;POINT (-40.579051 -2.827061)', '2026-07-09 14:57:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:57:48'::timestamp) - extract(epoch from '2026-07-09 14:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827061)'))) / (select extract(epoch from '2026-07-09 14:57:48'::timestamp) - extract(epoch from '2026-07-09 14:56:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579057 -2.827044)', '2026-07-09 15:00:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827044)'))) / (select extract(epoch from '2026-07-09 15:00:06'::timestamp) - extract(epoch from '2026-07-09 14:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827044)'))) / (select extract(epoch from '2026-07-09 15:00:06'::timestamp) - extract(epoch from '2026-07-09 14:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579053 -2.827066)', '2026-07-09 15:01:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827044)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827066)'))) / (select extract(epoch from '2026-07-09 15:01:47'::timestamp) - extract(epoch from '2026-07-09 15:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827044)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827066)'))) / (select extract(epoch from '2026-07-09 15:01:47'::timestamp) - extract(epoch from '2026-07-09 15:00: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'), 47642, 'SRID=4674;POINT (-40.579058 -2.82706)', '2026-07-09 15:04:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82706)'))) / (select extract(epoch from '2026-07-09 15:04:36'::timestamp) - extract(epoch from '2026-07-09 15:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82706)'))) / (select extract(epoch from '2026-07-09 15:04:36'::timestamp) - extract(epoch from '2026-07-09 15:01:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579049 -2.827072)', '2026-07-09 15:04:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827072)'))) / (select extract(epoch from '2026-07-09 15:04:55'::timestamp) - extract(epoch from '2026-07-09 15:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827072)'))) / (select extract(epoch from '2026-07-09 15:04:55'::timestamp) - extract(epoch from '2026-07-09 15:04: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'), 47642, 'SRID=4674;POINT (-40.579046 -2.827085)', '2026-07-09 15:06:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827072)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827085)'))) / (select extract(epoch from '2026-07-09 15:06:27'::timestamp) - extract(epoch from '2026-07-09 15:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827072)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827085)'))) / (select extract(epoch from '2026-07-09 15:06:27'::timestamp) - extract(epoch from '2026-07-09 15:04: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'), 47642, 'SRID=4674;POINT (-40.579041 -2.827083)', '2026-07-09 15:06:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827083)'))) / (select extract(epoch from '2026-07-09 15:06:38'::timestamp) - extract(epoch from '2026-07-09 15:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827083)'))) / (select extract(epoch from '2026-07-09 15:06:38'::timestamp) - extract(epoch from '2026-07-09 15:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579049 -2.827069)', '2026-07-09 15:07:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827069)'))) / (select extract(epoch from '2026-07-09 15:07:17'::timestamp) - extract(epoch from '2026-07-09 15:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827069)'))) / (select extract(epoch from '2026-07-09 15:07:17'::timestamp) - extract(epoch from '2026-07-09 15:06: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'), 47642, 'SRID=4674;POINT (-40.579056 -2.827057)', '2026-07-09 15:07:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827057)'))) / (select extract(epoch from '2026-07-09 15:07:47'::timestamp) - extract(epoch from '2026-07-09 15:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827057)'))) / (select extract(epoch from '2026-07-09 15:07:47'::timestamp) - extract(epoch from '2026-07-09 15:07: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'), 47642, 'SRID=4674;POINT (-40.579061 -2.827043)', '2026-07-09 15:08:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827043)'))) / (select extract(epoch from '2026-07-09 15:08:07'::timestamp) - extract(epoch from '2026-07-09 15:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827043)'))) / (select extract(epoch from '2026-07-09 15:08:07'::timestamp) - extract(epoch from '2026-07-09 15:07: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'), 47642, 'SRID=4674;POINT (-40.57905 -2.827068)', '2026-07-09 15:09:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827043)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827068)'))) / (select extract(epoch from '2026-07-09 15:09:02'::timestamp) - extract(epoch from '2026-07-09 15:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827043)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827068)'))) / (select extract(epoch from '2026-07-09 15:09:02'::timestamp) - extract(epoch from '2026-07-09 15:08: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'), 47642, 'SRID=4674;POINT (-40.579059 -2.82707)', '2026-07-09 15:09:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.82707)'))) / (select extract(epoch from '2026-07-09 15:09:24'::timestamp) - extract(epoch from '2026-07-09 15:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.82707)'))) / (select extract(epoch from '2026-07-09 15:09:24'::timestamp) - extract(epoch from '2026-07-09 15:09: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'), 47642, 'SRID=4674;POINT (-40.579051 -2.827077)', '2026-07-09 15:09:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827077)'))) / (select extract(epoch from '2026-07-09 15:09:27'::timestamp) - extract(epoch from '2026-07-09 15:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827077)'))) / (select extract(epoch from '2026-07-09 15:09:27'::timestamp) - extract(epoch from '2026-07-09 15:09: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'), 47642, 'SRID=4674;POINT (-40.579052 -2.827077)', '2026-07-09 15:09:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827077)'))) / (select extract(epoch from '2026-07-09 15:09:37'::timestamp) - extract(epoch from '2026-07-09 15:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827077)'))) / (select extract(epoch from '2026-07-09 15:09:37'::timestamp) - extract(epoch from '2026-07-09 15:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579056 -2.827069)', '2026-07-09 15:09:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827069)'))) / (select extract(epoch from '2026-07-09 15:09:40'::timestamp) - extract(epoch from '2026-07-09 15:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827069)'))) / (select extract(epoch from '2026-07-09 15:09:40'::timestamp) - extract(epoch from '2026-07-09 15: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'), 47642, 'SRID=4674;POINT (-40.579063 -2.827065)', '2026-07-09 15:09:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827065)'))) / (select extract(epoch from '2026-07-09 15:09:46'::timestamp) - extract(epoch from '2026-07-09 15:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827065)'))) / (select extract(epoch from '2026-07-09 15:09:46'::timestamp) - extract(epoch from '2026-07-09 15:09: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'), 47642, 'SRID=4674;POINT (-40.57905 -2.827085)', '2026-07-09 15:10:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827085)'))) / (select extract(epoch from '2026-07-09 15:10:39'::timestamp) - extract(epoch from '2026-07-09 15:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827085)'))) / (select extract(epoch from '2026-07-09 15:10:39'::timestamp) - extract(epoch from '2026-07-09 15:09: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'), 47642, 'SRID=4674;POINT (-40.579051 -2.827086)', '2026-07-09 15:10:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827086)'))) / (select extract(epoch from '2026-07-09 15:10:49'::timestamp) - extract(epoch from '2026-07-09 15:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827086)'))) / (select extract(epoch from '2026-07-09 15:10:49'::timestamp) - extract(epoch from '2026-07-09 15: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'), 47642, 'SRID=4674;POINT (-40.579053 -2.82709)', '2026-07-09 15:11:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.82709)'))) / (select extract(epoch from '2026-07-09 15:11:18'::timestamp) - extract(epoch from '2026-07-09 15:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.82709)'))) / (select extract(epoch from '2026-07-09 15:11:18'::timestamp) - extract(epoch from '2026-07-09 15:10: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'), 47642, 'SRID=4674;POINT (-40.579041 -2.827077)', '2026-07-09 15:13:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.82709)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827077)'))) / (select extract(epoch from '2026-07-09 15:13:52'::timestamp) - extract(epoch from '2026-07-09 15:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.82709)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827077)'))) / (select extract(epoch from '2026-07-09 15:13:52'::timestamp) - extract(epoch from '2026-07-09 15:11: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'), 47642, 'SRID=4674;POINT (-40.57905 -2.827067)', '2026-07-09 15:14:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827067)'))) / (select extract(epoch from '2026-07-09 15:14:08'::timestamp) - extract(epoch from '2026-07-09 15:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827067)'))) / (select extract(epoch from '2026-07-09 15:14:08'::timestamp) - extract(epoch from '2026-07-09 15:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579047 -2.827063)', '2026-07-09 15:14:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827063)'))) / (select extract(epoch from '2026-07-09 15:14:17'::timestamp) - extract(epoch from '2026-07-09 15:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827063)'))) / (select extract(epoch from '2026-07-09 15:14:17'::timestamp) - extract(epoch from '2026-07-09 15: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'), 47642, 'SRID=4674;POINT (-40.579062 -2.827056)', '2026-07-09 15:15:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827056)'))) / (select extract(epoch from '2026-07-09 15:15:04'::timestamp) - extract(epoch from '2026-07-09 15:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827056)'))) / (select extract(epoch from '2026-07-09 15:15:04'::timestamp) - extract(epoch from '2026-07-09 15:14: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'), 47642, 'SRID=4674;POINT (-40.579065 -2.827063)', '2026-07-09 15:16:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.579065 -2.827063)'))) / (select extract(epoch from '2026-07-09 15:16:54'::timestamp) - extract(epoch from '2026-07-09 15:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.579065 -2.827063)'))) / (select extract(epoch from '2026-07-09 15:16:54'::timestamp) - extract(epoch from '2026-07-09 15:15: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'), 47642, 'SRID=4674;POINT (-40.579056 -2.827066)', '2026-07-09 15:17:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579065 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827066)'))) / (select extract(epoch from '2026-07-09 15:17:29'::timestamp) - extract(epoch from '2026-07-09 15:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579065 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827066)'))) / (select extract(epoch from '2026-07-09 15:17:29'::timestamp) - extract(epoch from '2026-07-09 15:16: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'), 47642, 'SRID=4674;POINT (-40.579058 -2.827062)', '2026-07-09 15:17:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827062)'))) / (select extract(epoch from '2026-07-09 15:17:33'::timestamp) - extract(epoch from '2026-07-09 15:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827062)'))) / (select extract(epoch from '2026-07-09 15:17:33'::timestamp) - extract(epoch from '2026-07-09 15:17:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579055 -2.827073)', '2026-07-09 15:17:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827073)'))) / (select extract(epoch from '2026-07-09 15:17:44'::timestamp) - extract(epoch from '2026-07-09 15:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827073)'))) / (select extract(epoch from '2026-07-09 15:17:44'::timestamp) - extract(epoch from '2026-07-09 15:17: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'), 47642, 'SRID=4674;POINT (-40.579051 -2.827073)', '2026-07-09 15:18:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827073)'))) / (select extract(epoch from '2026-07-09 15:18:11'::timestamp) - extract(epoch from '2026-07-09 15:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827073)'))) / (select extract(epoch from '2026-07-09 15:18:11'::timestamp) - extract(epoch from '2026-07-09 15:17: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'), 47642, 'SRID=4674;POINT (-40.579071 -2.827042)', '2026-07-09 15:18:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579071 -2.827042)'))) / (select extract(epoch from '2026-07-09 15:18:37'::timestamp) - extract(epoch from '2026-07-09 15:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579071 -2.827042)'))) / (select extract(epoch from '2026-07-09 15:18:37'::timestamp) - extract(epoch from '2026-07-09 15:18:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579062 -2.82706)', '2026-07-09 15:18:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579071 -2.827042)'), GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.82706)'))) / (select extract(epoch from '2026-07-09 15:18:50'::timestamp) - extract(epoch from '2026-07-09 15:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579071 -2.827042)'), GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.82706)'))) / (select extract(epoch from '2026-07-09 15:18:50'::timestamp) - extract(epoch from '2026-07-09 15: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'), 47642, 'SRID=4674;POINT (-40.579061 -2.827061)', '2026-07-09 15:18:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827061)'))) / (select extract(epoch from '2026-07-09 15:18:51'::timestamp) - extract(epoch from '2026-07-09 15:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827061)'))) / (select extract(epoch from '2026-07-09 15:18:51'::timestamp) - extract(epoch from '2026-07-09 15:18: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'), 47642, 'SRID=4674;POINT (-40.579058 -2.827059)', '2026-07-09 15:19:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827059)'))) / (select extract(epoch from '2026-07-09 15:19:34'::timestamp) - extract(epoch from '2026-07-09 15:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579061 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827059)'))) / (select extract(epoch from '2026-07-09 15:19:34'::timestamp) - extract(epoch from '2026-07-09 15:18: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'), 47642, 'SRID=4674;POINT (-40.57905 -2.82706)', '2026-07-09 15:20:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.82706)'))) / (select extract(epoch from '2026-07-09 15:20:25'::timestamp) - extract(epoch from '2026-07-09 15:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.82706)'))) / (select extract(epoch from '2026-07-09 15:20:25'::timestamp) - extract(epoch from '2026-07-09 15:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579036 -2.827063)', '2026-07-09 15:21:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827063)'))) / (select extract(epoch from '2026-07-09 15:21:00'::timestamp) - extract(epoch from '2026-07-09 15:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827063)'))) / (select extract(epoch from '2026-07-09 15:21:00'::timestamp) - extract(epoch from '2026-07-09 15:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579051 -2.827087)', '2026-07-09 15:21:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827087)'))) / (select extract(epoch from '2026-07-09 15:21:47'::timestamp) - extract(epoch from '2026-07-09 15:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827087)'))) / (select extract(epoch from '2026-07-09 15:21:47'::timestamp) - extract(epoch from '2026-07-09 15:21: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'), 47642, 'SRID=4674;POINT (-40.579043 -2.827083)', '2026-07-09 15:22:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827087)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827083)'))) / (select extract(epoch from '2026-07-09 15:22:13'::timestamp) - extract(epoch from '2026-07-09 15:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827087)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827083)'))) / (select extract(epoch from '2026-07-09 15:22:13'::timestamp) - extract(epoch from '2026-07-09 15:21: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'), 47642, 'SRID=4674;POINT (-40.579041 -2.82707)', '2026-07-09 15:22:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.82707)'))) / (select extract(epoch from '2026-07-09 15:22:39'::timestamp) - extract(epoch from '2026-07-09 15:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.82707)'))) / (select extract(epoch from '2026-07-09 15:22:39'::timestamp) - extract(epoch from '2026-07-09 15:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579035 -2.827061)', '2026-07-09 15:22:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827061)'))) / (select extract(epoch from '2026-07-09 15:22:42'::timestamp) - extract(epoch from '2026-07-09 15:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827061)'))) / (select extract(epoch from '2026-07-09 15:22:42'::timestamp) - extract(epoch from '2026-07-09 15:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579036 -2.827063)', '2026-07-09 15:22:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827063)'))) / (select extract(epoch from '2026-07-09 15:22:48'::timestamp) - extract(epoch from '2026-07-09 15:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827061)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827063)'))) / (select extract(epoch from '2026-07-09 15:22:48'::timestamp) - extract(epoch from '2026-07-09 15:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579032 -2.827073)', '2026-07-09 15:24:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827073)'))) / (select extract(epoch from '2026-07-09 15:24:25'::timestamp) - extract(epoch from '2026-07-09 15:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827073)'))) / (select extract(epoch from '2026-07-09 15:24:25'::timestamp) - extract(epoch from '2026-07-09 15:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579041 -2.827058)', '2026-07-09 15:25:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827058)'))) / (select extract(epoch from '2026-07-09 15:25:08'::timestamp) - extract(epoch from '2026-07-09 15:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827058)'))) / (select extract(epoch from '2026-07-09 15:25:08'::timestamp) - extract(epoch from '2026-07-09 15:24: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'), 47642, 'SRID=4674;POINT (-40.579047 -2.827066)', '2026-07-09 15:25:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827066)'))) / (select extract(epoch from '2026-07-09 15:25:15'::timestamp) - extract(epoch from '2026-07-09 15:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827066)'))) / (select extract(epoch from '2026-07-09 15:25:15'::timestamp) - extract(epoch from '2026-07-09 15:25: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'), 47642, 'SRID=4674;POINT (-40.579048 -2.827056)', '2026-07-09 15:26:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827056)'))) / (select extract(epoch from '2026-07-09 15:26:08'::timestamp) - extract(epoch from '2026-07-09 15:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827056)'))) / (select extract(epoch from '2026-07-09 15:26:08'::timestamp) - extract(epoch from '2026-07-09 15:25: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'), 47642, 'SRID=4674;POINT (-40.579045 -2.827065)', '2026-07-09 15:26:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827065)'))) / (select extract(epoch from '2026-07-09 15:26:52'::timestamp) - extract(epoch from '2026-07-09 15:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827065)'))) / (select extract(epoch from '2026-07-09 15:26:52'::timestamp) - extract(epoch from '2026-07-09 15:26:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57904 -2.827094)', '2026-07-09 15:27:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827094)'))) / (select extract(epoch from '2026-07-09 15:27:23'::timestamp) - extract(epoch from '2026-07-09 15:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827094)'))) / (select extract(epoch from '2026-07-09 15:27:23'::timestamp) - extract(epoch from '2026-07-09 15:26: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'), 47642, 'SRID=4674;POINT (-40.579035 -2.827092)', '2026-07-09 15:27:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827092)'))) / (select extract(epoch from '2026-07-09 15:27:33'::timestamp) - extract(epoch from '2026-07-09 15:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827092)'))) / (select extract(epoch from '2026-07-09 15:27:33'::timestamp) - extract(epoch from '2026-07-09 15:27:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579052 -2.827068)', '2026-07-09 15:27:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827068)'))) / (select extract(epoch from '2026-07-09 15:27:46'::timestamp) - extract(epoch from '2026-07-09 15:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827068)'))) / (select extract(epoch from '2026-07-09 15:27:46'::timestamp) - extract(epoch from '2026-07-09 15:27: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'), 47642, 'SRID=4674;POINT (-40.579051 -2.827067)', '2026-07-09 15:27:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827067)'))) / (select extract(epoch from '2026-07-09 15:27:52'::timestamp) - extract(epoch from '2026-07-09 15:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827067)'))) / (select extract(epoch from '2026-07-09 15:27:52'::timestamp) - extract(epoch from '2026-07-09 15:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579038 -2.827059)', '2026-07-09 15:30:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827059)'))) / (select extract(epoch from '2026-07-09 15:30:21'::timestamp) - extract(epoch from '2026-07-09 15:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827059)'))) / (select extract(epoch from '2026-07-09 15:30:21'::timestamp) - extract(epoch from '2026-07-09 15:27:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579052 -2.827065)', '2026-07-09 15:30:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827065)'))) / (select extract(epoch from '2026-07-09 15:30:26'::timestamp) - extract(epoch from '2026-07-09 15:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827065)'))) / (select extract(epoch from '2026-07-09 15:30:26'::timestamp) - extract(epoch from '2026-07-09 15:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579054 -2.827069)', '2026-07-09 15:30:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827069)'))) / (select extract(epoch from '2026-07-09 15:30:48'::timestamp) - extract(epoch from '2026-07-09 15:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827069)'))) / (select extract(epoch from '2026-07-09 15:30:48'::timestamp) - extract(epoch from '2026-07-09 15:30:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579042 -2.82708)', '2026-07-09 15:32:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.82708)'))) / (select extract(epoch from '2026-07-09 15:32:06'::timestamp) - extract(epoch from '2026-07-09 15:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.82708)'))) / (select extract(epoch from '2026-07-09 15:32:06'::timestamp) - extract(epoch from '2026-07-09 15:30:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579046 -2.827071)', '2026-07-09 15:32:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827071)'))) / (select extract(epoch from '2026-07-09 15:32:55'::timestamp) - extract(epoch from '2026-07-09 15:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827071)'))) / (select extract(epoch from '2026-07-09 15:32:55'::timestamp) - extract(epoch from '2026-07-09 15:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579043 -2.82706)', '2026-07-09 15:33:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.82706)'))) / (select extract(epoch from '2026-07-09 15:33:59'::timestamp) - extract(epoch from '2026-07-09 15:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.82706)'))) / (select extract(epoch from '2026-07-09 15:33:59'::timestamp) - extract(epoch from '2026-07-09 15:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579038 -2.827055)', '2026-07-09 15:34:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827055)'))) / (select extract(epoch from '2026-07-09 15:34:08'::timestamp) - extract(epoch from '2026-07-09 15:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827055)'))) / (select extract(epoch from '2026-07-09 15:34:08'::timestamp) - extract(epoch from '2026-07-09 15:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579034 -2.827064)', '2026-07-09 15:34:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827055)'), GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827064)'))) / (select extract(epoch from '2026-07-09 15:34:14'::timestamp) - extract(epoch from '2026-07-09 15:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827055)'), GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827064)'))) / (select extract(epoch from '2026-07-09 15:34:14'::timestamp) - extract(epoch from '2026-07-09 15: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'), 47642, 'SRID=4674;POINT (-40.579049 -2.827081)', '2026-07-09 15:34:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827064)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827081)'))) / (select extract(epoch from '2026-07-09 15:34:24'::timestamp) - extract(epoch from '2026-07-09 15:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827064)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827081)'))) / (select extract(epoch from '2026-07-09 15:34:24'::timestamp) - extract(epoch from '2026-07-09 15:34: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'), 47642, 'SRID=4674;POINT (-40.579044 -2.82708)', '2026-07-09 15:35:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.82708)'))) / (select extract(epoch from '2026-07-09 15:35:14'::timestamp) - extract(epoch from '2026-07-09 15:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.82708)'))) / (select extract(epoch from '2026-07-09 15:35:14'::timestamp) - extract(epoch from '2026-07-09 15:34: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'), 47642, 'SRID=4674;POINT (-40.579045 -2.827076)', '2026-07-09 15:37:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827076)'))) / (select extract(epoch from '2026-07-09 15:37:34'::timestamp) - extract(epoch from '2026-07-09 15:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827076)'))) / (select extract(epoch from '2026-07-09 15:37:34'::timestamp) - extract(epoch from '2026-07-09 15:35: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'), 47642, 'SRID=4674;POINT (-40.579049 -2.827084)', '2026-07-09 15:38:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827076)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827084)'))) / (select extract(epoch from '2026-07-09 15:38:16'::timestamp) - extract(epoch from '2026-07-09 15:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827076)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827084)'))) / (select extract(epoch from '2026-07-09 15:38:16'::timestamp) - extract(epoch from '2026-07-09 15:37: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'), 47642, 'SRID=4674;POINT (-40.579047 -2.827083)', '2026-07-09 15:38:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827084)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827083)'))) / (select extract(epoch from '2026-07-09 15:38:26'::timestamp) - extract(epoch from '2026-07-09 15:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827084)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827083)'))) / (select extract(epoch from '2026-07-09 15:38:26'::timestamp) - extract(epoch from '2026-07-09 15: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'), 47642, 'SRID=4674;POINT (-40.579048 -2.827074)', '2026-07-09 15:38:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827074)'))) / (select extract(epoch from '2026-07-09 15:38:46'::timestamp) - extract(epoch from '2026-07-09 15:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827074)'))) / (select extract(epoch from '2026-07-09 15:38:46'::timestamp) - extract(epoch from '2026-07-09 15:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579042 -2.827074)', '2026-07-09 15:39:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827074)'))) / (select extract(epoch from '2026-07-09 15:39:04'::timestamp) - extract(epoch from '2026-07-09 15:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827074)'))) / (select extract(epoch from '2026-07-09 15:39:04'::timestamp) - extract(epoch from '2026-07-09 15:38:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579041 -2.827079)', '2026-07-09 15:39:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827079)'))) / (select extract(epoch from '2026-07-09 15:39:43'::timestamp) - extract(epoch from '2026-07-09 15:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827079)'))) / (select extract(epoch from '2026-07-09 15:39:43'::timestamp) - extract(epoch from '2026-07-09 15:39: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'), 47642, 'SRID=4674;POINT (-40.57904 -2.827069)', '2026-07-09 15:39:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827069)'))) / (select extract(epoch from '2026-07-09 15:39:44'::timestamp) - extract(epoch from '2026-07-09 15:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827069)'))) / (select extract(epoch from '2026-07-09 15:39:44'::timestamp) - extract(epoch from '2026-07-09 15:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579047 -2.827067)', '2026-07-09 15:39:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827067)'))) / (select extract(epoch from '2026-07-09 15:39:50'::timestamp) - extract(epoch from '2026-07-09 15:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827067)'))) / (select extract(epoch from '2026-07-09 15:39:50'::timestamp) - extract(epoch from '2026-07-09 15:39: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'), 47642, 'SRID=4674;POINT (-40.579052 -2.827097)', '2026-07-09 15:41:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827097)'))) / (select extract(epoch from '2026-07-09 15:41:14'::timestamp) - extract(epoch from '2026-07-09 15:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827097)'))) / (select extract(epoch from '2026-07-09 15:41:14'::timestamp) - extract(epoch from '2026-07-09 15:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579048 -2.827094)', '2026-07-09 15:41:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827094)'))) / (select extract(epoch from '2026-07-09 15:41:23'::timestamp) - extract(epoch from '2026-07-09 15:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827094)'))) / (select extract(epoch from '2026-07-09 15:41:23'::timestamp) - extract(epoch from '2026-07-09 15:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579063 -2.827072)', '2026-07-09 15:41:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827072)'))) / (select extract(epoch from '2026-07-09 15:41:35'::timestamp) - extract(epoch from '2026-07-09 15:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827072)'))) / (select extract(epoch from '2026-07-09 15:41:35'::timestamp) - extract(epoch from '2026-07-09 15:41: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'), 47642, 'SRID=4674;POINT (-40.579052 -2.827083)', '2026-07-09 15:41:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827072)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827083)'))) / (select extract(epoch from '2026-07-09 15:41:56'::timestamp) - extract(epoch from '2026-07-09 15:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827072)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827083)'))) / (select extract(epoch from '2026-07-09 15:41:56'::timestamp) - extract(epoch from '2026-07-09 15:41: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'), 47642, 'SRID=4674;POINT (-40.579052 -2.827078)', '2026-07-09 15:42:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827078)'))) / (select extract(epoch from '2026-07-09 15:42:02'::timestamp) - extract(epoch from '2026-07-09 15:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827078)'))) / (select extract(epoch from '2026-07-09 15:42:02'::timestamp) - extract(epoch from '2026-07-09 15:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579058 -2.827073)', '2026-07-09 15:42:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827073)'))) / (select extract(epoch from '2026-07-09 15:42:14'::timestamp) - extract(epoch from '2026-07-09 15:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827073)'))) / (select extract(epoch from '2026-07-09 15:42:14'::timestamp) - extract(epoch from '2026-07-09 15:42: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'), 47642, 'SRID=4674;POINT (-40.579049 -2.827068)', '2026-07-09 15:42:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827068)'))) / (select extract(epoch from '2026-07-09 15:42:24'::timestamp) - extract(epoch from '2026-07-09 15:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827068)'))) / (select extract(epoch from '2026-07-09 15:42:24'::timestamp) - extract(epoch from '2026-07-09 15:42: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'), 47642, 'SRID=4674;POINT (-40.579045 -2.827075)', '2026-07-09 15:42:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827075)'))) / (select extract(epoch from '2026-07-09 15:42:34'::timestamp) - extract(epoch from '2026-07-09 15:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827075)'))) / (select extract(epoch from '2026-07-09 15:42:34'::timestamp) - extract(epoch from '2026-07-09 15:42: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'), 47642, 'SRID=4674;POINT (-40.579051 -2.827067)', '2026-07-09 15:43:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827067)'))) / (select extract(epoch from '2026-07-09 15:43:38'::timestamp) - extract(epoch from '2026-07-09 15:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827067)'))) / (select extract(epoch from '2026-07-09 15:43:38'::timestamp) - extract(epoch from '2026-07-09 15:42:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579048 -2.827059)', '2026-07-09 15:44:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827059)'))) / (select extract(epoch from '2026-07-09 15:44:20'::timestamp) - extract(epoch from '2026-07-09 15:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827059)'))) / (select extract(epoch from '2026-07-09 15:44:20'::timestamp) - extract(epoch from '2026-07-09 15: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'), 47642, 'SRID=4674;POINT (-40.579053 -2.827088)', '2026-07-09 15:45:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827088)'))) / (select extract(epoch from '2026-07-09 15:45:27'::timestamp) - extract(epoch from '2026-07-09 15:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827088)'))) / (select extract(epoch from '2026-07-09 15:45:27'::timestamp) - extract(epoch from '2026-07-09 15:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57904 -2.827088)', '2026-07-09 15:45:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827088)'))) / (select extract(epoch from '2026-07-09 15:45:36'::timestamp) - extract(epoch from '2026-07-09 15:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827088)'))) / (select extract(epoch from '2026-07-09 15:45:36'::timestamp) - extract(epoch from '2026-07-09 15:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579045 -2.827089)', '2026-07-09 15:45:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827089)'))) / (select extract(epoch from '2026-07-09 15:45:44'::timestamp) - extract(epoch from '2026-07-09 15:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827089)'))) / (select extract(epoch from '2026-07-09 15:45:44'::timestamp) - extract(epoch from '2026-07-09 15:45:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579049 -2.827094)', '2026-07-09 15:46:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827094)'))) / (select extract(epoch from '2026-07-09 15:46:01'::timestamp) - extract(epoch from '2026-07-09 15:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827094)'))) / (select extract(epoch from '2026-07-09 15:46:01'::timestamp) - extract(epoch from '2026-07-09 15:45: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'), 47642, 'SRID=4674;POINT (-40.579055 -2.827096)', '2026-07-09 15:49:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827096)'))) / (select extract(epoch from '2026-07-09 15:49:02'::timestamp) - extract(epoch from '2026-07-09 15:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827096)'))) / (select extract(epoch from '2026-07-09 15:49:02'::timestamp) - extract(epoch from '2026-07-09 15:46:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57905 -2.827085)', '2026-07-09 15:50:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827085)'))) / (select extract(epoch from '2026-07-09 15:50:27'::timestamp) - extract(epoch from '2026-07-09 15:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827085)'))) / (select extract(epoch from '2026-07-09 15:50:27'::timestamp) - extract(epoch from '2026-07-09 15:49: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'), 47642, 'SRID=4674;POINT (-40.579046 -2.827075)', '2026-07-09 15:52:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827075)'))) / (select extract(epoch from '2026-07-09 15:52:11'::timestamp) - extract(epoch from '2026-07-09 15:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827075)'))) / (select extract(epoch from '2026-07-09 15:52:11'::timestamp) - extract(epoch from '2026-07-09 15:50: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'), 47642, 'SRID=4674;POINT (-40.579039 -2.82709)', '2026-07-09 15:52:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82709)'))) / (select extract(epoch from '2026-07-09 15:52:28'::timestamp) - extract(epoch from '2026-07-09 15:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82709)'))) / (select extract(epoch from '2026-07-09 15:52:28'::timestamp) - extract(epoch from '2026-07-09 15:52: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'), 47642, 'SRID=4674;POINT (-40.579047 -2.827079)', '2026-07-09 15:54:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82709)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827079)'))) / (select extract(epoch from '2026-07-09 15:54:38'::timestamp) - extract(epoch from '2026-07-09 15:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82709)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827079)'))) / (select extract(epoch from '2026-07-09 15:54:38'::timestamp) - extract(epoch from '2026-07-09 15:52: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'), 47642, 'SRID=4674;POINT (-40.579029 -2.827086)', '2026-07-09 15:55:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827086)'))) / (select extract(epoch from '2026-07-09 15:55:54'::timestamp) - extract(epoch from '2026-07-09 15:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827086)'))) / (select extract(epoch from '2026-07-09 15:55:54'::timestamp) - extract(epoch from '2026-07-09 15:54: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'), 47642, 'SRID=4674;POINT (-40.579048 -2.827075)', '2026-07-09 15:56:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827075)'))) / (select extract(epoch from '2026-07-09 15:56:56'::timestamp) - extract(epoch from '2026-07-09 15:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827075)'))) / (select extract(epoch from '2026-07-09 15:56:56'::timestamp) - extract(epoch from '2026-07-09 15:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579025 -2.827077)', '2026-07-09 15:58:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827077)'))) / (select extract(epoch from '2026-07-09 15:58:44'::timestamp) - extract(epoch from '2026-07-09 15:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827077)'))) / (select extract(epoch from '2026-07-09 15:58:44'::timestamp) - extract(epoch from '2026-07-09 15:56: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'), 47642, 'SRID=4674;POINT (-40.579033 -2.827068)', '2026-07-09 15:58:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827068)'))) / (select extract(epoch from '2026-07-09 15:58:52'::timestamp) - extract(epoch from '2026-07-09 15:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827068)'))) / (select extract(epoch from '2026-07-09 15:58:52'::timestamp) - extract(epoch from '2026-07-09 15:58: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'), 47642, 'SRID=4674;POINT (-40.579035 -2.82707)', '2026-07-09 15:59:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.82707)'))) / (select extract(epoch from '2026-07-09 15:59:29'::timestamp) - extract(epoch from '2026-07-09 15:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.82707)'))) / (select extract(epoch from '2026-07-09 15:59:29'::timestamp) - extract(epoch from '2026-07-09 15:58: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'), 47642, 'SRID=4674;POINT (-40.579036 -2.82707)', '2026-07-09 16:01:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.82707)'))) / (select extract(epoch from '2026-07-09 16:01:24'::timestamp) - extract(epoch from '2026-07-09 15:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.82707)'))) / (select extract(epoch from '2026-07-09 16:01:24'::timestamp) - extract(epoch from '2026-07-09 15:59: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'), 47642, 'SRID=4674;POINT (-40.579046 -2.827066)', '2026-07-09 16:02:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827066)'))) / (select extract(epoch from '2026-07-09 16:02:19'::timestamp) - extract(epoch from '2026-07-09 16:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827066)'))) / (select extract(epoch from '2026-07-09 16:02:19'::timestamp) - extract(epoch from '2026-07-09 16:01:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579038 -2.827071)', '2026-07-09 16:03:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:03:25'::timestamp) - extract(epoch from '2026-07-09 16:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:03:25'::timestamp) - extract(epoch from '2026-07-09 16:02: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'), 47642, 'SRID=4674;POINT (-40.579043 -2.827067)', '2026-07-09 16:03:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827067)'))) / (select extract(epoch from '2026-07-09 16:03:37'::timestamp) - extract(epoch from '2026-07-09 16:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827067)'))) / (select extract(epoch from '2026-07-09 16:03:37'::timestamp) - extract(epoch from '2026-07-09 16:03: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'), 47642, 'SRID=4674;POINT (-40.579058 -2.82707)', '2026-07-09 16:05:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82707)'))) / (select extract(epoch from '2026-07-09 16:05:29'::timestamp) - extract(epoch from '2026-07-09 16:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82707)'))) / (select extract(epoch from '2026-07-09 16:05:29'::timestamp) - extract(epoch from '2026-07-09 16:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579058 -2.827079)', '2026-07-09 16:06:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:06:06'::timestamp) - extract(epoch from '2026-07-09 16:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:06:06'::timestamp) - extract(epoch from '2026-07-09 16:05: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'), 47642, 'SRID=4674;POINT (-40.579046 -2.827091)', '2026-07-09 16:06:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827091)'))) / (select extract(epoch from '2026-07-09 16:06:33'::timestamp) - extract(epoch from '2026-07-09 16:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827091)'))) / (select extract(epoch from '2026-07-09 16:06:33'::timestamp) - extract(epoch from '2026-07-09 16:06: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'), 47642, 'SRID=4674;POINT (-40.579062 -2.827068)', '2026-07-09 16:07:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827068)'))) / (select extract(epoch from '2026-07-09 16:07:46'::timestamp) - extract(epoch from '2026-07-09 16:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827068)'))) / (select extract(epoch from '2026-07-09 16:07:46'::timestamp) - extract(epoch from '2026-07-09 16:06: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'), 47642, 'SRID=4674;POINT (-40.579042 -2.827082)', '2026-07-09 16:08:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827082)'))) / (select extract(epoch from '2026-07-09 16:08:30'::timestamp) - extract(epoch from '2026-07-09 16:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827082)'))) / (select extract(epoch from '2026-07-09 16:08:30'::timestamp) - extract(epoch from '2026-07-09 16:07: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'), 47642, 'SRID=4674;POINT (-40.579042 -2.82708)', '2026-07-09 16:09:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.82708)'))) / (select extract(epoch from '2026-07-09 16:09:26'::timestamp) - extract(epoch from '2026-07-09 16:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.82708)'))) / (select extract(epoch from '2026-07-09 16:09:26'::timestamp) - extract(epoch from '2026-07-09 16:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57905 -2.827087)', '2026-07-09 16:11:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827087)'))) / (select extract(epoch from '2026-07-09 16:11:06'::timestamp) - extract(epoch from '2026-07-09 16:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827087)'))) / (select extract(epoch from '2026-07-09 16:11:06'::timestamp) - extract(epoch from '2026-07-09 16:09: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'), 47642, 'SRID=4674;POINT (-40.579049 -2.82708)', '2026-07-09 16:12:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827087)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.82708)'))) / (select extract(epoch from '2026-07-09 16:12:48'::timestamp) - extract(epoch from '2026-07-09 16:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827087)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.82708)'))) / (select extract(epoch from '2026-07-09 16:12:48'::timestamp) - extract(epoch from '2026-07-09 16:11: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'), 47642, 'SRID=4674;POINT (-40.579044 -2.827082)', '2026-07-09 16:13:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827082)'))) / (select extract(epoch from '2026-07-09 16:13:50'::timestamp) - extract(epoch from '2026-07-09 16:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827082)'))) / (select extract(epoch from '2026-07-09 16:13:50'::timestamp) - extract(epoch from '2026-07-09 16:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579036 -2.827091)', '2026-07-09 16:15:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827091)'))) / (select extract(epoch from '2026-07-09 16:15:07'::timestamp) - extract(epoch from '2026-07-09 16:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827091)'))) / (select extract(epoch from '2026-07-09 16:15:07'::timestamp) - extract(epoch from '2026-07-09 16:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579033 -2.827089)', '2026-07-09 16:15:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827089)'))) / (select extract(epoch from '2026-07-09 16:15:11'::timestamp) - extract(epoch from '2026-07-09 16:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827089)'))) / (select extract(epoch from '2026-07-09 16:15:11'::timestamp) - extract(epoch from '2026-07-09 16:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579046 -2.827086)', '2026-07-09 16:15:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827086)'))) / (select extract(epoch from '2026-07-09 16:15:24'::timestamp) - extract(epoch from '2026-07-09 16:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827086)'))) / (select extract(epoch from '2026-07-09 16:15:24'::timestamp) - extract(epoch from '2026-07-09 16:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579049 -2.827078)', '2026-07-09 16:15:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827078)'))) / (select extract(epoch from '2026-07-09 16:15:37'::timestamp) - extract(epoch from '2026-07-09 16:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827078)'))) / (select extract(epoch from '2026-07-09 16:15:37'::timestamp) - extract(epoch from '2026-07-09 16: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'), 47642, 'SRID=4674;POINT (-40.579039 -2.827081)', '2026-07-09 16:16:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:16:04'::timestamp) - extract(epoch from '2026-07-09 16:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:16:04'::timestamp) - extract(epoch from '2026-07-09 16:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579041 -2.827079)', '2026-07-09 16:16:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:16:14'::timestamp) - extract(epoch from '2026-07-09 16:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:16:14'::timestamp) - extract(epoch from '2026-07-09 16: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'), 47642, 'SRID=4674;POINT (-40.579033 -2.827081)', '2026-07-09 16:16:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:16:24'::timestamp) - extract(epoch from '2026-07-09 16:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:16:24'::timestamp) - extract(epoch from '2026-07-09 16:16: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'), 47642, 'SRID=4674;POINT (-40.579031 -2.82708)', '2026-07-09 16:16:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.82708)'))) / (select extract(epoch from '2026-07-09 16:16:37'::timestamp) - extract(epoch from '2026-07-09 16:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.82708)'))) / (select extract(epoch from '2026-07-09 16:16:37'::timestamp) - extract(epoch from '2026-07-09 16:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579037 -2.827094)', '2026-07-09 16:16:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827094)'))) / (select extract(epoch from '2026-07-09 16:16:51'::timestamp) - extract(epoch from '2026-07-09 16:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827094)'))) / (select extract(epoch from '2026-07-09 16:16:51'::timestamp) - extract(epoch from '2026-07-09 16:16:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579031 -2.827094)', '2026-07-09 16:16:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827094)'))) / (select extract(epoch from '2026-07-09 16:16:58'::timestamp) - extract(epoch from '2026-07-09 16:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827094)'))) / (select extract(epoch from '2026-07-09 16:16:58'::timestamp) - extract(epoch from '2026-07-09 16:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579037 -2.827083)', '2026-07-09 16:17:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827083)'))) / (select extract(epoch from '2026-07-09 16:17:18'::timestamp) - extract(epoch from '2026-07-09 16:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827083)'))) / (select extract(epoch from '2026-07-09 16:17:18'::timestamp) - extract(epoch from '2026-07-09 16:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579045 -2.827082)', '2026-07-09 16:17:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827082)'))) / (select extract(epoch from '2026-07-09 16:17:58'::timestamp) - extract(epoch from '2026-07-09 16:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827082)'))) / (select extract(epoch from '2026-07-09 16:17:58'::timestamp) - extract(epoch from '2026-07-09 16:17:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579045 -2.827071)', '2026-07-09 16:18:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:18:14'::timestamp) - extract(epoch from '2026-07-09 16:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:18:14'::timestamp) - extract(epoch from '2026-07-09 16:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579048 -2.827097)', '2026-07-09 16:19:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827097)'))) / (select extract(epoch from '2026-07-09 16:19:39'::timestamp) - extract(epoch from '2026-07-09 16:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827097)'))) / (select extract(epoch from '2026-07-09 16:19:39'::timestamp) - extract(epoch from '2026-07-09 16: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'), 47642, 'SRID=4674;POINT (-40.579055 -2.827081)', '2026-07-09 16:21:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:21:04'::timestamp) - extract(epoch from '2026-07-09 16:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:21:04'::timestamp) - extract(epoch from '2026-07-09 16:19: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'), 47642, 'SRID=4674;POINT (-40.579049 -2.827099)', '2026-07-09 16:22:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827099)'))) / (select extract(epoch from '2026-07-09 16:22:09'::timestamp) - extract(epoch from '2026-07-09 16:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827099)'))) / (select extract(epoch from '2026-07-09 16:22:09'::timestamp) - extract(epoch from '2026-07-09 16: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'), 47642, 'SRID=4674;POINT (-40.579047 -2.827069)', '2026-07-09 16:24:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827099)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827069)'))) / (select extract(epoch from '2026-07-09 16:24:03'::timestamp) - extract(epoch from '2026-07-09 16:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827099)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827069)'))) / (select extract(epoch from '2026-07-09 16:24:03'::timestamp) - extract(epoch from '2026-07-09 16:22: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'), 47642, 'SRID=4674;POINT (-40.579066 -2.827062)', '2026-07-09 16:24:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827062)'))) / (select extract(epoch from '2026-07-09 16:24:20'::timestamp) - extract(epoch from '2026-07-09 16:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827062)'))) / (select extract(epoch from '2026-07-09 16:24:20'::timestamp) - extract(epoch from '2026-07-09 16:24:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579066 -2.82708)', '2026-07-09 16:24:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.82708)'))) / (select extract(epoch from '2026-07-09 16:24:28'::timestamp) - extract(epoch from '2026-07-09 16:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.82708)'))) / (select extract(epoch from '2026-07-09 16:24:28'::timestamp) - extract(epoch from '2026-07-09 16:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57908 -2.827075)', '2026-07-09 16:24:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.57908 -2.827075)'))) / (select extract(epoch from '2026-07-09 16:24:58'::timestamp) - extract(epoch from '2026-07-09 16:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579066 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.57908 -2.827075)'))) / (select extract(epoch from '2026-07-09 16:24:58'::timestamp) - extract(epoch from '2026-07-09 16:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579064 -2.827082)', '2026-07-09 16:25:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57908 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579064 -2.827082)'))) / (select extract(epoch from '2026-07-09 16:25:52'::timestamp) - extract(epoch from '2026-07-09 16:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57908 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579064 -2.827082)'))) / (select extract(epoch from '2026-07-09 16:25:52'::timestamp) - extract(epoch from '2026-07-09 16:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579054 -2.82708)', '2026-07-09 16:29:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579064 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.82708)'))) / (select extract(epoch from '2026-07-09 16:29:17'::timestamp) - extract(epoch from '2026-07-09 16:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579064 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.82708)'))) / (select extract(epoch from '2026-07-09 16:29:17'::timestamp) - extract(epoch from '2026-07-09 16: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'), 47642, 'SRID=4674;POINT (-40.579046 -2.827083)', '2026-07-09 16:30:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827083)'))) / (select extract(epoch from '2026-07-09 16:30:33'::timestamp) - extract(epoch from '2026-07-09 16:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827083)'))) / (select extract(epoch from '2026-07-09 16:30:33'::timestamp) - extract(epoch from '2026-07-09 16:29: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'), 47642, 'SRID=4674;POINT (-40.579039 -2.827079)', '2026-07-09 16:31:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:31:54'::timestamp) - extract(epoch from '2026-07-09 16:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:31:54'::timestamp) - extract(epoch from '2026-07-09 16:30: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'), 47642, 'SRID=4674;POINT (-40.579038 -2.827081)', '2026-07-09 16:32:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:32:30'::timestamp) - extract(epoch from '2026-07-09 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:32:30'::timestamp) - extract(epoch from '2026-07-09 16:31: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'), 47642, 'SRID=4674;POINT (-40.579049 -2.827083)', '2026-07-09 16:33:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827083)'))) / (select extract(epoch from '2026-07-09 16:33:04'::timestamp) - extract(epoch from '2026-07-09 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827083)'))) / (select extract(epoch from '2026-07-09 16:33:04'::timestamp) - extract(epoch from '2026-07-09 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579048 -2.827084)', '2026-07-09 16:33:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827084)'))) / (select extract(epoch from '2026-07-09 16:33:10'::timestamp) - extract(epoch from '2026-07-09 16:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827084)'))) / (select extract(epoch from '2026-07-09 16:33:10'::timestamp) - extract(epoch from '2026-07-09 16:33: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'), 47642, 'SRID=4674;POINT (-40.579036 -2.827092)', '2026-07-09 16:33:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827084)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827092)'))) / (select extract(epoch from '2026-07-09 16:33:21'::timestamp) - extract(epoch from '2026-07-09 16:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827084)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827092)'))) / (select extract(epoch from '2026-07-09 16:33:21'::timestamp) - extract(epoch from '2026-07-09 16:33: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'), 47642, 'SRID=4674;POINT (-40.579047 -2.827094)', '2026-07-09 16:35:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827094)'))) / (select extract(epoch from '2026-07-09 16:35:32'::timestamp) - extract(epoch from '2026-07-09 16:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827094)'))) / (select extract(epoch from '2026-07-09 16:35:32'::timestamp) - extract(epoch from '2026-07-09 16:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579054 -2.827087)', '2026-07-09 16:36:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827087)'))) / (select extract(epoch from '2026-07-09 16:36:36'::timestamp) - extract(epoch from '2026-07-09 16:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827087)'))) / (select extract(epoch from '2026-07-09 16:36:36'::timestamp) - extract(epoch from '2026-07-09 16:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579053 -2.827094)', '2026-07-09 16:37:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827087)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827094)'))) / (select extract(epoch from '2026-07-09 16:37:01'::timestamp) - extract(epoch from '2026-07-09 16:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827087)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827094)'))) / (select extract(epoch from '2026-07-09 16:37:01'::timestamp) - extract(epoch from '2026-07-09 16:36: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'), 47642, 'SRID=4674;POINT (-40.579042 -2.827093)', '2026-07-09 16:38:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827093)'))) / (select extract(epoch from '2026-07-09 16:38:19'::timestamp) - extract(epoch from '2026-07-09 16:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827093)'))) / (select extract(epoch from '2026-07-09 16:38:19'::timestamp) - extract(epoch from '2026-07-09 16:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579058 -2.827081)', '2026-07-09 16:38:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827093)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:38:48'::timestamp) - extract(epoch from '2026-07-09 16:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827093)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:38:48'::timestamp) - extract(epoch from '2026-07-09 16:38: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'), 47642, 'SRID=4674;POINT (-40.579055 -2.827064)', '2026-07-09 16:39:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827064)'))) / (select extract(epoch from '2026-07-09 16:39:15'::timestamp) - extract(epoch from '2026-07-09 16:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827064)'))) / (select extract(epoch from '2026-07-09 16:39:15'::timestamp) - extract(epoch from '2026-07-09 16:38: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'), 47642, 'SRID=4674;POINT (-40.579048 -2.827079)', '2026-07-09 16:40:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827064)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:40:23'::timestamp) - extract(epoch from '2026-07-09 16:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827064)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:40:23'::timestamp) - extract(epoch from '2026-07-09 16:39: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'), 47642, 'SRID=4674;POINT (-40.579057 -2.827071)', '2026-07-09 16:40:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:40:51'::timestamp) - extract(epoch from '2026-07-09 16:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:40:51'::timestamp) - extract(epoch from '2026-07-09 16:40: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'), 47642, 'SRID=4674;POINT (-40.57905 -2.827074)', '2026-07-09 16:40:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827074)'))) / (select extract(epoch from '2026-07-09 16:40:57'::timestamp) - extract(epoch from '2026-07-09 16:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827074)'))) / (select extract(epoch from '2026-07-09 16:40:57'::timestamp) - extract(epoch from '2026-07-09 16:40: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'), 47642, 'SRID=4674;POINT (-40.579043 -2.827079)', '2026-07-09 16:41:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:41:19'::timestamp) - extract(epoch from '2026-07-09 16:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:41:19'::timestamp) - extract(epoch from '2026-07-09 16:40: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'), 47642, 'SRID=4674;POINT (-40.579037 -2.827084)', '2026-07-09 16:42:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827084)'))) / (select extract(epoch from '2026-07-09 16:42:28'::timestamp) - extract(epoch from '2026-07-09 16:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827084)'))) / (select extract(epoch from '2026-07-09 16:42:28'::timestamp) - extract(epoch from '2026-07-09 16:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579052 -2.827079)', '2026-07-09 16:44:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827084)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:44:17'::timestamp) - extract(epoch from '2026-07-09 16:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827084)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:44:17'::timestamp) - extract(epoch from '2026-07-09 16: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'), 47642, 'SRID=4674;POINT (-40.579052 -2.827071)', '2026-07-09 16:45:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:45:31'::timestamp) - extract(epoch from '2026-07-09 16:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:45:31'::timestamp) - extract(epoch from '2026-07-09 16:44: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'), 47642, 'SRID=4674;POINT (-40.579038 -2.827071)', '2026-07-09 16:45:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:45:36'::timestamp) - extract(epoch from '2026-07-09 16:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:45:36'::timestamp) - extract(epoch from '2026-07-09 16: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'), 47642, 'SRID=4674;POINT (-40.579054 -2.827079)', '2026-07-09 16:46:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:46:57'::timestamp) - extract(epoch from '2026-07-09 16:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827079)'))) / (select extract(epoch from '2026-07-09 16:46:57'::timestamp) - extract(epoch from '2026-07-09 16:45:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579055 -2.827071)', '2026-07-09 16:47:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:47:05'::timestamp) - extract(epoch from '2026-07-09 16:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827071)'))) / (select extract(epoch from '2026-07-09 16:47:05'::timestamp) - extract(epoch from '2026-07-09 16: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'), 47642, 'SRID=4674;POINT (-40.57905 -2.827073)', '2026-07-09 16:48:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827073)'))) / (select extract(epoch from '2026-07-09 16:48:24'::timestamp) - extract(epoch from '2026-07-09 16:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827073)'))) / (select extract(epoch from '2026-07-09 16:48:24'::timestamp) - extract(epoch from '2026-07-09 16:47: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'), 47642, 'SRID=4674;POINT (-40.579048 -2.827077)', '2026-07-09 16:49:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827077)'))) / (select extract(epoch from '2026-07-09 16:49:08'::timestamp) - extract(epoch from '2026-07-09 16:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827077)'))) / (select extract(epoch from '2026-07-09 16:49:08'::timestamp) - extract(epoch from '2026-07-09 16:48: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'), 47642, 'SRID=4674;POINT (-40.57905 -2.827082)', '2026-07-09 16:49:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827082)'))) / (select extract(epoch from '2026-07-09 16:49:50'::timestamp) - extract(epoch from '2026-07-09 16:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827082)'))) / (select extract(epoch from '2026-07-09 16:49:50'::timestamp) - extract(epoch from '2026-07-09 16:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579054 -2.827065)', '2026-07-09 16:51:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827065)'))) / (select extract(epoch from '2026-07-09 16:51:20'::timestamp) - extract(epoch from '2026-07-09 16:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827065)'))) / (select extract(epoch from '2026-07-09 16:51:20'::timestamp) - extract(epoch from '2026-07-09 16:49: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'), 47642, 'SRID=4674;POINT (-40.579053 -2.827067)', '2026-07-09 16:51:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827067)'))) / (select extract(epoch from '2026-07-09 16:51:28'::timestamp) - extract(epoch from '2026-07-09 16:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579054 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827067)'))) / (select extract(epoch from '2026-07-09 16:51:28'::timestamp) - extract(epoch from '2026-07-09 16:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579057 -2.827064)', '2026-07-09 16:51:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827064)'))) / (select extract(epoch from '2026-07-09 16:51:37'::timestamp) - extract(epoch from '2026-07-09 16:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579053 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827064)'))) / (select extract(epoch from '2026-07-09 16:51:37'::timestamp) - extract(epoch from '2026-07-09 16:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579051 -2.827063)', '2026-07-09 16:51:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827064)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827063)'))) / (select extract(epoch from '2026-07-09 16:51:47'::timestamp) - extract(epoch from '2026-07-09 16:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827064)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827063)'))) / (select extract(epoch from '2026-07-09 16:51:47'::timestamp) - extract(epoch from '2026-07-09 16:51: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'), 47642, 'SRID=4674;POINT (-40.579046 -2.827076)', '2026-07-09 16:52:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827076)'))) / (select extract(epoch from '2026-07-09 16:52:34'::timestamp) - extract(epoch from '2026-07-09 16:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827076)'))) / (select extract(epoch from '2026-07-09 16:52:34'::timestamp) - extract(epoch from '2026-07-09 16:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579048 -2.827081)', '2026-07-09 16:52:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827076)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:52:50'::timestamp) - extract(epoch from '2026-07-09 16:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827076)'), GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827081)'))) / (select extract(epoch from '2026-07-09 16:52:50'::timestamp) - extract(epoch from '2026-07-09 16:52: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'), 47642, 'SRID=4674;POINT (-40.579045 -2.827089)', '2026-07-09 16:53:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827089)'))) / (select extract(epoch from '2026-07-09 16:53:21'::timestamp) - extract(epoch from '2026-07-09 16:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579048 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827089)'))) / (select extract(epoch from '2026-07-09 16:53:21'::timestamp) - extract(epoch from '2026-07-09 16:52: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'), 47642, 'SRID=4674;POINT (-40.579044 -2.827083)', '2026-07-09 16:54:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827083)'))) / (select extract(epoch from '2026-07-09 16:54:10'::timestamp) - extract(epoch from '2026-07-09 16:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827083)'))) / (select extract(epoch from '2026-07-09 16:54:10'::timestamp) - extract(epoch from '2026-07-09 16:53: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'), 47642, 'SRID=4674;POINT (-40.579038 -2.827078)', '2026-07-09 16:54:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827078)'))) / (select extract(epoch from '2026-07-09 16:54:44'::timestamp) - extract(epoch from '2026-07-09 16:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827078)'))) / (select extract(epoch from '2026-07-09 16:54:44'::timestamp) - extract(epoch from '2026-07-09 16:54: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'), 47642, 'SRID=4674;POINT (-40.57904 -2.827086)', '2026-07-09 16:56:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827086)'))) / (select extract(epoch from '2026-07-09 16:56:06'::timestamp) - extract(epoch from '2026-07-09 16:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827086)'))) / (select extract(epoch from '2026-07-09 16:56:06'::timestamp) - extract(epoch from '2026-07-09 16:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579032 -2.827086)', '2026-07-09 16:57:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827086)'))) / (select extract(epoch from '2026-07-09 16:57:18'::timestamp) - extract(epoch from '2026-07-09 16:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827086)'))) / (select extract(epoch from '2026-07-09 16:57:18'::timestamp) - extract(epoch from '2026-07-09 16:56: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'), 47642, 'SRID=4674;POINT (-40.579057 -2.827047)', '2026-07-09 17:00:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827047)'))) / (select extract(epoch from '2026-07-09 17:00:13'::timestamp) - extract(epoch from '2026-07-09 16:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827047)'))) / (select extract(epoch from '2026-07-09 17:00:13'::timestamp) - extract(epoch from '2026-07-09 16:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.579055 -2.827063)', '2026-07-09 17:00:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827047)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827063)'))) / (select extract(epoch from '2026-07-09 17:00:35'::timestamp) - extract(epoch from '2026-07-09 17:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579057 -2.827047)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827063)'))) / (select extract(epoch from '2026-07-09 17:00:35'::timestamp) - extract(epoch from '2026-07-09 17: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'), 47642, 'SRID=4674;POINT (-40.579037 -2.827079)', '2026-07-09 17:03:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827079)'))) / (select extract(epoch from '2026-07-09 17:03:15'::timestamp) - extract(epoch from '2026-07-09 17:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827079)'))) / (select extract(epoch from '2026-07-09 17:03:15'::timestamp) - extract(epoch from '2026-07-09 17:00: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'), 47642, 'SRID=4674;POINT (-40.579045 -2.827075)', '2026-07-09 17:07:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827075)'))) / (select extract(epoch from '2026-07-09 17:07:16'::timestamp) - extract(epoch from '2026-07-09 17:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827075)'))) / (select extract(epoch from '2026-07-09 17:07:16'::timestamp) - extract(epoch from '2026-07-09 17:03: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'), 47642, 'SRID=4674;POINT (-40.579039 -2.82707)', '2026-07-09 17:08:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82707)'))) / (select extract(epoch from '2026-07-09 17:08:03'::timestamp) - extract(epoch from '2026-07-09 17:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82707)'))) / (select extract(epoch from '2026-07-09 17:08:03'::timestamp) - extract(epoch from '2026-07-09 17:07: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'), 47642, 'SRID=4674;POINT (-40.579049 -2.827067)', '2026-07-09 17:09:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827067)'))) / (select extract(epoch from '2026-07-09 17:09:09'::timestamp) - extract(epoch from '2026-07-09 17:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827067)'))) / (select extract(epoch from '2026-07-09 17:09:09'::timestamp) - extract(epoch from '2026-07-09 17: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'), 47642, 'SRID=4674;POINT (-40.579052 -2.827054)', '2026-07-09 17:09:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827054)'))) / (select extract(epoch from '2026-07-09 17:09:28'::timestamp) - extract(epoch from '2026-07-09 17:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827067)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827054)'))) / (select extract(epoch from '2026-07-09 17:09:28'::timestamp) - extract(epoch from '2026-07-09 17:09: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'), 47642, 'SRID=4674;POINT (-40.579055 -2.827053)', '2026-07-09 17:09:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827054)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827053)'))) / (select extract(epoch from '2026-07-09 17:09:34'::timestamp) - extract(epoch from '2026-07-09 17:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827054)'), GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827053)'))) / (select extract(epoch from '2026-07-09 17:09:34'::timestamp) - extract(epoch from '2026-07-09 17:09:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.57905 -2.827057)', '2026-07-09 17:10:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827053)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827057)'))) / (select extract(epoch from '2026-07-09 17:10:26'::timestamp) - extract(epoch from '2026-07-09 17:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579055 -2.827053)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827057)'))) / (select extract(epoch from '2026-07-09 17:10:26'::timestamp) - extract(epoch from '2026-07-09 17:09: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'), 47642, 'SRID=4674;POINT (-40.57904 -2.827062)', '2026-07-09 17:10:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827062)'))) / (select extract(epoch from '2026-07-09 17:10:52'::timestamp) - extract(epoch from '2026-07-09 17:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827062)'))) / (select extract(epoch from '2026-07-09 17:10:52'::timestamp) - extract(epoch from '2026-07-09 17:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
