BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311582 -2.792364)', '2026-07-10 07:41:18', -1.4, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311605 -2.792335)', '2026-07-10 07:41:37', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792364)'), GeomFromEWKT('SRID=4674;POINT (-40.311605 -2.792335)'))) / (select extract(epoch from '2026-07-10 07:41:37'::timestamp) - extract(epoch from '2026-07-10 07:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792364)'), GeomFromEWKT('SRID=4674;POINT (-40.311605 -2.792335)'))) / (select extract(epoch from '2026-07-10 07:41:37'::timestamp) - extract(epoch from '2026-07-10 07:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311591 -2.792311)', '2026-07-10 07:41:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311605 -2.792335)'), GeomFromEWKT('SRID=4674;POINT (-40.311591 -2.792311)'))) / (select extract(epoch from '2026-07-10 07:41:58'::timestamp) - extract(epoch from '2026-07-10 07:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311605 -2.792335)'), GeomFromEWKT('SRID=4674;POINT (-40.311591 -2.792311)'))) / (select extract(epoch from '2026-07-10 07:41:58'::timestamp) - extract(epoch from '2026-07-10 07:41: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'), 47835, 'SRID=4674;POINT (-40.311576 -2.792311)', '2026-07-10 07:42:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311591 -2.792311)'), GeomFromEWKT('SRID=4674;POINT (-40.311576 -2.792311)'))) / (select extract(epoch from '2026-07-10 07:42:17'::timestamp) - extract(epoch from '2026-07-10 07:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311591 -2.792311)'), GeomFromEWKT('SRID=4674;POINT (-40.311576 -2.792311)'))) / (select extract(epoch from '2026-07-10 07:42:17'::timestamp) - extract(epoch from '2026-07-10 07:41: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'), 47835, 'SRID=4674;POINT (-40.311578 -2.792309)', '2026-07-10 07:42:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311576 -2.792311)'), GeomFromEWKT('SRID=4674;POINT (-40.311578 -2.792309)'))) / (select extract(epoch from '2026-07-10 07:42:42'::timestamp) - extract(epoch from '2026-07-10 07:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311576 -2.792311)'), GeomFromEWKT('SRID=4674;POINT (-40.311578 -2.792309)'))) / (select extract(epoch from '2026-07-10 07:42:42'::timestamp) - extract(epoch from '2026-07-10 07:42: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'), 47835, 'SRID=4674;POINT (-40.311575 -2.792311)', '2026-07-10 07:42:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311578 -2.792309)'), GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792311)'))) / (select extract(epoch from '2026-07-10 07:42:51'::timestamp) - extract(epoch from '2026-07-10 07:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311578 -2.792309)'), GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792311)'))) / (select extract(epoch from '2026-07-10 07:42:51'::timestamp) - extract(epoch from '2026-07-10 07:42:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311573 -2.792312)', '2026-07-10 07:43:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792311)'), GeomFromEWKT('SRID=4674;POINT (-40.311573 -2.792312)'))) / (select extract(epoch from '2026-07-10 07:43:05'::timestamp) - extract(epoch from '2026-07-10 07:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792311)'), GeomFromEWKT('SRID=4674;POINT (-40.311573 -2.792312)'))) / (select extract(epoch from '2026-07-10 07:43:05'::timestamp) - extract(epoch from '2026-07-10 07:42:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311574 -2.792313)', '2026-07-10 07:43:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311573 -2.792312)'), GeomFromEWKT('SRID=4674;POINT (-40.311574 -2.792313)'))) / (select extract(epoch from '2026-07-10 07:43:26'::timestamp) - extract(epoch from '2026-07-10 07:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311573 -2.792312)'), GeomFromEWKT('SRID=4674;POINT (-40.311574 -2.792313)'))) / (select extract(epoch from '2026-07-10 07:43:26'::timestamp) - extract(epoch from '2026-07-10 07:43: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'), 47835, 'SRID=4674;POINT (-40.311577 -2.792318)', '2026-07-10 07:43:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311574 -2.792313)'), GeomFromEWKT('SRID=4674;POINT (-40.311577 -2.792318)'))) / (select extract(epoch from '2026-07-10 07:43:46'::timestamp) - extract(epoch from '2026-07-10 07:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311574 -2.792313)'), GeomFromEWKT('SRID=4674;POINT (-40.311577 -2.792318)'))) / (select extract(epoch from '2026-07-10 07:43:46'::timestamp) - extract(epoch from '2026-07-10 07:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311581 -2.792326)', '2026-07-10 07:44:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311577 -2.792318)'), GeomFromEWKT('SRID=4674;POINT (-40.311581 -2.792326)'))) / (select extract(epoch from '2026-07-10 07:44:02'::timestamp) - extract(epoch from '2026-07-10 07:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311577 -2.792318)'), GeomFromEWKT('SRID=4674;POINT (-40.311581 -2.792326)'))) / (select extract(epoch from '2026-07-10 07:44:02'::timestamp) - extract(epoch from '2026-07-10 07:43:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311583 -2.792324)', '2026-07-10 07:44:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311581 -2.792326)'), GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792324)'))) / (select extract(epoch from '2026-07-10 07:44:17'::timestamp) - extract(epoch from '2026-07-10 07:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311581 -2.792326)'), GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792324)'))) / (select extract(epoch from '2026-07-10 07:44:17'::timestamp) - extract(epoch from '2026-07-10 07:44: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'), 47835, 'SRID=4674;POINT (-40.311583 -2.792325)', '2026-07-10 07:44:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792324)'), GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792325)'))) / (select extract(epoch from '2026-07-10 07:44:30'::timestamp) - extract(epoch from '2026-07-10 07:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792324)'), GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792325)'))) / (select extract(epoch from '2026-07-10 07:44:30'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47835, 'SRID=4674;POINT (-40.311588 -2.792329)', '2026-07-10 07:44:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792325)'), GeomFromEWKT('SRID=4674;POINT (-40.311588 -2.792329)'))) / (select extract(epoch from '2026-07-10 07:44:52'::timestamp) - extract(epoch from '2026-07-10 07:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792325)'), GeomFromEWKT('SRID=4674;POINT (-40.311588 -2.792329)'))) / (select extract(epoch from '2026-07-10 07:44:52'::timestamp) - extract(epoch from '2026-07-10 07:44:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311592 -2.792332)', '2026-07-10 07:45:16', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311588 -2.792329)'), GeomFromEWKT('SRID=4674;POINT (-40.311592 -2.792332)'))) / (select extract(epoch from '2026-07-10 07:45:16'::timestamp) - extract(epoch from '2026-07-10 07:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311588 -2.792329)'), GeomFromEWKT('SRID=4674;POINT (-40.311592 -2.792332)'))) / (select extract(epoch from '2026-07-10 07:45:16'::timestamp) - extract(epoch from '2026-07-10 07:44: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'), 47835, 'SRID=4674;POINT (-40.311588 -2.792325)', '2026-07-10 07:45:38', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311592 -2.792332)'), GeomFromEWKT('SRID=4674;POINT (-40.311588 -2.792325)'))) / (select extract(epoch from '2026-07-10 07:45:38'::timestamp) - extract(epoch from '2026-07-10 07:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311592 -2.792332)'), GeomFromEWKT('SRID=4674;POINT (-40.311588 -2.792325)'))) / (select extract(epoch from '2026-07-10 07:45:38'::timestamp) - extract(epoch from '2026-07-10 07:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311587 -2.792321)', '2026-07-10 07:45:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311588 -2.792325)'), GeomFromEWKT('SRID=4674;POINT (-40.311587 -2.792321)'))) / (select extract(epoch from '2026-07-10 07:45:46'::timestamp) - extract(epoch from '2026-07-10 07:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311588 -2.792325)'), GeomFromEWKT('SRID=4674;POINT (-40.311587 -2.792321)'))) / (select extract(epoch from '2026-07-10 07:45:46'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47835, 'SRID=4674;POINT (-40.311581 -2.792325)', '2026-07-10 07:46:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311587 -2.792321)'), GeomFromEWKT('SRID=4674;POINT (-40.311581 -2.792325)'))) / (select extract(epoch from '2026-07-10 07:46:09'::timestamp) - extract(epoch from '2026-07-10 07:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311587 -2.792321)'), GeomFromEWKT('SRID=4674;POINT (-40.311581 -2.792325)'))) / (select extract(epoch from '2026-07-10 07:46:09'::timestamp) - extract(epoch from '2026-07-10 07:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311569 -2.792321)', '2026-07-10 07:46:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311581 -2.792325)'), GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.792321)'))) / (select extract(epoch from '2026-07-10 07:46:30'::timestamp) - extract(epoch from '2026-07-10 07:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311581 -2.792325)'), GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.792321)'))) / (select extract(epoch from '2026-07-10 07:46:30'::timestamp) - extract(epoch from '2026-07-10 07:46: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'), 47835, 'SRID=4674;POINT (-40.311568 -2.792322)', '2026-07-10 07:46:48', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.792321)'), GeomFromEWKT('SRID=4674;POINT (-40.311568 -2.792322)'))) / (select extract(epoch from '2026-07-10 07:46:48'::timestamp) - extract(epoch from '2026-07-10 07:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.792321)'), GeomFromEWKT('SRID=4674;POINT (-40.311568 -2.792322)'))) / (select extract(epoch from '2026-07-10 07:46:48'::timestamp) - extract(epoch from '2026-07-10 07:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311575 -2.792327)', '2026-07-10 07:47:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311568 -2.792322)'), GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792327)'))) / (select extract(epoch from '2026-07-10 07:47:14'::timestamp) - extract(epoch from '2026-07-10 07:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311568 -2.792322)'), GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792327)'))) / (select extract(epoch from '2026-07-10 07:47:14'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47835, 'SRID=4674;POINT (-40.311577 -2.79233)', '2026-07-10 07:47:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792327)'), GeomFromEWKT('SRID=4674;POINT (-40.311577 -2.79233)'))) / (select extract(epoch from '2026-07-10 07:47:26'::timestamp) - extract(epoch from '2026-07-10 07:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792327)'), GeomFromEWKT('SRID=4674;POINT (-40.311577 -2.79233)'))) / (select extract(epoch from '2026-07-10 07:47:26'::timestamp) - extract(epoch from '2026-07-10 07:47:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311586 -2.792339)', '2026-07-10 07:47:44', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311577 -2.79233)'), GeomFromEWKT('SRID=4674;POINT (-40.311586 -2.792339)'))) / (select extract(epoch from '2026-07-10 07:47:44'::timestamp) - extract(epoch from '2026-07-10 07:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311577 -2.79233)'), GeomFromEWKT('SRID=4674;POINT (-40.311586 -2.792339)'))) / (select extract(epoch from '2026-07-10 07:47:44'::timestamp) - extract(epoch from '2026-07-10 07:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311584 -2.792345)', '2026-07-10 07:48:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311586 -2.792339)'), GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.792345)'))) / (select extract(epoch from '2026-07-10 07:48:06'::timestamp) - extract(epoch from '2026-07-10 07:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311586 -2.792339)'), GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.792345)'))) / (select extract(epoch from '2026-07-10 07:48:06'::timestamp) - extract(epoch from '2026-07-10 07:47: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'), 47835, 'SRID=4674;POINT (-40.311582 -2.792349)', '2026-07-10 07:48:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.792345)'), GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792349)'))) / (select extract(epoch from '2026-07-10 07:48:29'::timestamp) - extract(epoch from '2026-07-10 07:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.792345)'), GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792349)'))) / (select extract(epoch from '2026-07-10 07:48:29'::timestamp) - extract(epoch from '2026-07-10 07:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311583 -2.792364)', '2026-07-10 07:48:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792349)'), GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792364)'))) / (select extract(epoch from '2026-07-10 07:48:55'::timestamp) - extract(epoch from '2026-07-10 07:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792349)'), GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792364)'))) / (select extract(epoch from '2026-07-10 07:48:55'::timestamp) - extract(epoch from '2026-07-10 07:48: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'), 47835, 'SRID=4674;POINT (-40.311584 -2.792368)', '2026-07-10 07:49:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792364)'), GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.792368)'))) / (select extract(epoch from '2026-07-10 07:49:17'::timestamp) - extract(epoch from '2026-07-10 07:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792364)'), GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.792368)'))) / (select extract(epoch from '2026-07-10 07:49:17'::timestamp) - extract(epoch from '2026-07-10 07:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311582 -2.792374)', '2026-07-10 07:49:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.792368)'), GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792374)'))) / (select extract(epoch from '2026-07-10 07:49:35'::timestamp) - extract(epoch from '2026-07-10 07:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.792368)'), GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792374)'))) / (select extract(epoch from '2026-07-10 07:49:35'::timestamp) - extract(epoch from '2026-07-10 07:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311582 -2.792371)', '2026-07-10 07:49:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792374)'), GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792371)'))) / (select extract(epoch from '2026-07-10 07:49:58'::timestamp) - extract(epoch from '2026-07-10 07:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792374)'), GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792371)'))) / (select extract(epoch from '2026-07-10 07:49:58'::timestamp) - extract(epoch from '2026-07-10 07:49: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'), 47835, 'SRID=4674;POINT (-40.311575 -2.792367)', '2026-07-10 07:50:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792371)'), GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792367)'))) / (select extract(epoch from '2026-07-10 07:50:10'::timestamp) - extract(epoch from '2026-07-10 07:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.792371)'), GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792367)'))) / (select extract(epoch from '2026-07-10 07:50:10'::timestamp) - extract(epoch from '2026-07-10 07:49:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311575 -2.792363)', '2026-07-10 07:50:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792367)'), GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792363)'))) / (select extract(epoch from '2026-07-10 07:50:32'::timestamp) - extract(epoch from '2026-07-10 07:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792367)'), GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792363)'))) / (select extract(epoch from '2026-07-10 07:50:32'::timestamp) - extract(epoch from '2026-07-10 07:50: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'), 47835, 'SRID=4674;POINT (-40.31157 -2.792372)', '2026-07-10 07:50:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792363)'), GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.792372)'))) / (select extract(epoch from '2026-07-10 07:50:47'::timestamp) - extract(epoch from '2026-07-10 07:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311575 -2.792363)'), GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.792372)'))) / (select extract(epoch from '2026-07-10 07:50:47'::timestamp) - extract(epoch from '2026-07-10 07:50: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'), 47835, 'SRID=4674;POINT (-40.311523 -2.792397)', '2026-07-10 07:50:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.792372)'), GeomFromEWKT('SRID=4674;POINT (-40.311523 -2.792397)'))) / (select extract(epoch from '2026-07-10 07:50:59'::timestamp) - extract(epoch from '2026-07-10 07:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.792372)'), GeomFromEWKT('SRID=4674;POINT (-40.311523 -2.792397)'))) / (select extract(epoch from '2026-07-10 07:50:59'::timestamp) - extract(epoch from '2026-07-10 07:50: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'), 47835, 'SRID=4674;POINT (-40.311468 -2.792416)', '2026-07-10 07:51:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311523 -2.792397)'), GeomFromEWKT('SRID=4674;POINT (-40.311468 -2.792416)'))) / (select extract(epoch from '2026-07-10 07:51:13'::timestamp) - extract(epoch from '2026-07-10 07:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311523 -2.792397)'), GeomFromEWKT('SRID=4674;POINT (-40.311468 -2.792416)'))) / (select extract(epoch from '2026-07-10 07:51:13'::timestamp) - extract(epoch from '2026-07-10 07:50: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'), 47835, 'SRID=4674;POINT (-40.311425 -2.792419)', '2026-07-10 07:51:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311468 -2.792416)'), GeomFromEWKT('SRID=4674;POINT (-40.311425 -2.792419)'))) / (select extract(epoch from '2026-07-10 07:51:29'::timestamp) - extract(epoch from '2026-07-10 07:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311468 -2.792416)'), GeomFromEWKT('SRID=4674;POINT (-40.311425 -2.792419)'))) / (select extract(epoch from '2026-07-10 07:51:29'::timestamp) - extract(epoch from '2026-07-10 07:51: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'), 47835, 'SRID=4674;POINT (-40.311439 -2.792408)', '2026-07-10 07:51:48', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311425 -2.792419)'), GeomFromEWKT('SRID=4674;POINT (-40.311439 -2.792408)'))) / (select extract(epoch from '2026-07-10 07:51:48'::timestamp) - extract(epoch from '2026-07-10 07:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311425 -2.792419)'), GeomFromEWKT('SRID=4674;POINT (-40.311439 -2.792408)'))) / (select extract(epoch from '2026-07-10 07:51:48'::timestamp) - extract(epoch from '2026-07-10 07:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311473 -2.792415)', '2026-07-10 07:52:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311439 -2.792408)'), GeomFromEWKT('SRID=4674;POINT (-40.311473 -2.792415)'))) / (select extract(epoch from '2026-07-10 07:52:06'::timestamp) - extract(epoch from '2026-07-10 07:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311439 -2.792408)'), GeomFromEWKT('SRID=4674;POINT (-40.311473 -2.792415)'))) / (select extract(epoch from '2026-07-10 07:52:06'::timestamp) - extract(epoch from '2026-07-10 07:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311514 -2.792415)', '2026-07-10 07:52:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311473 -2.792415)'), GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.792415)'))) / (select extract(epoch from '2026-07-10 07:52:22'::timestamp) - extract(epoch from '2026-07-10 07:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311473 -2.792415)'), GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.792415)'))) / (select extract(epoch from '2026-07-10 07:52:22'::timestamp) - extract(epoch from '2026-07-10 07:52: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'), 47835, 'SRID=4674;POINT (-40.311569 -2.792423)', '2026-07-10 07:52:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.792415)'), GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.792423)'))) / (select extract(epoch from '2026-07-10 07:52:37'::timestamp) - extract(epoch from '2026-07-10 07:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.792415)'), GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.792423)'))) / (select extract(epoch from '2026-07-10 07:52:37'::timestamp) - extract(epoch from '2026-07-10 07:52: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'), 47835, 'SRID=4674;POINT (-40.311636 -2.792423)', '2026-07-10 07:52:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.792423)'), GeomFromEWKT('SRID=4674;POINT (-40.311636 -2.792423)'))) / (select extract(epoch from '2026-07-10 07:52:54'::timestamp) - extract(epoch from '2026-07-10 07:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.792423)'), GeomFromEWKT('SRID=4674;POINT (-40.311636 -2.792423)'))) / (select extract(epoch from '2026-07-10 07:52:54'::timestamp) - extract(epoch from '2026-07-10 07:52: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'), 47835, 'SRID=4674;POINT (-40.311708 -2.792421)', '2026-07-10 07:53:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311636 -2.792423)'), GeomFromEWKT('SRID=4674;POINT (-40.311708 -2.792421)'))) / (select extract(epoch from '2026-07-10 07:53:13'::timestamp) - extract(epoch from '2026-07-10 07:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311636 -2.792423)'), GeomFromEWKT('SRID=4674;POINT (-40.311708 -2.792421)'))) / (select extract(epoch from '2026-07-10 07:53:13'::timestamp) - extract(epoch from '2026-07-10 07:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311776 -2.792439)', '2026-07-10 07:53:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311708 -2.792421)'), GeomFromEWKT('SRID=4674;POINT (-40.311776 -2.792439)'))) / (select extract(epoch from '2026-07-10 07:53:29'::timestamp) - extract(epoch from '2026-07-10 07:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311708 -2.792421)'), GeomFromEWKT('SRID=4674;POINT (-40.311776 -2.792439)'))) / (select extract(epoch from '2026-07-10 07:53:29'::timestamp) - extract(epoch from '2026-07-10 07:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311828 -2.792442)', '2026-07-10 07:53:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311776 -2.792439)'), GeomFromEWKT('SRID=4674;POINT (-40.311828 -2.792442)'))) / (select extract(epoch from '2026-07-10 07:53:45'::timestamp) - extract(epoch from '2026-07-10 07:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311776 -2.792439)'), GeomFromEWKT('SRID=4674;POINT (-40.311828 -2.792442)'))) / (select extract(epoch from '2026-07-10 07:53:45'::timestamp) - extract(epoch from '2026-07-10 07:53: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'), 47835, 'SRID=4674;POINT (-40.311905 -2.792439)', '2026-07-10 07:54:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311828 -2.792442)'), GeomFromEWKT('SRID=4674;POINT (-40.311905 -2.792439)'))) / (select extract(epoch from '2026-07-10 07:54:04'::timestamp) - extract(epoch from '2026-07-10 07:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311828 -2.792442)'), GeomFromEWKT('SRID=4674;POINT (-40.311905 -2.792439)'))) / (select extract(epoch from '2026-07-10 07:54:04'::timestamp) - extract(epoch from '2026-07-10 07:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.311993 -2.792447)', '2026-07-10 07:54:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311905 -2.792439)'), GeomFromEWKT('SRID=4674;POINT (-40.311993 -2.792447)'))) / (select extract(epoch from '2026-07-10 07:54:17'::timestamp) - extract(epoch from '2026-07-10 07:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311905 -2.792439)'), GeomFromEWKT('SRID=4674;POINT (-40.311993 -2.792447)'))) / (select extract(epoch from '2026-07-10 07:54:17'::timestamp) - extract(epoch from '2026-07-10 07:54: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'), 47835, 'SRID=4674;POINT (-40.312062 -2.792467)', '2026-07-10 07:54:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311993 -2.792447)'), GeomFromEWKT('SRID=4674;POINT (-40.312062 -2.792467)'))) / (select extract(epoch from '2026-07-10 07:54:30'::timestamp) - extract(epoch from '2026-07-10 07:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311993 -2.792447)'), GeomFromEWKT('SRID=4674;POINT (-40.312062 -2.792467)'))) / (select extract(epoch from '2026-07-10 07:54:30'::timestamp) - extract(epoch from '2026-07-10 07:54: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'), 47835, 'SRID=4674;POINT (-40.312142 -2.792484)', '2026-07-10 07:54:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312062 -2.792467)'), GeomFromEWKT('SRID=4674;POINT (-40.312142 -2.792484)'))) / (select extract(epoch from '2026-07-10 07:54:47'::timestamp) - extract(epoch from '2026-07-10 07:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312062 -2.792467)'), GeomFromEWKT('SRID=4674;POINT (-40.312142 -2.792484)'))) / (select extract(epoch from '2026-07-10 07:54:47'::timestamp) - extract(epoch from '2026-07-10 07:54: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'), 47835, 'SRID=4674;POINT (-40.3122 -2.792481)', '2026-07-10 07:55:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312142 -2.792484)'), GeomFromEWKT('SRID=4674;POINT (-40.3122 -2.792481)'))) / (select extract(epoch from '2026-07-10 07:55:01'::timestamp) - extract(epoch from '2026-07-10 07:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312142 -2.792484)'), GeomFromEWKT('SRID=4674;POINT (-40.3122 -2.792481)'))) / (select extract(epoch from '2026-07-10 07:55:01'::timestamp) - extract(epoch from '2026-07-10 07:54: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'), 47835, 'SRID=4674;POINT (-40.312276 -2.792492)', '2026-07-10 07:55:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3122 -2.792481)'), GeomFromEWKT('SRID=4674;POINT (-40.312276 -2.792492)'))) / (select extract(epoch from '2026-07-10 07:55:19'::timestamp) - extract(epoch from '2026-07-10 07:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3122 -2.792481)'), GeomFromEWKT('SRID=4674;POINT (-40.312276 -2.792492)'))) / (select extract(epoch from '2026-07-10 07:55:19'::timestamp) - extract(epoch from '2026-07-10 07:55: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'), 47835, 'SRID=4674;POINT (-40.31234 -2.792501)', '2026-07-10 07:55:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312276 -2.792492)'), GeomFromEWKT('SRID=4674;POINT (-40.31234 -2.792501)'))) / (select extract(epoch from '2026-07-10 07:55:34'::timestamp) - extract(epoch from '2026-07-10 07:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312276 -2.792492)'), GeomFromEWKT('SRID=4674;POINT (-40.31234 -2.792501)'))) / (select extract(epoch from '2026-07-10 07:55:34'::timestamp) - extract(epoch from '2026-07-10 07:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.312412 -2.792512)', '2026-07-10 07:55:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31234 -2.792501)'), GeomFromEWKT('SRID=4674;POINT (-40.312412 -2.792512)'))) / (select extract(epoch from '2026-07-10 07:55:55'::timestamp) - extract(epoch from '2026-07-10 07:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31234 -2.792501)'), GeomFromEWKT('SRID=4674;POINT (-40.312412 -2.792512)'))) / (select extract(epoch from '2026-07-10 07:55:55'::timestamp) - extract(epoch from '2026-07-10 07:55: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'), 47835, 'SRID=4674;POINT (-40.312454 -2.792578)', '2026-07-10 07:56:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312412 -2.792512)'), GeomFromEWKT('SRID=4674;POINT (-40.312454 -2.792578)'))) / (select extract(epoch from '2026-07-10 07:56:13'::timestamp) - extract(epoch from '2026-07-10 07:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312412 -2.792512)'), GeomFromEWKT('SRID=4674;POINT (-40.312454 -2.792578)'))) / (select extract(epoch from '2026-07-10 07:56:13'::timestamp) - extract(epoch from '2026-07-10 07:55: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'), 47835, 'SRID=4674;POINT (-40.312542 -2.792649)', '2026-07-10 07:56:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312454 -2.792578)'), GeomFromEWKT('SRID=4674;POINT (-40.312542 -2.792649)'))) / (select extract(epoch from '2026-07-10 07:56:24'::timestamp) - extract(epoch from '2026-07-10 07:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312454 -2.792578)'), GeomFromEWKT('SRID=4674;POINT (-40.312542 -2.792649)'))) / (select extract(epoch from '2026-07-10 07:56:24'::timestamp) - extract(epoch from '2026-07-10 07:56: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'), 47835, 'SRID=4674;POINT (-40.312683 -2.792698)', '2026-07-10 07:56:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312542 -2.792649)'), GeomFromEWKT('SRID=4674;POINT (-40.312683 -2.792698)'))) / (select extract(epoch from '2026-07-10 07:56:38'::timestamp) - extract(epoch from '2026-07-10 07:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312542 -2.792649)'), GeomFromEWKT('SRID=4674;POINT (-40.312683 -2.792698)'))) / (select extract(epoch from '2026-07-10 07:56:38'::timestamp) - extract(epoch from '2026-07-10 07:56: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'), 47835, 'SRID=4674;POINT (-40.312791 -2.792767)', '2026-07-10 07:56:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312683 -2.792698)'), GeomFromEWKT('SRID=4674;POINT (-40.312791 -2.792767)'))) / (select extract(epoch from '2026-07-10 07:56:52'::timestamp) - extract(epoch from '2026-07-10 07:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312683 -2.792698)'), GeomFromEWKT('SRID=4674;POINT (-40.312791 -2.792767)'))) / (select extract(epoch from '2026-07-10 07:56:52'::timestamp) - extract(epoch from '2026-07-10 07:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.312919 -2.792845)', '2026-07-10 07:57:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312791 -2.792767)'), GeomFromEWKT('SRID=4674;POINT (-40.312919 -2.792845)'))) / (select extract(epoch from '2026-07-10 07:57:10'::timestamp) - extract(epoch from '2026-07-10 07:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312791 -2.792767)'), GeomFromEWKT('SRID=4674;POINT (-40.312919 -2.792845)'))) / (select extract(epoch from '2026-07-10 07:57:10'::timestamp) - extract(epoch from '2026-07-10 07:56: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'), 47835, 'SRID=4674;POINT (-40.312999 -2.79286)', '2026-07-10 07:57:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312919 -2.792845)'), GeomFromEWKT('SRID=4674;POINT (-40.312999 -2.79286)'))) / (select extract(epoch from '2026-07-10 07:57:27'::timestamp) - extract(epoch from '2026-07-10 07:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312919 -2.792845)'), GeomFromEWKT('SRID=4674;POINT (-40.312999 -2.79286)'))) / (select extract(epoch from '2026-07-10 07:57:27'::timestamp) - extract(epoch from '2026-07-10 07:57:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.313044 -2.792878)', '2026-07-10 07:57:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312999 -2.79286)'), GeomFromEWKT('SRID=4674;POINT (-40.313044 -2.792878)'))) / (select extract(epoch from '2026-07-10 07:57:42'::timestamp) - extract(epoch from '2026-07-10 07:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312999 -2.79286)'), GeomFromEWKT('SRID=4674;POINT (-40.313044 -2.792878)'))) / (select extract(epoch from '2026-07-10 07:57:42'::timestamp) - extract(epoch from '2026-07-10 07:57: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'), 47835, 'SRID=4674;POINT (-40.313127 -2.792891)', '2026-07-10 07:58:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313044 -2.792878)'), GeomFromEWKT('SRID=4674;POINT (-40.313127 -2.792891)'))) / (select extract(epoch from '2026-07-10 07:58:01'::timestamp) - extract(epoch from '2026-07-10 07:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313044 -2.792878)'), GeomFromEWKT('SRID=4674;POINT (-40.313127 -2.792891)'))) / (select extract(epoch from '2026-07-10 07:58:01'::timestamp) - extract(epoch from '2026-07-10 07:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.313189 -2.792923)', '2026-07-10 07:58:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313127 -2.792891)'), GeomFromEWKT('SRID=4674;POINT (-40.313189 -2.792923)'))) / (select extract(epoch from '2026-07-10 07:58:18'::timestamp) - extract(epoch from '2026-07-10 07:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313127 -2.792891)'), GeomFromEWKT('SRID=4674;POINT (-40.313189 -2.792923)'))) / (select extract(epoch from '2026-07-10 07:58:18'::timestamp) - extract(epoch from '2026-07-10 07:58: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'), 47835, 'SRID=4674;POINT (-40.313261 -2.792909)', '2026-07-10 07:58:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313189 -2.792923)'), GeomFromEWKT('SRID=4674;POINT (-40.313261 -2.792909)'))) / (select extract(epoch from '2026-07-10 07:58:35'::timestamp) - extract(epoch from '2026-07-10 07:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313189 -2.792923)'), GeomFromEWKT('SRID=4674;POINT (-40.313261 -2.792909)'))) / (select extract(epoch from '2026-07-10 07:58:35'::timestamp) - extract(epoch from '2026-07-10 07:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.313315 -2.792881)', '2026-07-10 07:58:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313261 -2.792909)'), GeomFromEWKT('SRID=4674;POINT (-40.313315 -2.792881)'))) / (select extract(epoch from '2026-07-10 07:58:54'::timestamp) - extract(epoch from '2026-07-10 07:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313261 -2.792909)'), GeomFromEWKT('SRID=4674;POINT (-40.313315 -2.792881)'))) / (select extract(epoch from '2026-07-10 07:58:54'::timestamp) - extract(epoch from '2026-07-10 07:58: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'), 47835, 'SRID=4674;POINT (-40.31336 -2.792864)', '2026-07-10 07:59:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313315 -2.792881)'), GeomFromEWKT('SRID=4674;POINT (-40.31336 -2.792864)'))) / (select extract(epoch from '2026-07-10 07:59:11'::timestamp) - extract(epoch from '2026-07-10 07:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313315 -2.792881)'), GeomFromEWKT('SRID=4674;POINT (-40.31336 -2.792864)'))) / (select extract(epoch from '2026-07-10 07:59:11'::timestamp) - extract(epoch from '2026-07-10 07:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.313439 -2.792846)', '2026-07-10 07:59:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31336 -2.792864)'), GeomFromEWKT('SRID=4674;POINT (-40.313439 -2.792846)'))) / (select extract(epoch from '2026-07-10 07:59:28'::timestamp) - extract(epoch from '2026-07-10 07:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31336 -2.792864)'), GeomFromEWKT('SRID=4674;POINT (-40.313439 -2.792846)'))) / (select extract(epoch from '2026-07-10 07:59:28'::timestamp) - extract(epoch from '2026-07-10 07:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.313519 -2.792878)', '2026-07-10 07:59:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313439 -2.792846)'), GeomFromEWKT('SRID=4674;POINT (-40.313519 -2.792878)'))) / (select extract(epoch from '2026-07-10 07:59:47'::timestamp) - extract(epoch from '2026-07-10 07:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313439 -2.792846)'), GeomFromEWKT('SRID=4674;POINT (-40.313519 -2.792878)'))) / (select extract(epoch from '2026-07-10 07:59:47'::timestamp) - extract(epoch from '2026-07-10 07:59: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'), 47835, 'SRID=4674;POINT (-40.313592 -2.792976)', '2026-07-10 07:59:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313519 -2.792878)'), GeomFromEWKT('SRID=4674;POINT (-40.313592 -2.792976)'))) / (select extract(epoch from '2026-07-10 07:59:56'::timestamp) - extract(epoch from '2026-07-10 07:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313519 -2.792878)'), GeomFromEWKT('SRID=4674;POINT (-40.313592 -2.792976)'))) / (select extract(epoch from '2026-07-10 07:59:56'::timestamp) - extract(epoch from '2026-07-10 07:59: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'), 47835, 'SRID=4674;POINT (-40.313775 -2.793072)', '2026-07-10 08:00:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313592 -2.792976)'), GeomFromEWKT('SRID=4674;POINT (-40.313775 -2.793072)'))) / (select extract(epoch from '2026-07-10 08:00:04'::timestamp) - extract(epoch from '2026-07-10 07:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313592 -2.792976)'), GeomFromEWKT('SRID=4674;POINT (-40.313775 -2.793072)'))) / (select extract(epoch from '2026-07-10 08:00:04'::timestamp) - extract(epoch from '2026-07-10 07:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.313944 -2.793176)', '2026-07-10 08:00:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313775 -2.793072)'), GeomFromEWKT('SRID=4674;POINT (-40.313944 -2.793176)'))) / (select extract(epoch from '2026-07-10 08:00:11'::timestamp) - extract(epoch from '2026-07-10 08:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313775 -2.793072)'), GeomFromEWKT('SRID=4674;POINT (-40.313944 -2.793176)'))) / (select extract(epoch from '2026-07-10 08:00:11'::timestamp) - extract(epoch from '2026-07-10 08:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.314124 -2.793275)', '2026-07-10 08:00:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313944 -2.793176)'), GeomFromEWKT('SRID=4674;POINT (-40.314124 -2.793275)'))) / (select extract(epoch from '2026-07-10 08:00:18'::timestamp) - extract(epoch from '2026-07-10 08:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313944 -2.793176)'), GeomFromEWKT('SRID=4674;POINT (-40.314124 -2.793275)'))) / (select extract(epoch from '2026-07-10 08:00:18'::timestamp) - extract(epoch from '2026-07-10 08:00:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.314178 -2.793307)', '2026-07-10 08:00:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314124 -2.793275)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.793307)'))) / (select extract(epoch from '2026-07-10 08:00:20'::timestamp) - extract(epoch from '2026-07-10 08:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314124 -2.793275)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.793307)'))) / (select extract(epoch from '2026-07-10 08:00:20'::timestamp) - extract(epoch from '2026-07-10 08:00:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.314339 -2.793395)', '2026-07-10 08:00:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.793307)'), GeomFromEWKT('SRID=4674;POINT (-40.314339 -2.793395)'))) / (select extract(epoch from '2026-07-10 08:00:26'::timestamp) - extract(epoch from '2026-07-10 08:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.793307)'), GeomFromEWKT('SRID=4674;POINT (-40.314339 -2.793395)'))) / (select extract(epoch from '2026-07-10 08:00:26'::timestamp) - extract(epoch from '2026-07-10 08:00:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.314441 -2.793438)', '2026-07-10 08:00:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314339 -2.793395)'), GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.793438)'))) / (select extract(epoch from '2026-07-10 08:00:30'::timestamp) - extract(epoch from '2026-07-10 08:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314339 -2.793395)'), GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.793438)'))) / (select extract(epoch from '2026-07-10 08:00:30'::timestamp) - extract(epoch from '2026-07-10 08:00:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.314631 -2.793491)', '2026-07-10 08:00:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.793438)'), GeomFromEWKT('SRID=4674;POINT (-40.314631 -2.793491)'))) / (select extract(epoch from '2026-07-10 08:00:37'::timestamp) - extract(epoch from '2026-07-10 08:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.793438)'), GeomFromEWKT('SRID=4674;POINT (-40.314631 -2.793491)'))) / (select extract(epoch from '2026-07-10 08:00:37'::timestamp) - extract(epoch from '2026-07-10 08:00: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'), 47835, 'SRID=4674;POINT (-40.314802 -2.793507)', '2026-07-10 08:00:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314631 -2.793491)'), GeomFromEWKT('SRID=4674;POINT (-40.314802 -2.793507)'))) / (select extract(epoch from '2026-07-10 08:00:44'::timestamp) - extract(epoch from '2026-07-10 08:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314631 -2.793491)'), GeomFromEWKT('SRID=4674;POINT (-40.314802 -2.793507)'))) / (select extract(epoch from '2026-07-10 08:00:44'::timestamp) - extract(epoch from '2026-07-10 08:00: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'), 47835, 'SRID=4674;POINT (-40.314988 -2.793534)', '2026-07-10 08:00:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314802 -2.793507)'), GeomFromEWKT('SRID=4674;POINT (-40.314988 -2.793534)'))) / (select extract(epoch from '2026-07-10 08:00:51'::timestamp) - extract(epoch from '2026-07-10 08:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314802 -2.793507)'), GeomFromEWKT('SRID=4674;POINT (-40.314988 -2.793534)'))) / (select extract(epoch from '2026-07-10 08:00:51'::timestamp) - extract(epoch from '2026-07-10 08:00: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'), 47835, 'SRID=4674;POINT (-40.315015 -2.793542)', '2026-07-10 08:00:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314988 -2.793534)'), GeomFromEWKT('SRID=4674;POINT (-40.315015 -2.793542)'))) / (select extract(epoch from '2026-07-10 08:00:52'::timestamp) - extract(epoch from '2026-07-10 08:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314988 -2.793534)'), GeomFromEWKT('SRID=4674;POINT (-40.315015 -2.793542)'))) / (select extract(epoch from '2026-07-10 08:00:52'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.315206 -2.793585)', '2026-07-10 08:00:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315015 -2.793542)'), GeomFromEWKT('SRID=4674;POINT (-40.315206 -2.793585)'))) / (select extract(epoch from '2026-07-10 08:00:59'::timestamp) - extract(epoch from '2026-07-10 08:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315015 -2.793542)'), GeomFromEWKT('SRID=4674;POINT (-40.315206 -2.793585)'))) / (select extract(epoch from '2026-07-10 08:00:59'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.315266 -2.793587)', '2026-07-10 08:01:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315206 -2.793585)'), GeomFromEWKT('SRID=4674;POINT (-40.315266 -2.793587)'))) / (select extract(epoch from '2026-07-10 08:01:01'::timestamp) - extract(epoch from '2026-07-10 08:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315206 -2.793585)'), GeomFromEWKT('SRID=4674;POINT (-40.315266 -2.793587)'))) / (select extract(epoch from '2026-07-10 08:01:01'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.315446 -2.793633)', '2026-07-10 08:01:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315266 -2.793587)'), GeomFromEWKT('SRID=4674;POINT (-40.315446 -2.793633)'))) / (select extract(epoch from '2026-07-10 08:01:07'::timestamp) - extract(epoch from '2026-07-10 08:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315266 -2.793587)'), GeomFromEWKT('SRID=4674;POINT (-40.315446 -2.793633)'))) / (select extract(epoch from '2026-07-10 08:01:07'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47835, 'SRID=4674;POINT (-40.315472 -2.793643)', '2026-07-10 08:01:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315446 -2.793633)'), GeomFromEWKT('SRID=4674;POINT (-40.315472 -2.793643)'))) / (select extract(epoch from '2026-07-10 08:01:08'::timestamp) - extract(epoch from '2026-07-10 08:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315446 -2.793633)'), GeomFromEWKT('SRID=4674;POINT (-40.315472 -2.793643)'))) / (select extract(epoch from '2026-07-10 08:01:08'::timestamp) - extract(epoch from '2026-07-10 08:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.315655 -2.793674)', '2026-07-10 08:01:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315472 -2.793643)'), GeomFromEWKT('SRID=4674;POINT (-40.315655 -2.793674)'))) / (select extract(epoch from '2026-07-10 08:01:14'::timestamp) - extract(epoch from '2026-07-10 08:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315472 -2.793643)'), GeomFromEWKT('SRID=4674;POINT (-40.315655 -2.793674)'))) / (select extract(epoch from '2026-07-10 08:01:14'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47835, 'SRID=4674;POINT (-40.315685 -2.793681)', '2026-07-10 08:01:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315655 -2.793674)'), GeomFromEWKT('SRID=4674;POINT (-40.315685 -2.793681)'))) / (select extract(epoch from '2026-07-10 08:01:15'::timestamp) - extract(epoch from '2026-07-10 08:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315655 -2.793674)'), GeomFromEWKT('SRID=4674;POINT (-40.315685 -2.793681)'))) / (select extract(epoch from '2026-07-10 08:01:15'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47835, 'SRID=4674;POINT (-40.315866 -2.793729)', '2026-07-10 08:01:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315685 -2.793681)'), GeomFromEWKT('SRID=4674;POINT (-40.315866 -2.793729)'))) / (select extract(epoch from '2026-07-10 08:01:21'::timestamp) - extract(epoch from '2026-07-10 08:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315685 -2.793681)'), GeomFromEWKT('SRID=4674;POINT (-40.315866 -2.793729)'))) / (select extract(epoch from '2026-07-10 08:01:21'::timestamp) - extract(epoch from '2026-07-10 08:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.315932 -2.793737)', '2026-07-10 08:01:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315866 -2.793729)'), GeomFromEWKT('SRID=4674;POINT (-40.315932 -2.793737)'))) / (select extract(epoch from '2026-07-10 08:01:23'::timestamp) - extract(epoch from '2026-07-10 08:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315866 -2.793729)'), GeomFromEWKT('SRID=4674;POINT (-40.315932 -2.793737)'))) / (select extract(epoch from '2026-07-10 08:01:23'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47835, 'SRID=4674;POINT (-40.316117 -2.793776)', '2026-07-10 08:01:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315932 -2.793737)'), GeomFromEWKT('SRID=4674;POINT (-40.316117 -2.793776)'))) / (select extract(epoch from '2026-07-10 08:01:29'::timestamp) - extract(epoch from '2026-07-10 08:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315932 -2.793737)'), GeomFromEWKT('SRID=4674;POINT (-40.316117 -2.793776)'))) / (select extract(epoch from '2026-07-10 08:01:29'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47835, 'SRID=4674;POINT (-40.316167 -2.793801)', '2026-07-10 08:01:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316117 -2.793776)'), GeomFromEWKT('SRID=4674;POINT (-40.316167 -2.793801)'))) / (select extract(epoch from '2026-07-10 08:01:31'::timestamp) - extract(epoch from '2026-07-10 08:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316117 -2.793776)'), GeomFromEWKT('SRID=4674;POINT (-40.316167 -2.793801)'))) / (select extract(epoch from '2026-07-10 08:01:31'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47835, 'SRID=4674;POINT (-40.316349 -2.79384)', '2026-07-10 08:01:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316167 -2.793801)'), GeomFromEWKT('SRID=4674;POINT (-40.316349 -2.79384)'))) / (select extract(epoch from '2026-07-10 08:01:38'::timestamp) - extract(epoch from '2026-07-10 08:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316167 -2.793801)'), GeomFromEWKT('SRID=4674;POINT (-40.316349 -2.79384)'))) / (select extract(epoch from '2026-07-10 08:01:38'::timestamp) - extract(epoch from '2026-07-10 08:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.316522 -2.79388)', '2026-07-10 08:01:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316349 -2.79384)'), GeomFromEWKT('SRID=4674;POINT (-40.316522 -2.79388)'))) / (select extract(epoch from '2026-07-10 08:01:46'::timestamp) - extract(epoch from '2026-07-10 08:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316349 -2.79384)'), GeomFromEWKT('SRID=4674;POINT (-40.316522 -2.79388)'))) / (select extract(epoch from '2026-07-10 08:01:46'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47835, 'SRID=4674;POINT (-40.316696 -2.793895)', '2026-07-10 08:01:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316522 -2.79388)'), GeomFromEWKT('SRID=4674;POINT (-40.316696 -2.793895)'))) / (select extract(epoch from '2026-07-10 08:01:52'::timestamp) - extract(epoch from '2026-07-10 08:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316522 -2.79388)'), GeomFromEWKT('SRID=4674;POINT (-40.316696 -2.793895)'))) / (select extract(epoch from '2026-07-10 08:01:52'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47835, 'SRID=4674;POINT (-40.316891 -2.793911)', '2026-07-10 08:01:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316696 -2.793895)'), GeomFromEWKT('SRID=4674;POINT (-40.316891 -2.793911)'))) / (select extract(epoch from '2026-07-10 08:01:59'::timestamp) - extract(epoch from '2026-07-10 08:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316696 -2.793895)'), GeomFromEWKT('SRID=4674;POINT (-40.316891 -2.793911)'))) / (select extract(epoch from '2026-07-10 08:01:59'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47835, 'SRID=4674;POINT (-40.317072 -2.793919)', '2026-07-10 08:02:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316891 -2.793911)'), GeomFromEWKT('SRID=4674;POINT (-40.317072 -2.793919)'))) / (select extract(epoch from '2026-07-10 08:02:05'::timestamp) - extract(epoch from '2026-07-10 08:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316891 -2.793911)'), GeomFromEWKT('SRID=4674;POINT (-40.317072 -2.793919)'))) / (select extract(epoch from '2026-07-10 08:02:05'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47835, 'SRID=4674;POINT (-40.317132 -2.79393)', '2026-07-10 08:02:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317072 -2.793919)'), GeomFromEWKT('SRID=4674;POINT (-40.317132 -2.79393)'))) / (select extract(epoch from '2026-07-10 08:02:07'::timestamp) - extract(epoch from '2026-07-10 08:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317072 -2.793919)'), GeomFromEWKT('SRID=4674;POINT (-40.317132 -2.79393)'))) / (select extract(epoch from '2026-07-10 08:02:07'::timestamp) - extract(epoch from '2026-07-10 08:02: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'), 47835, 'SRID=4674;POINT (-40.317307 -2.793938)', '2026-07-10 08:02:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317132 -2.79393)'), GeomFromEWKT('SRID=4674;POINT (-40.317307 -2.793938)'))) / (select extract(epoch from '2026-07-10 08:02:13'::timestamp) - extract(epoch from '2026-07-10 08:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317132 -2.79393)'), GeomFromEWKT('SRID=4674;POINT (-40.317307 -2.793938)'))) / (select extract(epoch from '2026-07-10 08:02:13'::timestamp) - extract(epoch from '2026-07-10 08:02:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.317511 -2.793968)', '2026-07-10 08:02:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317307 -2.793938)'), GeomFromEWKT('SRID=4674;POINT (-40.317511 -2.793968)'))) / (select extract(epoch from '2026-07-10 08:02:20'::timestamp) - extract(epoch from '2026-07-10 08:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317307 -2.793938)'), GeomFromEWKT('SRID=4674;POINT (-40.317511 -2.793968)'))) / (select extract(epoch from '2026-07-10 08:02:20'::timestamp) - extract(epoch from '2026-07-10 08:02: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'), 47835, 'SRID=4674;POINT (-40.317569 -2.793973)', '2026-07-10 08:02:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317511 -2.793968)'), GeomFromEWKT('SRID=4674;POINT (-40.317569 -2.793973)'))) / (select extract(epoch from '2026-07-10 08:02:22'::timestamp) - extract(epoch from '2026-07-10 08:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317511 -2.793968)'), GeomFromEWKT('SRID=4674;POINT (-40.317569 -2.793973)'))) / (select extract(epoch from '2026-07-10 08:02:22'::timestamp) - extract(epoch from '2026-07-10 08:02: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'), 47835, 'SRID=4674;POINT (-40.317762 -2.793986)', '2026-07-10 08:02:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317569 -2.793973)'), GeomFromEWKT('SRID=4674;POINT (-40.317762 -2.793986)'))) / (select extract(epoch from '2026-07-10 08:02:29'::timestamp) - extract(epoch from '2026-07-10 08:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317569 -2.793973)'), GeomFromEWKT('SRID=4674;POINT (-40.317762 -2.793986)'))) / (select extract(epoch from '2026-07-10 08:02:29'::timestamp) - extract(epoch from '2026-07-10 08:02:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.317944 -2.794029)', '2026-07-10 08:02:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317762 -2.793986)'), GeomFromEWKT('SRID=4674;POINT (-40.317944 -2.794029)'))) / (select extract(epoch from '2026-07-10 08:02:36'::timestamp) - extract(epoch from '2026-07-10 08:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317762 -2.793986)'), GeomFromEWKT('SRID=4674;POINT (-40.317944 -2.794029)'))) / (select extract(epoch from '2026-07-10 08:02:36'::timestamp) - extract(epoch from '2026-07-10 08:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.318122 -2.79411)', '2026-07-10 08:02:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317944 -2.794029)'), GeomFromEWKT('SRID=4674;POINT (-40.318122 -2.79411)'))) / (select extract(epoch from '2026-07-10 08:02:43'::timestamp) - extract(epoch from '2026-07-10 08:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317944 -2.794029)'), GeomFromEWKT('SRID=4674;POINT (-40.318122 -2.79411)'))) / (select extract(epoch from '2026-07-10 08:02:43'::timestamp) - extract(epoch from '2026-07-10 08:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.318297 -2.794199)', '2026-07-10 08:02:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318122 -2.79411)'), GeomFromEWKT('SRID=4674;POINT (-40.318297 -2.794199)'))) / (select extract(epoch from '2026-07-10 08:02:50'::timestamp) - extract(epoch from '2026-07-10 08:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318122 -2.79411)'), GeomFromEWKT('SRID=4674;POINT (-40.318297 -2.794199)'))) / (select extract(epoch from '2026-07-10 08:02:50'::timestamp) - extract(epoch from '2026-07-10 08:02: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'), 47835, 'SRID=4674;POINT (-40.318483 -2.794276)', '2026-07-10 08:02:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318297 -2.794199)'), GeomFromEWKT('SRID=4674;POINT (-40.318483 -2.794276)'))) / (select extract(epoch from '2026-07-10 08:02:57'::timestamp) - extract(epoch from '2026-07-10 08:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318297 -2.794199)'), GeomFromEWKT('SRID=4674;POINT (-40.318483 -2.794276)'))) / (select extract(epoch from '2026-07-10 08:02:57'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.318671 -2.7943)', '2026-07-10 08:03:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318483 -2.794276)'), GeomFromEWKT('SRID=4674;POINT (-40.318671 -2.7943)'))) / (select extract(epoch from '2026-07-10 08:03:04'::timestamp) - extract(epoch from '2026-07-10 08:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318483 -2.794276)'), GeomFromEWKT('SRID=4674;POINT (-40.318671 -2.7943)'))) / (select extract(epoch from '2026-07-10 08:03:04'::timestamp) - extract(epoch from '2026-07-10 08:02:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.318704 -2.794305)', '2026-07-10 08:03:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318671 -2.7943)'), GeomFromEWKT('SRID=4674;POINT (-40.318704 -2.794305)'))) / (select extract(epoch from '2026-07-10 08:03:05'::timestamp) - extract(epoch from '2026-07-10 08:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318671 -2.7943)'), GeomFromEWKT('SRID=4674;POINT (-40.318704 -2.794305)'))) / (select extract(epoch from '2026-07-10 08:03:05'::timestamp) - extract(epoch from '2026-07-10 08:03:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.318902 -2.794333)', '2026-07-10 08:03:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318704 -2.794305)'), GeomFromEWKT('SRID=4674;POINT (-40.318902 -2.794333)'))) / (select extract(epoch from '2026-07-10 08:03:12'::timestamp) - extract(epoch from '2026-07-10 08:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318704 -2.794305)'), GeomFromEWKT('SRID=4674;POINT (-40.318902 -2.794333)'))) / (select extract(epoch from '2026-07-10 08:03:12'::timestamp) - extract(epoch from '2026-07-10 08:03: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'), 47835, 'SRID=4674;POINT (-40.318926 -2.79434)', '2026-07-10 08:03:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318902 -2.794333)'), GeomFromEWKT('SRID=4674;POINT (-40.318926 -2.79434)'))) / (select extract(epoch from '2026-07-10 08:03:13'::timestamp) - extract(epoch from '2026-07-10 08:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318902 -2.794333)'), GeomFromEWKT('SRID=4674;POINT (-40.318926 -2.79434)'))) / (select extract(epoch from '2026-07-10 08:03:13'::timestamp) - extract(epoch from '2026-07-10 08:03:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.319128 -2.794368)', '2026-07-10 08:03:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318926 -2.79434)'), GeomFromEWKT('SRID=4674;POINT (-40.319128 -2.794368)'))) / (select extract(epoch from '2026-07-10 08:03:20'::timestamp) - extract(epoch from '2026-07-10 08:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318926 -2.79434)'), GeomFromEWKT('SRID=4674;POINT (-40.319128 -2.794368)'))) / (select extract(epoch from '2026-07-10 08:03:20'::timestamp) - extract(epoch from '2026-07-10 08:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.31931 -2.794359)', '2026-07-10 08:03:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319128 -2.794368)'), GeomFromEWKT('SRID=4674;POINT (-40.31931 -2.794359)'))) / (select extract(epoch from '2026-07-10 08:03:27'::timestamp) - extract(epoch from '2026-07-10 08:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319128 -2.794368)'), GeomFromEWKT('SRID=4674;POINT (-40.31931 -2.794359)'))) / (select extract(epoch from '2026-07-10 08:03:27'::timestamp) - extract(epoch from '2026-07-10 08:03: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'), 47835, 'SRID=4674;POINT (-40.319499 -2.794366)', '2026-07-10 08:03:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31931 -2.794359)'), GeomFromEWKT('SRID=4674;POINT (-40.319499 -2.794366)'))) / (select extract(epoch from '2026-07-10 08:03:34'::timestamp) - extract(epoch from '2026-07-10 08:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31931 -2.794359)'), GeomFromEWKT('SRID=4674;POINT (-40.319499 -2.794366)'))) / (select extract(epoch from '2026-07-10 08:03:34'::timestamp) - extract(epoch from '2026-07-10 08:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.31953 -2.794374)', '2026-07-10 08:03:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319499 -2.794366)'), GeomFromEWKT('SRID=4674;POINT (-40.31953 -2.794374)'))) / (select extract(epoch from '2026-07-10 08:03:35'::timestamp) - extract(epoch from '2026-07-10 08:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319499 -2.794366)'), GeomFromEWKT('SRID=4674;POINT (-40.31953 -2.794374)'))) / (select extract(epoch from '2026-07-10 08:03:35'::timestamp) - extract(epoch from '2026-07-10 08:03: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'), 47835, 'SRID=4674;POINT (-40.31972 -2.794377)', '2026-07-10 08:03:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31953 -2.794374)'), GeomFromEWKT('SRID=4674;POINT (-40.31972 -2.794377)'))) / (select extract(epoch from '2026-07-10 08:03:42'::timestamp) - extract(epoch from '2026-07-10 08:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31953 -2.794374)'), GeomFromEWKT('SRID=4674;POINT (-40.31972 -2.794377)'))) / (select extract(epoch from '2026-07-10 08:03:42'::timestamp) - extract(epoch from '2026-07-10 08:03: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'), 47835, 'SRID=4674;POINT (-40.319911 -2.794365)', '2026-07-10 08:03:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31972 -2.794377)'), GeomFromEWKT('SRID=4674;POINT (-40.319911 -2.794365)'))) / (select extract(epoch from '2026-07-10 08:03:49'::timestamp) - extract(epoch from '2026-07-10 08:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31972 -2.794377)'), GeomFromEWKT('SRID=4674;POINT (-40.319911 -2.794365)'))) / (select extract(epoch from '2026-07-10 08:03:49'::timestamp) - extract(epoch from '2026-07-10 08:03: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'), 47835, 'SRID=4674;POINT (-40.319937 -2.794363)', '2026-07-10 08:03:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319911 -2.794365)'), GeomFromEWKT('SRID=4674;POINT (-40.319937 -2.794363)'))) / (select extract(epoch from '2026-07-10 08:03:50'::timestamp) - extract(epoch from '2026-07-10 08:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319911 -2.794365)'), GeomFromEWKT('SRID=4674;POINT (-40.319937 -2.794363)'))) / (select extract(epoch from '2026-07-10 08:03:50'::timestamp) - extract(epoch from '2026-07-10 08:03: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'), 47835, 'SRID=4674;POINT (-40.320142 -2.79438)', '2026-07-10 08:03:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319937 -2.794363)'), GeomFromEWKT('SRID=4674;POINT (-40.320142 -2.79438)'))) / (select extract(epoch from '2026-07-10 08:03:57'::timestamp) - extract(epoch from '2026-07-10 08:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319937 -2.794363)'), GeomFromEWKT('SRID=4674;POINT (-40.320142 -2.79438)'))) / (select extract(epoch from '2026-07-10 08:03:57'::timestamp) - extract(epoch from '2026-07-10 08:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.320199 -2.794386)', '2026-07-10 08:03:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320142 -2.79438)'), GeomFromEWKT('SRID=4674;POINT (-40.320199 -2.794386)'))) / (select extract(epoch from '2026-07-10 08:03:59'::timestamp) - extract(epoch from '2026-07-10 08:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320142 -2.79438)'), GeomFromEWKT('SRID=4674;POINT (-40.320199 -2.794386)'))) / (select extract(epoch from '2026-07-10 08:03:59'::timestamp) - extract(epoch from '2026-07-10 08:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.320378 -2.794426)', '2026-07-10 08:04:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320199 -2.794386)'), GeomFromEWKT('SRID=4674;POINT (-40.320378 -2.794426)'))) / (select extract(epoch from '2026-07-10 08:04:05'::timestamp) - extract(epoch from '2026-07-10 08:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320199 -2.794386)'), GeomFromEWKT('SRID=4674;POINT (-40.320378 -2.794426)'))) / (select extract(epoch from '2026-07-10 08:04:05'::timestamp) - extract(epoch from '2026-07-10 08:03:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.320396 -2.79443)', '2026-07-10 08:04:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320378 -2.794426)'), GeomFromEWKT('SRID=4674;POINT (-40.320396 -2.79443)'))) / (select extract(epoch from '2026-07-10 08:04:06'::timestamp) - extract(epoch from '2026-07-10 08:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320378 -2.794426)'), GeomFromEWKT('SRID=4674;POINT (-40.320396 -2.79443)'))) / (select extract(epoch from '2026-07-10 08:04:06'::timestamp) - extract(epoch from '2026-07-10 08:04:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.320585 -2.79444)', '2026-07-10 08:04:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320396 -2.79443)'), GeomFromEWKT('SRID=4674;POINT (-40.320585 -2.79444)'))) / (select extract(epoch from '2026-07-10 08:04:13'::timestamp) - extract(epoch from '2026-07-10 08:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320396 -2.79443)'), GeomFromEWKT('SRID=4674;POINT (-40.320585 -2.79444)'))) / (select extract(epoch from '2026-07-10 08:04:13'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.320775 -2.79446)', '2026-07-10 08:04:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320585 -2.79444)'), GeomFromEWKT('SRID=4674;POINT (-40.320775 -2.79446)'))) / (select extract(epoch from '2026-07-10 08:04:20'::timestamp) - extract(epoch from '2026-07-10 08:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320585 -2.79444)'), GeomFromEWKT('SRID=4674;POINT (-40.320775 -2.79446)'))) / (select extract(epoch from '2026-07-10 08:04:20'::timestamp) - extract(epoch from '2026-07-10 08:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.320951 -2.794519)', '2026-07-10 08:04:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320775 -2.79446)'), GeomFromEWKT('SRID=4674;POINT (-40.320951 -2.794519)'))) / (select extract(epoch from '2026-07-10 08:04:26'::timestamp) - extract(epoch from '2026-07-10 08:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320775 -2.79446)'), GeomFromEWKT('SRID=4674;POINT (-40.320951 -2.794519)'))) / (select extract(epoch from '2026-07-10 08:04:26'::timestamp) - extract(epoch from '2026-07-10 08:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.321033 -2.794549)', '2026-07-10 08:04:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320951 -2.794519)'), GeomFromEWKT('SRID=4674;POINT (-40.321033 -2.794549)'))) / (select extract(epoch from '2026-07-10 08:04:29'::timestamp) - extract(epoch from '2026-07-10 08:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320951 -2.794519)'), GeomFromEWKT('SRID=4674;POINT (-40.321033 -2.794549)'))) / (select extract(epoch from '2026-07-10 08:04:29'::timestamp) - extract(epoch from '2026-07-10 08:04: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'), 47835, 'SRID=4674;POINT (-40.321192 -2.794609)', '2026-07-10 08:04:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321033 -2.794549)'), GeomFromEWKT('SRID=4674;POINT (-40.321192 -2.794609)'))) / (select extract(epoch from '2026-07-10 08:04:36'::timestamp) - extract(epoch from '2026-07-10 08:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321033 -2.794549)'), GeomFromEWKT('SRID=4674;POINT (-40.321192 -2.794609)'))) / (select extract(epoch from '2026-07-10 08:04:36'::timestamp) - extract(epoch from '2026-07-10 08:04: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'), 47835, 'SRID=4674;POINT (-40.321384 -2.794625)', '2026-07-10 08:04:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321192 -2.794609)'), GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.794625)'))) / (select extract(epoch from '2026-07-10 08:04:43'::timestamp) - extract(epoch from '2026-07-10 08:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321192 -2.794609)'), GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.794625)'))) / (select extract(epoch from '2026-07-10 08:04:43'::timestamp) - extract(epoch from '2026-07-10 08:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.321412 -2.794626)', '2026-07-10 08:04:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.794625)'), GeomFromEWKT('SRID=4674;POINT (-40.321412 -2.794626)'))) / (select extract(epoch from '2026-07-10 08:04:44'::timestamp) - extract(epoch from '2026-07-10 08:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.794625)'), GeomFromEWKT('SRID=4674;POINT (-40.321412 -2.794626)'))) / (select extract(epoch from '2026-07-10 08:04:44'::timestamp) - extract(epoch from '2026-07-10 08:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.321592 -2.794645)', '2026-07-10 08:04:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321412 -2.794626)'), GeomFromEWKT('SRID=4674;POINT (-40.321592 -2.794645)'))) / (select extract(epoch from '2026-07-10 08:04:50'::timestamp) - extract(epoch from '2026-07-10 08:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321412 -2.794626)'), GeomFromEWKT('SRID=4674;POINT (-40.321592 -2.794645)'))) / (select extract(epoch from '2026-07-10 08:04:50'::timestamp) - extract(epoch from '2026-07-10 08:04: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'), 47835, 'SRID=4674;POINT (-40.321677 -2.794664)', '2026-07-10 08:04:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321592 -2.794645)'), GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.794664)'))) / (select extract(epoch from '2026-07-10 08:04:53'::timestamp) - extract(epoch from '2026-07-10 08:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321592 -2.794645)'), GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.794664)'))) / (select extract(epoch from '2026-07-10 08:04:53'::timestamp) - extract(epoch from '2026-07-10 08:04: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'), 47835, 'SRID=4674;POINT (-40.321876 -2.794704)', '2026-07-10 08:05:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.321876 -2.794704)'))) / (select extract(epoch from '2026-07-10 08:05:00'::timestamp) - extract(epoch from '2026-07-10 08:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.321876 -2.794704)'))) / (select extract(epoch from '2026-07-10 08:05:00'::timestamp) - extract(epoch from '2026-07-10 08:04: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'), 47835, 'SRID=4674;POINT (-40.321904 -2.794709)', '2026-07-10 08:05:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321876 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.321904 -2.794709)'))) / (select extract(epoch from '2026-07-10 08:05:01'::timestamp) - extract(epoch from '2026-07-10 08:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321876 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.321904 -2.794709)'))) / (select extract(epoch from '2026-07-10 08:05:01'::timestamp) - extract(epoch from '2026-07-10 08:05: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'), 47835, 'SRID=4674;POINT (-40.322104 -2.794747)', '2026-07-10 08:05:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321904 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.322104 -2.794747)'))) / (select extract(epoch from '2026-07-10 08:05:08'::timestamp) - extract(epoch from '2026-07-10 08:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321904 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.322104 -2.794747)'))) / (select extract(epoch from '2026-07-10 08:05:08'::timestamp) - extract(epoch from '2026-07-10 08:05: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'), 47835, 'SRID=4674;POINT (-40.322306 -2.794778)', '2026-07-10 08:05:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322104 -2.794747)'), GeomFromEWKT('SRID=4674;POINT (-40.322306 -2.794778)'))) / (select extract(epoch from '2026-07-10 08:05:16'::timestamp) - extract(epoch from '2026-07-10 08:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322104 -2.794747)'), GeomFromEWKT('SRID=4674;POINT (-40.322306 -2.794778)'))) / (select extract(epoch from '2026-07-10 08:05:16'::timestamp) - extract(epoch from '2026-07-10 08:05: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'), 47835, 'SRID=4674;POINT (-40.322501 -2.794815)', '2026-07-10 08:05:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322306 -2.794778)'), GeomFromEWKT('SRID=4674;POINT (-40.322501 -2.794815)'))) / (select extract(epoch from '2026-07-10 08:05:23'::timestamp) - extract(epoch from '2026-07-10 08:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322306 -2.794778)'), GeomFromEWKT('SRID=4674;POINT (-40.322501 -2.794815)'))) / (select extract(epoch from '2026-07-10 08:05:23'::timestamp) - extract(epoch from '2026-07-10 08:05: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'), 47835, 'SRID=4674;POINT (-40.322702 -2.794852)', '2026-07-10 08:05:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322501 -2.794815)'), GeomFromEWKT('SRID=4674;POINT (-40.322702 -2.794852)'))) / (select extract(epoch from '2026-07-10 08:05:30'::timestamp) - extract(epoch from '2026-07-10 08:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322501 -2.794815)'), GeomFromEWKT('SRID=4674;POINT (-40.322702 -2.794852)'))) / (select extract(epoch from '2026-07-10 08:05:30'::timestamp) - extract(epoch from '2026-07-10 08:05: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'), 47835, 'SRID=4674;POINT (-40.322731 -2.794857)', '2026-07-10 08:05:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322702 -2.794852)'), GeomFromEWKT('SRID=4674;POINT (-40.322731 -2.794857)'))) / (select extract(epoch from '2026-07-10 08:05:31'::timestamp) - extract(epoch from '2026-07-10 08:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322702 -2.794852)'), GeomFromEWKT('SRID=4674;POINT (-40.322731 -2.794857)'))) / (select extract(epoch from '2026-07-10 08:05:31'::timestamp) - extract(epoch from '2026-07-10 08:05:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.32293 -2.794894)', '2026-07-10 08:05:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322731 -2.794857)'), GeomFromEWKT('SRID=4674;POINT (-40.32293 -2.794894)'))) / (select extract(epoch from '2026-07-10 08:05:38'::timestamp) - extract(epoch from '2026-07-10 08:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322731 -2.794857)'), GeomFromEWKT('SRID=4674;POINT (-40.32293 -2.794894)'))) / (select extract(epoch from '2026-07-10 08:05:38'::timestamp) - extract(epoch from '2026-07-10 08:05: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'), 47835, 'SRID=4674;POINT (-40.323125 -2.794939)', '2026-07-10 08:05:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32293 -2.794894)'), GeomFromEWKT('SRID=4674;POINT (-40.323125 -2.794939)'))) / (select extract(epoch from '2026-07-10 08:05:45'::timestamp) - extract(epoch from '2026-07-10 08:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32293 -2.794894)'), GeomFromEWKT('SRID=4674;POINT (-40.323125 -2.794939)'))) / (select extract(epoch from '2026-07-10 08:05:45'::timestamp) - extract(epoch from '2026-07-10 08:05: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'), 47835, 'SRID=4674;POINT (-40.3233 -2.794991)', '2026-07-10 08:05:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323125 -2.794939)'), GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.794991)'))) / (select extract(epoch from '2026-07-10 08:05:52'::timestamp) - extract(epoch from '2026-07-10 08:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323125 -2.794939)'), GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.794991)'))) / (select extract(epoch from '2026-07-10 08:05:52'::timestamp) - extract(epoch from '2026-07-10 08:05: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'), 47835, 'SRID=4674;POINT (-40.323474 -2.795053)', '2026-07-10 08:05:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.794991)'), GeomFromEWKT('SRID=4674;POINT (-40.323474 -2.795053)'))) / (select extract(epoch from '2026-07-10 08:05:59'::timestamp) - extract(epoch from '2026-07-10 08:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.794991)'), GeomFromEWKT('SRID=4674;POINT (-40.323474 -2.795053)'))) / (select extract(epoch from '2026-07-10 08:05:59'::timestamp) - extract(epoch from '2026-07-10 08:05: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'), 47835, 'SRID=4674;POINT (-40.323501 -2.795064)', '2026-07-10 08:06:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323474 -2.795053)'), GeomFromEWKT('SRID=4674;POINT (-40.323501 -2.795064)'))) / (select extract(epoch from '2026-07-10 08:06:00'::timestamp) - extract(epoch from '2026-07-10 08:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323474 -2.795053)'), GeomFromEWKT('SRID=4674;POINT (-40.323501 -2.795064)'))) / (select extract(epoch from '2026-07-10 08:06:00'::timestamp) - extract(epoch from '2026-07-10 08:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.323699 -2.795123)', '2026-07-10 08:06:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323501 -2.795064)'), GeomFromEWKT('SRID=4674;POINT (-40.323699 -2.795123)'))) / (select extract(epoch from '2026-07-10 08:06:08'::timestamp) - extract(epoch from '2026-07-10 08:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323501 -2.795064)'), GeomFromEWKT('SRID=4674;POINT (-40.323699 -2.795123)'))) / (select extract(epoch from '2026-07-10 08:06:08'::timestamp) - extract(epoch from '2026-07-10 08:06: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'), 47835, 'SRID=4674;POINT (-40.323725 -2.79513)', '2026-07-10 08:06:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323699 -2.795123)'), GeomFromEWKT('SRID=4674;POINT (-40.323725 -2.79513)'))) / (select extract(epoch from '2026-07-10 08:06:09'::timestamp) - extract(epoch from '2026-07-10 08:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323699 -2.795123)'), GeomFromEWKT('SRID=4674;POINT (-40.323725 -2.79513)'))) / (select extract(epoch from '2026-07-10 08:06:09'::timestamp) - extract(epoch from '2026-07-10 08:06: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'), 47835, 'SRID=4674;POINT (-40.323921 -2.795191)', '2026-07-10 08:06:16', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323725 -2.79513)'), GeomFromEWKT('SRID=4674;POINT (-40.323921 -2.795191)'))) / (select extract(epoch from '2026-07-10 08:06:16'::timestamp) - extract(epoch from '2026-07-10 08:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323725 -2.79513)'), GeomFromEWKT('SRID=4674;POINT (-40.323921 -2.795191)'))) / (select extract(epoch from '2026-07-10 08:06:16'::timestamp) - extract(epoch from '2026-07-10 08:06: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'), 47835, 'SRID=4674;POINT (-40.323972 -2.795201)', '2026-07-10 08:06:18', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323921 -2.795191)'), GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.795201)'))) / (select extract(epoch from '2026-07-10 08:06:18'::timestamp) - extract(epoch from '2026-07-10 08:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323921 -2.795191)'), GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.795201)'))) / (select extract(epoch from '2026-07-10 08:06:18'::timestamp) - extract(epoch from '2026-07-10 08:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.324155 -2.795251)', '2026-07-10 08:06:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.795201)'), GeomFromEWKT('SRID=4674;POINT (-40.324155 -2.795251)'))) / (select extract(epoch from '2026-07-10 08:06:25'::timestamp) - extract(epoch from '2026-07-10 08:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.795201)'), GeomFromEWKT('SRID=4674;POINT (-40.324155 -2.795251)'))) / (select extract(epoch from '2026-07-10 08:06:25'::timestamp) - extract(epoch from '2026-07-10 08:06:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.324206 -2.795262)', '2026-07-10 08:06:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324155 -2.795251)'), GeomFromEWKT('SRID=4674;POINT (-40.324206 -2.795262)'))) / (select extract(epoch from '2026-07-10 08:06:27'::timestamp) - extract(epoch from '2026-07-10 08:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324155 -2.795251)'), GeomFromEWKT('SRID=4674;POINT (-40.324206 -2.795262)'))) / (select extract(epoch from '2026-07-10 08:06:27'::timestamp) - extract(epoch from '2026-07-10 08:06: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'), 47835, 'SRID=4674;POINT (-40.3244 -2.795289)', '2026-07-10 08:06:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324206 -2.795262)'), GeomFromEWKT('SRID=4674;POINT (-40.3244 -2.795289)'))) / (select extract(epoch from '2026-07-10 08:06:35'::timestamp) - extract(epoch from '2026-07-10 08:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324206 -2.795262)'), GeomFromEWKT('SRID=4674;POINT (-40.3244 -2.795289)'))) / (select extract(epoch from '2026-07-10 08:06:35'::timestamp) - extract(epoch from '2026-07-10 08:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.324579 -2.795329)', '2026-07-10 08:06:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3244 -2.795289)'), GeomFromEWKT('SRID=4674;POINT (-40.324579 -2.795329)'))) / (select extract(epoch from '2026-07-10 08:06:42'::timestamp) - extract(epoch from '2026-07-10 08:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3244 -2.795289)'), GeomFromEWKT('SRID=4674;POINT (-40.324579 -2.795329)'))) / (select extract(epoch from '2026-07-10 08:06:42'::timestamp) - extract(epoch from '2026-07-10 08:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.324628 -2.795336)', '2026-07-10 08:06:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324579 -2.795329)'), GeomFromEWKT('SRID=4674;POINT (-40.324628 -2.795336)'))) / (select extract(epoch from '2026-07-10 08:06:44'::timestamp) - extract(epoch from '2026-07-10 08:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324579 -2.795329)'), GeomFromEWKT('SRID=4674;POINT (-40.324628 -2.795336)'))) / (select extract(epoch from '2026-07-10 08:06:44'::timestamp) - extract(epoch from '2026-07-10 08:06: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'), 47835, 'SRID=4674;POINT (-40.324809 -2.795375)', '2026-07-10 08:06:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324628 -2.795336)'), GeomFromEWKT('SRID=4674;POINT (-40.324809 -2.795375)'))) / (select extract(epoch from '2026-07-10 08:06:50'::timestamp) - extract(epoch from '2026-07-10 08:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324628 -2.795336)'), GeomFromEWKT('SRID=4674;POINT (-40.324809 -2.795375)'))) / (select extract(epoch from '2026-07-10 08:06:50'::timestamp) - extract(epoch from '2026-07-10 08:06: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'), 47835, 'SRID=4674;POINT (-40.325004 -2.795343)', '2026-07-10 08:06:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324809 -2.795375)'), GeomFromEWKT('SRID=4674;POINT (-40.325004 -2.795343)'))) / (select extract(epoch from '2026-07-10 08:06:57'::timestamp) - extract(epoch from '2026-07-10 08:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324809 -2.795375)'), GeomFromEWKT('SRID=4674;POINT (-40.325004 -2.795343)'))) / (select extract(epoch from '2026-07-10 08:06:57'::timestamp) - extract(epoch from '2026-07-10 08:06: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'), 47835, 'SRID=4674;POINT (-40.325032 -2.79534)', '2026-07-10 08:06:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325004 -2.795343)'), GeomFromEWKT('SRID=4674;POINT (-40.325032 -2.79534)'))) / (select extract(epoch from '2026-07-10 08:06:58'::timestamp) - extract(epoch from '2026-07-10 08:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325004 -2.795343)'), GeomFromEWKT('SRID=4674;POINT (-40.325032 -2.79534)'))) / (select extract(epoch from '2026-07-10 08:06:58'::timestamp) - extract(epoch from '2026-07-10 08:06: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'), 47835, 'SRID=4674;POINT (-40.325227 -2.795357)', '2026-07-10 08:07:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325032 -2.79534)'), GeomFromEWKT('SRID=4674;POINT (-40.325227 -2.795357)'))) / (select extract(epoch from '2026-07-10 08:07:05'::timestamp) - extract(epoch from '2026-07-10 08:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325032 -2.79534)'), GeomFromEWKT('SRID=4674;POINT (-40.325227 -2.795357)'))) / (select extract(epoch from '2026-07-10 08:07:05'::timestamp) - extract(epoch from '2026-07-10 08:06: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'), 47835, 'SRID=4674;POINT (-40.325429 -2.795403)', '2026-07-10 08:07:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325227 -2.795357)'), GeomFromEWKT('SRID=4674;POINT (-40.325429 -2.795403)'))) / (select extract(epoch from '2026-07-10 08:07:12'::timestamp) - extract(epoch from '2026-07-10 08:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325227 -2.795357)'), GeomFromEWKT('SRID=4674;POINT (-40.325429 -2.795403)'))) / (select extract(epoch from '2026-07-10 08:07:12'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47835, 'SRID=4674;POINT (-40.325461 -2.795407)', '2026-07-10 08:07:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325429 -2.795403)'), GeomFromEWKT('SRID=4674;POINT (-40.325461 -2.795407)'))) / (select extract(epoch from '2026-07-10 08:07:13'::timestamp) - extract(epoch from '2026-07-10 08:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325429 -2.795403)'), GeomFromEWKT('SRID=4674;POINT (-40.325461 -2.795407)'))) / (select extract(epoch from '2026-07-10 08:07:13'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47835, 'SRID=4674;POINT (-40.32564 -2.795419)', '2026-07-10 08:07:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325461 -2.795407)'), GeomFromEWKT('SRID=4674;POINT (-40.32564 -2.795419)'))) / (select extract(epoch from '2026-07-10 08:07:19'::timestamp) - extract(epoch from '2026-07-10 08:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325461 -2.795407)'), GeomFromEWKT('SRID=4674;POINT (-40.32564 -2.795419)'))) / (select extract(epoch from '2026-07-10 08:07:19'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.32583 -2.795467)', '2026-07-10 08:07:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32564 -2.795419)'), GeomFromEWKT('SRID=4674;POINT (-40.32583 -2.795467)'))) / (select extract(epoch from '2026-07-10 08:07:26'::timestamp) - extract(epoch from '2026-07-10 08:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32564 -2.795419)'), GeomFromEWKT('SRID=4674;POINT (-40.32583 -2.795467)'))) / (select extract(epoch from '2026-07-10 08:07:26'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47835, 'SRID=4674;POINT (-40.325855 -2.795478)', '2026-07-10 08:07:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32583 -2.795467)'), GeomFromEWKT('SRID=4674;POINT (-40.325855 -2.795478)'))) / (select extract(epoch from '2026-07-10 08:07:27'::timestamp) - extract(epoch from '2026-07-10 08:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32583 -2.795467)'), GeomFromEWKT('SRID=4674;POINT (-40.325855 -2.795478)'))) / (select extract(epoch from '2026-07-10 08:07:27'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47835, 'SRID=4674;POINT (-40.326017 -2.795558)', '2026-07-10 08:07:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325855 -2.795478)'), GeomFromEWKT('SRID=4674;POINT (-40.326017 -2.795558)'))) / (select extract(epoch from '2026-07-10 08:07:33'::timestamp) - extract(epoch from '2026-07-10 08:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325855 -2.795478)'), GeomFromEWKT('SRID=4674;POINT (-40.326017 -2.795558)'))) / (select extract(epoch from '2026-07-10 08:07:33'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47835, 'SRID=4674;POINT (-40.32604 -2.795569)', '2026-07-10 08:07:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326017 -2.795558)'), GeomFromEWKT('SRID=4674;POINT (-40.32604 -2.795569)'))) / (select extract(epoch from '2026-07-10 08:07:34'::timestamp) - extract(epoch from '2026-07-10 08:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326017 -2.795558)'), GeomFromEWKT('SRID=4674;POINT (-40.32604 -2.795569)'))) / (select extract(epoch from '2026-07-10 08:07:34'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47835, 'SRID=4674;POINT (-40.326219 -2.795632)', '2026-07-10 08:07:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32604 -2.795569)'), GeomFromEWKT('SRID=4674;POINT (-40.326219 -2.795632)'))) / (select extract(epoch from '2026-07-10 08:07:40'::timestamp) - extract(epoch from '2026-07-10 08:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32604 -2.795569)'), GeomFromEWKT('SRID=4674;POINT (-40.326219 -2.795632)'))) / (select extract(epoch from '2026-07-10 08:07:40'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47835, 'SRID=4674;POINT (-40.326268 -2.795646)', '2026-07-10 08:07:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326219 -2.795632)'), GeomFromEWKT('SRID=4674;POINT (-40.326268 -2.795646)'))) / (select extract(epoch from '2026-07-10 08:07:42'::timestamp) - extract(epoch from '2026-07-10 08:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326219 -2.795632)'), GeomFromEWKT('SRID=4674;POINT (-40.326268 -2.795646)'))) / (select extract(epoch from '2026-07-10 08:07:42'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47835, 'SRID=4674;POINT (-40.326441 -2.795718)', '2026-07-10 08:07:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326268 -2.795646)'), GeomFromEWKT('SRID=4674;POINT (-40.326441 -2.795718)'))) / (select extract(epoch from '2026-07-10 08:07:49'::timestamp) - extract(epoch from '2026-07-10 08:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326268 -2.795646)'), GeomFromEWKT('SRID=4674;POINT (-40.326441 -2.795718)'))) / (select extract(epoch from '2026-07-10 08:07:49'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.32647 -2.795727)', '2026-07-10 08:07:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326441 -2.795718)'), GeomFromEWKT('SRID=4674;POINT (-40.32647 -2.795727)'))) / (select extract(epoch from '2026-07-10 08:07:50'::timestamp) - extract(epoch from '2026-07-10 08:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326441 -2.795718)'), GeomFromEWKT('SRID=4674;POINT (-40.32647 -2.795727)'))) / (select extract(epoch from '2026-07-10 08:07:50'::timestamp) - extract(epoch from '2026-07-10 08:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.326668 -2.795762)', '2026-07-10 08:07:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32647 -2.795727)'), GeomFromEWKT('SRID=4674;POINT (-40.326668 -2.795762)'))) / (select extract(epoch from '2026-07-10 08:07:57'::timestamp) - extract(epoch from '2026-07-10 08:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32647 -2.795727)'), GeomFromEWKT('SRID=4674;POINT (-40.326668 -2.795762)'))) / (select extract(epoch from '2026-07-10 08:07:57'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47835, 'SRID=4674;POINT (-40.326848 -2.795809)', '2026-07-10 08:08:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326668 -2.795762)'), GeomFromEWKT('SRID=4674;POINT (-40.326848 -2.795809)'))) / (select extract(epoch from '2026-07-10 08:08:04'::timestamp) - extract(epoch from '2026-07-10 08:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326668 -2.795762)'), GeomFromEWKT('SRID=4674;POINT (-40.326848 -2.795809)'))) / (select extract(epoch from '2026-07-10 08:08:04'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47835, 'SRID=4674;POINT (-40.326869 -2.795819)', '2026-07-10 08:08:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326848 -2.795809)'), GeomFromEWKT('SRID=4674;POINT (-40.326869 -2.795819)'))) / (select extract(epoch from '2026-07-10 08:08:05'::timestamp) - extract(epoch from '2026-07-10 08:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326848 -2.795809)'), GeomFromEWKT('SRID=4674;POINT (-40.326869 -2.795819)'))) / (select extract(epoch from '2026-07-10 08:08:05'::timestamp) - extract(epoch from '2026-07-10 08:08: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'), 47835, 'SRID=4674;POINT (-40.327043 -2.795897)', '2026-07-10 08:08:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326869 -2.795819)'), GeomFromEWKT('SRID=4674;POINT (-40.327043 -2.795897)'))) / (select extract(epoch from '2026-07-10 08:08:12'::timestamp) - extract(epoch from '2026-07-10 08:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326869 -2.795819)'), GeomFromEWKT('SRID=4674;POINT (-40.327043 -2.795897)'))) / (select extract(epoch from '2026-07-10 08:08:12'::timestamp) - extract(epoch from '2026-07-10 08:08:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.327068 -2.795901)', '2026-07-10 08:08:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327043 -2.795897)'), GeomFromEWKT('SRID=4674;POINT (-40.327068 -2.795901)'))) / (select extract(epoch from '2026-07-10 08:08:13'::timestamp) - extract(epoch from '2026-07-10 08:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327043 -2.795897)'), GeomFromEWKT('SRID=4674;POINT (-40.327068 -2.795901)'))) / (select extract(epoch from '2026-07-10 08:08:13'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.327257 -2.795952)', '2026-07-10 08:08:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327068 -2.795901)'), GeomFromEWKT('SRID=4674;POINT (-40.327257 -2.795952)'))) / (select extract(epoch from '2026-07-10 08:08:20'::timestamp) - extract(epoch from '2026-07-10 08:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327068 -2.795901)'), GeomFromEWKT('SRID=4674;POINT (-40.327257 -2.795952)'))) / (select extract(epoch from '2026-07-10 08:08:20'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.327316 -2.795972)', '2026-07-10 08:08:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327257 -2.795952)'), GeomFromEWKT('SRID=4674;POINT (-40.327316 -2.795972)'))) / (select extract(epoch from '2026-07-10 08:08:22'::timestamp) - extract(epoch from '2026-07-10 08:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327257 -2.795952)'), GeomFromEWKT('SRID=4674;POINT (-40.327316 -2.795972)'))) / (select extract(epoch from '2026-07-10 08:08:22'::timestamp) - extract(epoch from '2026-07-10 08:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.327474 -2.796001)', '2026-07-10 08:08:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327316 -2.795972)'), GeomFromEWKT('SRID=4674;POINT (-40.327474 -2.796001)'))) / (select extract(epoch from '2026-07-10 08:08:28'::timestamp) - extract(epoch from '2026-07-10 08:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327316 -2.795972)'), GeomFromEWKT('SRID=4674;POINT (-40.327474 -2.796001)'))) / (select extract(epoch from '2026-07-10 08:08:28'::timestamp) - extract(epoch from '2026-07-10 08:08: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'), 47835, 'SRID=4674;POINT (-40.327657 -2.796047)', '2026-07-10 08:08:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327474 -2.796001)'), GeomFromEWKT('SRID=4674;POINT (-40.327657 -2.796047)'))) / (select extract(epoch from '2026-07-10 08:08:35'::timestamp) - extract(epoch from '2026-07-10 08:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327474 -2.796001)'), GeomFromEWKT('SRID=4674;POINT (-40.327657 -2.796047)'))) / (select extract(epoch from '2026-07-10 08:08:35'::timestamp) - extract(epoch from '2026-07-10 08:08: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'), 47835, 'SRID=4674;POINT (-40.327844 -2.79608)', '2026-07-10 08:08:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327657 -2.796047)'), GeomFromEWKT('SRID=4674;POINT (-40.327844 -2.79608)'))) / (select extract(epoch from '2026-07-10 08:08:42'::timestamp) - extract(epoch from '2026-07-10 08:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327657 -2.796047)'), GeomFromEWKT('SRID=4674;POINT (-40.327844 -2.79608)'))) / (select extract(epoch from '2026-07-10 08:08:42'::timestamp) - extract(epoch from '2026-07-10 08:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.328033 -2.796139)', '2026-07-10 08:08:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327844 -2.79608)'), GeomFromEWKT('SRID=4674;POINT (-40.328033 -2.796139)'))) / (select extract(epoch from '2026-07-10 08:08:49'::timestamp) - extract(epoch from '2026-07-10 08:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327844 -2.79608)'), GeomFromEWKT('SRID=4674;POINT (-40.328033 -2.796139)'))) / (select extract(epoch from '2026-07-10 08:08:49'::timestamp) - extract(epoch from '2026-07-10 08:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.328221 -2.796183)', '2026-07-10 08:08:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328033 -2.796139)'), GeomFromEWKT('SRID=4674;POINT (-40.328221 -2.796183)'))) / (select extract(epoch from '2026-07-10 08:08:55'::timestamp) - extract(epoch from '2026-07-10 08:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328033 -2.796139)'), GeomFromEWKT('SRID=4674;POINT (-40.328221 -2.796183)'))) / (select extract(epoch from '2026-07-10 08:08:55'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.328283 -2.796189)', '2026-07-10 08:08:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328221 -2.796183)'), GeomFromEWKT('SRID=4674;POINT (-40.328283 -2.796189)'))) / (select extract(epoch from '2026-07-10 08:08:57'::timestamp) - extract(epoch from '2026-07-10 08:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328221 -2.796183)'), GeomFromEWKT('SRID=4674;POINT (-40.328283 -2.796189)'))) / (select extract(epoch from '2026-07-10 08:08:57'::timestamp) - extract(epoch from '2026-07-10 08:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.32845 -2.796239)', '2026-07-10 08:09:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328283 -2.796189)'), GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.796239)'))) / (select extract(epoch from '2026-07-10 08:09:05'::timestamp) - extract(epoch from '2026-07-10 08:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328283 -2.796189)'), GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.796239)'))) / (select extract(epoch from '2026-07-10 08:09:05'::timestamp) - extract(epoch from '2026-07-10 08:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.328633 -2.796295)', '2026-07-10 08:09:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.796239)'), GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.796295)'))) / (select extract(epoch from '2026-07-10 08:09:12'::timestamp) - extract(epoch from '2026-07-10 08:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.796239)'), GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.796295)'))) / (select extract(epoch from '2026-07-10 08:09:12'::timestamp) - extract(epoch from '2026-07-10 08:09: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'), 47835, 'SRID=4674;POINT (-40.328824 -2.796346)', '2026-07-10 08:09:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.796295)'), GeomFromEWKT('SRID=4674;POINT (-40.328824 -2.796346)'))) / (select extract(epoch from '2026-07-10 08:09:19'::timestamp) - extract(epoch from '2026-07-10 08:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.796295)'), GeomFromEWKT('SRID=4674;POINT (-40.328824 -2.796346)'))) / (select extract(epoch from '2026-07-10 08:09:19'::timestamp) - extract(epoch from '2026-07-10 08:09: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'), 47835, 'SRID=4674;POINT (-40.328848 -2.796353)', '2026-07-10 08:09:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328824 -2.796346)'), GeomFromEWKT('SRID=4674;POINT (-40.328848 -2.796353)'))) / (select extract(epoch from '2026-07-10 08:09:20'::timestamp) - extract(epoch from '2026-07-10 08:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328824 -2.796346)'), GeomFromEWKT('SRID=4674;POINT (-40.328848 -2.796353)'))) / (select extract(epoch from '2026-07-10 08:09:20'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.329031 -2.796402)', '2026-07-10 08:09:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328848 -2.796353)'), GeomFromEWKT('SRID=4674;POINT (-40.329031 -2.796402)'))) / (select extract(epoch from '2026-07-10 08:09:26'::timestamp) - extract(epoch from '2026-07-10 08:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328848 -2.796353)'), GeomFromEWKT('SRID=4674;POINT (-40.329031 -2.796402)'))) / (select extract(epoch from '2026-07-10 08:09:26'::timestamp) - extract(epoch from '2026-07-10 08:09: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'), 47835, 'SRID=4674;POINT (-40.32906 -2.796408)', '2026-07-10 08:09:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329031 -2.796402)'), GeomFromEWKT('SRID=4674;POINT (-40.32906 -2.796408)'))) / (select extract(epoch from '2026-07-10 08:09:27'::timestamp) - extract(epoch from '2026-07-10 08:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329031 -2.796402)'), GeomFromEWKT('SRID=4674;POINT (-40.32906 -2.796408)'))) / (select extract(epoch from '2026-07-10 08:09:27'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.329264 -2.796443)', '2026-07-10 08:09:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32906 -2.796408)'), GeomFromEWKT('SRID=4674;POINT (-40.329264 -2.796443)'))) / (select extract(epoch from '2026-07-10 08:09:35'::timestamp) - extract(epoch from '2026-07-10 08:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32906 -2.796408)'), GeomFromEWKT('SRID=4674;POINT (-40.329264 -2.796443)'))) / (select extract(epoch from '2026-07-10 08:09:35'::timestamp) - extract(epoch from '2026-07-10 08:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.329453 -2.796464)', '2026-07-10 08:09:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329264 -2.796443)'), GeomFromEWKT('SRID=4674;POINT (-40.329453 -2.796464)'))) / (select extract(epoch from '2026-07-10 08:09:42'::timestamp) - extract(epoch from '2026-07-10 08:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329264 -2.796443)'), GeomFromEWKT('SRID=4674;POINT (-40.329453 -2.796464)'))) / (select extract(epoch from '2026-07-10 08:09:42'::timestamp) - extract(epoch from '2026-07-10 08:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.329626 -2.796514)', '2026-07-10 08:09:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329453 -2.796464)'), GeomFromEWKT('SRID=4674;POINT (-40.329626 -2.796514)'))) / (select extract(epoch from '2026-07-10 08:09:48'::timestamp) - extract(epoch from '2026-07-10 08:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329453 -2.796464)'), GeomFromEWKT('SRID=4674;POINT (-40.329626 -2.796514)'))) / (select extract(epoch from '2026-07-10 08:09:48'::timestamp) - extract(epoch from '2026-07-10 08:09:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.329677 -2.796526)', '2026-07-10 08:09:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329626 -2.796514)'), GeomFromEWKT('SRID=4674;POINT (-40.329677 -2.796526)'))) / (select extract(epoch from '2026-07-10 08:09:50'::timestamp) - extract(epoch from '2026-07-10 08:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329626 -2.796514)'), GeomFromEWKT('SRID=4674;POINT (-40.329677 -2.796526)'))) / (select extract(epoch from '2026-07-10 08:09:50'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.329878 -2.796556)', '2026-07-10 08:09:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329677 -2.796526)'), GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.796556)'))) / (select extract(epoch from '2026-07-10 08:09:57'::timestamp) - extract(epoch from '2026-07-10 08:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329677 -2.796526)'), GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.796556)'))) / (select extract(epoch from '2026-07-10 08:09:57'::timestamp) - extract(epoch from '2026-07-10 08:09: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'), 47835, 'SRID=4674;POINT (-40.329905 -2.796557)', '2026-07-10 08:09:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.796556)'), GeomFromEWKT('SRID=4674;POINT (-40.329905 -2.796557)'))) / (select extract(epoch from '2026-07-10 08:09:58'::timestamp) - extract(epoch from '2026-07-10 08:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.796556)'), GeomFromEWKT('SRID=4674;POINT (-40.329905 -2.796557)'))) / (select extract(epoch from '2026-07-10 08:09:58'::timestamp) - extract(epoch from '2026-07-10 08:09: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'), 47835, 'SRID=4674;POINT (-40.33011 -2.796552)', '2026-07-10 08:10:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329905 -2.796557)'), GeomFromEWKT('SRID=4674;POINT (-40.33011 -2.796552)'))) / (select extract(epoch from '2026-07-10 08:10:06'::timestamp) - extract(epoch from '2026-07-10 08:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329905 -2.796557)'), GeomFromEWKT('SRID=4674;POINT (-40.33011 -2.796552)'))) / (select extract(epoch from '2026-07-10 08:10:06'::timestamp) - extract(epoch from '2026-07-10 08:09: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'), 47835, 'SRID=4674;POINT (-40.330283 -2.796556)', '2026-07-10 08:10:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33011 -2.796552)'), GeomFromEWKT('SRID=4674;POINT (-40.330283 -2.796556)'))) / (select extract(epoch from '2026-07-10 08:10:13'::timestamp) - extract(epoch from '2026-07-10 08:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33011 -2.796552)'), GeomFromEWKT('SRID=4674;POINT (-40.330283 -2.796556)'))) / (select extract(epoch from '2026-07-10 08:10:13'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.330461 -2.796578)', '2026-07-10 08:10:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330283 -2.796556)'), GeomFromEWKT('SRID=4674;POINT (-40.330461 -2.796578)'))) / (select extract(epoch from '2026-07-10 08:10:19'::timestamp) - extract(epoch from '2026-07-10 08:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330283 -2.796556)'), GeomFromEWKT('SRID=4674;POINT (-40.330461 -2.796578)'))) / (select extract(epoch from '2026-07-10 08:10:19'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.330492 -2.796583)', '2026-07-10 08:10:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330461 -2.796578)'), GeomFromEWKT('SRID=4674;POINT (-40.330492 -2.796583)'))) / (select extract(epoch from '2026-07-10 08:10:20'::timestamp) - extract(epoch from '2026-07-10 08:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330461 -2.796578)'), GeomFromEWKT('SRID=4674;POINT (-40.330492 -2.796583)'))) / (select extract(epoch from '2026-07-10 08:10:20'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.33067 -2.796631)', '2026-07-10 08:10:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330492 -2.796583)'), GeomFromEWKT('SRID=4674;POINT (-40.33067 -2.796631)'))) / (select extract(epoch from '2026-07-10 08:10:26'::timestamp) - extract(epoch from '2026-07-10 08:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330492 -2.796583)'), GeomFromEWKT('SRID=4674;POINT (-40.33067 -2.796631)'))) / (select extract(epoch from '2026-07-10 08:10:26'::timestamp) - extract(epoch from '2026-07-10 08:10: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'), 47835, 'SRID=4674;POINT (-40.3307 -2.796636)', '2026-07-10 08:10:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33067 -2.796631)'), GeomFromEWKT('SRID=4674;POINT (-40.3307 -2.796636)'))) / (select extract(epoch from '2026-07-10 08:10:27'::timestamp) - extract(epoch from '2026-07-10 08:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33067 -2.796631)'), GeomFromEWKT('SRID=4674;POINT (-40.3307 -2.796636)'))) / (select extract(epoch from '2026-07-10 08:10:27'::timestamp) - extract(epoch from '2026-07-10 08:10: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'), 47835, 'SRID=4674;POINT (-40.330904 -2.796641)', '2026-07-10 08:10:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3307 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.330904 -2.796641)'))) / (select extract(epoch from '2026-07-10 08:10:34'::timestamp) - extract(epoch from '2026-07-10 08:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3307 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.330904 -2.796641)'))) / (select extract(epoch from '2026-07-10 08:10:34'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.331108 -2.796664)', '2026-07-10 08:10:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330904 -2.796641)'), GeomFromEWKT('SRID=4674;POINT (-40.331108 -2.796664)'))) / (select extract(epoch from '2026-07-10 08:10:41'::timestamp) - extract(epoch from '2026-07-10 08:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330904 -2.796641)'), GeomFromEWKT('SRID=4674;POINT (-40.331108 -2.796664)'))) / (select extract(epoch from '2026-07-10 08:10:41'::timestamp) - extract(epoch from '2026-07-10 08:10: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'), 47835, 'SRID=4674;POINT (-40.331139 -2.796668)', '2026-07-10 08:10:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331108 -2.796664)'), GeomFromEWKT('SRID=4674;POINT (-40.331139 -2.796668)'))) / (select extract(epoch from '2026-07-10 08:10:42'::timestamp) - extract(epoch from '2026-07-10 08:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331108 -2.796664)'), GeomFromEWKT('SRID=4674;POINT (-40.331139 -2.796668)'))) / (select extract(epoch from '2026-07-10 08:10:42'::timestamp) - extract(epoch from '2026-07-10 08:10: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'), 47835, 'SRID=4674;POINT (-40.331323 -2.796685)', '2026-07-10 08:10:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331139 -2.796668)'), GeomFromEWKT('SRID=4674;POINT (-40.331323 -2.796685)'))) / (select extract(epoch from '2026-07-10 08:10:48'::timestamp) - extract(epoch from '2026-07-10 08:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331139 -2.796668)'), GeomFromEWKT('SRID=4674;POINT (-40.331323 -2.796685)'))) / (select extract(epoch from '2026-07-10 08:10:48'::timestamp) - extract(epoch from '2026-07-10 08:10: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'), 47835, 'SRID=4674;POINT (-40.331416 -2.79671)', '2026-07-10 08:10:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331323 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.331416 -2.79671)'))) / (select extract(epoch from '2026-07-10 08:10:52'::timestamp) - extract(epoch from '2026-07-10 08:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331323 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.331416 -2.79671)'))) / (select extract(epoch from '2026-07-10 08:10:52'::timestamp) - extract(epoch from '2026-07-10 08:10: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'), 47835, 'SRID=4674;POINT (-40.331609 -2.796725)', '2026-07-10 08:10:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331416 -2.79671)'), GeomFromEWKT('SRID=4674;POINT (-40.331609 -2.796725)'))) / (select extract(epoch from '2026-07-10 08:10:59'::timestamp) - extract(epoch from '2026-07-10 08:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331416 -2.79671)'), GeomFromEWKT('SRID=4674;POINT (-40.331609 -2.796725)'))) / (select extract(epoch from '2026-07-10 08:10:59'::timestamp) - extract(epoch from '2026-07-10 08:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.33164 -2.796725)', '2026-07-10 08:11:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331609 -2.796725)'), GeomFromEWKT('SRID=4674;POINT (-40.33164 -2.796725)'))) / (select extract(epoch from '2026-07-10 08:11:00'::timestamp) - extract(epoch from '2026-07-10 08:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331609 -2.796725)'), GeomFromEWKT('SRID=4674;POINT (-40.33164 -2.796725)'))) / (select extract(epoch from '2026-07-10 08:11:00'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.331835 -2.796763)', '2026-07-10 08:11:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33164 -2.796725)'), GeomFromEWKT('SRID=4674;POINT (-40.331835 -2.796763)'))) / (select extract(epoch from '2026-07-10 08:11:07'::timestamp) - extract(epoch from '2026-07-10 08:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33164 -2.796725)'), GeomFromEWKT('SRID=4674;POINT (-40.331835 -2.796763)'))) / (select extract(epoch from '2026-07-10 08:11:07'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.332023 -2.796809)', '2026-07-10 08:11:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331835 -2.796763)'), GeomFromEWKT('SRID=4674;POINT (-40.332023 -2.796809)'))) / (select extract(epoch from '2026-07-10 08:11:14'::timestamp) - extract(epoch from '2026-07-10 08:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331835 -2.796763)'), GeomFromEWKT('SRID=4674;POINT (-40.332023 -2.796809)'))) / (select extract(epoch from '2026-07-10 08:11:14'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.332053 -2.796813)', '2026-07-10 08:11:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332023 -2.796809)'), GeomFromEWKT('SRID=4674;POINT (-40.332053 -2.796813)'))) / (select extract(epoch from '2026-07-10 08:11:15'::timestamp) - extract(epoch from '2026-07-10 08:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332023 -2.796809)'), GeomFromEWKT('SRID=4674;POINT (-40.332053 -2.796813)'))) / (select extract(epoch from '2026-07-10 08:11:15'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.332222 -2.796864)', '2026-07-10 08:11:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332053 -2.796813)'), GeomFromEWKT('SRID=4674;POINT (-40.332222 -2.796864)'))) / (select extract(epoch from '2026-07-10 08:11:22'::timestamp) - extract(epoch from '2026-07-10 08:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332053 -2.796813)'), GeomFromEWKT('SRID=4674;POINT (-40.332222 -2.796864)'))) / (select extract(epoch from '2026-07-10 08:11:22'::timestamp) - extract(epoch from '2026-07-10 08:11: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'), 47835, 'SRID=4674;POINT (-40.332415 -2.796938)', '2026-07-10 08:11:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332222 -2.796864)'), GeomFromEWKT('SRID=4674;POINT (-40.332415 -2.796938)'))) / (select extract(epoch from '2026-07-10 08:11:29'::timestamp) - extract(epoch from '2026-07-10 08:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332222 -2.796864)'), GeomFromEWKT('SRID=4674;POINT (-40.332415 -2.796938)'))) / (select extract(epoch from '2026-07-10 08:11:29'::timestamp) - extract(epoch from '2026-07-10 08:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.332442 -2.796946)', '2026-07-10 08:11:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332415 -2.796938)'), GeomFromEWKT('SRID=4674;POINT (-40.332442 -2.796946)'))) / (select extract(epoch from '2026-07-10 08:11:30'::timestamp) - extract(epoch from '2026-07-10 08:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332415 -2.796938)'), GeomFromEWKT('SRID=4674;POINT (-40.332442 -2.796946)'))) / (select extract(epoch from '2026-07-10 08:11:30'::timestamp) - extract(epoch from '2026-07-10 08:11: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'), 47835, 'SRID=4674;POINT (-40.332641 -2.797005)', '2026-07-10 08:11:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332442 -2.796946)'), GeomFromEWKT('SRID=4674;POINT (-40.332641 -2.797005)'))) / (select extract(epoch from '2026-07-10 08:11:38'::timestamp) - extract(epoch from '2026-07-10 08:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332442 -2.796946)'), GeomFromEWKT('SRID=4674;POINT (-40.332641 -2.797005)'))) / (select extract(epoch from '2026-07-10 08:11:38'::timestamp) - extract(epoch from '2026-07-10 08:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.332837 -2.797059)', '2026-07-10 08:11:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332641 -2.797005)'), GeomFromEWKT('SRID=4674;POINT (-40.332837 -2.797059)'))) / (select extract(epoch from '2026-07-10 08:11:45'::timestamp) - extract(epoch from '2026-07-10 08:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332641 -2.797005)'), GeomFromEWKT('SRID=4674;POINT (-40.332837 -2.797059)'))) / (select extract(epoch from '2026-07-10 08:11:45'::timestamp) - extract(epoch from '2026-07-10 08:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.333009 -2.797115)', '2026-07-10 08:11:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332837 -2.797059)'), GeomFromEWKT('SRID=4674;POINT (-40.333009 -2.797115)'))) / (select extract(epoch from '2026-07-10 08:11:51'::timestamp) - extract(epoch from '2026-07-10 08:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332837 -2.797059)'), GeomFromEWKT('SRID=4674;POINT (-40.333009 -2.797115)'))) / (select extract(epoch from '2026-07-10 08:11:51'::timestamp) - extract(epoch from '2026-07-10 08:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.333093 -2.797141)', '2026-07-10 08:11:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333009 -2.797115)'), GeomFromEWKT('SRID=4674;POINT (-40.333093 -2.797141)'))) / (select extract(epoch from '2026-07-10 08:11:54'::timestamp) - extract(epoch from '2026-07-10 08:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333009 -2.797115)'), GeomFromEWKT('SRID=4674;POINT (-40.333093 -2.797141)'))) / (select extract(epoch from '2026-07-10 08:11:54'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.333283 -2.797195)', '2026-07-10 08:12:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333093 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.797195)'))) / (select extract(epoch from '2026-07-10 08:12:01'::timestamp) - extract(epoch from '2026-07-10 08:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333093 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.797195)'))) / (select extract(epoch from '2026-07-10 08:12:01'::timestamp) - extract(epoch from '2026-07-10 08:11: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'), 47835, 'SRID=4674;POINT (-40.333337 -2.797215)', '2026-07-10 08:12:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.797195)'), GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.797215)'))) / (select extract(epoch from '2026-07-10 08:12:03'::timestamp) - extract(epoch from '2026-07-10 08:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.797195)'), GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.797215)'))) / (select extract(epoch from '2026-07-10 08:12:03'::timestamp) - extract(epoch from '2026-07-10 08:12: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'), 47835, 'SRID=4674;POINT (-40.333527 -2.797282)', '2026-07-10 08:12:10', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.797215)'), GeomFromEWKT('SRID=4674;POINT (-40.333527 -2.797282)'))) / (select extract(epoch from '2026-07-10 08:12:10'::timestamp) - extract(epoch from '2026-07-10 08:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.797215)'), GeomFromEWKT('SRID=4674;POINT (-40.333527 -2.797282)'))) / (select extract(epoch from '2026-07-10 08:12:10'::timestamp) - extract(epoch from '2026-07-10 08:12: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'), 47835, 'SRID=4674;POINT (-40.333576 -2.797292)', '2026-07-10 08:12:12', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333527 -2.797282)'), GeomFromEWKT('SRID=4674;POINT (-40.333576 -2.797292)'))) / (select extract(epoch from '2026-07-10 08:12:12'::timestamp) - extract(epoch from '2026-07-10 08:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333527 -2.797282)'), GeomFromEWKT('SRID=4674;POINT (-40.333576 -2.797292)'))) / (select extract(epoch from '2026-07-10 08:12:12'::timestamp) - extract(epoch from '2026-07-10 08:12: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'), 47835, 'SRID=4674;POINT (-40.333754 -2.797335)', '2026-07-10 08:12:19', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333576 -2.797292)'), GeomFromEWKT('SRID=4674;POINT (-40.333754 -2.797335)'))) / (select extract(epoch from '2026-07-10 08:12:19'::timestamp) - extract(epoch from '2026-07-10 08:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333576 -2.797292)'), GeomFromEWKT('SRID=4674;POINT (-40.333754 -2.797335)'))) / (select extract(epoch from '2026-07-10 08:12:19'::timestamp) - extract(epoch from '2026-07-10 08:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.333807 -2.797348)', '2026-07-10 08:12:21', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333754 -2.797335)'), GeomFromEWKT('SRID=4674;POINT (-40.333807 -2.797348)'))) / (select extract(epoch from '2026-07-10 08:12:21'::timestamp) - extract(epoch from '2026-07-10 08:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333754 -2.797335)'), GeomFromEWKT('SRID=4674;POINT (-40.333807 -2.797348)'))) / (select extract(epoch from '2026-07-10 08:12:21'::timestamp) - extract(epoch from '2026-07-10 08:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.333996 -2.797395)', '2026-07-10 08:12:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333807 -2.797348)'), GeomFromEWKT('SRID=4674;POINT (-40.333996 -2.797395)'))) / (select extract(epoch from '2026-07-10 08:12:29'::timestamp) - extract(epoch from '2026-07-10 08:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333807 -2.797348)'), GeomFromEWKT('SRID=4674;POINT (-40.333996 -2.797395)'))) / (select extract(epoch from '2026-07-10 08:12:29'::timestamp) - extract(epoch from '2026-07-10 08:12: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'), 47835, 'SRID=4674;POINT (-40.334176 -2.797458)', '2026-07-10 08:12:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333996 -2.797395)'), GeomFromEWKT('SRID=4674;POINT (-40.334176 -2.797458)'))) / (select extract(epoch from '2026-07-10 08:12:36'::timestamp) - extract(epoch from '2026-07-10 08:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333996 -2.797395)'), GeomFromEWKT('SRID=4674;POINT (-40.334176 -2.797458)'))) / (select extract(epoch from '2026-07-10 08:12:36'::timestamp) - extract(epoch from '2026-07-10 08:12: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'), 47835, 'SRID=4674;POINT (-40.334251 -2.797483)', '2026-07-10 08:12:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334176 -2.797458)'), GeomFromEWKT('SRID=4674;POINT (-40.334251 -2.797483)'))) / (select extract(epoch from '2026-07-10 08:12:39'::timestamp) - extract(epoch from '2026-07-10 08:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334176 -2.797458)'), GeomFromEWKT('SRID=4674;POINT (-40.334251 -2.797483)'))) / (select extract(epoch from '2026-07-10 08:12:39'::timestamp) - extract(epoch from '2026-07-10 08:12: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'), 47835, 'SRID=4674;POINT (-40.334415 -2.797546)', '2026-07-10 08:12:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334251 -2.797483)'), GeomFromEWKT('SRID=4674;POINT (-40.334415 -2.797546)'))) / (select extract(epoch from '2026-07-10 08:12:46'::timestamp) - extract(epoch from '2026-07-10 08:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334251 -2.797483)'), GeomFromEWKT('SRID=4674;POINT (-40.334415 -2.797546)'))) / (select extract(epoch from '2026-07-10 08:12:46'::timestamp) - extract(epoch from '2026-07-10 08:12: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'), 47835, 'SRID=4674;POINT (-40.334615 -2.797583)', '2026-07-10 08:12:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334415 -2.797546)'), GeomFromEWKT('SRID=4674;POINT (-40.334615 -2.797583)'))) / (select extract(epoch from '2026-07-10 08:12:54'::timestamp) - extract(epoch from '2026-07-10 08:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334415 -2.797546)'), GeomFromEWKT('SRID=4674;POINT (-40.334615 -2.797583)'))) / (select extract(epoch from '2026-07-10 08:12:54'::timestamp) - extract(epoch from '2026-07-10 08:12: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'), 47835, 'SRID=4674;POINT (-40.334817 -2.79757)', '2026-07-10 08:13:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334615 -2.797583)'), GeomFromEWKT('SRID=4674;POINT (-40.334817 -2.79757)'))) / (select extract(epoch from '2026-07-10 08:13:02'::timestamp) - extract(epoch from '2026-07-10 08:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334615 -2.797583)'), GeomFromEWKT('SRID=4674;POINT (-40.334817 -2.79757)'))) / (select extract(epoch from '2026-07-10 08:13:02'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.334843 -2.797571)', '2026-07-10 08:13:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334817 -2.79757)'), GeomFromEWKT('SRID=4674;POINT (-40.334843 -2.797571)'))) / (select extract(epoch from '2026-07-10 08:13:03'::timestamp) - extract(epoch from '2026-07-10 08:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334817 -2.79757)'), GeomFromEWKT('SRID=4674;POINT (-40.334843 -2.797571)'))) / (select extract(epoch from '2026-07-10 08:13:03'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.335031 -2.797591)', '2026-07-10 08:13:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334843 -2.797571)'), GeomFromEWKT('SRID=4674;POINT (-40.335031 -2.797591)'))) / (select extract(epoch from '2026-07-10 08:13:09'::timestamp) - extract(epoch from '2026-07-10 08:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334843 -2.797571)'), GeomFromEWKT('SRID=4674;POINT (-40.335031 -2.797591)'))) / (select extract(epoch from '2026-07-10 08:13:09'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.33522 -2.797624)', '2026-07-10 08:13:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335031 -2.797591)'), GeomFromEWKT('SRID=4674;POINT (-40.33522 -2.797624)'))) / (select extract(epoch from '2026-07-10 08:13:16'::timestamp) - extract(epoch from '2026-07-10 08:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335031 -2.797591)'), GeomFromEWKT('SRID=4674;POINT (-40.33522 -2.797624)'))) / (select extract(epoch from '2026-07-10 08:13:16'::timestamp) - extract(epoch from '2026-07-10 08:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.335305 -2.797644)', '2026-07-10 08:13:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33522 -2.797624)'), GeomFromEWKT('SRID=4674;POINT (-40.335305 -2.797644)'))) / (select extract(epoch from '2026-07-10 08:13:19'::timestamp) - extract(epoch from '2026-07-10 08:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33522 -2.797624)'), GeomFromEWKT('SRID=4674;POINT (-40.335305 -2.797644)'))) / (select extract(epoch from '2026-07-10 08:13:19'::timestamp) - extract(epoch from '2026-07-10 08:13: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'), 47835, 'SRID=4674;POINT (-40.335505 -2.797671)', '2026-07-10 08:13:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335305 -2.797644)'), GeomFromEWKT('SRID=4674;POINT (-40.335505 -2.797671)'))) / (select extract(epoch from '2026-07-10 08:13:27'::timestamp) - extract(epoch from '2026-07-10 08:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335305 -2.797644)'), GeomFromEWKT('SRID=4674;POINT (-40.335505 -2.797671)'))) / (select extract(epoch from '2026-07-10 08:13:27'::timestamp) - extract(epoch from '2026-07-10 08:13: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'), 47835, 'SRID=4674;POINT (-40.335689 -2.797721)', '2026-07-10 08:13:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335505 -2.797671)'), GeomFromEWKT('SRID=4674;POINT (-40.335689 -2.797721)'))) / (select extract(epoch from '2026-07-10 08:13:34'::timestamp) - extract(epoch from '2026-07-10 08:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335505 -2.797671)'), GeomFromEWKT('SRID=4674;POINT (-40.335689 -2.797721)'))) / (select extract(epoch from '2026-07-10 08:13:34'::timestamp) - extract(epoch from '2026-07-10 08:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.33586 -2.797778)', '2026-07-10 08:13:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335689 -2.797721)'), GeomFromEWKT('SRID=4674;POINT (-40.33586 -2.797778)'))) / (select extract(epoch from '2026-07-10 08:13:40'::timestamp) - extract(epoch from '2026-07-10 08:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335689 -2.797721)'), GeomFromEWKT('SRID=4674;POINT (-40.33586 -2.797778)'))) / (select extract(epoch from '2026-07-10 08:13:40'::timestamp) - extract(epoch from '2026-07-10 08:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.335891 -2.797781)', '2026-07-10 08:13:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33586 -2.797778)'), GeomFromEWKT('SRID=4674;POINT (-40.335891 -2.797781)'))) / (select extract(epoch from '2026-07-10 08:13:41'::timestamp) - extract(epoch from '2026-07-10 08:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33586 -2.797778)'), GeomFromEWKT('SRID=4674;POINT (-40.335891 -2.797781)'))) / (select extract(epoch from '2026-07-10 08:13:41'::timestamp) - extract(epoch from '2026-07-10 08:13: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'), 47835, 'SRID=4674;POINT (-40.336073 -2.797823)', '2026-07-10 08:13:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335891 -2.797781)'), GeomFromEWKT('SRID=4674;POINT (-40.336073 -2.797823)'))) / (select extract(epoch from '2026-07-10 08:13:48'::timestamp) - extract(epoch from '2026-07-10 08:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335891 -2.797781)'), GeomFromEWKT('SRID=4674;POINT (-40.336073 -2.797823)'))) / (select extract(epoch from '2026-07-10 08:13:48'::timestamp) - extract(epoch from '2026-07-10 08:13: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'), 47835, 'SRID=4674;POINT (-40.336267 -2.797866)', '2026-07-10 08:13:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336073 -2.797823)'), GeomFromEWKT('SRID=4674;POINT (-40.336267 -2.797866)'))) / (select extract(epoch from '2026-07-10 08:13:55'::timestamp) - extract(epoch from '2026-07-10 08:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336073 -2.797823)'), GeomFromEWKT('SRID=4674;POINT (-40.336267 -2.797866)'))) / (select extract(epoch from '2026-07-10 08:13:55'::timestamp) - extract(epoch from '2026-07-10 08:13: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'), 47835, 'SRID=4674;POINT (-40.336321 -2.797878)', '2026-07-10 08:13:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336267 -2.797866)'), GeomFromEWKT('SRID=4674;POINT (-40.336321 -2.797878)'))) / (select extract(epoch from '2026-07-10 08:13:57'::timestamp) - extract(epoch from '2026-07-10 08:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336267 -2.797866)'), GeomFromEWKT('SRID=4674;POINT (-40.336321 -2.797878)'))) / (select extract(epoch from '2026-07-10 08:13:57'::timestamp) - extract(epoch from '2026-07-10 08:13:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.336492 -2.797945)', '2026-07-10 08:14:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336321 -2.797878)'), GeomFromEWKT('SRID=4674;POINT (-40.336492 -2.797945)'))) / (select extract(epoch from '2026-07-10 08:14:04'::timestamp) - extract(epoch from '2026-07-10 08:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336321 -2.797878)'), GeomFromEWKT('SRID=4674;POINT (-40.336492 -2.797945)'))) / (select extract(epoch from '2026-07-10 08:14:04'::timestamp) - extract(epoch from '2026-07-10 08:13: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'), 47835, 'SRID=4674;POINT (-40.336678 -2.79803)', '2026-07-10 08:14:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336492 -2.797945)'), GeomFromEWKT('SRID=4674;POINT (-40.336678 -2.79803)'))) / (select extract(epoch from '2026-07-10 08:14:11'::timestamp) - extract(epoch from '2026-07-10 08:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336492 -2.797945)'), GeomFromEWKT('SRID=4674;POINT (-40.336678 -2.79803)'))) / (select extract(epoch from '2026-07-10 08:14:11'::timestamp) - extract(epoch from '2026-07-10 08:14:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.336747 -2.798067)', '2026-07-10 08:14:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336678 -2.79803)'), GeomFromEWKT('SRID=4674;POINT (-40.336747 -2.798067)'))) / (select extract(epoch from '2026-07-10 08:14:14'::timestamp) - extract(epoch from '2026-07-10 08:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336678 -2.79803)'), GeomFromEWKT('SRID=4674;POINT (-40.336747 -2.798067)'))) / (select extract(epoch from '2026-07-10 08:14:14'::timestamp) - extract(epoch from '2026-07-10 08:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.336927 -2.798139)', '2026-07-10 08:14:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336747 -2.798067)'), GeomFromEWKT('SRID=4674;POINT (-40.336927 -2.798139)'))) / (select extract(epoch from '2026-07-10 08:14:21'::timestamp) - extract(epoch from '2026-07-10 08:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336747 -2.798067)'), GeomFromEWKT('SRID=4674;POINT (-40.336927 -2.798139)'))) / (select extract(epoch from '2026-07-10 08:14:21'::timestamp) - extract(epoch from '2026-07-10 08:14: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'), 47835, 'SRID=4674;POINT (-40.337108 -2.798218)', '2026-07-10 08:14:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336927 -2.798139)'), GeomFromEWKT('SRID=4674;POINT (-40.337108 -2.798218)'))) / (select extract(epoch from '2026-07-10 08:14:28'::timestamp) - extract(epoch from '2026-07-10 08:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336927 -2.798139)'), GeomFromEWKT('SRID=4674;POINT (-40.337108 -2.798218)'))) / (select extract(epoch from '2026-07-10 08:14:28'::timestamp) - extract(epoch from '2026-07-10 08:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.337156 -2.798238)', '2026-07-10 08:14:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337108 -2.798218)'), GeomFromEWKT('SRID=4674;POINT (-40.337156 -2.798238)'))) / (select extract(epoch from '2026-07-10 08:14:30'::timestamp) - extract(epoch from '2026-07-10 08:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337108 -2.798218)'), GeomFromEWKT('SRID=4674;POINT (-40.337156 -2.798238)'))) / (select extract(epoch from '2026-07-10 08:14:30'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.337342 -2.798315)', '2026-07-10 08:14:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337156 -2.798238)'), GeomFromEWKT('SRID=4674;POINT (-40.337342 -2.798315)'))) / (select extract(epoch from '2026-07-10 08:14:38'::timestamp) - extract(epoch from '2026-07-10 08:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337156 -2.798238)'), GeomFromEWKT('SRID=4674;POINT (-40.337342 -2.798315)'))) / (select extract(epoch from '2026-07-10 08:14:38'::timestamp) - extract(epoch from '2026-07-10 08:14: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'), 47835, 'SRID=4674;POINT (-40.337525 -2.798381)', '2026-07-10 08:14:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337342 -2.798315)'), GeomFromEWKT('SRID=4674;POINT (-40.337525 -2.798381)'))) / (select extract(epoch from '2026-07-10 08:14:45'::timestamp) - extract(epoch from '2026-07-10 08:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337342 -2.798315)'), GeomFromEWKT('SRID=4674;POINT (-40.337525 -2.798381)'))) / (select extract(epoch from '2026-07-10 08:14:45'::timestamp) - extract(epoch from '2026-07-10 08:14: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'), 47835, 'SRID=4674;POINT (-40.337697 -2.79844)', '2026-07-10 08:14:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337525 -2.798381)'), GeomFromEWKT('SRID=4674;POINT (-40.337697 -2.79844)'))) / (select extract(epoch from '2026-07-10 08:14:51'::timestamp) - extract(epoch from '2026-07-10 08:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337525 -2.798381)'), GeomFromEWKT('SRID=4674;POINT (-40.337697 -2.79844)'))) / (select extract(epoch from '2026-07-10 08:14:51'::timestamp) - extract(epoch from '2026-07-10 08:14: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'), 47835, 'SRID=4674;POINT (-40.337721 -2.798447)', '2026-07-10 08:14:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337697 -2.79844)'), GeomFromEWKT('SRID=4674;POINT (-40.337721 -2.798447)'))) / (select extract(epoch from '2026-07-10 08:14:52'::timestamp) - extract(epoch from '2026-07-10 08:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337697 -2.79844)'), GeomFromEWKT('SRID=4674;POINT (-40.337721 -2.798447)'))) / (select extract(epoch from '2026-07-10 08:14:52'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.337883 -2.798531)', '2026-07-10 08:14:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337721 -2.798447)'), GeomFromEWKT('SRID=4674;POINT (-40.337883 -2.798531)'))) / (select extract(epoch from '2026-07-10 08:14:59'::timestamp) - extract(epoch from '2026-07-10 08:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337721 -2.798447)'), GeomFromEWKT('SRID=4674;POINT (-40.337883 -2.798531)'))) / (select extract(epoch from '2026-07-10 08:14:59'::timestamp) - extract(epoch from '2026-07-10 08:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.338045 -2.798641)', '2026-07-10 08:15:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337883 -2.798531)'), GeomFromEWKT('SRID=4674;POINT (-40.338045 -2.798641)'))) / (select extract(epoch from '2026-07-10 08:15:06'::timestamp) - extract(epoch from '2026-07-10 08:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337883 -2.798531)'), GeomFromEWKT('SRID=4674;POINT (-40.338045 -2.798641)'))) / (select extract(epoch from '2026-07-10 08:15:06'::timestamp) - extract(epoch from '2026-07-10 08:14: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'), 47835, 'SRID=4674;POINT (-40.338219 -2.798733)', '2026-07-10 08:15:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338045 -2.798641)'), GeomFromEWKT('SRID=4674;POINT (-40.338219 -2.798733)'))) / (select extract(epoch from '2026-07-10 08:15:13'::timestamp) - extract(epoch from '2026-07-10 08:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338045 -2.798641)'), GeomFromEWKT('SRID=4674;POINT (-40.338219 -2.798733)'))) / (select extract(epoch from '2026-07-10 08:15:13'::timestamp) - extract(epoch from '2026-07-10 08:15: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'), 47835, 'SRID=4674;POINT (-40.338243 -2.798744)', '2026-07-10 08:15:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338219 -2.798733)'), GeomFromEWKT('SRID=4674;POINT (-40.338243 -2.798744)'))) / (select extract(epoch from '2026-07-10 08:15:14'::timestamp) - extract(epoch from '2026-07-10 08:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338219 -2.798733)'), GeomFromEWKT('SRID=4674;POINT (-40.338243 -2.798744)'))) / (select extract(epoch from '2026-07-10 08:15:14'::timestamp) - extract(epoch from '2026-07-10 08:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.338421 -2.798799)', '2026-07-10 08:15:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338243 -2.798744)'), GeomFromEWKT('SRID=4674;POINT (-40.338421 -2.798799)'))) / (select extract(epoch from '2026-07-10 08:15:21'::timestamp) - extract(epoch from '2026-07-10 08:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338243 -2.798744)'), GeomFromEWKT('SRID=4674;POINT (-40.338421 -2.798799)'))) / (select extract(epoch from '2026-07-10 08:15:21'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.338444 -2.798808)', '2026-07-10 08:15:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338421 -2.798799)'), GeomFromEWKT('SRID=4674;POINT (-40.338444 -2.798808)'))) / (select extract(epoch from '2026-07-10 08:15:22'::timestamp) - extract(epoch from '2026-07-10 08:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338421 -2.798799)'), GeomFromEWKT('SRID=4674;POINT (-40.338444 -2.798808)'))) / (select extract(epoch from '2026-07-10 08:15:22'::timestamp) - extract(epoch from '2026-07-10 08:15:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.338631 -2.798878)', '2026-07-10 08:15:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338444 -2.798808)'), GeomFromEWKT('SRID=4674;POINT (-40.338631 -2.798878)'))) / (select extract(epoch from '2026-07-10 08:15:30'::timestamp) - extract(epoch from '2026-07-10 08:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338444 -2.798808)'), GeomFromEWKT('SRID=4674;POINT (-40.338631 -2.798878)'))) / (select extract(epoch from '2026-07-10 08:15:30'::timestamp) - extract(epoch from '2026-07-10 08:15: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'), 47835, 'SRID=4674;POINT (-40.33881 -2.798931)', '2026-07-10 08:15:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338631 -2.798878)'), GeomFromEWKT('SRID=4674;POINT (-40.33881 -2.798931)'))) / (select extract(epoch from '2026-07-10 08:15:37'::timestamp) - extract(epoch from '2026-07-10 08:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338631 -2.798878)'), GeomFromEWKT('SRID=4674;POINT (-40.33881 -2.798931)'))) / (select extract(epoch from '2026-07-10 08:15:37'::timestamp) - extract(epoch from '2026-07-10 08:15: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'), 47835, 'SRID=4674;POINT (-40.33898 -2.799028)', '2026-07-10 08:15:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33881 -2.798931)'), GeomFromEWKT('SRID=4674;POINT (-40.33898 -2.799028)'))) / (select extract(epoch from '2026-07-10 08:15:45'::timestamp) - extract(epoch from '2026-07-10 08:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33881 -2.798931)'), GeomFromEWKT('SRID=4674;POINT (-40.33898 -2.799028)'))) / (select extract(epoch from '2026-07-10 08:15:45'::timestamp) - extract(epoch from '2026-07-10 08:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.339166 -2.799112)', '2026-07-10 08:15:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33898 -2.799028)'), GeomFromEWKT('SRID=4674;POINT (-40.339166 -2.799112)'))) / (select extract(epoch from '2026-07-10 08:15:52'::timestamp) - extract(epoch from '2026-07-10 08:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33898 -2.799028)'), GeomFromEWKT('SRID=4674;POINT (-40.339166 -2.799112)'))) / (select extract(epoch from '2026-07-10 08:15:52'::timestamp) - extract(epoch from '2026-07-10 08:15: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'), 47835, 'SRID=4674;POINT (-40.339195 -2.799122)', '2026-07-10 08:15:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339166 -2.799112)'), GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.799122)'))) / (select extract(epoch from '2026-07-10 08:15:53'::timestamp) - extract(epoch from '2026-07-10 08:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339166 -2.799112)'), GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.799122)'))) / (select extract(epoch from '2026-07-10 08:15:53'::timestamp) - extract(epoch from '2026-07-10 08:15: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'), 47835, 'SRID=4674;POINT (-40.339399 -2.799164)', '2026-07-10 08:16:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.799122)'), GeomFromEWKT('SRID=4674;POINT (-40.339399 -2.799164)'))) / (select extract(epoch from '2026-07-10 08:16:00'::timestamp) - extract(epoch from '2026-07-10 08:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.799122)'), GeomFromEWKT('SRID=4674;POINT (-40.339399 -2.799164)'))) / (select extract(epoch from '2026-07-10 08:16:00'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.339457 -2.799171)', '2026-07-10 08:16:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339399 -2.799164)'), GeomFromEWKT('SRID=4674;POINT (-40.339457 -2.799171)'))) / (select extract(epoch from '2026-07-10 08:16:02'::timestamp) - extract(epoch from '2026-07-10 08:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339399 -2.799164)'), GeomFromEWKT('SRID=4674;POINT (-40.339457 -2.799171)'))) / (select extract(epoch from '2026-07-10 08:16:02'::timestamp) - extract(epoch from '2026-07-10 08:16: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'), 47835, 'SRID=4674;POINT (-40.33965 -2.79922)', '2026-07-10 08:16:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339457 -2.799171)'), GeomFromEWKT('SRID=4674;POINT (-40.33965 -2.79922)'))) / (select extract(epoch from '2026-07-10 08:16:10'::timestamp) - extract(epoch from '2026-07-10 08:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339457 -2.799171)'), GeomFromEWKT('SRID=4674;POINT (-40.33965 -2.79922)'))) / (select extract(epoch from '2026-07-10 08:16:10'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.339822 -2.799254)', '2026-07-10 08:16:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33965 -2.79922)'), GeomFromEWKT('SRID=4674;POINT (-40.339822 -2.799254)'))) / (select extract(epoch from '2026-07-10 08:16:17'::timestamp) - extract(epoch from '2026-07-10 08:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33965 -2.79922)'), GeomFromEWKT('SRID=4674;POINT (-40.339822 -2.799254)'))) / (select extract(epoch from '2026-07-10 08:16:17'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.340012 -2.799301)', '2026-07-10 08:16:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339822 -2.799254)'), GeomFromEWKT('SRID=4674;POINT (-40.340012 -2.799301)'))) / (select extract(epoch from '2026-07-10 08:16:24'::timestamp) - extract(epoch from '2026-07-10 08:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339822 -2.799254)'), GeomFromEWKT('SRID=4674;POINT (-40.340012 -2.799301)'))) / (select extract(epoch from '2026-07-10 08:16:24'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.3402 -2.799352)', '2026-07-10 08:16:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340012 -2.799301)'), GeomFromEWKT('SRID=4674;POINT (-40.3402 -2.799352)'))) / (select extract(epoch from '2026-07-10 08:16:31'::timestamp) - extract(epoch from '2026-07-10 08:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340012 -2.799301)'), GeomFromEWKT('SRID=4674;POINT (-40.3402 -2.799352)'))) / (select extract(epoch from '2026-07-10 08:16:31'::timestamp) - extract(epoch from '2026-07-10 08:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.340226 -2.799359)', '2026-07-10 08:16:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3402 -2.799352)'), GeomFromEWKT('SRID=4674;POINT (-40.340226 -2.799359)'))) / (select extract(epoch from '2026-07-10 08:16:32'::timestamp) - extract(epoch from '2026-07-10 08:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3402 -2.799352)'), GeomFromEWKT('SRID=4674;POINT (-40.340226 -2.799359)'))) / (select extract(epoch from '2026-07-10 08:16:32'::timestamp) - extract(epoch from '2026-07-10 08:16: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'), 47835, 'SRID=4674;POINT (-40.340426 -2.799407)', '2026-07-10 08:16:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340226 -2.799359)'), GeomFromEWKT('SRID=4674;POINT (-40.340426 -2.799407)'))) / (select extract(epoch from '2026-07-10 08:16:39'::timestamp) - extract(epoch from '2026-07-10 08:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340226 -2.799359)'), GeomFromEWKT('SRID=4674;POINT (-40.340426 -2.799407)'))) / (select extract(epoch from '2026-07-10 08:16:39'::timestamp) - extract(epoch from '2026-07-10 08:16: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'), 47835, 'SRID=4674;POINT (-40.340486 -2.799417)', '2026-07-10 08:16:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340426 -2.799407)'), GeomFromEWKT('SRID=4674;POINT (-40.340486 -2.799417)'))) / (select extract(epoch from '2026-07-10 08:16:41'::timestamp) - extract(epoch from '2026-07-10 08:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340426 -2.799407)'), GeomFromEWKT('SRID=4674;POINT (-40.340486 -2.799417)'))) / (select extract(epoch from '2026-07-10 08:16:41'::timestamp) - extract(epoch from '2026-07-10 08:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.340662 -2.799455)', '2026-07-10 08:16:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340486 -2.799417)'), GeomFromEWKT('SRID=4674;POINT (-40.340662 -2.799455)'))) / (select extract(epoch from '2026-07-10 08:16:47'::timestamp) - extract(epoch from '2026-07-10 08:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340486 -2.799417)'), GeomFromEWKT('SRID=4674;POINT (-40.340662 -2.799455)'))) / (select extract(epoch from '2026-07-10 08:16:47'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.34069 -2.799466)', '2026-07-10 08:16:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340662 -2.799455)'), GeomFromEWKT('SRID=4674;POINT (-40.34069 -2.799466)'))) / (select extract(epoch from '2026-07-10 08:16:48'::timestamp) - extract(epoch from '2026-07-10 08:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340662 -2.799455)'), GeomFromEWKT('SRID=4674;POINT (-40.34069 -2.799466)'))) / (select extract(epoch from '2026-07-10 08:16:48'::timestamp) - extract(epoch from '2026-07-10 08:16: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'), 47835, 'SRID=4674;POINT (-40.340869 -2.799511)', '2026-07-10 08:16:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34069 -2.799466)'), GeomFromEWKT('SRID=4674;POINT (-40.340869 -2.799511)'))) / (select extract(epoch from '2026-07-10 08:16:55'::timestamp) - extract(epoch from '2026-07-10 08:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34069 -2.799466)'), GeomFromEWKT('SRID=4674;POINT (-40.340869 -2.799511)'))) / (select extract(epoch from '2026-07-10 08:16:55'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.341043 -2.799568)', '2026-07-10 08:17:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340869 -2.799511)'), GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.799568)'))) / (select extract(epoch from '2026-07-10 08:17:01'::timestamp) - extract(epoch from '2026-07-10 08:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340869 -2.799511)'), GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.799568)'))) / (select extract(epoch from '2026-07-10 08:17:01'::timestamp) - extract(epoch from '2026-07-10 08:16: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'), 47835, 'SRID=4674;POINT (-40.341092 -2.79958)', '2026-07-10 08:17:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.799568)'), GeomFromEWKT('SRID=4674;POINT (-40.341092 -2.79958)'))) / (select extract(epoch from '2026-07-10 08:17:03'::timestamp) - extract(epoch from '2026-07-10 08:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.799568)'), GeomFromEWKT('SRID=4674;POINT (-40.341092 -2.79958)'))) / (select extract(epoch from '2026-07-10 08:17:03'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47835, 'SRID=4674;POINT (-40.341227 -2.799653)', '2026-07-10 08:17:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341092 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.341227 -2.799653)'))) / (select extract(epoch from '2026-07-10 08:17:09'::timestamp) - extract(epoch from '2026-07-10 08:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341092 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.341227 -2.799653)'))) / (select extract(epoch from '2026-07-10 08:17:09'::timestamp) - extract(epoch from '2026-07-10 08:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.341381 -2.799758)', '2026-07-10 08:17:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341227 -2.799653)'), GeomFromEWKT('SRID=4674;POINT (-40.341381 -2.799758)'))) / (select extract(epoch from '2026-07-10 08:17:16'::timestamp) - extract(epoch from '2026-07-10 08:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341227 -2.799653)'), GeomFromEWKT('SRID=4674;POINT (-40.341381 -2.799758)'))) / (select extract(epoch from '2026-07-10 08:17:16'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47835, 'SRID=4674;POINT (-40.341457 -2.799797)', '2026-07-10 08:17:19', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341381 -2.799758)'), GeomFromEWKT('SRID=4674;POINT (-40.341457 -2.799797)'))) / (select extract(epoch from '2026-07-10 08:17:19'::timestamp) - extract(epoch from '2026-07-10 08:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341381 -2.799758)'), GeomFromEWKT('SRID=4674;POINT (-40.341457 -2.799797)'))) / (select extract(epoch from '2026-07-10 08:17:19'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47835, 'SRID=4674;POINT (-40.341602 -2.799833)', '2026-07-10 08:17:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341457 -2.799797)'), GeomFromEWKT('SRID=4674;POINT (-40.341602 -2.799833)'))) / (select extract(epoch from '2026-07-10 08:17:25'::timestamp) - extract(epoch from '2026-07-10 08:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341457 -2.799797)'), GeomFromEWKT('SRID=4674;POINT (-40.341602 -2.799833)'))) / (select extract(epoch from '2026-07-10 08:17:25'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47835, 'SRID=4674;POINT (-40.341797 -2.79987)', '2026-07-10 08:17:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341602 -2.799833)'), GeomFromEWKT('SRID=4674;POINT (-40.341797 -2.79987)'))) / (select extract(epoch from '2026-07-10 08:17:32'::timestamp) - extract(epoch from '2026-07-10 08:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341602 -2.799833)'), GeomFromEWKT('SRID=4674;POINT (-40.341797 -2.79987)'))) / (select extract(epoch from '2026-07-10 08:17:32'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.341824 -2.799879)', '2026-07-10 08:17:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341797 -2.79987)'), GeomFromEWKT('SRID=4674;POINT (-40.341824 -2.799879)'))) / (select extract(epoch from '2026-07-10 08:17:33'::timestamp) - extract(epoch from '2026-07-10 08:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341797 -2.79987)'), GeomFromEWKT('SRID=4674;POINT (-40.341824 -2.799879)'))) / (select extract(epoch from '2026-07-10 08:17:33'::timestamp) - extract(epoch from '2026-07-10 08:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.342009 -2.799946)', '2026-07-10 08:17:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341824 -2.799879)'), GeomFromEWKT('SRID=4674;POINT (-40.342009 -2.799946)'))) / (select extract(epoch from '2026-07-10 08:17:40'::timestamp) - extract(epoch from '2026-07-10 08:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341824 -2.799879)'), GeomFromEWKT('SRID=4674;POINT (-40.342009 -2.799946)'))) / (select extract(epoch from '2026-07-10 08:17:40'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.342052 -2.799974)', '2026-07-10 08:17:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342009 -2.799946)'), GeomFromEWKT('SRID=4674;POINT (-40.342052 -2.799974)'))) / (select extract(epoch from '2026-07-10 08:17:42'::timestamp) - extract(epoch from '2026-07-10 08:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342009 -2.799946)'), GeomFromEWKT('SRID=4674;POINT (-40.342052 -2.799974)'))) / (select extract(epoch from '2026-07-10 08:17:42'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47835, 'SRID=4674;POINT (-40.342225 -2.800068)', '2026-07-10 08:17:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342052 -2.799974)'), GeomFromEWKT('SRID=4674;POINT (-40.342225 -2.800068)'))) / (select extract(epoch from '2026-07-10 08:17:49'::timestamp) - extract(epoch from '2026-07-10 08:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342052 -2.799974)'), GeomFromEWKT('SRID=4674;POINT (-40.342225 -2.800068)'))) / (select extract(epoch from '2026-07-10 08:17:49'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47835, 'SRID=4674;POINT (-40.342255 -2.800081)', '2026-07-10 08:17:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342225 -2.800068)'), GeomFromEWKT('SRID=4674;POINT (-40.342255 -2.800081)'))) / (select extract(epoch from '2026-07-10 08:17:50'::timestamp) - extract(epoch from '2026-07-10 08:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342225 -2.800068)'), GeomFromEWKT('SRID=4674;POINT (-40.342255 -2.800081)'))) / (select extract(epoch from '2026-07-10 08:17:50'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47835, 'SRID=4674;POINT (-40.342435 -2.800153)', '2026-07-10 08:17:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342255 -2.800081)'), GeomFromEWKT('SRID=4674;POINT (-40.342435 -2.800153)'))) / (select extract(epoch from '2026-07-10 08:17:57'::timestamp) - extract(epoch from '2026-07-10 08:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342255 -2.800081)'), GeomFromEWKT('SRID=4674;POINT (-40.342435 -2.800153)'))) / (select extract(epoch from '2026-07-10 08:17:57'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47835, 'SRID=4674;POINT (-40.342613 -2.800219)', '2026-07-10 08:18:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342435 -2.800153)'), GeomFromEWKT('SRID=4674;POINT (-40.342613 -2.800219)'))) / (select extract(epoch from '2026-07-10 08:18:04'::timestamp) - extract(epoch from '2026-07-10 08:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342435 -2.800153)'), GeomFromEWKT('SRID=4674;POINT (-40.342613 -2.800219)'))) / (select extract(epoch from '2026-07-10 08:18:04'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47835, 'SRID=4674;POINT (-40.342673 -2.80024)', '2026-07-10 08:18:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342613 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.342673 -2.80024)'))) / (select extract(epoch from '2026-07-10 08:18:06'::timestamp) - extract(epoch from '2026-07-10 08:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342613 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.342673 -2.80024)'))) / (select extract(epoch from '2026-07-10 08:18:06'::timestamp) - extract(epoch from '2026-07-10 08:18: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'), 47835, 'SRID=4674;POINT (-40.342843 -2.800334)', '2026-07-10 08:18:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342673 -2.80024)'), GeomFromEWKT('SRID=4674;POINT (-40.342843 -2.800334)'))) / (select extract(epoch from '2026-07-10 08:18:13'::timestamp) - extract(epoch from '2026-07-10 08:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342673 -2.80024)'), GeomFromEWKT('SRID=4674;POINT (-40.342843 -2.800334)'))) / (select extract(epoch from '2026-07-10 08:18:13'::timestamp) - extract(epoch from '2026-07-10 08:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.343013 -2.800439)', '2026-07-10 08:18:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342843 -2.800334)'), GeomFromEWKT('SRID=4674;POINT (-40.343013 -2.800439)'))) / (select extract(epoch from '2026-07-10 08:18:20'::timestamp) - extract(epoch from '2026-07-10 08:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342843 -2.800334)'), GeomFromEWKT('SRID=4674;POINT (-40.343013 -2.800439)'))) / (select extract(epoch from '2026-07-10 08:18:20'::timestamp) - extract(epoch from '2026-07-10 08:18: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'), 47835, 'SRID=4674;POINT (-40.343062 -2.800466)', '2026-07-10 08:18:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343013 -2.800439)'), GeomFromEWKT('SRID=4674;POINT (-40.343062 -2.800466)'))) / (select extract(epoch from '2026-07-10 08:18:22'::timestamp) - extract(epoch from '2026-07-10 08:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343013 -2.800439)'), GeomFromEWKT('SRID=4674;POINT (-40.343062 -2.800466)'))) / (select extract(epoch from '2026-07-10 08:18:22'::timestamp) - extract(epoch from '2026-07-10 08:18: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'), 47835, 'SRID=4674;POINT (-40.343233 -2.800532)', '2026-07-10 08:18:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343062 -2.800466)'), GeomFromEWKT('SRID=4674;POINT (-40.343233 -2.800532)'))) / (select extract(epoch from '2026-07-10 08:18:29'::timestamp) - extract(epoch from '2026-07-10 08:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343062 -2.800466)'), GeomFromEWKT('SRID=4674;POINT (-40.343233 -2.800532)'))) / (select extract(epoch from '2026-07-10 08:18:29'::timestamp) - extract(epoch from '2026-07-10 08:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.343261 -2.800542)', '2026-07-10 08:18:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343233 -2.800532)'), GeomFromEWKT('SRID=4674;POINT (-40.343261 -2.800542)'))) / (select extract(epoch from '2026-07-10 08:18:30'::timestamp) - extract(epoch from '2026-07-10 08:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343233 -2.800532)'), GeomFromEWKT('SRID=4674;POINT (-40.343261 -2.800542)'))) / (select extract(epoch from '2026-07-10 08:18:30'::timestamp) - extract(epoch from '2026-07-10 08:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.343418 -2.800568)', '2026-07-10 08:18:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343261 -2.800542)'), GeomFromEWKT('SRID=4674;POINT (-40.343418 -2.800568)'))) / (select extract(epoch from '2026-07-10 08:18:36'::timestamp) - extract(epoch from '2026-07-10 08:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343261 -2.800542)'), GeomFromEWKT('SRID=4674;POINT (-40.343418 -2.800568)'))) / (select extract(epoch from '2026-07-10 08:18:36'::timestamp) - extract(epoch from '2026-07-10 08:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.343609 -2.800623)', '2026-07-10 08:18:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343418 -2.800568)'), GeomFromEWKT('SRID=4674;POINT (-40.343609 -2.800623)'))) / (select extract(epoch from '2026-07-10 08:18:43'::timestamp) - extract(epoch from '2026-07-10 08:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343418 -2.800568)'), GeomFromEWKT('SRID=4674;POINT (-40.343609 -2.800623)'))) / (select extract(epoch from '2026-07-10 08:18:43'::timestamp) - extract(epoch from '2026-07-10 08:18: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'), 47835, 'SRID=4674;POINT (-40.343773 -2.800706)', '2026-07-10 08:18:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343609 -2.800623)'), GeomFromEWKT('SRID=4674;POINT (-40.343773 -2.800706)'))) / (select extract(epoch from '2026-07-10 08:18:50'::timestamp) - extract(epoch from '2026-07-10 08:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343609 -2.800623)'), GeomFromEWKT('SRID=4674;POINT (-40.343773 -2.800706)'))) / (select extract(epoch from '2026-07-10 08:18:50'::timestamp) - extract(epoch from '2026-07-10 08:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.343946 -2.800803)', '2026-07-10 08:18:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343773 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.343946 -2.800803)'))) / (select extract(epoch from '2026-07-10 08:18:57'::timestamp) - extract(epoch from '2026-07-10 08:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343773 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.343946 -2.800803)'))) / (select extract(epoch from '2026-07-10 08:18:57'::timestamp) - extract(epoch from '2026-07-10 08:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.343973 -2.800813)', '2026-07-10 08:18:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343946 -2.800803)'), GeomFromEWKT('SRID=4674;POINT (-40.343973 -2.800813)'))) / (select extract(epoch from '2026-07-10 08:18:58'::timestamp) - extract(epoch from '2026-07-10 08:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343946 -2.800803)'), GeomFromEWKT('SRID=4674;POINT (-40.343973 -2.800813)'))) / (select extract(epoch from '2026-07-10 08:18:58'::timestamp) - extract(epoch from '2026-07-10 08:18: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'), 47835, 'SRID=4674;POINT (-40.344163 -2.800885)', '2026-07-10 08:19:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343973 -2.800813)'), GeomFromEWKT('SRID=4674;POINT (-40.344163 -2.800885)'))) / (select extract(epoch from '2026-07-10 08:19:05'::timestamp) - extract(epoch from '2026-07-10 08:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343973 -2.800813)'), GeomFromEWKT('SRID=4674;POINT (-40.344163 -2.800885)'))) / (select extract(epoch from '2026-07-10 08:19:05'::timestamp) - extract(epoch from '2026-07-10 08:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.344191 -2.800897)', '2026-07-10 08:19:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344163 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.344191 -2.800897)'))) / (select extract(epoch from '2026-07-10 08:19:06'::timestamp) - extract(epoch from '2026-07-10 08:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344163 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.344191 -2.800897)'))) / (select extract(epoch from '2026-07-10 08:19:06'::timestamp) - extract(epoch from '2026-07-10 08:19: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'), 47835, 'SRID=4674;POINT (-40.344327 -2.800978)', '2026-07-10 08:19:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344191 -2.800897)'), GeomFromEWKT('SRID=4674;POINT (-40.344327 -2.800978)'))) / (select extract(epoch from '2026-07-10 08:19:12'::timestamp) - extract(epoch from '2026-07-10 08:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344191 -2.800897)'), GeomFromEWKT('SRID=4674;POINT (-40.344327 -2.800978)'))) / (select extract(epoch from '2026-07-10 08:19:12'::timestamp) - extract(epoch from '2026-07-10 08:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.344484 -2.801032)', '2026-07-10 08:19:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344327 -2.800978)'), GeomFromEWKT('SRID=4674;POINT (-40.344484 -2.801032)'))) / (select extract(epoch from '2026-07-10 08:19:18'::timestamp) - extract(epoch from '2026-07-10 08:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344327 -2.800978)'), GeomFromEWKT('SRID=4674;POINT (-40.344484 -2.801032)'))) / (select extract(epoch from '2026-07-10 08:19:18'::timestamp) - extract(epoch from '2026-07-10 08:19: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'), 47835, 'SRID=4674;POINT (-40.344667 -2.801123)', '2026-07-10 08:19:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344484 -2.801032)'), GeomFromEWKT('SRID=4674;POINT (-40.344667 -2.801123)'))) / (select extract(epoch from '2026-07-10 08:19:25'::timestamp) - extract(epoch from '2026-07-10 08:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344484 -2.801032)'), GeomFromEWKT('SRID=4674;POINT (-40.344667 -2.801123)'))) / (select extract(epoch from '2026-07-10 08:19:25'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.34484 -2.801209)', '2026-07-10 08:19:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344667 -2.801123)'), GeomFromEWKT('SRID=4674;POINT (-40.34484 -2.801209)'))) / (select extract(epoch from '2026-07-10 08:19:32'::timestamp) - extract(epoch from '2026-07-10 08:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344667 -2.801123)'), GeomFromEWKT('SRID=4674;POINT (-40.34484 -2.801209)'))) / (select extract(epoch from '2026-07-10 08:19:32'::timestamp) - extract(epoch from '2026-07-10 08:19: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'), 47835, 'SRID=4674;POINT (-40.344865 -2.801224)', '2026-07-10 08:19:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34484 -2.801209)'), GeomFromEWKT('SRID=4674;POINT (-40.344865 -2.801224)'))) / (select extract(epoch from '2026-07-10 08:19:33'::timestamp) - extract(epoch from '2026-07-10 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34484 -2.801209)'), GeomFromEWKT('SRID=4674;POINT (-40.344865 -2.801224)'))) / (select extract(epoch from '2026-07-10 08:19:33'::timestamp) - extract(epoch from '2026-07-10 08:19: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'), 47835, 'SRID=4674;POINT (-40.345045 -2.801291)', '2026-07-10 08:19:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344865 -2.801224)'), GeomFromEWKT('SRID=4674;POINT (-40.345045 -2.801291)'))) / (select extract(epoch from '2026-07-10 08:19:40'::timestamp) - extract(epoch from '2026-07-10 08:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344865 -2.801224)'), GeomFromEWKT('SRID=4674;POINT (-40.345045 -2.801291)'))) / (select extract(epoch from '2026-07-10 08:19:40'::timestamp) - extract(epoch from '2026-07-10 08:19: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'), 47835, 'SRID=4674;POINT (-40.345211 -2.80136)', '2026-07-10 08:19:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345045 -2.801291)'), GeomFromEWKT('SRID=4674;POINT (-40.345211 -2.80136)'))) / (select extract(epoch from '2026-07-10 08:19:47'::timestamp) - extract(epoch from '2026-07-10 08:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345045 -2.801291)'), GeomFromEWKT('SRID=4674;POINT (-40.345211 -2.80136)'))) / (select extract(epoch from '2026-07-10 08:19:47'::timestamp) - extract(epoch from '2026-07-10 08:19: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'), 47835, 'SRID=4674;POINT (-40.345381 -2.801441)', '2026-07-10 08:19:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345211 -2.80136)'), GeomFromEWKT('SRID=4674;POINT (-40.345381 -2.801441)'))) / (select extract(epoch from '2026-07-10 08:19:54'::timestamp) - extract(epoch from '2026-07-10 08:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345211 -2.80136)'), GeomFromEWKT('SRID=4674;POINT (-40.345381 -2.801441)'))) / (select extract(epoch from '2026-07-10 08:19:54'::timestamp) - extract(epoch from '2026-07-10 08:19: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'), 47835, 'SRID=4674;POINT (-40.345563 -2.801525)', '2026-07-10 08:20:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345381 -2.801441)'), GeomFromEWKT('SRID=4674;POINT (-40.345563 -2.801525)'))) / (select extract(epoch from '2026-07-10 08:20:02'::timestamp) - extract(epoch from '2026-07-10 08:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345381 -2.801441)'), GeomFromEWKT('SRID=4674;POINT (-40.345563 -2.801525)'))) / (select extract(epoch from '2026-07-10 08:20:02'::timestamp) - extract(epoch from '2026-07-10 08:19: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'), 47835, 'SRID=4674;POINT (-40.345724 -2.801624)', '2026-07-10 08:20:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345563 -2.801525)'), GeomFromEWKT('SRID=4674;POINT (-40.345724 -2.801624)'))) / (select extract(epoch from '2026-07-10 08:20:09'::timestamp) - extract(epoch from '2026-07-10 08:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345563 -2.801525)'), GeomFromEWKT('SRID=4674;POINT (-40.345724 -2.801624)'))) / (select extract(epoch from '2026-07-10 08:20:09'::timestamp) - extract(epoch from '2026-07-10 08:20: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'), 47835, 'SRID=4674;POINT (-40.345896 -2.801701)', '2026-07-10 08:20:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345724 -2.801624)'), GeomFromEWKT('SRID=4674;POINT (-40.345896 -2.801701)'))) / (select extract(epoch from '2026-07-10 08:20:16'::timestamp) - extract(epoch from '2026-07-10 08:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345724 -2.801624)'), GeomFromEWKT('SRID=4674;POINT (-40.345896 -2.801701)'))) / (select extract(epoch from '2026-07-10 08:20:16'::timestamp) - extract(epoch from '2026-07-10 08:20: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'), 47835, 'SRID=4674;POINT (-40.345915 -2.801716)', '2026-07-10 08:20:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345896 -2.801701)'), GeomFromEWKT('SRID=4674;POINT (-40.345915 -2.801716)'))) / (select extract(epoch from '2026-07-10 08:20:17'::timestamp) - extract(epoch from '2026-07-10 08:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345896 -2.801701)'), GeomFromEWKT('SRID=4674;POINT (-40.345915 -2.801716)'))) / (select extract(epoch from '2026-07-10 08:20:17'::timestamp) - extract(epoch from '2026-07-10 08:20:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.346073 -2.801824)', '2026-07-10 08:20:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345915 -2.801716)'), GeomFromEWKT('SRID=4674;POINT (-40.346073 -2.801824)'))) / (select extract(epoch from '2026-07-10 08:20:24'::timestamp) - extract(epoch from '2026-07-10 08:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345915 -2.801716)'), GeomFromEWKT('SRID=4674;POINT (-40.346073 -2.801824)'))) / (select extract(epoch from '2026-07-10 08:20:24'::timestamp) - extract(epoch from '2026-07-10 08:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.346099 -2.80184)', '2026-07-10 08:20:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346073 -2.801824)'), GeomFromEWKT('SRID=4674;POINT (-40.346099 -2.80184)'))) / (select extract(epoch from '2026-07-10 08:20:25'::timestamp) - extract(epoch from '2026-07-10 08:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346073 -2.801824)'), GeomFromEWKT('SRID=4674;POINT (-40.346099 -2.80184)'))) / (select extract(epoch from '2026-07-10 08:20:25'::timestamp) - extract(epoch from '2026-07-10 08:20: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'), 47835, 'SRID=4674;POINT (-40.346265 -2.801942)', '2026-07-10 08:20:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346099 -2.80184)'), GeomFromEWKT('SRID=4674;POINT (-40.346265 -2.801942)'))) / (select extract(epoch from '2026-07-10 08:20:32'::timestamp) - extract(epoch from '2026-07-10 08:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346099 -2.80184)'), GeomFromEWKT('SRID=4674;POINT (-40.346265 -2.801942)'))) / (select extract(epoch from '2026-07-10 08:20:32'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.346286 -2.801956)', '2026-07-10 08:20:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346265 -2.801942)'), GeomFromEWKT('SRID=4674;POINT (-40.346286 -2.801956)'))) / (select extract(epoch from '2026-07-10 08:20:33'::timestamp) - extract(epoch from '2026-07-10 08:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346265 -2.801942)'), GeomFromEWKT('SRID=4674;POINT (-40.346286 -2.801956)'))) / (select extract(epoch from '2026-07-10 08:20:33'::timestamp) - extract(epoch from '2026-07-10 08:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.346443 -2.80206)', '2026-07-10 08:20:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346286 -2.801956)'), GeomFromEWKT('SRID=4674;POINT (-40.346443 -2.80206)'))) / (select extract(epoch from '2026-07-10 08:20:40'::timestamp) - extract(epoch from '2026-07-10 08:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346286 -2.801956)'), GeomFromEWKT('SRID=4674;POINT (-40.346443 -2.80206)'))) / (select extract(epoch from '2026-07-10 08:20:40'::timestamp) - extract(epoch from '2026-07-10 08:20: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'), 47835, 'SRID=4674;POINT (-40.346611 -2.802148)', '2026-07-10 08:20:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346443 -2.80206)'), GeomFromEWKT('SRID=4674;POINT (-40.346611 -2.802148)'))) / (select extract(epoch from '2026-07-10 08:20:47'::timestamp) - extract(epoch from '2026-07-10 08:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346443 -2.80206)'), GeomFromEWKT('SRID=4674;POINT (-40.346611 -2.802148)'))) / (select extract(epoch from '2026-07-10 08:20:47'::timestamp) - extract(epoch from '2026-07-10 08:20: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'), 47835, 'SRID=4674;POINT (-40.346784 -2.802227)', '2026-07-10 08:20:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346611 -2.802148)'), GeomFromEWKT('SRID=4674;POINT (-40.346784 -2.802227)'))) / (select extract(epoch from '2026-07-10 08:20:54'::timestamp) - extract(epoch from '2026-07-10 08:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346611 -2.802148)'), GeomFromEWKT('SRID=4674;POINT (-40.346784 -2.802227)'))) / (select extract(epoch from '2026-07-10 08:20:54'::timestamp) - extract(epoch from '2026-07-10 08:20: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'), 47835, 'SRID=4674;POINT (-40.346865 -2.802262)', '2026-07-10 08:20:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346784 -2.802227)'), GeomFromEWKT('SRID=4674;POINT (-40.346865 -2.802262)'))) / (select extract(epoch from '2026-07-10 08:20:57'::timestamp) - extract(epoch from '2026-07-10 08:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346784 -2.802227)'), GeomFromEWKT('SRID=4674;POINT (-40.346865 -2.802262)'))) / (select extract(epoch from '2026-07-10 08:20:57'::timestamp) - extract(epoch from '2026-07-10 08:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.347043 -2.802366)', '2026-07-10 08:21:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346865 -2.802262)'), GeomFromEWKT('SRID=4674;POINT (-40.347043 -2.802366)'))) / (select extract(epoch from '2026-07-10 08:21:04'::timestamp) - extract(epoch from '2026-07-10 08:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346865 -2.802262)'), GeomFromEWKT('SRID=4674;POINT (-40.347043 -2.802366)'))) / (select extract(epoch from '2026-07-10 08:21:04'::timestamp) - extract(epoch from '2026-07-10 08:20: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'), 47835, 'SRID=4674;POINT (-40.347112 -2.802411)', '2026-07-10 08:21:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347043 -2.802366)'), GeomFromEWKT('SRID=4674;POINT (-40.347112 -2.802411)'))) / (select extract(epoch from '2026-07-10 08:21:07'::timestamp) - extract(epoch from '2026-07-10 08:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347043 -2.802366)'), GeomFromEWKT('SRID=4674;POINT (-40.347112 -2.802411)'))) / (select extract(epoch from '2026-07-10 08:21:07'::timestamp) - extract(epoch from '2026-07-10 08:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.347275 -2.802523)', '2026-07-10 08:21:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347112 -2.802411)'), GeomFromEWKT('SRID=4674;POINT (-40.347275 -2.802523)'))) / (select extract(epoch from '2026-07-10 08:21:14'::timestamp) - extract(epoch from '2026-07-10 08:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347112 -2.802411)'), GeomFromEWKT('SRID=4674;POINT (-40.347275 -2.802523)'))) / (select extract(epoch from '2026-07-10 08:21:14'::timestamp) - extract(epoch from '2026-07-10 08:21: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'), 47835, 'SRID=4674;POINT (-40.347298 -2.802539)', '2026-07-10 08:21:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347275 -2.802523)'), GeomFromEWKT('SRID=4674;POINT (-40.347298 -2.802539)'))) / (select extract(epoch from '2026-07-10 08:21:15'::timestamp) - extract(epoch from '2026-07-10 08:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347275 -2.802523)'), GeomFromEWKT('SRID=4674;POINT (-40.347298 -2.802539)'))) / (select extract(epoch from '2026-07-10 08:21:15'::timestamp) - extract(epoch from '2026-07-10 08:21: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'), 47835, 'SRID=4674;POINT (-40.347466 -2.802648)', '2026-07-10 08:21:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347298 -2.802539)'), GeomFromEWKT('SRID=4674;POINT (-40.347466 -2.802648)'))) / (select extract(epoch from '2026-07-10 08:21:22'::timestamp) - extract(epoch from '2026-07-10 08:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347298 -2.802539)'), GeomFromEWKT('SRID=4674;POINT (-40.347466 -2.802648)'))) / (select extract(epoch from '2026-07-10 08:21:22'::timestamp) - extract(epoch from '2026-07-10 08:21: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'), 47835, 'SRID=4674;POINT (-40.347512 -2.802677)', '2026-07-10 08:21:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347466 -2.802648)'), GeomFromEWKT('SRID=4674;POINT (-40.347512 -2.802677)'))) / (select extract(epoch from '2026-07-10 08:21:24'::timestamp) - extract(epoch from '2026-07-10 08:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347466 -2.802648)'), GeomFromEWKT('SRID=4674;POINT (-40.347512 -2.802677)'))) / (select extract(epoch from '2026-07-10 08:21:24'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.347689 -2.802771)', '2026-07-10 08:21:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347512 -2.802677)'), GeomFromEWKT('SRID=4674;POINT (-40.347689 -2.802771)'))) / (select extract(epoch from '2026-07-10 08:21:31'::timestamp) - extract(epoch from '2026-07-10 08:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347512 -2.802677)'), GeomFromEWKT('SRID=4674;POINT (-40.347689 -2.802771)'))) / (select extract(epoch from '2026-07-10 08:21:31'::timestamp) - extract(epoch from '2026-07-10 08:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.347857 -2.802864)', '2026-07-10 08:21:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347689 -2.802771)'), GeomFromEWKT('SRID=4674;POINT (-40.347857 -2.802864)'))) / (select extract(epoch from '2026-07-10 08:21:38'::timestamp) - extract(epoch from '2026-07-10 08:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347689 -2.802771)'), GeomFromEWKT('SRID=4674;POINT (-40.347857 -2.802864)'))) / (select extract(epoch from '2026-07-10 08:21:38'::timestamp) - extract(epoch from '2026-07-10 08:21: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'), 47835, 'SRID=4674;POINT (-40.347899 -2.802888)', '2026-07-10 08:21:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347857 -2.802864)'), GeomFromEWKT('SRID=4674;POINT (-40.347899 -2.802888)'))) / (select extract(epoch from '2026-07-10 08:21:40'::timestamp) - extract(epoch from '2026-07-10 08:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347857 -2.802864)'), GeomFromEWKT('SRID=4674;POINT (-40.347899 -2.802888)'))) / (select extract(epoch from '2026-07-10 08:21:40'::timestamp) - extract(epoch from '2026-07-10 08:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.348056 -2.803005)', '2026-07-10 08:21:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347899 -2.802888)'), GeomFromEWKT('SRID=4674;POINT (-40.348056 -2.803005)'))) / (select extract(epoch from '2026-07-10 08:21:47'::timestamp) - extract(epoch from '2026-07-10 08:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347899 -2.802888)'), GeomFromEWKT('SRID=4674;POINT (-40.348056 -2.803005)'))) / (select extract(epoch from '2026-07-10 08:21:47'::timestamp) - extract(epoch from '2026-07-10 08:21: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'), 47835, 'SRID=4674;POINT (-40.34808 -2.803024)', '2026-07-10 08:21:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348056 -2.803005)'), GeomFromEWKT('SRID=4674;POINT (-40.34808 -2.803024)'))) / (select extract(epoch from '2026-07-10 08:21:48'::timestamp) - extract(epoch from '2026-07-10 08:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348056 -2.803005)'), GeomFromEWKT('SRID=4674;POINT (-40.34808 -2.803024)'))) / (select extract(epoch from '2026-07-10 08:21:48'::timestamp) - extract(epoch from '2026-07-10 08:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.348225 -2.80314)', '2026-07-10 08:21:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34808 -2.803024)'), GeomFromEWKT('SRID=4674;POINT (-40.348225 -2.80314)'))) / (select extract(epoch from '2026-07-10 08:21:55'::timestamp) - extract(epoch from '2026-07-10 08:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34808 -2.803024)'), GeomFromEWKT('SRID=4674;POINT (-40.348225 -2.80314)'))) / (select extract(epoch from '2026-07-10 08:21:55'::timestamp) - extract(epoch from '2026-07-10 08:21: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'), 47835, 'SRID=4674;POINT (-40.348245 -2.803163)', '2026-07-10 08:21:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348225 -2.80314)'), GeomFromEWKT('SRID=4674;POINT (-40.348245 -2.803163)'))) / (select extract(epoch from '2026-07-10 08:21:56'::timestamp) - extract(epoch from '2026-07-10 08:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348225 -2.80314)'), GeomFromEWKT('SRID=4674;POINT (-40.348245 -2.803163)'))) / (select extract(epoch from '2026-07-10 08:21:56'::timestamp) - extract(epoch from '2026-07-10 08:21: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'), 47835, 'SRID=4674;POINT (-40.348401 -2.803297)', '2026-07-10 08:22:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348245 -2.803163)'), GeomFromEWKT('SRID=4674;POINT (-40.348401 -2.803297)'))) / (select extract(epoch from '2026-07-10 08:22:03'::timestamp) - extract(epoch from '2026-07-10 08:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348245 -2.803163)'), GeomFromEWKT('SRID=4674;POINT (-40.348401 -2.803297)'))) / (select extract(epoch from '2026-07-10 08:22:03'::timestamp) - extract(epoch from '2026-07-10 08:21: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'), 47835, 'SRID=4674;POINT (-40.348546 -2.803401)', '2026-07-10 08:22:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348401 -2.803297)'), GeomFromEWKT('SRID=4674;POINT (-40.348546 -2.803401)'))) / (select extract(epoch from '2026-07-10 08:22:10'::timestamp) - extract(epoch from '2026-07-10 08:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348401 -2.803297)'), GeomFromEWKT('SRID=4674;POINT (-40.348546 -2.803401)'))) / (select extract(epoch from '2026-07-10 08:22:10'::timestamp) - extract(epoch from '2026-07-10 08:22: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'), 47835, 'SRID=4674;POINT (-40.348695 -2.803507)', '2026-07-10 08:22:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348546 -2.803401)'), GeomFromEWKT('SRID=4674;POINT (-40.348695 -2.803507)'))) / (select extract(epoch from '2026-07-10 08:22:16'::timestamp) - extract(epoch from '2026-07-10 08:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348546 -2.803401)'), GeomFromEWKT('SRID=4674;POINT (-40.348695 -2.803507)'))) / (select extract(epoch from '2026-07-10 08:22:16'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.348719 -2.803519)', '2026-07-10 08:22:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348695 -2.803507)'), GeomFromEWKT('SRID=4674;POINT (-40.348719 -2.803519)'))) / (select extract(epoch from '2026-07-10 08:22:17'::timestamp) - extract(epoch from '2026-07-10 08:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348695 -2.803507)'), GeomFromEWKT('SRID=4674;POINT (-40.348719 -2.803519)'))) / (select extract(epoch from '2026-07-10 08:22:17'::timestamp) - extract(epoch from '2026-07-10 08:22: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'), 47835, 'SRID=4674;POINT (-40.348862 -2.803636)', '2026-07-10 08:22:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348719 -2.803519)'), GeomFromEWKT('SRID=4674;POINT (-40.348862 -2.803636)'))) / (select extract(epoch from '2026-07-10 08:22:24'::timestamp) - extract(epoch from '2026-07-10 08:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348719 -2.803519)'), GeomFromEWKT('SRID=4674;POINT (-40.348862 -2.803636)'))) / (select extract(epoch from '2026-07-10 08:22:24'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.348881 -2.803658)', '2026-07-10 08:22:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348862 -2.803636)'), GeomFromEWKT('SRID=4674;POINT (-40.348881 -2.803658)'))) / (select extract(epoch from '2026-07-10 08:22:25'::timestamp) - extract(epoch from '2026-07-10 08:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348862 -2.803636)'), GeomFromEWKT('SRID=4674;POINT (-40.348881 -2.803658)'))) / (select extract(epoch from '2026-07-10 08:22:25'::timestamp) - extract(epoch from '2026-07-10 08:22: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'), 47835, 'SRID=4674;POINT (-40.349033 -2.803759)', '2026-07-10 08:22:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348881 -2.803658)'), GeomFromEWKT('SRID=4674;POINT (-40.349033 -2.803759)'))) / (select extract(epoch from '2026-07-10 08:22:32'::timestamp) - extract(epoch from '2026-07-10 08:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348881 -2.803658)'), GeomFromEWKT('SRID=4674;POINT (-40.349033 -2.803759)'))) / (select extract(epoch from '2026-07-10 08:22:32'::timestamp) - extract(epoch from '2026-07-10 08:22: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'), 47835, 'SRID=4674;POINT (-40.349202 -2.803865)', '2026-07-10 08:22:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349033 -2.803759)'), GeomFromEWKT('SRID=4674;POINT (-40.349202 -2.803865)'))) / (select extract(epoch from '2026-07-10 08:22:39'::timestamp) - extract(epoch from '2026-07-10 08:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349033 -2.803759)'), GeomFromEWKT('SRID=4674;POINT (-40.349202 -2.803865)'))) / (select extract(epoch from '2026-07-10 08:22:39'::timestamp) - extract(epoch from '2026-07-10 08:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.349271 -2.803901)', '2026-07-10 08:22:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349202 -2.803865)'), GeomFromEWKT('SRID=4674;POINT (-40.349271 -2.803901)'))) / (select extract(epoch from '2026-07-10 08:22:42'::timestamp) - extract(epoch from '2026-07-10 08:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349202 -2.803865)'), GeomFromEWKT('SRID=4674;POINT (-40.349271 -2.803901)'))) / (select extract(epoch from '2026-07-10 08:22:42'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.349434 -2.804001)', '2026-07-10 08:22:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349271 -2.803901)'), GeomFromEWKT('SRID=4674;POINT (-40.349434 -2.804001)'))) / (select extract(epoch from '2026-07-10 08:22:49'::timestamp) - extract(epoch from '2026-07-10 08:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349271 -2.803901)'), GeomFromEWKT('SRID=4674;POINT (-40.349434 -2.804001)'))) / (select extract(epoch from '2026-07-10 08:22:49'::timestamp) - extract(epoch from '2026-07-10 08:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.34958 -2.804062)', '2026-07-10 08:22:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349434 -2.804001)'), GeomFromEWKT('SRID=4674;POINT (-40.34958 -2.804062)'))) / (select extract(epoch from '2026-07-10 08:22:55'::timestamp) - extract(epoch from '2026-07-10 08:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349434 -2.804001)'), GeomFromEWKT('SRID=4674;POINT (-40.34958 -2.804062)'))) / (select extract(epoch from '2026-07-10 08:22:55'::timestamp) - extract(epoch from '2026-07-10 08:22: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'), 47835, 'SRID=4674;POINT (-40.349752 -2.804136)', '2026-07-10 08:23:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34958 -2.804062)'), GeomFromEWKT('SRID=4674;POINT (-40.349752 -2.804136)'))) / (select extract(epoch from '2026-07-10 08:23:02'::timestamp) - extract(epoch from '2026-07-10 08:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34958 -2.804062)'), GeomFromEWKT('SRID=4674;POINT (-40.349752 -2.804136)'))) / (select extract(epoch from '2026-07-10 08:23:02'::timestamp) - extract(epoch from '2026-07-10 08:22: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'), 47835, 'SRID=4674;POINT (-40.349776 -2.80415)', '2026-07-10 08:23:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349752 -2.804136)'), GeomFromEWKT('SRID=4674;POINT (-40.349776 -2.80415)'))) / (select extract(epoch from '2026-07-10 08:23:03'::timestamp) - extract(epoch from '2026-07-10 08:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349752 -2.804136)'), GeomFromEWKT('SRID=4674;POINT (-40.349776 -2.80415)'))) / (select extract(epoch from '2026-07-10 08:23:03'::timestamp) - extract(epoch from '2026-07-10 08:23: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'), 47835, 'SRID=4674;POINT (-40.349934 -2.804247)', '2026-07-10 08:23:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349776 -2.80415)'), GeomFromEWKT('SRID=4674;POINT (-40.349934 -2.804247)'))) / (select extract(epoch from '2026-07-10 08:23:10'::timestamp) - extract(epoch from '2026-07-10 08:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349776 -2.80415)'), GeomFromEWKT('SRID=4674;POINT (-40.349934 -2.804247)'))) / (select extract(epoch from '2026-07-10 08:23:10'::timestamp) - extract(epoch from '2026-07-10 08:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.350001 -2.804283)', '2026-07-10 08:23:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349934 -2.804247)'), GeomFromEWKT('SRID=4674;POINT (-40.350001 -2.804283)'))) / (select extract(epoch from '2026-07-10 08:23:13'::timestamp) - extract(epoch from '2026-07-10 08:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349934 -2.804247)'), GeomFromEWKT('SRID=4674;POINT (-40.350001 -2.804283)'))) / (select extract(epoch from '2026-07-10 08:23:13'::timestamp) - extract(epoch from '2026-07-10 08:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.350159 -2.804383)', '2026-07-10 08:23:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350001 -2.804283)'), GeomFromEWKT('SRID=4674;POINT (-40.350159 -2.804383)'))) / (select extract(epoch from '2026-07-10 08:23:20'::timestamp) - extract(epoch from '2026-07-10 08:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350001 -2.804283)'), GeomFromEWKT('SRID=4674;POINT (-40.350159 -2.804383)'))) / (select extract(epoch from '2026-07-10 08:23:20'::timestamp) - extract(epoch from '2026-07-10 08:23: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'), 47835, 'SRID=4674;POINT (-40.350236 -2.804449)', '2026-07-10 08:23:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350159 -2.804383)'), GeomFromEWKT('SRID=4674;POINT (-40.350236 -2.804449)'))) / (select extract(epoch from '2026-07-10 08:23:24'::timestamp) - extract(epoch from '2026-07-10 08:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350159 -2.804383)'), GeomFromEWKT('SRID=4674;POINT (-40.350236 -2.804449)'))) / (select extract(epoch from '2026-07-10 08:23:24'::timestamp) - extract(epoch from '2026-07-10 08:23: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'), 47835, 'SRID=4674;POINT (-40.350393 -2.804573)', '2026-07-10 08:23:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350236 -2.804449)'), GeomFromEWKT('SRID=4674;POINT (-40.350393 -2.804573)'))) / (select extract(epoch from '2026-07-10 08:23:32'::timestamp) - extract(epoch from '2026-07-10 08:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350236 -2.804449)'), GeomFromEWKT('SRID=4674;POINT (-40.350393 -2.804573)'))) / (select extract(epoch from '2026-07-10 08:23:32'::timestamp) - extract(epoch from '2026-07-10 08:23:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.350416 -2.804587)', '2026-07-10 08:23:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350393 -2.804573)'), GeomFromEWKT('SRID=4674;POINT (-40.350416 -2.804587)'))) / (select extract(epoch from '2026-07-10 08:23:33'::timestamp) - extract(epoch from '2026-07-10 08:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350393 -2.804573)'), GeomFromEWKT('SRID=4674;POINT (-40.350416 -2.804587)'))) / (select extract(epoch from '2026-07-10 08:23:33'::timestamp) - extract(epoch from '2026-07-10 08:23: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'), 47835, 'SRID=4674;POINT (-40.350588 -2.804696)', '2026-07-10 08:23:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350416 -2.804587)'), GeomFromEWKT('SRID=4674;POINT (-40.350588 -2.804696)'))) / (select extract(epoch from '2026-07-10 08:23:40'::timestamp) - extract(epoch from '2026-07-10 08:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350416 -2.804587)'), GeomFromEWKT('SRID=4674;POINT (-40.350588 -2.804696)'))) / (select extract(epoch from '2026-07-10 08:23:40'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.350613 -2.804709)', '2026-07-10 08:23:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350588 -2.804696)'), GeomFromEWKT('SRID=4674;POINT (-40.350613 -2.804709)'))) / (select extract(epoch from '2026-07-10 08:23:41'::timestamp) - extract(epoch from '2026-07-10 08:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350588 -2.804696)'), GeomFromEWKT('SRID=4674;POINT (-40.350613 -2.804709)'))) / (select extract(epoch from '2026-07-10 08:23:41'::timestamp) - extract(epoch from '2026-07-10 08:23:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.350789 -2.804811)', '2026-07-10 08:23:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350613 -2.804709)'), GeomFromEWKT('SRID=4674;POINT (-40.350789 -2.804811)'))) / (select extract(epoch from '2026-07-10 08:23:49'::timestamp) - extract(epoch from '2026-07-10 08:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350613 -2.804709)'), GeomFromEWKT('SRID=4674;POINT (-40.350789 -2.804811)'))) / (select extract(epoch from '2026-07-10 08:23:49'::timestamp) - extract(epoch from '2026-07-10 08:23: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'), 47835, 'SRID=4674;POINT (-40.350937 -2.804922)', '2026-07-10 08:23:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350789 -2.804811)'), GeomFromEWKT('SRID=4674;POINT (-40.350937 -2.804922)'))) / (select extract(epoch from '2026-07-10 08:23:56'::timestamp) - extract(epoch from '2026-07-10 08:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350789 -2.804811)'), GeomFromEWKT('SRID=4674;POINT (-40.350937 -2.804922)'))) / (select extract(epoch from '2026-07-10 08:23:56'::timestamp) - extract(epoch from '2026-07-10 08:23: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'), 47835, 'SRID=4674;POINT (-40.350957 -2.804935)', '2026-07-10 08:23:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350937 -2.804922)'), GeomFromEWKT('SRID=4674;POINT (-40.350957 -2.804935)'))) / (select extract(epoch from '2026-07-10 08:23:57'::timestamp) - extract(epoch from '2026-07-10 08:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350937 -2.804922)'), GeomFromEWKT('SRID=4674;POINT (-40.350957 -2.804935)'))) / (select extract(epoch from '2026-07-10 08:23:57'::timestamp) - extract(epoch from '2026-07-10 08:23: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'), 47835, 'SRID=4674;POINT (-40.351085 -2.805068)', '2026-07-10 08:24:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350957 -2.804935)'), GeomFromEWKT('SRID=4674;POINT (-40.351085 -2.805068)'))) / (select extract(epoch from '2026-07-10 08:24:04'::timestamp) - extract(epoch from '2026-07-10 08:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350957 -2.804935)'), GeomFromEWKT('SRID=4674;POINT (-40.351085 -2.805068)'))) / (select extract(epoch from '2026-07-10 08:24:04'::timestamp) - extract(epoch from '2026-07-10 08:23: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'), 47835, 'SRID=4674;POINT (-40.351105 -2.805088)', '2026-07-10 08:24:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351085 -2.805068)'), GeomFromEWKT('SRID=4674;POINT (-40.351105 -2.805088)'))) / (select extract(epoch from '2026-07-10 08:24:05'::timestamp) - extract(epoch from '2026-07-10 08:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351085 -2.805068)'), GeomFromEWKT('SRID=4674;POINT (-40.351105 -2.805088)'))) / (select extract(epoch from '2026-07-10 08:24:05'::timestamp) - extract(epoch from '2026-07-10 08:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.351256 -2.805197)', '2026-07-10 08:24:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351105 -2.805088)'), GeomFromEWKT('SRID=4674;POINT (-40.351256 -2.805197)'))) / (select extract(epoch from '2026-07-10 08:24:12'::timestamp) - extract(epoch from '2026-07-10 08:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351105 -2.805088)'), GeomFromEWKT('SRID=4674;POINT (-40.351256 -2.805197)'))) / (select extract(epoch from '2026-07-10 08:24:12'::timestamp) - extract(epoch from '2026-07-10 08:24: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'), 47835, 'SRID=4674;POINT (-40.351422 -2.805291)', '2026-07-10 08:24:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351256 -2.805197)'), GeomFromEWKT('SRID=4674;POINT (-40.351422 -2.805291)'))) / (select extract(epoch from '2026-07-10 08:24:19'::timestamp) - extract(epoch from '2026-07-10 08:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351256 -2.805197)'), GeomFromEWKT('SRID=4674;POINT (-40.351422 -2.805291)'))) / (select extract(epoch from '2026-07-10 08:24:19'::timestamp) - extract(epoch from '2026-07-10 08:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.351446 -2.805302)', '2026-07-10 08:24:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351422 -2.805291)'), GeomFromEWKT('SRID=4674;POINT (-40.351446 -2.805302)'))) / (select extract(epoch from '2026-07-10 08:24:20'::timestamp) - extract(epoch from '2026-07-10 08:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351422 -2.805291)'), GeomFromEWKT('SRID=4674;POINT (-40.351446 -2.805302)'))) / (select extract(epoch from '2026-07-10 08:24:20'::timestamp) - extract(epoch from '2026-07-10 08:24: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'), 47835, 'SRID=4674;POINT (-40.351631 -2.805378)', '2026-07-10 08:24:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351446 -2.805302)'), GeomFromEWKT('SRID=4674;POINT (-40.351631 -2.805378)'))) / (select extract(epoch from '2026-07-10 08:24:28'::timestamp) - extract(epoch from '2026-07-10 08:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351446 -2.805302)'), GeomFromEWKT('SRID=4674;POINT (-40.351631 -2.805378)'))) / (select extract(epoch from '2026-07-10 08:24:28'::timestamp) - extract(epoch from '2026-07-10 08:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.351796 -2.805483)', '2026-07-10 08:24:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351631 -2.805378)'), GeomFromEWKT('SRID=4674;POINT (-40.351796 -2.805483)'))) / (select extract(epoch from '2026-07-10 08:24:36'::timestamp) - extract(epoch from '2026-07-10 08:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351631 -2.805378)'), GeomFromEWKT('SRID=4674;POINT (-40.351796 -2.805483)'))) / (select extract(epoch from '2026-07-10 08:24:36'::timestamp) - extract(epoch from '2026-07-10 08:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.351938 -2.805617)', '2026-07-10 08:24:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351796 -2.805483)'), GeomFromEWKT('SRID=4674;POINT (-40.351938 -2.805617)'))) / (select extract(epoch from '2026-07-10 08:24:43'::timestamp) - extract(epoch from '2026-07-10 08:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351796 -2.805483)'), GeomFromEWKT('SRID=4674;POINT (-40.351938 -2.805617)'))) / (select extract(epoch from '2026-07-10 08:24:43'::timestamp) - extract(epoch from '2026-07-10 08:24: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'), 47835, 'SRID=4674;POINT (-40.352084 -2.805733)', '2026-07-10 08:24:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351938 -2.805617)'), GeomFromEWKT('SRID=4674;POINT (-40.352084 -2.805733)'))) / (select extract(epoch from '2026-07-10 08:24:50'::timestamp) - extract(epoch from '2026-07-10 08:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351938 -2.805617)'), GeomFromEWKT('SRID=4674;POINT (-40.352084 -2.805733)'))) / (select extract(epoch from '2026-07-10 08:24:50'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.352202 -2.805844)', '2026-07-10 08:24:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352084 -2.805733)'), GeomFromEWKT('SRID=4674;POINT (-40.352202 -2.805844)'))) / (select extract(epoch from '2026-07-10 08:24:57'::timestamp) - extract(epoch from '2026-07-10 08:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352084 -2.805733)'), GeomFromEWKT('SRID=4674;POINT (-40.352202 -2.805844)'))) / (select extract(epoch from '2026-07-10 08:24:57'::timestamp) - extract(epoch from '2026-07-10 08:24:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.352337 -2.805978)', '2026-07-10 08:25:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352202 -2.805844)'), GeomFromEWKT('SRID=4674;POINT (-40.352337 -2.805978)'))) / (select extract(epoch from '2026-07-10 08:25:04'::timestamp) - extract(epoch from '2026-07-10 08:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352202 -2.805844)'), GeomFromEWKT('SRID=4674;POINT (-40.352337 -2.805978)'))) / (select extract(epoch from '2026-07-10 08:25:04'::timestamp) - extract(epoch from '2026-07-10 08:24: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'), 47835, 'SRID=4674;POINT (-40.352461 -2.806097)', '2026-07-10 08:25:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352337 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.352461 -2.806097)'))) / (select extract(epoch from '2026-07-10 08:25:11'::timestamp) - extract(epoch from '2026-07-10 08:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352337 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.352461 -2.806097)'))) / (select extract(epoch from '2026-07-10 08:25:11'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.3526 -2.806207)', '2026-07-10 08:25:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352461 -2.806097)'), GeomFromEWKT('SRID=4674;POINT (-40.3526 -2.806207)'))) / (select extract(epoch from '2026-07-10 08:25:19'::timestamp) - extract(epoch from '2026-07-10 08:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352461 -2.806097)'), GeomFromEWKT('SRID=4674;POINT (-40.3526 -2.806207)'))) / (select extract(epoch from '2026-07-10 08:25:19'::timestamp) - extract(epoch from '2026-07-10 08:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.352742 -2.80635)', '2026-07-10 08:25:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3526 -2.806207)'), GeomFromEWKT('SRID=4674;POINT (-40.352742 -2.80635)'))) / (select extract(epoch from '2026-07-10 08:25:27'::timestamp) - extract(epoch from '2026-07-10 08:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3526 -2.806207)'), GeomFromEWKT('SRID=4674;POINT (-40.352742 -2.80635)'))) / (select extract(epoch from '2026-07-10 08:25:27'::timestamp) - extract(epoch from '2026-07-10 08:25: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'), 47835, 'SRID=4674;POINT (-40.352883 -2.806488)', '2026-07-10 08:25:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352742 -2.80635)'), GeomFromEWKT('SRID=4674;POINT (-40.352883 -2.806488)'))) / (select extract(epoch from '2026-07-10 08:25:35'::timestamp) - extract(epoch from '2026-07-10 08:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352742 -2.80635)'), GeomFromEWKT('SRID=4674;POINT (-40.352883 -2.806488)'))) / (select extract(epoch from '2026-07-10 08:25:35'::timestamp) - extract(epoch from '2026-07-10 08:25:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47835, 'SRID=4674;POINT (-40.352899 -2.80651)', '2026-07-10 08:25:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352883 -2.806488)'), GeomFromEWKT('SRID=4674;POINT (-40.352899 -2.80651)'))) / (select extract(epoch from '2026-07-10 08:25:36'::timestamp) - extract(epoch from '2026-07-10 08:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352883 -2.806488)'), GeomFromEWKT('SRID=4674;POINT (-40.352899 -2.80651)'))) / (select extract(epoch from '2026-07-10 08:25:36'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.353012 -2.806659)', '2026-07-10 08:25:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352899 -2.80651)'), GeomFromEWKT('SRID=4674;POINT (-40.353012 -2.806659)'))) / (select extract(epoch from '2026-07-10 08:25:44'::timestamp) - extract(epoch from '2026-07-10 08:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352899 -2.80651)'), GeomFromEWKT('SRID=4674;POINT (-40.353012 -2.806659)'))) / (select extract(epoch from '2026-07-10 08:25:44'::timestamp) - extract(epoch from '2026-07-10 08:25: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'), 47835, 'SRID=4674;POINT (-40.35312 -2.806808)', '2026-07-10 08:25:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353012 -2.806659)'), GeomFromEWKT('SRID=4674;POINT (-40.35312 -2.806808)'))) / (select extract(epoch from '2026-07-10 08:25:53'::timestamp) - extract(epoch from '2026-07-10 08:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353012 -2.806659)'), GeomFromEWKT('SRID=4674;POINT (-40.35312 -2.806808)'))) / (select extract(epoch from '2026-07-10 08:25:53'::timestamp) - extract(epoch from '2026-07-10 08:25: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'), 47835, 'SRID=4674;POINT (-40.353192 -2.806952)', '2026-07-10 08:26:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35312 -2.806808)'), GeomFromEWKT('SRID=4674;POINT (-40.353192 -2.806952)'))) / (select extract(epoch from '2026-07-10 08:26:00'::timestamp) - extract(epoch from '2026-07-10 08:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35312 -2.806808)'), GeomFromEWKT('SRID=4674;POINT (-40.353192 -2.806952)'))) / (select extract(epoch from '2026-07-10 08:26:00'::timestamp) - extract(epoch from '2026-07-10 08: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'), 47835, 'SRID=4674;POINT (-40.353254 -2.807026)', '2026-07-10 08:26:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353192 -2.806952)'), GeomFromEWKT('SRID=4674;POINT (-40.353254 -2.807026)'))) / (select extract(epoch from '2026-07-10 08:26:05'::timestamp) - extract(epoch from '2026-07-10 08:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353192 -2.806952)'), GeomFromEWKT('SRID=4674;POINT (-40.353254 -2.807026)'))) / (select extract(epoch from '2026-07-10 08:26:05'::timestamp) - extract(epoch from '2026-07-10 08:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
