 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.649827 -4.075234)', '2026-07-22 18:06:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649985 -4.075216)'), GeomFromEWKT('SRID=4674;POINT (-37.649827 -4.075234)'))) / (select extract(epoch from '2026-07-22 18:06:59'::timestamp) - extract(epoch from '2026-07-22 18:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649985 -4.075216)'), GeomFromEWKT('SRID=4674;POINT (-37.649827 -4.075234)'))) / (select extract(epoch from '2026-07-22 18:06:59'::timestamp) - extract(epoch from '2026-07-22 18:06: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'), 47415, 'SRID=4674;POINT (-37.649656 -4.075265)', '2026-07-22 18:07:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649827 -4.075234)'), GeomFromEWKT('SRID=4674;POINT (-37.649656 -4.075265)'))) / (select extract(epoch from '2026-07-22 18:07:06'::timestamp) - extract(epoch from '2026-07-22 18:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649827 -4.075234)'), GeomFromEWKT('SRID=4674;POINT (-37.649656 -4.075265)'))) / (select extract(epoch from '2026-07-22 18:07:06'::timestamp) - extract(epoch from '2026-07-22 18:06: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'), 47415, 'SRID=4674;POINT (-37.649493 -4.075339)', '2026-07-22 18:07:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649656 -4.075265)'), GeomFromEWKT('SRID=4674;POINT (-37.649493 -4.075339)'))) / (select extract(epoch from '2026-07-22 18:07:13'::timestamp) - extract(epoch from '2026-07-22 18:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649656 -4.075265)'), GeomFromEWKT('SRID=4674;POINT (-37.649493 -4.075339)'))) / (select extract(epoch from '2026-07-22 18:07:13'::timestamp) - extract(epoch from '2026-07-22 18:07: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'), 47415, 'SRID=4674;POINT (-37.649398 -4.075387)', '2026-07-22 18:07:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649493 -4.075339)'), GeomFromEWKT('SRID=4674;POINT (-37.649398 -4.075387)'))) / (select extract(epoch from '2026-07-22 18:07:18'::timestamp) - extract(epoch from '2026-07-22 18:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649493 -4.075339)'), GeomFromEWKT('SRID=4674;POINT (-37.649398 -4.075387)'))) / (select extract(epoch from '2026-07-22 18:07:18'::timestamp) - extract(epoch from '2026-07-22 18:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.649242 -4.075425)', '2026-07-22 18:07:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649398 -4.075387)'), GeomFromEWKT('SRID=4674;POINT (-37.649242 -4.075425)'))) / (select extract(epoch from '2026-07-22 18:07:25'::timestamp) - extract(epoch from '2026-07-22 18:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649398 -4.075387)'), GeomFromEWKT('SRID=4674;POINT (-37.649242 -4.075425)'))) / (select extract(epoch from '2026-07-22 18:07:25'::timestamp) - extract(epoch from '2026-07-22 18:07: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'), 47415, 'SRID=4674;POINT (-37.649074 -4.075439)', '2026-07-22 18:07:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649242 -4.075425)'), GeomFromEWKT('SRID=4674;POINT (-37.649074 -4.075439)'))) / (select extract(epoch from '2026-07-22 18:07:32'::timestamp) - extract(epoch from '2026-07-22 18:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649242 -4.075425)'), GeomFromEWKT('SRID=4674;POINT (-37.649074 -4.075439)'))) / (select extract(epoch from '2026-07-22 18:07:32'::timestamp) - extract(epoch from '2026-07-22 18:07: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'), 47415, 'SRID=4674;POINT (-37.648911 -4.075482)', '2026-07-22 18:07:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649074 -4.075439)'), GeomFromEWKT('SRID=4674;POINT (-37.648911 -4.075482)'))) / (select extract(epoch from '2026-07-22 18:07:39'::timestamp) - extract(epoch from '2026-07-22 18:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.649074 -4.075439)'), GeomFromEWKT('SRID=4674;POINT (-37.648911 -4.075482)'))) / (select extract(epoch from '2026-07-22 18:07:39'::timestamp) - extract(epoch from '2026-07-22 18:07: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'), 47415, 'SRID=4674;POINT (-37.648755 -4.075597)', '2026-07-22 18:07:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648911 -4.075482)'), GeomFromEWKT('SRID=4674;POINT (-37.648755 -4.075597)'))) / (select extract(epoch from '2026-07-22 18:07:47'::timestamp) - extract(epoch from '2026-07-22 18:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648911 -4.075482)'), GeomFromEWKT('SRID=4674;POINT (-37.648755 -4.075597)'))) / (select extract(epoch from '2026-07-22 18:07:47'::timestamp) - extract(epoch from '2026-07-22 18:07: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'), 47415, 'SRID=4674;POINT (-37.648627 -4.075711)', '2026-07-22 18:07:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648755 -4.075597)'), GeomFromEWKT('SRID=4674;POINT (-37.648627 -4.075711)'))) / (select extract(epoch from '2026-07-22 18:07:54'::timestamp) - extract(epoch from '2026-07-22 18:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648755 -4.075597)'), GeomFromEWKT('SRID=4674;POINT (-37.648627 -4.075711)'))) / (select extract(epoch from '2026-07-22 18:07:54'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.64851 -4.075789)', '2026-07-22 18:08:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648627 -4.075711)'), GeomFromEWKT('SRID=4674;POINT (-37.64851 -4.075789)'))) / (select extract(epoch from '2026-07-22 18:08:00'::timestamp) - extract(epoch from '2026-07-22 18:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648627 -4.075711)'), GeomFromEWKT('SRID=4674;POINT (-37.64851 -4.075789)'))) / (select extract(epoch from '2026-07-22 18:08:00'::timestamp) - extract(epoch from '2026-07-22 18:07: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'), 47415, 'SRID=4674;POINT (-37.648379 -4.075826)', '2026-07-22 18:08:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64851 -4.075789)'), GeomFromEWKT('SRID=4674;POINT (-37.648379 -4.075826)'))) / (select extract(epoch from '2026-07-22 18:08:06'::timestamp) - extract(epoch from '2026-07-22 18:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64851 -4.075789)'), GeomFromEWKT('SRID=4674;POINT (-37.648379 -4.075826)'))) / (select extract(epoch from '2026-07-22 18:08:06'::timestamp) - extract(epoch from '2026-07-22 18:08: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'), 47415, 'SRID=4674;POINT (-37.648226 -4.075842)', '2026-07-22 18:08:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648379 -4.075826)'), GeomFromEWKT('SRID=4674;POINT (-37.648226 -4.075842)'))) / (select extract(epoch from '2026-07-22 18:08:13'::timestamp) - extract(epoch from '2026-07-22 18:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648379 -4.075826)'), GeomFromEWKT('SRID=4674;POINT (-37.648226 -4.075842)'))) / (select extract(epoch from '2026-07-22 18:08:13'::timestamp) - extract(epoch from '2026-07-22 18:08: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'), 47415, 'SRID=4674;POINT (-37.648087 -4.075878)', '2026-07-22 18:08:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648226 -4.075842)'), GeomFromEWKT('SRID=4674;POINT (-37.648087 -4.075878)'))) / (select extract(epoch from '2026-07-22 18:08:19'::timestamp) - extract(epoch from '2026-07-22 18:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648226 -4.075842)'), GeomFromEWKT('SRID=4674;POINT (-37.648087 -4.075878)'))) / (select extract(epoch from '2026-07-22 18:08:19'::timestamp) - extract(epoch from '2026-07-22 18:08: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'), 47415, 'SRID=4674;POINT (-37.647917 -4.07592)', '2026-07-22 18:08:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648087 -4.075878)'), GeomFromEWKT('SRID=4674;POINT (-37.647917 -4.07592)'))) / (select extract(epoch from '2026-07-22 18:08:26'::timestamp) - extract(epoch from '2026-07-22 18:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.648087 -4.075878)'), GeomFromEWKT('SRID=4674;POINT (-37.647917 -4.07592)'))) / (select extract(epoch from '2026-07-22 18:08:26'::timestamp) - extract(epoch from '2026-07-22 18:08: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'), 47415, 'SRID=4674;POINT (-37.647769 -4.075961)', '2026-07-22 18:08:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647917 -4.07592)'), GeomFromEWKT('SRID=4674;POINT (-37.647769 -4.075961)'))) / (select extract(epoch from '2026-07-22 18:08:32'::timestamp) - extract(epoch from '2026-07-22 18:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647917 -4.07592)'), GeomFromEWKT('SRID=4674;POINT (-37.647769 -4.075961)'))) / (select extract(epoch from '2026-07-22 18:08:32'::timestamp) - extract(epoch from '2026-07-22 18:08: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'), 47415, 'SRID=4674;POINT (-37.647652 -4.075991)', '2026-07-22 18:08:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647769 -4.075961)'), GeomFromEWKT('SRID=4674;POINT (-37.647652 -4.075991)'))) / (select extract(epoch from '2026-07-22 18:08:37'::timestamp) - extract(epoch from '2026-07-22 18:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647769 -4.075961)'), GeomFromEWKT('SRID=4674;POINT (-37.647652 -4.075991)'))) / (select extract(epoch from '2026-07-22 18:08:37'::timestamp) - extract(epoch from '2026-07-22 18:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.64752 -4.075986)', '2026-07-22 18:08:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647652 -4.075991)'), GeomFromEWKT('SRID=4674;POINT (-37.64752 -4.075986)'))) / (select extract(epoch from '2026-07-22 18:08:43'::timestamp) - extract(epoch from '2026-07-22 18:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647652 -4.075991)'), GeomFromEWKT('SRID=4674;POINT (-37.64752 -4.075986)'))) / (select extract(epoch from '2026-07-22 18:08:43'::timestamp) - extract(epoch from '2026-07-22 18:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.647378 -4.075959)', '2026-07-22 18:08:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64752 -4.075986)'), GeomFromEWKT('SRID=4674;POINT (-37.647378 -4.075959)'))) / (select extract(epoch from '2026-07-22 18:08:49'::timestamp) - extract(epoch from '2026-07-22 18:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64752 -4.075986)'), GeomFromEWKT('SRID=4674;POINT (-37.647378 -4.075959)'))) / (select extract(epoch from '2026-07-22 18:08:49'::timestamp) - extract(epoch from '2026-07-22 18:08: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'), 47415, 'SRID=4674;POINT (-37.647258 -4.075938)', '2026-07-22 18:08:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647378 -4.075959)'), GeomFromEWKT('SRID=4674;POINT (-37.647258 -4.075938)'))) / (select extract(epoch from '2026-07-22 18:08:54'::timestamp) - extract(epoch from '2026-07-22 18:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647378 -4.075959)'), GeomFromEWKT('SRID=4674;POINT (-37.647258 -4.075938)'))) / (select extract(epoch from '2026-07-22 18:08:54'::timestamp) - extract(epoch from '2026-07-22 18:08: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'), 47415, 'SRID=4674;POINT (-37.647112 -4.075913)', '2026-07-22 18:09:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647258 -4.075938)'), GeomFromEWKT('SRID=4674;POINT (-37.647112 -4.075913)'))) / (select extract(epoch from '2026-07-22 18:09:00'::timestamp) - extract(epoch from '2026-07-22 18:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647258 -4.075938)'), GeomFromEWKT('SRID=4674;POINT (-37.647112 -4.075913)'))) / (select extract(epoch from '2026-07-22 18:09:00'::timestamp) - extract(epoch from '2026-07-22 18:08: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'), 47415, 'SRID=4674;POINT (-37.64698 -4.07591)', '2026-07-22 18:09:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647112 -4.075913)'), GeomFromEWKT('SRID=4674;POINT (-37.64698 -4.07591)'))) / (select extract(epoch from '2026-07-22 18:09:06'::timestamp) - extract(epoch from '2026-07-22 18:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.647112 -4.075913)'), GeomFromEWKT('SRID=4674;POINT (-37.64698 -4.07591)'))) / (select extract(epoch from '2026-07-22 18:09:06'::timestamp) - extract(epoch from '2026-07-22 18:09: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'), 47415, 'SRID=4674;POINT (-37.646831 -4.075902)', '2026-07-22 18:09:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64698 -4.07591)'), GeomFromEWKT('SRID=4674;POINT (-37.646831 -4.075902)'))) / (select extract(epoch from '2026-07-22 18:09:13'::timestamp) - extract(epoch from '2026-07-22 18:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64698 -4.07591)'), GeomFromEWKT('SRID=4674;POINT (-37.646831 -4.075902)'))) / (select extract(epoch from '2026-07-22 18:09:13'::timestamp) - extract(epoch from '2026-07-22 18:09: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'), 47415, 'SRID=4674;POINT (-37.64669 -4.075892)', '2026-07-22 18:09:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.646831 -4.075902)'), GeomFromEWKT('SRID=4674;POINT (-37.64669 -4.075892)'))) / (select extract(epoch from '2026-07-22 18:09:19'::timestamp) - extract(epoch from '2026-07-22 18:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.646831 -4.075902)'), GeomFromEWKT('SRID=4674;POINT (-37.64669 -4.075892)'))) / (select extract(epoch from '2026-07-22 18:09:19'::timestamp) - extract(epoch from '2026-07-22 18:09:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.646526 -4.0759)', '2026-07-22 18:09:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64669 -4.075892)'), GeomFromEWKT('SRID=4674;POINT (-37.646526 -4.0759)'))) / (select extract(epoch from '2026-07-22 18:09:26'::timestamp) - extract(epoch from '2026-07-22 18:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64669 -4.075892)'), GeomFromEWKT('SRID=4674;POINT (-37.646526 -4.0759)'))) / (select extract(epoch from '2026-07-22 18:09:26'::timestamp) - extract(epoch from '2026-07-22 18:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.646374 -4.075948)', '2026-07-22 18:09:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.646526 -4.0759)'), GeomFromEWKT('SRID=4674;POINT (-37.646374 -4.075948)'))) / (select extract(epoch from '2026-07-22 18:09:33'::timestamp) - extract(epoch from '2026-07-22 18:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.646526 -4.0759)'), GeomFromEWKT('SRID=4674;POINT (-37.646374 -4.075948)'))) / (select extract(epoch from '2026-07-22 18:09:33'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.64627 -4.075997)', '2026-07-22 18:09:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.646374 -4.075948)'), GeomFromEWKT('SRID=4674;POINT (-37.64627 -4.075997)'))) / (select extract(epoch from '2026-07-22 18:09:38'::timestamp) - extract(epoch from '2026-07-22 18:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.646374 -4.075948)'), GeomFromEWKT('SRID=4674;POINT (-37.64627 -4.075997)'))) / (select extract(epoch from '2026-07-22 18:09:38'::timestamp) - extract(epoch from '2026-07-22 18:09: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'), 47415, 'SRID=4674;POINT (-37.646128 -4.076035)', '2026-07-22 18:09:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64627 -4.075997)'), GeomFromEWKT('SRID=4674;POINT (-37.646128 -4.076035)'))) / (select extract(epoch from '2026-07-22 18:09:44'::timestamp) - extract(epoch from '2026-07-22 18:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64627 -4.075997)'), GeomFromEWKT('SRID=4674;POINT (-37.646128 -4.076035)'))) / (select extract(epoch from '2026-07-22 18:09:44'::timestamp) - extract(epoch from '2026-07-22 18:09: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'), 47415, 'SRID=4674;POINT (-37.645999 -4.076053)', '2026-07-22 18:09:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.646128 -4.076035)'), GeomFromEWKT('SRID=4674;POINT (-37.645999 -4.076053)'))) / (select extract(epoch from '2026-07-22 18:09:49'::timestamp) - extract(epoch from '2026-07-22 18:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.646128 -4.076035)'), GeomFromEWKT('SRID=4674;POINT (-37.645999 -4.076053)'))) / (select extract(epoch from '2026-07-22 18:09:49'::timestamp) - extract(epoch from '2026-07-22 18:09: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'), 47415, 'SRID=4674;POINT (-37.645876 -4.07607)', '2026-07-22 18:09:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645999 -4.076053)'), GeomFromEWKT('SRID=4674;POINT (-37.645876 -4.07607)'))) / (select extract(epoch from '2026-07-22 18:09:54'::timestamp) - extract(epoch from '2026-07-22 18:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645999 -4.076053)'), GeomFromEWKT('SRID=4674;POINT (-37.645876 -4.07607)'))) / (select extract(epoch from '2026-07-22 18:09:54'::timestamp) - extract(epoch from '2026-07-22 18:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.64574 -4.076082)', '2026-07-22 18:10:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645876 -4.07607)'), GeomFromEWKT('SRID=4674;POINT (-37.64574 -4.076082)'))) / (select extract(epoch from '2026-07-22 18:10:00'::timestamp) - extract(epoch from '2026-07-22 18:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645876 -4.07607)'), GeomFromEWKT('SRID=4674;POINT (-37.64574 -4.076082)'))) / (select extract(epoch from '2026-07-22 18:10:00'::timestamp) - extract(epoch from '2026-07-22 18:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.64559 -4.076093)', '2026-07-22 18:10:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64574 -4.076082)'), GeomFromEWKT('SRID=4674;POINT (-37.64559 -4.076093)'))) / (select extract(epoch from '2026-07-22 18:10:06'::timestamp) - extract(epoch from '2026-07-22 18:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64574 -4.076082)'), GeomFromEWKT('SRID=4674;POINT (-37.64559 -4.076093)'))) / (select extract(epoch from '2026-07-22 18:10:06'::timestamp) - extract(epoch from '2026-07-22 18:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.645432 -4.076128)', '2026-07-22 18:10:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64559 -4.076093)'), GeomFromEWKT('SRID=4674;POINT (-37.645432 -4.076128)'))) / (select extract(epoch from '2026-07-22 18:10:13'::timestamp) - extract(epoch from '2026-07-22 18:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64559 -4.076093)'), GeomFromEWKT('SRID=4674;POINT (-37.645432 -4.076128)'))) / (select extract(epoch from '2026-07-22 18:10:13'::timestamp) - extract(epoch from '2026-07-22 18:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.645298 -4.076159)', '2026-07-22 18:10:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645432 -4.076128)'), GeomFromEWKT('SRID=4674;POINT (-37.645298 -4.076159)'))) / (select extract(epoch from '2026-07-22 18:10:19'::timestamp) - extract(epoch from '2026-07-22 18:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645432 -4.076128)'), GeomFromEWKT('SRID=4674;POINT (-37.645298 -4.076159)'))) / (select extract(epoch from '2026-07-22 18:10:19'::timestamp) - extract(epoch from '2026-07-22 18:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.645195 -4.076181)', '2026-07-22 18:10:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645298 -4.076159)'), GeomFromEWKT('SRID=4674;POINT (-37.645195 -4.076181)'))) / (select extract(epoch from '2026-07-22 18:10:24'::timestamp) - extract(epoch from '2026-07-22 18:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645298 -4.076159)'), GeomFromEWKT('SRID=4674;POINT (-37.645195 -4.076181)'))) / (select extract(epoch from '2026-07-22 18:10:24'::timestamp) - extract(epoch from '2026-07-22 18:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.645018 -4.076225)', '2026-07-22 18:10:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645195 -4.076181)'), GeomFromEWKT('SRID=4674;POINT (-37.645018 -4.076225)'))) / (select extract(epoch from '2026-07-22 18:10:32'::timestamp) - extract(epoch from '2026-07-22 18:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645195 -4.076181)'), GeomFromEWKT('SRID=4674;POINT (-37.645018 -4.076225)'))) / (select extract(epoch from '2026-07-22 18:10:32'::timestamp) - extract(epoch from '2026-07-22 18:10: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'), 47415, 'SRID=4674;POINT (-37.644867 -4.076246)', '2026-07-22 18:10:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645018 -4.076225)'), GeomFromEWKT('SRID=4674;POINT (-37.644867 -4.076246)'))) / (select extract(epoch from '2026-07-22 18:10:39'::timestamp) - extract(epoch from '2026-07-22 18:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.645018 -4.076225)'), GeomFromEWKT('SRID=4674;POINT (-37.644867 -4.076246)'))) / (select extract(epoch from '2026-07-22 18:10:39'::timestamp) - extract(epoch from '2026-07-22 18:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.644708 -4.076241)', '2026-07-22 18:10:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.644867 -4.076246)'), GeomFromEWKT('SRID=4674;POINT (-37.644708 -4.076241)'))) / (select extract(epoch from '2026-07-22 18:10:46'::timestamp) - extract(epoch from '2026-07-22 18:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.644867 -4.076246)'), GeomFromEWKT('SRID=4674;POINT (-37.644708 -4.076241)'))) / (select extract(epoch from '2026-07-22 18:10:46'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.64454 -4.076227)', '2026-07-22 18:10:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.644708 -4.076241)'), GeomFromEWKT('SRID=4674;POINT (-37.64454 -4.076227)'))) / (select extract(epoch from '2026-07-22 18:10:53'::timestamp) - extract(epoch from '2026-07-22 18:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.644708 -4.076241)'), GeomFromEWKT('SRID=4674;POINT (-37.64454 -4.076227)'))) / (select extract(epoch from '2026-07-22 18:10:53'::timestamp) - extract(epoch from '2026-07-22 18:10: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'), 47415, 'SRID=4674;POINT (-37.644399 -4.076224)', '2026-07-22 18:10:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64454 -4.076227)'), GeomFromEWKT('SRID=4674;POINT (-37.644399 -4.076224)'))) / (select extract(epoch from '2026-07-22 18:10:59'::timestamp) - extract(epoch from '2026-07-22 18:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64454 -4.076227)'), GeomFromEWKT('SRID=4674;POINT (-37.644399 -4.076224)'))) / (select extract(epoch from '2026-07-22 18:10:59'::timestamp) - extract(epoch from '2026-07-22 18:10: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'), 47415, 'SRID=4674;POINT (-37.644195 -4.076259)', '2026-07-22 18:11:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.644399 -4.076224)'), GeomFromEWKT('SRID=4674;POINT (-37.644195 -4.076259)'))) / (select extract(epoch from '2026-07-22 18:11:07'::timestamp) - extract(epoch from '2026-07-22 18:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.644399 -4.076224)'), GeomFromEWKT('SRID=4674;POINT (-37.644195 -4.076259)'))) / (select extract(epoch from '2026-07-22 18:11:07'::timestamp) - extract(epoch from '2026-07-22 18:10: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'), 47415, 'SRID=4674;POINT (-37.644032 -4.076296)', '2026-07-22 18:11:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.644195 -4.076259)'), GeomFromEWKT('SRID=4674;POINT (-37.644032 -4.076296)'))) / (select extract(epoch from '2026-07-22 18:11:14'::timestamp) - extract(epoch from '2026-07-22 18:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.644195 -4.076259)'), GeomFromEWKT('SRID=4674;POINT (-37.644032 -4.076296)'))) / (select extract(epoch from '2026-07-22 18:11:14'::timestamp) - extract(epoch from '2026-07-22 18:11: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'), 47415, 'SRID=4674;POINT (-37.643897 -4.07634)', '2026-07-22 18:11:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.644032 -4.076296)'), GeomFromEWKT('SRID=4674;POINT (-37.643897 -4.07634)'))) / (select extract(epoch from '2026-07-22 18:11:20'::timestamp) - extract(epoch from '2026-07-22 18:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.644032 -4.076296)'), GeomFromEWKT('SRID=4674;POINT (-37.643897 -4.07634)'))) / (select extract(epoch from '2026-07-22 18:11:20'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.643728 -4.076393)', '2026-07-22 18:11:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.643897 -4.07634)'), GeomFromEWKT('SRID=4674;POINT (-37.643728 -4.076393)'))) / (select extract(epoch from '2026-07-22 18:11:27'::timestamp) - extract(epoch from '2026-07-22 18:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.643897 -4.07634)'), GeomFromEWKT('SRID=4674;POINT (-37.643728 -4.076393)'))) / (select extract(epoch from '2026-07-22 18:11:27'::timestamp) - extract(epoch from '2026-07-22 18:11: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'), 47415, 'SRID=4674;POINT (-37.64356 -4.076446)', '2026-07-22 18:11:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.643728 -4.076393)'), GeomFromEWKT('SRID=4674;POINT (-37.64356 -4.076446)'))) / (select extract(epoch from '2026-07-22 18:11:34'::timestamp) - extract(epoch from '2026-07-22 18:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.643728 -4.076393)'), GeomFromEWKT('SRID=4674;POINT (-37.64356 -4.076446)'))) / (select extract(epoch from '2026-07-22 18:11:34'::timestamp) - extract(epoch from '2026-07-22 18:11: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'), 47415, 'SRID=4674;POINT (-37.643392 -4.076483)', '2026-07-22 18:11:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64356 -4.076446)'), GeomFromEWKT('SRID=4674;POINT (-37.643392 -4.076483)'))) / (select extract(epoch from '2026-07-22 18:11:41'::timestamp) - extract(epoch from '2026-07-22 18:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64356 -4.076446)'), GeomFromEWKT('SRID=4674;POINT (-37.643392 -4.076483)'))) / (select extract(epoch from '2026-07-22 18:11:41'::timestamp) - extract(epoch from '2026-07-22 18:11: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'), 47415, 'SRID=4674;POINT (-37.643236 -4.076507)', '2026-07-22 18:11:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.643392 -4.076483)'), GeomFromEWKT('SRID=4674;POINT (-37.643236 -4.076507)'))) / (select extract(epoch from '2026-07-22 18:11:47'::timestamp) - extract(epoch from '2026-07-22 18:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.643392 -4.076483)'), GeomFromEWKT('SRID=4674;POINT (-37.643236 -4.076507)'))) / (select extract(epoch from '2026-07-22 18:11:47'::timestamp) - extract(epoch from '2026-07-22 18:11: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'), 47415, 'SRID=4674;POINT (-37.64313 -4.076547)', '2026-07-22 18:11:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.643236 -4.076507)'), GeomFromEWKT('SRID=4674;POINT (-37.64313 -4.076547)'))) / (select extract(epoch from '2026-07-22 18:11:52'::timestamp) - extract(epoch from '2026-07-22 18:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.643236 -4.076507)'), GeomFromEWKT('SRID=4674;POINT (-37.64313 -4.076547)'))) / (select extract(epoch from '2026-07-22 18:11:52'::timestamp) - extract(epoch from '2026-07-22 18:11: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'), 47415, 'SRID=4674;POINT (-37.643021 -4.076628)', '2026-07-22 18:11:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64313 -4.076547)'), GeomFromEWKT('SRID=4674;POINT (-37.643021 -4.076628)'))) / (select extract(epoch from '2026-07-22 18:11:58'::timestamp) - extract(epoch from '2026-07-22 18:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64313 -4.076547)'), GeomFromEWKT('SRID=4674;POINT (-37.643021 -4.076628)'))) / (select extract(epoch from '2026-07-22 18:11:58'::timestamp) - extract(epoch from '2026-07-22 18:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.642864 -4.076749)', '2026-07-22 18:12:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.643021 -4.076628)'), GeomFromEWKT('SRID=4674;POINT (-37.642864 -4.076749)'))) / (select extract(epoch from '2026-07-22 18:12:06'::timestamp) - extract(epoch from '2026-07-22 18:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.643021 -4.076628)'), GeomFromEWKT('SRID=4674;POINT (-37.642864 -4.076749)'))) / (select extract(epoch from '2026-07-22 18:12:06'::timestamp) - extract(epoch from '2026-07-22 18:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.642736 -4.076845)', '2026-07-22 18:12:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642864 -4.076749)'), GeomFromEWKT('SRID=4674;POINT (-37.642736 -4.076845)'))) / (select extract(epoch from '2026-07-22 18:12:13'::timestamp) - extract(epoch from '2026-07-22 18:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642864 -4.076749)'), GeomFromEWKT('SRID=4674;POINT (-37.642736 -4.076845)'))) / (select extract(epoch from '2026-07-22 18:12:13'::timestamp) - extract(epoch from '2026-07-22 18:12: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'), 47415, 'SRID=4674;POINT (-37.642586 -4.076909)', '2026-07-22 18:12:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642736 -4.076845)'), GeomFromEWKT('SRID=4674;POINT (-37.642586 -4.076909)'))) / (select extract(epoch from '2026-07-22 18:12:20'::timestamp) - extract(epoch from '2026-07-22 18:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642736 -4.076845)'), GeomFromEWKT('SRID=4674;POINT (-37.642586 -4.076909)'))) / (select extract(epoch from '2026-07-22 18:12:20'::timestamp) - extract(epoch from '2026-07-22 18:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.64248 -4.07695)', '2026-07-22 18:12:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642586 -4.076909)'), GeomFromEWKT('SRID=4674;POINT (-37.64248 -4.07695)'))) / (select extract(epoch from '2026-07-22 18:12:25'::timestamp) - extract(epoch from '2026-07-22 18:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642586 -4.076909)'), GeomFromEWKT('SRID=4674;POINT (-37.64248 -4.07695)'))) / (select extract(epoch from '2026-07-22 18:12:25'::timestamp) - extract(epoch from '2026-07-22 18:12: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'), 47415, 'SRID=4674;POINT (-37.642361 -4.077006)', '2026-07-22 18:12:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64248 -4.07695)'), GeomFromEWKT('SRID=4674;POINT (-37.642361 -4.077006)'))) / (select extract(epoch from '2026-07-22 18:12:31'::timestamp) - extract(epoch from '2026-07-22 18:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64248 -4.07695)'), GeomFromEWKT('SRID=4674;POINT (-37.642361 -4.077006)'))) / (select extract(epoch from '2026-07-22 18:12:31'::timestamp) - extract(epoch from '2026-07-22 18:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.642244 -4.077066)', '2026-07-22 18:12:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642361 -4.077006)'), GeomFromEWKT('SRID=4674;POINT (-37.642244 -4.077066)'))) / (select extract(epoch from '2026-07-22 18:12:37'::timestamp) - extract(epoch from '2026-07-22 18:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642361 -4.077006)'), GeomFromEWKT('SRID=4674;POINT (-37.642244 -4.077066)'))) / (select extract(epoch from '2026-07-22 18:12:37'::timestamp) - extract(epoch from '2026-07-22 18:12: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'), 47415, 'SRID=4674;POINT (-37.642121 -4.077101)', '2026-07-22 18:12:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642244 -4.077066)'), GeomFromEWKT('SRID=4674;POINT (-37.642121 -4.077101)'))) / (select extract(epoch from '2026-07-22 18:12:42'::timestamp) - extract(epoch from '2026-07-22 18:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642244 -4.077066)'), GeomFromEWKT('SRID=4674;POINT (-37.642121 -4.077101)'))) / (select extract(epoch from '2026-07-22 18:12:42'::timestamp) - extract(epoch from '2026-07-22 18:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.642002 -4.077138)', '2026-07-22 18:12:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642121 -4.077101)'), GeomFromEWKT('SRID=4674;POINT (-37.642002 -4.077138)'))) / (select extract(epoch from '2026-07-22 18:12:47'::timestamp) - extract(epoch from '2026-07-22 18:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642121 -4.077101)'), GeomFromEWKT('SRID=4674;POINT (-37.642002 -4.077138)'))) / (select extract(epoch from '2026-07-22 18:12:47'::timestamp) - extract(epoch from '2026-07-22 18:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.64186 -4.077192)', '2026-07-22 18:12:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642002 -4.077138)'), GeomFromEWKT('SRID=4674;POINT (-37.64186 -4.077192)'))) / (select extract(epoch from '2026-07-22 18:12:54'::timestamp) - extract(epoch from '2026-07-22 18:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.642002 -4.077138)'), GeomFromEWKT('SRID=4674;POINT (-37.64186 -4.077192)'))) / (select extract(epoch from '2026-07-22 18:12:54'::timestamp) - extract(epoch from '2026-07-22 18:12: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'), 47415, 'SRID=4674;POINT (-37.641697 -4.077222)', '2026-07-22 18:13:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64186 -4.077192)'), GeomFromEWKT('SRID=4674;POINT (-37.641697 -4.077222)'))) / (select extract(epoch from '2026-07-22 18:13:01'::timestamp) - extract(epoch from '2026-07-22 18:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.64186 -4.077192)'), GeomFromEWKT('SRID=4674;POINT (-37.641697 -4.077222)'))) / (select extract(epoch from '2026-07-22 18:13:01'::timestamp) - extract(epoch from '2026-07-22 18:12: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'), 47415, 'SRID=4674;POINT (-37.641556 -4.077239)', '2026-07-22 18:13:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641697 -4.077222)'), GeomFromEWKT('SRID=4674;POINT (-37.641556 -4.077239)'))) / (select extract(epoch from '2026-07-22 18:13:07'::timestamp) - extract(epoch from '2026-07-22 18:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641697 -4.077222)'), GeomFromEWKT('SRID=4674;POINT (-37.641556 -4.077239)'))) / (select extract(epoch from '2026-07-22 18:13:07'::timestamp) - extract(epoch from '2026-07-22 18:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.641437 -4.077239)', '2026-07-22 18:13:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641556 -4.077239)'), GeomFromEWKT('SRID=4674;POINT (-37.641437 -4.077239)'))) / (select extract(epoch from '2026-07-22 18:13:12'::timestamp) - extract(epoch from '2026-07-22 18:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641556 -4.077239)'), GeomFromEWKT('SRID=4674;POINT (-37.641437 -4.077239)'))) / (select extract(epoch from '2026-07-22 18:13:12'::timestamp) - extract(epoch from '2026-07-22 18:13: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'), 47415, 'SRID=4674;POINT (-37.641317 -4.077259)', '2026-07-22 18:13:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641437 -4.077239)'), GeomFromEWKT('SRID=4674;POINT (-37.641317 -4.077259)'))) / (select extract(epoch from '2026-07-22 18:13:17'::timestamp) - extract(epoch from '2026-07-22 18:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641437 -4.077239)'), GeomFromEWKT('SRID=4674;POINT (-37.641317 -4.077259)'))) / (select extract(epoch from '2026-07-22 18:13:17'::timestamp) - extract(epoch from '2026-07-22 18:13: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'), 47415, 'SRID=4674;POINT (-37.641131 -4.077308)', '2026-07-22 18:13:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641317 -4.077259)'), GeomFromEWKT('SRID=4674;POINT (-37.641131 -4.077308)'))) / (select extract(epoch from '2026-07-22 18:13:25'::timestamp) - extract(epoch from '2026-07-22 18:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641317 -4.077259)'), GeomFromEWKT('SRID=4674;POINT (-37.641131 -4.077308)'))) / (select extract(epoch from '2026-07-22 18:13:25'::timestamp) - extract(epoch from '2026-07-22 18:13: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'), 47415, 'SRID=4674;POINT (-37.641 -4.077351)', '2026-07-22 18:13:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641131 -4.077308)'), GeomFromEWKT('SRID=4674;POINT (-37.641 -4.077351)'))) / (select extract(epoch from '2026-07-22 18:13:31'::timestamp) - extract(epoch from '2026-07-22 18:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641131 -4.077308)'), GeomFromEWKT('SRID=4674;POINT (-37.641 -4.077351)'))) / (select extract(epoch from '2026-07-22 18:13:31'::timestamp) - extract(epoch from '2026-07-22 18:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.640853 -4.077394)', '2026-07-22 18:13:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641 -4.077351)'), GeomFromEWKT('SRID=4674;POINT (-37.640853 -4.077394)'))) / (select extract(epoch from '2026-07-22 18:13:38'::timestamp) - extract(epoch from '2026-07-22 18:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.641 -4.077351)'), GeomFromEWKT('SRID=4674;POINT (-37.640853 -4.077394)'))) / (select extract(epoch from '2026-07-22 18:13:38'::timestamp) - extract(epoch from '2026-07-22 18:13:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.640704 -4.077428)', '2026-07-22 18:13:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640853 -4.077394)'), GeomFromEWKT('SRID=4674;POINT (-37.640704 -4.077428)'))) / (select extract(epoch from '2026-07-22 18:13:45'::timestamp) - extract(epoch from '2026-07-22 18:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640853 -4.077394)'), GeomFromEWKT('SRID=4674;POINT (-37.640704 -4.077428)'))) / (select extract(epoch from '2026-07-22 18:13:45'::timestamp) - extract(epoch from '2026-07-22 18:13: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'), 47415, 'SRID=4674;POINT (-37.640533 -4.077455)', '2026-07-22 18:13:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640704 -4.077428)'), GeomFromEWKT('SRID=4674;POINT (-37.640533 -4.077455)'))) / (select extract(epoch from '2026-07-22 18:13:52'::timestamp) - extract(epoch from '2026-07-22 18:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640704 -4.077428)'), GeomFromEWKT('SRID=4674;POINT (-37.640533 -4.077455)'))) / (select extract(epoch from '2026-07-22 18:13:52'::timestamp) - extract(epoch from '2026-07-22 18:13: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'), 47415, 'SRID=4674;POINT (-37.640392 -4.077481)', '2026-07-22 18:13:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640533 -4.077455)'), GeomFromEWKT('SRID=4674;POINT (-37.640392 -4.077481)'))) / (select extract(epoch from '2026-07-22 18:13:58'::timestamp) - extract(epoch from '2026-07-22 18:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640533 -4.077455)'), GeomFromEWKT('SRID=4674;POINT (-37.640392 -4.077481)'))) / (select extract(epoch from '2026-07-22 18:13:58'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.640198 -4.077518)', '2026-07-22 18:14:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640392 -4.077481)'), GeomFromEWKT('SRID=4674;POINT (-37.640198 -4.077518)'))) / (select extract(epoch from '2026-07-22 18:14:06'::timestamp) - extract(epoch from '2026-07-22 18:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640392 -4.077481)'), GeomFromEWKT('SRID=4674;POINT (-37.640198 -4.077518)'))) / (select extract(epoch from '2026-07-22 18:14:06'::timestamp) - extract(epoch from '2026-07-22 18:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.640058 -4.077557)', '2026-07-22 18:14:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640198 -4.077518)'), GeomFromEWKT('SRID=4674;POINT (-37.640058 -4.077557)'))) / (select extract(epoch from '2026-07-22 18:14:12'::timestamp) - extract(epoch from '2026-07-22 18:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640198 -4.077518)'), GeomFromEWKT('SRID=4674;POINT (-37.640058 -4.077557)'))) / (select extract(epoch from '2026-07-22 18:14:12'::timestamp) - extract(epoch from '2026-07-22 18:14: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'), 47415, 'SRID=4674;POINT (-37.639941 -4.07758)', '2026-07-22 18:14:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640058 -4.077557)'), GeomFromEWKT('SRID=4674;POINT (-37.639941 -4.07758)'))) / (select extract(epoch from '2026-07-22 18:14:17'::timestamp) - extract(epoch from '2026-07-22 18:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.640058 -4.077557)'), GeomFromEWKT('SRID=4674;POINT (-37.639941 -4.07758)'))) / (select extract(epoch from '2026-07-22 18:14:17'::timestamp) - extract(epoch from '2026-07-22 18:14: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'), 47415, 'SRID=4674;POINT (-37.639837 -4.077607)', '2026-07-22 18:14:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639941 -4.07758)'), GeomFromEWKT('SRID=4674;POINT (-37.639837 -4.077607)'))) / (select extract(epoch from '2026-07-22 18:14:22'::timestamp) - extract(epoch from '2026-07-22 18:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639941 -4.07758)'), GeomFromEWKT('SRID=4674;POINT (-37.639837 -4.077607)'))) / (select extract(epoch from '2026-07-22 18:14:22'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.639721 -4.077656)', '2026-07-22 18:14:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639837 -4.077607)'), GeomFromEWKT('SRID=4674;POINT (-37.639721 -4.077656)'))) / (select extract(epoch from '2026-07-22 18:14:28'::timestamp) - extract(epoch from '2026-07-22 18:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639837 -4.077607)'), GeomFromEWKT('SRID=4674;POINT (-37.639721 -4.077656)'))) / (select extract(epoch from '2026-07-22 18:14:28'::timestamp) - extract(epoch from '2026-07-22 18:14: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'), 47415, 'SRID=4674;POINT (-37.639574 -4.077747)', '2026-07-22 18:14:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639721 -4.077656)'), GeomFromEWKT('SRID=4674;POINT (-37.639574 -4.077747)'))) / (select extract(epoch from '2026-07-22 18:14:35'::timestamp) - extract(epoch from '2026-07-22 18:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639721 -4.077656)'), GeomFromEWKT('SRID=4674;POINT (-37.639574 -4.077747)'))) / (select extract(epoch from '2026-07-22 18:14:35'::timestamp) - extract(epoch from '2026-07-22 18:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.639421 -4.077858)', '2026-07-22 18:14:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639574 -4.077747)'), GeomFromEWKT('SRID=4674;POINT (-37.639421 -4.077858)'))) / (select extract(epoch from '2026-07-22 18:14:42'::timestamp) - extract(epoch from '2026-07-22 18:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639574 -4.077747)'), GeomFromEWKT('SRID=4674;POINT (-37.639421 -4.077858)'))) / (select extract(epoch from '2026-07-22 18:14:42'::timestamp) - extract(epoch from '2026-07-22 18:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.639279 -4.077964)', '2026-07-22 18:14:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639421 -4.077858)'), GeomFromEWKT('SRID=4674;POINT (-37.639279 -4.077964)'))) / (select extract(epoch from '2026-07-22 18:14:49'::timestamp) - extract(epoch from '2026-07-22 18:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639421 -4.077858)'), GeomFromEWKT('SRID=4674;POINT (-37.639279 -4.077964)'))) / (select extract(epoch from '2026-07-22 18:14:49'::timestamp) - extract(epoch from '2026-07-22 18:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.639125 -4.078058)', '2026-07-22 18:14:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639279 -4.077964)'), GeomFromEWKT('SRID=4674;POINT (-37.639125 -4.078058)'))) / (select extract(epoch from '2026-07-22 18:14:56'::timestamp) - extract(epoch from '2026-07-22 18:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639279 -4.077964)'), GeomFromEWKT('SRID=4674;POINT (-37.639125 -4.078058)'))) / (select extract(epoch from '2026-07-22 18:14:56'::timestamp) - extract(epoch from '2026-07-22 18:14: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'), 47415, 'SRID=4674;POINT (-37.638975 -4.07814)', '2026-07-22 18:15:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639125 -4.078058)'), GeomFromEWKT('SRID=4674;POINT (-37.638975 -4.07814)'))) / (select extract(epoch from '2026-07-22 18:15:03'::timestamp) - extract(epoch from '2026-07-22 18:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.639125 -4.078058)'), GeomFromEWKT('SRID=4674;POINT (-37.638975 -4.07814)'))) / (select extract(epoch from '2026-07-22 18:15:03'::timestamp) - extract(epoch from '2026-07-22 18:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.638869 -4.078186)', '2026-07-22 18:15:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638975 -4.07814)'), GeomFromEWKT('SRID=4674;POINT (-37.638869 -4.078186)'))) / (select extract(epoch from '2026-07-22 18:15:08'::timestamp) - extract(epoch from '2026-07-22 18:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638975 -4.07814)'), GeomFromEWKT('SRID=4674;POINT (-37.638869 -4.078186)'))) / (select extract(epoch from '2026-07-22 18:15:08'::timestamp) - extract(epoch from '2026-07-22 18:15:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.638732 -4.078227)', '2026-07-22 18:15:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638869 -4.078186)'), GeomFromEWKT('SRID=4674;POINT (-37.638732 -4.078227)'))) / (select extract(epoch from '2026-07-22 18:15:14'::timestamp) - extract(epoch from '2026-07-22 18:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638869 -4.078186)'), GeomFromEWKT('SRID=4674;POINT (-37.638732 -4.078227)'))) / (select extract(epoch from '2026-07-22 18:15:14'::timestamp) - extract(epoch from '2026-07-22 18:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.638588 -4.078262)', '2026-07-22 18:15:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638732 -4.078227)'), GeomFromEWKT('SRID=4674;POINT (-37.638588 -4.078262)'))) / (select extract(epoch from '2026-07-22 18:15:20'::timestamp) - extract(epoch from '2026-07-22 18:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638732 -4.078227)'), GeomFromEWKT('SRID=4674;POINT (-37.638588 -4.078262)'))) / (select extract(epoch from '2026-07-22 18:15:20'::timestamp) - extract(epoch from '2026-07-22 18:15: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'), 47415, 'SRID=4674;POINT (-37.638402 -4.078302)', '2026-07-22 18:15:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638588 -4.078262)'), GeomFromEWKT('SRID=4674;POINT (-37.638402 -4.078302)'))) / (select extract(epoch from '2026-07-22 18:15:28'::timestamp) - extract(epoch from '2026-07-22 18:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638588 -4.078262)'), GeomFromEWKT('SRID=4674;POINT (-37.638402 -4.078302)'))) / (select extract(epoch from '2026-07-22 18:15:28'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.638266 -4.078324)', '2026-07-22 18:15:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638402 -4.078302)'), GeomFromEWKT('SRID=4674;POINT (-37.638266 -4.078324)'))) / (select extract(epoch from '2026-07-22 18:15:34'::timestamp) - extract(epoch from '2026-07-22 18:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638402 -4.078302)'), GeomFromEWKT('SRID=4674;POINT (-37.638266 -4.078324)'))) / (select extract(epoch from '2026-07-22 18:15:34'::timestamp) - extract(epoch from '2026-07-22 18:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.638082 -4.078376)', '2026-07-22 18:15:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638266 -4.078324)'), GeomFromEWKT('SRID=4674;POINT (-37.638082 -4.078376)'))) / (select extract(epoch from '2026-07-22 18:15:42'::timestamp) - extract(epoch from '2026-07-22 18:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638266 -4.078324)'), GeomFromEWKT('SRID=4674;POINT (-37.638082 -4.078376)'))) / (select extract(epoch from '2026-07-22 18:15:42'::timestamp) - extract(epoch from '2026-07-22 18:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.637951 -4.078431)', '2026-07-22 18:15:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638082 -4.078376)'), GeomFromEWKT('SRID=4674;POINT (-37.637951 -4.078431)'))) / (select extract(epoch from '2026-07-22 18:15:48'::timestamp) - extract(epoch from '2026-07-22 18:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.638082 -4.078376)'), GeomFromEWKT('SRID=4674;POINT (-37.637951 -4.078431)'))) / (select extract(epoch from '2026-07-22 18:15:48'::timestamp) - extract(epoch from '2026-07-22 18:15: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'), 47415, 'SRID=4674;POINT (-37.637828 -4.078476)', '2026-07-22 18:15:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.637951 -4.078431)'), GeomFromEWKT('SRID=4674;POINT (-37.637828 -4.078476)'))) / (select extract(epoch from '2026-07-22 18:15:53'::timestamp) - extract(epoch from '2026-07-22 18:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.637951 -4.078431)'), GeomFromEWKT('SRID=4674;POINT (-37.637828 -4.078476)'))) / (select extract(epoch from '2026-07-22 18:15:53'::timestamp) - extract(epoch from '2026-07-22 18:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.637608 -4.078525)', '2026-07-22 18:16:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.637828 -4.078476)'), GeomFromEWKT('SRID=4674;POINT (-37.637608 -4.078525)'))) / (select extract(epoch from '2026-07-22 18:16:02'::timestamp) - extract(epoch from '2026-07-22 18:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.637828 -4.078476)'), GeomFromEWKT('SRID=4674;POINT (-37.637608 -4.078525)'))) / (select extract(epoch from '2026-07-22 18:16:02'::timestamp) - extract(epoch from '2026-07-22 18:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.637418 -4.078533)', '2026-07-22 18:16:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.637608 -4.078525)'), GeomFromEWKT('SRID=4674;POINT (-37.637418 -4.078533)'))) / (select extract(epoch from '2026-07-22 18:16:10'::timestamp) - extract(epoch from '2026-07-22 18:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.637608 -4.078525)'), GeomFromEWKT('SRID=4674;POINT (-37.637418 -4.078533)'))) / (select extract(epoch from '2026-07-22 18:16:10'::timestamp) - extract(epoch from '2026-07-22 18:16:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.63725 -4.078534)', '2026-07-22 18:16:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.637418 -4.078533)'), GeomFromEWKT('SRID=4674;POINT (-37.63725 -4.078534)'))) / (select extract(epoch from '2026-07-22 18:16:17'::timestamp) - extract(epoch from '2026-07-22 18:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.637418 -4.078533)'), GeomFromEWKT('SRID=4674;POINT (-37.63725 -4.078534)'))) / (select extract(epoch from '2026-07-22 18:16:17'::timestamp) - extract(epoch from '2026-07-22 18:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.637107 -4.078551)', '2026-07-22 18:16:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63725 -4.078534)'), GeomFromEWKT('SRID=4674;POINT (-37.637107 -4.078551)'))) / (select extract(epoch from '2026-07-22 18:16:23'::timestamp) - extract(epoch from '2026-07-22 18:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63725 -4.078534)'), GeomFromEWKT('SRID=4674;POINT (-37.637107 -4.078551)'))) / (select extract(epoch from '2026-07-22 18:16:23'::timestamp) - extract(epoch from '2026-07-22 18:16: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'), 47415, 'SRID=4674;POINT (-37.636961 -4.078602)', '2026-07-22 18:16:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.637107 -4.078551)'), GeomFromEWKT('SRID=4674;POINT (-37.636961 -4.078602)'))) / (select extract(epoch from '2026-07-22 18:16:30'::timestamp) - extract(epoch from '2026-07-22 18:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.637107 -4.078551)'), GeomFromEWKT('SRID=4674;POINT (-37.636961 -4.078602)'))) / (select extract(epoch from '2026-07-22 18:16:30'::timestamp) - extract(epoch from '2026-07-22 18:16: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'), 47415, 'SRID=4674;POINT (-37.636825 -4.078649)', '2026-07-22 18:16:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636961 -4.078602)'), GeomFromEWKT('SRID=4674;POINT (-37.636825 -4.078649)'))) / (select extract(epoch from '2026-07-22 18:16:36'::timestamp) - extract(epoch from '2026-07-22 18:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636961 -4.078602)'), GeomFromEWKT('SRID=4674;POINT (-37.636825 -4.078649)'))) / (select extract(epoch from '2026-07-22 18:16:36'::timestamp) - extract(epoch from '2026-07-22 18:16: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'), 47415, 'SRID=4674;POINT (-37.636707 -4.078676)', '2026-07-22 18:16:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636825 -4.078649)'), GeomFromEWKT('SRID=4674;POINT (-37.636707 -4.078676)'))) / (select extract(epoch from '2026-07-22 18:16:41'::timestamp) - extract(epoch from '2026-07-22 18:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636825 -4.078649)'), GeomFromEWKT('SRID=4674;POINT (-37.636707 -4.078676)'))) / (select extract(epoch from '2026-07-22 18:16:41'::timestamp) - extract(epoch from '2026-07-22 18:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.636549 -4.078712)', '2026-07-22 18:16:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636707 -4.078676)'), GeomFromEWKT('SRID=4674;POINT (-37.636549 -4.078712)'))) / (select extract(epoch from '2026-07-22 18:16:48'::timestamp) - extract(epoch from '2026-07-22 18:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636707 -4.078676)'), GeomFromEWKT('SRID=4674;POINT (-37.636549 -4.078712)'))) / (select extract(epoch from '2026-07-22 18:16:48'::timestamp) - extract(epoch from '2026-07-22 18:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.636414 -4.078773)', '2026-07-22 18:16:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636549 -4.078712)'), GeomFromEWKT('SRID=4674;POINT (-37.636414 -4.078773)'))) / (select extract(epoch from '2026-07-22 18:16:54'::timestamp) - extract(epoch from '2026-07-22 18:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636549 -4.078712)'), GeomFromEWKT('SRID=4674;POINT (-37.636414 -4.078773)'))) / (select extract(epoch from '2026-07-22 18:16:54'::timestamp) - extract(epoch from '2026-07-22 18:16: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'), 47415, 'SRID=4674;POINT (-37.636276 -4.078833)', '2026-07-22 18:17:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636414 -4.078773)'), GeomFromEWKT('SRID=4674;POINT (-37.636276 -4.078833)'))) / (select extract(epoch from '2026-07-22 18:17:00'::timestamp) - extract(epoch from '2026-07-22 18:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636414 -4.078773)'), GeomFromEWKT('SRID=4674;POINT (-37.636276 -4.078833)'))) / (select extract(epoch from '2026-07-22 18:17:00'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.63616 -4.078852)', '2026-07-22 18:17:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636276 -4.078833)'), GeomFromEWKT('SRID=4674;POINT (-37.63616 -4.078852)'))) / (select extract(epoch from '2026-07-22 18:17:05'::timestamp) - extract(epoch from '2026-07-22 18:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636276 -4.078833)'), GeomFromEWKT('SRID=4674;POINT (-37.63616 -4.078852)'))) / (select extract(epoch from '2026-07-22 18:17:05'::timestamp) - extract(epoch from '2026-07-22 18:17: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'), 47415, 'SRID=4674;POINT (-37.636033 -4.078875)', '2026-07-22 18:17:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63616 -4.078852)'), GeomFromEWKT('SRID=4674;POINT (-37.636033 -4.078875)'))) / (select extract(epoch from '2026-07-22 18:17:11'::timestamp) - extract(epoch from '2026-07-22 18:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63616 -4.078852)'), GeomFromEWKT('SRID=4674;POINT (-37.636033 -4.078875)'))) / (select extract(epoch from '2026-07-22 18:17:11'::timestamp) - extract(epoch from '2026-07-22 18:17: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'), 47415, 'SRID=4674;POINT (-37.635887 -4.078936)', '2026-07-22 18:17:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636033 -4.078875)'), GeomFromEWKT('SRID=4674;POINT (-37.635887 -4.078936)'))) / (select extract(epoch from '2026-07-22 18:17:18'::timestamp) - extract(epoch from '2026-07-22 18:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.636033 -4.078875)'), GeomFromEWKT('SRID=4674;POINT (-37.635887 -4.078936)'))) / (select extract(epoch from '2026-07-22 18:17:18'::timestamp) - extract(epoch from '2026-07-22 18:17: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'), 47415, 'SRID=4674;POINT (-37.635745 -4.07902)', '2026-07-22 18:17:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635887 -4.078936)'), GeomFromEWKT('SRID=4674;POINT (-37.635745 -4.07902)'))) / (select extract(epoch from '2026-07-22 18:17:25'::timestamp) - extract(epoch from '2026-07-22 18:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635887 -4.078936)'), GeomFromEWKT('SRID=4674;POINT (-37.635745 -4.07902)'))) / (select extract(epoch from '2026-07-22 18:17:25'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.635607 -4.079064)', '2026-07-22 18:17:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635745 -4.07902)'), GeomFromEWKT('SRID=4674;POINT (-37.635607 -4.079064)'))) / (select extract(epoch from '2026-07-22 18:17:31'::timestamp) - extract(epoch from '2026-07-22 18:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635745 -4.07902)'), GeomFromEWKT('SRID=4674;POINT (-37.635607 -4.079064)'))) / (select extract(epoch from '2026-07-22 18:17:31'::timestamp) - extract(epoch from '2026-07-22 18:17:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.635435 -4.079098)', '2026-07-22 18:17:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635607 -4.079064)'), GeomFromEWKT('SRID=4674;POINT (-37.635435 -4.079098)'))) / (select extract(epoch from '2026-07-22 18:17:39'::timestamp) - extract(epoch from '2026-07-22 18:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635607 -4.079064)'), GeomFromEWKT('SRID=4674;POINT (-37.635435 -4.079098)'))) / (select extract(epoch from '2026-07-22 18:17:39'::timestamp) - extract(epoch from '2026-07-22 18:17: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'), 47415, 'SRID=4674;POINT (-37.635248 -4.079122)', '2026-07-22 18:17:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635435 -4.079098)'), GeomFromEWKT('SRID=4674;POINT (-37.635248 -4.079122)'))) / (select extract(epoch from '2026-07-22 18:17:47'::timestamp) - extract(epoch from '2026-07-22 18:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635435 -4.079098)'), GeomFromEWKT('SRID=4674;POINT (-37.635248 -4.079122)'))) / (select extract(epoch from '2026-07-22 18:17:47'::timestamp) - extract(epoch from '2026-07-22 18:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.635066 -4.07914)', '2026-07-22 18:17:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635248 -4.079122)'), GeomFromEWKT('SRID=4674;POINT (-37.635066 -4.07914)'))) / (select extract(epoch from '2026-07-22 18:17:55'::timestamp) - extract(epoch from '2026-07-22 18:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635248 -4.079122)'), GeomFromEWKT('SRID=4674;POINT (-37.635066 -4.07914)'))) / (select extract(epoch from '2026-07-22 18:17:55'::timestamp) - extract(epoch from '2026-07-22 18:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.634908 -4.079157)', '2026-07-22 18:18:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635066 -4.07914)'), GeomFromEWKT('SRID=4674;POINT (-37.634908 -4.079157)'))) / (select extract(epoch from '2026-07-22 18:18:02'::timestamp) - extract(epoch from '2026-07-22 18:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.635066 -4.07914)'), GeomFromEWKT('SRID=4674;POINT (-37.634908 -4.079157)'))) / (select extract(epoch from '2026-07-22 18:18:02'::timestamp) - extract(epoch from '2026-07-22 18:17: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'), 47415, 'SRID=4674;POINT (-37.634764 -4.079162)', '2026-07-22 18:18:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634908 -4.079157)'), GeomFromEWKT('SRID=4674;POINT (-37.634764 -4.079162)'))) / (select extract(epoch from '2026-07-22 18:18:08'::timestamp) - extract(epoch from '2026-07-22 18:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634908 -4.079157)'), GeomFromEWKT('SRID=4674;POINT (-37.634764 -4.079162)'))) / (select extract(epoch from '2026-07-22 18:18:08'::timestamp) - extract(epoch from '2026-07-22 18:18: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'), 47415, 'SRID=4674;POINT (-37.634593 -4.079184)', '2026-07-22 18:18:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634764 -4.079162)'), GeomFromEWKT('SRID=4674;POINT (-37.634593 -4.079184)'))) / (select extract(epoch from '2026-07-22 18:18:15'::timestamp) - extract(epoch from '2026-07-22 18:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634764 -4.079162)'), GeomFromEWKT('SRID=4674;POINT (-37.634593 -4.079184)'))) / (select extract(epoch from '2026-07-22 18:18:15'::timestamp) - extract(epoch from '2026-07-22 18:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.634455 -4.0792)', '2026-07-22 18:18:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634593 -4.079184)'), GeomFromEWKT('SRID=4674;POINT (-37.634455 -4.0792)'))) / (select extract(epoch from '2026-07-22 18:18:21'::timestamp) - extract(epoch from '2026-07-22 18:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634593 -4.079184)'), GeomFromEWKT('SRID=4674;POINT (-37.634455 -4.0792)'))) / (select extract(epoch from '2026-07-22 18:18:21'::timestamp) - extract(epoch from '2026-07-22 18:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.634317 -4.079185)', '2026-07-22 18:18:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634455 -4.0792)'), GeomFromEWKT('SRID=4674;POINT (-37.634317 -4.079185)'))) / (select extract(epoch from '2026-07-22 18:18:27'::timestamp) - extract(epoch from '2026-07-22 18:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634455 -4.0792)'), GeomFromEWKT('SRID=4674;POINT (-37.634317 -4.079185)'))) / (select extract(epoch from '2026-07-22 18:18:27'::timestamp) - extract(epoch from '2026-07-22 18:18: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'), 47415, 'SRID=4674;POINT (-37.634152 -4.079202)', '2026-07-22 18:18:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634317 -4.079185)'), GeomFromEWKT('SRID=4674;POINT (-37.634152 -4.079202)'))) / (select extract(epoch from '2026-07-22 18:18:34'::timestamp) - extract(epoch from '2026-07-22 18:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634317 -4.079185)'), GeomFromEWKT('SRID=4674;POINT (-37.634152 -4.079202)'))) / (select extract(epoch from '2026-07-22 18:18:34'::timestamp) - extract(epoch from '2026-07-22 18:18: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'), 47415, 'SRID=4674;POINT (-37.633968 -4.079234)', '2026-07-22 18:18:42', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634152 -4.079202)'), GeomFromEWKT('SRID=4674;POINT (-37.633968 -4.079234)'))) / (select extract(epoch from '2026-07-22 18:18:42'::timestamp) - extract(epoch from '2026-07-22 18:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.634152 -4.079202)'), GeomFromEWKT('SRID=4674;POINT (-37.633968 -4.079234)'))) / (select extract(epoch from '2026-07-22 18:18:42'::timestamp) - extract(epoch from '2026-07-22 18:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.633801 -4.079262)', '2026-07-22 18:18:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.633968 -4.079234)'), GeomFromEWKT('SRID=4674;POINT (-37.633801 -4.079262)'))) / (select extract(epoch from '2026-07-22 18:18:49'::timestamp) - extract(epoch from '2026-07-22 18:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.633968 -4.079234)'), GeomFromEWKT('SRID=4674;POINT (-37.633801 -4.079262)'))) / (select extract(epoch from '2026-07-22 18:18:49'::timestamp) - extract(epoch from '2026-07-22 18:18: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'), 47415, 'SRID=4674;POINT (-37.633652 -4.079273)', '2026-07-22 18:18:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.633801 -4.079262)'), GeomFromEWKT('SRID=4674;POINT (-37.633652 -4.079273)'))) / (select extract(epoch from '2026-07-22 18:18:56'::timestamp) - extract(epoch from '2026-07-22 18:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.633801 -4.079262)'), GeomFromEWKT('SRID=4674;POINT (-37.633652 -4.079273)'))) / (select extract(epoch from '2026-07-22 18:18:56'::timestamp) - extract(epoch from '2026-07-22 18:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.63354 -4.079289)', '2026-07-22 18:19:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.633652 -4.079273)'), GeomFromEWKT('SRID=4674;POINT (-37.63354 -4.079289)'))) / (select extract(epoch from '2026-07-22 18:19:02'::timestamp) - extract(epoch from '2026-07-22 18:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.633652 -4.079273)'), GeomFromEWKT('SRID=4674;POINT (-37.63354 -4.079289)'))) / (select extract(epoch from '2026-07-22 18:19:02'::timestamp) - extract(epoch from '2026-07-22 18:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.63339 -4.07932)', '2026-07-22 18:19:09', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63354 -4.079289)'), GeomFromEWKT('SRID=4674;POINT (-37.63339 -4.07932)'))) / (select extract(epoch from '2026-07-22 18:19:09'::timestamp) - extract(epoch from '2026-07-22 18:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63354 -4.079289)'), GeomFromEWKT('SRID=4674;POINT (-37.63339 -4.07932)'))) / (select extract(epoch from '2026-07-22 18:19:09'::timestamp) - extract(epoch from '2026-07-22 18:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.633229 -4.079364)', '2026-07-22 18:19:16', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63339 -4.07932)'), GeomFromEWKT('SRID=4674;POINT (-37.633229 -4.079364)'))) / (select extract(epoch from '2026-07-22 18:19:16'::timestamp) - extract(epoch from '2026-07-22 18:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63339 -4.07932)'), GeomFromEWKT('SRID=4674;POINT (-37.633229 -4.079364)'))) / (select extract(epoch from '2026-07-22 18:19:16'::timestamp) - extract(epoch from '2026-07-22 18:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.633067 -4.079426)', '2026-07-22 18:19:23', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.633229 -4.079364)'), GeomFromEWKT('SRID=4674;POINT (-37.633067 -4.079426)'))) / (select extract(epoch from '2026-07-22 18:19:23'::timestamp) - extract(epoch from '2026-07-22 18:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.633229 -4.079364)'), GeomFromEWKT('SRID=4674;POINT (-37.633067 -4.079426)'))) / (select extract(epoch from '2026-07-22 18:19:23'::timestamp) - extract(epoch from '2026-07-22 18:19: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'), 47415, 'SRID=4674;POINT (-37.632905 -4.07947)', '2026-07-22 18:19:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.633067 -4.079426)'), GeomFromEWKT('SRID=4674;POINT (-37.632905 -4.07947)'))) / (select extract(epoch from '2026-07-22 18:19:30'::timestamp) - extract(epoch from '2026-07-22 18:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.633067 -4.079426)'), GeomFromEWKT('SRID=4674;POINT (-37.632905 -4.07947)'))) / (select extract(epoch from '2026-07-22 18:19:30'::timestamp) - extract(epoch from '2026-07-22 18:19: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'), 47415, 'SRID=4674;POINT (-37.632735 -4.079518)', '2026-07-22 18:19:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632905 -4.07947)'), GeomFromEWKT('SRID=4674;POINT (-37.632735 -4.079518)'))) / (select extract(epoch from '2026-07-22 18:19:37'::timestamp) - extract(epoch from '2026-07-22 18:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632905 -4.07947)'), GeomFromEWKT('SRID=4674;POINT (-37.632735 -4.079518)'))) / (select extract(epoch from '2026-07-22 18:19:37'::timestamp) - extract(epoch from '2026-07-22 18:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.632559 -4.079576)', '2026-07-22 18:19:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632735 -4.079518)'), GeomFromEWKT('SRID=4674;POINT (-37.632559 -4.079576)'))) / (select extract(epoch from '2026-07-22 18:19:44'::timestamp) - extract(epoch from '2026-07-22 18:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632735 -4.079518)'), GeomFromEWKT('SRID=4674;POINT (-37.632559 -4.079576)'))) / (select extract(epoch from '2026-07-22 18:19:44'::timestamp) - extract(epoch from '2026-07-22 18:19: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'), 47415, 'SRID=4674;POINT (-37.632431 -4.079639)', '2026-07-22 18:19:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632559 -4.079576)'), GeomFromEWKT('SRID=4674;POINT (-37.632431 -4.079639)'))) / (select extract(epoch from '2026-07-22 18:19:50'::timestamp) - extract(epoch from '2026-07-22 18:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632559 -4.079576)'), GeomFromEWKT('SRID=4674;POINT (-37.632431 -4.079639)'))) / (select extract(epoch from '2026-07-22 18:19:50'::timestamp) - extract(epoch from '2026-07-22 18:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.632316 -4.079684)', '2026-07-22 18:19:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632431 -4.079639)'), GeomFromEWKT('SRID=4674;POINT (-37.632316 -4.079684)'))) / (select extract(epoch from '2026-07-22 18:19:55'::timestamp) - extract(epoch from '2026-07-22 18:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632431 -4.079639)'), GeomFromEWKT('SRID=4674;POINT (-37.632316 -4.079684)'))) / (select extract(epoch from '2026-07-22 18:19:55'::timestamp) - extract(epoch from '2026-07-22 18:19: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'), 47415, 'SRID=4674;POINT (-37.63221 -4.07972)', '2026-07-22 18:20:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632316 -4.079684)'), GeomFromEWKT('SRID=4674;POINT (-37.63221 -4.07972)'))) / (select extract(epoch from '2026-07-22 18:20:00'::timestamp) - extract(epoch from '2026-07-22 18:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632316 -4.079684)'), GeomFromEWKT('SRID=4674;POINT (-37.63221 -4.07972)'))) / (select extract(epoch from '2026-07-22 18:20:00'::timestamp) - extract(epoch from '2026-07-22 18:19: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'), 47415, 'SRID=4674;POINT (-37.632056 -4.079726)', '2026-07-22 18:20:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63221 -4.07972)'), GeomFromEWKT('SRID=4674;POINT (-37.632056 -4.079726)'))) / (select extract(epoch from '2026-07-22 18:20:07'::timestamp) - extract(epoch from '2026-07-22 18:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63221 -4.07972)'), GeomFromEWKT('SRID=4674;POINT (-37.632056 -4.079726)'))) / (select extract(epoch from '2026-07-22 18:20:07'::timestamp) - extract(epoch from '2026-07-22 18:20: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'), 47415, 'SRID=4674;POINT (-37.631916 -4.079742)', '2026-07-22 18:20:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632056 -4.079726)'), GeomFromEWKT('SRID=4674;POINT (-37.631916 -4.079742)'))) / (select extract(epoch from '2026-07-22 18:20:13'::timestamp) - extract(epoch from '2026-07-22 18:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.632056 -4.079726)'), GeomFromEWKT('SRID=4674;POINT (-37.631916 -4.079742)'))) / (select extract(epoch from '2026-07-22 18:20:13'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.631774 -4.079771)', '2026-07-22 18:20:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631916 -4.079742)'), GeomFromEWKT('SRID=4674;POINT (-37.631774 -4.079771)'))) / (select extract(epoch from '2026-07-22 18:20:20'::timestamp) - extract(epoch from '2026-07-22 18:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631916 -4.079742)'), GeomFromEWKT('SRID=4674;POINT (-37.631774 -4.079771)'))) / (select extract(epoch from '2026-07-22 18:20:20'::timestamp) - extract(epoch from '2026-07-22 18:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.63165 -4.0798)', '2026-07-22 18:20:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631774 -4.079771)'), GeomFromEWKT('SRID=4674;POINT (-37.63165 -4.0798)'))) / (select extract(epoch from '2026-07-22 18:20:26'::timestamp) - extract(epoch from '2026-07-22 18:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631774 -4.079771)'), GeomFromEWKT('SRID=4674;POINT (-37.63165 -4.0798)'))) / (select extract(epoch from '2026-07-22 18:20:26'::timestamp) - extract(epoch from '2026-07-22 18:20: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'), 47415, 'SRID=4674;POINT (-37.631541 -4.079832)', '2026-07-22 18:20:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63165 -4.0798)'), GeomFromEWKT('SRID=4674;POINT (-37.631541 -4.079832)'))) / (select extract(epoch from '2026-07-22 18:20:31'::timestamp) - extract(epoch from '2026-07-22 18:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.63165 -4.0798)'), GeomFromEWKT('SRID=4674;POINT (-37.631541 -4.079832)'))) / (select extract(epoch from '2026-07-22 18:20:31'::timestamp) - extract(epoch from '2026-07-22 18:20: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'), 47415, 'SRID=4674;POINT (-37.631402 -4.079857)', '2026-07-22 18:20:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631541 -4.079832)'), GeomFromEWKT('SRID=4674;POINT (-37.631402 -4.079857)'))) / (select extract(epoch from '2026-07-22 18:20:37'::timestamp) - extract(epoch from '2026-07-22 18:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631541 -4.079832)'), GeomFromEWKT('SRID=4674;POINT (-37.631402 -4.079857)'))) / (select extract(epoch from '2026-07-22 18:20:37'::timestamp) - extract(epoch from '2026-07-22 18:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.631261 -4.079884)', '2026-07-22 18:20:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631402 -4.079857)'), GeomFromEWKT('SRID=4674;POINT (-37.631261 -4.079884)'))) / (select extract(epoch from '2026-07-22 18:20:44'::timestamp) - extract(epoch from '2026-07-22 18:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631402 -4.079857)'), GeomFromEWKT('SRID=4674;POINT (-37.631261 -4.079884)'))) / (select extract(epoch from '2026-07-22 18:20:44'::timestamp) - extract(epoch from '2026-07-22 18:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.631118 -4.07989)', '2026-07-22 18:20:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631261 -4.079884)'), GeomFromEWKT('SRID=4674;POINT (-37.631118 -4.07989)'))) / (select extract(epoch from '2026-07-22 18:20:50'::timestamp) - extract(epoch from '2026-07-22 18:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631261 -4.079884)'), GeomFromEWKT('SRID=4674;POINT (-37.631118 -4.07989)'))) / (select extract(epoch from '2026-07-22 18:20:50'::timestamp) - extract(epoch from '2026-07-22 18:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.630985 -4.079888)', '2026-07-22 18:20:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631118 -4.07989)'), GeomFromEWKT('SRID=4674;POINT (-37.630985 -4.079888)'))) / (select extract(epoch from '2026-07-22 18:20:56'::timestamp) - extract(epoch from '2026-07-22 18:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.631118 -4.07989)'), GeomFromEWKT('SRID=4674;POINT (-37.630985 -4.079888)'))) / (select extract(epoch from '2026-07-22 18:20:56'::timestamp) - extract(epoch from '2026-07-22 18:20: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'), 47415, 'SRID=4674;POINT (-37.630842 -4.079889)', '2026-07-22 18:21:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630985 -4.079888)'), GeomFromEWKT('SRID=4674;POINT (-37.630842 -4.079889)'))) / (select extract(epoch from '2026-07-22 18:21:03'::timestamp) - extract(epoch from '2026-07-22 18:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630985 -4.079888)'), GeomFromEWKT('SRID=4674;POINT (-37.630842 -4.079889)'))) / (select extract(epoch from '2026-07-22 18:21:03'::timestamp) - extract(epoch from '2026-07-22 18:20: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'), 47415, 'SRID=4674;POINT (-37.630705 -4.079895)', '2026-07-22 18:21:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630842 -4.079889)'), GeomFromEWKT('SRID=4674;POINT (-37.630705 -4.079895)'))) / (select extract(epoch from '2026-07-22 18:21:09'::timestamp) - extract(epoch from '2026-07-22 18:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630842 -4.079889)'), GeomFromEWKT('SRID=4674;POINT (-37.630705 -4.079895)'))) / (select extract(epoch from '2026-07-22 18:21:09'::timestamp) - extract(epoch from '2026-07-22 18:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.630537 -4.079914)', '2026-07-22 18:21:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630705 -4.079895)'), GeomFromEWKT('SRID=4674;POINT (-37.630537 -4.079914)'))) / (select extract(epoch from '2026-07-22 18:21:16'::timestamp) - extract(epoch from '2026-07-22 18:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630705 -4.079895)'), GeomFromEWKT('SRID=4674;POINT (-37.630537 -4.079914)'))) / (select extract(epoch from '2026-07-22 18:21:16'::timestamp) - extract(epoch from '2026-07-22 18:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.630379 -4.079986)', '2026-07-22 18:21:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630537 -4.079914)'), GeomFromEWKT('SRID=4674;POINT (-37.630379 -4.079986)'))) / (select extract(epoch from '2026-07-22 18:21:23'::timestamp) - extract(epoch from '2026-07-22 18:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630537 -4.079914)'), GeomFromEWKT('SRID=4674;POINT (-37.630379 -4.079986)'))) / (select extract(epoch from '2026-07-22 18:21:23'::timestamp) - extract(epoch from '2026-07-22 18:21:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.630257 -4.080047)', '2026-07-22 18:21:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630379 -4.079986)'), GeomFromEWKT('SRID=4674;POINT (-37.630257 -4.080047)'))) / (select extract(epoch from '2026-07-22 18:21:29'::timestamp) - extract(epoch from '2026-07-22 18:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630379 -4.079986)'), GeomFromEWKT('SRID=4674;POINT (-37.630257 -4.080047)'))) / (select extract(epoch from '2026-07-22 18:21:29'::timestamp) - extract(epoch from '2026-07-22 18:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.630149 -4.080083)', '2026-07-22 18:21:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630257 -4.080047)'), GeomFromEWKT('SRID=4674;POINT (-37.630149 -4.080083)'))) / (select extract(epoch from '2026-07-22 18:21:34'::timestamp) - extract(epoch from '2026-07-22 18:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630257 -4.080047)'), GeomFromEWKT('SRID=4674;POINT (-37.630149 -4.080083)'))) / (select extract(epoch from '2026-07-22 18:21:34'::timestamp) - extract(epoch from '2026-07-22 18:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.630035 -4.080108)', '2026-07-22 18:21:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630149 -4.080083)'), GeomFromEWKT('SRID=4674;POINT (-37.630035 -4.080108)'))) / (select extract(epoch from '2026-07-22 18:21:39'::timestamp) - extract(epoch from '2026-07-22 18:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630149 -4.080083)'), GeomFromEWKT('SRID=4674;POINT (-37.630035 -4.080108)'))) / (select extract(epoch from '2026-07-22 18:21:39'::timestamp) - extract(epoch from '2026-07-22 18:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629894 -4.080134)', '2026-07-22 18:21:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630035 -4.080108)'), GeomFromEWKT('SRID=4674;POINT (-37.629894 -4.080134)'))) / (select extract(epoch from '2026-07-22 18:21:45'::timestamp) - extract(epoch from '2026-07-22 18:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.630035 -4.080108)'), GeomFromEWKT('SRID=4674;POINT (-37.629894 -4.080134)'))) / (select extract(epoch from '2026-07-22 18:21:45'::timestamp) - extract(epoch from '2026-07-22 18:21: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'), 47415, 'SRID=4674;POINT (-37.629732 -4.08019)', '2026-07-22 18:21:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629894 -4.080134)'), GeomFromEWKT('SRID=4674;POINT (-37.629732 -4.08019)'))) / (select extract(epoch from '2026-07-22 18:21:52'::timestamp) - extract(epoch from '2026-07-22 18:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629894 -4.080134)'), GeomFromEWKT('SRID=4674;POINT (-37.629732 -4.08019)'))) / (select extract(epoch from '2026-07-22 18:21:52'::timestamp) - extract(epoch from '2026-07-22 18:21:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629618 -4.080234)', '2026-07-22 18:21:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629732 -4.08019)'), GeomFromEWKT('SRID=4674;POINT (-37.629618 -4.080234)'))) / (select extract(epoch from '2026-07-22 18:21:57'::timestamp) - extract(epoch from '2026-07-22 18:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629732 -4.08019)'), GeomFromEWKT('SRID=4674;POINT (-37.629618 -4.080234)'))) / (select extract(epoch from '2026-07-22 18:21:57'::timestamp) - extract(epoch from '2026-07-22 18:21: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'), 47415, 'SRID=4674;POINT (-37.629446 -4.080267)', '2026-07-22 18:22:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629618 -4.080234)'), GeomFromEWKT('SRID=4674;POINT (-37.629446 -4.080267)'))) / (select extract(epoch from '2026-07-22 18:22:04'::timestamp) - extract(epoch from '2026-07-22 18:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629618 -4.080234)'), GeomFromEWKT('SRID=4674;POINT (-37.629446 -4.080267)'))) / (select extract(epoch from '2026-07-22 18:22:04'::timestamp) - extract(epoch from '2026-07-22 18:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629309 -4.080299)', '2026-07-22 18:22:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629446 -4.080267)'), GeomFromEWKT('SRID=4674;POINT (-37.629309 -4.080299)'))) / (select extract(epoch from '2026-07-22 18:22:10'::timestamp) - extract(epoch from '2026-07-22 18:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629446 -4.080267)'), GeomFromEWKT('SRID=4674;POINT (-37.629309 -4.080299)'))) / (select extract(epoch from '2026-07-22 18:22:10'::timestamp) - extract(epoch from '2026-07-22 18:22: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'), 47415, 'SRID=4674;POINT (-37.629155 -4.080338)', '2026-07-22 18:22:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629309 -4.080299)'), GeomFromEWKT('SRID=4674;POINT (-37.629155 -4.080338)'))) / (select extract(epoch from '2026-07-22 18:22:17'::timestamp) - extract(epoch from '2026-07-22 18:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629309 -4.080299)'), GeomFromEWKT('SRID=4674;POINT (-37.629155 -4.080338)'))) / (select extract(epoch from '2026-07-22 18:22:17'::timestamp) - extract(epoch from '2026-07-22 18:22: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'), 47415, 'SRID=4674;POINT (-37.629025 -4.080391)', '2026-07-22 18:22:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629155 -4.080338)'), GeomFromEWKT('SRID=4674;POINT (-37.629025 -4.080391)'))) / (select extract(epoch from '2026-07-22 18:22:23'::timestamp) - extract(epoch from '2026-07-22 18:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629155 -4.080338)'), GeomFromEWKT('SRID=4674;POINT (-37.629025 -4.080391)'))) / (select extract(epoch from '2026-07-22 18:22:23'::timestamp) - extract(epoch from '2026-07-22 18:22: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'), 47415, 'SRID=4674;POINT (-37.628859 -4.08045)', '2026-07-22 18:22:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629025 -4.080391)'), GeomFromEWKT('SRID=4674;POINT (-37.628859 -4.08045)'))) / (select extract(epoch from '2026-07-22 18:22:30'::timestamp) - extract(epoch from '2026-07-22 18:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629025 -4.080391)'), GeomFromEWKT('SRID=4674;POINT (-37.628859 -4.08045)'))) / (select extract(epoch from '2026-07-22 18:22:30'::timestamp) - extract(epoch from '2026-07-22 18:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.62865 -4.080489)', '2026-07-22 18:22:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628859 -4.08045)'), GeomFromEWKT('SRID=4674;POINT (-37.62865 -4.080489)'))) / (select extract(epoch from '2026-07-22 18:22:39'::timestamp) - extract(epoch from '2026-07-22 18:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628859 -4.08045)'), GeomFromEWKT('SRID=4674;POINT (-37.62865 -4.080489)'))) / (select extract(epoch from '2026-07-22 18:22:39'::timestamp) - extract(epoch from '2026-07-22 18:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628469 -4.080486)', '2026-07-22 18:22:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62865 -4.080489)'), GeomFromEWKT('SRID=4674;POINT (-37.628469 -4.080486)'))) / (select extract(epoch from '2026-07-22 18:22:47'::timestamp) - extract(epoch from '2026-07-22 18:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62865 -4.080489)'), GeomFromEWKT('SRID=4674;POINT (-37.628469 -4.080486)'))) / (select extract(epoch from '2026-07-22 18:22:47'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.628306 -4.0805)', '2026-07-22 18:22:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628469 -4.080486)'), GeomFromEWKT('SRID=4674;POINT (-37.628306 -4.0805)'))) / (select extract(epoch from '2026-07-22 18:22:54'::timestamp) - extract(epoch from '2026-07-22 18:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628469 -4.080486)'), GeomFromEWKT('SRID=4674;POINT (-37.628306 -4.0805)'))) / (select extract(epoch from '2026-07-22 18:22:54'::timestamp) - extract(epoch from '2026-07-22 18:22: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'), 47415, 'SRID=4674;POINT (-37.628141 -4.080566)', '2026-07-22 18:23:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628306 -4.0805)'), GeomFromEWKT('SRID=4674;POINT (-37.628141 -4.080566)'))) / (select extract(epoch from '2026-07-22 18:23:01'::timestamp) - extract(epoch from '2026-07-22 18:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628306 -4.0805)'), GeomFromEWKT('SRID=4674;POINT (-37.628141 -4.080566)'))) / (select extract(epoch from '2026-07-22 18:23:01'::timestamp) - extract(epoch from '2026-07-22 18:22:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.627984 -4.080646)', '2026-07-22 18:23:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628141 -4.080566)'), GeomFromEWKT('SRID=4674;POINT (-37.627984 -4.080646)'))) / (select extract(epoch from '2026-07-22 18:23:08'::timestamp) - extract(epoch from '2026-07-22 18:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628141 -4.080566)'), GeomFromEWKT('SRID=4674;POINT (-37.627984 -4.080646)'))) / (select extract(epoch from '2026-07-22 18:23:08'::timestamp) - extract(epoch from '2026-07-22 18:23: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'), 47415, 'SRID=4674;POINT (-37.627798 -4.080708)', '2026-07-22 18:23:15', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627984 -4.080646)'), GeomFromEWKT('SRID=4674;POINT (-37.627798 -4.080708)'))) / (select extract(epoch from '2026-07-22 18:23:15'::timestamp) - extract(epoch from '2026-07-22 18:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627984 -4.080646)'), GeomFromEWKT('SRID=4674;POINT (-37.627798 -4.080708)'))) / (select extract(epoch from '2026-07-22 18:23:15'::timestamp) - extract(epoch from '2026-07-22 18:23: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'), 47415, 'SRID=4674;POINT (-37.627629 -4.080765)', '2026-07-22 18:23:22', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627798 -4.080708)'), GeomFromEWKT('SRID=4674;POINT (-37.627629 -4.080765)'))) / (select extract(epoch from '2026-07-22 18:23:22'::timestamp) - extract(epoch from '2026-07-22 18:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627798 -4.080708)'), GeomFromEWKT('SRID=4674;POINT (-37.627629 -4.080765)'))) / (select extract(epoch from '2026-07-22 18:23:22'::timestamp) - extract(epoch from '2026-07-22 18:23: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'), 47415, 'SRID=4674;POINT (-37.627468 -4.080818)', '2026-07-22 18:23:29', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627629 -4.080765)'), GeomFromEWKT('SRID=4674;POINT (-37.627468 -4.080818)'))) / (select extract(epoch from '2026-07-22 18:23:29'::timestamp) - extract(epoch from '2026-07-22 18:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627629 -4.080765)'), GeomFromEWKT('SRID=4674;POINT (-37.627468 -4.080818)'))) / (select extract(epoch from '2026-07-22 18:23:29'::timestamp) - extract(epoch from '2026-07-22 18:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.627311 -4.080882)', '2026-07-22 18:23:36', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627468 -4.080818)'), GeomFromEWKT('SRID=4674;POINT (-37.627311 -4.080882)'))) / (select extract(epoch from '2026-07-22 18:23:36'::timestamp) - extract(epoch from '2026-07-22 18:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627468 -4.080818)'), GeomFromEWKT('SRID=4674;POINT (-37.627311 -4.080882)'))) / (select extract(epoch from '2026-07-22 18:23:36'::timestamp) - extract(epoch from '2026-07-22 18:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.627219 -4.080973)', '2026-07-22 18:23:42', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627311 -4.080882)'), GeomFromEWKT('SRID=4674;POINT (-37.627219 -4.080973)'))) / (select extract(epoch from '2026-07-22 18:23:42'::timestamp) - extract(epoch from '2026-07-22 18:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627311 -4.080882)'), GeomFromEWKT('SRID=4674;POINT (-37.627219 -4.080973)'))) / (select extract(epoch from '2026-07-22 18:23:42'::timestamp) - extract(epoch from '2026-07-22 18:23: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'), 47415, 'SRID=4674;POINT (-37.627158 -4.081097)', '2026-07-22 18:23:48', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627219 -4.080973)'), GeomFromEWKT('SRID=4674;POINT (-37.627158 -4.081097)'))) / (select extract(epoch from '2026-07-22 18:23:48'::timestamp) - extract(epoch from '2026-07-22 18:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627219 -4.080973)'), GeomFromEWKT('SRID=4674;POINT (-37.627158 -4.081097)'))) / (select extract(epoch from '2026-07-22 18:23:48'::timestamp) - extract(epoch from '2026-07-22 18:23: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'), 47415, 'SRID=4674;POINT (-37.62709 -4.081255)', '2026-07-22 18:23:55', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627158 -4.081097)'), GeomFromEWKT('SRID=4674;POINT (-37.62709 -4.081255)'))) / (select extract(epoch from '2026-07-22 18:23:55'::timestamp) - extract(epoch from '2026-07-22 18:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627158 -4.081097)'), GeomFromEWKT('SRID=4674;POINT (-37.62709 -4.081255)'))) / (select extract(epoch from '2026-07-22 18:23:55'::timestamp) - extract(epoch from '2026-07-22 18:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.626992 -4.081381)', '2026-07-22 18:24:02', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62709 -4.081255)'), GeomFromEWKT('SRID=4674;POINT (-37.626992 -4.081381)'))) / (select extract(epoch from '2026-07-22 18:24:02'::timestamp) - extract(epoch from '2026-07-22 18:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62709 -4.081255)'), GeomFromEWKT('SRID=4674;POINT (-37.626992 -4.081381)'))) / (select extract(epoch from '2026-07-22 18:24:02'::timestamp) - extract(epoch from '2026-07-22 18:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.626884 -4.081492)', '2026-07-22 18:24:10', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626992 -4.081381)'), GeomFromEWKT('SRID=4674;POINT (-37.626884 -4.081492)'))) / (select extract(epoch from '2026-07-22 18:24:10'::timestamp) - extract(epoch from '2026-07-22 18:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626992 -4.081381)'), GeomFromEWKT('SRID=4674;POINT (-37.626884 -4.081492)'))) / (select extract(epoch from '2026-07-22 18:24:10'::timestamp) - extract(epoch from '2026-07-22 18:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.626785 -4.081609)', '2026-07-22 18:24:18', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626884 -4.081492)'), GeomFromEWKT('SRID=4674;POINT (-37.626785 -4.081609)'))) / (select extract(epoch from '2026-07-22 18:24:18'::timestamp) - extract(epoch from '2026-07-22 18:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626884 -4.081492)'), GeomFromEWKT('SRID=4674;POINT (-37.626785 -4.081609)'))) / (select extract(epoch from '2026-07-22 18:24:18'::timestamp) - extract(epoch from '2026-07-22 18:24: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'), 47415, 'SRID=4674;POINT (-37.626684 -4.08169)', '2026-07-22 18:24:25', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626785 -4.081609)'), GeomFromEWKT('SRID=4674;POINT (-37.626684 -4.08169)'))) / (select extract(epoch from '2026-07-22 18:24:25'::timestamp) - extract(epoch from '2026-07-22 18:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626785 -4.081609)'), GeomFromEWKT('SRID=4674;POINT (-37.626684 -4.08169)'))) / (select extract(epoch from '2026-07-22 18:24:25'::timestamp) - extract(epoch from '2026-07-22 18:24:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.626567 -4.081737)', '2026-07-22 18:24:32', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626684 -4.08169)'), GeomFromEWKT('SRID=4674;POINT (-37.626567 -4.081737)'))) / (select extract(epoch from '2026-07-22 18:24:32'::timestamp) - extract(epoch from '2026-07-22 18:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626684 -4.08169)'), GeomFromEWKT('SRID=4674;POINT (-37.626567 -4.081737)'))) / (select extract(epoch from '2026-07-22 18:24:32'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.626455 -4.081747)', '2026-07-22 18:24:39', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626567 -4.081737)'), GeomFromEWKT('SRID=4674;POINT (-37.626455 -4.081747)'))) / (select extract(epoch from '2026-07-22 18:24:39'::timestamp) - extract(epoch from '2026-07-22 18:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626567 -4.081737)'), GeomFromEWKT('SRID=4674;POINT (-37.626455 -4.081747)'))) / (select extract(epoch from '2026-07-22 18:24:39'::timestamp) - extract(epoch from '2026-07-22 18:24: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'), 47415, 'SRID=4674;POINT (-37.626385 -4.081754)', '2026-07-22 18:24:46', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626455 -4.081747)'), GeomFromEWKT('SRID=4674;POINT (-37.626385 -4.081754)'))) / (select extract(epoch from '2026-07-22 18:24:46'::timestamp) - extract(epoch from '2026-07-22 18:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626455 -4.081747)'), GeomFromEWKT('SRID=4674;POINT (-37.626385 -4.081754)'))) / (select extract(epoch from '2026-07-22 18:24:46'::timestamp) - extract(epoch from '2026-07-22 18:24: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'), 47415, 'SRID=4674;POINT (-37.626326 -4.081758)', '2026-07-22 18:24:54', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626385 -4.081754)'), GeomFromEWKT('SRID=4674;POINT (-37.626326 -4.081758)'))) / (select extract(epoch from '2026-07-22 18:24:54'::timestamp) - extract(epoch from '2026-07-22 18:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626385 -4.081754)'), GeomFromEWKT('SRID=4674;POINT (-37.626326 -4.081758)'))) / (select extract(epoch from '2026-07-22 18:24:54'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.626254 -4.081721)', '2026-07-22 18:25:02', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626326 -4.081758)'), GeomFromEWKT('SRID=4674;POINT (-37.626254 -4.081721)'))) / (select extract(epoch from '2026-07-22 18:25:02'::timestamp) - extract(epoch from '2026-07-22 18:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626326 -4.081758)'), GeomFromEWKT('SRID=4674;POINT (-37.626254 -4.081721)'))) / (select extract(epoch from '2026-07-22 18:25:02'::timestamp) - extract(epoch from '2026-07-22 18:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.626248 -4.081707)', '2026-07-22 18:25:04', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626254 -4.081721)'), GeomFromEWKT('SRID=4674;POINT (-37.626248 -4.081707)'))) / (select extract(epoch from '2026-07-22 18:25:04'::timestamp) - extract(epoch from '2026-07-22 18:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626254 -4.081721)'), GeomFromEWKT('SRID=4674;POINT (-37.626248 -4.081707)'))) / (select extract(epoch from '2026-07-22 18:25:04'::timestamp) - extract(epoch from '2026-07-22 18:25: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'), 47415, 'SRID=4674;POINT (-37.626255 -4.081692)', '2026-07-22 18:25:07', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626248 -4.081707)'), GeomFromEWKT('SRID=4674;POINT (-37.626255 -4.081692)'))) / (select extract(epoch from '2026-07-22 18:25:07'::timestamp) - extract(epoch from '2026-07-22 18:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626248 -4.081707)'), GeomFromEWKT('SRID=4674;POINT (-37.626255 -4.081692)'))) / (select extract(epoch from '2026-07-22 18:25:07'::timestamp) - extract(epoch from '2026-07-22 18:25:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.62627 -4.081668)', '2026-07-22 18:25:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626255 -4.081692)'), GeomFromEWKT('SRID=4674;POINT (-37.62627 -4.081668)'))) / (select extract(epoch from '2026-07-22 18:25:14'::timestamp) - extract(epoch from '2026-07-22 18:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626255 -4.081692)'), GeomFromEWKT('SRID=4674;POINT (-37.62627 -4.081668)'))) / (select extract(epoch from '2026-07-22 18:25:14'::timestamp) - extract(epoch from '2026-07-22 18:25: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'), 47415, 'SRID=4674;POINT (-37.6263 -4.08164)', '2026-07-22 18:25:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62627 -4.081668)'), GeomFromEWKT('SRID=4674;POINT (-37.6263 -4.08164)'))) / (select extract(epoch from '2026-07-22 18:25:25'::timestamp) - extract(epoch from '2026-07-22 18:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62627 -4.081668)'), GeomFromEWKT('SRID=4674;POINT (-37.6263 -4.08164)'))) / (select extract(epoch from '2026-07-22 18:25:25'::timestamp) - extract(epoch from '2026-07-22 18:25: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'), 47415, 'SRID=4674;POINT (-37.626333 -4.081644)', '2026-07-22 18:25:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.6263 -4.08164)'), GeomFromEWKT('SRID=4674;POINT (-37.626333 -4.081644)'))) / (select extract(epoch from '2026-07-22 18:25:33'::timestamp) - extract(epoch from '2026-07-22 18:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.6263 -4.08164)'), GeomFromEWKT('SRID=4674;POINT (-37.626333 -4.081644)'))) / (select extract(epoch from '2026-07-22 18:25:33'::timestamp) - extract(epoch from '2026-07-22 18:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.626363 -4.081635)', '2026-07-22 18:25:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626333 -4.081644)'), GeomFromEWKT('SRID=4674;POINT (-37.626363 -4.081635)'))) / (select extract(epoch from '2026-07-22 18:25:41'::timestamp) - extract(epoch from '2026-07-22 18:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626333 -4.081644)'), GeomFromEWKT('SRID=4674;POINT (-37.626363 -4.081635)'))) / (select extract(epoch from '2026-07-22 18:25:41'::timestamp) - extract(epoch from '2026-07-22 18:25: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'), 47415, 'SRID=4674;POINT (-37.626451 -4.081659)', '2026-07-22 18:25:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626363 -4.081635)'), GeomFromEWKT('SRID=4674;POINT (-37.626451 -4.081659)'))) / (select extract(epoch from '2026-07-22 18:25:53'::timestamp) - extract(epoch from '2026-07-22 18:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626363 -4.081635)'), GeomFromEWKT('SRID=4674;POINT (-37.626451 -4.081659)'))) / (select extract(epoch from '2026-07-22 18:25:53'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.626481 -4.081663)', '2026-07-22 18:25:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626451 -4.081659)'), GeomFromEWKT('SRID=4674;POINT (-37.626481 -4.081663)'))) / (select extract(epoch from '2026-07-22 18:25:56'::timestamp) - extract(epoch from '2026-07-22 18:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626451 -4.081659)'), GeomFromEWKT('SRID=4674;POINT (-37.626481 -4.081663)'))) / (select extract(epoch from '2026-07-22 18:25:56'::timestamp) - extract(epoch from '2026-07-22 18:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.626495 -4.081671)', '2026-07-22 18:25:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626481 -4.081663)'), GeomFromEWKT('SRID=4674;POINT (-37.626495 -4.081671)'))) / (select extract(epoch from '2026-07-22 18:25:59'::timestamp) - extract(epoch from '2026-07-22 18:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626481 -4.081663)'), GeomFromEWKT('SRID=4674;POINT (-37.626495 -4.081671)'))) / (select extract(epoch from '2026-07-22 18:25:59'::timestamp) - extract(epoch from '2026-07-22 18:25: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'), 47415, 'SRID=4674;POINT (-37.626557 -4.081693)', '2026-07-22 18:26:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626495 -4.081671)'), GeomFromEWKT('SRID=4674;POINT (-37.626557 -4.081693)'))) / (select extract(epoch from '2026-07-22 18:26:07'::timestamp) - extract(epoch from '2026-07-22 18:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626495 -4.081671)'), GeomFromEWKT('SRID=4674;POINT (-37.626557 -4.081693)'))) / (select extract(epoch from '2026-07-22 18:26:07'::timestamp) - extract(epoch from '2026-07-22 18:25: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'), 47415, 'SRID=4674;POINT (-37.62662 -4.081713)', '2026-07-22 18:26:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626557 -4.081693)'), GeomFromEWKT('SRID=4674;POINT (-37.62662 -4.081713)'))) / (select extract(epoch from '2026-07-22 18:26:17'::timestamp) - extract(epoch from '2026-07-22 18:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626557 -4.081693)'), GeomFromEWKT('SRID=4674;POINT (-37.62662 -4.081713)'))) / (select extract(epoch from '2026-07-22 18:26:17'::timestamp) - extract(epoch from '2026-07-22 18:26: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'), 47415, 'SRID=4674;POINT (-37.626679 -4.081748)', '2026-07-22 18:26:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62662 -4.081713)'), GeomFromEWKT('SRID=4674;POINT (-37.626679 -4.081748)'))) / (select extract(epoch from '2026-07-22 18:26:28'::timestamp) - extract(epoch from '2026-07-22 18:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62662 -4.081713)'), GeomFromEWKT('SRID=4674;POINT (-37.626679 -4.081748)'))) / (select extract(epoch from '2026-07-22 18:26:28'::timestamp) - extract(epoch from '2026-07-22 18:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.626729 -4.081765)', '2026-07-22 18:26:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626679 -4.081748)'), GeomFromEWKT('SRID=4674;POINT (-37.626729 -4.081765)'))) / (select extract(epoch from '2026-07-22 18:26:37'::timestamp) - extract(epoch from '2026-07-22 18:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626679 -4.081748)'), GeomFromEWKT('SRID=4674;POINT (-37.626729 -4.081765)'))) / (select extract(epoch from '2026-07-22 18:26:37'::timestamp) - extract(epoch from '2026-07-22 18:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.62674 -4.081733)', '2026-07-22 18:26:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626729 -4.081765)'), GeomFromEWKT('SRID=4674;POINT (-37.62674 -4.081733)'))) / (select extract(epoch from '2026-07-22 18:26:46'::timestamp) - extract(epoch from '2026-07-22 18:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626729 -4.081765)'), GeomFromEWKT('SRID=4674;POINT (-37.62674 -4.081733)'))) / (select extract(epoch from '2026-07-22 18:26:46'::timestamp) - extract(epoch from '2026-07-22 18:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.626775 -4.081754)', '2026-07-22 18:26:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62674 -4.081733)'), GeomFromEWKT('SRID=4674;POINT (-37.626775 -4.081754)'))) / (select extract(epoch from '2026-07-22 18:26:54'::timestamp) - extract(epoch from '2026-07-22 18:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62674 -4.081733)'), GeomFromEWKT('SRID=4674;POINT (-37.626775 -4.081754)'))) / (select extract(epoch from '2026-07-22 18:26:54'::timestamp) - extract(epoch from '2026-07-22 18:26: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'), 47415, 'SRID=4674;POINT (-37.62683 -4.081775)', '2026-07-22 18:27:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626775 -4.081754)'), GeomFromEWKT('SRID=4674;POINT (-37.62683 -4.081775)'))) / (select extract(epoch from '2026-07-22 18:27:02'::timestamp) - extract(epoch from '2026-07-22 18:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626775 -4.081754)'), GeomFromEWKT('SRID=4674;POINT (-37.62683 -4.081775)'))) / (select extract(epoch from '2026-07-22 18:27:02'::timestamp) - extract(epoch from '2026-07-22 18:26: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'), 47415, 'SRID=4674;POINT (-37.626851 -4.081787)', '2026-07-22 18:27:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62683 -4.081775)'), GeomFromEWKT('SRID=4674;POINT (-37.626851 -4.081787)'))) / (select extract(epoch from '2026-07-22 18:27:10'::timestamp) - extract(epoch from '2026-07-22 18:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62683 -4.081775)'), GeomFromEWKT('SRID=4674;POINT (-37.626851 -4.081787)'))) / (select extract(epoch from '2026-07-22 18:27:10'::timestamp) - extract(epoch from '2026-07-22 18:27: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'), 47415, 'SRID=4674;POINT (-37.62694 -4.081835)', '2026-07-22 18:27:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626851 -4.081787)'), GeomFromEWKT('SRID=4674;POINT (-37.62694 -4.081835)'))) / (select extract(epoch from '2026-07-22 18:27:24'::timestamp) - extract(epoch from '2026-07-22 18:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.626851 -4.081787)'), GeomFromEWKT('SRID=4674;POINT (-37.62694 -4.081835)'))) / (select extract(epoch from '2026-07-22 18:27:24'::timestamp) - extract(epoch from '2026-07-22 18:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.627017 -4.081882)', '2026-07-22 18:27:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62694 -4.081835)'), GeomFromEWKT('SRID=4674;POINT (-37.627017 -4.081882)'))) / (select extract(epoch from '2026-07-22 18:27:34'::timestamp) - extract(epoch from '2026-07-22 18:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62694 -4.081835)'), GeomFromEWKT('SRID=4674;POINT (-37.627017 -4.081882)'))) / (select extract(epoch from '2026-07-22 18:27:34'::timestamp) - extract(epoch from '2026-07-22 18:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.627065 -4.081899)', '2026-07-22 18:27:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627017 -4.081882)'), GeomFromEWKT('SRID=4674;POINT (-37.627065 -4.081899)'))) / (select extract(epoch from '2026-07-22 18:27:42'::timestamp) - extract(epoch from '2026-07-22 18:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627017 -4.081882)'), GeomFromEWKT('SRID=4674;POINT (-37.627065 -4.081899)'))) / (select extract(epoch from '2026-07-22 18:27:42'::timestamp) - extract(epoch from '2026-07-22 18:27: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'), 47415, 'SRID=4674;POINT (-37.627115 -4.081934)', '2026-07-22 18:27:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627065 -4.081899)'), GeomFromEWKT('SRID=4674;POINT (-37.627115 -4.081934)'))) / (select extract(epoch from '2026-07-22 18:27:50'::timestamp) - extract(epoch from '2026-07-22 18:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627065 -4.081899)'), GeomFromEWKT('SRID=4674;POINT (-37.627115 -4.081934)'))) / (select extract(epoch from '2026-07-22 18:27:50'::timestamp) - extract(epoch from '2026-07-22 18:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.62716 -4.081968)', '2026-07-22 18:27:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627115 -4.081934)'), GeomFromEWKT('SRID=4674;POINT (-37.62716 -4.081968)'))) / (select extract(epoch from '2026-07-22 18:27:59'::timestamp) - extract(epoch from '2026-07-22 18:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627115 -4.081934)'), GeomFromEWKT('SRID=4674;POINT (-37.62716 -4.081968)'))) / (select extract(epoch from '2026-07-22 18:27:59'::timestamp) - extract(epoch from '2026-07-22 18:27: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'), 47415, 'SRID=4674;POINT (-37.627218 -4.081995)', '2026-07-22 18:28:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62716 -4.081968)'), GeomFromEWKT('SRID=4674;POINT (-37.627218 -4.081995)'))) / (select extract(epoch from '2026-07-22 18:28:09'::timestamp) - extract(epoch from '2026-07-22 18:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62716 -4.081968)'), GeomFromEWKT('SRID=4674;POINT (-37.627218 -4.081995)'))) / (select extract(epoch from '2026-07-22 18:28:09'::timestamp) - extract(epoch from '2026-07-22 18:27: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'), 47415, 'SRID=4674;POINT (-37.627281 -4.082042)', '2026-07-22 18:28:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627218 -4.081995)'), GeomFromEWKT('SRID=4674;POINT (-37.627281 -4.082042)'))) / (select extract(epoch from '2026-07-22 18:28:22'::timestamp) - extract(epoch from '2026-07-22 18:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627218 -4.081995)'), GeomFromEWKT('SRID=4674;POINT (-37.627281 -4.082042)'))) / (select extract(epoch from '2026-07-22 18:28:22'::timestamp) - extract(epoch from '2026-07-22 18:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.627334 -4.082081)', '2026-07-22 18:28:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627281 -4.082042)'), GeomFromEWKT('SRID=4674;POINT (-37.627334 -4.082081)'))) / (select extract(epoch from '2026-07-22 18:28:31'::timestamp) - extract(epoch from '2026-07-22 18:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627281 -4.082042)'), GeomFromEWKT('SRID=4674;POINT (-37.627334 -4.082081)'))) / (select extract(epoch from '2026-07-22 18:28:31'::timestamp) - extract(epoch from '2026-07-22 18:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.627399 -4.082095)', '2026-07-22 18:28:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627334 -4.082081)'), GeomFromEWKT('SRID=4674;POINT (-37.627399 -4.082095)'))) / (select extract(epoch from '2026-07-22 18:28:44'::timestamp) - extract(epoch from '2026-07-22 18:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627334 -4.082081)'), GeomFromEWKT('SRID=4674;POINT (-37.627399 -4.082095)'))) / (select extract(epoch from '2026-07-22 18:28:44'::timestamp) - extract(epoch from '2026-07-22 18:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.627459 -4.082118)', '2026-07-22 18:28:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627399 -4.082095)'), GeomFromEWKT('SRID=4674;POINT (-37.627459 -4.082118)'))) / (select extract(epoch from '2026-07-22 18:28:52'::timestamp) - extract(epoch from '2026-07-22 18:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627399 -4.082095)'), GeomFromEWKT('SRID=4674;POINT (-37.627459 -4.082118)'))) / (select extract(epoch from '2026-07-22 18:28:52'::timestamp) - extract(epoch from '2026-07-22 18:28:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.627509 -4.082138)', '2026-07-22 18:28:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627459 -4.082118)'), GeomFromEWKT('SRID=4674;POINT (-37.627509 -4.082138)'))) / (select extract(epoch from '2026-07-22 18:28:59'::timestamp) - extract(epoch from '2026-07-22 18:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627459 -4.082118)'), GeomFromEWKT('SRID=4674;POINT (-37.627509 -4.082138)'))) / (select extract(epoch from '2026-07-22 18:28:59'::timestamp) - extract(epoch from '2026-07-22 18:28: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'), 47415, 'SRID=4674;POINT (-37.627574 -4.082173)', '2026-07-22 18:29:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627509 -4.082138)'), GeomFromEWKT('SRID=4674;POINT (-37.627574 -4.082173)'))) / (select extract(epoch from '2026-07-22 18:29:12'::timestamp) - extract(epoch from '2026-07-22 18:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627509 -4.082138)'), GeomFromEWKT('SRID=4674;POINT (-37.627574 -4.082173)'))) / (select extract(epoch from '2026-07-22 18:29:12'::timestamp) - extract(epoch from '2026-07-22 18:28: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'), 47415, 'SRID=4674;POINT (-37.627627 -4.082201)', '2026-07-22 18:29:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627574 -4.082173)'), GeomFromEWKT('SRID=4674;POINT (-37.627627 -4.082201)'))) / (select extract(epoch from '2026-07-22 18:29:24'::timestamp) - extract(epoch from '2026-07-22 18:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627574 -4.082173)'), GeomFromEWKT('SRID=4674;POINT (-37.627627 -4.082201)'))) / (select extract(epoch from '2026-07-22 18:29:24'::timestamp) - extract(epoch from '2026-07-22 18:29: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'), 47415, 'SRID=4674;POINT (-37.627654 -4.082216)', '2026-07-22 18:29:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627627 -4.082201)'), GeomFromEWKT('SRID=4674;POINT (-37.627654 -4.082216)'))) / (select extract(epoch from '2026-07-22 18:29:32'::timestamp) - extract(epoch from '2026-07-22 18:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627627 -4.082201)'), GeomFromEWKT('SRID=4674;POINT (-37.627654 -4.082216)'))) / (select extract(epoch from '2026-07-22 18:29:32'::timestamp) - extract(epoch from '2026-07-22 18:29: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'), 47415, 'SRID=4674;POINT (-37.627699 -4.082244)', '2026-07-22 18:29:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627654 -4.082216)'), GeomFromEWKT('SRID=4674;POINT (-37.627699 -4.082244)'))) / (select extract(epoch from '2026-07-22 18:29:40'::timestamp) - extract(epoch from '2026-07-22 18:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627654 -4.082216)'), GeomFromEWKT('SRID=4674;POINT (-37.627699 -4.082244)'))) / (select extract(epoch from '2026-07-22 18:29:40'::timestamp) - extract(epoch from '2026-07-22 18:29: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'), 47415, 'SRID=4674;POINT (-37.627761 -4.082267)', '2026-07-22 18:29:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627699 -4.082244)'), GeomFromEWKT('SRID=4674;POINT (-37.627761 -4.082267)'))) / (select extract(epoch from '2026-07-22 18:29:50'::timestamp) - extract(epoch from '2026-07-22 18:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627699 -4.082244)'), GeomFromEWKT('SRID=4674;POINT (-37.627761 -4.082267)'))) / (select extract(epoch from '2026-07-22 18:29:50'::timestamp) - extract(epoch from '2026-07-22 18:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.627796 -4.082281)', '2026-07-22 18:29:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627761 -4.082267)'), GeomFromEWKT('SRID=4674;POINT (-37.627796 -4.082281)'))) / (select extract(epoch from '2026-07-22 18:29:57'::timestamp) - extract(epoch from '2026-07-22 18:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627761 -4.082267)'), GeomFromEWKT('SRID=4674;POINT (-37.627796 -4.082281)'))) / (select extract(epoch from '2026-07-22 18:29:57'::timestamp) - extract(epoch from '2026-07-22 18:29: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'), 47415, 'SRID=4674;POINT (-37.627853 -4.082311)', '2026-07-22 18:30:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627796 -4.082281)'), GeomFromEWKT('SRID=4674;POINT (-37.627853 -4.082311)'))) / (select extract(epoch from '2026-07-22 18:30:07'::timestamp) - extract(epoch from '2026-07-22 18:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627796 -4.082281)'), GeomFromEWKT('SRID=4674;POINT (-37.627853 -4.082311)'))) / (select extract(epoch from '2026-07-22 18:30:07'::timestamp) - extract(epoch from '2026-07-22 18:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.627909 -4.082322)', '2026-07-22 18:30:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627853 -4.082311)'), GeomFromEWKT('SRID=4674;POINT (-37.627909 -4.082322)'))) / (select extract(epoch from '2026-07-22 18:30:18'::timestamp) - extract(epoch from '2026-07-22 18:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627853 -4.082311)'), GeomFromEWKT('SRID=4674;POINT (-37.627909 -4.082322)'))) / (select extract(epoch from '2026-07-22 18:30:18'::timestamp) - extract(epoch from '2026-07-22 18:30: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'), 47415, 'SRID=4674;POINT (-37.627989 -4.082332)', '2026-07-22 18:30:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627909 -4.082322)'), GeomFromEWKT('SRID=4674;POINT (-37.627989 -4.082332)'))) / (select extract(epoch from '2026-07-22 18:30:34'::timestamp) - extract(epoch from '2026-07-22 18:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627909 -4.082322)'), GeomFromEWKT('SRID=4674;POINT (-37.627989 -4.082332)'))) / (select extract(epoch from '2026-07-22 18:30:34'::timestamp) - extract(epoch from '2026-07-22 18:30: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'), 47415, 'SRID=4674;POINT (-37.628052 -4.082354)', '2026-07-22 18:30:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627989 -4.082332)'), GeomFromEWKT('SRID=4674;POINT (-37.628052 -4.082354)'))) / (select extract(epoch from '2026-07-22 18:30:44'::timestamp) - extract(epoch from '2026-07-22 18:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.627989 -4.082332)'), GeomFromEWKT('SRID=4674;POINT (-37.628052 -4.082354)'))) / (select extract(epoch from '2026-07-22 18:30:44'::timestamp) - extract(epoch from '2026-07-22 18:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628106 -4.082373)', '2026-07-22 18:30:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628052 -4.082354)'), GeomFromEWKT('SRID=4674;POINT (-37.628106 -4.082373)'))) / (select extract(epoch from '2026-07-22 18:30:53'::timestamp) - extract(epoch from '2026-07-22 18:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628052 -4.082354)'), GeomFromEWKT('SRID=4674;POINT (-37.628106 -4.082373)'))) / (select extract(epoch from '2026-07-22 18:30:53'::timestamp) - extract(epoch from '2026-07-22 18:30: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'), 47415, 'SRID=4674;POINT (-37.628137 -4.082374)', '2026-07-22 18:31:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628106 -4.082373)'), GeomFromEWKT('SRID=4674;POINT (-37.628137 -4.082374)'))) / (select extract(epoch from '2026-07-22 18:31:02'::timestamp) - extract(epoch from '2026-07-22 18:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628106 -4.082373)'), GeomFromEWKT('SRID=4674;POINT (-37.628137 -4.082374)'))) / (select extract(epoch from '2026-07-22 18:31:02'::timestamp) - extract(epoch from '2026-07-22 18:30: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'), 47415, 'SRID=4674;POINT (-37.628172 -4.082391)', '2026-07-22 18:31:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628137 -4.082374)'), GeomFromEWKT('SRID=4674;POINT (-37.628172 -4.082391)'))) / (select extract(epoch from '2026-07-22 18:31:08'::timestamp) - extract(epoch from '2026-07-22 18:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628137 -4.082374)'), GeomFromEWKT('SRID=4674;POINT (-37.628172 -4.082391)'))) / (select extract(epoch from '2026-07-22 18:31:08'::timestamp) - extract(epoch from '2026-07-22 18:31: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'), 47415, 'SRID=4674;POINT (-37.628204 -4.08241)', '2026-07-22 18:31:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628172 -4.082391)'), GeomFromEWKT('SRID=4674;POINT (-37.628204 -4.08241)'))) / (select extract(epoch from '2026-07-22 18:31:15'::timestamp) - extract(epoch from '2026-07-22 18:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628172 -4.082391)'), GeomFromEWKT('SRID=4674;POINT (-37.628204 -4.08241)'))) / (select extract(epoch from '2026-07-22 18:31:15'::timestamp) - extract(epoch from '2026-07-22 18:31: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'), 47415, 'SRID=4674;POINT (-37.628237 -4.082434)', '2026-07-22 18:31:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628204 -4.08241)'), GeomFromEWKT('SRID=4674;POINT (-37.628237 -4.082434)'))) / (select extract(epoch from '2026-07-22 18:31:22'::timestamp) - extract(epoch from '2026-07-22 18:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628204 -4.08241)'), GeomFromEWKT('SRID=4674;POINT (-37.628237 -4.082434)'))) / (select extract(epoch from '2026-07-22 18:31:22'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.628285 -4.082472)', '2026-07-22 18:31:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628237 -4.082434)'), GeomFromEWKT('SRID=4674;POINT (-37.628285 -4.082472)'))) / (select extract(epoch from '2026-07-22 18:31:32'::timestamp) - extract(epoch from '2026-07-22 18:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628237 -4.082434)'), GeomFromEWKT('SRID=4674;POINT (-37.628285 -4.082472)'))) / (select extract(epoch from '2026-07-22 18:31:32'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.628348 -4.082514)', '2026-07-22 18:31:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628285 -4.082472)'), GeomFromEWKT('SRID=4674;POINT (-37.628348 -4.082514)'))) / (select extract(epoch from '2026-07-22 18:31:45'::timestamp) - extract(epoch from '2026-07-22 18:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628285 -4.082472)'), GeomFromEWKT('SRID=4674;POINT (-37.628348 -4.082514)'))) / (select extract(epoch from '2026-07-22 18:31:45'::timestamp) - extract(epoch from '2026-07-22 18:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628392 -4.082542)', '2026-07-22 18:31:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628348 -4.082514)'), GeomFromEWKT('SRID=4674;POINT (-37.628392 -4.082542)'))) / (select extract(epoch from '2026-07-22 18:31:55'::timestamp) - extract(epoch from '2026-07-22 18:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628348 -4.082514)'), GeomFromEWKT('SRID=4674;POINT (-37.628392 -4.082542)'))) / (select extract(epoch from '2026-07-22 18:31:55'::timestamp) - extract(epoch from '2026-07-22 18:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628434 -4.082562)', '2026-07-22 18:32:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628392 -4.082542)'), GeomFromEWKT('SRID=4674;POINT (-37.628434 -4.082562)'))) / (select extract(epoch from '2026-07-22 18:32:05'::timestamp) - extract(epoch from '2026-07-22 18:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628392 -4.082542)'), GeomFromEWKT('SRID=4674;POINT (-37.628434 -4.082562)'))) / (select extract(epoch from '2026-07-22 18:32:05'::timestamp) - extract(epoch from '2026-07-22 18:31: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'), 47415, 'SRID=4674;POINT (-37.628482 -4.082569)', '2026-07-22 18:32:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628434 -4.082562)'), GeomFromEWKT('SRID=4674;POINT (-37.628482 -4.082569)'))) / (select extract(epoch from '2026-07-22 18:32:14'::timestamp) - extract(epoch from '2026-07-22 18:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628434 -4.082562)'), GeomFromEWKT('SRID=4674;POINT (-37.628482 -4.082569)'))) / (select extract(epoch from '2026-07-22 18:32:14'::timestamp) - extract(epoch from '2026-07-22 18:32: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'), 47415, 'SRID=4674;POINT (-37.628506 -4.082579)', '2026-07-22 18:32:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628482 -4.082569)'), GeomFromEWKT('SRID=4674;POINT (-37.628506 -4.082579)'))) / (select extract(epoch from '2026-07-22 18:32:20'::timestamp) - extract(epoch from '2026-07-22 18:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628482 -4.082569)'), GeomFromEWKT('SRID=4674;POINT (-37.628506 -4.082579)'))) / (select extract(epoch from '2026-07-22 18:32:20'::timestamp) - extract(epoch from '2026-07-22 18:32: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'), 47415, 'SRID=4674;POINT (-37.628556 -4.082607)', '2026-07-22 18:32:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628506 -4.082579)'), GeomFromEWKT('SRID=4674;POINT (-37.628556 -4.082607)'))) / (select extract(epoch from '2026-07-22 18:32:28'::timestamp) - extract(epoch from '2026-07-22 18:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628506 -4.082579)'), GeomFromEWKT('SRID=4674;POINT (-37.628556 -4.082607)'))) / (select extract(epoch from '2026-07-22 18:32:28'::timestamp) - extract(epoch from '2026-07-22 18:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628615 -4.082628)', '2026-07-22 18:32:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628556 -4.082607)'), GeomFromEWKT('SRID=4674;POINT (-37.628615 -4.082628)'))) / (select extract(epoch from '2026-07-22 18:32:37'::timestamp) - extract(epoch from '2026-07-22 18:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628556 -4.082607)'), GeomFromEWKT('SRID=4674;POINT (-37.628615 -4.082628)'))) / (select extract(epoch from '2026-07-22 18:32:37'::timestamp) - extract(epoch from '2026-07-22 18:32: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'), 47415, 'SRID=4674;POINT (-37.628651 -4.082645)', '2026-07-22 18:32:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628615 -4.082628)'), GeomFromEWKT('SRID=4674;POINT (-37.628651 -4.082645)'))) / (select extract(epoch from '2026-07-22 18:32:45'::timestamp) - extract(epoch from '2026-07-22 18:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628615 -4.082628)'), GeomFromEWKT('SRID=4674;POINT (-37.628651 -4.082645)'))) / (select extract(epoch from '2026-07-22 18:32:45'::timestamp) - extract(epoch from '2026-07-22 18:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628705 -4.082668)', '2026-07-22 18:32:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628651 -4.082645)'), GeomFromEWKT('SRID=4674;POINT (-37.628705 -4.082668)'))) / (select extract(epoch from '2026-07-22 18:32:54'::timestamp) - extract(epoch from '2026-07-22 18:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628651 -4.082645)'), GeomFromEWKT('SRID=4674;POINT (-37.628705 -4.082668)'))) / (select extract(epoch from '2026-07-22 18:32:54'::timestamp) - extract(epoch from '2026-07-22 18:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628725 -4.082675)', '2026-07-22 18:32:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628705 -4.082668)'), GeomFromEWKT('SRID=4674;POINT (-37.628725 -4.082675)'))) / (select extract(epoch from '2026-07-22 18:32:59'::timestamp) - extract(epoch from '2026-07-22 18:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628705 -4.082668)'), GeomFromEWKT('SRID=4674;POINT (-37.628725 -4.082675)'))) / (select extract(epoch from '2026-07-22 18:32:59'::timestamp) - extract(epoch from '2026-07-22 18:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628761 -4.082676)', '2026-07-22 18:33:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628725 -4.082675)'), GeomFromEWKT('SRID=4674;POINT (-37.628761 -4.082676)'))) / (select extract(epoch from '2026-07-22 18:33:08'::timestamp) - extract(epoch from '2026-07-22 18:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628725 -4.082675)'), GeomFromEWKT('SRID=4674;POINT (-37.628761 -4.082676)'))) / (select extract(epoch from '2026-07-22 18:33:08'::timestamp) - extract(epoch from '2026-07-22 18:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628786 -4.082666)', '2026-07-22 18:33:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628761 -4.082676)'), GeomFromEWKT('SRID=4674;POINT (-37.628786 -4.082666)'))) / (select extract(epoch from '2026-07-22 18:33:16'::timestamp) - extract(epoch from '2026-07-22 18:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628761 -4.082676)'), GeomFromEWKT('SRID=4674;POINT (-37.628786 -4.082666)'))) / (select extract(epoch from '2026-07-22 18:33:16'::timestamp) - extract(epoch from '2026-07-22 18:33: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'), 47415, 'SRID=4674;POINT (-37.628795 -4.082618)', '2026-07-22 18:33:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628786 -4.082666)'), GeomFromEWKT('SRID=4674;POINT (-37.628795 -4.082618)'))) / (select extract(epoch from '2026-07-22 18:33:32'::timestamp) - extract(epoch from '2026-07-22 18:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628786 -4.082666)'), GeomFromEWKT('SRID=4674;POINT (-37.628795 -4.082618)'))) / (select extract(epoch from '2026-07-22 18:33:32'::timestamp) - extract(epoch from '2026-07-22 18:33: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'), 47415, 'SRID=4674;POINT (-37.6288 -4.082608)', '2026-07-22 18:33:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628795 -4.082618)'), GeomFromEWKT('SRID=4674;POINT (-37.6288 -4.082608)'))) / (select extract(epoch from '2026-07-22 18:33:46'::timestamp) - extract(epoch from '2026-07-22 18:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628795 -4.082618)'), GeomFromEWKT('SRID=4674;POINT (-37.6288 -4.082608)'))) / (select extract(epoch from '2026-07-22 18:33:46'::timestamp) - extract(epoch from '2026-07-22 18:33: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'), 47415, 'SRID=4674;POINT (-37.628809 -4.082566)', '2026-07-22 18:34:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.6288 -4.082608)'), GeomFromEWKT('SRID=4674;POINT (-37.628809 -4.082566)'))) / (select extract(epoch from '2026-07-22 18:34:13'::timestamp) - extract(epoch from '2026-07-22 18:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.6288 -4.082608)'), GeomFromEWKT('SRID=4674;POINT (-37.628809 -4.082566)'))) / (select extract(epoch from '2026-07-22 18:34:13'::timestamp) - extract(epoch from '2026-07-22 18:33:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628827 -4.082503)', '2026-07-22 18:34:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628809 -4.082566)'), GeomFromEWKT('SRID=4674;POINT (-37.628827 -4.082503)'))) / (select extract(epoch from '2026-07-22 18:34:50'::timestamp) - extract(epoch from '2026-07-22 18:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628809 -4.082566)'), GeomFromEWKT('SRID=4674;POINT (-37.628827 -4.082503)'))) / (select extract(epoch from '2026-07-22 18:34:50'::timestamp) - extract(epoch from '2026-07-22 18:34: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'), 47415, 'SRID=4674;POINT (-37.628843 -4.082467)', '2026-07-22 18:35:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628827 -4.082503)'), GeomFromEWKT('SRID=4674;POINT (-37.628843 -4.082467)'))) / (select extract(epoch from '2026-07-22 18:35:18'::timestamp) - extract(epoch from '2026-07-22 18:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628827 -4.082503)'), GeomFromEWKT('SRID=4674;POINT (-37.628843 -4.082467)'))) / (select extract(epoch from '2026-07-22 18:35:18'::timestamp) - extract(epoch from '2026-07-22 18:34: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'), 47415, 'SRID=4674;POINT (-37.628845 -4.082423)', '2026-07-22 18:35:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628843 -4.082467)'), GeomFromEWKT('SRID=4674;POINT (-37.628845 -4.082423)'))) / (select extract(epoch from '2026-07-22 18:35:49'::timestamp) - extract(epoch from '2026-07-22 18:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628843 -4.082467)'), GeomFromEWKT('SRID=4674;POINT (-37.628845 -4.082423)'))) / (select extract(epoch from '2026-07-22 18:35:49'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.628838 -4.082371)', '2026-07-22 18:36:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628845 -4.082423)'), GeomFromEWKT('SRID=4674;POINT (-37.628838 -4.082371)'))) / (select extract(epoch from '2026-07-22 18:36:28'::timestamp) - extract(epoch from '2026-07-22 18:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628845 -4.082423)'), GeomFromEWKT('SRID=4674;POINT (-37.628838 -4.082371)'))) / (select extract(epoch from '2026-07-22 18:36:28'::timestamp) - extract(epoch from '2026-07-22 18:35: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'), 47415, 'SRID=4674;POINT (-37.628853 -4.082323)', '2026-07-22 18:37:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628838 -4.082371)'), GeomFromEWKT('SRID=4674;POINT (-37.628853 -4.082323)'))) / (select extract(epoch from '2026-07-22 18:37:24'::timestamp) - extract(epoch from '2026-07-22 18:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628838 -4.082371)'), GeomFromEWKT('SRID=4674;POINT (-37.628853 -4.082323)'))) / (select extract(epoch from '2026-07-22 18:37:24'::timestamp) - extract(epoch from '2026-07-22 18:36: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'), 47415, 'SRID=4674;POINT (-37.628872 -4.082297)', '2026-07-22 18:38:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628853 -4.082323)'), GeomFromEWKT('SRID=4674;POINT (-37.628872 -4.082297)'))) / (select extract(epoch from '2026-07-22 18:38:03'::timestamp) - extract(epoch from '2026-07-22 18:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628853 -4.082323)'), GeomFromEWKT('SRID=4674;POINT (-37.628872 -4.082297)'))) / (select extract(epoch from '2026-07-22 18:38:03'::timestamp) - extract(epoch from '2026-07-22 18:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628872 -4.082284)', '2026-07-22 18:38:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628872 -4.082297)'), GeomFromEWKT('SRID=4674;POINT (-37.628872 -4.082284)'))) / (select extract(epoch from '2026-07-22 18:38:14'::timestamp) - extract(epoch from '2026-07-22 18:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628872 -4.082297)'), GeomFromEWKT('SRID=4674;POINT (-37.628872 -4.082284)'))) / (select extract(epoch from '2026-07-22 18:38:14'::timestamp) - extract(epoch from '2026-07-22 18:38: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'), 47415, 'SRID=4674;POINT (-37.628882 -4.082258)', '2026-07-22 18:38:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628872 -4.082284)'), GeomFromEWKT('SRID=4674;POINT (-37.628882 -4.082258)'))) / (select extract(epoch from '2026-07-22 18:38:31'::timestamp) - extract(epoch from '2026-07-22 18:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628872 -4.082284)'), GeomFromEWKT('SRID=4674;POINT (-37.628882 -4.082258)'))) / (select extract(epoch from '2026-07-22 18:38:31'::timestamp) - extract(epoch from '2026-07-22 18:38: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'), 47415, 'SRID=4674;POINT (-37.628912 -4.082246)', '2026-07-22 18:38:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628882 -4.082258)'), GeomFromEWKT('SRID=4674;POINT (-37.628912 -4.082246)'))) / (select extract(epoch from '2026-07-22 18:38:52'::timestamp) - extract(epoch from '2026-07-22 18:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628882 -4.082258)'), GeomFromEWKT('SRID=4674;POINT (-37.628912 -4.082246)'))) / (select extract(epoch from '2026-07-22 18:38:52'::timestamp) - extract(epoch from '2026-07-22 18:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628911 -4.082225)', '2026-07-22 18:39:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628912 -4.082246)'), GeomFromEWKT('SRID=4674;POINT (-37.628911 -4.082225)'))) / (select extract(epoch from '2026-07-22 18:39:33'::timestamp) - extract(epoch from '2026-07-22 18:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628912 -4.082246)'), GeomFromEWKT('SRID=4674;POINT (-37.628911 -4.082225)'))) / (select extract(epoch from '2026-07-22 18:39:33'::timestamp) - extract(epoch from '2026-07-22 18:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628904 -4.082217)', '2026-07-22 18:39:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628911 -4.082225)'), GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.082217)'))) / (select extract(epoch from '2026-07-22 18:39:39'::timestamp) - extract(epoch from '2026-07-22 18:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628911 -4.082225)'), GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.082217)'))) / (select extract(epoch from '2026-07-22 18:39:39'::timestamp) - extract(epoch from '2026-07-22 18:39: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'), 47415, 'SRID=4674;POINT (-37.628945 -4.082167)', '2026-07-22 18:42:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.082217)'), GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.082167)'))) / (select extract(epoch from '2026-07-22 18:42:14'::timestamp) - extract(epoch from '2026-07-22 18:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.082217)'), GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.082167)'))) / (select extract(epoch from '2026-07-22 18:42:14'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.628956 -4.082169)', '2026-07-22 18:42:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.082167)'), GeomFromEWKT('SRID=4674;POINT (-37.628956 -4.082169)'))) / (select extract(epoch from '2026-07-22 18:42:18'::timestamp) - extract(epoch from '2026-07-22 18:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.082167)'), GeomFromEWKT('SRID=4674;POINT (-37.628956 -4.082169)'))) / (select extract(epoch from '2026-07-22 18:42:18'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.628935 -4.082161)', '2026-07-22 18:42:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628956 -4.082169)'), GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.082161)'))) / (select extract(epoch from '2026-07-22 18:42:44'::timestamp) - extract(epoch from '2026-07-22 18:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628956 -4.082169)'), GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.082161)'))) / (select extract(epoch from '2026-07-22 18:42:44'::timestamp) - extract(epoch from '2026-07-22 18:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628941 -4.082134)', '2026-07-22 18:44:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.082161)'), GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.082134)'))) / (select extract(epoch from '2026-07-22 18:44:14'::timestamp) - extract(epoch from '2026-07-22 18:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.082161)'), GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.082134)'))) / (select extract(epoch from '2026-07-22 18:44:14'::timestamp) - extract(epoch from '2026-07-22 18:42: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'), 47415, 'SRID=4674;POINT (-37.62897 -4.082121)', '2026-07-22 18:44:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.082134)'), GeomFromEWKT('SRID=4674;POINT (-37.62897 -4.082121)'))) / (select extract(epoch from '2026-07-22 18:44:42'::timestamp) - extract(epoch from '2026-07-22 18:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.082134)'), GeomFromEWKT('SRID=4674;POINT (-37.62897 -4.082121)'))) / (select extract(epoch from '2026-07-22 18:44:42'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.628976 -4.082032)', '2026-07-22 18:45:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62897 -4.082121)'), GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.082032)'))) / (select extract(epoch from '2026-07-22 18:45:54'::timestamp) - extract(epoch from '2026-07-22 18:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62897 -4.082121)'), GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.082032)'))) / (select extract(epoch from '2026-07-22 18:45:54'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.628983 -4.081991)', '2026-07-22 18:48:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.082032)'), GeomFromEWKT('SRID=4674;POINT (-37.628983 -4.081991)'))) / (select extract(epoch from '2026-07-22 18:48:49'::timestamp) - extract(epoch from '2026-07-22 18:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.082032)'), GeomFromEWKT('SRID=4674;POINT (-37.628983 -4.081991)'))) / (select extract(epoch from '2026-07-22 18:48:49'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47415, 'SRID=4674;POINT (-37.628978 -4.081969)', '2026-07-22 18:54:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628983 -4.081991)'), GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081969)'))) / (select extract(epoch from '2026-07-22 18:54:22'::timestamp) - extract(epoch from '2026-07-22 18:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628983 -4.081991)'), GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081969)'))) / (select extract(epoch from '2026-07-22 18:54:22'::timestamp) - extract(epoch from '2026-07-22 18:48: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'), 47415, 'SRID=4674;POINT (-37.628978 -4.081979)', '2026-07-22 18:54:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081969)'), GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081979)'))) / (select extract(epoch from '2026-07-22 18:54:41'::timestamp) - extract(epoch from '2026-07-22 18:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081969)'), GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081979)'))) / (select extract(epoch from '2026-07-22 18:54:41'::timestamp) - extract(epoch from '2026-07-22 18:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628974 -4.081984)', '2026-07-22 18:56:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081979)'), GeomFromEWKT('SRID=4674;POINT (-37.628974 -4.081984)'))) / (select extract(epoch from '2026-07-22 18:56:04'::timestamp) - extract(epoch from '2026-07-22 18:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081979)'), GeomFromEWKT('SRID=4674;POINT (-37.628974 -4.081984)'))) / (select extract(epoch from '2026-07-22 18:56:04'::timestamp) - extract(epoch from '2026-07-22 18:54: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'), 47415, 'SRID=4674;POINT (-37.628989 -4.081953)', '2026-07-22 18:58:27', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628974 -4.081984)'), GeomFromEWKT('SRID=4674;POINT (-37.628989 -4.081953)'))) / (select extract(epoch from '2026-07-22 18:58:27'::timestamp) - extract(epoch from '2026-07-22 18:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628974 -4.081984)'), GeomFromEWKT('SRID=4674;POINT (-37.628989 -4.081953)'))) / (select extract(epoch from '2026-07-22 18:58:27'::timestamp) - extract(epoch from '2026-07-22 18:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628984 -4.081917)', '2026-07-22 18:59:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628989 -4.081953)'), GeomFromEWKT('SRID=4674;POINT (-37.628984 -4.081917)'))) / (select extract(epoch from '2026-07-22 18:59:53'::timestamp) - extract(epoch from '2026-07-22 18:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628989 -4.081953)'), GeomFromEWKT('SRID=4674;POINT (-37.628984 -4.081917)'))) / (select extract(epoch from '2026-07-22 18:59:53'::timestamp) - extract(epoch from '2026-07-22 18:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628979 -4.081901)', '2026-07-22 19:00:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628984 -4.081917)'), GeomFromEWKT('SRID=4674;POINT (-37.628979 -4.081901)'))) / (select extract(epoch from '2026-07-22 19:00:59'::timestamp) - extract(epoch from '2026-07-22 18:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628984 -4.081917)'), GeomFromEWKT('SRID=4674;POINT (-37.628979 -4.081901)'))) / (select extract(epoch from '2026-07-22 19:00:59'::timestamp) - extract(epoch from '2026-07-22 18:59: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'), 47415, 'SRID=4674;POINT (-37.628978 -4.081859)', '2026-07-22 19:03:19', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628979 -4.081901)'), GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081859)'))) / (select extract(epoch from '2026-07-22 19:03:19'::timestamp) - extract(epoch from '2026-07-22 19:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628979 -4.081901)'), GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081859)'))) / (select extract(epoch from '2026-07-22 19:03:19'::timestamp) - extract(epoch from '2026-07-22 19:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628998 -4.081839)', '2026-07-22 19:04:25', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081859)'), GeomFromEWKT('SRID=4674;POINT (-37.628998 -4.081839)'))) / (select extract(epoch from '2026-07-22 19:04:25'::timestamp) - extract(epoch from '2026-07-22 19:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081859)'), GeomFromEWKT('SRID=4674;POINT (-37.628998 -4.081839)'))) / (select extract(epoch from '2026-07-22 19:04:25'::timestamp) - extract(epoch from '2026-07-22 19:03:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628959 -4.081848)', '2026-07-22 19:05:41', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628998 -4.081839)'), GeomFromEWKT('SRID=4674;POINT (-37.628959 -4.081848)'))) / (select extract(epoch from '2026-07-22 19:05:41'::timestamp) - extract(epoch from '2026-07-22 19:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628998 -4.081839)'), GeomFromEWKT('SRID=4674;POINT (-37.628959 -4.081848)'))) / (select extract(epoch from '2026-07-22 19:05:41'::timestamp) - extract(epoch from '2026-07-22 19:04: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'), 47415, 'SRID=4674;POINT (-37.628955 -4.081868)', '2026-07-22 19:06:40', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628959 -4.081848)'), GeomFromEWKT('SRID=4674;POINT (-37.628955 -4.081868)'))) / (select extract(epoch from '2026-07-22 19:06:40'::timestamp) - extract(epoch from '2026-07-22 19:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628959 -4.081848)'), GeomFromEWKT('SRID=4674;POINT (-37.628955 -4.081868)'))) / (select extract(epoch from '2026-07-22 19:06:40'::timestamp) - extract(epoch from '2026-07-22 19:05: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'), 47415, 'SRID=4674;POINT (-37.628969 -4.081879)', '2026-07-22 19:08:11', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628955 -4.081868)'), GeomFromEWKT('SRID=4674;POINT (-37.628969 -4.081879)'))) / (select extract(epoch from '2026-07-22 19:08:11'::timestamp) - extract(epoch from '2026-07-22 19:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628955 -4.081868)'), GeomFromEWKT('SRID=4674;POINT (-37.628969 -4.081879)'))) / (select extract(epoch from '2026-07-22 19:08:11'::timestamp) - extract(epoch from '2026-07-22 19:06: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'), 47415, 'SRID=4674;POINT (-37.628969 -4.081882)', '2026-07-22 19:08:21', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628969 -4.081879)'), GeomFromEWKT('SRID=4674;POINT (-37.628969 -4.081882)'))) / (select extract(epoch from '2026-07-22 19:08:21'::timestamp) - extract(epoch from '2026-07-22 19:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628969 -4.081879)'), GeomFromEWKT('SRID=4674;POINT (-37.628969 -4.081882)'))) / (select extract(epoch from '2026-07-22 19:08:21'::timestamp) - extract(epoch from '2026-07-22 19:08: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'), 47415, 'SRID=4674;POINT (-37.628951 -4.081897)', '2026-07-22 19:08:27', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628969 -4.081882)'), GeomFromEWKT('SRID=4674;POINT (-37.628951 -4.081897)'))) / (select extract(epoch from '2026-07-22 19:08:27'::timestamp) - extract(epoch from '2026-07-22 19:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628969 -4.081882)'), GeomFromEWKT('SRID=4674;POINT (-37.628951 -4.081897)'))) / (select extract(epoch from '2026-07-22 19:08:27'::timestamp) - extract(epoch from '2026-07-22 19:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.62895 -4.081898)', '2026-07-22 19:08:40', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628951 -4.081897)'), GeomFromEWKT('SRID=4674;POINT (-37.62895 -4.081898)'))) / (select extract(epoch from '2026-07-22 19:08:40'::timestamp) - extract(epoch from '2026-07-22 19:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628951 -4.081897)'), GeomFromEWKT('SRID=4674;POINT (-37.62895 -4.081898)'))) / (select extract(epoch from '2026-07-22 19:08:40'::timestamp) - extract(epoch from '2026-07-22 19:08:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.62894 -4.081904)', '2026-07-22 19:11:31', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62895 -4.081898)'), GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081904)'))) / (select extract(epoch from '2026-07-22 19:11:31'::timestamp) - extract(epoch from '2026-07-22 19:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62895 -4.081898)'), GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081904)'))) / (select extract(epoch from '2026-07-22 19:11:31'::timestamp) - extract(epoch from '2026-07-22 19:08: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'), 47415, 'SRID=4674;POINT (-37.62893 -4.081903)', '2026-07-22 19:12:40', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081904)'), GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081903)'))) / (select extract(epoch from '2026-07-22 19:12:40'::timestamp) - extract(epoch from '2026-07-22 19:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081904)'), GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081903)'))) / (select extract(epoch from '2026-07-22 19:12:40'::timestamp) - extract(epoch from '2026-07-22 19:11: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'), 47415, 'SRID=4674;POINT (-37.628926 -4.081902)', '2026-07-22 19:12:50', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081903)'), GeomFromEWKT('SRID=4674;POINT (-37.628926 -4.081902)'))) / (select extract(epoch from '2026-07-22 19:12:50'::timestamp) - extract(epoch from '2026-07-22 19:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081903)'), GeomFromEWKT('SRID=4674;POINT (-37.628926 -4.081902)'))) / (select extract(epoch from '2026-07-22 19:12:50'::timestamp) - extract(epoch from '2026-07-22 19:12: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'), 47415, 'SRID=4674;POINT (-37.62894 -4.081923)', '2026-07-22 19:15:27', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628926 -4.081902)'), GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081923)'))) / (select extract(epoch from '2026-07-22 19:15:27'::timestamp) - extract(epoch from '2026-07-22 19:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628926 -4.081902)'), GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081923)'))) / (select extract(epoch from '2026-07-22 19:15:27'::timestamp) - extract(epoch from '2026-07-22 19:12: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'), 47415, 'SRID=4674;POINT (-37.62894 -4.081905)', '2026-07-22 19:16:16', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081923)'), GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081905)'))) / (select extract(epoch from '2026-07-22 19:16:16'::timestamp) - extract(epoch from '2026-07-22 19:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081923)'), GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081905)'))) / (select extract(epoch from '2026-07-22 19:16:16'::timestamp) - extract(epoch from '2026-07-22 19:15: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'), 47415, 'SRID=4674;POINT (-37.628936 -4.081893)', '2026-07-22 19:17:14', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081905)'), GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081893)'))) / (select extract(epoch from '2026-07-22 19:17:14'::timestamp) - extract(epoch from '2026-07-22 19:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081905)'), GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081893)'))) / (select extract(epoch from '2026-07-22 19:17:14'::timestamp) - extract(epoch from '2026-07-22 19:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628943 -4.081895)', '2026-07-22 19:17:33', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081893)'), GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081895)'))) / (select extract(epoch from '2026-07-22 19:17:33'::timestamp) - extract(epoch from '2026-07-22 19:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081893)'), GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081895)'))) / (select extract(epoch from '2026-07-22 19:17:33'::timestamp) - extract(epoch from '2026-07-22 19:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628945 -4.081918)', '2026-07-22 19:18:56', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081895)'), GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.081918)'))) / (select extract(epoch from '2026-07-22 19:18:56'::timestamp) - extract(epoch from '2026-07-22 19:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081895)'), GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.081918)'))) / (select extract(epoch from '2026-07-22 19:18:56'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47415, 'SRID=4674;POINT (-37.628939 -4.081933)', '2026-07-22 19:20:25', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.081918)'), GeomFromEWKT('SRID=4674;POINT (-37.628939 -4.081933)'))) / (select extract(epoch from '2026-07-22 19:20:25'::timestamp) - extract(epoch from '2026-07-22 19:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.081918)'), GeomFromEWKT('SRID=4674;POINT (-37.628939 -4.081933)'))) / (select extract(epoch from '2026-07-22 19:20:25'::timestamp) - extract(epoch from '2026-07-22 19:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628944 -4.08194)', '2026-07-22 19:20:31', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628939 -4.081933)'), GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.08194)'))) / (select extract(epoch from '2026-07-22 19:20:31'::timestamp) - extract(epoch from '2026-07-22 19:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628939 -4.081933)'), GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.08194)'))) / (select extract(epoch from '2026-07-22 19:20:31'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47415, 'SRID=4674;POINT (-37.628919 -4.081929)', '2026-07-22 19:21:01', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.08194)'), GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.081929)'))) / (select extract(epoch from '2026-07-22 19:21:01'::timestamp) - extract(epoch from '2026-07-22 19:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.08194)'), GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.081929)'))) / (select extract(epoch from '2026-07-22 19:21:01'::timestamp) - extract(epoch from '2026-07-22 19:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628908 -4.081927)', '2026-07-22 19:21:22', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.081929)'), GeomFromEWKT('SRID=4674;POINT (-37.628908 -4.081927)'))) / (select extract(epoch from '2026-07-22 19:21:22'::timestamp) - extract(epoch from '2026-07-22 19:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.081929)'), GeomFromEWKT('SRID=4674;POINT (-37.628908 -4.081927)'))) / (select extract(epoch from '2026-07-22 19:21:22'::timestamp) - extract(epoch from '2026-07-22 19:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628916 -4.081938)', '2026-07-22 19:21:46', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628908 -4.081927)'), GeomFromEWKT('SRID=4674;POINT (-37.628916 -4.081938)'))) / (select extract(epoch from '2026-07-22 19:21:46'::timestamp) - extract(epoch from '2026-07-22 19:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628908 -4.081927)'), GeomFromEWKT('SRID=4674;POINT (-37.628916 -4.081938)'))) / (select extract(epoch from '2026-07-22 19:21:46'::timestamp) - extract(epoch from '2026-07-22 19:21: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'), 47415, 'SRID=4674;POINT (-37.628891 -4.081933)', '2026-07-22 19:22:08', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628916 -4.081938)'), GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.081933)'))) / (select extract(epoch from '2026-07-22 19:22:08'::timestamp) - extract(epoch from '2026-07-22 19:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628916 -4.081938)'), GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.081933)'))) / (select extract(epoch from '2026-07-22 19:22:08'::timestamp) - extract(epoch from '2026-07-22 19:21: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'), 47415, 'SRID=4674;POINT (-37.628904 -4.081932)', '2026-07-22 19:22:41', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.081933)'), GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.081932)'))) / (select extract(epoch from '2026-07-22 19:22:41'::timestamp) - extract(epoch from '2026-07-22 19:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.081933)'), GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.081932)'))) / (select extract(epoch from '2026-07-22 19:22:41'::timestamp) - extract(epoch from '2026-07-22 19:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628917 -4.081927)', '2026-07-22 19:22:53', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.081932)'), GeomFromEWKT('SRID=4674;POINT (-37.628917 -4.081927)'))) / (select extract(epoch from '2026-07-22 19:22:53'::timestamp) - extract(epoch from '2026-07-22 19:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.081932)'), GeomFromEWKT('SRID=4674;POINT (-37.628917 -4.081927)'))) / (select extract(epoch from '2026-07-22 19:22:53'::timestamp) - extract(epoch from '2026-07-22 19:22: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'), 47415, 'SRID=4674;POINT (-37.628928 -4.081929)', '2026-07-22 19:23:01', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628917 -4.081927)'), GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081929)'))) / (select extract(epoch from '2026-07-22 19:23:01'::timestamp) - extract(epoch from '2026-07-22 19:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628917 -4.081927)'), GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081929)'))) / (select extract(epoch from '2026-07-22 19:23:01'::timestamp) - extract(epoch from '2026-07-22 19:22: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'), 47415, 'SRID=4674;POINT (-37.628928 -4.08194)', '2026-07-22 19:23:33', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081929)'), GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.08194)'))) / (select extract(epoch from '2026-07-22 19:23:33'::timestamp) - extract(epoch from '2026-07-22 19:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081929)'), GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.08194)'))) / (select extract(epoch from '2026-07-22 19:23:33'::timestamp) - extract(epoch from '2026-07-22 19:23: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'), 47415, 'SRID=4674;POINT (-37.62893 -4.081938)', '2026-07-22 19:25:02', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.08194)'), GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081938)'))) / (select extract(epoch from '2026-07-22 19:25:02'::timestamp) - extract(epoch from '2026-07-22 19:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.08194)'), GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081938)'))) / (select extract(epoch from '2026-07-22 19:25:02'::timestamp) - extract(epoch from '2026-07-22 19:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628942 -4.081939)', '2026-07-22 19:25:18', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081938)'), GeomFromEWKT('SRID=4674;POINT (-37.628942 -4.081939)'))) / (select extract(epoch from '2026-07-22 19:25:18'::timestamp) - extract(epoch from '2026-07-22 19:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081938)'), GeomFromEWKT('SRID=4674;POINT (-37.628942 -4.081939)'))) / (select extract(epoch from '2026-07-22 19:25:18'::timestamp) - extract(epoch from '2026-07-22 19:25: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'), 47415, 'SRID=4674;POINT (-37.628907 -4.081941)', '2026-07-22 19:26:08', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628942 -4.081939)'), GeomFromEWKT('SRID=4674;POINT (-37.628907 -4.081941)'))) / (select extract(epoch from '2026-07-22 19:26:08'::timestamp) - extract(epoch from '2026-07-22 19:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628942 -4.081939)'), GeomFromEWKT('SRID=4674;POINT (-37.628907 -4.081941)'))) / (select extract(epoch from '2026-07-22 19:26:08'::timestamp) - extract(epoch from '2026-07-22 19:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628899 -4.081953)', '2026-07-22 19:26:54', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628907 -4.081941)'), GeomFromEWKT('SRID=4674;POINT (-37.628899 -4.081953)'))) / (select extract(epoch from '2026-07-22 19:26:54'::timestamp) - extract(epoch from '2026-07-22 19:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628907 -4.081941)'), GeomFromEWKT('SRID=4674;POINT (-37.628899 -4.081953)'))) / (select extract(epoch from '2026-07-22 19:26:54'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47415, 'SRID=4674;POINT (-37.628914 -4.081966)', '2026-07-22 19:27:07', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628899 -4.081953)'), GeomFromEWKT('SRID=4674;POINT (-37.628914 -4.081966)'))) / (select extract(epoch from '2026-07-22 19:27:07'::timestamp) - extract(epoch from '2026-07-22 19:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628899 -4.081953)'), GeomFromEWKT('SRID=4674;POINT (-37.628914 -4.081966)'))) / (select extract(epoch from '2026-07-22 19:27:07'::timestamp) - extract(epoch from '2026-07-22 19:26: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'), 47415, 'SRID=4674;POINT (-37.628896 -4.081959)', '2026-07-22 19:28:49', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628914 -4.081966)'), GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081959)'))) / (select extract(epoch from '2026-07-22 19:28:49'::timestamp) - extract(epoch from '2026-07-22 19:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628914 -4.081966)'), GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081959)'))) / (select extract(epoch from '2026-07-22 19:28:49'::timestamp) - extract(epoch from '2026-07-22 19:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628896 -4.081941)', '2026-07-22 19:29:50', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081959)'), GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081941)'))) / (select extract(epoch from '2026-07-22 19:29:50'::timestamp) - extract(epoch from '2026-07-22 19:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081959)'), GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081941)'))) / (select extract(epoch from '2026-07-22 19:29:50'::timestamp) - extract(epoch from '2026-07-22 19:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628891 -4.081937)', '2026-07-22 19:30:27', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081941)'), GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.081937)'))) / (select extract(epoch from '2026-07-22 19:30:27'::timestamp) - extract(epoch from '2026-07-22 19:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081941)'), GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.081937)'))) / (select extract(epoch from '2026-07-22 19:30:27'::timestamp) - extract(epoch from '2026-07-22 19:29: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'), 47415, 'SRID=4674;POINT (-37.628889 -4.081955)', '2026-07-22 19:32:32', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.081937)'), GeomFromEWKT('SRID=4674;POINT (-37.628889 -4.081955)'))) / (select extract(epoch from '2026-07-22 19:32:32'::timestamp) - extract(epoch from '2026-07-22 19:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.081937)'), GeomFromEWKT('SRID=4674;POINT (-37.628889 -4.081955)'))) / (select extract(epoch from '2026-07-22 19:32:32'::timestamp) - extract(epoch from '2026-07-22 19:30: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'), 47415, 'SRID=4674;POINT (-37.628891 -4.08195)', '2026-07-22 19:32:47', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628889 -4.081955)'), GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.08195)'))) / (select extract(epoch from '2026-07-22 19:32:47'::timestamp) - extract(epoch from '2026-07-22 19:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628889 -4.081955)'), GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.08195)'))) / (select extract(epoch from '2026-07-22 19:32:47'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47415, 'SRID=4674;POINT (-37.628935 -4.081924)', '2026-07-22 19:34:29', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.08195)'), GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.081924)'))) / (select extract(epoch from '2026-07-22 19:34:29'::timestamp) - extract(epoch from '2026-07-22 19:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628891 -4.08195)'), GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.081924)'))) / (select extract(epoch from '2026-07-22 19:34:29'::timestamp) - extract(epoch from '2026-07-22 19:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628936 -4.081905)', '2026-07-22 19:35:00', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.081924)'), GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081905)'))) / (select extract(epoch from '2026-07-22 19:35:00'::timestamp) - extract(epoch from '2026-07-22 19:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.081924)'), GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081905)'))) / (select extract(epoch from '2026-07-22 19:35:00'::timestamp) - extract(epoch from '2026-07-22 19:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628934 -4.081907)', '2026-07-22 19:35:35', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081905)'), GeomFromEWKT('SRID=4674;POINT (-37.628934 -4.081907)'))) / (select extract(epoch from '2026-07-22 19:35:35'::timestamp) - extract(epoch from '2026-07-22 19:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081905)'), GeomFromEWKT('SRID=4674;POINT (-37.628934 -4.081907)'))) / (select extract(epoch from '2026-07-22 19:35:35'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47415, 'SRID=4674;POINT (-37.628927 -4.081909)', '2026-07-22 19:35:51', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628934 -4.081907)'), GeomFromEWKT('SRID=4674;POINT (-37.628927 -4.081909)'))) / (select extract(epoch from '2026-07-22 19:35:51'::timestamp) - extract(epoch from '2026-07-22 19:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628934 -4.081907)'), GeomFromEWKT('SRID=4674;POINT (-37.628927 -4.081909)'))) / (select extract(epoch from '2026-07-22 19:35:51'::timestamp) - extract(epoch from '2026-07-22 19:35: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'), 47415, 'SRID=4674;POINT (-37.628958 -4.081908)', '2026-07-22 19:37:49', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628927 -4.081909)'), GeomFromEWKT('SRID=4674;POINT (-37.628958 -4.081908)'))) / (select extract(epoch from '2026-07-22 19:37:49'::timestamp) - extract(epoch from '2026-07-22 19:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628927 -4.081909)'), GeomFromEWKT('SRID=4674;POINT (-37.628958 -4.081908)'))) / (select extract(epoch from '2026-07-22 19:37:49'::timestamp) - extract(epoch from '2026-07-22 19:35: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'), 47415, 'SRID=4674;POINT (-37.628976 -4.08192)', '2026-07-22 19:38:35', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628958 -4.081908)'), GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.08192)'))) / (select extract(epoch from '2026-07-22 19:38:35'::timestamp) - extract(epoch from '2026-07-22 19:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628958 -4.081908)'), GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.08192)'))) / (select extract(epoch from '2026-07-22 19:38:35'::timestamp) - extract(epoch from '2026-07-22 19:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628928 -4.081898)', '2026-07-22 19:39:01', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.08192)'), GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081898)'))) / (select extract(epoch from '2026-07-22 19:39:01'::timestamp) - extract(epoch from '2026-07-22 19:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.08192)'), GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081898)'))) / (select extract(epoch from '2026-07-22 19:39:01'::timestamp) - extract(epoch from '2026-07-22 19:38: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'), 47415, 'SRID=4674;POINT (-37.628941 -4.081897)', '2026-07-22 19:39:26', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081898)'), GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.081897)'))) / (select extract(epoch from '2026-07-22 19:39:26'::timestamp) - extract(epoch from '2026-07-22 19:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081898)'), GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.081897)'))) / (select extract(epoch from '2026-07-22 19:39:26'::timestamp) - extract(epoch from '2026-07-22 19:39: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'), 47415, 'SRID=4674;POINT (-37.628903 -4.081857)', '2026-07-22 19:40:54', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.081897)'), GeomFromEWKT('SRID=4674;POINT (-37.628903 -4.081857)'))) / (select extract(epoch from '2026-07-22 19:40:54'::timestamp) - extract(epoch from '2026-07-22 19:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.081897)'), GeomFromEWKT('SRID=4674;POINT (-37.628903 -4.081857)'))) / (select extract(epoch from '2026-07-22 19:40:54'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47415, 'SRID=4674;POINT (-37.628905 -4.081895)', '2026-07-22 19:42:10', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628903 -4.081857)'), GeomFromEWKT('SRID=4674;POINT (-37.628905 -4.081895)'))) / (select extract(epoch from '2026-07-22 19:42:10'::timestamp) - extract(epoch from '2026-07-22 19:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628903 -4.081857)'), GeomFromEWKT('SRID=4674;POINT (-37.628905 -4.081895)'))) / (select extract(epoch from '2026-07-22 19:42:10'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47415, 'SRID=4674;POINT (-37.628903 -4.081892)', '2026-07-22 19:42:41', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628905 -4.081895)'), GeomFromEWKT('SRID=4674;POINT (-37.628903 -4.081892)'))) / (select extract(epoch from '2026-07-22 19:42:41'::timestamp) - extract(epoch from '2026-07-22 19:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628905 -4.081895)'), GeomFromEWKT('SRID=4674;POINT (-37.628903 -4.081892)'))) / (select extract(epoch from '2026-07-22 19:42:41'::timestamp) - extract(epoch from '2026-07-22 19:42: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'), 47415, 'SRID=4674;POINT (-37.628898 -4.081912)', '2026-07-22 19:44:11', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628903 -4.081892)'), GeomFromEWKT('SRID=4674;POINT (-37.628898 -4.081912)'))) / (select extract(epoch from '2026-07-22 19:44:11'::timestamp) - extract(epoch from '2026-07-22 19:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628903 -4.081892)'), GeomFromEWKT('SRID=4674;POINT (-37.628898 -4.081912)'))) / (select extract(epoch from '2026-07-22 19:44:11'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47415, 'SRID=4674;POINT (-37.628904 -4.08191)', '2026-07-22 19:44:17', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628898 -4.081912)'), GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.08191)'))) / (select extract(epoch from '2026-07-22 19:44:17'::timestamp) - extract(epoch from '2026-07-22 19:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628898 -4.081912)'), GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.08191)'))) / (select extract(epoch from '2026-07-22 19:44:17'::timestamp) - extract(epoch from '2026-07-22 19:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628921 -4.081934)', '2026-07-22 19:45:38', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.08191)'), GeomFromEWKT('SRID=4674;POINT (-37.628921 -4.081934)'))) / (select extract(epoch from '2026-07-22 19:45:38'::timestamp) - extract(epoch from '2026-07-22 19:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628904 -4.08191)'), GeomFromEWKT('SRID=4674;POINT (-37.628921 -4.081934)'))) / (select extract(epoch from '2026-07-22 19:45:38'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47415, 'SRID=4674;POINT (-37.628954 -4.081943)', '2026-07-22 19:45:53', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628921 -4.081934)'), GeomFromEWKT('SRID=4674;POINT (-37.628954 -4.081943)'))) / (select extract(epoch from '2026-07-22 19:45:53'::timestamp) - extract(epoch from '2026-07-22 19:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628921 -4.081934)'), GeomFromEWKT('SRID=4674;POINT (-37.628954 -4.081943)'))) / (select extract(epoch from '2026-07-22 19:45:53'::timestamp) - extract(epoch from '2026-07-22 19:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628902 -4.081995)', '2026-07-22 19:50:20', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628954 -4.081943)'), GeomFromEWKT('SRID=4674;POINT (-37.628902 -4.081995)'))) / (select extract(epoch from '2026-07-22 19:50:20'::timestamp) - extract(epoch from '2026-07-22 19:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628954 -4.081943)'), GeomFromEWKT('SRID=4674;POINT (-37.628902 -4.081995)'))) / (select extract(epoch from '2026-07-22 19:50:20'::timestamp) - extract(epoch from '2026-07-22 19:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628898 -4.082)', '2026-07-22 19:51:08', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628902 -4.081995)'), GeomFromEWKT('SRID=4674;POINT (-37.628898 -4.082)'))) / (select extract(epoch from '2026-07-22 19:51:08'::timestamp) - extract(epoch from '2026-07-22 19:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628902 -4.081995)'), GeomFromEWKT('SRID=4674;POINT (-37.628898 -4.082)'))) / (select extract(epoch from '2026-07-22 19:51:08'::timestamp) - extract(epoch from '2026-07-22 19:50:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628888 -4.081997)', '2026-07-22 19:52:36', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628898 -4.082)'), GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081997)'))) / (select extract(epoch from '2026-07-22 19:52:36'::timestamp) - extract(epoch from '2026-07-22 19:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628898 -4.082)'), GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081997)'))) / (select extract(epoch from '2026-07-22 19:52:36'::timestamp) - extract(epoch from '2026-07-22 19:51: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'), 47415, 'SRID=4674;POINT (-37.628919 -4.082013)', '2026-07-22 19:53:37', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081997)'), GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.082013)'))) / (select extract(epoch from '2026-07-22 19:53:37'::timestamp) - extract(epoch from '2026-07-22 19:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081997)'), GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.082013)'))) / (select extract(epoch from '2026-07-22 19:53:37'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47415, 'SRID=4674;POINT (-37.628902 -4.081991)', '2026-07-22 19:54:27', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.082013)'), GeomFromEWKT('SRID=4674;POINT (-37.628902 -4.081991)'))) / (select extract(epoch from '2026-07-22 19:54:27'::timestamp) - extract(epoch from '2026-07-22 19:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.082013)'), GeomFromEWKT('SRID=4674;POINT (-37.628902 -4.081991)'))) / (select extract(epoch from '2026-07-22 19:54:27'::timestamp) - extract(epoch from '2026-07-22 19:53: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'), 47415, 'SRID=4674;POINT (-37.628896 -4.081947)', '2026-07-22 19:55:22', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628902 -4.081991)'), GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081947)'))) / (select extract(epoch from '2026-07-22 19:55:22'::timestamp) - extract(epoch from '2026-07-22 19:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628902 -4.081991)'), GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081947)'))) / (select extract(epoch from '2026-07-22 19:55:22'::timestamp) - extract(epoch from '2026-07-22 19:54: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'), 47415, 'SRID=4674;POINT (-37.628881 -4.081944)', '2026-07-22 19:55:45', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081947)'), GeomFromEWKT('SRID=4674;POINT (-37.628881 -4.081944)'))) / (select extract(epoch from '2026-07-22 19:55:45'::timestamp) - extract(epoch from '2026-07-22 19:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628896 -4.081947)'), GeomFromEWKT('SRID=4674;POINT (-37.628881 -4.081944)'))) / (select extract(epoch from '2026-07-22 19:55:45'::timestamp) - extract(epoch from '2026-07-22 19:55:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628919 -4.08193)', '2026-07-22 19:57:32', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628881 -4.081944)'), GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.08193)'))) / (select extract(epoch from '2026-07-22 19:57:32'::timestamp) - extract(epoch from '2026-07-22 19:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628881 -4.081944)'), GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.08193)'))) / (select extract(epoch from '2026-07-22 19:57:32'::timestamp) - extract(epoch from '2026-07-22 19:55:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628915 -4.081936)', '2026-07-22 19:57:55', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.08193)'), GeomFromEWKT('SRID=4674;POINT (-37.628915 -4.081936)'))) / (select extract(epoch from '2026-07-22 19:57:55'::timestamp) - extract(epoch from '2026-07-22 19:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628919 -4.08193)'), GeomFromEWKT('SRID=4674;POINT (-37.628915 -4.081936)'))) / (select extract(epoch from '2026-07-22 19:57:55'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47415, 'SRID=4674;POINT (-37.628913 -4.081937)', '2026-07-22 19:59:59', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628915 -4.081936)'), GeomFromEWKT('SRID=4674;POINT (-37.628913 -4.081937)'))) / (select extract(epoch from '2026-07-22 19:59:59'::timestamp) - extract(epoch from '2026-07-22 19:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628915 -4.081936)'), GeomFromEWKT('SRID=4674;POINT (-37.628913 -4.081937)'))) / (select extract(epoch from '2026-07-22 19:59:59'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47415, 'SRID=4674;POINT (-37.628907 -4.08192)', '2026-07-22 20:00:52', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628913 -4.081937)'), GeomFromEWKT('SRID=4674;POINT (-37.628907 -4.08192)'))) / (select extract(epoch from '2026-07-22 20:00:52'::timestamp) - extract(epoch from '2026-07-22 19:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628913 -4.081937)'), GeomFromEWKT('SRID=4674;POINT (-37.628907 -4.08192)'))) / (select extract(epoch from '2026-07-22 20:00:52'::timestamp) - extract(epoch from '2026-07-22 19:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628928 -4.081953)', '2026-07-22 20:01:41', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628907 -4.08192)'), GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081953)'))) / (select extract(epoch from '2026-07-22 20:01:41'::timestamp) - extract(epoch from '2026-07-22 20:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628907 -4.08192)'), GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081953)'))) / (select extract(epoch from '2026-07-22 20:01:41'::timestamp) - extract(epoch from '2026-07-22 20:00: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'), 47415, 'SRID=4674;POINT (-37.628942 -4.08193)', '2026-07-22 20:05:48', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081953)'), GeomFromEWKT('SRID=4674;POINT (-37.628942 -4.08193)'))) / (select extract(epoch from '2026-07-22 20:05:48'::timestamp) - extract(epoch from '2026-07-22 20:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628928 -4.081953)'), GeomFromEWKT('SRID=4674;POINT (-37.628942 -4.08193)'))) / (select extract(epoch from '2026-07-22 20:05:48'::timestamp) - extract(epoch from '2026-07-22 20:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628941 -4.081959)', '2026-07-22 20:07:09', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628942 -4.08193)'), GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.081959)'))) / (select extract(epoch from '2026-07-22 20:07:09'::timestamp) - extract(epoch from '2026-07-22 20:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628942 -4.08193)'), GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.081959)'))) / (select extract(epoch from '2026-07-22 20:07:09'::timestamp) - extract(epoch from '2026-07-22 20:05: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'), 47415, 'SRID=4674;POINT (-37.628948 -4.081956)', '2026-07-22 20:07:24', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.081959)'), GeomFromEWKT('SRID=4674;POINT (-37.628948 -4.081956)'))) / (select extract(epoch from '2026-07-22 20:07:24'::timestamp) - extract(epoch from '2026-07-22 20:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628941 -4.081959)'), GeomFromEWKT('SRID=4674;POINT (-37.628948 -4.081956)'))) / (select extract(epoch from '2026-07-22 20:07:24'::timestamp) - extract(epoch from '2026-07-22 20:07: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'), 47415, 'SRID=4674;POINT (-37.62894 -4.081958)', '2026-07-22 20:07:39', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628948 -4.081956)'), GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081958)'))) / (select extract(epoch from '2026-07-22 20:07:39'::timestamp) - extract(epoch from '2026-07-22 20:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628948 -4.081956)'), GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081958)'))) / (select extract(epoch from '2026-07-22 20:07:39'::timestamp) - extract(epoch from '2026-07-22 20: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'), 47415, 'SRID=4674;POINT (-37.628944 -4.081952)', '2026-07-22 20:08:12', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081958)'), GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081952)'))) / (select extract(epoch from '2026-07-22 20:08:12'::timestamp) - extract(epoch from '2026-07-22 20:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62894 -4.081958)'), GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081952)'))) / (select extract(epoch from '2026-07-22 20:08:12'::timestamp) - extract(epoch from '2026-07-22 20:07: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'), 47415, 'SRID=4674;POINT (-37.62891 -4.081988)', '2026-07-22 20:09:48', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081952)'), GeomFromEWKT('SRID=4674;POINT (-37.62891 -4.081988)'))) / (select extract(epoch from '2026-07-22 20:09:48'::timestamp) - extract(epoch from '2026-07-22 20:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081952)'), GeomFromEWKT('SRID=4674;POINT (-37.62891 -4.081988)'))) / (select extract(epoch from '2026-07-22 20:09:48'::timestamp) - extract(epoch from '2026-07-22 20:08:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628888 -4.081991)', '2026-07-22 20:10:36', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62891 -4.081988)'), GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081991)'))) / (select extract(epoch from '2026-07-22 20:10:36'::timestamp) - extract(epoch from '2026-07-22 20:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62891 -4.081988)'), GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081991)'))) / (select extract(epoch from '2026-07-22 20:10:36'::timestamp) - extract(epoch from '2026-07-22 20:09: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'), 47415, 'SRID=4674;POINT (-37.628888 -4.081989)', '2026-07-22 20:10:43', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081991)'), GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081989)'))) / (select extract(epoch from '2026-07-22 20:10:43'::timestamp) - extract(epoch from '2026-07-22 20:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081991)'), GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081989)'))) / (select extract(epoch from '2026-07-22 20:10:43'::timestamp) - extract(epoch from '2026-07-22 20:10: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'), 47415, 'SRID=4674;POINT (-37.62889 -4.081991)', '2026-07-22 20:11:00', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081989)'), GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.081991)'))) / (select extract(epoch from '2026-07-22 20:11:00'::timestamp) - extract(epoch from '2026-07-22 20:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628888 -4.081989)'), GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.081991)'))) / (select extract(epoch from '2026-07-22 20:11:00'::timestamp) - extract(epoch from '2026-07-22 20:10: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'), 47415, 'SRID=4674;POINT (-37.628901 -4.081979)', '2026-07-22 20:11:41', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.081991)'), GeomFromEWKT('SRID=4674;POINT (-37.628901 -4.081979)'))) / (select extract(epoch from '2026-07-22 20:11:41'::timestamp) - extract(epoch from '2026-07-22 20:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.081991)'), GeomFromEWKT('SRID=4674;POINT (-37.628901 -4.081979)'))) / (select extract(epoch from '2026-07-22 20:11:41'::timestamp) - extract(epoch from '2026-07-22 20:11:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628897 -4.081996)', '2026-07-22 20:11:51', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628901 -4.081979)'), GeomFromEWKT('SRID=4674;POINT (-37.628897 -4.081996)'))) / (select extract(epoch from '2026-07-22 20:11:51'::timestamp) - extract(epoch from '2026-07-22 20:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628901 -4.081979)'), GeomFromEWKT('SRID=4674;POINT (-37.628897 -4.081996)'))) / (select extract(epoch from '2026-07-22 20:11:51'::timestamp) - extract(epoch from '2026-07-22 20:11: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'), 47415, 'SRID=4674;POINT (-37.62889 -4.08202)', '2026-07-22 20:13:39', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628897 -4.081996)'), GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.08202)'))) / (select extract(epoch from '2026-07-22 20:13:39'::timestamp) - extract(epoch from '2026-07-22 20:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628897 -4.081996)'), GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.08202)'))) / (select extract(epoch from '2026-07-22 20:13:39'::timestamp) - extract(epoch from '2026-07-22 20:11:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.62889 -4.082016)', '2026-07-22 20:13:46', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.08202)'), GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.082016)'))) / (select extract(epoch from '2026-07-22 20:13:46'::timestamp) - extract(epoch from '2026-07-22 20:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.08202)'), GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.082016)'))) / (select extract(epoch from '2026-07-22 20:13:46'::timestamp) - extract(epoch from '2026-07-22 20:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628899 -4.081986)', '2026-07-22 20:14:51', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.082016)'), GeomFromEWKT('SRID=4674;POINT (-37.628899 -4.081986)'))) / (select extract(epoch from '2026-07-22 20:14:51'::timestamp) - extract(epoch from '2026-07-22 20:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62889 -4.082016)'), GeomFromEWKT('SRID=4674;POINT (-37.628899 -4.081986)'))) / (select extract(epoch from '2026-07-22 20:14:51'::timestamp) - extract(epoch from '2026-07-22 20:13: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'), 47415, 'SRID=4674;POINT (-37.62892 -4.081998)', '2026-07-22 20:19:59', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628899 -4.081986)'), GeomFromEWKT('SRID=4674;POINT (-37.62892 -4.081998)'))) / (select extract(epoch from '2026-07-22 20:19:59'::timestamp) - extract(epoch from '2026-07-22 20:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628899 -4.081986)'), GeomFromEWKT('SRID=4674;POINT (-37.62892 -4.081998)'))) / (select extract(epoch from '2026-07-22 20:19:59'::timestamp) - extract(epoch from '2026-07-22 20:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628917 -4.081979)', '2026-07-22 20:21:49', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62892 -4.081998)'), GeomFromEWKT('SRID=4674;POINT (-37.628917 -4.081979)'))) / (select extract(epoch from '2026-07-22 20:21:49'::timestamp) - extract(epoch from '2026-07-22 20:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62892 -4.081998)'), GeomFromEWKT('SRID=4674;POINT (-37.628917 -4.081979)'))) / (select extract(epoch from '2026-07-22 20:21:49'::timestamp) - extract(epoch from '2026-07-22 20:19:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628913 -4.081974)', '2026-07-22 20:21:58', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628917 -4.081979)'), GeomFromEWKT('SRID=4674;POINT (-37.628913 -4.081974)'))) / (select extract(epoch from '2026-07-22 20:21:58'::timestamp) - extract(epoch from '2026-07-22 20:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628917 -4.081979)'), GeomFromEWKT('SRID=4674;POINT (-37.628913 -4.081974)'))) / (select extract(epoch from '2026-07-22 20:21:58'::timestamp) - extract(epoch from '2026-07-22 20:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628914 -4.08198)', '2026-07-22 20:22:29', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628913 -4.081974)'), GeomFromEWKT('SRID=4674;POINT (-37.628914 -4.08198)'))) / (select extract(epoch from '2026-07-22 20:22:29'::timestamp) - extract(epoch from '2026-07-22 20:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628913 -4.081974)'), GeomFromEWKT('SRID=4674;POINT (-37.628914 -4.08198)'))) / (select extract(epoch from '2026-07-22 20:22:29'::timestamp) - extract(epoch from '2026-07-22 20:21: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'), 47415, 'SRID=4674;POINT (-37.628945 -4.081957)', '2026-07-22 20:23:43', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628914 -4.08198)'), GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.081957)'))) / (select extract(epoch from '2026-07-22 20:23:43'::timestamp) - extract(epoch from '2026-07-22 20:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628914 -4.08198)'), GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.081957)'))) / (select extract(epoch from '2026-07-22 20:23:43'::timestamp) - extract(epoch from '2026-07-22 20:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628946 -4.081956)', '2026-07-22 20:25:13', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.081957)'), GeomFromEWKT('SRID=4674;POINT (-37.628946 -4.081956)'))) / (select extract(epoch from '2026-07-22 20:25:13'::timestamp) - extract(epoch from '2026-07-22 20:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628945 -4.081957)'), GeomFromEWKT('SRID=4674;POINT (-37.628946 -4.081956)'))) / (select extract(epoch from '2026-07-22 20:25:13'::timestamp) - extract(epoch from '2026-07-22 20:23: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'), 47415, 'SRID=4674;POINT (-37.628948 -4.081953)', '2026-07-22 20:25:35', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628946 -4.081956)'), GeomFromEWKT('SRID=4674;POINT (-37.628948 -4.081953)'))) / (select extract(epoch from '2026-07-22 20:25:35'::timestamp) - extract(epoch from '2026-07-22 20:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628946 -4.081956)'), GeomFromEWKT('SRID=4674;POINT (-37.628948 -4.081953)'))) / (select extract(epoch from '2026-07-22 20:25:35'::timestamp) - extract(epoch from '2026-07-22 20:25: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'), 47415, 'SRID=4674;POINT (-37.628933 -4.081968)', '2026-07-22 20:26:02', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628948 -4.081953)'), GeomFromEWKT('SRID=4674;POINT (-37.628933 -4.081968)'))) / (select extract(epoch from '2026-07-22 20:26:02'::timestamp) - extract(epoch from '2026-07-22 20:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628948 -4.081953)'), GeomFromEWKT('SRID=4674;POINT (-37.628933 -4.081968)'))) / (select extract(epoch from '2026-07-22 20:26:02'::timestamp) - extract(epoch from '2026-07-22 20:25: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'), 47415, 'SRID=4674;POINT (-37.628944 -4.081958)', '2026-07-22 20:27:07', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628933 -4.081968)'), GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081958)'))) / (select extract(epoch from '2026-07-22 20:27:07'::timestamp) - extract(epoch from '2026-07-22 20:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628933 -4.081968)'), GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081958)'))) / (select extract(epoch from '2026-07-22 20:27:07'::timestamp) - extract(epoch from '2026-07-22 20:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628937 -4.081966)', '2026-07-22 20:27:24', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081958)'), GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081966)'))) / (select extract(epoch from '2026-07-22 20:27:24'::timestamp) - extract(epoch from '2026-07-22 20:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081958)'), GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081966)'))) / (select extract(epoch from '2026-07-22 20:27:24'::timestamp) - extract(epoch from '2026-07-22 20:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628936 -4.081973)', '2026-07-22 20:27:30', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081966)'), GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081973)'))) / (select extract(epoch from '2026-07-22 20:27:30'::timestamp) - extract(epoch from '2026-07-22 20:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081966)'), GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081973)'))) / (select extract(epoch from '2026-07-22 20:27:30'::timestamp) - extract(epoch from '2026-07-22 20:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.62891 -4.081995)', '2026-07-22 20:28:48', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081973)'), GeomFromEWKT('SRID=4674;POINT (-37.62891 -4.081995)'))) / (select extract(epoch from '2026-07-22 20:28:48'::timestamp) - extract(epoch from '2026-07-22 20:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628936 -4.081973)'), GeomFromEWKT('SRID=4674;POINT (-37.62891 -4.081995)'))) / (select extract(epoch from '2026-07-22 20:28:48'::timestamp) - extract(epoch from '2026-07-22 20:27: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'), 47415, 'SRID=4674;POINT (-37.628908 -4.081993)', '2026-07-22 20:29:00', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62891 -4.081995)'), GeomFromEWKT('SRID=4674;POINT (-37.628908 -4.081993)'))) / (select extract(epoch from '2026-07-22 20:29:00'::timestamp) - extract(epoch from '2026-07-22 20:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62891 -4.081995)'), GeomFromEWKT('SRID=4674;POINT (-37.628908 -4.081993)'))) / (select extract(epoch from '2026-07-22 20:29:00'::timestamp) - extract(epoch from '2026-07-22 20:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628923 -4.081961)', '2026-07-22 20:31:24', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628908 -4.081993)'), GeomFromEWKT('SRID=4674;POINT (-37.628923 -4.081961)'))) / (select extract(epoch from '2026-07-22 20:31:24'::timestamp) - extract(epoch from '2026-07-22 20:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628908 -4.081993)'), GeomFromEWKT('SRID=4674;POINT (-37.628923 -4.081961)'))) / (select extract(epoch from '2026-07-22 20:31:24'::timestamp) - extract(epoch from '2026-07-22 20:29: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'), 47415, 'SRID=4674;POINT (-37.628966 -4.081958)', '2026-07-22 20:36:26', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628923 -4.081961)'), GeomFromEWKT('SRID=4674;POINT (-37.628966 -4.081958)'))) / (select extract(epoch from '2026-07-22 20:36:26'::timestamp) - extract(epoch from '2026-07-22 20:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628923 -4.081961)'), GeomFromEWKT('SRID=4674;POINT (-37.628966 -4.081958)'))) / (select extract(epoch from '2026-07-22 20:36:26'::timestamp) - extract(epoch from '2026-07-22 20: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'), 47415, 'SRID=4674;POINT (-37.628943 -4.081948)', '2026-07-22 20:36:38', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628966 -4.081958)'), GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081948)'))) / (select extract(epoch from '2026-07-22 20:36:38'::timestamp) - extract(epoch from '2026-07-22 20:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628966 -4.081958)'), GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081948)'))) / (select extract(epoch from '2026-07-22 20:36:38'::timestamp) - extract(epoch from '2026-07-22 20:36: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'), 47415, 'SRID=4674;POINT (-37.628932 -4.081933)', '2026-07-22 20:38:22', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081948)'), GeomFromEWKT('SRID=4674;POINT (-37.628932 -4.081933)'))) / (select extract(epoch from '2026-07-22 20:38:22'::timestamp) - extract(epoch from '2026-07-22 20:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081948)'), GeomFromEWKT('SRID=4674;POINT (-37.628932 -4.081933)'))) / (select extract(epoch from '2026-07-22 20:38:22'::timestamp) - extract(epoch from '2026-07-22 20:36: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'), 47415, 'SRID=4674;POINT (-37.628939 -4.081939)', '2026-07-22 20:38:31', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628932 -4.081933)'), GeomFromEWKT('SRID=4674;POINT (-37.628939 -4.081939)'))) / (select extract(epoch from '2026-07-22 20:38:31'::timestamp) - extract(epoch from '2026-07-22 20:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628932 -4.081933)'), GeomFromEWKT('SRID=4674;POINT (-37.628939 -4.081939)'))) / (select extract(epoch from '2026-07-22 20:38:31'::timestamp) - extract(epoch from '2026-07-22 20:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628944 -4.081951)', '2026-07-22 20:38:38', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628939 -4.081939)'), GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081951)'))) / (select extract(epoch from '2026-07-22 20:38:38'::timestamp) - extract(epoch from '2026-07-22 20:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628939 -4.081939)'), GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081951)'))) / (select extract(epoch from '2026-07-22 20:38:38'::timestamp) - extract(epoch from '2026-07-22 20:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628912 -4.081926)', '2026-07-22 20:39:14', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081951)'), GeomFromEWKT('SRID=4674;POINT (-37.628912 -4.081926)'))) / (select extract(epoch from '2026-07-22 20:39:14'::timestamp) - extract(epoch from '2026-07-22 20:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628944 -4.081951)'), GeomFromEWKT('SRID=4674;POINT (-37.628912 -4.081926)'))) / (select extract(epoch from '2026-07-22 20:39:14'::timestamp) - extract(epoch from '2026-07-22 20:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628937 -4.081942)', '2026-07-22 20:40:47', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628912 -4.081926)'), GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081942)'))) / (select extract(epoch from '2026-07-22 20:40:47'::timestamp) - extract(epoch from '2026-07-22 20:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628912 -4.081926)'), GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081942)'))) / (select extract(epoch from '2026-07-22 20:40:47'::timestamp) - extract(epoch from '2026-07-22 20:39: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'), 47415, 'SRID=4674;POINT (-37.628947 -4.081948)', '2026-07-22 20:41:33', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081942)'), GeomFromEWKT('SRID=4674;POINT (-37.628947 -4.081948)'))) / (select extract(epoch from '2026-07-22 20:41:33'::timestamp) - extract(epoch from '2026-07-22 20:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081942)'), GeomFromEWKT('SRID=4674;POINT (-37.628947 -4.081948)'))) / (select extract(epoch from '2026-07-22 20:41:33'::timestamp) - extract(epoch from '2026-07-22 20:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628981 -4.081948)', '2026-07-22 20:42:20', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628947 -4.081948)'), GeomFromEWKT('SRID=4674;POINT (-37.628981 -4.081948)'))) / (select extract(epoch from '2026-07-22 20:42:20'::timestamp) - extract(epoch from '2026-07-22 20:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628947 -4.081948)'), GeomFromEWKT('SRID=4674;POINT (-37.628981 -4.081948)'))) / (select extract(epoch from '2026-07-22 20:42:20'::timestamp) - extract(epoch from '2026-07-22 20:41: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'), 47415, 'SRID=4674;POINT (-37.628984 -4.08197)', '2026-07-22 20:42:55', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628981 -4.081948)'), GeomFromEWKT('SRID=4674;POINT (-37.628984 -4.08197)'))) / (select extract(epoch from '2026-07-22 20:42:55'::timestamp) - extract(epoch from '2026-07-22 20:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628981 -4.081948)'), GeomFromEWKT('SRID=4674;POINT (-37.628984 -4.08197)'))) / (select extract(epoch from '2026-07-22 20:42:55'::timestamp) - extract(epoch from '2026-07-22 20: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'), 47415, 'SRID=4674;POINT (-37.628988 -4.081976)', '2026-07-22 20:43:07', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628984 -4.08197)'), GeomFromEWKT('SRID=4674;POINT (-37.628988 -4.081976)'))) / (select extract(epoch from '2026-07-22 20:43:07'::timestamp) - extract(epoch from '2026-07-22 20:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628984 -4.08197)'), GeomFromEWKT('SRID=4674;POINT (-37.628988 -4.081976)'))) / (select extract(epoch from '2026-07-22 20:43:07'::timestamp) - extract(epoch from '2026-07-22 20:42: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'), 47415, 'SRID=4674;POINT (-37.629022 -4.081967)', '2026-07-22 20:45:08', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628988 -4.081976)'), GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081967)'))) / (select extract(epoch from '2026-07-22 20:45:08'::timestamp) - extract(epoch from '2026-07-22 20:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628988 -4.081976)'), GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081967)'))) / (select extract(epoch from '2026-07-22 20:45:08'::timestamp) - extract(epoch from '2026-07-22 20:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629011 -4.081965)', '2026-07-22 20:45:52', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081967)'), GeomFromEWKT('SRID=4674;POINT (-37.629011 -4.081965)'))) / (select extract(epoch from '2026-07-22 20:45:52'::timestamp) - extract(epoch from '2026-07-22 20:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081967)'), GeomFromEWKT('SRID=4674;POINT (-37.629011 -4.081965)'))) / (select extract(epoch from '2026-07-22 20:45:52'::timestamp) - extract(epoch from '2026-07-22 20:45:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629006 -4.081977)', '2026-07-22 20:46:48', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629011 -4.081965)'), GeomFromEWKT('SRID=4674;POINT (-37.629006 -4.081977)'))) / (select extract(epoch from '2026-07-22 20:46:48'::timestamp) - extract(epoch from '2026-07-22 20:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629011 -4.081965)'), GeomFromEWKT('SRID=4674;POINT (-37.629006 -4.081977)'))) / (select extract(epoch from '2026-07-22 20:46:48'::timestamp) - extract(epoch from '2026-07-22 20:45: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'), 47415, 'SRID=4674;POINT (-37.628998 -4.081976)', '2026-07-22 20:47:58', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629006 -4.081977)'), GeomFromEWKT('SRID=4674;POINT (-37.628998 -4.081976)'))) / (select extract(epoch from '2026-07-22 20:47:58'::timestamp) - extract(epoch from '2026-07-22 20:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629006 -4.081977)'), GeomFromEWKT('SRID=4674;POINT (-37.628998 -4.081976)'))) / (select extract(epoch from '2026-07-22 20:47:58'::timestamp) - extract(epoch from '2026-07-22 20:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628992 -4.081963)', '2026-07-22 20:48:28', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628998 -4.081976)'), GeomFromEWKT('SRID=4674;POINT (-37.628992 -4.081963)'))) / (select extract(epoch from '2026-07-22 20:48:28'::timestamp) - extract(epoch from '2026-07-22 20:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628998 -4.081976)'), GeomFromEWKT('SRID=4674;POINT (-37.628992 -4.081963)'))) / (select extract(epoch from '2026-07-22 20:48:28'::timestamp) - extract(epoch from '2026-07-22 20:47: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'), 47415, 'SRID=4674;POINT (-37.628992 -4.081943)', '2026-07-22 20:50:38', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628992 -4.081963)'), GeomFromEWKT('SRID=4674;POINT (-37.628992 -4.081943)'))) / (select extract(epoch from '2026-07-22 20:50:38'::timestamp) - extract(epoch from '2026-07-22 20:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628992 -4.081963)'), GeomFromEWKT('SRID=4674;POINT (-37.628992 -4.081943)'))) / (select extract(epoch from '2026-07-22 20:50:38'::timestamp) - extract(epoch from '2026-07-22 20:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628991 -4.081934)', '2026-07-22 20:50:55', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628992 -4.081943)'), GeomFromEWKT('SRID=4674;POINT (-37.628991 -4.081934)'))) / (select extract(epoch from '2026-07-22 20:50:55'::timestamp) - extract(epoch from '2026-07-22 20:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628992 -4.081943)'), GeomFromEWKT('SRID=4674;POINT (-37.628991 -4.081934)'))) / (select extract(epoch from '2026-07-22 20:50:55'::timestamp) - extract(epoch from '2026-07-22 20:50:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628976 -4.081915)', '2026-07-22 20:52:00', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628991 -4.081934)'), GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.081915)'))) / (select extract(epoch from '2026-07-22 20:52:00'::timestamp) - extract(epoch from '2026-07-22 20:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628991 -4.081934)'), GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.081915)'))) / (select extract(epoch from '2026-07-22 20:52:00'::timestamp) - extract(epoch from '2026-07-22 20:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628982 -4.081868)', '2026-07-22 20:55:49', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.081915)'), GeomFromEWKT('SRID=4674;POINT (-37.628982 -4.081868)'))) / (select extract(epoch from '2026-07-22 20:55:49'::timestamp) - extract(epoch from '2026-07-22 20:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.081915)'), GeomFromEWKT('SRID=4674;POINT (-37.628982 -4.081868)'))) / (select extract(epoch from '2026-07-22 20:55:49'::timestamp) - extract(epoch from '2026-07-22 20:52: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'), 47415, 'SRID=4674;POINT (-37.629004 -4.081885)', '2026-07-22 20:56:33', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628982 -4.081868)'), GeomFromEWKT('SRID=4674;POINT (-37.629004 -4.081885)'))) / (select extract(epoch from '2026-07-22 20:56:33'::timestamp) - extract(epoch from '2026-07-22 20:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628982 -4.081868)'), GeomFromEWKT('SRID=4674;POINT (-37.629004 -4.081885)'))) / (select extract(epoch from '2026-07-22 20:56:33'::timestamp) - extract(epoch from '2026-07-22 20:55:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628989 -4.081883)', '2026-07-22 20:56:49', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629004 -4.081885)'), GeomFromEWKT('SRID=4674;POINT (-37.628989 -4.081883)'))) / (select extract(epoch from '2026-07-22 20:56:49'::timestamp) - extract(epoch from '2026-07-22 20:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629004 -4.081885)'), GeomFromEWKT('SRID=4674;POINT (-37.628989 -4.081883)'))) / (select extract(epoch from '2026-07-22 20:56:49'::timestamp) - extract(epoch from '2026-07-22 20:56: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'), 47415, 'SRID=4674;POINT (-37.628955 -4.081885)', '2026-07-22 20:57:37', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628989 -4.081883)'), GeomFromEWKT('SRID=4674;POINT (-37.628955 -4.081885)'))) / (select extract(epoch from '2026-07-22 20:57:37'::timestamp) - extract(epoch from '2026-07-22 20:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628989 -4.081883)'), GeomFromEWKT('SRID=4674;POINT (-37.628955 -4.081885)'))) / (select extract(epoch from '2026-07-22 20:57:37'::timestamp) - extract(epoch from '2026-07-22 20:56: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'), 47415, 'SRID=4674;POINT (-37.628937 -4.081881)', '2026-07-22 20:58:13', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628955 -4.081885)'), GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081881)'))) / (select extract(epoch from '2026-07-22 20:58:13'::timestamp) - extract(epoch from '2026-07-22 20:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628955 -4.081885)'), GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081881)'))) / (select extract(epoch from '2026-07-22 20:58:13'::timestamp) - extract(epoch from '2026-07-22 20:57: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'), 47415, 'SRID=4674;POINT (-37.628931 -4.081882)', '2026-07-22 20:58:20', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081881)'), GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.081882)'))) / (select extract(epoch from '2026-07-22 20:58:20'::timestamp) - extract(epoch from '2026-07-22 20:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628937 -4.081881)'), GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.081882)'))) / (select extract(epoch from '2026-07-22 20:58:20'::timestamp) - extract(epoch from '2026-07-22 20:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628959 -4.081865)', '2026-07-22 20:58:37', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.081882)'), GeomFromEWKT('SRID=4674;POINT (-37.628959 -4.081865)'))) / (select extract(epoch from '2026-07-22 20:58:37'::timestamp) - extract(epoch from '2026-07-22 20:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.081882)'), GeomFromEWKT('SRID=4674;POINT (-37.628959 -4.081865)'))) / (select extract(epoch from '2026-07-22 20:58:37'::timestamp) - extract(epoch from '2026-07-22 20:58: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'), 47415, 'SRID=4674;POINT (-37.628947 -4.081864)', '2026-07-22 20:58:50', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628959 -4.081865)'), GeomFromEWKT('SRID=4674;POINT (-37.628947 -4.081864)'))) / (select extract(epoch from '2026-07-22 20:58:50'::timestamp) - extract(epoch from '2026-07-22 20:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628959 -4.081865)'), GeomFromEWKT('SRID=4674;POINT (-37.628947 -4.081864)'))) / (select extract(epoch from '2026-07-22 20:58:50'::timestamp) - extract(epoch from '2026-07-22 20: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'), 47415, 'SRID=4674;POINT (-37.62893 -4.081879)', '2026-07-22 21:02:19', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628947 -4.081864)'), GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081879)'))) / (select extract(epoch from '2026-07-22 21:02:19'::timestamp) - extract(epoch from '2026-07-22 20:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628947 -4.081864)'), GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081879)'))) / (select extract(epoch from '2026-07-22 21:02:19'::timestamp) - extract(epoch from '2026-07-22 20:58: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'), 47415, 'SRID=4674;POINT (-37.62896 -4.081882)', '2026-07-22 21:02:50', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081879)'), GeomFromEWKT('SRID=4674;POINT (-37.62896 -4.081882)'))) / (select extract(epoch from '2026-07-22 21:02:50'::timestamp) - extract(epoch from '2026-07-22 21:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081879)'), GeomFromEWKT('SRID=4674;POINT (-37.62896 -4.081882)'))) / (select extract(epoch from '2026-07-22 21:02:50'::timestamp) - extract(epoch from '2026-07-22 21: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'), 47415, 'SRID=4674;POINT (-37.628962 -4.081882)', '2026-07-22 21:03:07', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62896 -4.081882)'), GeomFromEWKT('SRID=4674;POINT (-37.628962 -4.081882)'))) / (select extract(epoch from '2026-07-22 21:03:07'::timestamp) - extract(epoch from '2026-07-22 21:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62896 -4.081882)'), GeomFromEWKT('SRID=4674;POINT (-37.628962 -4.081882)'))) / (select extract(epoch from '2026-07-22 21:03:07'::timestamp) - extract(epoch from '2026-07-22 21:02: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'), 47415, 'SRID=4674;POINT (-37.628965 -4.081894)', '2026-07-22 21:03:37', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628962 -4.081882)'), GeomFromEWKT('SRID=4674;POINT (-37.628965 -4.081894)'))) / (select extract(epoch from '2026-07-22 21:03:37'::timestamp) - extract(epoch from '2026-07-22 21:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628962 -4.081882)'), GeomFromEWKT('SRID=4674;POINT (-37.628965 -4.081894)'))) / (select extract(epoch from '2026-07-22 21:03:37'::timestamp) - extract(epoch from '2026-07-22 21:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628977 -4.081898)', '2026-07-22 21:04:06', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628965 -4.081894)'), GeomFromEWKT('SRID=4674;POINT (-37.628977 -4.081898)'))) / (select extract(epoch from '2026-07-22 21:04:06'::timestamp) - extract(epoch from '2026-07-22 21:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628965 -4.081894)'), GeomFromEWKT('SRID=4674;POINT (-37.628977 -4.081898)'))) / (select extract(epoch from '2026-07-22 21:04:06'::timestamp) - extract(epoch from '2026-07-22 21: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'), 47415, 'SRID=4674;POINT (-37.628966 -4.081892)', '2026-07-22 21:04:17', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628977 -4.081898)'), GeomFromEWKT('SRID=4674;POINT (-37.628966 -4.081892)'))) / (select extract(epoch from '2026-07-22 21:04:17'::timestamp) - extract(epoch from '2026-07-22 21:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628977 -4.081898)'), GeomFromEWKT('SRID=4674;POINT (-37.628966 -4.081892)'))) / (select extract(epoch from '2026-07-22 21:04:17'::timestamp) - extract(epoch from '2026-07-22 21:04: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'), 47415, 'SRID=4674;POINT (-37.628949 -4.081897)', '2026-07-22 21:06:20', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628966 -4.081892)'), GeomFromEWKT('SRID=4674;POINT (-37.628949 -4.081897)'))) / (select extract(epoch from '2026-07-22 21:06:20'::timestamp) - extract(epoch from '2026-07-22 21:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628966 -4.081892)'), GeomFromEWKT('SRID=4674;POINT (-37.628949 -4.081897)'))) / (select extract(epoch from '2026-07-22 21:06:20'::timestamp) - extract(epoch from '2026-07-22 21:04: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'), 47415, 'SRID=4674;POINT (-37.62895 -4.081907)', '2026-07-22 21:06:23', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628949 -4.081897)'), GeomFromEWKT('SRID=4674;POINT (-37.62895 -4.081907)'))) / (select extract(epoch from '2026-07-22 21:06:23'::timestamp) - extract(epoch from '2026-07-22 21:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628949 -4.081897)'), GeomFromEWKT('SRID=4674;POINT (-37.62895 -4.081907)'))) / (select extract(epoch from '2026-07-22 21:06:23'::timestamp) - extract(epoch from '2026-07-22 21:06: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'), 47415, 'SRID=4674;POINT (-37.628958 -4.081913)', '2026-07-22 21:06:29', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62895 -4.081907)'), GeomFromEWKT('SRID=4674;POINT (-37.628958 -4.081913)'))) / (select extract(epoch from '2026-07-22 21:06:29'::timestamp) - extract(epoch from '2026-07-22 21:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62895 -4.081907)'), GeomFromEWKT('SRID=4674;POINT (-37.628958 -4.081913)'))) / (select extract(epoch from '2026-07-22 21:06:29'::timestamp) - extract(epoch from '2026-07-22 21:06:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628957 -4.081952)', '2026-07-22 21:07:42', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628958 -4.081913)'), GeomFromEWKT('SRID=4674;POINT (-37.628957 -4.081952)'))) / (select extract(epoch from '2026-07-22 21:07:42'::timestamp) - extract(epoch from '2026-07-22 21:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628958 -4.081913)'), GeomFromEWKT('SRID=4674;POINT (-37.628957 -4.081952)'))) / (select extract(epoch from '2026-07-22 21:07:42'::timestamp) - extract(epoch from '2026-07-22 21:06: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'), 47415, 'SRID=4674;POINT (-37.62893 -4.081953)', '2026-07-22 21:08:27', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628957 -4.081952)'), GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081953)'))) / (select extract(epoch from '2026-07-22 21:08:27'::timestamp) - extract(epoch from '2026-07-22 21:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628957 -4.081952)'), GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081953)'))) / (select extract(epoch from '2026-07-22 21:08:27'::timestamp) - extract(epoch from '2026-07-22 21:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628964 -4.082001)', '2026-07-22 21:09:29', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081953)'), GeomFromEWKT('SRID=4674;POINT (-37.628964 -4.082001)'))) / (select extract(epoch from '2026-07-22 21:09:29'::timestamp) - extract(epoch from '2026-07-22 21:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62893 -4.081953)'), GeomFromEWKT('SRID=4674;POINT (-37.628964 -4.082001)'))) / (select extract(epoch from '2026-07-22 21:09:29'::timestamp) - extract(epoch from '2026-07-22 21:08:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628931 -4.082009)', '2026-07-22 21:09:53', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628964 -4.082001)'), GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.082009)'))) / (select extract(epoch from '2026-07-22 21:09:53'::timestamp) - extract(epoch from '2026-07-22 21:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628964 -4.082001)'), GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.082009)'))) / (select extract(epoch from '2026-07-22 21:09:53'::timestamp) - extract(epoch from '2026-07-22 21:09: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'), 47415, 'SRID=4674;POINT (-37.628935 -4.082006)', '2026-07-22 21:10:07', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.082009)'), GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.082006)'))) / (select extract(epoch from '2026-07-22 21:10:07'::timestamp) - extract(epoch from '2026-07-22 21:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.082009)'), GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.082006)'))) / (select extract(epoch from '2026-07-22 21:10:07'::timestamp) - extract(epoch from '2026-07-22 21:09: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'), 47415, 'SRID=4674;POINT (-37.628949 -4.081999)', '2026-07-22 21:10:13', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.082006)'), GeomFromEWKT('SRID=4674;POINT (-37.628949 -4.081999)'))) / (select extract(epoch from '2026-07-22 21:10:13'::timestamp) - extract(epoch from '2026-07-22 21:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628935 -4.082006)'), GeomFromEWKT('SRID=4674;POINT (-37.628949 -4.081999)'))) / (select extract(epoch from '2026-07-22 21:10:13'::timestamp) - extract(epoch from '2026-07-22 21:10: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'), 47415, 'SRID=4674;POINT (-37.628931 -4.081989)', '2026-07-22 21:10:27', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628949 -4.081999)'), GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.081989)'))) / (select extract(epoch from '2026-07-22 21:10:27'::timestamp) - extract(epoch from '2026-07-22 21:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628949 -4.081999)'), GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.081989)'))) / (select extract(epoch from '2026-07-22 21:10:27'::timestamp) - extract(epoch from '2026-07-22 21:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628927 -4.081988)', '2026-07-22 21:10:40', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.081989)'), GeomFromEWKT('SRID=4674;POINT (-37.628927 -4.081988)'))) / (select extract(epoch from '2026-07-22 21:10:40'::timestamp) - extract(epoch from '2026-07-22 21:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628931 -4.081989)'), GeomFromEWKT('SRID=4674;POINT (-37.628927 -4.081988)'))) / (select extract(epoch from '2026-07-22 21:10:40'::timestamp) - extract(epoch from '2026-07-22 21:10: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'), 47415, 'SRID=4674;POINT (-37.628943 -4.081972)', '2026-07-22 21:13:02', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628927 -4.081988)'), GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081972)'))) / (select extract(epoch from '2026-07-22 21:13:02'::timestamp) - extract(epoch from '2026-07-22 21:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628927 -4.081988)'), GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081972)'))) / (select extract(epoch from '2026-07-22 21:13:02'::timestamp) - extract(epoch from '2026-07-22 21:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628932 -4.081957)', '2026-07-22 21:13:13', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081972)'), GeomFromEWKT('SRID=4674;POINT (-37.628932 -4.081957)'))) / (select extract(epoch from '2026-07-22 21:13:13'::timestamp) - extract(epoch from '2026-07-22 21:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628943 -4.081972)'), GeomFromEWKT('SRID=4674;POINT (-37.628932 -4.081957)'))) / (select extract(epoch from '2026-07-22 21:13:13'::timestamp) - extract(epoch from '2026-07-22 21:13: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'), 47415, 'SRID=4674;POINT (-37.628946 -4.081922)', '2026-07-22 21:15:20', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628932 -4.081957)'), GeomFromEWKT('SRID=4674;POINT (-37.628946 -4.081922)'))) / (select extract(epoch from '2026-07-22 21:15:20'::timestamp) - extract(epoch from '2026-07-22 21:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628932 -4.081957)'), GeomFromEWKT('SRID=4674;POINT (-37.628946 -4.081922)'))) / (select extract(epoch from '2026-07-22 21:15:20'::timestamp) - extract(epoch from '2026-07-22 21:13: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'), 47415, 'SRID=4674;POINT (-37.628976 -4.081905)', '2026-07-22 21:15:39', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628946 -4.081922)'), GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.081905)'))) / (select extract(epoch from '2026-07-22 21:15:39'::timestamp) - extract(epoch from '2026-07-22 21:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628946 -4.081922)'), GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.081905)'))) / (select extract(epoch from '2026-07-22 21:15:39'::timestamp) - extract(epoch from '2026-07-22 21: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'), 47415, 'SRID=4674;POINT (-37.628986 -4.081905)', '2026-07-22 21:15:50', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.081905)'), GeomFromEWKT('SRID=4674;POINT (-37.628986 -4.081905)'))) / (select extract(epoch from '2026-07-22 21:15:50'::timestamp) - extract(epoch from '2026-07-22 21:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628976 -4.081905)'), GeomFromEWKT('SRID=4674;POINT (-37.628986 -4.081905)'))) / (select extract(epoch from '2026-07-22 21:15:50'::timestamp) - extract(epoch from '2026-07-22 21:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628978 -4.081914)', '2026-07-22 21:16:02', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628986 -4.081905)'), GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081914)'))) / (select extract(epoch from '2026-07-22 21:16:02'::timestamp) - extract(epoch from '2026-07-22 21:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628986 -4.081905)'), GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081914)'))) / (select extract(epoch from '2026-07-22 21:16:02'::timestamp) - extract(epoch from '2026-07-22 21:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629006 -4.081918)', '2026-07-22 21:16:36', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081914)'), GeomFromEWKT('SRID=4674;POINT (-37.629006 -4.081918)'))) / (select extract(epoch from '2026-07-22 21:16:36'::timestamp) - extract(epoch from '2026-07-22 21:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628978 -4.081914)'), GeomFromEWKT('SRID=4674;POINT (-37.629006 -4.081918)'))) / (select extract(epoch from '2026-07-22 21:16:36'::timestamp) - extract(epoch from '2026-07-22 21:16:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629012 -4.081855)', '2026-07-22 21:18:35', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629006 -4.081918)'), GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081855)'))) / (select extract(epoch from '2026-07-22 21:18:35'::timestamp) - extract(epoch from '2026-07-22 21:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629006 -4.081918)'), GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081855)'))) / (select extract(epoch from '2026-07-22 21:18:35'::timestamp) - extract(epoch from '2026-07-22 21:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628996 -4.081858)', '2026-07-22 21:18:51', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081855)'), GeomFromEWKT('SRID=4674;POINT (-37.628996 -4.081858)'))) / (select extract(epoch from '2026-07-22 21:18:51'::timestamp) - extract(epoch from '2026-07-22 21:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081855)'), GeomFromEWKT('SRID=4674;POINT (-37.628996 -4.081858)'))) / (select extract(epoch from '2026-07-22 21:18:51'::timestamp) - extract(epoch from '2026-07-22 21:18: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'), 47415, 'SRID=4674;POINT (-37.629032 -4.081838)', '2026-07-22 21:19:18', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628996 -4.081858)'), GeomFromEWKT('SRID=4674;POINT (-37.629032 -4.081838)'))) / (select extract(epoch from '2026-07-22 21:19:18'::timestamp) - extract(epoch from '2026-07-22 21:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628996 -4.081858)'), GeomFromEWKT('SRID=4674;POINT (-37.629032 -4.081838)'))) / (select extract(epoch from '2026-07-22 21:19:18'::timestamp) - extract(epoch from '2026-07-22 21: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'), 47415, 'SRID=4674;POINT (-37.629037 -4.081838)', '2026-07-22 21:19:30', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629032 -4.081838)'), GeomFromEWKT('SRID=4674;POINT (-37.629037 -4.081838)'))) / (select extract(epoch from '2026-07-22 21:19:30'::timestamp) - extract(epoch from '2026-07-22 21:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629032 -4.081838)'), GeomFromEWKT('SRID=4674;POINT (-37.629037 -4.081838)'))) / (select extract(epoch from '2026-07-22 21:19:30'::timestamp) - extract(epoch from '2026-07-22 21:19: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'), 47415, 'SRID=4674;POINT (-37.629015 -4.08182)', '2026-07-22 21:20:18', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629037 -4.081838)'), GeomFromEWKT('SRID=4674;POINT (-37.629015 -4.08182)'))) / (select extract(epoch from '2026-07-22 21:20:18'::timestamp) - extract(epoch from '2026-07-22 21:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629037 -4.081838)'), GeomFromEWKT('SRID=4674;POINT (-37.629015 -4.08182)'))) / (select extract(epoch from '2026-07-22 21:20:18'::timestamp) - extract(epoch from '2026-07-22 21:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629022 -4.081811)', '2026-07-22 21:21:03', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629015 -4.08182)'), GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081811)'))) / (select extract(epoch from '2026-07-22 21:21:03'::timestamp) - extract(epoch from '2026-07-22 21:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629015 -4.08182)'), GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081811)'))) / (select extract(epoch from '2026-07-22 21:21:03'::timestamp) - extract(epoch from '2026-07-22 21:20: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'), 47415, 'SRID=4674;POINT (-37.628991 -4.081798)', '2026-07-22 21:21:30', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081811)'), GeomFromEWKT('SRID=4674;POINT (-37.628991 -4.081798)'))) / (select extract(epoch from '2026-07-22 21:21:30'::timestamp) - extract(epoch from '2026-07-22 21:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081811)'), GeomFromEWKT('SRID=4674;POINT (-37.628991 -4.081798)'))) / (select extract(epoch from '2026-07-22 21:21:30'::timestamp) - extract(epoch from '2026-07-22 21:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629002 -4.081796)', '2026-07-22 21:23:27', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628991 -4.081798)'), GeomFromEWKT('SRID=4674;POINT (-37.629002 -4.081796)'))) / (select extract(epoch from '2026-07-22 21:23:27'::timestamp) - extract(epoch from '2026-07-22 21:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628991 -4.081798)'), GeomFromEWKT('SRID=4674;POINT (-37.629002 -4.081796)'))) / (select extract(epoch from '2026-07-22 21:23:27'::timestamp) - extract(epoch from '2026-07-22 21:21: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'), 47415, 'SRID=4674;POINT (-37.628999 -4.081806)', '2026-07-22 21:23:59', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629002 -4.081796)'), GeomFromEWKT('SRID=4674;POINT (-37.628999 -4.081806)'))) / (select extract(epoch from '2026-07-22 21:23:59'::timestamp) - extract(epoch from '2026-07-22 21:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629002 -4.081796)'), GeomFromEWKT('SRID=4674;POINT (-37.628999 -4.081806)'))) / (select extract(epoch from '2026-07-22 21:23:59'::timestamp) - extract(epoch from '2026-07-22 21:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628999 -4.081832)', '2026-07-22 21:24:21', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628999 -4.081806)'), GeomFromEWKT('SRID=4674;POINT (-37.628999 -4.081832)'))) / (select extract(epoch from '2026-07-22 21:24:21'::timestamp) - extract(epoch from '2026-07-22 21:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628999 -4.081806)'), GeomFromEWKT('SRID=4674;POINT (-37.628999 -4.081832)'))) / (select extract(epoch from '2026-07-22 21:24:21'::timestamp) - extract(epoch from '2026-07-22 21:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628996 -4.081867)', '2026-07-22 21:25:42', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628999 -4.081832)'), GeomFromEWKT('SRID=4674;POINT (-37.628996 -4.081867)'))) / (select extract(epoch from '2026-07-22 21:25:42'::timestamp) - extract(epoch from '2026-07-22 21:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628999 -4.081832)'), GeomFromEWKT('SRID=4674;POINT (-37.628996 -4.081867)'))) / (select extract(epoch from '2026-07-22 21:25:42'::timestamp) - extract(epoch from '2026-07-22 21:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.628985 -4.081895)', '2026-07-22 21:26:06', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628996 -4.081867)'), GeomFromEWKT('SRID=4674;POINT (-37.628985 -4.081895)'))) / (select extract(epoch from '2026-07-22 21:26:06'::timestamp) - extract(epoch from '2026-07-22 21:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628996 -4.081867)'), GeomFromEWKT('SRID=4674;POINT (-37.628985 -4.081895)'))) / (select extract(epoch from '2026-07-22 21:26:06'::timestamp) - extract(epoch from '2026-07-22 21:25: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'), 47415, 'SRID=4674;POINT (-37.628985 -4.081895)', '2026-07-22 21:26:38', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628985 -4.081895)'), GeomFromEWKT('SRID=4674;POINT (-37.628985 -4.081895)'))) / (select extract(epoch from '2026-07-22 21:26:38'::timestamp) - extract(epoch from '2026-07-22 21:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628985 -4.081895)'), GeomFromEWKT('SRID=4674;POINT (-37.628985 -4.081895)'))) / (select extract(epoch from '2026-07-22 21:26:38'::timestamp) - extract(epoch from '2026-07-22 21:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629009 -4.081907)', '2026-07-22 21:29:34', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628985 -4.081895)'), GeomFromEWKT('SRID=4674;POINT (-37.629009 -4.081907)'))) / (select extract(epoch from '2026-07-22 21:29:34'::timestamp) - extract(epoch from '2026-07-22 21:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.628985 -4.081895)'), GeomFromEWKT('SRID=4674;POINT (-37.629009 -4.081907)'))) / (select extract(epoch from '2026-07-22 21:29:34'::timestamp) - extract(epoch from '2026-07-22 21:26: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'), 47415, 'SRID=4674;POINT (-37.62899 -4.081911)', '2026-07-22 21:31:20', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629009 -4.081907)'), GeomFromEWKT('SRID=4674;POINT (-37.62899 -4.081911)'))) / (select extract(epoch from '2026-07-22 21:31:20'::timestamp) - extract(epoch from '2026-07-22 21:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629009 -4.081907)'), GeomFromEWKT('SRID=4674;POINT (-37.62899 -4.081911)'))) / (select extract(epoch from '2026-07-22 21:31:20'::timestamp) - extract(epoch from '2026-07-22 21:29: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'), 47415, 'SRID=4674;POINT (-37.629012 -4.081898)', '2026-07-22 21:33:14', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62899 -4.081911)'), GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081898)'))) / (select extract(epoch from '2026-07-22 21:33:14'::timestamp) - extract(epoch from '2026-07-22 21:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62899 -4.081911)'), GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081898)'))) / (select extract(epoch from '2026-07-22 21:33:14'::timestamp) - extract(epoch from '2026-07-22 21:31: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'), 47415, 'SRID=4674;POINT (-37.629004 -4.081879)', '2026-07-22 21:34:07', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081898)'), GeomFromEWKT('SRID=4674;POINT (-37.629004 -4.081879)'))) / (select extract(epoch from '2026-07-22 21:34:07'::timestamp) - extract(epoch from '2026-07-22 21:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081898)'), GeomFromEWKT('SRID=4674;POINT (-37.629004 -4.081879)'))) / (select extract(epoch from '2026-07-22 21:34:07'::timestamp) - extract(epoch from '2026-07-22 21:33: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'), 47415, 'SRID=4674;POINT (-37.62902 -4.081785)', '2026-07-22 21:39:33', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629004 -4.081879)'), GeomFromEWKT('SRID=4674;POINT (-37.62902 -4.081785)'))) / (select extract(epoch from '2026-07-22 21:39:33'::timestamp) - extract(epoch from '2026-07-22 21:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629004 -4.081879)'), GeomFromEWKT('SRID=4674;POINT (-37.62902 -4.081785)'))) / (select extract(epoch from '2026-07-22 21:39:33'::timestamp) - extract(epoch from '2026-07-22 21:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629022 -4.081757)', '2026-07-22 21:42:27', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62902 -4.081785)'), GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081757)'))) / (select extract(epoch from '2026-07-22 21:42:27'::timestamp) - extract(epoch from '2026-07-22 21:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62902 -4.081785)'), GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081757)'))) / (select extract(epoch from '2026-07-22 21:42:27'::timestamp) - extract(epoch from '2026-07-22 21:39: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'), 47415, 'SRID=4674;POINT (-37.629016 -4.081743)', '2026-07-22 21:43:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081757)'), GeomFromEWKT('SRID=4674;POINT (-37.629016 -4.081743)'))) / (select extract(epoch from '2026-07-22 21:43:33'::timestamp) - extract(epoch from '2026-07-22 21:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629022 -4.081757)'), GeomFromEWKT('SRID=4674;POINT (-37.629016 -4.081743)'))) / (select extract(epoch from '2026-07-22 21:43:33'::timestamp) - extract(epoch from '2026-07-22 21:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629048 -4.081754)', '2026-07-22 21:43:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629016 -4.081743)'), GeomFromEWKT('SRID=4674;POINT (-37.629048 -4.081754)'))) / (select extract(epoch from '2026-07-22 21:43:47'::timestamp) - extract(epoch from '2026-07-22 21:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629016 -4.081743)'), GeomFromEWKT('SRID=4674;POINT (-37.629048 -4.081754)'))) / (select extract(epoch from '2026-07-22 21:43:47'::timestamp) - extract(epoch from '2026-07-22 21:43: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'), 47415, 'SRID=4674;POINT (-37.629049 -4.081786)', '2026-07-22 21:45:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629048 -4.081754)'), GeomFromEWKT('SRID=4674;POINT (-37.629049 -4.081786)'))) / (select extract(epoch from '2026-07-22 21:45:36'::timestamp) - extract(epoch from '2026-07-22 21:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629048 -4.081754)'), GeomFromEWKT('SRID=4674;POINT (-37.629049 -4.081786)'))) / (select extract(epoch from '2026-07-22 21:45:36'::timestamp) - extract(epoch from '2026-07-22 21:43: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'), 47415, 'SRID=4674;POINT (-37.629056 -4.081759)', '2026-07-22 21:46:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629049 -4.081786)'), GeomFromEWKT('SRID=4674;POINT (-37.629056 -4.081759)'))) / (select extract(epoch from '2026-07-22 21:46:34'::timestamp) - extract(epoch from '2026-07-22 21:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629049 -4.081786)'), GeomFromEWKT('SRID=4674;POINT (-37.629056 -4.081759)'))) / (select extract(epoch from '2026-07-22 21:46:34'::timestamp) - extract(epoch from '2026-07-22 21: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'), 47415, 'SRID=4674;POINT (-37.629071 -4.081778)', '2026-07-22 21:48:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629056 -4.081759)'), GeomFromEWKT('SRID=4674;POINT (-37.629071 -4.081778)'))) / (select extract(epoch from '2026-07-22 21:48:18'::timestamp) - extract(epoch from '2026-07-22 21:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629056 -4.081759)'), GeomFromEWKT('SRID=4674;POINT (-37.629071 -4.081778)'))) / (select extract(epoch from '2026-07-22 21:48:18'::timestamp) - extract(epoch from '2026-07-22 21:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629075 -4.081766)', '2026-07-22 21:48:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629071 -4.081778)'), GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081766)'))) / (select extract(epoch from '2026-07-22 21:48:34'::timestamp) - extract(epoch from '2026-07-22 21:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629071 -4.081778)'), GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081766)'))) / (select extract(epoch from '2026-07-22 21:48:34'::timestamp) - extract(epoch from '2026-07-22 21:48: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'), 47415, 'SRID=4674;POINT (-37.629033 -4.081768)', '2026-07-22 21:50:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081766)'), GeomFromEWKT('SRID=4674;POINT (-37.629033 -4.081768)'))) / (select extract(epoch from '2026-07-22 21:50:39'::timestamp) - extract(epoch from '2026-07-22 21:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081766)'), GeomFromEWKT('SRID=4674;POINT (-37.629033 -4.081768)'))) / (select extract(epoch from '2026-07-22 21:50:39'::timestamp) - extract(epoch from '2026-07-22 21:48: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'), 47415, 'SRID=4674;POINT (-37.629034 -4.081762)', '2026-07-22 21:50:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629033 -4.081768)'), GeomFromEWKT('SRID=4674;POINT (-37.629034 -4.081762)'))) / (select extract(epoch from '2026-07-22 21:50:48'::timestamp) - extract(epoch from '2026-07-22 21:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629033 -4.081768)'), GeomFromEWKT('SRID=4674;POINT (-37.629034 -4.081762)'))) / (select extract(epoch from '2026-07-22 21:50:48'::timestamp) - extract(epoch from '2026-07-22 21:50: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'), 47415, 'SRID=4674;POINT (-37.62905 -4.081756)', '2026-07-22 21:51:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629034 -4.081762)'), GeomFromEWKT('SRID=4674;POINT (-37.62905 -4.081756)'))) / (select extract(epoch from '2026-07-22 21:51:12'::timestamp) - extract(epoch from '2026-07-22 21:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629034 -4.081762)'), GeomFromEWKT('SRID=4674;POINT (-37.62905 -4.081756)'))) / (select extract(epoch from '2026-07-22 21:51:12'::timestamp) - extract(epoch from '2026-07-22 21: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'), 47415, 'SRID=4674;POINT (-37.629075 -4.081777)', '2026-07-22 21:51:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62905 -4.081756)'), GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081777)'))) / (select extract(epoch from '2026-07-22 21:51:54'::timestamp) - extract(epoch from '2026-07-22 21:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62905 -4.081756)'), GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081777)'))) / (select extract(epoch from '2026-07-22 21:51:54'::timestamp) - extract(epoch from '2026-07-22 21:51: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'), 47415, 'SRID=4674;POINT (-37.629076 -4.081772)', '2026-07-22 21:53:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081777)'), GeomFromEWKT('SRID=4674;POINT (-37.629076 -4.081772)'))) / (select extract(epoch from '2026-07-22 21:53:02'::timestamp) - extract(epoch from '2026-07-22 21:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081777)'), GeomFromEWKT('SRID=4674;POINT (-37.629076 -4.081772)'))) / (select extract(epoch from '2026-07-22 21:53:02'::timestamp) - extract(epoch from '2026-07-22 21:51: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'), 47415, 'SRID=4674;POINT (-37.629039 -4.081717)', '2026-07-22 21:54:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629076 -4.081772)'), GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081717)'))) / (select extract(epoch from '2026-07-22 21:54:08'::timestamp) - extract(epoch from '2026-07-22 21:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629076 -4.081772)'), GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081717)'))) / (select extract(epoch from '2026-07-22 21:54:08'::timestamp) - extract(epoch from '2026-07-22 21:53:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629067 -4.081681)', '2026-07-22 21:55:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081717)'), GeomFromEWKT('SRID=4674;POINT (-37.629067 -4.081681)'))) / (select extract(epoch from '2026-07-22 21:55:10'::timestamp) - extract(epoch from '2026-07-22 21:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081717)'), GeomFromEWKT('SRID=4674;POINT (-37.629067 -4.081681)'))) / (select extract(epoch from '2026-07-22 21:55:10'::timestamp) - extract(epoch from '2026-07-22 21:54: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'), 47415, 'SRID=4674;POINT (-37.629044 -4.081674)', '2026-07-22 21:56:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629067 -4.081681)'), GeomFromEWKT('SRID=4674;POINT (-37.629044 -4.081674)'))) / (select extract(epoch from '2026-07-22 21:56:37'::timestamp) - extract(epoch from '2026-07-22 21:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629067 -4.081681)'), GeomFromEWKT('SRID=4674;POINT (-37.629044 -4.081674)'))) / (select extract(epoch from '2026-07-22 21:56:37'::timestamp) - extract(epoch from '2026-07-22 21:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629068 -4.081716)', '2026-07-22 21:57:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629044 -4.081674)'), GeomFromEWKT('SRID=4674;POINT (-37.629068 -4.081716)'))) / (select extract(epoch from '2026-07-22 21:57:49'::timestamp) - extract(epoch from '2026-07-22 21:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629044 -4.081674)'), GeomFromEWKT('SRID=4674;POINT (-37.629068 -4.081716)'))) / (select extract(epoch from '2026-07-22 21:57:49'::timestamp) - extract(epoch from '2026-07-22 21:56: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'), 47415, 'SRID=4674;POINT (-37.629084 -4.081712)', '2026-07-22 21:59:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629068 -4.081716)'), GeomFromEWKT('SRID=4674;POINT (-37.629084 -4.081712)'))) / (select extract(epoch from '2026-07-22 21:59:13'::timestamp) - extract(epoch from '2026-07-22 21:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629068 -4.081716)'), GeomFromEWKT('SRID=4674;POINT (-37.629084 -4.081712)'))) / (select extract(epoch from '2026-07-22 21:59:13'::timestamp) - extract(epoch from '2026-07-22 21:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629079 -4.08171)', '2026-07-22 21:59:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629084 -4.081712)'), GeomFromEWKT('SRID=4674;POINT (-37.629079 -4.08171)'))) / (select extract(epoch from '2026-07-22 21:59:50'::timestamp) - extract(epoch from '2026-07-22 21:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629084 -4.081712)'), GeomFromEWKT('SRID=4674;POINT (-37.629079 -4.08171)'))) / (select extract(epoch from '2026-07-22 21:59:50'::timestamp) - extract(epoch from '2026-07-22 21:59: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'), 47415, 'SRID=4674;POINT (-37.629082 -4.081702)', '2026-07-22 22:00:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629079 -4.08171)'), GeomFromEWKT('SRID=4674;POINT (-37.629082 -4.081702)'))) / (select extract(epoch from '2026-07-22 22:00:10'::timestamp) - extract(epoch from '2026-07-22 21:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629079 -4.08171)'), GeomFromEWKT('SRID=4674;POINT (-37.629082 -4.081702)'))) / (select extract(epoch from '2026-07-22 22:00:10'::timestamp) - extract(epoch from '2026-07-22 21: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'), 47415, 'SRID=4674;POINT (-37.629075 -4.081712)', '2026-07-22 22:00:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629082 -4.081702)'), GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081712)'))) / (select extract(epoch from '2026-07-22 22:00:34'::timestamp) - extract(epoch from '2026-07-22 22:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629082 -4.081702)'), GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081712)'))) / (select extract(epoch from '2026-07-22 22:00:34'::timestamp) - extract(epoch from '2026-07-22 22:00: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'), 47415, 'SRID=4674;POINT (-37.629088 -4.081717)', '2026-07-22 22:00:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081712)'), GeomFromEWKT('SRID=4674;POINT (-37.629088 -4.081717)'))) / (select extract(epoch from '2026-07-22 22:00:51'::timestamp) - extract(epoch from '2026-07-22 22:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081712)'), GeomFromEWKT('SRID=4674;POINT (-37.629088 -4.081717)'))) / (select extract(epoch from '2026-07-22 22:00:51'::timestamp) - extract(epoch from '2026-07-22 22:00: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'), 47415, 'SRID=4674;POINT (-37.629089 -4.081727)', '2026-07-22 22:02:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629088 -4.081717)'), GeomFromEWKT('SRID=4674;POINT (-37.629089 -4.081727)'))) / (select extract(epoch from '2026-07-22 22:02:01'::timestamp) - extract(epoch from '2026-07-22 22:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629088 -4.081717)'), GeomFromEWKT('SRID=4674;POINT (-37.629089 -4.081727)'))) / (select extract(epoch from '2026-07-22 22:02:01'::timestamp) - extract(epoch from '2026-07-22 22:00: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'), 47415, 'SRID=4674;POINT (-37.629101 -4.081723)', '2026-07-22 22:02:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629089 -4.081727)'), GeomFromEWKT('SRID=4674;POINT (-37.629101 -4.081723)'))) / (select extract(epoch from '2026-07-22 22:02:19'::timestamp) - extract(epoch from '2026-07-22 22:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629089 -4.081727)'), GeomFromEWKT('SRID=4674;POINT (-37.629101 -4.081723)'))) / (select extract(epoch from '2026-07-22 22:02:19'::timestamp) - extract(epoch from '2026-07-22 22:02: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'), 47415, 'SRID=4674;POINT (-37.629123 -4.081744)', '2026-07-22 22:03:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629101 -4.081723)'), GeomFromEWKT('SRID=4674;POINT (-37.629123 -4.081744)'))) / (select extract(epoch from '2026-07-22 22:03:32'::timestamp) - extract(epoch from '2026-07-22 22:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629101 -4.081723)'), GeomFromEWKT('SRID=4674;POINT (-37.629123 -4.081744)'))) / (select extract(epoch from '2026-07-22 22:03:32'::timestamp) - extract(epoch from '2026-07-22 22: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'), 47415, 'SRID=4674;POINT (-37.629072 -4.08178)', '2026-07-22 22:06:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629123 -4.081744)'), GeomFromEWKT('SRID=4674;POINT (-37.629072 -4.08178)'))) / (select extract(epoch from '2026-07-22 22:06:38'::timestamp) - extract(epoch from '2026-07-22 22:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629123 -4.081744)'), GeomFromEWKT('SRID=4674;POINT (-37.629072 -4.08178)'))) / (select extract(epoch from '2026-07-22 22:06:38'::timestamp) - extract(epoch from '2026-07-22 22:03: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'), 47415, 'SRID=4674;POINT (-37.629075 -4.081772)', '2026-07-22 22:07:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629072 -4.08178)'), GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081772)'))) / (select extract(epoch from '2026-07-22 22:07:03'::timestamp) - extract(epoch from '2026-07-22 22:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629072 -4.08178)'), GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081772)'))) / (select extract(epoch from '2026-07-22 22:07:03'::timestamp) - extract(epoch from '2026-07-22 22: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'), 47415, 'SRID=4674;POINT (-37.629051 -4.081727)', '2026-07-22 22:13:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081772)'), GeomFromEWKT('SRID=4674;POINT (-37.629051 -4.081727)'))) / (select extract(epoch from '2026-07-22 22:13:03'::timestamp) - extract(epoch from '2026-07-22 22:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629075 -4.081772)'), GeomFromEWKT('SRID=4674;POINT (-37.629051 -4.081727)'))) / (select extract(epoch from '2026-07-22 22:13:03'::timestamp) - extract(epoch from '2026-07-22 22:07: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'), 47415, 'SRID=4674;POINT (-37.629039 -4.08173)', '2026-07-22 22:14:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629051 -4.081727)'), GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.08173)'))) / (select extract(epoch from '2026-07-22 22:14:00'::timestamp) - extract(epoch from '2026-07-22 22:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629051 -4.081727)'), GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.08173)'))) / (select extract(epoch from '2026-07-22 22:14:00'::timestamp) - extract(epoch from '2026-07-22 22:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629043 -4.081729)', '2026-07-22 22:14:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.08173)'), GeomFromEWKT('SRID=4674;POINT (-37.629043 -4.081729)'))) / (select extract(epoch from '2026-07-22 22:14:06'::timestamp) - extract(epoch from '2026-07-22 22:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.08173)'), GeomFromEWKT('SRID=4674;POINT (-37.629043 -4.081729)'))) / (select extract(epoch from '2026-07-22 22:14:06'::timestamp) - extract(epoch from '2026-07-22 22:14: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'), 47415, 'SRID=4674;POINT (-37.629044 -4.081724)', '2026-07-22 22:16:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629043 -4.081729)'), GeomFromEWKT('SRID=4674;POINT (-37.629044 -4.081724)'))) / (select extract(epoch from '2026-07-22 22:16:37'::timestamp) - extract(epoch from '2026-07-22 22:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629043 -4.081729)'), GeomFromEWKT('SRID=4674;POINT (-37.629044 -4.081724)'))) / (select extract(epoch from '2026-07-22 22:16:37'::timestamp) - extract(epoch from '2026-07-22 22:14: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'), 47415, 'SRID=4674;POINT (-37.629009 -4.081759)', '2026-07-22 22:17:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629044 -4.081724)'), GeomFromEWKT('SRID=4674;POINT (-37.629009 -4.081759)'))) / (select extract(epoch from '2026-07-22 22:17:45'::timestamp) - extract(epoch from '2026-07-22 22:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629044 -4.081724)'), GeomFromEWKT('SRID=4674;POINT (-37.629009 -4.081759)'))) / (select extract(epoch from '2026-07-22 22:17:45'::timestamp) - extract(epoch from '2026-07-22 22: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'), 47415, 'SRID=4674;POINT (-37.629047 -4.08177)', '2026-07-22 22:19:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629009 -4.081759)'), GeomFromEWKT('SRID=4674;POINT (-37.629047 -4.08177)'))) / (select extract(epoch from '2026-07-22 22:19:37'::timestamp) - extract(epoch from '2026-07-22 22:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629009 -4.081759)'), GeomFromEWKT('SRID=4674;POINT (-37.629047 -4.08177)'))) / (select extract(epoch from '2026-07-22 22:19:37'::timestamp) - extract(epoch from '2026-07-22 22:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629046 -4.081741)', '2026-07-22 22:20:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629047 -4.08177)'), GeomFromEWKT('SRID=4674;POINT (-37.629046 -4.081741)'))) / (select extract(epoch from '2026-07-22 22:20:18'::timestamp) - extract(epoch from '2026-07-22 22:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629047 -4.08177)'), GeomFromEWKT('SRID=4674;POINT (-37.629046 -4.081741)'))) / (select extract(epoch from '2026-07-22 22:20:18'::timestamp) - extract(epoch from '2026-07-22 22:19: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'), 47415, 'SRID=4674;POINT (-37.629035 -4.081722)', '2026-07-22 22:21:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629046 -4.081741)'), GeomFromEWKT('SRID=4674;POINT (-37.629035 -4.081722)'))) / (select extract(epoch from '2026-07-22 22:21:18'::timestamp) - extract(epoch from '2026-07-22 22:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629046 -4.081741)'), GeomFromEWKT('SRID=4674;POINT (-37.629035 -4.081722)'))) / (select extract(epoch from '2026-07-22 22:21:18'::timestamp) - extract(epoch from '2026-07-22 22:20: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'), 47415, 'SRID=4674;POINT (-37.629048 -4.081702)', '2026-07-22 22:21:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629035 -4.081722)'), GeomFromEWKT('SRID=4674;POINT (-37.629048 -4.081702)'))) / (select extract(epoch from '2026-07-22 22:21:58'::timestamp) - extract(epoch from '2026-07-22 22:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629035 -4.081722)'), GeomFromEWKT('SRID=4674;POINT (-37.629048 -4.081702)'))) / (select extract(epoch from '2026-07-22 22:21:58'::timestamp) - extract(epoch from '2026-07-22 22:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.62903 -4.081678)', '2026-07-22 22:22:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629048 -4.081702)'), GeomFromEWKT('SRID=4674;POINT (-37.62903 -4.081678)'))) / (select extract(epoch from '2026-07-22 22:22:11'::timestamp) - extract(epoch from '2026-07-22 22:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629048 -4.081702)'), GeomFromEWKT('SRID=4674;POINT (-37.62903 -4.081678)'))) / (select extract(epoch from '2026-07-22 22:22:11'::timestamp) - extract(epoch from '2026-07-22 22:21: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'), 47415, 'SRID=4674;POINT (-37.629051 -4.081653)', '2026-07-22 22:23:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62903 -4.081678)'), GeomFromEWKT('SRID=4674;POINT (-37.629051 -4.081653)'))) / (select extract(epoch from '2026-07-22 22:23:54'::timestamp) - extract(epoch from '2026-07-22 22:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62903 -4.081678)'), GeomFromEWKT('SRID=4674;POINT (-37.629051 -4.081653)'))) / (select extract(epoch from '2026-07-22 22:23:54'::timestamp) - extract(epoch from '2026-07-22 22:22: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'), 47415, 'SRID=4674;POINT (-37.629013 -4.08165)', '2026-07-22 22:24:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629051 -4.081653)'), GeomFromEWKT('SRID=4674;POINT (-37.629013 -4.08165)'))) / (select extract(epoch from '2026-07-22 22:24:43'::timestamp) - extract(epoch from '2026-07-22 22:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629051 -4.081653)'), GeomFromEWKT('SRID=4674;POINT (-37.629013 -4.08165)'))) / (select extract(epoch from '2026-07-22 22:24:43'::timestamp) - extract(epoch from '2026-07-22 22:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629033 -4.081673)', '2026-07-22 22:26:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629013 -4.08165)'), GeomFromEWKT('SRID=4674;POINT (-37.629033 -4.081673)'))) / (select extract(epoch from '2026-07-22 22:26:22'::timestamp) - extract(epoch from '2026-07-22 22:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629013 -4.08165)'), GeomFromEWKT('SRID=4674;POINT (-37.629033 -4.081673)'))) / (select extract(epoch from '2026-07-22 22:26:22'::timestamp) - extract(epoch from '2026-07-22 22:24:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629011 -4.08165)', '2026-07-22 22:27:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629033 -4.081673)'), GeomFromEWKT('SRID=4674;POINT (-37.629011 -4.08165)'))) / (select extract(epoch from '2026-07-22 22:27:29'::timestamp) - extract(epoch from '2026-07-22 22:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629033 -4.081673)'), GeomFromEWKT('SRID=4674;POINT (-37.629011 -4.08165)'))) / (select extract(epoch from '2026-07-22 22:27:29'::timestamp) - extract(epoch from '2026-07-22 22:26:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629027 -4.081601)', '2026-07-22 22:31:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629011 -4.08165)'), GeomFromEWKT('SRID=4674;POINT (-37.629027 -4.081601)'))) / (select extract(epoch from '2026-07-22 22:31:17'::timestamp) - extract(epoch from '2026-07-22 22:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629011 -4.08165)'), GeomFromEWKT('SRID=4674;POINT (-37.629027 -4.081601)'))) / (select extract(epoch from '2026-07-22 22:31:17'::timestamp) - extract(epoch from '2026-07-22 22:27: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'), 47415, 'SRID=4674;POINT (-37.629021 -4.081594)', '2026-07-22 22:32:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629027 -4.081601)'), GeomFromEWKT('SRID=4674;POINT (-37.629021 -4.081594)'))) / (select extract(epoch from '2026-07-22 22:32:50'::timestamp) - extract(epoch from '2026-07-22 22:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629027 -4.081601)'), GeomFromEWKT('SRID=4674;POINT (-37.629021 -4.081594)'))) / (select extract(epoch from '2026-07-22 22:32:50'::timestamp) - extract(epoch from '2026-07-22 22:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629032 -4.081597)', '2026-07-22 22:32:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629021 -4.081594)'), GeomFromEWKT('SRID=4674;POINT (-37.629032 -4.081597)'))) / (select extract(epoch from '2026-07-22 22:32:56'::timestamp) - extract(epoch from '2026-07-22 22:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629021 -4.081594)'), GeomFromEWKT('SRID=4674;POINT (-37.629032 -4.081597)'))) / (select extract(epoch from '2026-07-22 22:32:56'::timestamp) - extract(epoch from '2026-07-22 22:32: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'), 47415, 'SRID=4674;POINT (-37.629013 -4.081605)', '2026-07-22 22:34:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629032 -4.081597)'), GeomFromEWKT('SRID=4674;POINT (-37.629013 -4.081605)'))) / (select extract(epoch from '2026-07-22 22:34:20'::timestamp) - extract(epoch from '2026-07-22 22:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629032 -4.081597)'), GeomFromEWKT('SRID=4674;POINT (-37.629013 -4.081605)'))) / (select extract(epoch from '2026-07-22 22:34:20'::timestamp) - extract(epoch from '2026-07-22 22:32: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'), 47415, 'SRID=4674;POINT (-37.629026 -4.081601)', '2026-07-22 22:35:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629013 -4.081605)'), GeomFromEWKT('SRID=4674;POINT (-37.629026 -4.081601)'))) / (select extract(epoch from '2026-07-22 22:35:30'::timestamp) - extract(epoch from '2026-07-22 22:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629013 -4.081605)'), GeomFromEWKT('SRID=4674;POINT (-37.629026 -4.081601)'))) / (select extract(epoch from '2026-07-22 22:35:30'::timestamp) - extract(epoch from '2026-07-22 22: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'), 47415, 'SRID=4674;POINT (-37.629016 -4.081602)', '2026-07-22 22:35:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629026 -4.081601)'), GeomFromEWKT('SRID=4674;POINT (-37.629016 -4.081602)'))) / (select extract(epoch from '2026-07-22 22:35:35'::timestamp) - extract(epoch from '2026-07-22 22:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629026 -4.081601)'), GeomFromEWKT('SRID=4674;POINT (-37.629016 -4.081602)'))) / (select extract(epoch from '2026-07-22 22:35:35'::timestamp) - extract(epoch from '2026-07-22 22:35: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'), 47415, 'SRID=4674;POINT (-37.629014 -4.081595)', '2026-07-22 22:36:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629016 -4.081602)'), GeomFromEWKT('SRID=4674;POINT (-37.629014 -4.081595)'))) / (select extract(epoch from '2026-07-22 22:36:36'::timestamp) - extract(epoch from '2026-07-22 22:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629016 -4.081602)'), GeomFromEWKT('SRID=4674;POINT (-37.629014 -4.081595)'))) / (select extract(epoch from '2026-07-22 22:36:36'::timestamp) - extract(epoch from '2026-07-22 22:35: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'), 47415, 'SRID=4674;POINT (-37.629007 -4.081603)', '2026-07-22 22:37:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629014 -4.081595)'), GeomFromEWKT('SRID=4674;POINT (-37.629007 -4.081603)'))) / (select extract(epoch from '2026-07-22 22:37:56'::timestamp) - extract(epoch from '2026-07-22 22:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629014 -4.081595)'), GeomFromEWKT('SRID=4674;POINT (-37.629007 -4.081603)'))) / (select extract(epoch from '2026-07-22 22:37:56'::timestamp) - extract(epoch from '2026-07-22 22: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'), 47415, 'SRID=4674;POINT (-37.629037 -4.081621)', '2026-07-22 22:38:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629007 -4.081603)'), GeomFromEWKT('SRID=4674;POINT (-37.629037 -4.081621)'))) / (select extract(epoch from '2026-07-22 22:38:10'::timestamp) - extract(epoch from '2026-07-22 22:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629007 -4.081603)'), GeomFromEWKT('SRID=4674;POINT (-37.629037 -4.081621)'))) / (select extract(epoch from '2026-07-22 22:38:10'::timestamp) - extract(epoch from '2026-07-22 22:37: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'), 47415, 'SRID=4674;POINT (-37.629036 -4.081569)', '2026-07-22 22:40:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629037 -4.081621)'), GeomFromEWKT('SRID=4674;POINT (-37.629036 -4.081569)'))) / (select extract(epoch from '2026-07-22 22:40:56'::timestamp) - extract(epoch from '2026-07-22 22:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629037 -4.081621)'), GeomFromEWKT('SRID=4674;POINT (-37.629036 -4.081569)'))) / (select extract(epoch from '2026-07-22 22:40:56'::timestamp) - extract(epoch from '2026-07-22 22: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'), 47415, 'SRID=4674;POINT (-37.62903 -4.081564)', '2026-07-22 22:41:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629036 -4.081569)'), GeomFromEWKT('SRID=4674;POINT (-37.62903 -4.081564)'))) / (select extract(epoch from '2026-07-22 22:41:38'::timestamp) - extract(epoch from '2026-07-22 22:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629036 -4.081569)'), GeomFromEWKT('SRID=4674;POINT (-37.62903 -4.081564)'))) / (select extract(epoch from '2026-07-22 22:41:38'::timestamp) - extract(epoch from '2026-07-22 22:40: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'), 47415, 'SRID=4674;POINT (-37.629041 -4.081558)', '2026-07-22 22:43:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62903 -4.081564)'), GeomFromEWKT('SRID=4674;POINT (-37.629041 -4.081558)'))) / (select extract(epoch from '2026-07-22 22:43:32'::timestamp) - extract(epoch from '2026-07-22 22:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62903 -4.081564)'), GeomFromEWKT('SRID=4674;POINT (-37.629041 -4.081558)'))) / (select extract(epoch from '2026-07-22 22:43:32'::timestamp) - extract(epoch from '2026-07-22 22:41:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629039 -4.081556)', '2026-07-22 22:44:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629041 -4.081558)'), GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081556)'))) / (select extract(epoch from '2026-07-22 22:44:16'::timestamp) - extract(epoch from '2026-07-22 22:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629041 -4.081558)'), GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081556)'))) / (select extract(epoch from '2026-07-22 22:44:16'::timestamp) - extract(epoch from '2026-07-22 22:43:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629028 -4.081499)', '2026-07-22 22:45:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081556)'), GeomFromEWKT('SRID=4674;POINT (-37.629028 -4.081499)'))) / (select extract(epoch from '2026-07-22 22:45:47'::timestamp) - extract(epoch from '2026-07-22 22:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081556)'), GeomFromEWKT('SRID=4674;POINT (-37.629028 -4.081499)'))) / (select extract(epoch from '2026-07-22 22:45:47'::timestamp) - extract(epoch from '2026-07-22 22:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629028 -4.081486)', '2026-07-22 22:46:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629028 -4.081499)'), GeomFromEWKT('SRID=4674;POINT (-37.629028 -4.081486)'))) / (select extract(epoch from '2026-07-22 22:46:20'::timestamp) - extract(epoch from '2026-07-22 22:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629028 -4.081499)'), GeomFromEWKT('SRID=4674;POINT (-37.629028 -4.081486)'))) / (select extract(epoch from '2026-07-22 22:46:20'::timestamp) - extract(epoch from '2026-07-22 22:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629012 -4.081493)', '2026-07-22 22:46:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629028 -4.081486)'), GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081493)'))) / (select extract(epoch from '2026-07-22 22:46:51'::timestamp) - extract(epoch from '2026-07-22 22:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629028 -4.081486)'), GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081493)'))) / (select extract(epoch from '2026-07-22 22:46:51'::timestamp) - extract(epoch from '2026-07-22 22: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'), 47415, 'SRID=4674;POINT (-37.62904 -4.081499)', '2026-07-22 22:48:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081493)'), GeomFromEWKT('SRID=4674;POINT (-37.62904 -4.081499)'))) / (select extract(epoch from '2026-07-22 22:48:37'::timestamp) - extract(epoch from '2026-07-22 22:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629012 -4.081493)'), GeomFromEWKT('SRID=4674;POINT (-37.62904 -4.081499)'))) / (select extract(epoch from '2026-07-22 22:48:37'::timestamp) - extract(epoch from '2026-07-22 22:46: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'), 47415, 'SRID=4674;POINT (-37.62904 -4.08147)', '2026-07-22 22:51:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62904 -4.081499)'), GeomFromEWKT('SRID=4674;POINT (-37.62904 -4.08147)'))) / (select extract(epoch from '2026-07-22 22:51:23'::timestamp) - extract(epoch from '2026-07-22 22:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62904 -4.081499)'), GeomFromEWKT('SRID=4674;POINT (-37.62904 -4.08147)'))) / (select extract(epoch from '2026-07-22 22:51:23'::timestamp) - extract(epoch from '2026-07-22 22:48: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'), 47415, 'SRID=4674;POINT (-37.629034 -4.081493)', '2026-07-22 22:52:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62904 -4.08147)'), GeomFromEWKT('SRID=4674;POINT (-37.629034 -4.081493)'))) / (select extract(epoch from '2026-07-22 22:52:10'::timestamp) - extract(epoch from '2026-07-22 22:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.62904 -4.08147)'), GeomFromEWKT('SRID=4674;POINT (-37.629034 -4.081493)'))) / (select extract(epoch from '2026-07-22 22:52:10'::timestamp) - extract(epoch from '2026-07-22 22:51: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'), 47415, 'SRID=4674;POINT (-37.629039 -4.081493)', '2026-07-22 22:52:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629034 -4.081493)'), GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081493)'))) / (select extract(epoch from '2026-07-22 22:52:23'::timestamp) - extract(epoch from '2026-07-22 22:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629034 -4.081493)'), GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081493)'))) / (select extract(epoch from '2026-07-22 22:52:23'::timestamp) - extract(epoch from '2026-07-22 22:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629042 -4.081516)', '2026-07-22 22:53:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081493)'), GeomFromEWKT('SRID=4674;POINT (-37.629042 -4.081516)'))) / (select extract(epoch from '2026-07-22 22:53:08'::timestamp) - extract(epoch from '2026-07-22 22:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629039 -4.081493)'), GeomFromEWKT('SRID=4674;POINT (-37.629042 -4.081516)'))) / (select extract(epoch from '2026-07-22 22:53:08'::timestamp) - extract(epoch from '2026-07-22 22:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.629017 -4.081549)', '2026-07-22 22:53:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629042 -4.081516)'), GeomFromEWKT('SRID=4674;POINT (-37.629017 -4.081549)'))) / (select extract(epoch from '2026-07-22 22:53:32'::timestamp) - extract(epoch from '2026-07-22 22:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.629042 -4.081516)'), GeomFromEWKT('SRID=4674;POINT (-37.629017 -4.081549)'))) / (select extract(epoch from '2026-07-22 22:53:32'::timestamp) - extract(epoch from '2026-07-22 22:53:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
