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'), 48138, 'SRID=4674;POINT (-39.030591 -3.403144)', '2026-08-10 16:08:09', 10.8, 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'), 48138, 'SRID=4674;POINT (-39.030554 -3.403028)', '2026-08-10 16:08:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030591 -3.403144)'), GeomFromEWKT('SRID=4674;POINT (-39.030554 -3.403028)'))) / (select extract(epoch from '2026-08-10 16:08:17'::timestamp) - extract(epoch from '2026-08-10 16:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030591 -3.403144)'), GeomFromEWKT('SRID=4674;POINT (-39.030554 -3.403028)'))) / (select extract(epoch from '2026-08-10 16:08:17'::timestamp) - extract(epoch from '2026-08-10 16:08: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'), 48138, 'SRID=4674;POINT (-39.030528 -3.40295)', '2026-08-10 16:08:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030554 -3.403028)'), GeomFromEWKT('SRID=4674;POINT (-39.030528 -3.40295)'))) / (select extract(epoch from '2026-08-10 16:08:23'::timestamp) - extract(epoch from '2026-08-10 16:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030554 -3.403028)'), GeomFromEWKT('SRID=4674;POINT (-39.030528 -3.40295)'))) / (select extract(epoch from '2026-08-10 16:08:23'::timestamp) - extract(epoch from '2026-08-10 16:08: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'), 48138, 'SRID=4674;POINT (-39.030478 -3.402879)', '2026-08-10 16:08:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030528 -3.40295)'), GeomFromEWKT('SRID=4674;POINT (-39.030478 -3.402879)'))) / (select extract(epoch from '2026-08-10 16:08:29'::timestamp) - extract(epoch from '2026-08-10 16:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030528 -3.40295)'), GeomFromEWKT('SRID=4674;POINT (-39.030478 -3.402879)'))) / (select extract(epoch from '2026-08-10 16:08:29'::timestamp) - extract(epoch from '2026-08-10 16:08: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'), 48138, 'SRID=4674;POINT (-39.030391 -3.402763)', '2026-08-10 16:08:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030478 -3.402879)'), GeomFromEWKT('SRID=4674;POINT (-39.030391 -3.402763)'))) / (select extract(epoch from '2026-08-10 16:08:38'::timestamp) - extract(epoch from '2026-08-10 16:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030478 -3.402879)'), GeomFromEWKT('SRID=4674;POINT (-39.030391 -3.402763)'))) / (select extract(epoch from '2026-08-10 16:08:38'::timestamp) - extract(epoch from '2026-08-10 16:08: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'), 48138, 'SRID=4674;POINT (-39.030349 -3.402682)', '2026-08-10 16:08:44', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030391 -3.402763)'), GeomFromEWKT('SRID=4674;POINT (-39.030349 -3.402682)'))) / (select extract(epoch from '2026-08-10 16:08:44'::timestamp) - extract(epoch from '2026-08-10 16:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030391 -3.402763)'), GeomFromEWKT('SRID=4674;POINT (-39.030349 -3.402682)'))) / (select extract(epoch from '2026-08-10 16:08:44'::timestamp) - extract(epoch from '2026-08-10 16:08: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'), 48138, 'SRID=4674;POINT (-39.030261 -3.402572)', '2026-08-10 16:08:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030349 -3.402682)'), GeomFromEWKT('SRID=4674;POINT (-39.030261 -3.402572)'))) / (select extract(epoch from '2026-08-10 16:08:53'::timestamp) - extract(epoch from '2026-08-10 16:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030349 -3.402682)'), GeomFromEWKT('SRID=4674;POINT (-39.030261 -3.402572)'))) / (select extract(epoch from '2026-08-10 16:08:53'::timestamp) - extract(epoch from '2026-08-10 16:08: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'), 48138, 'SRID=4674;POINT (-39.030188 -3.40249)', '2026-08-10 16:09:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030261 -3.402572)'), GeomFromEWKT('SRID=4674;POINT (-39.030188 -3.40249)'))) / (select extract(epoch from '2026-08-10 16:09:00'::timestamp) - extract(epoch from '2026-08-10 16:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030261 -3.402572)'), GeomFromEWKT('SRID=4674;POINT (-39.030188 -3.40249)'))) / (select extract(epoch from '2026-08-10 16:09:00'::timestamp) - extract(epoch from '2026-08-10 16:08: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'), 48138, 'SRID=4674;POINT (-39.030138 -3.402412)', '2026-08-10 16:09:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030188 -3.40249)'), GeomFromEWKT('SRID=4674;POINT (-39.030138 -3.402412)'))) / (select extract(epoch from '2026-08-10 16:09:06'::timestamp) - extract(epoch from '2026-08-10 16:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030188 -3.40249)'), GeomFromEWKT('SRID=4674;POINT (-39.030138 -3.402412)'))) / (select extract(epoch from '2026-08-10 16:09:06'::timestamp) - extract(epoch from '2026-08-10 16:09:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.030082 -3.402326)', '2026-08-10 16:09:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030138 -3.402412)'), GeomFromEWKT('SRID=4674;POINT (-39.030082 -3.402326)'))) / (select extract(epoch from '2026-08-10 16:09:13'::timestamp) - extract(epoch from '2026-08-10 16:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030138 -3.402412)'), GeomFromEWKT('SRID=4674;POINT (-39.030082 -3.402326)'))) / (select extract(epoch from '2026-08-10 16:09:13'::timestamp) - extract(epoch from '2026-08-10 16:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.03 -3.402236)', '2026-08-10 16:09:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030082 -3.402326)'), GeomFromEWKT('SRID=4674;POINT (-39.03 -3.402236)'))) / (select extract(epoch from '2026-08-10 16:09:21'::timestamp) - extract(epoch from '2026-08-10 16:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030082 -3.402326)'), GeomFromEWKT('SRID=4674;POINT (-39.03 -3.402236)'))) / (select extract(epoch from '2026-08-10 16:09:21'::timestamp) - extract(epoch from '2026-08-10 16:09:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.029944 -3.402167)', '2026-08-10 16:09:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03 -3.402236)'), GeomFromEWKT('SRID=4674;POINT (-39.029944 -3.402167)'))) / (select extract(epoch from '2026-08-10 16:09:27'::timestamp) - extract(epoch from '2026-08-10 16:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03 -3.402236)'), GeomFromEWKT('SRID=4674;POINT (-39.029944 -3.402167)'))) / (select extract(epoch from '2026-08-10 16:09:27'::timestamp) - extract(epoch from '2026-08-10 16:09: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'), 48138, 'SRID=4674;POINT (-39.029831 -3.402024)', '2026-08-10 16:09:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029944 -3.402167)'), GeomFromEWKT('SRID=4674;POINT (-39.029831 -3.402024)'))) / (select extract(epoch from '2026-08-10 16:09:38'::timestamp) - extract(epoch from '2026-08-10 16:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029944 -3.402167)'), GeomFromEWKT('SRID=4674;POINT (-39.029831 -3.402024)'))) / (select extract(epoch from '2026-08-10 16:09:38'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.029752 -3.401915)', '2026-08-10 16:09:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029831 -3.402024)'), GeomFromEWKT('SRID=4674;POINT (-39.029752 -3.401915)'))) / (select extract(epoch from '2026-08-10 16:09:46'::timestamp) - extract(epoch from '2026-08-10 16:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029831 -3.402024)'), GeomFromEWKT('SRID=4674;POINT (-39.029752 -3.401915)'))) / (select extract(epoch from '2026-08-10 16:09:46'::timestamp) - extract(epoch from '2026-08-10 16:09:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.029699 -3.401838)', '2026-08-10 16:09:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029752 -3.401915)'), GeomFromEWKT('SRID=4674;POINT (-39.029699 -3.401838)'))) / (select extract(epoch from '2026-08-10 16:09:53'::timestamp) - extract(epoch from '2026-08-10 16:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029752 -3.401915)'), GeomFromEWKT('SRID=4674;POINT (-39.029699 -3.401838)'))) / (select extract(epoch from '2026-08-10 16:09:53'::timestamp) - extract(epoch from '2026-08-10 16:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.029638 -3.40173)', '2026-08-10 16:10:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029699 -3.401838)'), GeomFromEWKT('SRID=4674;POINT (-39.029638 -3.40173)'))) / (select extract(epoch from '2026-08-10 16:10:00'::timestamp) - extract(epoch from '2026-08-10 16:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029699 -3.401838)'), GeomFromEWKT('SRID=4674;POINT (-39.029638 -3.40173)'))) / (select extract(epoch from '2026-08-10 16:10:00'::timestamp) - extract(epoch from '2026-08-10 16:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.029596 -3.401638)', '2026-08-10 16:10:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029638 -3.40173)'), GeomFromEWKT('SRID=4674;POINT (-39.029596 -3.401638)'))) / (select extract(epoch from '2026-08-10 16:10:06'::timestamp) - extract(epoch from '2026-08-10 16:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029638 -3.40173)'), GeomFromEWKT('SRID=4674;POINT (-39.029596 -3.401638)'))) / (select extract(epoch from '2026-08-10 16:10:06'::timestamp) - extract(epoch from '2026-08-10 16:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02954 -3.401523)', '2026-08-10 16:10:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029596 -3.401638)'), GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.401523)'))) / (select extract(epoch from '2026-08-10 16:10:14'::timestamp) - extract(epoch from '2026-08-10 16:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029596 -3.401638)'), GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.401523)'))) / (select extract(epoch from '2026-08-10 16:10:14'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.0295 -3.40144)', '2026-08-10 16:10:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.401523)'), GeomFromEWKT('SRID=4674;POINT (-39.0295 -3.40144)'))) / (select extract(epoch from '2026-08-10 16:10:20'::timestamp) - extract(epoch from '2026-08-10 16:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.401523)'), GeomFromEWKT('SRID=4674;POINT (-39.0295 -3.40144)'))) / (select extract(epoch from '2026-08-10 16:10:20'::timestamp) - extract(epoch from '2026-08-10 16:10: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'), 48138, 'SRID=4674;POINT (-39.029457 -3.401348)', '2026-08-10 16:10:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0295 -3.40144)'), GeomFromEWKT('SRID=4674;POINT (-39.029457 -3.401348)'))) / (select extract(epoch from '2026-08-10 16:10:26'::timestamp) - extract(epoch from '2026-08-10 16:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0295 -3.40144)'), GeomFromEWKT('SRID=4674;POINT (-39.029457 -3.401348)'))) / (select extract(epoch from '2026-08-10 16:10:26'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.029425 -3.401261)', '2026-08-10 16:10:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029457 -3.401348)'), GeomFromEWKT('SRID=4674;POINT (-39.029425 -3.401261)'))) / (select extract(epoch from '2026-08-10 16:10:31'::timestamp) - extract(epoch from '2026-08-10 16:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029457 -3.401348)'), GeomFromEWKT('SRID=4674;POINT (-39.029425 -3.401261)'))) / (select extract(epoch from '2026-08-10 16:10:31'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.029388 -3.40118)', '2026-08-10 16:10:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029425 -3.401261)'), GeomFromEWKT('SRID=4674;POINT (-39.029388 -3.40118)'))) / (select extract(epoch from '2026-08-10 16:10:36'::timestamp) - extract(epoch from '2026-08-10 16:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029425 -3.401261)'), GeomFromEWKT('SRID=4674;POINT (-39.029388 -3.40118)'))) / (select extract(epoch from '2026-08-10 16:10:36'::timestamp) - extract(epoch from '2026-08-10 16:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.029351 -3.401097)', '2026-08-10 16:10:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029388 -3.40118)'), GeomFromEWKT('SRID=4674;POINT (-39.029351 -3.401097)'))) / (select extract(epoch from '2026-08-10 16:10:42'::timestamp) - extract(epoch from '2026-08-10 16:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029388 -3.40118)'), GeomFromEWKT('SRID=4674;POINT (-39.029351 -3.401097)'))) / (select extract(epoch from '2026-08-10 16:10:42'::timestamp) - extract(epoch from '2026-08-10 16:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.029307 -3.400994)', '2026-08-10 16:10:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029351 -3.401097)'), GeomFromEWKT('SRID=4674;POINT (-39.029307 -3.400994)'))) / (select extract(epoch from '2026-08-10 16:10:49'::timestamp) - extract(epoch from '2026-08-10 16:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029351 -3.401097)'), GeomFromEWKT('SRID=4674;POINT (-39.029307 -3.400994)'))) / (select extract(epoch from '2026-08-10 16:10:49'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.029251 -3.400921)', '2026-08-10 16:10:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029307 -3.400994)'), GeomFromEWKT('SRID=4674;POINT (-39.029251 -3.400921)'))) / (select extract(epoch from '2026-08-10 16:10:55'::timestamp) - extract(epoch from '2026-08-10 16:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029307 -3.400994)'), GeomFromEWKT('SRID=4674;POINT (-39.029251 -3.400921)'))) / (select extract(epoch from '2026-08-10 16:10:55'::timestamp) - extract(epoch from '2026-08-10 16:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.029198 -3.400851)', '2026-08-10 16:11:01', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029251 -3.400921)'), GeomFromEWKT('SRID=4674;POINT (-39.029198 -3.400851)'))) / (select extract(epoch from '2026-08-10 16:11:01'::timestamp) - extract(epoch from '2026-08-10 16:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029251 -3.400921)'), GeomFromEWKT('SRID=4674;POINT (-39.029198 -3.400851)'))) / (select extract(epoch from '2026-08-10 16:11:01'::timestamp) - extract(epoch from '2026-08-10 16:10: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'), 48138, 'SRID=4674;POINT (-39.029192 -3.400841)', '2026-08-10 16:11:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029198 -3.400851)'), GeomFromEWKT('SRID=4674;POINT (-39.029192 -3.400841)'))) / (select extract(epoch from '2026-08-10 16:11:02'::timestamp) - extract(epoch from '2026-08-10 16:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029198 -3.400851)'), GeomFromEWKT('SRID=4674;POINT (-39.029192 -3.400841)'))) / (select extract(epoch from '2026-08-10 16:11:02'::timestamp) - extract(epoch from '2026-08-10 16:11: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'), 48138, 'SRID=4674;POINT (-39.029157 -3.400791)', '2026-08-10 16:11:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029192 -3.400841)'), GeomFromEWKT('SRID=4674;POINT (-39.029157 -3.400791)'))) / (select extract(epoch from '2026-08-10 16:11:06'::timestamp) - extract(epoch from '2026-08-10 16:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029192 -3.400841)'), GeomFromEWKT('SRID=4674;POINT (-39.029157 -3.400791)'))) / (select extract(epoch from '2026-08-10 16:11:06'::timestamp) - extract(epoch from '2026-08-10 16:11: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'), 48138, 'SRID=4674;POINT (-39.029069 -3.400701)', '2026-08-10 16:11:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029157 -3.400791)'), GeomFromEWKT('SRID=4674;POINT (-39.029069 -3.400701)'))) / (select extract(epoch from '2026-08-10 16:11:14'::timestamp) - extract(epoch from '2026-08-10 16:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029157 -3.400791)'), GeomFromEWKT('SRID=4674;POINT (-39.029069 -3.400701)'))) / (select extract(epoch from '2026-08-10 16:11:14'::timestamp) - extract(epoch from '2026-08-10 16:11:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.029002 -3.40064)', '2026-08-10 16:11:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029069 -3.400701)'), GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.40064)'))) / (select extract(epoch from '2026-08-10 16:11:20'::timestamp) - extract(epoch from '2026-08-10 16:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029069 -3.400701)'), GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.40064)'))) / (select extract(epoch from '2026-08-10 16:11:20'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.028903 -3.400556)', '2026-08-10 16:11:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.40064)'), GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.400556)'))) / (select extract(epoch from '2026-08-10 16:11:28'::timestamp) - extract(epoch from '2026-08-10 16:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.40064)'), GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.400556)'))) / (select extract(epoch from '2026-08-10 16:11:28'::timestamp) - extract(epoch from '2026-08-10 16:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.028835 -3.400508)', '2026-08-10 16:11:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.400556)'), GeomFromEWKT('SRID=4674;POINT (-39.028835 -3.400508)'))) / (select extract(epoch from '2026-08-10 16:11:33'::timestamp) - extract(epoch from '2026-08-10 16:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.400556)'), GeomFromEWKT('SRID=4674;POINT (-39.028835 -3.400508)'))) / (select extract(epoch from '2026-08-10 16:11:33'::timestamp) - extract(epoch from '2026-08-10 16:11: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'), 48138, 'SRID=4674;POINT (-39.028776 -3.400462)', '2026-08-10 16:11:38', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028835 -3.400508)'), GeomFromEWKT('SRID=4674;POINT (-39.028776 -3.400462)'))) / (select extract(epoch from '2026-08-10 16:11:38'::timestamp) - extract(epoch from '2026-08-10 16:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028835 -3.400508)'), GeomFromEWKT('SRID=4674;POINT (-39.028776 -3.400462)'))) / (select extract(epoch from '2026-08-10 16:11:38'::timestamp) - extract(epoch from '2026-08-10 16:11: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'), 48138, 'SRID=4674;POINT (-39.028728 -3.400425)', '2026-08-10 16:11:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028776 -3.400462)'), GeomFromEWKT('SRID=4674;POINT (-39.028728 -3.400425)'))) / (select extract(epoch from '2026-08-10 16:11:42'::timestamp) - extract(epoch from '2026-08-10 16:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028776 -3.400462)'), GeomFromEWKT('SRID=4674;POINT (-39.028728 -3.400425)'))) / (select extract(epoch from '2026-08-10 16:11:42'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.028716 -3.400418)', '2026-08-10 16:11:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028728 -3.400425)'), GeomFromEWKT('SRID=4674;POINT (-39.028716 -3.400418)'))) / (select extract(epoch from '2026-08-10 16:11:43'::timestamp) - extract(epoch from '2026-08-10 16:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028728 -3.400425)'), GeomFromEWKT('SRID=4674;POINT (-39.028716 -3.400418)'))) / (select extract(epoch from '2026-08-10 16:11:43'::timestamp) - extract(epoch from '2026-08-10 16:11: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'), 48138, 'SRID=4674;POINT (-39.028654 -3.400376)', '2026-08-10 16:11:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028716 -3.400418)'), GeomFromEWKT('SRID=4674;POINT (-39.028654 -3.400376)'))) / (select extract(epoch from '2026-08-10 16:11:48'::timestamp) - extract(epoch from '2026-08-10 16:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028716 -3.400418)'), GeomFromEWKT('SRID=4674;POINT (-39.028654 -3.400376)'))) / (select extract(epoch from '2026-08-10 16:11:48'::timestamp) - extract(epoch from '2026-08-10 16:11:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.028585 -3.400319)', '2026-08-10 16:11:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028654 -3.400376)'), GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.400319)'))) / (select extract(epoch from '2026-08-10 16:11:55'::timestamp) - extract(epoch from '2026-08-10 16:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028654 -3.400376)'), GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.400319)'))) / (select extract(epoch from '2026-08-10 16:11:55'::timestamp) - extract(epoch from '2026-08-10 16:11: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'), 48138, 'SRID=4674;POINT (-39.028519 -3.400264)', '2026-08-10 16:12:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.400319)'), GeomFromEWKT('SRID=4674;POINT (-39.028519 -3.400264)'))) / (select extract(epoch from '2026-08-10 16:12:02'::timestamp) - extract(epoch from '2026-08-10 16:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.400319)'), GeomFromEWKT('SRID=4674;POINT (-39.028519 -3.400264)'))) / (select extract(epoch from '2026-08-10 16:12:02'::timestamp) - extract(epoch from '2026-08-10 16:11: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'), 48138, 'SRID=4674;POINT (-39.028455 -3.400194)', '2026-08-10 16:12:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028519 -3.400264)'), GeomFromEWKT('SRID=4674;POINT (-39.028455 -3.400194)'))) / (select extract(epoch from '2026-08-10 16:12:08'::timestamp) - extract(epoch from '2026-08-10 16:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028519 -3.400264)'), GeomFromEWKT('SRID=4674;POINT (-39.028455 -3.400194)'))) / (select extract(epoch from '2026-08-10 16:12:08'::timestamp) - extract(epoch from '2026-08-10 16:12:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.028359 -3.400091)', '2026-08-10 16:12:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028455 -3.400194)'), GeomFromEWKT('SRID=4674;POINT (-39.028359 -3.400091)'))) / (select extract(epoch from '2026-08-10 16:12:16'::timestamp) - extract(epoch from '2026-08-10 16:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028455 -3.400194)'), GeomFromEWKT('SRID=4674;POINT (-39.028359 -3.400091)'))) / (select extract(epoch from '2026-08-10 16:12:16'::timestamp) - extract(epoch from '2026-08-10 16:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.028266 -3.4)', '2026-08-10 16:12:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028359 -3.400091)'), GeomFromEWKT('SRID=4674;POINT (-39.028266 -3.4)'))) / (select extract(epoch from '2026-08-10 16:12:23'::timestamp) - extract(epoch from '2026-08-10 16:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028359 -3.400091)'), GeomFromEWKT('SRID=4674;POINT (-39.028266 -3.4)'))) / (select extract(epoch from '2026-08-10 16:12:23'::timestamp) - extract(epoch from '2026-08-10 16:12: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'), 48138, 'SRID=4674;POINT (-39.028178 -3.399882)', '2026-08-10 16:12:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028266 -3.4)'), GeomFromEWKT('SRID=4674;POINT (-39.028178 -3.399882)'))) / (select extract(epoch from '2026-08-10 16:12:31'::timestamp) - extract(epoch from '2026-08-10 16:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028266 -3.4)'), GeomFromEWKT('SRID=4674;POINT (-39.028178 -3.399882)'))) / (select extract(epoch from '2026-08-10 16:12:31'::timestamp) - extract(epoch from '2026-08-10 16:12: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'), 48138, 'SRID=4674;POINT (-39.028083 -3.399769)', '2026-08-10 16:12:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028178 -3.399882)'), GeomFromEWKT('SRID=4674;POINT (-39.028083 -3.399769)'))) / (select extract(epoch from '2026-08-10 16:12:39'::timestamp) - extract(epoch from '2026-08-10 16:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028178 -3.399882)'), GeomFromEWKT('SRID=4674;POINT (-39.028083 -3.399769)'))) / (select extract(epoch from '2026-08-10 16:12:39'::timestamp) - extract(epoch from '2026-08-10 16:12:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.028025 -3.399688)', '2026-08-10 16:12:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028083 -3.399769)'), GeomFromEWKT('SRID=4674;POINT (-39.028025 -3.399688)'))) / (select extract(epoch from '2026-08-10 16:12:45'::timestamp) - extract(epoch from '2026-08-10 16:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028083 -3.399769)'), GeomFromEWKT('SRID=4674;POINT (-39.028025 -3.399688)'))) / (select extract(epoch from '2026-08-10 16:12:45'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.027963 -3.399601)', '2026-08-10 16:12:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028025 -3.399688)'), GeomFromEWKT('SRID=4674;POINT (-39.027963 -3.399601)'))) / (select extract(epoch from '2026-08-10 16:12:51'::timestamp) - extract(epoch from '2026-08-10 16:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028025 -3.399688)'), GeomFromEWKT('SRID=4674;POINT (-39.027963 -3.399601)'))) / (select extract(epoch from '2026-08-10 16:12:51'::timestamp) - extract(epoch from '2026-08-10 16:12: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'), 48138, 'SRID=4674;POINT (-39.027887 -3.399504)', '2026-08-10 16:12:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027963 -3.399601)'), GeomFromEWKT('SRID=4674;POINT (-39.027887 -3.399504)'))) / (select extract(epoch from '2026-08-10 16:12:58'::timestamp) - extract(epoch from '2026-08-10 16:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027963 -3.399601)'), GeomFromEWKT('SRID=4674;POINT (-39.027887 -3.399504)'))) / (select extract(epoch from '2026-08-10 16:12:58'::timestamp) - extract(epoch from '2026-08-10 16:12: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'), 48138, 'SRID=4674;POINT (-39.027857 -3.399436)', '2026-08-10 16:13:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027887 -3.399504)'), GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.399436)'))) / (select extract(epoch from '2026-08-10 16:13:03'::timestamp) - extract(epoch from '2026-08-10 16:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027887 -3.399504)'), GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.399436)'))) / (select extract(epoch from '2026-08-10 16:13:03'::timestamp) - extract(epoch from '2026-08-10 16:12: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'), 48138, 'SRID=4674;POINT (-39.027808 -3.399343)', '2026-08-10 16:13:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.399436)'), GeomFromEWKT('SRID=4674;POINT (-39.027808 -3.399343)'))) / (select extract(epoch from '2026-08-10 16:13:10'::timestamp) - extract(epoch from '2026-08-10 16:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.399436)'), GeomFromEWKT('SRID=4674;POINT (-39.027808 -3.399343)'))) / (select extract(epoch from '2026-08-10 16:13:10'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.027784 -3.399229)', '2026-08-10 16:13:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027808 -3.399343)'), GeomFromEWKT('SRID=4674;POINT (-39.027784 -3.399229)'))) / (select extract(epoch from '2026-08-10 16:13:18'::timestamp) - extract(epoch from '2026-08-10 16:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027808 -3.399343)'), GeomFromEWKT('SRID=4674;POINT (-39.027784 -3.399229)'))) / (select extract(epoch from '2026-08-10 16:13:18'::timestamp) - extract(epoch from '2026-08-10 16:13: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'), 48138, 'SRID=4674;POINT (-39.027749 -3.399073)', '2026-08-10 16:13:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027784 -3.399229)'), GeomFromEWKT('SRID=4674;POINT (-39.027749 -3.399073)'))) / (select extract(epoch from '2026-08-10 16:13:26'::timestamp) - extract(epoch from '2026-08-10 16:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027784 -3.399229)'), GeomFromEWKT('SRID=4674;POINT (-39.027749 -3.399073)'))) / (select extract(epoch from '2026-08-10 16:13:26'::timestamp) - extract(epoch from '2026-08-10 16:13: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'), 48138, 'SRID=4674;POINT (-39.027716 -3.399004)', '2026-08-10 16:13:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027749 -3.399073)'), GeomFromEWKT('SRID=4674;POINT (-39.027716 -3.399004)'))) / (select extract(epoch from '2026-08-10 16:13:31'::timestamp) - extract(epoch from '2026-08-10 16:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027749 -3.399073)'), GeomFromEWKT('SRID=4674;POINT (-39.027716 -3.399004)'))) / (select extract(epoch from '2026-08-10 16:13:31'::timestamp) - extract(epoch from '2026-08-10 16:13: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'), 48138, 'SRID=4674;POINT (-39.027691 -3.398973)', '2026-08-10 16:13:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027716 -3.399004)'), GeomFromEWKT('SRID=4674;POINT (-39.027691 -3.398973)'))) / (select extract(epoch from '2026-08-10 16:13:34'::timestamp) - extract(epoch from '2026-08-10 16:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027716 -3.399004)'), GeomFromEWKT('SRID=4674;POINT (-39.027691 -3.398973)'))) / (select extract(epoch from '2026-08-10 16:13:34'::timestamp) - extract(epoch from '2026-08-10 16:13:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.027658 -3.398939)', '2026-08-10 16:13:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027691 -3.398973)'), GeomFromEWKT('SRID=4674;POINT (-39.027658 -3.398939)'))) / (select extract(epoch from '2026-08-10 16:13:37'::timestamp) - extract(epoch from '2026-08-10 16:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027691 -3.398973)'), GeomFromEWKT('SRID=4674;POINT (-39.027658 -3.398939)'))) / (select extract(epoch from '2026-08-10 16:13:37'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.0276 -3.398876)', '2026-08-10 16:13:43', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027658 -3.398939)'), GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.398876)'))) / (select extract(epoch from '2026-08-10 16:13:43'::timestamp) - extract(epoch from '2026-08-10 16:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027658 -3.398939)'), GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.398876)'))) / (select extract(epoch from '2026-08-10 16:13:43'::timestamp) - extract(epoch from '2026-08-10 16:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02753 -3.398797)', '2026-08-10 16:13:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.398876)'), GeomFromEWKT('SRID=4674;POINT (-39.02753 -3.398797)'))) / (select extract(epoch from '2026-08-10 16:13:50'::timestamp) - extract(epoch from '2026-08-10 16:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.398876)'), GeomFromEWKT('SRID=4674;POINT (-39.02753 -3.398797)'))) / (select extract(epoch from '2026-08-10 16:13:50'::timestamp) - extract(epoch from '2026-08-10 16:13: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'), 48138, 'SRID=4674;POINT (-39.027466 -3.398716)', '2026-08-10 16:13:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02753 -3.398797)'), GeomFromEWKT('SRID=4674;POINT (-39.027466 -3.398716)'))) / (select extract(epoch from '2026-08-10 16:13:56'::timestamp) - extract(epoch from '2026-08-10 16:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02753 -3.398797)'), GeomFromEWKT('SRID=4674;POINT (-39.027466 -3.398716)'))) / (select extract(epoch from '2026-08-10 16:13:56'::timestamp) - extract(epoch from '2026-08-10 16:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.027432 -3.39868)', '2026-08-10 16:13:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027466 -3.398716)'), GeomFromEWKT('SRID=4674;POINT (-39.027432 -3.39868)'))) / (select extract(epoch from '2026-08-10 16:13:59'::timestamp) - extract(epoch from '2026-08-10 16:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027466 -3.398716)'), GeomFromEWKT('SRID=4674;POINT (-39.027432 -3.39868)'))) / (select extract(epoch from '2026-08-10 16:13:59'::timestamp) - extract(epoch from '2026-08-10 16:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.027413 -3.398648)', '2026-08-10 16:14:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027432 -3.39868)'), GeomFromEWKT('SRID=4674;POINT (-39.027413 -3.398648)'))) / (select extract(epoch from '2026-08-10 16:14:01'::timestamp) - extract(epoch from '2026-08-10 16:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027432 -3.39868)'), GeomFromEWKT('SRID=4674;POINT (-39.027413 -3.398648)'))) / (select extract(epoch from '2026-08-10 16:14:01'::timestamp) - extract(epoch from '2026-08-10 16:13: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'), 48138, 'SRID=4674;POINT (-39.027355 -3.398574)', '2026-08-10 16:14:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027413 -3.398648)'), GeomFromEWKT('SRID=4674;POINT (-39.027355 -3.398574)'))) / (select extract(epoch from '2026-08-10 16:14:07'::timestamp) - extract(epoch from '2026-08-10 16:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027413 -3.398648)'), GeomFromEWKT('SRID=4674;POINT (-39.027355 -3.398574)'))) / (select extract(epoch from '2026-08-10 16:14:07'::timestamp) - extract(epoch from '2026-08-10 16:14: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'), 48138, 'SRID=4674;POINT (-39.027305 -3.398507)', '2026-08-10 16:14:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027355 -3.398574)'), GeomFromEWKT('SRID=4674;POINT (-39.027305 -3.398507)'))) / (select extract(epoch from '2026-08-10 16:14:14'::timestamp) - extract(epoch from '2026-08-10 16:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027355 -3.398574)'), GeomFromEWKT('SRID=4674;POINT (-39.027305 -3.398507)'))) / (select extract(epoch from '2026-08-10 16:14:14'::timestamp) - extract(epoch from '2026-08-10 16:14: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'), 48138, 'SRID=4674;POINT (-39.027242 -3.398438)', '2026-08-10 16:14:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027305 -3.398507)'), GeomFromEWKT('SRID=4674;POINT (-39.027242 -3.398438)'))) / (select extract(epoch from '2026-08-10 16:14:20'::timestamp) - extract(epoch from '2026-08-10 16:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027305 -3.398507)'), GeomFromEWKT('SRID=4674;POINT (-39.027242 -3.398438)'))) / (select extract(epoch from '2026-08-10 16:14:20'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.027186 -3.398372)', '2026-08-10 16:14:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027242 -3.398438)'), GeomFromEWKT('SRID=4674;POINT (-39.027186 -3.398372)'))) / (select extract(epoch from '2026-08-10 16:14:26'::timestamp) - extract(epoch from '2026-08-10 16:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027242 -3.398438)'), GeomFromEWKT('SRID=4674;POINT (-39.027186 -3.398372)'))) / (select extract(epoch from '2026-08-10 16:14:26'::timestamp) - extract(epoch from '2026-08-10 16:14: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'), 48138, 'SRID=4674;POINT (-39.027118 -3.398294)', '2026-08-10 16:14:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027186 -3.398372)'), GeomFromEWKT('SRID=4674;POINT (-39.027118 -3.398294)'))) / (select extract(epoch from '2026-08-10 16:14:32'::timestamp) - extract(epoch from '2026-08-10 16:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027186 -3.398372)'), GeomFromEWKT('SRID=4674;POINT (-39.027118 -3.398294)'))) / (select extract(epoch from '2026-08-10 16:14:32'::timestamp) - extract(epoch from '2026-08-10 16:14: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'), 48138, 'SRID=4674;POINT (-39.027012 -3.398175)', '2026-08-10 16:14:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027118 -3.398294)'), GeomFromEWKT('SRID=4674;POINT (-39.027012 -3.398175)'))) / (select extract(epoch from '2026-08-10 16:14:40'::timestamp) - extract(epoch from '2026-08-10 16:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027118 -3.398294)'), GeomFromEWKT('SRID=4674;POINT (-39.027012 -3.398175)'))) / (select extract(epoch from '2026-08-10 16:14:40'::timestamp) - extract(epoch from '2026-08-10 16:14: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'), 48138, 'SRID=4674;POINT (-39.026934 -3.398063)', '2026-08-10 16:14:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027012 -3.398175)'), GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.398063)'))) / (select extract(epoch from '2026-08-10 16:14:48'::timestamp) - extract(epoch from '2026-08-10 16:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027012 -3.398175)'), GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.398063)'))) / (select extract(epoch from '2026-08-10 16:14:48'::timestamp) - extract(epoch from '2026-08-10 16:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.026853 -3.397968)', '2026-08-10 16:14:55', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.398063)'), GeomFromEWKT('SRID=4674;POINT (-39.026853 -3.397968)'))) / (select extract(epoch from '2026-08-10 16:14:55'::timestamp) - extract(epoch from '2026-08-10 16:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.398063)'), GeomFromEWKT('SRID=4674;POINT (-39.026853 -3.397968)'))) / (select extract(epoch from '2026-08-10 16:14:55'::timestamp) - extract(epoch from '2026-08-10 16:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.026786 -3.397907)', '2026-08-10 16:15:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026853 -3.397968)'), GeomFromEWKT('SRID=4674;POINT (-39.026786 -3.397907)'))) / (select extract(epoch from '2026-08-10 16:15:00'::timestamp) - extract(epoch from '2026-08-10 16:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026853 -3.397968)'), GeomFromEWKT('SRID=4674;POINT (-39.026786 -3.397907)'))) / (select extract(epoch from '2026-08-10 16:15:00'::timestamp) - extract(epoch from '2026-08-10 16:14: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'), 48138, 'SRID=4674;POINT (-39.026686 -3.397824)', '2026-08-10 16:15:07', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026786 -3.397907)'), GeomFromEWKT('SRID=4674;POINT (-39.026686 -3.397824)'))) / (select extract(epoch from '2026-08-10 16:15:07'::timestamp) - extract(epoch from '2026-08-10 16:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026786 -3.397907)'), GeomFromEWKT('SRID=4674;POINT (-39.026686 -3.397824)'))) / (select extract(epoch from '2026-08-10 16:15:07'::timestamp) - extract(epoch from '2026-08-10 16:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.026587 -3.397716)', '2026-08-10 16:15:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026686 -3.397824)'), GeomFromEWKT('SRID=4674;POINT (-39.026587 -3.397716)'))) / (select extract(epoch from '2026-08-10 16:15:15'::timestamp) - extract(epoch from '2026-08-10 16:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026686 -3.397824)'), GeomFromEWKT('SRID=4674;POINT (-39.026587 -3.397716)'))) / (select extract(epoch from '2026-08-10 16:15:15'::timestamp) - extract(epoch from '2026-08-10 16:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.026518 -3.397639)', '2026-08-10 16:15:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026587 -3.397716)'), GeomFromEWKT('SRID=4674;POINT (-39.026518 -3.397639)'))) / (select extract(epoch from '2026-08-10 16:15:21'::timestamp) - extract(epoch from '2026-08-10 16:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026587 -3.397716)'), GeomFromEWKT('SRID=4674;POINT (-39.026518 -3.397639)'))) / (select extract(epoch from '2026-08-10 16:15:21'::timestamp) - extract(epoch from '2026-08-10 16:15: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'), 48138, 'SRID=4674;POINT (-39.026439 -3.397543)', '2026-08-10 16:15:28', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026518 -3.397639)'), GeomFromEWKT('SRID=4674;POINT (-39.026439 -3.397543)'))) / (select extract(epoch from '2026-08-10 16:15:28'::timestamp) - extract(epoch from '2026-08-10 16:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026518 -3.397639)'), GeomFromEWKT('SRID=4674;POINT (-39.026439 -3.397543)'))) / (select extract(epoch from '2026-08-10 16:15:28'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.026378 -3.39747)', '2026-08-10 16:15:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026439 -3.397543)'), GeomFromEWKT('SRID=4674;POINT (-39.026378 -3.39747)'))) / (select extract(epoch from '2026-08-10 16:15:34'::timestamp) - extract(epoch from '2026-08-10 16:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026439 -3.397543)'), GeomFromEWKT('SRID=4674;POINT (-39.026378 -3.39747)'))) / (select extract(epoch from '2026-08-10 16:15:34'::timestamp) - extract(epoch from '2026-08-10 16:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.026343 -3.397419)', '2026-08-10 16:15:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026378 -3.39747)'), GeomFromEWKT('SRID=4674;POINT (-39.026343 -3.397419)'))) / (select extract(epoch from '2026-08-10 16:15:38'::timestamp) - extract(epoch from '2026-08-10 16:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026378 -3.39747)'), GeomFromEWKT('SRID=4674;POINT (-39.026343 -3.397419)'))) / (select extract(epoch from '2026-08-10 16:15:38'::timestamp) - extract(epoch from '2026-08-10 16:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.026333 -3.397394)', '2026-08-10 16:15:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026343 -3.397419)'), GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.397394)'))) / (select extract(epoch from '2026-08-10 16:15:40'::timestamp) - extract(epoch from '2026-08-10 16:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026343 -3.397419)'), GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.397394)'))) / (select extract(epoch from '2026-08-10 16:15:40'::timestamp) - extract(epoch from '2026-08-10 16:15: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'), 48138, 'SRID=4674;POINT (-39.026263 -3.397282)', '2026-08-10 16:15:48', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.397394)'), GeomFromEWKT('SRID=4674;POINT (-39.026263 -3.397282)'))) / (select extract(epoch from '2026-08-10 16:15:48'::timestamp) - extract(epoch from '2026-08-10 16:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.397394)'), GeomFromEWKT('SRID=4674;POINT (-39.026263 -3.397282)'))) / (select extract(epoch from '2026-08-10 16:15:48'::timestamp) - extract(epoch from '2026-08-10 16:15: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'), 48138, 'SRID=4674;POINT (-39.026223 -3.397206)', '2026-08-10 16:15:53', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026263 -3.397282)'), GeomFromEWKT('SRID=4674;POINT (-39.026223 -3.397206)'))) / (select extract(epoch from '2026-08-10 16:15:53'::timestamp) - extract(epoch from '2026-08-10 16:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026263 -3.397282)'), GeomFromEWKT('SRID=4674;POINT (-39.026223 -3.397206)'))) / (select extract(epoch from '2026-08-10 16:15:53'::timestamp) - extract(epoch from '2026-08-10 16:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.026182 -3.397104)', '2026-08-10 16:15:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026223 -3.397206)'), GeomFromEWKT('SRID=4674;POINT (-39.026182 -3.397104)'))) / (select extract(epoch from '2026-08-10 16:15:59'::timestamp) - extract(epoch from '2026-08-10 16:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026223 -3.397206)'), GeomFromEWKT('SRID=4674;POINT (-39.026182 -3.397104)'))) / (select extract(epoch from '2026-08-10 16:15:59'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.026117 -3.396972)', '2026-08-10 16:16:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026182 -3.397104)'), GeomFromEWKT('SRID=4674;POINT (-39.026117 -3.396972)'))) / (select extract(epoch from '2026-08-10 16:16:07'::timestamp) - extract(epoch from '2026-08-10 16:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026182 -3.397104)'), GeomFromEWKT('SRID=4674;POINT (-39.026117 -3.396972)'))) / (select extract(epoch from '2026-08-10 16:16:07'::timestamp) - extract(epoch from '2026-08-10 16:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.026056 -3.396889)', '2026-08-10 16:16:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026117 -3.396972)'), GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.396889)'))) / (select extract(epoch from '2026-08-10 16:16:13'::timestamp) - extract(epoch from '2026-08-10 16:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026117 -3.396972)'), GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.396889)'))) / (select extract(epoch from '2026-08-10 16:16:13'::timestamp) - extract(epoch from '2026-08-10 16:16: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'), 48138, 'SRID=4674;POINT (-39.026039 -3.396866)', '2026-08-10 16:16:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.396889)'), GeomFromEWKT('SRID=4674;POINT (-39.026039 -3.396866)'))) / (select extract(epoch from '2026-08-10 16:16:15'::timestamp) - extract(epoch from '2026-08-10 16:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.396889)'), GeomFromEWKT('SRID=4674;POINT (-39.026039 -3.396866)'))) / (select extract(epoch from '2026-08-10 16:16:15'::timestamp) - extract(epoch from '2026-08-10 16:16: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'), 48138, 'SRID=4674;POINT (-39.026005 -3.396826)', '2026-08-10 16:16:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026039 -3.396866)'), GeomFromEWKT('SRID=4674;POINT (-39.026005 -3.396826)'))) / (select extract(epoch from '2026-08-10 16:16:18'::timestamp) - extract(epoch from '2026-08-10 16:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026039 -3.396866)'), GeomFromEWKT('SRID=4674;POINT (-39.026005 -3.396826)'))) / (select extract(epoch from '2026-08-10 16:16:18'::timestamp) - extract(epoch from '2026-08-10 16:16: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'), 48138, 'SRID=4674;POINT (-39.025949 -3.396749)', '2026-08-10 16:16:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026005 -3.396826)'), GeomFromEWKT('SRID=4674;POINT (-39.025949 -3.396749)'))) / (select extract(epoch from '2026-08-10 16:16:24'::timestamp) - extract(epoch from '2026-08-10 16:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026005 -3.396826)'), GeomFromEWKT('SRID=4674;POINT (-39.025949 -3.396749)'))) / (select extract(epoch from '2026-08-10 16:16:24'::timestamp) - extract(epoch from '2026-08-10 16:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.025852 -3.396658)', '2026-08-10 16:16:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025949 -3.396749)'), GeomFromEWKT('SRID=4674;POINT (-39.025852 -3.396658)'))) / (select extract(epoch from '2026-08-10 16:16:32'::timestamp) - extract(epoch from '2026-08-10 16:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025949 -3.396749)'), GeomFromEWKT('SRID=4674;POINT (-39.025852 -3.396658)'))) / (select extract(epoch from '2026-08-10 16:16:32'::timestamp) - extract(epoch from '2026-08-10 16:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.025772 -3.396587)', '2026-08-10 16:16:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025852 -3.396658)'), GeomFromEWKT('SRID=4674;POINT (-39.025772 -3.396587)'))) / (select extract(epoch from '2026-08-10 16:16:39'::timestamp) - extract(epoch from '2026-08-10 16:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025852 -3.396658)'), GeomFromEWKT('SRID=4674;POINT (-39.025772 -3.396587)'))) / (select extract(epoch from '2026-08-10 16:16:39'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.025714 -3.396492)', '2026-08-10 16:16:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025772 -3.396587)'), GeomFromEWKT('SRID=4674;POINT (-39.025714 -3.396492)'))) / (select extract(epoch from '2026-08-10 16:16:46'::timestamp) - extract(epoch from '2026-08-10 16:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025772 -3.396587)'), GeomFromEWKT('SRID=4674;POINT (-39.025714 -3.396492)'))) / (select extract(epoch from '2026-08-10 16:16:46'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.025652 -3.396392)', '2026-08-10 16:16:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025714 -3.396492)'), GeomFromEWKT('SRID=4674;POINT (-39.025652 -3.396392)'))) / (select extract(epoch from '2026-08-10 16:16:53'::timestamp) - extract(epoch from '2026-08-10 16:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025714 -3.396492)'), GeomFromEWKT('SRID=4674;POINT (-39.025652 -3.396392)'))) / (select extract(epoch from '2026-08-10 16:16:53'::timestamp) - extract(epoch from '2026-08-10 16:16: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'), 48138, 'SRID=4674;POINT (-39.025601 -3.396319)', '2026-08-10 16:16:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025652 -3.396392)'), GeomFromEWKT('SRID=4674;POINT (-39.025601 -3.396319)'))) / (select extract(epoch from '2026-08-10 16:16:58'::timestamp) - extract(epoch from '2026-08-10 16:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025652 -3.396392)'), GeomFromEWKT('SRID=4674;POINT (-39.025601 -3.396319)'))) / (select extract(epoch from '2026-08-10 16:16:58'::timestamp) - extract(epoch from '2026-08-10 16:16: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'), 48138, 'SRID=4674;POINT (-39.025535 -3.396244)', '2026-08-10 16:17:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025601 -3.396319)'), GeomFromEWKT('SRID=4674;POINT (-39.025535 -3.396244)'))) / (select extract(epoch from '2026-08-10 16:17:04'::timestamp) - extract(epoch from '2026-08-10 16:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025601 -3.396319)'), GeomFromEWKT('SRID=4674;POINT (-39.025535 -3.396244)'))) / (select extract(epoch from '2026-08-10 16:17:04'::timestamp) - extract(epoch from '2026-08-10 16:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.025467 -3.396151)', '2026-08-10 16:17:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025535 -3.396244)'), GeomFromEWKT('SRID=4674;POINT (-39.025467 -3.396151)'))) / (select extract(epoch from '2026-08-10 16:17:10'::timestamp) - extract(epoch from '2026-08-10 16:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025535 -3.396244)'), GeomFromEWKT('SRID=4674;POINT (-39.025467 -3.396151)'))) / (select extract(epoch from '2026-08-10 16:17:10'::timestamp) - extract(epoch from '2026-08-10 16:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.025416 -3.396053)', '2026-08-10 16:17:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025467 -3.396151)'), GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.396053)'))) / (select extract(epoch from '2026-08-10 16:17:16'::timestamp) - extract(epoch from '2026-08-10 16:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025467 -3.396151)'), GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.396053)'))) / (select extract(epoch from '2026-08-10 16:17:16'::timestamp) - extract(epoch from '2026-08-10 16:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.025347 -3.39593)', '2026-08-10 16:17:24', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.396053)'), GeomFromEWKT('SRID=4674;POINT (-39.025347 -3.39593)'))) / (select extract(epoch from '2026-08-10 16:17:24'::timestamp) - extract(epoch from '2026-08-10 16:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.396053)'), GeomFromEWKT('SRID=4674;POINT (-39.025347 -3.39593)'))) / (select extract(epoch from '2026-08-10 16:17:24'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.02529 -3.395841)', '2026-08-10 16:17:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025347 -3.39593)'), GeomFromEWKT('SRID=4674;POINT (-39.02529 -3.395841)'))) / (select extract(epoch from '2026-08-10 16:17:30'::timestamp) - extract(epoch from '2026-08-10 16:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025347 -3.39593)'), GeomFromEWKT('SRID=4674;POINT (-39.02529 -3.395841)'))) / (select extract(epoch from '2026-08-10 16:17:30'::timestamp) - extract(epoch from '2026-08-10 16:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02521 -3.395744)', '2026-08-10 16:17:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02529 -3.395841)'), GeomFromEWKT('SRID=4674;POINT (-39.02521 -3.395744)'))) / (select extract(epoch from '2026-08-10 16:17:37'::timestamp) - extract(epoch from '2026-08-10 16:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02529 -3.395841)'), GeomFromEWKT('SRID=4674;POINT (-39.02521 -3.395744)'))) / (select extract(epoch from '2026-08-10 16:17:37'::timestamp) - extract(epoch from '2026-08-10 16:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.025148 -3.395666)', '2026-08-10 16:17:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02521 -3.395744)'), GeomFromEWKT('SRID=4674;POINT (-39.025148 -3.395666)'))) / (select extract(epoch from '2026-08-10 16:17:43'::timestamp) - extract(epoch from '2026-08-10 16:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02521 -3.395744)'), GeomFromEWKT('SRID=4674;POINT (-39.025148 -3.395666)'))) / (select extract(epoch from '2026-08-10 16:17:43'::timestamp) - extract(epoch from '2026-08-10 16:17: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'), 48138, 'SRID=4674;POINT (-39.025092 -3.395599)', '2026-08-10 16:17:48', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025148 -3.395666)'), GeomFromEWKT('SRID=4674;POINT (-39.025092 -3.395599)'))) / (select extract(epoch from '2026-08-10 16:17:48'::timestamp) - extract(epoch from '2026-08-10 16:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025148 -3.395666)'), GeomFromEWKT('SRID=4674;POINT (-39.025092 -3.395599)'))) / (select extract(epoch from '2026-08-10 16:17:48'::timestamp) - extract(epoch from '2026-08-10 16:17: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'), 48138, 'SRID=4674;POINT (-39.025059 -3.39556)', '2026-08-10 16:17:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025092 -3.395599)'), GeomFromEWKT('SRID=4674;POINT (-39.025059 -3.39556)'))) / (select extract(epoch from '2026-08-10 16:17:51'::timestamp) - extract(epoch from '2026-08-10 16:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025092 -3.395599)'), GeomFromEWKT('SRID=4674;POINT (-39.025059 -3.39556)'))) / (select extract(epoch from '2026-08-10 16:17:51'::timestamp) - extract(epoch from '2026-08-10 16:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.025035 -3.395534)', '2026-08-10 16:17:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025059 -3.39556)'), GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.395534)'))) / (select extract(epoch from '2026-08-10 16:17:53'::timestamp) - extract(epoch from '2026-08-10 16:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025059 -3.39556)'), GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.395534)'))) / (select extract(epoch from '2026-08-10 16:17:53'::timestamp) - extract(epoch from '2026-08-10 16:17: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'), 48138, 'SRID=4674;POINT (-39.024962 -3.395461)', '2026-08-10 16:17:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.395534)'), GeomFromEWKT('SRID=4674;POINT (-39.024962 -3.395461)'))) / (select extract(epoch from '2026-08-10 16:17:59'::timestamp) - extract(epoch from '2026-08-10 16:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.395534)'), GeomFromEWKT('SRID=4674;POINT (-39.024962 -3.395461)'))) / (select extract(epoch from '2026-08-10 16:17:59'::timestamp) - extract(epoch from '2026-08-10 16:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024892 -3.395405)', '2026-08-10 16:18:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024962 -3.395461)'), GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.395405)'))) / (select extract(epoch from '2026-08-10 16:18:04'::timestamp) - extract(epoch from '2026-08-10 16:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024962 -3.395461)'), GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.395405)'))) / (select extract(epoch from '2026-08-10 16:18:04'::timestamp) - extract(epoch from '2026-08-10 16:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024877 -3.395396)', '2026-08-10 16:18:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.395405)'), GeomFromEWKT('SRID=4674;POINT (-39.024877 -3.395396)'))) / (select extract(epoch from '2026-08-10 16:18:05'::timestamp) - extract(epoch from '2026-08-10 16:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.395405)'), GeomFromEWKT('SRID=4674;POINT (-39.024877 -3.395396)'))) / (select extract(epoch from '2026-08-10 16:18:05'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.024786 -3.395333)', '2026-08-10 16:18:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024877 -3.395396)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.395333)'))) / (select extract(epoch from '2026-08-10 16:18:12'::timestamp) - extract(epoch from '2026-08-10 16:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024877 -3.395396)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.395333)'))) / (select extract(epoch from '2026-08-10 16:18:12'::timestamp) - extract(epoch from '2026-08-10 16:18: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'), 48138, 'SRID=4674;POINT (-39.024687 -3.395267)', '2026-08-10 16:18:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.395333)'), GeomFromEWKT('SRID=4674;POINT (-39.024687 -3.395267)'))) / (select extract(epoch from '2026-08-10 16:18:19'::timestamp) - extract(epoch from '2026-08-10 16:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.395333)'), GeomFromEWKT('SRID=4674;POINT (-39.024687 -3.395267)'))) / (select extract(epoch from '2026-08-10 16:18:19'::timestamp) - extract(epoch from '2026-08-10 16:18: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'), 48138, 'SRID=4674;POINT (-39.02462 -3.395221)', '2026-08-10 16:18:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024687 -3.395267)'), GeomFromEWKT('SRID=4674;POINT (-39.02462 -3.395221)'))) / (select extract(epoch from '2026-08-10 16:18:24'::timestamp) - extract(epoch from '2026-08-10 16:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024687 -3.395267)'), GeomFromEWKT('SRID=4674;POINT (-39.02462 -3.395221)'))) / (select extract(epoch from '2026-08-10 16:18:24'::timestamp) - extract(epoch from '2026-08-10 16:18: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'), 48138, 'SRID=4674;POINT (-39.024502 -3.395143)', '2026-08-10 16:18:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02462 -3.395221)'), GeomFromEWKT('SRID=4674;POINT (-39.024502 -3.395143)'))) / (select extract(epoch from '2026-08-10 16:18:32'::timestamp) - extract(epoch from '2026-08-10 16:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02462 -3.395221)'), GeomFromEWKT('SRID=4674;POINT (-39.024502 -3.395143)'))) / (select extract(epoch from '2026-08-10 16:18:32'::timestamp) - extract(epoch from '2026-08-10 16:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024407 -3.395068)', '2026-08-10 16:18:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024502 -3.395143)'), GeomFromEWKT('SRID=4674;POINT (-39.024407 -3.395068)'))) / (select extract(epoch from '2026-08-10 16:18:39'::timestamp) - extract(epoch from '2026-08-10 16:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024502 -3.395143)'), GeomFromEWKT('SRID=4674;POINT (-39.024407 -3.395068)'))) / (select extract(epoch from '2026-08-10 16:18:39'::timestamp) - extract(epoch from '2026-08-10 16:18: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'), 48138, 'SRID=4674;POINT (-39.024316 -3.394998)', '2026-08-10 16:18:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024407 -3.395068)'), GeomFromEWKT('SRID=4674;POINT (-39.024316 -3.394998)'))) / (select extract(epoch from '2026-08-10 16:18:46'::timestamp) - extract(epoch from '2026-08-10 16:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024407 -3.395068)'), GeomFromEWKT('SRID=4674;POINT (-39.024316 -3.394998)'))) / (select extract(epoch from '2026-08-10 16:18:46'::timestamp) - extract(epoch from '2026-08-10 16:18: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'), 48138, 'SRID=4674;POINT (-39.024232 -3.394908)', '2026-08-10 16:18:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024316 -3.394998)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.394908)'))) / (select extract(epoch from '2026-08-10 16:18:53'::timestamp) - extract(epoch from '2026-08-10 16:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024316 -3.394998)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.394908)'))) / (select extract(epoch from '2026-08-10 16:18:53'::timestamp) - extract(epoch from '2026-08-10 16:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024187 -3.394877)', '2026-08-10 16:18:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.394908)'), GeomFromEWKT('SRID=4674;POINT (-39.024187 -3.394877)'))) / (select extract(epoch from '2026-08-10 16:18:56'::timestamp) - extract(epoch from '2026-08-10 16:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.394908)'), GeomFromEWKT('SRID=4674;POINT (-39.024187 -3.394877)'))) / (select extract(epoch from '2026-08-10 16:18:56'::timestamp) - extract(epoch from '2026-08-10 16:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02416 -3.394854)', '2026-08-10 16:18:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024187 -3.394877)'), GeomFromEWKT('SRID=4674;POINT (-39.02416 -3.394854)'))) / (select extract(epoch from '2026-08-10 16:18:58'::timestamp) - extract(epoch from '2026-08-10 16:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024187 -3.394877)'), GeomFromEWKT('SRID=4674;POINT (-39.02416 -3.394854)'))) / (select extract(epoch from '2026-08-10 16:18:58'::timestamp) - extract(epoch from '2026-08-10 16:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024082 -3.394792)', '2026-08-10 16:19:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02416 -3.394854)'), GeomFromEWKT('SRID=4674;POINT (-39.024082 -3.394792)'))) / (select extract(epoch from '2026-08-10 16:19:04'::timestamp) - extract(epoch from '2026-08-10 16:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02416 -3.394854)'), GeomFromEWKT('SRID=4674;POINT (-39.024082 -3.394792)'))) / (select extract(epoch from '2026-08-10 16:19:04'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.023997 -3.394743)', '2026-08-10 16:19:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024082 -3.394792)'), GeomFromEWKT('SRID=4674;POINT (-39.023997 -3.394743)'))) / (select extract(epoch from '2026-08-10 16:19:10'::timestamp) - extract(epoch from '2026-08-10 16:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024082 -3.394792)'), GeomFromEWKT('SRID=4674;POINT (-39.023997 -3.394743)'))) / (select extract(epoch from '2026-08-10 16:19:10'::timestamp) - extract(epoch from '2026-08-10 16:19: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'), 48138, 'SRID=4674;POINT (-39.023888 -3.39469)', '2026-08-10 16:19:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023997 -3.394743)'), GeomFromEWKT('SRID=4674;POINT (-39.023888 -3.39469)'))) / (select extract(epoch from '2026-08-10 16:19:17'::timestamp) - extract(epoch from '2026-08-10 16:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023997 -3.394743)'), GeomFromEWKT('SRID=4674;POINT (-39.023888 -3.39469)'))) / (select extract(epoch from '2026-08-10 16:19:17'::timestamp) - extract(epoch from '2026-08-10 16:19: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'), 48138, 'SRID=4674;POINT (-39.023808 -3.394659)', '2026-08-10 16:19:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023888 -3.39469)'), GeomFromEWKT('SRID=4674;POINT (-39.023808 -3.394659)'))) / (select extract(epoch from '2026-08-10 16:19:22'::timestamp) - extract(epoch from '2026-08-10 16:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023888 -3.39469)'), GeomFromEWKT('SRID=4674;POINT (-39.023808 -3.394659)'))) / (select extract(epoch from '2026-08-10 16:19:22'::timestamp) - extract(epoch from '2026-08-10 16:19: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'), 48138, 'SRID=4674;POINT (-39.023714 -3.394619)', '2026-08-10 16:19:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023808 -3.394659)'), GeomFromEWKT('SRID=4674;POINT (-39.023714 -3.394619)'))) / (select extract(epoch from '2026-08-10 16:19:28'::timestamp) - extract(epoch from '2026-08-10 16:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023808 -3.394659)'), GeomFromEWKT('SRID=4674;POINT (-39.023714 -3.394619)'))) / (select extract(epoch from '2026-08-10 16:19:28'::timestamp) - extract(epoch from '2026-08-10 16:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023639 -3.394578)', '2026-08-10 16:19:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023714 -3.394619)'), GeomFromEWKT('SRID=4674;POINT (-39.023639 -3.394578)'))) / (select extract(epoch from '2026-08-10 16:19:33'::timestamp) - extract(epoch from '2026-08-10 16:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023714 -3.394619)'), GeomFromEWKT('SRID=4674;POINT (-39.023639 -3.394578)'))) / (select extract(epoch from '2026-08-10 16:19:33'::timestamp) - extract(epoch from '2026-08-10 16:19: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'), 48138, 'SRID=4674;POINT (-39.023623 -3.394573)', '2026-08-10 16:19:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023639 -3.394578)'), GeomFromEWKT('SRID=4674;POINT (-39.023623 -3.394573)'))) / (select extract(epoch from '2026-08-10 16:19:34'::timestamp) - extract(epoch from '2026-08-10 16:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023639 -3.394578)'), GeomFromEWKT('SRID=4674;POINT (-39.023623 -3.394573)'))) / (select extract(epoch from '2026-08-10 16:19:34'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.023554 -3.394545)', '2026-08-10 16:19:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023623 -3.394573)'), GeomFromEWKT('SRID=4674;POINT (-39.023554 -3.394545)'))) / (select extract(epoch from '2026-08-10 16:19:38'::timestamp) - extract(epoch from '2026-08-10 16:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023623 -3.394573)'), GeomFromEWKT('SRID=4674;POINT (-39.023554 -3.394545)'))) / (select extract(epoch from '2026-08-10 16:19:38'::timestamp) - extract(epoch from '2026-08-10 16:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023456 -3.394503)', '2026-08-10 16:19:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023554 -3.394545)'), GeomFromEWKT('SRID=4674;POINT (-39.023456 -3.394503)'))) / (select extract(epoch from '2026-08-10 16:19:45'::timestamp) - extract(epoch from '2026-08-10 16:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023554 -3.394545)'), GeomFromEWKT('SRID=4674;POINT (-39.023456 -3.394503)'))) / (select extract(epoch from '2026-08-10 16:19:45'::timestamp) - extract(epoch from '2026-08-10 16:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023389 -3.394468)', '2026-08-10 16:19:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023456 -3.394503)'), GeomFromEWKT('SRID=4674;POINT (-39.023389 -3.394468)'))) / (select extract(epoch from '2026-08-10 16:19:50'::timestamp) - extract(epoch from '2026-08-10 16:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023456 -3.394503)'), GeomFromEWKT('SRID=4674;POINT (-39.023389 -3.394468)'))) / (select extract(epoch from '2026-08-10 16:19:50'::timestamp) - extract(epoch from '2026-08-10 16:19: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'), 48138, 'SRID=4674;POINT (-39.023376 -3.394459)', '2026-08-10 16:19:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023389 -3.394468)'), GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.394459)'))) / (select extract(epoch from '2026-08-10 16:19:51'::timestamp) - extract(epoch from '2026-08-10 16:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023389 -3.394468)'), GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.394459)'))) / (select extract(epoch from '2026-08-10 16:19:51'::timestamp) - extract(epoch from '2026-08-10 16:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023324 -3.394425)', '2026-08-10 16:19:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.394459)'), GeomFromEWKT('SRID=4674;POINT (-39.023324 -3.394425)'))) / (select extract(epoch from '2026-08-10 16:19:55'::timestamp) - extract(epoch from '2026-08-10 16:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.394459)'), GeomFromEWKT('SRID=4674;POINT (-39.023324 -3.394425)'))) / (select extract(epoch from '2026-08-10 16:19:55'::timestamp) - extract(epoch from '2026-08-10 16:19:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023255 -3.394382)', '2026-08-10 16:20:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023324 -3.394425)'), GeomFromEWKT('SRID=4674;POINT (-39.023255 -3.394382)'))) / (select extract(epoch from '2026-08-10 16:20:00'::timestamp) - extract(epoch from '2026-08-10 16:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023324 -3.394425)'), GeomFromEWKT('SRID=4674;POINT (-39.023255 -3.394382)'))) / (select extract(epoch from '2026-08-10 16:20:00'::timestamp) - extract(epoch from '2026-08-10 16:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023168 -3.394328)', '2026-08-10 16:20:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023255 -3.394382)'), GeomFromEWKT('SRID=4674;POINT (-39.023168 -3.394328)'))) / (select extract(epoch from '2026-08-10 16:20:06'::timestamp) - extract(epoch from '2026-08-10 16:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023255 -3.394382)'), GeomFromEWKT('SRID=4674;POINT (-39.023168 -3.394328)'))) / (select extract(epoch from '2026-08-10 16:20:06'::timestamp) - extract(epoch from '2026-08-10 16:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023152 -3.39432)', '2026-08-10 16:20:07', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023168 -3.394328)'), GeomFromEWKT('SRID=4674;POINT (-39.023152 -3.39432)'))) / (select extract(epoch from '2026-08-10 16:20:07'::timestamp) - extract(epoch from '2026-08-10 16:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023168 -3.394328)'), GeomFromEWKT('SRID=4674;POINT (-39.023152 -3.39432)'))) / (select extract(epoch from '2026-08-10 16:20:07'::timestamp) - extract(epoch from '2026-08-10 16:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023121 -3.394304)', '2026-08-10 16:20:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023152 -3.39432)'), GeomFromEWKT('SRID=4674;POINT (-39.023121 -3.394304)'))) / (select extract(epoch from '2026-08-10 16:20:09'::timestamp) - extract(epoch from '2026-08-10 16:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023152 -3.39432)'), GeomFromEWKT('SRID=4674;POINT (-39.023121 -3.394304)'))) / (select extract(epoch from '2026-08-10 16:20:09'::timestamp) - extract(epoch from '2026-08-10 16:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02309 -3.394287)', '2026-08-10 16:20:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023121 -3.394304)'), GeomFromEWKT('SRID=4674;POINT (-39.02309 -3.394287)'))) / (select extract(epoch from '2026-08-10 16:20:11'::timestamp) - extract(epoch from '2026-08-10 16:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023121 -3.394304)'), GeomFromEWKT('SRID=4674;POINT (-39.02309 -3.394287)'))) / (select extract(epoch from '2026-08-10 16:20:11'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.022993 -3.394234)', '2026-08-10 16:20:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02309 -3.394287)'), GeomFromEWKT('SRID=4674;POINT (-39.022993 -3.394234)'))) / (select extract(epoch from '2026-08-10 16:20:17'::timestamp) - extract(epoch from '2026-08-10 16:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02309 -3.394287)'), GeomFromEWKT('SRID=4674;POINT (-39.022993 -3.394234)'))) / (select extract(epoch from '2026-08-10 16:20:17'::timestamp) - extract(epoch from '2026-08-10 16:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022903 -3.394186)', '2026-08-10 16:20:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022993 -3.394234)'), GeomFromEWKT('SRID=4674;POINT (-39.022903 -3.394186)'))) / (select extract(epoch from '2026-08-10 16:20:23'::timestamp) - extract(epoch from '2026-08-10 16:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022993 -3.394234)'), GeomFromEWKT('SRID=4674;POINT (-39.022903 -3.394186)'))) / (select extract(epoch from '2026-08-10 16:20:23'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.022797 -3.394134)', '2026-08-10 16:20:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022903 -3.394186)'), GeomFromEWKT('SRID=4674;POINT (-39.022797 -3.394134)'))) / (select extract(epoch from '2026-08-10 16:20:30'::timestamp) - extract(epoch from '2026-08-10 16:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022903 -3.394186)'), GeomFromEWKT('SRID=4674;POINT (-39.022797 -3.394134)'))) / (select extract(epoch from '2026-08-10 16:20:30'::timestamp) - extract(epoch from '2026-08-10 16:20: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'), 48138, 'SRID=4674;POINT (-39.022708 -3.39409)', '2026-08-10 16:20:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022797 -3.394134)'), GeomFromEWKT('SRID=4674;POINT (-39.022708 -3.39409)'))) / (select extract(epoch from '2026-08-10 16:20:36'::timestamp) - extract(epoch from '2026-08-10 16:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022797 -3.394134)'), GeomFromEWKT('SRID=4674;POINT (-39.022708 -3.39409)'))) / (select extract(epoch from '2026-08-10 16:20:36'::timestamp) - extract(epoch from '2026-08-10 16:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022604 -3.394029)', '2026-08-10 16:20:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022708 -3.39409)'), GeomFromEWKT('SRID=4674;POINT (-39.022604 -3.394029)'))) / (select extract(epoch from '2026-08-10 16:20:43'::timestamp) - extract(epoch from '2026-08-10 16:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022708 -3.39409)'), GeomFromEWKT('SRID=4674;POINT (-39.022604 -3.394029)'))) / (select extract(epoch from '2026-08-10 16:20:43'::timestamp) - extract(epoch from '2026-08-10 16:20: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'), 48138, 'SRID=4674;POINT (-39.022515 -3.393974)', '2026-08-10 16:20:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022604 -3.394029)'), GeomFromEWKT('SRID=4674;POINT (-39.022515 -3.393974)'))) / (select extract(epoch from '2026-08-10 16:20:49'::timestamp) - extract(epoch from '2026-08-10 16:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022604 -3.394029)'), GeomFromEWKT('SRID=4674;POINT (-39.022515 -3.393974)'))) / (select extract(epoch from '2026-08-10 16:20:49'::timestamp) - extract(epoch from '2026-08-10 16:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022439 -3.393909)', '2026-08-10 16:20:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022515 -3.393974)'), GeomFromEWKT('SRID=4674;POINT (-39.022439 -3.393909)'))) / (select extract(epoch from '2026-08-10 16:20:55'::timestamp) - extract(epoch from '2026-08-10 16:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022515 -3.393974)'), GeomFromEWKT('SRID=4674;POINT (-39.022439 -3.393909)'))) / (select extract(epoch from '2026-08-10 16:20:55'::timestamp) - extract(epoch from '2026-08-10 16:20: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'), 48138, 'SRID=4674;POINT (-39.022422 -3.393886)', '2026-08-10 16:20:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022439 -3.393909)'), GeomFromEWKT('SRID=4674;POINT (-39.022422 -3.393886)'))) / (select extract(epoch from '2026-08-10 16:20:57'::timestamp) - extract(epoch from '2026-08-10 16:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022439 -3.393909)'), GeomFromEWKT('SRID=4674;POINT (-39.022422 -3.393886)'))) / (select extract(epoch from '2026-08-10 16:20:57'::timestamp) - extract(epoch from '2026-08-10 16:20: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'), 48138, 'SRID=4674;POINT (-39.022384 -3.39385)', '2026-08-10 16:21:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022422 -3.393886)'), GeomFromEWKT('SRID=4674;POINT (-39.022384 -3.39385)'))) / (select extract(epoch from '2026-08-10 16:21:00'::timestamp) - extract(epoch from '2026-08-10 16:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022422 -3.393886)'), GeomFromEWKT('SRID=4674;POINT (-39.022384 -3.39385)'))) / (select extract(epoch from '2026-08-10 16:21:00'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.022295 -3.393769)', '2026-08-10 16:21:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022384 -3.39385)'), GeomFromEWKT('SRID=4674;POINT (-39.022295 -3.393769)'))) / (select extract(epoch from '2026-08-10 16:21:07'::timestamp) - extract(epoch from '2026-08-10 16:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022384 -3.39385)'), GeomFromEWKT('SRID=4674;POINT (-39.022295 -3.393769)'))) / (select extract(epoch from '2026-08-10 16:21:07'::timestamp) - extract(epoch from '2026-08-10 16:21:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022213 -3.393707)', '2026-08-10 16:21:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022295 -3.393769)'), GeomFromEWKT('SRID=4674;POINT (-39.022213 -3.393707)'))) / (select extract(epoch from '2026-08-10 16:21:13'::timestamp) - extract(epoch from '2026-08-10 16:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022295 -3.393769)'), GeomFromEWKT('SRID=4674;POINT (-39.022213 -3.393707)'))) / (select extract(epoch from '2026-08-10 16:21:13'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.022159 -3.393657)', '2026-08-10 16:21:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022213 -3.393707)'), GeomFromEWKT('SRID=4674;POINT (-39.022159 -3.393657)'))) / (select extract(epoch from '2026-08-10 16:21:19'::timestamp) - extract(epoch from '2026-08-10 16:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022213 -3.393707)'), GeomFromEWKT('SRID=4674;POINT (-39.022159 -3.393657)'))) / (select extract(epoch from '2026-08-10 16:21:19'::timestamp) - extract(epoch from '2026-08-10 16:21: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'), 48138, 'SRID=4674;POINT (-39.022061 -3.393587)', '2026-08-10 16:21:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022159 -3.393657)'), GeomFromEWKT('SRID=4674;POINT (-39.022061 -3.393587)'))) / (select extract(epoch from '2026-08-10 16:21:26'::timestamp) - extract(epoch from '2026-08-10 16:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022159 -3.393657)'), GeomFromEWKT('SRID=4674;POINT (-39.022061 -3.393587)'))) / (select extract(epoch from '2026-08-10 16:21:26'::timestamp) - extract(epoch from '2026-08-10 16:21:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022002 -3.393537)', '2026-08-10 16:21:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022061 -3.393587)'), GeomFromEWKT('SRID=4674;POINT (-39.022002 -3.393537)'))) / (select extract(epoch from '2026-08-10 16:21:32'::timestamp) - extract(epoch from '2026-08-10 16:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022061 -3.393587)'), GeomFromEWKT('SRID=4674;POINT (-39.022002 -3.393537)'))) / (select extract(epoch from '2026-08-10 16:21:32'::timestamp) - extract(epoch from '2026-08-10 16:21: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'), 48138, 'SRID=4674;POINT (-39.021953 -3.39349)', '2026-08-10 16:21:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022002 -3.393537)'), GeomFromEWKT('SRID=4674;POINT (-39.021953 -3.39349)'))) / (select extract(epoch from '2026-08-10 16:21:38'::timestamp) - extract(epoch from '2026-08-10 16:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022002 -3.393537)'), GeomFromEWKT('SRID=4674;POINT (-39.021953 -3.39349)'))) / (select extract(epoch from '2026-08-10 16:21:38'::timestamp) - extract(epoch from '2026-08-10 16:21:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021866 -3.393429)', '2026-08-10 16:21:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021953 -3.39349)'), GeomFromEWKT('SRID=4674;POINT (-39.021866 -3.393429)'))) / (select extract(epoch from '2026-08-10 16:21:45'::timestamp) - extract(epoch from '2026-08-10 16:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021953 -3.39349)'), GeomFromEWKT('SRID=4674;POINT (-39.021866 -3.393429)'))) / (select extract(epoch from '2026-08-10 16:21:45'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.021804 -3.393385)', '2026-08-10 16:21:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021866 -3.393429)'), GeomFromEWKT('SRID=4674;POINT (-39.021804 -3.393385)'))) / (select extract(epoch from '2026-08-10 16:21:50'::timestamp) - extract(epoch from '2026-08-10 16:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021866 -3.393429)'), GeomFromEWKT('SRID=4674;POINT (-39.021804 -3.393385)'))) / (select extract(epoch from '2026-08-10 16:21:50'::timestamp) - extract(epoch from '2026-08-10 16:21:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02174 -3.393338)', '2026-08-10 16:21:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021804 -3.393385)'), GeomFromEWKT('SRID=4674;POINT (-39.02174 -3.393338)'))) / (select extract(epoch from '2026-08-10 16:21:55'::timestamp) - extract(epoch from '2026-08-10 16:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021804 -3.393385)'), GeomFromEWKT('SRID=4674;POINT (-39.02174 -3.393338)'))) / (select extract(epoch from '2026-08-10 16:21:55'::timestamp) - extract(epoch from '2026-08-10 16:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021671 -3.393284)', '2026-08-10 16:22:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02174 -3.393338)'), GeomFromEWKT('SRID=4674;POINT (-39.021671 -3.393284)'))) / (select extract(epoch from '2026-08-10 16:22:01'::timestamp) - extract(epoch from '2026-08-10 16:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02174 -3.393338)'), GeomFromEWKT('SRID=4674;POINT (-39.021671 -3.393284)'))) / (select extract(epoch from '2026-08-10 16:22:01'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.021586 -3.39321)', '2026-08-10 16:22:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021671 -3.393284)'), GeomFromEWKT('SRID=4674;POINT (-39.021586 -3.39321)'))) / (select extract(epoch from '2026-08-10 16:22:08'::timestamp) - extract(epoch from '2026-08-10 16:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021671 -3.393284)'), GeomFromEWKT('SRID=4674;POINT (-39.021586 -3.39321)'))) / (select extract(epoch from '2026-08-10 16:22:08'::timestamp) - extract(epoch from '2026-08-10 16:22: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'), 48138, 'SRID=4674;POINT (-39.021515 -3.393143)', '2026-08-10 16:22:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021586 -3.39321)'), GeomFromEWKT('SRID=4674;POINT (-39.021515 -3.393143)'))) / (select extract(epoch from '2026-08-10 16:22:14'::timestamp) - extract(epoch from '2026-08-10 16:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021586 -3.39321)'), GeomFromEWKT('SRID=4674;POINT (-39.021515 -3.393143)'))) / (select extract(epoch from '2026-08-10 16:22:14'::timestamp) - extract(epoch from '2026-08-10 16:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021461 -3.393095)', '2026-08-10 16:22:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021515 -3.393143)'), GeomFromEWKT('SRID=4674;POINT (-39.021461 -3.393095)'))) / (select extract(epoch from '2026-08-10 16:22:19'::timestamp) - extract(epoch from '2026-08-10 16:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021515 -3.393143)'), GeomFromEWKT('SRID=4674;POINT (-39.021461 -3.393095)'))) / (select extract(epoch from '2026-08-10 16:22:19'::timestamp) - extract(epoch from '2026-08-10 16:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02139 -3.393027)', '2026-08-10 16:22:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021461 -3.393095)'), GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.393027)'))) / (select extract(epoch from '2026-08-10 16:22:25'::timestamp) - extract(epoch from '2026-08-10 16:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021461 -3.393095)'), GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.393027)'))) / (select extract(epoch from '2026-08-10 16:22:25'::timestamp) - extract(epoch from '2026-08-10 16:22: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'), 48138, 'SRID=4674;POINT (-39.021323 -3.392958)', '2026-08-10 16:22:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.393027)'), GeomFromEWKT('SRID=4674;POINT (-39.021323 -3.392958)'))) / (select extract(epoch from '2026-08-10 16:22:31'::timestamp) - extract(epoch from '2026-08-10 16:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.393027)'), GeomFromEWKT('SRID=4674;POINT (-39.021323 -3.392958)'))) / (select extract(epoch from '2026-08-10 16:22:31'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.021209 -3.392848)', '2026-08-10 16:22:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021323 -3.392958)'), GeomFromEWKT('SRID=4674;POINT (-39.021209 -3.392848)'))) / (select extract(epoch from '2026-08-10 16:22:40'::timestamp) - extract(epoch from '2026-08-10 16:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021323 -3.392958)'), GeomFromEWKT('SRID=4674;POINT (-39.021209 -3.392848)'))) / (select extract(epoch from '2026-08-10 16:22:40'::timestamp) - extract(epoch from '2026-08-10 16:22: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'), 48138, 'SRID=4674;POINT (-39.02113 -3.392784)', '2026-08-10 16:22:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021209 -3.392848)'), GeomFromEWKT('SRID=4674;POINT (-39.02113 -3.392784)'))) / (select extract(epoch from '2026-08-10 16:22:46'::timestamp) - extract(epoch from '2026-08-10 16:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021209 -3.392848)'), GeomFromEWKT('SRID=4674;POINT (-39.02113 -3.392784)'))) / (select extract(epoch from '2026-08-10 16:22:46'::timestamp) - extract(epoch from '2026-08-10 16:22: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'), 48138, 'SRID=4674;POINT (-39.02106 -3.392736)', '2026-08-10 16:22:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02113 -3.392784)'), GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.392736)'))) / (select extract(epoch from '2026-08-10 16:22:51'::timestamp) - extract(epoch from '2026-08-10 16:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02113 -3.392784)'), GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.392736)'))) / (select extract(epoch from '2026-08-10 16:22:51'::timestamp) - extract(epoch from '2026-08-10 16:22: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'), 48138, 'SRID=4674;POINT (-39.020977 -3.392673)', '2026-08-10 16:22:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.392736)'), GeomFromEWKT('SRID=4674;POINT (-39.020977 -3.392673)'))) / (select extract(epoch from '2026-08-10 16:22:57'::timestamp) - extract(epoch from '2026-08-10 16:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.392736)'), GeomFromEWKT('SRID=4674;POINT (-39.020977 -3.392673)'))) / (select extract(epoch from '2026-08-10 16:22:57'::timestamp) - extract(epoch from '2026-08-10 16:22:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02092 -3.392639)', '2026-08-10 16:23:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020977 -3.392673)'), GeomFromEWKT('SRID=4674;POINT (-39.02092 -3.392639)'))) / (select extract(epoch from '2026-08-10 16:23:01'::timestamp) - extract(epoch from '2026-08-10 16:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020977 -3.392673)'), GeomFromEWKT('SRID=4674;POINT (-39.02092 -3.392639)'))) / (select extract(epoch from '2026-08-10 16:23:01'::timestamp) - extract(epoch from '2026-08-10 16:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020893 -3.39262)', '2026-08-10 16:23:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02092 -3.392639)'), GeomFromEWKT('SRID=4674;POINT (-39.020893 -3.39262)'))) / (select extract(epoch from '2026-08-10 16:23:03'::timestamp) - extract(epoch from '2026-08-10 16:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02092 -3.392639)'), GeomFromEWKT('SRID=4674;POINT (-39.020893 -3.39262)'))) / (select extract(epoch from '2026-08-10 16:23:03'::timestamp) - extract(epoch from '2026-08-10 16:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020842 -3.392581)', '2026-08-10 16:23:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020893 -3.39262)'), GeomFromEWKT('SRID=4674;POINT (-39.020842 -3.392581)'))) / (select extract(epoch from '2026-08-10 16:23:08'::timestamp) - extract(epoch from '2026-08-10 16:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020893 -3.39262)'), GeomFromEWKT('SRID=4674;POINT (-39.020842 -3.392581)'))) / (select extract(epoch from '2026-08-10 16:23:08'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.020751 -3.392509)', '2026-08-10 16:23:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020842 -3.392581)'), GeomFromEWKT('SRID=4674;POINT (-39.020751 -3.392509)'))) / (select extract(epoch from '2026-08-10 16:23:15'::timestamp) - extract(epoch from '2026-08-10 16:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020842 -3.392581)'), GeomFromEWKT('SRID=4674;POINT (-39.020751 -3.392509)'))) / (select extract(epoch from '2026-08-10 16:23:15'::timestamp) - extract(epoch from '2026-08-10 16:23:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020628 -3.392448)', '2026-08-10 16:23:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020751 -3.392509)'), GeomFromEWKT('SRID=4674;POINT (-39.020628 -3.392448)'))) / (select extract(epoch from '2026-08-10 16:23:23'::timestamp) - extract(epoch from '2026-08-10 16:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020751 -3.392509)'), GeomFromEWKT('SRID=4674;POINT (-39.020628 -3.392448)'))) / (select extract(epoch from '2026-08-10 16:23:23'::timestamp) - extract(epoch from '2026-08-10 16:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020536 -3.392396)', '2026-08-10 16:23:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020628 -3.392448)'), GeomFromEWKT('SRID=4674;POINT (-39.020536 -3.392396)'))) / (select extract(epoch from '2026-08-10 16:23:29'::timestamp) - extract(epoch from '2026-08-10 16:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020628 -3.392448)'), GeomFromEWKT('SRID=4674;POINT (-39.020536 -3.392396)'))) / (select extract(epoch from '2026-08-10 16:23:29'::timestamp) - extract(epoch from '2026-08-10 16:23: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'), 48138, 'SRID=4674;POINT (-39.020454 -3.392353)', '2026-08-10 16:23:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020536 -3.392396)'), GeomFromEWKT('SRID=4674;POINT (-39.020454 -3.392353)'))) / (select extract(epoch from '2026-08-10 16:23:34'::timestamp) - extract(epoch from '2026-08-10 16:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020536 -3.392396)'), GeomFromEWKT('SRID=4674;POINT (-39.020454 -3.392353)'))) / (select extract(epoch from '2026-08-10 16:23:34'::timestamp) - extract(epoch from '2026-08-10 16:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020362 -3.392309)', '2026-08-10 16:23:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020454 -3.392353)'), GeomFromEWKT('SRID=4674;POINT (-39.020362 -3.392309)'))) / (select extract(epoch from '2026-08-10 16:23:40'::timestamp) - extract(epoch from '2026-08-10 16:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020454 -3.392353)'), GeomFromEWKT('SRID=4674;POINT (-39.020362 -3.392309)'))) / (select extract(epoch from '2026-08-10 16:23:40'::timestamp) - extract(epoch from '2026-08-10 16:23: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'), 48138, 'SRID=4674;POINT (-39.020283 -3.392266)', '2026-08-10 16:23:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020362 -3.392309)'), GeomFromEWKT('SRID=4674;POINT (-39.020283 -3.392266)'))) / (select extract(epoch from '2026-08-10 16:23:45'::timestamp) - extract(epoch from '2026-08-10 16:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020362 -3.392309)'), GeomFromEWKT('SRID=4674;POINT (-39.020283 -3.392266)'))) / (select extract(epoch from '2026-08-10 16:23:45'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.020221 -3.392218)', '2026-08-10 16:23:50', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020283 -3.392266)'), GeomFromEWKT('SRID=4674;POINT (-39.020221 -3.392218)'))) / (select extract(epoch from '2026-08-10 16:23:50'::timestamp) - extract(epoch from '2026-08-10 16:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020283 -3.392266)'), GeomFromEWKT('SRID=4674;POINT (-39.020221 -3.392218)'))) / (select extract(epoch from '2026-08-10 16:23:50'::timestamp) - extract(epoch from '2026-08-10 16:23: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'), 48138, 'SRID=4674;POINT (-39.020186 -3.392189)', '2026-08-10 16:23:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020221 -3.392218)'), GeomFromEWKT('SRID=4674;POINT (-39.020186 -3.392189)'))) / (select extract(epoch from '2026-08-10 16:23:53'::timestamp) - extract(epoch from '2026-08-10 16:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020221 -3.392218)'), GeomFromEWKT('SRID=4674;POINT (-39.020186 -3.392189)'))) / (select extract(epoch from '2026-08-10 16:23:53'::timestamp) - extract(epoch from '2026-08-10 16:23: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'), 48138, 'SRID=4674;POINT (-39.020154 -3.392169)', '2026-08-10 16:23:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020186 -3.392189)'), GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.392169)'))) / (select extract(epoch from '2026-08-10 16:23:56'::timestamp) - extract(epoch from '2026-08-10 16:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020186 -3.392189)'), GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.392169)'))) / (select extract(epoch from '2026-08-10 16:23:56'::timestamp) - extract(epoch from '2026-08-10 16:23: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'), 48138, 'SRID=4674;POINT (-39.020082 -3.392134)', '2026-08-10 16:24:01', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.392169)'), GeomFromEWKT('SRID=4674;POINT (-39.020082 -3.392134)'))) / (select extract(epoch from '2026-08-10 16:24:01'::timestamp) - extract(epoch from '2026-08-10 16:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.392169)'), GeomFromEWKT('SRID=4674;POINT (-39.020082 -3.392134)'))) / (select extract(epoch from '2026-08-10 16:24:01'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.020052 -3.392118)', '2026-08-10 16:24:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020082 -3.392134)'), GeomFromEWKT('SRID=4674;POINT (-39.020052 -3.392118)'))) / (select extract(epoch from '2026-08-10 16:24:03'::timestamp) - extract(epoch from '2026-08-10 16:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020082 -3.392134)'), GeomFromEWKT('SRID=4674;POINT (-39.020052 -3.392118)'))) / (select extract(epoch from '2026-08-10 16:24:03'::timestamp) - extract(epoch from '2026-08-10 16:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019998 -3.392099)', '2026-08-10 16:24:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020052 -3.392118)'), GeomFromEWKT('SRID=4674;POINT (-39.019998 -3.392099)'))) / (select extract(epoch from '2026-08-10 16:24:06'::timestamp) - extract(epoch from '2026-08-10 16:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020052 -3.392118)'), GeomFromEWKT('SRID=4674;POINT (-39.019998 -3.392099)'))) / (select extract(epoch from '2026-08-10 16:24:06'::timestamp) - extract(epoch from '2026-08-10 16:24:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019937 -3.392077)', '2026-08-10 16:24:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019998 -3.392099)'), GeomFromEWKT('SRID=4674;POINT (-39.019937 -3.392077)'))) / (select extract(epoch from '2026-08-10 16:24:10'::timestamp) - extract(epoch from '2026-08-10 16:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019998 -3.392099)'), GeomFromEWKT('SRID=4674;POINT (-39.019937 -3.392077)'))) / (select extract(epoch from '2026-08-10 16:24:10'::timestamp) - extract(epoch from '2026-08-10 16:24: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'), 48138, 'SRID=4674;POINT (-39.019906 -3.39207)', '2026-08-10 16:24:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019937 -3.392077)'), GeomFromEWKT('SRID=4674;POINT (-39.019906 -3.39207)'))) / (select extract(epoch from '2026-08-10 16:24:12'::timestamp) - extract(epoch from '2026-08-10 16:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019937 -3.392077)'), GeomFromEWKT('SRID=4674;POINT (-39.019906 -3.39207)'))) / (select extract(epoch from '2026-08-10 16:24:12'::timestamp) - extract(epoch from '2026-08-10 16:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019828 -3.392046)', '2026-08-10 16:24:17', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019906 -3.39207)'), GeomFromEWKT('SRID=4674;POINT (-39.019828 -3.392046)'))) / (select extract(epoch from '2026-08-10 16:24:17'::timestamp) - extract(epoch from '2026-08-10 16:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019906 -3.39207)'), GeomFromEWKT('SRID=4674;POINT (-39.019828 -3.392046)'))) / (select extract(epoch from '2026-08-10 16:24:17'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.019756 -3.392018)', '2026-08-10 16:24:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019828 -3.392046)'), GeomFromEWKT('SRID=4674;POINT (-39.019756 -3.392018)'))) / (select extract(epoch from '2026-08-10 16:24:22'::timestamp) - extract(epoch from '2026-08-10 16:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019828 -3.392046)'), GeomFromEWKT('SRID=4674;POINT (-39.019756 -3.392018)'))) / (select extract(epoch from '2026-08-10 16:24:22'::timestamp) - extract(epoch from '2026-08-10 16:24: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'), 48138, 'SRID=4674;POINT (-39.019665 -3.391985)', '2026-08-10 16:24:28', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019756 -3.392018)'), GeomFromEWKT('SRID=4674;POINT (-39.019665 -3.391985)'))) / (select extract(epoch from '2026-08-10 16:24:28'::timestamp) - extract(epoch from '2026-08-10 16:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019756 -3.392018)'), GeomFromEWKT('SRID=4674;POINT (-39.019665 -3.391985)'))) / (select extract(epoch from '2026-08-10 16:24:28'::timestamp) - extract(epoch from '2026-08-10 16:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01956 -3.39195)', '2026-08-10 16:24:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019665 -3.391985)'), GeomFromEWKT('SRID=4674;POINT (-39.01956 -3.39195)'))) / (select extract(epoch from '2026-08-10 16:24:35'::timestamp) - extract(epoch from '2026-08-10 16:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019665 -3.391985)'), GeomFromEWKT('SRID=4674;POINT (-39.01956 -3.39195)'))) / (select extract(epoch from '2026-08-10 16:24:35'::timestamp) - extract(epoch from '2026-08-10 16:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019474 -3.391907)', '2026-08-10 16:24:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01956 -3.39195)'), GeomFromEWKT('SRID=4674;POINT (-39.019474 -3.391907)'))) / (select extract(epoch from '2026-08-10 16:24:41'::timestamp) - extract(epoch from '2026-08-10 16:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01956 -3.39195)'), GeomFromEWKT('SRID=4674;POINT (-39.019474 -3.391907)'))) / (select extract(epoch from '2026-08-10 16:24:41'::timestamp) - extract(epoch from '2026-08-10 16:24: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'), 48138, 'SRID=4674;POINT (-39.019402 -3.391879)', '2026-08-10 16:24:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019474 -3.391907)'), GeomFromEWKT('SRID=4674;POINT (-39.019402 -3.391879)'))) / (select extract(epoch from '2026-08-10 16:24:46'::timestamp) - extract(epoch from '2026-08-10 16:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019474 -3.391907)'), GeomFromEWKT('SRID=4674;POINT (-39.019402 -3.391879)'))) / (select extract(epoch from '2026-08-10 16:24:46'::timestamp) - extract(epoch from '2026-08-10 16:24: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'), 48138, 'SRID=4674;POINT (-39.019389 -3.391872)', '2026-08-10 16:24:47', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019402 -3.391879)'), GeomFromEWKT('SRID=4674;POINT (-39.019389 -3.391872)'))) / (select extract(epoch from '2026-08-10 16:24:47'::timestamp) - extract(epoch from '2026-08-10 16:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019402 -3.391879)'), GeomFromEWKT('SRID=4674;POINT (-39.019389 -3.391872)'))) / (select extract(epoch from '2026-08-10 16:24:47'::timestamp) - extract(epoch from '2026-08-10 16:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019341 -3.391848)', '2026-08-10 16:24:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019389 -3.391872)'), GeomFromEWKT('SRID=4674;POINT (-39.019341 -3.391848)'))) / (select extract(epoch from '2026-08-10 16:24:50'::timestamp) - extract(epoch from '2026-08-10 16:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019389 -3.391872)'), GeomFromEWKT('SRID=4674;POINT (-39.019341 -3.391848)'))) / (select extract(epoch from '2026-08-10 16:24:50'::timestamp) - extract(epoch from '2026-08-10 16:24: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'), 48138, 'SRID=4674;POINT (-39.019258 -3.391806)', '2026-08-10 16:24:56', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019341 -3.391848)'), GeomFromEWKT('SRID=4674;POINT (-39.019258 -3.391806)'))) / (select extract(epoch from '2026-08-10 16:24:56'::timestamp) - extract(epoch from '2026-08-10 16:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019341 -3.391848)'), GeomFromEWKT('SRID=4674;POINT (-39.019258 -3.391806)'))) / (select extract(epoch from '2026-08-10 16:24:56'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.019163 -3.391759)', '2026-08-10 16:25:02', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019258 -3.391806)'), GeomFromEWKT('SRID=4674;POINT (-39.019163 -3.391759)'))) / (select extract(epoch from '2026-08-10 16:25:02'::timestamp) - extract(epoch from '2026-08-10 16:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019258 -3.391806)'), GeomFromEWKT('SRID=4674;POINT (-39.019163 -3.391759)'))) / (select extract(epoch from '2026-08-10 16:25:02'::timestamp) - extract(epoch from '2026-08-10 16:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019092 -3.391717)', '2026-08-10 16:25:07', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019163 -3.391759)'), GeomFromEWKT('SRID=4674;POINT (-39.019092 -3.391717)'))) / (select extract(epoch from '2026-08-10 16:25:07'::timestamp) - extract(epoch from '2026-08-10 16:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019163 -3.391759)'), GeomFromEWKT('SRID=4674;POINT (-39.019092 -3.391717)'))) / (select extract(epoch from '2026-08-10 16:25:07'::timestamp) - extract(epoch from '2026-08-10 16:25:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019026 -3.391676)', '2026-08-10 16:25:12', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019092 -3.391717)'), GeomFromEWKT('SRID=4674;POINT (-39.019026 -3.391676)'))) / (select extract(epoch from '2026-08-10 16:25:12'::timestamp) - extract(epoch from '2026-08-10 16:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019092 -3.391717)'), GeomFromEWKT('SRID=4674;POINT (-39.019026 -3.391676)'))) / (select extract(epoch from '2026-08-10 16:25:12'::timestamp) - extract(epoch from '2026-08-10 16:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01893 -3.391619)', '2026-08-10 16:25:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019026 -3.391676)'), GeomFromEWKT('SRID=4674;POINT (-39.01893 -3.391619)'))) / (select extract(epoch from '2026-08-10 16:25:19'::timestamp) - extract(epoch from '2026-08-10 16:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019026 -3.391676)'), GeomFromEWKT('SRID=4674;POINT (-39.01893 -3.391619)'))) / (select extract(epoch from '2026-08-10 16:25:19'::timestamp) - extract(epoch from '2026-08-10 16:25: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'), 48138, 'SRID=4674;POINT (-39.018823 -3.391561)', '2026-08-10 16:25:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01893 -3.391619)'), GeomFromEWKT('SRID=4674;POINT (-39.018823 -3.391561)'))) / (select extract(epoch from '2026-08-10 16:25:26'::timestamp) - extract(epoch from '2026-08-10 16:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01893 -3.391619)'), GeomFromEWKT('SRID=4674;POINT (-39.018823 -3.391561)'))) / (select extract(epoch from '2026-08-10 16:25:26'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.018718 -3.391492)', '2026-08-10 16:25:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018823 -3.391561)'), GeomFromEWKT('SRID=4674;POINT (-39.018718 -3.391492)'))) / (select extract(epoch from '2026-08-10 16:25:33'::timestamp) - extract(epoch from '2026-08-10 16:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018823 -3.391561)'), GeomFromEWKT('SRID=4674;POINT (-39.018718 -3.391492)'))) / (select extract(epoch from '2026-08-10 16:25:33'::timestamp) - extract(epoch from '2026-08-10 16:25: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'), 48138, 'SRID=4674;POINT (-39.018653 -3.391456)', '2026-08-10 16:25:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018718 -3.391492)'), GeomFromEWKT('SRID=4674;POINT (-39.018653 -3.391456)'))) / (select extract(epoch from '2026-08-10 16:25:38'::timestamp) - extract(epoch from '2026-08-10 16:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018718 -3.391492)'), GeomFromEWKT('SRID=4674;POINT (-39.018653 -3.391456)'))) / (select extract(epoch from '2026-08-10 16:25:38'::timestamp) - extract(epoch from '2026-08-10 16:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01863 -3.391444)', '2026-08-10 16:25:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018653 -3.391456)'), GeomFromEWKT('SRID=4674;POINT (-39.01863 -3.391444)'))) / (select extract(epoch from '2026-08-10 16:25:40'::timestamp) - extract(epoch from '2026-08-10 16:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018653 -3.391456)'), GeomFromEWKT('SRID=4674;POINT (-39.01863 -3.391444)'))) / (select extract(epoch from '2026-08-10 16:25:40'::timestamp) - extract(epoch from '2026-08-10 16:25: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'), 48138, 'SRID=4674;POINT (-39.018594 -3.391426)', '2026-08-10 16:25:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01863 -3.391444)'), GeomFromEWKT('SRID=4674;POINT (-39.018594 -3.391426)'))) / (select extract(epoch from '2026-08-10 16:25:43'::timestamp) - extract(epoch from '2026-08-10 16:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01863 -3.391444)'), GeomFromEWKT('SRID=4674;POINT (-39.018594 -3.391426)'))) / (select extract(epoch from '2026-08-10 16:25:43'::timestamp) - extract(epoch from '2026-08-10 16:25: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'), 48138, 'SRID=4674;POINT (-39.018515 -3.391378)', '2026-08-10 16:25:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018594 -3.391426)'), GeomFromEWKT('SRID=4674;POINT (-39.018515 -3.391378)'))) / (select extract(epoch from '2026-08-10 16:25:50'::timestamp) - extract(epoch from '2026-08-10 16:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018594 -3.391426)'), GeomFromEWKT('SRID=4674;POINT (-39.018515 -3.391378)'))) / (select extract(epoch from '2026-08-10 16:25:50'::timestamp) - extract(epoch from '2026-08-10 16:25: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'), 48138, 'SRID=4674;POINT (-39.018492 -3.391365)', '2026-08-10 16:25:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018515 -3.391378)'), GeomFromEWKT('SRID=4674;POINT (-39.018492 -3.391365)'))) / (select extract(epoch from '2026-08-10 16:25:52'::timestamp) - extract(epoch from '2026-08-10 16:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018515 -3.391378)'), GeomFromEWKT('SRID=4674;POINT (-39.018492 -3.391365)'))) / (select extract(epoch from '2026-08-10 16:25:52'::timestamp) - extract(epoch from '2026-08-10 16:25: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'), 48138, 'SRID=4674;POINT (-39.018468 -3.391344)', '2026-08-10 16:25:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018492 -3.391365)'), GeomFromEWKT('SRID=4674;POINT (-39.018468 -3.391344)'))) / (select extract(epoch from '2026-08-10 16:25:54'::timestamp) - extract(epoch from '2026-08-10 16:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018492 -3.391365)'), GeomFromEWKT('SRID=4674;POINT (-39.018468 -3.391344)'))) / (select extract(epoch from '2026-08-10 16:25:54'::timestamp) - extract(epoch from '2026-08-10 16:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018456 -3.391338)', '2026-08-10 16:25:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018468 -3.391344)'), GeomFromEWKT('SRID=4674;POINT (-39.018456 -3.391338)'))) / (select extract(epoch from '2026-08-10 16:25:55'::timestamp) - extract(epoch from '2026-08-10 16:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018468 -3.391344)'), GeomFromEWKT('SRID=4674;POINT (-39.018456 -3.391338)'))) / (select extract(epoch from '2026-08-10 16:25:55'::timestamp) - extract(epoch from '2026-08-10 16:25: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'), 48138, 'SRID=4674;POINT (-39.018393 -3.391302)', '2026-08-10 16:26:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018456 -3.391338)'), GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.391302)'))) / (select extract(epoch from '2026-08-10 16:26:00'::timestamp) - extract(epoch from '2026-08-10 16:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018456 -3.391338)'), GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.391302)'))) / (select extract(epoch from '2026-08-10 16:26:00'::timestamp) - extract(epoch from '2026-08-10 16:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018379 -3.391294)', '2026-08-10 16:26:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.391302)'), GeomFromEWKT('SRID=4674;POINT (-39.018379 -3.391294)'))) / (select extract(epoch from '2026-08-10 16:26:01'::timestamp) - extract(epoch from '2026-08-10 16:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.391302)'), GeomFromEWKT('SRID=4674;POINT (-39.018379 -3.391294)'))) / (select extract(epoch from '2026-08-10 16:26:01'::timestamp) - extract(epoch from '2026-08-10 16:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018342 -3.391268)', '2026-08-10 16:26:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018379 -3.391294)'), GeomFromEWKT('SRID=4674;POINT (-39.018342 -3.391268)'))) / (select extract(epoch from '2026-08-10 16:26:04'::timestamp) - extract(epoch from '2026-08-10 16:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018379 -3.391294)'), GeomFromEWKT('SRID=4674;POINT (-39.018342 -3.391268)'))) / (select extract(epoch from '2026-08-10 16:26:04'::timestamp) - extract(epoch from '2026-08-10 16:26: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'), 48138, 'SRID=4674;POINT (-39.018279 -3.391229)', '2026-08-10 16:26:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018342 -3.391268)'), GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.391229)'))) / (select extract(epoch from '2026-08-10 16:26:10'::timestamp) - extract(epoch from '2026-08-10 16:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018342 -3.391268)'), GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.391229)'))) / (select extract(epoch from '2026-08-10 16:26:10'::timestamp) - extract(epoch from '2026-08-10 16:26: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'), 48138, 'SRID=4674;POINT (-39.01819 -3.39116)', '2026-08-10 16:26:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.391229)'), GeomFromEWKT('SRID=4674;POINT (-39.01819 -3.39116)'))) / (select extract(epoch from '2026-08-10 16:26:17'::timestamp) - extract(epoch from '2026-08-10 16:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.391229)'), GeomFromEWKT('SRID=4674;POINT (-39.01819 -3.39116)'))) / (select extract(epoch from '2026-08-10 16:26:17'::timestamp) - extract(epoch from '2026-08-10 16:26: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'), 48138, 'SRID=4674;POINT (-39.018123 -3.39109)', '2026-08-10 16:26:23', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01819 -3.39116)'), GeomFromEWKT('SRID=4674;POINT (-39.018123 -3.39109)'))) / (select extract(epoch from '2026-08-10 16:26:23'::timestamp) - extract(epoch from '2026-08-10 16:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01819 -3.39116)'), GeomFromEWKT('SRID=4674;POINT (-39.018123 -3.39109)'))) / (select extract(epoch from '2026-08-10 16:26:23'::timestamp) - extract(epoch from '2026-08-10 16:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018095 -3.391072)', '2026-08-10 16:26:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018123 -3.39109)'), GeomFromEWKT('SRID=4674;POINT (-39.018095 -3.391072)'))) / (select extract(epoch from '2026-08-10 16:26:27'::timestamp) - extract(epoch from '2026-08-10 16:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018123 -3.39109)'), GeomFromEWKT('SRID=4674;POINT (-39.018095 -3.391072)'))) / (select extract(epoch from '2026-08-10 16:26:27'::timestamp) - extract(epoch from '2026-08-10 16:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018039 -3.391035)', '2026-08-10 16:26:32', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018095 -3.391072)'), GeomFromEWKT('SRID=4674;POINT (-39.018039 -3.391035)'))) / (select extract(epoch from '2026-08-10 16:26:32'::timestamp) - extract(epoch from '2026-08-10 16:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018095 -3.391072)'), GeomFromEWKT('SRID=4674;POINT (-39.018039 -3.391035)'))) / (select extract(epoch from '2026-08-10 16:26:32'::timestamp) - extract(epoch from '2026-08-10 16:26: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'), 48138, 'SRID=4674;POINT (-39.01796 -3.390983)', '2026-08-10 16:26:38', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018039 -3.391035)'), GeomFromEWKT('SRID=4674;POINT (-39.01796 -3.390983)'))) / (select extract(epoch from '2026-08-10 16:26:38'::timestamp) - extract(epoch from '2026-08-10 16:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018039 -3.391035)'), GeomFromEWKT('SRID=4674;POINT (-39.01796 -3.390983)'))) / (select extract(epoch from '2026-08-10 16:26:38'::timestamp) - extract(epoch from '2026-08-10 16:26: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'), 48138, 'SRID=4674;POINT (-39.017881 -3.390926)', '2026-08-10 16:26:44', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01796 -3.390983)'), GeomFromEWKT('SRID=4674;POINT (-39.017881 -3.390926)'))) / (select extract(epoch from '2026-08-10 16:26:44'::timestamp) - extract(epoch from '2026-08-10 16:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01796 -3.390983)'), GeomFromEWKT('SRID=4674;POINT (-39.017881 -3.390926)'))) / (select extract(epoch from '2026-08-10 16:26:44'::timestamp) - extract(epoch from '2026-08-10 16:26:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017845 -3.390893)', '2026-08-10 16:26:47', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017881 -3.390926)'), GeomFromEWKT('SRID=4674;POINT (-39.017845 -3.390893)'))) / (select extract(epoch from '2026-08-10 16:26:47'::timestamp) - extract(epoch from '2026-08-10 16:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017881 -3.390926)'), GeomFromEWKT('SRID=4674;POINT (-39.017845 -3.390893)'))) / (select extract(epoch from '2026-08-10 16:26:47'::timestamp) - extract(epoch from '2026-08-10 16:26:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017825 -3.390874)', '2026-08-10 16:26:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017845 -3.390893)'), GeomFromEWKT('SRID=4674;POINT (-39.017825 -3.390874)'))) / (select extract(epoch from '2026-08-10 16:26:49'::timestamp) - extract(epoch from '2026-08-10 16:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017845 -3.390893)'), GeomFromEWKT('SRID=4674;POINT (-39.017825 -3.390874)'))) / (select extract(epoch from '2026-08-10 16:26:49'::timestamp) - extract(epoch from '2026-08-10 16:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01776 -3.390828)', '2026-08-10 16:26:54', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017825 -3.390874)'), GeomFromEWKT('SRID=4674;POINT (-39.01776 -3.390828)'))) / (select extract(epoch from '2026-08-10 16:26:54'::timestamp) - extract(epoch from '2026-08-10 16:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017825 -3.390874)'), GeomFromEWKT('SRID=4674;POINT (-39.01776 -3.390828)'))) / (select extract(epoch from '2026-08-10 16:26:54'::timestamp) - extract(epoch from '2026-08-10 16:26: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'), 48138, 'SRID=4674;POINT (-39.017687 -3.390753)', '2026-08-10 16:27:01', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01776 -3.390828)'), GeomFromEWKT('SRID=4674;POINT (-39.017687 -3.390753)'))) / (select extract(epoch from '2026-08-10 16:27:01'::timestamp) - extract(epoch from '2026-08-10 16:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01776 -3.390828)'), GeomFromEWKT('SRID=4674;POINT (-39.017687 -3.390753)'))) / (select extract(epoch from '2026-08-10 16:27:01'::timestamp) - extract(epoch from '2026-08-10 16:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017625 -3.390682)', '2026-08-10 16:27:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017687 -3.390753)'), GeomFromEWKT('SRID=4674;POINT (-39.017625 -3.390682)'))) / (select extract(epoch from '2026-08-10 16:27:07'::timestamp) - extract(epoch from '2026-08-10 16:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017687 -3.390753)'), GeomFromEWKT('SRID=4674;POINT (-39.017625 -3.390682)'))) / (select extract(epoch from '2026-08-10 16:27:07'::timestamp) - extract(epoch from '2026-08-10 16:27: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'), 48138, 'SRID=4674;POINT (-39.017618 -3.390671)', '2026-08-10 16:27:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017625 -3.390682)'), GeomFromEWKT('SRID=4674;POINT (-39.017618 -3.390671)'))) / (select extract(epoch from '2026-08-10 16:27:08'::timestamp) - extract(epoch from '2026-08-10 16:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017625 -3.390682)'), GeomFromEWKT('SRID=4674;POINT (-39.017618 -3.390671)'))) / (select extract(epoch from '2026-08-10 16:27:08'::timestamp) - extract(epoch from '2026-08-10 16:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017599 -3.390632)', '2026-08-10 16:27:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017618 -3.390671)'), GeomFromEWKT('SRID=4674;POINT (-39.017599 -3.390632)'))) / (select extract(epoch from '2026-08-10 16:27:11'::timestamp) - extract(epoch from '2026-08-10 16:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017618 -3.390671)'), GeomFromEWKT('SRID=4674;POINT (-39.017599 -3.390632)'))) / (select extract(epoch from '2026-08-10 16:27:11'::timestamp) - extract(epoch from '2026-08-10 16:27: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'), 48138, 'SRID=4674;POINT (-39.017559 -3.390562)', '2026-08-10 16:27:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017599 -3.390632)'), GeomFromEWKT('SRID=4674;POINT (-39.017559 -3.390562)'))) / (select extract(epoch from '2026-08-10 16:27:17'::timestamp) - extract(epoch from '2026-08-10 16:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017599 -3.390632)'), GeomFromEWKT('SRID=4674;POINT (-39.017559 -3.390562)'))) / (select extract(epoch from '2026-08-10 16:27:17'::timestamp) - extract(epoch from '2026-08-10 16:27: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'), 48138, 'SRID=4674;POINT (-39.017506 -3.390499)', '2026-08-10 16:27:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017559 -3.390562)'), GeomFromEWKT('SRID=4674;POINT (-39.017506 -3.390499)'))) / (select extract(epoch from '2026-08-10 16:27:23'::timestamp) - extract(epoch from '2026-08-10 16:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017559 -3.390562)'), GeomFromEWKT('SRID=4674;POINT (-39.017506 -3.390499)'))) / (select extract(epoch from '2026-08-10 16:27:23'::timestamp) - extract(epoch from '2026-08-10 16:27: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'), 48138, 'SRID=4674;POINT (-39.017457 -3.390456)', '2026-08-10 16:27:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017506 -3.390499)'), GeomFromEWKT('SRID=4674;POINT (-39.017457 -3.390456)'))) / (select extract(epoch from '2026-08-10 16:27:27'::timestamp) - extract(epoch from '2026-08-10 16:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017506 -3.390499)'), GeomFromEWKT('SRID=4674;POINT (-39.017457 -3.390456)'))) / (select extract(epoch from '2026-08-10 16:27:27'::timestamp) - extract(epoch from '2026-08-10 16:27:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017385 -3.390402)', '2026-08-10 16:27:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017457 -3.390456)'), GeomFromEWKT('SRID=4674;POINT (-39.017385 -3.390402)'))) / (select extract(epoch from '2026-08-10 16:27:32'::timestamp) - extract(epoch from '2026-08-10 16:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017457 -3.390456)'), GeomFromEWKT('SRID=4674;POINT (-39.017385 -3.390402)'))) / (select extract(epoch from '2026-08-10 16:27:32'::timestamp) - extract(epoch from '2026-08-10 16:27: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'), 48138, 'SRID=4674;POINT (-39.017273 -3.390302)', '2026-08-10 16:27:40', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017385 -3.390402)'), GeomFromEWKT('SRID=4674;POINT (-39.017273 -3.390302)'))) / (select extract(epoch from '2026-08-10 16:27:40'::timestamp) - extract(epoch from '2026-08-10 16:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017385 -3.390402)'), GeomFromEWKT('SRID=4674;POINT (-39.017273 -3.390302)'))) / (select extract(epoch from '2026-08-10 16:27:40'::timestamp) - extract(epoch from '2026-08-10 16:27: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'), 48138, 'SRID=4674;POINT (-39.017202 -3.39025)', '2026-08-10 16:27:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017273 -3.390302)'), GeomFromEWKT('SRID=4674;POINT (-39.017202 -3.39025)'))) / (select extract(epoch from '2026-08-10 16:27:45'::timestamp) - extract(epoch from '2026-08-10 16:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017273 -3.390302)'), GeomFromEWKT('SRID=4674;POINT (-39.017202 -3.39025)'))) / (select extract(epoch from '2026-08-10 16:27:45'::timestamp) - extract(epoch from '2026-08-10 16:27: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'), 48138, 'SRID=4674;POINT (-39.017116 -3.390198)', '2026-08-10 16:27:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017202 -3.39025)'), GeomFromEWKT('SRID=4674;POINT (-39.017116 -3.390198)'))) / (select extract(epoch from '2026-08-10 16:27:51'::timestamp) - extract(epoch from '2026-08-10 16:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017202 -3.39025)'), GeomFromEWKT('SRID=4674;POINT (-39.017116 -3.390198)'))) / (select extract(epoch from '2026-08-10 16:27:51'::timestamp) - extract(epoch from '2026-08-10 16:27: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'), 48138, 'SRID=4674;POINT (-39.017053 -3.390158)', '2026-08-10 16:27:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017116 -3.390198)'), GeomFromEWKT('SRID=4674;POINT (-39.017053 -3.390158)'))) / (select extract(epoch from '2026-08-10 16:27:56'::timestamp) - extract(epoch from '2026-08-10 16:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017116 -3.390198)'), GeomFromEWKT('SRID=4674;POINT (-39.017053 -3.390158)'))) / (select extract(epoch from '2026-08-10 16:27:56'::timestamp) - extract(epoch from '2026-08-10 16:27: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'), 48138, 'SRID=4674;POINT (-39.017012 -3.390121)', '2026-08-10 16:28:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017053 -3.390158)'), GeomFromEWKT('SRID=4674;POINT (-39.017012 -3.390121)'))) / (select extract(epoch from '2026-08-10 16:28:00'::timestamp) - extract(epoch from '2026-08-10 16:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017053 -3.390158)'), GeomFromEWKT('SRID=4674;POINT (-39.017012 -3.390121)'))) / (select extract(epoch from '2026-08-10 16:28:00'::timestamp) - extract(epoch from '2026-08-10 16:27:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016978 -3.390087)', '2026-08-10 16:28:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017012 -3.390121)'), GeomFromEWKT('SRID=4674;POINT (-39.016978 -3.390087)'))) / (select extract(epoch from '2026-08-10 16:28:03'::timestamp) - extract(epoch from '2026-08-10 16:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017012 -3.390121)'), GeomFromEWKT('SRID=4674;POINT (-39.016978 -3.390087)'))) / (select extract(epoch from '2026-08-10 16:28:03'::timestamp) - extract(epoch from '2026-08-10 16:28: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'), 48138, 'SRID=4674;POINT (-39.016912 -3.390014)', '2026-08-10 16:28:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016978 -3.390087)'), GeomFromEWKT('SRID=4674;POINT (-39.016912 -3.390014)'))) / (select extract(epoch from '2026-08-10 16:28:09'::timestamp) - extract(epoch from '2026-08-10 16:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016978 -3.390087)'), GeomFromEWKT('SRID=4674;POINT (-39.016912 -3.390014)'))) / (select extract(epoch from '2026-08-10 16:28:09'::timestamp) - extract(epoch from '2026-08-10 16:28: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'), 48138, 'SRID=4674;POINT (-39.016855 -3.389943)', '2026-08-10 16:28:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016912 -3.390014)'), GeomFromEWKT('SRID=4674;POINT (-39.016855 -3.389943)'))) / (select extract(epoch from '2026-08-10 16:28:14'::timestamp) - extract(epoch from '2026-08-10 16:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016912 -3.390014)'), GeomFromEWKT('SRID=4674;POINT (-39.016855 -3.389943)'))) / (select extract(epoch from '2026-08-10 16:28:14'::timestamp) - extract(epoch from '2026-08-10 16:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016808 -3.389872)', '2026-08-10 16:28:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016855 -3.389943)'), GeomFromEWKT('SRID=4674;POINT (-39.016808 -3.389872)'))) / (select extract(epoch from '2026-08-10 16:28:19'::timestamp) - extract(epoch from '2026-08-10 16:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016855 -3.389943)'), GeomFromEWKT('SRID=4674;POINT (-39.016808 -3.389872)'))) / (select extract(epoch from '2026-08-10 16:28:19'::timestamp) - extract(epoch from '2026-08-10 16:28: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'), 48138, 'SRID=4674;POINT (-39.016805 -3.389856)', '2026-08-10 16:28:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016808 -3.389872)'), GeomFromEWKT('SRID=4674;POINT (-39.016805 -3.389856)'))) / (select extract(epoch from '2026-08-10 16:28:20'::timestamp) - extract(epoch from '2026-08-10 16:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016808 -3.389872)'), GeomFromEWKT('SRID=4674;POINT (-39.016805 -3.389856)'))) / (select extract(epoch from '2026-08-10 16:28:20'::timestamp) - extract(epoch from '2026-08-10 16:28: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'), 48138, 'SRID=4674;POINT (-39.016764 -3.389765)', '2026-08-10 16:28:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016805 -3.389856)'), GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.389765)'))) / (select extract(epoch from '2026-08-10 16:28:26'::timestamp) - extract(epoch from '2026-08-10 16:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016805 -3.389856)'), GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.389765)'))) / (select extract(epoch from '2026-08-10 16:28:26'::timestamp) - extract(epoch from '2026-08-10 16:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016711 -3.389656)', '2026-08-10 16:28:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.389765)'), GeomFromEWKT('SRID=4674;POINT (-39.016711 -3.389656)'))) / (select extract(epoch from '2026-08-10 16:28:32'::timestamp) - extract(epoch from '2026-08-10 16:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016764 -3.389765)'), GeomFromEWKT('SRID=4674;POINT (-39.016711 -3.389656)'))) / (select extract(epoch from '2026-08-10 16:28:32'::timestamp) - extract(epoch from '2026-08-10 16:28: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'), 48138, 'SRID=4674;POINT (-39.01665 -3.38954)', '2026-08-10 16:28:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016711 -3.389656)'), GeomFromEWKT('SRID=4674;POINT (-39.01665 -3.38954)'))) / (select extract(epoch from '2026-08-10 16:28:39'::timestamp) - extract(epoch from '2026-08-10 16:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016711 -3.389656)'), GeomFromEWKT('SRID=4674;POINT (-39.01665 -3.38954)'))) / (select extract(epoch from '2026-08-10 16:28:39'::timestamp) - extract(epoch from '2026-08-10 16:28: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'), 48138, 'SRID=4674;POINT (-39.016607 -3.389431)', '2026-08-10 16:28:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01665 -3.38954)'), GeomFromEWKT('SRID=4674;POINT (-39.016607 -3.389431)'))) / (select extract(epoch from '2026-08-10 16:28:45'::timestamp) - extract(epoch from '2026-08-10 16:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01665 -3.38954)'), GeomFromEWKT('SRID=4674;POINT (-39.016607 -3.389431)'))) / (select extract(epoch from '2026-08-10 16:28:45'::timestamp) - extract(epoch from '2026-08-10 16:28: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'), 48138, 'SRID=4674;POINT (-39.016578 -3.389312)', '2026-08-10 16:28:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016607 -3.389431)'), GeomFromEWKT('SRID=4674;POINT (-39.016578 -3.389312)'))) / (select extract(epoch from '2026-08-10 16:28:51'::timestamp) - extract(epoch from '2026-08-10 16:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016607 -3.389431)'), GeomFromEWKT('SRID=4674;POINT (-39.016578 -3.389312)'))) / (select extract(epoch from '2026-08-10 16:28:51'::timestamp) - extract(epoch from '2026-08-10 16:28: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'), 48138, 'SRID=4674;POINT (-39.016565 -3.389213)', '2026-08-10 16:28:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016578 -3.389312)'), GeomFromEWKT('SRID=4674;POINT (-39.016565 -3.389213)'))) / (select extract(epoch from '2026-08-10 16:28:56'::timestamp) - extract(epoch from '2026-08-10 16:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016578 -3.389312)'), GeomFromEWKT('SRID=4674;POINT (-39.016565 -3.389213)'))) / (select extract(epoch from '2026-08-10 16:28:56'::timestamp) - extract(epoch from '2026-08-10 16:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016548 -3.389123)', '2026-08-10 16:29:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016565 -3.389213)'), GeomFromEWKT('SRID=4674;POINT (-39.016548 -3.389123)'))) / (select extract(epoch from '2026-08-10 16:29:01'::timestamp) - extract(epoch from '2026-08-10 16:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016565 -3.389213)'), GeomFromEWKT('SRID=4674;POINT (-39.016548 -3.389123)'))) / (select extract(epoch from '2026-08-10 16:29:01'::timestamp) - extract(epoch from '2026-08-10 16:28: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'), 48138, 'SRID=4674;POINT (-39.016507 -3.389004)', '2026-08-10 16:29:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016548 -3.389123)'), GeomFromEWKT('SRID=4674;POINT (-39.016507 -3.389004)'))) / (select extract(epoch from '2026-08-10 16:29:07'::timestamp) - extract(epoch from '2026-08-10 16:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016548 -3.389123)'), GeomFromEWKT('SRID=4674;POINT (-39.016507 -3.389004)'))) / (select extract(epoch from '2026-08-10 16:29:07'::timestamp) - extract(epoch from '2026-08-10 16:29: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'), 48138, 'SRID=4674;POINT (-39.016452 -3.388862)', '2026-08-10 16:29:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016507 -3.389004)'), GeomFromEWKT('SRID=4674;POINT (-39.016452 -3.388862)'))) / (select extract(epoch from '2026-08-10 16:29:15'::timestamp) - extract(epoch from '2026-08-10 16:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016507 -3.389004)'), GeomFromEWKT('SRID=4674;POINT (-39.016452 -3.388862)'))) / (select extract(epoch from '2026-08-10 16:29:15'::timestamp) - extract(epoch from '2026-08-10 16:29: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'), 48138, 'SRID=4674;POINT (-39.016412 -3.388763)', '2026-08-10 16:29:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016452 -3.388862)'), GeomFromEWKT('SRID=4674;POINT (-39.016412 -3.388763)'))) / (select extract(epoch from '2026-08-10 16:29:21'::timestamp) - extract(epoch from '2026-08-10 16:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016452 -3.388862)'), GeomFromEWKT('SRID=4674;POINT (-39.016412 -3.388763)'))) / (select extract(epoch from '2026-08-10 16:29:21'::timestamp) - extract(epoch from '2026-08-10 16:29: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'), 48138, 'SRID=4674;POINT (-39.016377 -3.38867)', '2026-08-10 16:29:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016412 -3.388763)'), GeomFromEWKT('SRID=4674;POINT (-39.016377 -3.38867)'))) / (select extract(epoch from '2026-08-10 16:29:26'::timestamp) - extract(epoch from '2026-08-10 16:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016412 -3.388763)'), GeomFromEWKT('SRID=4674;POINT (-39.016377 -3.38867)'))) / (select extract(epoch from '2026-08-10 16:29:26'::timestamp) - extract(epoch from '2026-08-10 16:29: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'), 48138, 'SRID=4674;POINT (-39.016338 -3.388538)', '2026-08-10 16:29:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016377 -3.38867)'), GeomFromEWKT('SRID=4674;POINT (-39.016338 -3.388538)'))) / (select extract(epoch from '2026-08-10 16:29:33'::timestamp) - extract(epoch from '2026-08-10 16:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016377 -3.38867)'), GeomFromEWKT('SRID=4674;POINT (-39.016338 -3.388538)'))) / (select extract(epoch from '2026-08-10 16:29:33'::timestamp) - extract(epoch from '2026-08-10 16:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01632 -3.388466)', '2026-08-10 16:29:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016338 -3.388538)'), GeomFromEWKT('SRID=4674;POINT (-39.01632 -3.388466)'))) / (select extract(epoch from '2026-08-10 16:29:37'::timestamp) - extract(epoch from '2026-08-10 16:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016338 -3.388538)'), GeomFromEWKT('SRID=4674;POINT (-39.01632 -3.388466)'))) / (select extract(epoch from '2026-08-10 16:29:37'::timestamp) - extract(epoch from '2026-08-10 16:29:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016284 -3.388373)', '2026-08-10 16:29:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01632 -3.388466)'), GeomFromEWKT('SRID=4674;POINT (-39.016284 -3.388373)'))) / (select extract(epoch from '2026-08-10 16:29:42'::timestamp) - extract(epoch from '2026-08-10 16:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01632 -3.388466)'), GeomFromEWKT('SRID=4674;POINT (-39.016284 -3.388373)'))) / (select extract(epoch from '2026-08-10 16:29:42'::timestamp) - extract(epoch from '2026-08-10 16:29:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01624 -3.38828)', '2026-08-10 16:29:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016284 -3.388373)'), GeomFromEWKT('SRID=4674;POINT (-39.01624 -3.38828)'))) / (select extract(epoch from '2026-08-10 16:29:47'::timestamp) - extract(epoch from '2026-08-10 16:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016284 -3.388373)'), GeomFromEWKT('SRID=4674;POINT (-39.01624 -3.38828)'))) / (select extract(epoch from '2026-08-10 16:29:47'::timestamp) - extract(epoch from '2026-08-10 16:29: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'), 48138, 'SRID=4674;POINT (-39.016203 -3.38821)', '2026-08-10 16:29:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01624 -3.38828)'), GeomFromEWKT('SRID=4674;POINT (-39.016203 -3.38821)'))) / (select extract(epoch from '2026-08-10 16:29:51'::timestamp) - extract(epoch from '2026-08-10 16:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01624 -3.38828)'), GeomFromEWKT('SRID=4674;POINT (-39.016203 -3.38821)'))) / (select extract(epoch from '2026-08-10 16:29:51'::timestamp) - extract(epoch from '2026-08-10 16:29: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'), 48138, 'SRID=4674;POINT (-39.01618 -3.388171)', '2026-08-10 16:29:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016203 -3.38821)'), GeomFromEWKT('SRID=4674;POINT (-39.01618 -3.388171)'))) / (select extract(epoch from '2026-08-10 16:29:53'::timestamp) - extract(epoch from '2026-08-10 16:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016203 -3.38821)'), GeomFromEWKT('SRID=4674;POINT (-39.01618 -3.388171)'))) / (select extract(epoch from '2026-08-10 16:29:53'::timestamp) - extract(epoch from '2026-08-10 16:29: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'), 48138, 'SRID=4674;POINT (-39.016166 -3.38814)', '2026-08-10 16:29:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01618 -3.388171)'), GeomFromEWKT('SRID=4674;POINT (-39.016166 -3.38814)'))) / (select extract(epoch from '2026-08-10 16:29:55'::timestamp) - extract(epoch from '2026-08-10 16:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01618 -3.388171)'), GeomFromEWKT('SRID=4674;POINT (-39.016166 -3.38814)'))) / (select extract(epoch from '2026-08-10 16:29:55'::timestamp) - extract(epoch from '2026-08-10 16:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016136 -3.388061)', '2026-08-10 16:30:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016166 -3.38814)'), GeomFromEWKT('SRID=4674;POINT (-39.016136 -3.388061)'))) / (select extract(epoch from '2026-08-10 16:30:00'::timestamp) - extract(epoch from '2026-08-10 16:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016166 -3.38814)'), GeomFromEWKT('SRID=4674;POINT (-39.016136 -3.388061)'))) / (select extract(epoch from '2026-08-10 16:30:00'::timestamp) - extract(epoch from '2026-08-10 16:29: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'), 48138, 'SRID=4674;POINT (-39.016121 -3.388015)', '2026-08-10 16:30:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016136 -3.388061)'), GeomFromEWKT('SRID=4674;POINT (-39.016121 -3.388015)'))) / (select extract(epoch from '2026-08-10 16:30:03'::timestamp) - extract(epoch from '2026-08-10 16:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016136 -3.388061)'), GeomFromEWKT('SRID=4674;POINT (-39.016121 -3.388015)'))) / (select extract(epoch from '2026-08-10 16:30:03'::timestamp) - extract(epoch from '2026-08-10 16:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016107 -3.38798)', '2026-08-10 16:30:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016121 -3.388015)'), GeomFromEWKT('SRID=4674;POINT (-39.016107 -3.38798)'))) / (select extract(epoch from '2026-08-10 16:30:05'::timestamp) - extract(epoch from '2026-08-10 16:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016121 -3.388015)'), GeomFromEWKT('SRID=4674;POINT (-39.016107 -3.38798)'))) / (select extract(epoch from '2026-08-10 16:30:05'::timestamp) - extract(epoch from '2026-08-10 16:30: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'), 48138, 'SRID=4674;POINT (-39.016075 -3.387894)', '2026-08-10 16:30:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016107 -3.38798)'), GeomFromEWKT('SRID=4674;POINT (-39.016075 -3.387894)'))) / (select extract(epoch from '2026-08-10 16:30:10'::timestamp) - extract(epoch from '2026-08-10 16:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016107 -3.38798)'), GeomFromEWKT('SRID=4674;POINT (-39.016075 -3.387894)'))) / (select extract(epoch from '2026-08-10 16:30:10'::timestamp) - extract(epoch from '2026-08-10 16:30: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'), 48138, 'SRID=4674;POINT (-39.01603 -3.387791)', '2026-08-10 16:30:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016075 -3.387894)'), GeomFromEWKT('SRID=4674;POINT (-39.01603 -3.387791)'))) / (select extract(epoch from '2026-08-10 16:30:16'::timestamp) - extract(epoch from '2026-08-10 16:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016075 -3.387894)'), GeomFromEWKT('SRID=4674;POINT (-39.01603 -3.387791)'))) / (select extract(epoch from '2026-08-10 16:30:16'::timestamp) - extract(epoch from '2026-08-10 16:30: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'), 48138, 'SRID=4674;POINT (-39.015994 -3.387679)', '2026-08-10 16:30:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01603 -3.387791)'), GeomFromEWKT('SRID=4674;POINT (-39.015994 -3.387679)'))) / (select extract(epoch from '2026-08-10 16:30:22'::timestamp) - extract(epoch from '2026-08-10 16:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01603 -3.387791)'), GeomFromEWKT('SRID=4674;POINT (-39.015994 -3.387679)'))) / (select extract(epoch from '2026-08-10 16:30:22'::timestamp) - extract(epoch from '2026-08-10 16:30: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'), 48138, 'SRID=4674;POINT (-39.015944 -3.387569)', '2026-08-10 16:30:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015994 -3.387679)'), GeomFromEWKT('SRID=4674;POINT (-39.015944 -3.387569)'))) / (select extract(epoch from '2026-08-10 16:30:28'::timestamp) - extract(epoch from '2026-08-10 16:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015994 -3.387679)'), GeomFromEWKT('SRID=4674;POINT (-39.015944 -3.387569)'))) / (select extract(epoch from '2026-08-10 16:30:28'::timestamp) - extract(epoch from '2026-08-10 16:30: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'), 48138, 'SRID=4674;POINT (-39.015926 -3.387504)', '2026-08-10 16:30:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015944 -3.387569)'), GeomFromEWKT('SRID=4674;POINT (-39.015926 -3.387504)'))) / (select extract(epoch from '2026-08-10 16:30:32'::timestamp) - extract(epoch from '2026-08-10 16:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015944 -3.387569)'), GeomFromEWKT('SRID=4674;POINT (-39.015926 -3.387504)'))) / (select extract(epoch from '2026-08-10 16:30:32'::timestamp) - extract(epoch from '2026-08-10 16:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015889 -3.387406)', '2026-08-10 16:30:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015926 -3.387504)'), GeomFromEWKT('SRID=4674;POINT (-39.015889 -3.387406)'))) / (select extract(epoch from '2026-08-10 16:30:38'::timestamp) - extract(epoch from '2026-08-10 16:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015926 -3.387504)'), GeomFromEWKT('SRID=4674;POINT (-39.015889 -3.387406)'))) / (select extract(epoch from '2026-08-10 16:30:38'::timestamp) - extract(epoch from '2026-08-10 16:30: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'), 48138, 'SRID=4674;POINT (-39.015842 -3.387303)', '2026-08-10 16:30:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015889 -3.387406)'), GeomFromEWKT('SRID=4674;POINT (-39.015842 -3.387303)'))) / (select extract(epoch from '2026-08-10 16:30:44'::timestamp) - extract(epoch from '2026-08-10 16:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015889 -3.387406)'), GeomFromEWKT('SRID=4674;POINT (-39.015842 -3.387303)'))) / (select extract(epoch from '2026-08-10 16:30:44'::timestamp) - extract(epoch from '2026-08-10 16:30: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'), 48138, 'SRID=4674;POINT (-39.015818 -3.38721)', '2026-08-10 16:30:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015842 -3.387303)'), GeomFromEWKT('SRID=4674;POINT (-39.015818 -3.38721)'))) / (select extract(epoch from '2026-08-10 16:30:49'::timestamp) - extract(epoch from '2026-08-10 16:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015842 -3.387303)'), GeomFromEWKT('SRID=4674;POINT (-39.015818 -3.38721)'))) / (select extract(epoch from '2026-08-10 16:30:49'::timestamp) - extract(epoch from '2026-08-10 16:30:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015814 -3.387192)', '2026-08-10 16:30:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015818 -3.38721)'), GeomFromEWKT('SRID=4674;POINT (-39.015814 -3.387192)'))) / (select extract(epoch from '2026-08-10 16:30:50'::timestamp) - extract(epoch from '2026-08-10 16:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015818 -3.38721)'), GeomFromEWKT('SRID=4674;POINT (-39.015814 -3.387192)'))) / (select extract(epoch from '2026-08-10 16:30:50'::timestamp) - extract(epoch from '2026-08-10 16:30: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'), 48138, 'SRID=4674;POINT (-39.015792 -3.387135)', '2026-08-10 16:30:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015814 -3.387192)'), GeomFromEWKT('SRID=4674;POINT (-39.015792 -3.387135)'))) / (select extract(epoch from '2026-08-10 16:30:53'::timestamp) - extract(epoch from '2026-08-10 16:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015814 -3.387192)'), GeomFromEWKT('SRID=4674;POINT (-39.015792 -3.387135)'))) / (select extract(epoch from '2026-08-10 16:30:53'::timestamp) - extract(epoch from '2026-08-10 16:30: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'), 48138, 'SRID=4674;POINT (-39.015753 -3.387049)', '2026-08-10 16:30:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015792 -3.387135)'), GeomFromEWKT('SRID=4674;POINT (-39.015753 -3.387049)'))) / (select extract(epoch from '2026-08-10 16:30:58'::timestamp) - extract(epoch from '2026-08-10 16:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015792 -3.387135)'), GeomFromEWKT('SRID=4674;POINT (-39.015753 -3.387049)'))) / (select extract(epoch from '2026-08-10 16:30:58'::timestamp) - extract(epoch from '2026-08-10 16:30:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015747 -3.387035)', '2026-08-10 16:30:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015753 -3.387049)'), GeomFromEWKT('SRID=4674;POINT (-39.015747 -3.387035)'))) / (select extract(epoch from '2026-08-10 16:30:59'::timestamp) - extract(epoch from '2026-08-10 16:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015753 -3.387049)'), GeomFromEWKT('SRID=4674;POINT (-39.015747 -3.387035)'))) / (select extract(epoch from '2026-08-10 16:30:59'::timestamp) - extract(epoch from '2026-08-10 16:30: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'), 48138, 'SRID=4674;POINT (-39.015715 -3.386974)', '2026-08-10 16:31:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015747 -3.387035)'), GeomFromEWKT('SRID=4674;POINT (-39.015715 -3.386974)'))) / (select extract(epoch from '2026-08-10 16:31:03'::timestamp) - extract(epoch from '2026-08-10 16:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015747 -3.387035)'), GeomFromEWKT('SRID=4674;POINT (-39.015715 -3.386974)'))) / (select extract(epoch from '2026-08-10 16:31:03'::timestamp) - extract(epoch from '2026-08-10 16:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015677 -3.386905)', '2026-08-10 16:31:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015715 -3.386974)'), GeomFromEWKT('SRID=4674;POINT (-39.015677 -3.386905)'))) / (select extract(epoch from '2026-08-10 16:31:07'::timestamp) - extract(epoch from '2026-08-10 16:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015715 -3.386974)'), GeomFromEWKT('SRID=4674;POINT (-39.015677 -3.386905)'))) / (select extract(epoch from '2026-08-10 16:31:07'::timestamp) - extract(epoch from '2026-08-10 16:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015672 -3.386888)', '2026-08-10 16:31:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015677 -3.386905)'), GeomFromEWKT('SRID=4674;POINT (-39.015672 -3.386888)'))) / (select extract(epoch from '2026-08-10 16:31:08'::timestamp) - extract(epoch from '2026-08-10 16:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015677 -3.386905)'), GeomFromEWKT('SRID=4674;POINT (-39.015672 -3.386888)'))) / (select extract(epoch from '2026-08-10 16:31:08'::timestamp) - extract(epoch from '2026-08-10 16:31: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'), 48138, 'SRID=4674;POINT (-39.015646 -3.386835)', '2026-08-10 16:31:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015672 -3.386888)'), GeomFromEWKT('SRID=4674;POINT (-39.015646 -3.386835)'))) / (select extract(epoch from '2026-08-10 16:31:11'::timestamp) - extract(epoch from '2026-08-10 16:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015672 -3.386888)'), GeomFromEWKT('SRID=4674;POINT (-39.015646 -3.386835)'))) / (select extract(epoch from '2026-08-10 16:31:11'::timestamp) - extract(epoch from '2026-08-10 16:31:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015598 -3.386737)', '2026-08-10 16:31:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015646 -3.386835)'), GeomFromEWKT('SRID=4674;POINT (-39.015598 -3.386737)'))) / (select extract(epoch from '2026-08-10 16:31:17'::timestamp) - extract(epoch from '2026-08-10 16:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015646 -3.386835)'), GeomFromEWKT('SRID=4674;POINT (-39.015598 -3.386737)'))) / (select extract(epoch from '2026-08-10 16:31:17'::timestamp) - extract(epoch from '2026-08-10 16:31: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'), 48138, 'SRID=4674;POINT (-39.015571 -3.386677)', '2026-08-10 16:31:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015598 -3.386737)'), GeomFromEWKT('SRID=4674;POINT (-39.015571 -3.386677)'))) / (select extract(epoch from '2026-08-10 16:31:21'::timestamp) - extract(epoch from '2026-08-10 16:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015598 -3.386737)'), GeomFromEWKT('SRID=4674;POINT (-39.015571 -3.386677)'))) / (select extract(epoch from '2026-08-10 16:31:21'::timestamp) - extract(epoch from '2026-08-10 16:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015528 -3.386617)', '2026-08-10 16:31:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015571 -3.386677)'), GeomFromEWKT('SRID=4674;POINT (-39.015528 -3.386617)'))) / (select extract(epoch from '2026-08-10 16:31:26'::timestamp) - extract(epoch from '2026-08-10 16:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015571 -3.386677)'), GeomFromEWKT('SRID=4674;POINT (-39.015528 -3.386617)'))) / (select extract(epoch from '2026-08-10 16:31:26'::timestamp) - extract(epoch from '2026-08-10 16:31: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'), 48138, 'SRID=4674;POINT (-39.015463 -3.386529)', '2026-08-10 16:31:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015528 -3.386617)'), GeomFromEWKT('SRID=4674;POINT (-39.015463 -3.386529)'))) / (select extract(epoch from '2026-08-10 16:31:32'::timestamp) - extract(epoch from '2026-08-10 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015528 -3.386617)'), GeomFromEWKT('SRID=4674;POINT (-39.015463 -3.386529)'))) / (select extract(epoch from '2026-08-10 16:31:32'::timestamp) - extract(epoch from '2026-08-10 16:31: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'), 48138, 'SRID=4674;POINT (-39.015392 -3.386425)', '2026-08-10 16:31:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015463 -3.386529)'), GeomFromEWKT('SRID=4674;POINT (-39.015392 -3.386425)'))) / (select extract(epoch from '2026-08-10 16:31:39'::timestamp) - extract(epoch from '2026-08-10 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015463 -3.386529)'), GeomFromEWKT('SRID=4674;POINT (-39.015392 -3.386425)'))) / (select extract(epoch from '2026-08-10 16:31:39'::timestamp) - extract(epoch from '2026-08-10 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015329 -3.386345)', '2026-08-10 16:31:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015392 -3.386425)'), GeomFromEWKT('SRID=4674;POINT (-39.015329 -3.386345)'))) / (select extract(epoch from '2026-08-10 16:31:45'::timestamp) - extract(epoch from '2026-08-10 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015392 -3.386425)'), GeomFromEWKT('SRID=4674;POINT (-39.015329 -3.386345)'))) / (select extract(epoch from '2026-08-10 16:31:45'::timestamp) - extract(epoch from '2026-08-10 16:31: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'), 48138, 'SRID=4674;POINT (-39.015271 -3.386256)', '2026-08-10 16:31:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015329 -3.386345)'), GeomFromEWKT('SRID=4674;POINT (-39.015271 -3.386256)'))) / (select extract(epoch from '2026-08-10 16:31:51'::timestamp) - extract(epoch from '2026-08-10 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015329 -3.386345)'), GeomFromEWKT('SRID=4674;POINT (-39.015271 -3.386256)'))) / (select extract(epoch from '2026-08-10 16:31:51'::timestamp) - extract(epoch from '2026-08-10 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015225 -3.386177)', '2026-08-10 16:31:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015271 -3.386256)'), GeomFromEWKT('SRID=4674;POINT (-39.015225 -3.386177)'))) / (select extract(epoch from '2026-08-10 16:31:57'::timestamp) - extract(epoch from '2026-08-10 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015271 -3.386256)'), GeomFromEWKT('SRID=4674;POINT (-39.015225 -3.386177)'))) / (select extract(epoch from '2026-08-10 16:31:57'::timestamp) - extract(epoch from '2026-08-10 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015181 -3.386101)', '2026-08-10 16:32:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015225 -3.386177)'), GeomFromEWKT('SRID=4674;POINT (-39.015181 -3.386101)'))) / (select extract(epoch from '2026-08-10 16:32:02'::timestamp) - extract(epoch from '2026-08-10 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015225 -3.386177)'), GeomFromEWKT('SRID=4674;POINT (-39.015181 -3.386101)'))) / (select extract(epoch from '2026-08-10 16:32:02'::timestamp) - extract(epoch from '2026-08-10 16:31: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'), 48138, 'SRID=4674;POINT (-39.015177 -3.386084)', '2026-08-10 16:32:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015181 -3.386101)'), GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.386084)'))) / (select extract(epoch from '2026-08-10 16:32:03'::timestamp) - extract(epoch from '2026-08-10 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015181 -3.386101)'), GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.386084)'))) / (select extract(epoch from '2026-08-10 16:32:03'::timestamp) - extract(epoch from '2026-08-10 16:32: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'), 48138, 'SRID=4674;POINT (-39.015171 -3.386027)', '2026-08-10 16:32:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.386084)'), GeomFromEWKT('SRID=4674;POINT (-39.015171 -3.386027)'))) / (select extract(epoch from '2026-08-10 16:32:06'::timestamp) - extract(epoch from '2026-08-10 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.386084)'), GeomFromEWKT('SRID=4674;POINT (-39.015171 -3.386027)'))) / (select extract(epoch from '2026-08-10 16:32:06'::timestamp) - extract(epoch from '2026-08-10 16:32: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'), 48138, 'SRID=4674;POINT (-39.015143 -3.385952)', '2026-08-10 16:32:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015171 -3.386027)'), GeomFromEWKT('SRID=4674;POINT (-39.015143 -3.385952)'))) / (select extract(epoch from '2026-08-10 16:32:10'::timestamp) - extract(epoch from '2026-08-10 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015171 -3.386027)'), GeomFromEWKT('SRID=4674;POINT (-39.015143 -3.385952)'))) / (select extract(epoch from '2026-08-10 16:32:10'::timestamp) - extract(epoch from '2026-08-10 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015099 -3.38587)', '2026-08-10 16:32:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015143 -3.385952)'), GeomFromEWKT('SRID=4674;POINT (-39.015099 -3.38587)'))) / (select extract(epoch from '2026-08-10 16:32:15'::timestamp) - extract(epoch from '2026-08-10 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015143 -3.385952)'), GeomFromEWKT('SRID=4674;POINT (-39.015099 -3.38587)'))) / (select extract(epoch from '2026-08-10 16:32:15'::timestamp) - extract(epoch from '2026-08-10 16:32: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'), 48138, 'SRID=4674;POINT (-39.015044 -3.385774)', '2026-08-10 16:32:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015099 -3.38587)'), GeomFromEWKT('SRID=4674;POINT (-39.015044 -3.385774)'))) / (select extract(epoch from '2026-08-10 16:32:21'::timestamp) - extract(epoch from '2026-08-10 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015099 -3.38587)'), GeomFromEWKT('SRID=4674;POINT (-39.015044 -3.385774)'))) / (select extract(epoch from '2026-08-10 16:32:21'::timestamp) - extract(epoch from '2026-08-10 16:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014993 -3.385671)', '2026-08-10 16:32:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015044 -3.385774)'), GeomFromEWKT('SRID=4674;POINT (-39.014993 -3.385671)'))) / (select extract(epoch from '2026-08-10 16:32:27'::timestamp) - extract(epoch from '2026-08-10 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015044 -3.385774)'), GeomFromEWKT('SRID=4674;POINT (-39.014993 -3.385671)'))) / (select extract(epoch from '2026-08-10 16:32:27'::timestamp) - extract(epoch from '2026-08-10 16:32: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'), 48138, 'SRID=4674;POINT (-39.014954 -3.385587)', '2026-08-10 16:32:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014993 -3.385671)'), GeomFromEWKT('SRID=4674;POINT (-39.014954 -3.385587)'))) / (select extract(epoch from '2026-08-10 16:32:32'::timestamp) - extract(epoch from '2026-08-10 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014993 -3.385671)'), GeomFromEWKT('SRID=4674;POINT (-39.014954 -3.385587)'))) / (select extract(epoch from '2026-08-10 16:32:32'::timestamp) - extract(epoch from '2026-08-10 16:32: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'), 48138, 'SRID=4674;POINT (-39.014893 -3.385471)', '2026-08-10 16:32:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014954 -3.385587)'), GeomFromEWKT('SRID=4674;POINT (-39.014893 -3.385471)'))) / (select extract(epoch from '2026-08-10 16:32:39'::timestamp) - extract(epoch from '2026-08-10 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014954 -3.385587)'), GeomFromEWKT('SRID=4674;POINT (-39.014893 -3.385471)'))) / (select extract(epoch from '2026-08-10 16:32:39'::timestamp) - extract(epoch from '2026-08-10 16:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014828 -3.385355)', '2026-08-10 16:32:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014893 -3.385471)'), GeomFromEWKT('SRID=4674;POINT (-39.014828 -3.385355)'))) / (select extract(epoch from '2026-08-10 16:32:47'::timestamp) - extract(epoch from '2026-08-10 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014893 -3.385471)'), GeomFromEWKT('SRID=4674;POINT (-39.014828 -3.385355)'))) / (select extract(epoch from '2026-08-10 16:32:47'::timestamp) - extract(epoch from '2026-08-10 16:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014784 -3.38527)', '2026-08-10 16:32:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014828 -3.385355)'), GeomFromEWKT('SRID=4674;POINT (-39.014784 -3.38527)'))) / (select extract(epoch from '2026-08-10 16:32:52'::timestamp) - extract(epoch from '2026-08-10 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014828 -3.385355)'), GeomFromEWKT('SRID=4674;POINT (-39.014784 -3.38527)'))) / (select extract(epoch from '2026-08-10 16:32:52'::timestamp) - extract(epoch from '2026-08-10 16:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014718 -3.385154)', '2026-08-10 16:32:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014784 -3.38527)'), GeomFromEWKT('SRID=4674;POINT (-39.014718 -3.385154)'))) / (select extract(epoch from '2026-08-10 16:32:59'::timestamp) - extract(epoch from '2026-08-10 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014784 -3.38527)'), GeomFromEWKT('SRID=4674;POINT (-39.014718 -3.385154)'))) / (select extract(epoch from '2026-08-10 16:32:59'::timestamp) - extract(epoch from '2026-08-10 16:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014689 -3.385075)', '2026-08-10 16:33:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014718 -3.385154)'), GeomFromEWKT('SRID=4674;POINT (-39.014689 -3.385075)'))) / (select extract(epoch from '2026-08-10 16:33:04'::timestamp) - extract(epoch from '2026-08-10 16:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014718 -3.385154)'), GeomFromEWKT('SRID=4674;POINT (-39.014689 -3.385075)'))) / (select extract(epoch from '2026-08-10 16:33:04'::timestamp) - extract(epoch from '2026-08-10 16:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014658 -3.384995)', '2026-08-10 16:33:09', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014689 -3.385075)'), GeomFromEWKT('SRID=4674;POINT (-39.014658 -3.384995)'))) / (select extract(epoch from '2026-08-10 16:33:09'::timestamp) - extract(epoch from '2026-08-10 16:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014689 -3.385075)'), GeomFromEWKT('SRID=4674;POINT (-39.014658 -3.384995)'))) / (select extract(epoch from '2026-08-10 16:33:09'::timestamp) - extract(epoch from '2026-08-10 16:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014604 -3.384898)', '2026-08-10 16:33:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014658 -3.384995)'), GeomFromEWKT('SRID=4674;POINT (-39.014604 -3.384898)'))) / (select extract(epoch from '2026-08-10 16:33:15'::timestamp) - extract(epoch from '2026-08-10 16:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014658 -3.384995)'), GeomFromEWKT('SRID=4674;POINT (-39.014604 -3.384898)'))) / (select extract(epoch from '2026-08-10 16:33:15'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.014555 -3.384827)', '2026-08-10 16:33:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014604 -3.384898)'), GeomFromEWKT('SRID=4674;POINT (-39.014555 -3.384827)'))) / (select extract(epoch from '2026-08-10 16:33:20'::timestamp) - extract(epoch from '2026-08-10 16:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014604 -3.384898)'), GeomFromEWKT('SRID=4674;POINT (-39.014555 -3.384827)'))) / (select extract(epoch from '2026-08-10 16:33:20'::timestamp) - extract(epoch from '2026-08-10 16:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014503 -3.384736)', '2026-08-10 16:33:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014555 -3.384827)'), GeomFromEWKT('SRID=4674;POINT (-39.014503 -3.384736)'))) / (select extract(epoch from '2026-08-10 16:33:26'::timestamp) - extract(epoch from '2026-08-10 16:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014555 -3.384827)'), GeomFromEWKT('SRID=4674;POINT (-39.014503 -3.384736)'))) / (select extract(epoch from '2026-08-10 16:33:26'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.014457 -3.384667)', '2026-08-10 16:33:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014503 -3.384736)'), GeomFromEWKT('SRID=4674;POINT (-39.014457 -3.384667)'))) / (select extract(epoch from '2026-08-10 16:33:31'::timestamp) - extract(epoch from '2026-08-10 16:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014503 -3.384736)'), GeomFromEWKT('SRID=4674;POINT (-39.014457 -3.384667)'))) / (select extract(epoch from '2026-08-10 16:33:31'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.014417 -3.384587)', '2026-08-10 16:33:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014457 -3.384667)'), GeomFromEWKT('SRID=4674;POINT (-39.014417 -3.384587)'))) / (select extract(epoch from '2026-08-10 16:33:36'::timestamp) - extract(epoch from '2026-08-10 16:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014457 -3.384667)'), GeomFromEWKT('SRID=4674;POINT (-39.014417 -3.384587)'))) / (select extract(epoch from '2026-08-10 16:33:36'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.014385 -3.384525)', '2026-08-10 16:33:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014417 -3.384587)'), GeomFromEWKT('SRID=4674;POINT (-39.014385 -3.384525)'))) / (select extract(epoch from '2026-08-10 16:33:40'::timestamp) - extract(epoch from '2026-08-10 16:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014417 -3.384587)'), GeomFromEWKT('SRID=4674;POINT (-39.014385 -3.384525)'))) / (select extract(epoch from '2026-08-10 16:33:40'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.014353 -3.384499)', '2026-08-10 16:33:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014385 -3.384525)'), GeomFromEWKT('SRID=4674;POINT (-39.014353 -3.384499)'))) / (select extract(epoch from '2026-08-10 16:33:42'::timestamp) - extract(epoch from '2026-08-10 16:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014385 -3.384525)'), GeomFromEWKT('SRID=4674;POINT (-39.014353 -3.384499)'))) / (select extract(epoch from '2026-08-10 16:33:42'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.014345 -3.384484)', '2026-08-10 16:33:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014353 -3.384499)'), GeomFromEWKT('SRID=4674;POINT (-39.014345 -3.384484)'))) / (select extract(epoch from '2026-08-10 16:33:43'::timestamp) - extract(epoch from '2026-08-10 16:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014353 -3.384499)'), GeomFromEWKT('SRID=4674;POINT (-39.014345 -3.384484)'))) / (select extract(epoch from '2026-08-10 16:33:43'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.01433 -3.38445)', '2026-08-10 16:33:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014345 -3.384484)'), GeomFromEWKT('SRID=4674;POINT (-39.01433 -3.38445)'))) / (select extract(epoch from '2026-08-10 16:33:45'::timestamp) - extract(epoch from '2026-08-10 16:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014345 -3.384484)'), GeomFromEWKT('SRID=4674;POINT (-39.01433 -3.38445)'))) / (select extract(epoch from '2026-08-10 16:33:45'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.014324 -3.384432)', '2026-08-10 16:33:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01433 -3.38445)'), GeomFromEWKT('SRID=4674;POINT (-39.014324 -3.384432)'))) / (select extract(epoch from '2026-08-10 16:33:46'::timestamp) - extract(epoch from '2026-08-10 16:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01433 -3.38445)'), GeomFromEWKT('SRID=4674;POINT (-39.014324 -3.384432)'))) / (select extract(epoch from '2026-08-10 16:33:46'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.014299 -3.384376)', '2026-08-10 16:33:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014324 -3.384432)'), GeomFromEWKT('SRID=4674;POINT (-39.014299 -3.384376)'))) / (select extract(epoch from '2026-08-10 16:33:50'::timestamp) - extract(epoch from '2026-08-10 16:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014324 -3.384432)'), GeomFromEWKT('SRID=4674;POINT (-39.014299 -3.384376)'))) / (select extract(epoch from '2026-08-10 16:33:50'::timestamp) - extract(epoch from '2026-08-10 16:33:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014261 -3.384326)', '2026-08-10 16:33:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014299 -3.384376)'), GeomFromEWKT('SRID=4674;POINT (-39.014261 -3.384326)'))) / (select extract(epoch from '2026-08-10 16:33:54'::timestamp) - extract(epoch from '2026-08-10 16:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014299 -3.384376)'), GeomFromEWKT('SRID=4674;POINT (-39.014261 -3.384326)'))) / (select extract(epoch from '2026-08-10 16:33:54'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.014252 -3.384304)', '2026-08-10 16:33:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014261 -3.384326)'), GeomFromEWKT('SRID=4674;POINT (-39.014252 -3.384304)'))) / (select extract(epoch from '2026-08-10 16:33:56'::timestamp) - extract(epoch from '2026-08-10 16:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014261 -3.384326)'), GeomFromEWKT('SRID=4674;POINT (-39.014252 -3.384304)'))) / (select extract(epoch from '2026-08-10 16:33:56'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.014235 -3.384229)', '2026-08-10 16:34:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014252 -3.384304)'), GeomFromEWKT('SRID=4674;POINT (-39.014235 -3.384229)'))) / (select extract(epoch from '2026-08-10 16:34:01'::timestamp) - extract(epoch from '2026-08-10 16:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014252 -3.384304)'), GeomFromEWKT('SRID=4674;POINT (-39.014235 -3.384229)'))) / (select extract(epoch from '2026-08-10 16:34:01'::timestamp) - extract(epoch from '2026-08-10 16:33: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'), 48138, 'SRID=4674;POINT (-39.014199 -3.384136)', '2026-08-10 16:34:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014235 -3.384229)'), GeomFromEWKT('SRID=4674;POINT (-39.014199 -3.384136)'))) / (select extract(epoch from '2026-08-10 16:34:07'::timestamp) - extract(epoch from '2026-08-10 16:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014235 -3.384229)'), GeomFromEWKT('SRID=4674;POINT (-39.014199 -3.384136)'))) / (select extract(epoch from '2026-08-10 16:34:07'::timestamp) - extract(epoch from '2026-08-10 16:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014149 -3.384028)', '2026-08-10 16:34:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014199 -3.384136)'), GeomFromEWKT('SRID=4674;POINT (-39.014149 -3.384028)'))) / (select extract(epoch from '2026-08-10 16:34:14'::timestamp) - extract(epoch from '2026-08-10 16:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014199 -3.384136)'), GeomFromEWKT('SRID=4674;POINT (-39.014149 -3.384028)'))) / (select extract(epoch from '2026-08-10 16:34:14'::timestamp) - extract(epoch from '2026-08-10 16:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014116 -3.383962)', '2026-08-10 16:34:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014149 -3.384028)'), GeomFromEWKT('SRID=4674;POINT (-39.014116 -3.383962)'))) / (select extract(epoch from '2026-08-10 16:34:19'::timestamp) - extract(epoch from '2026-08-10 16:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014149 -3.384028)'), GeomFromEWKT('SRID=4674;POINT (-39.014116 -3.383962)'))) / (select extract(epoch from '2026-08-10 16:34:19'::timestamp) - extract(epoch from '2026-08-10 16:34:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014075 -3.383855)', '2026-08-10 16:34:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014116 -3.383962)'), GeomFromEWKT('SRID=4674;POINT (-39.014075 -3.383855)'))) / (select extract(epoch from '2026-08-10 16:34:26'::timestamp) - extract(epoch from '2026-08-10 16:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014116 -3.383962)'), GeomFromEWKT('SRID=4674;POINT (-39.014075 -3.383855)'))) / (select extract(epoch from '2026-08-10 16:34:26'::timestamp) - extract(epoch from '2026-08-10 16:34: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'), 48138, 'SRID=4674;POINT (-39.014017 -3.383723)', '2026-08-10 16:34:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014075 -3.383855)'), GeomFromEWKT('SRID=4674;POINT (-39.014017 -3.383723)'))) / (select extract(epoch from '2026-08-10 16:34:34'::timestamp) - extract(epoch from '2026-08-10 16:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014075 -3.383855)'), GeomFromEWKT('SRID=4674;POINT (-39.014017 -3.383723)'))) / (select extract(epoch from '2026-08-10 16:34:34'::timestamp) - extract(epoch from '2026-08-10 16:34: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'), 48138, 'SRID=4674;POINT (-39.013991 -3.383657)', '2026-08-10 16:34:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014017 -3.383723)'), GeomFromEWKT('SRID=4674;POINT (-39.013991 -3.383657)'))) / (select extract(epoch from '2026-08-10 16:34:38'::timestamp) - extract(epoch from '2026-08-10 16:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014017 -3.383723)'), GeomFromEWKT('SRID=4674;POINT (-39.013991 -3.383657)'))) / (select extract(epoch from '2026-08-10 16:34:38'::timestamp) - extract(epoch from '2026-08-10 16:34: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'), 48138, 'SRID=4674;POINT (-39.013988 -3.383643)', '2026-08-10 16:34:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013991 -3.383657)'), GeomFromEWKT('SRID=4674;POINT (-39.013988 -3.383643)'))) / (select extract(epoch from '2026-08-10 16:34:39'::timestamp) - extract(epoch from '2026-08-10 16:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013991 -3.383657)'), GeomFromEWKT('SRID=4674;POINT (-39.013988 -3.383643)'))) / (select extract(epoch from '2026-08-10 16:34:39'::timestamp) - extract(epoch from '2026-08-10 16:34:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013959 -3.383563)', '2026-08-10 16:34:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013988 -3.383643)'), GeomFromEWKT('SRID=4674;POINT (-39.013959 -3.383563)'))) / (select extract(epoch from '2026-08-10 16:34:44'::timestamp) - extract(epoch from '2026-08-10 16:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013988 -3.383643)'), GeomFromEWKT('SRID=4674;POINT (-39.013959 -3.383563)'))) / (select extract(epoch from '2026-08-10 16:34:44'::timestamp) - extract(epoch from '2026-08-10 16:34: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'), 48138, 'SRID=4674;POINT (-39.013906 -3.383451)', '2026-08-10 16:34:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013959 -3.383563)'), GeomFromEWKT('SRID=4674;POINT (-39.013906 -3.383451)'))) / (select extract(epoch from '2026-08-10 16:34:51'::timestamp) - extract(epoch from '2026-08-10 16:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013959 -3.383563)'), GeomFromEWKT('SRID=4674;POINT (-39.013906 -3.383451)'))) / (select extract(epoch from '2026-08-10 16:34:51'::timestamp) - extract(epoch from '2026-08-10 16:34: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'), 48138, 'SRID=4674;POINT (-39.013867 -3.383358)', '2026-08-10 16:34:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013906 -3.383451)'), GeomFromEWKT('SRID=4674;POINT (-39.013867 -3.383358)'))) / (select extract(epoch from '2026-08-10 16:34:57'::timestamp) - extract(epoch from '2026-08-10 16:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013906 -3.383451)'), GeomFromEWKT('SRID=4674;POINT (-39.013867 -3.383358)'))) / (select extract(epoch from '2026-08-10 16:34:57'::timestamp) - extract(epoch from '2026-08-10 16:34: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'), 48138, 'SRID=4674;POINT (-39.013835 -3.383301)', '2026-08-10 16:35:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013867 -3.383358)'), GeomFromEWKT('SRID=4674;POINT (-39.013835 -3.383301)'))) / (select extract(epoch from '2026-08-10 16:35:01'::timestamp) - extract(epoch from '2026-08-10 16:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013867 -3.383358)'), GeomFromEWKT('SRID=4674;POINT (-39.013835 -3.383301)'))) / (select extract(epoch from '2026-08-10 16:35:01'::timestamp) - extract(epoch from '2026-08-10 16:34:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013813 -3.383277)', '2026-08-10 16:35:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013835 -3.383301)'), GeomFromEWKT('SRID=4674;POINT (-39.013813 -3.383277)'))) / (select extract(epoch from '2026-08-10 16:35:03'::timestamp) - extract(epoch from '2026-08-10 16:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013835 -3.383301)'), GeomFromEWKT('SRID=4674;POINT (-39.013813 -3.383277)'))) / (select extract(epoch from '2026-08-10 16:35:03'::timestamp) - extract(epoch from '2026-08-10 16:35: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'), 48138, 'SRID=4674;POINT (-39.013781 -3.383203)', '2026-08-10 16:35:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013813 -3.383277)'), GeomFromEWKT('SRID=4674;POINT (-39.013781 -3.383203)'))) / (select extract(epoch from '2026-08-10 16:35:08'::timestamp) - extract(epoch from '2026-08-10 16:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013813 -3.383277)'), GeomFromEWKT('SRID=4674;POINT (-39.013781 -3.383203)'))) / (select extract(epoch from '2026-08-10 16:35:08'::timestamp) - extract(epoch from '2026-08-10 16:35: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'), 48138, 'SRID=4674;POINT (-39.013766 -3.383158)', '2026-08-10 16:35:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013781 -3.383203)'), GeomFromEWKT('SRID=4674;POINT (-39.013766 -3.383158)'))) / (select extract(epoch from '2026-08-10 16:35:11'::timestamp) - extract(epoch from '2026-08-10 16:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013781 -3.383203)'), GeomFromEWKT('SRID=4674;POINT (-39.013766 -3.383158)'))) / (select extract(epoch from '2026-08-10 16:35:11'::timestamp) - extract(epoch from '2026-08-10 16:35: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'), 48138, 'SRID=4674;POINT (-39.013756 -3.383122)', '2026-08-10 16:35:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013766 -3.383158)'), GeomFromEWKT('SRID=4674;POINT (-39.013756 -3.383122)'))) / (select extract(epoch from '2026-08-10 16:35:13'::timestamp) - extract(epoch from '2026-08-10 16:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013766 -3.383158)'), GeomFromEWKT('SRID=4674;POINT (-39.013756 -3.383122)'))) / (select extract(epoch from '2026-08-10 16:35:13'::timestamp) - extract(epoch from '2026-08-10 16:35: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'), 48138, 'SRID=4674;POINT (-39.013724 -3.383029)', '2026-08-10 16:35:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013756 -3.383122)'), GeomFromEWKT('SRID=4674;POINT (-39.013724 -3.383029)'))) / (select extract(epoch from '2026-08-10 16:35:18'::timestamp) - extract(epoch from '2026-08-10 16:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013756 -3.383122)'), GeomFromEWKT('SRID=4674;POINT (-39.013724 -3.383029)'))) / (select extract(epoch from '2026-08-10 16:35:18'::timestamp) - extract(epoch from '2026-08-10 16:35: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'), 48138, 'SRID=4674;POINT (-39.013696 -3.382961)', '2026-08-10 16:35:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013724 -3.383029)'), GeomFromEWKT('SRID=4674;POINT (-39.013696 -3.382961)'))) / (select extract(epoch from '2026-08-10 16:35:23'::timestamp) - extract(epoch from '2026-08-10 16:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013724 -3.383029)'), GeomFromEWKT('SRID=4674;POINT (-39.013696 -3.382961)'))) / (select extract(epoch from '2026-08-10 16:35:23'::timestamp) - extract(epoch from '2026-08-10 16:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013655 -3.382865)', '2026-08-10 16:35:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013696 -3.382961)'), GeomFromEWKT('SRID=4674;POINT (-39.013655 -3.382865)'))) / (select extract(epoch from '2026-08-10 16:35:28'::timestamp) - extract(epoch from '2026-08-10 16:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013696 -3.382961)'), GeomFromEWKT('SRID=4674;POINT (-39.013655 -3.382865)'))) / (select extract(epoch from '2026-08-10 16:35:28'::timestamp) - extract(epoch from '2026-08-10 16:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013647 -3.382823)', '2026-08-10 16:35:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013655 -3.382865)'), GeomFromEWKT('SRID=4674;POINT (-39.013647 -3.382823)'))) / (select extract(epoch from '2026-08-10 16:35:30'::timestamp) - extract(epoch from '2026-08-10 16:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013655 -3.382865)'), GeomFromEWKT('SRID=4674;POINT (-39.013647 -3.382823)'))) / (select extract(epoch from '2026-08-10 16:35:30'::timestamp) - extract(epoch from '2026-08-10 16:35:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013624 -3.382778)', '2026-08-10 16:35:33', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013647 -3.382823)'), GeomFromEWKT('SRID=4674;POINT (-39.013624 -3.382778)'))) / (select extract(epoch from '2026-08-10 16:35:33'::timestamp) - extract(epoch from '2026-08-10 16:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013647 -3.382823)'), GeomFromEWKT('SRID=4674;POINT (-39.013624 -3.382778)'))) / (select extract(epoch from '2026-08-10 16:35:33'::timestamp) - extract(epoch from '2026-08-10 16:35:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013586 -3.382709)', '2026-08-10 16:35:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013624 -3.382778)'), GeomFromEWKT('SRID=4674;POINT (-39.013586 -3.382709)'))) / (select extract(epoch from '2026-08-10 16:35:37'::timestamp) - extract(epoch from '2026-08-10 16:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013624 -3.382778)'), GeomFromEWKT('SRID=4674;POINT (-39.013586 -3.382709)'))) / (select extract(epoch from '2026-08-10 16:35:37'::timestamp) - extract(epoch from '2026-08-10 16:35: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'), 48138, 'SRID=4674;POINT (-39.013573 -3.382674)', '2026-08-10 16:35:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013586 -3.382709)'), GeomFromEWKT('SRID=4674;POINT (-39.013573 -3.382674)'))) / (select extract(epoch from '2026-08-10 16:35:39'::timestamp) - extract(epoch from '2026-08-10 16:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013586 -3.382709)'), GeomFromEWKT('SRID=4674;POINT (-39.013573 -3.382674)'))) / (select extract(epoch from '2026-08-10 16:35:39'::timestamp) - extract(epoch from '2026-08-10 16:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013557 -3.382639)', '2026-08-10 16:35:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013573 -3.382674)'), GeomFromEWKT('SRID=4674;POINT (-39.013557 -3.382639)'))) / (select extract(epoch from '2026-08-10 16:35:41'::timestamp) - extract(epoch from '2026-08-10 16:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013573 -3.382674)'), GeomFromEWKT('SRID=4674;POINT (-39.013557 -3.382639)'))) / (select extract(epoch from '2026-08-10 16:35:41'::timestamp) - extract(epoch from '2026-08-10 16:35: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'), 48138, 'SRID=4674;POINT (-39.013514 -3.382561)', '2026-08-10 16:35:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013557 -3.382639)'), GeomFromEWKT('SRID=4674;POINT (-39.013514 -3.382561)'))) / (select extract(epoch from '2026-08-10 16:35:46'::timestamp) - extract(epoch from '2026-08-10 16:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013557 -3.382639)'), GeomFromEWKT('SRID=4674;POINT (-39.013514 -3.382561)'))) / (select extract(epoch from '2026-08-10 16:35:46'::timestamp) - extract(epoch from '2026-08-10 16:35: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'), 48138, 'SRID=4674;POINT (-39.013489 -3.382518)', '2026-08-10 16:35:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013514 -3.382561)'), GeomFromEWKT('SRID=4674;POINT (-39.013489 -3.382518)'))) / (select extract(epoch from '2026-08-10 16:35:49'::timestamp) - extract(epoch from '2026-08-10 16:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013514 -3.382561)'), GeomFromEWKT('SRID=4674;POINT (-39.013489 -3.382518)'))) / (select extract(epoch from '2026-08-10 16:35:49'::timestamp) - extract(epoch from '2026-08-10 16:35:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013472 -3.38248)', '2026-08-10 16:35:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013489 -3.382518)'), GeomFromEWKT('SRID=4674;POINT (-39.013472 -3.38248)'))) / (select extract(epoch from '2026-08-10 16:35:51'::timestamp) - extract(epoch from '2026-08-10 16:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013489 -3.382518)'), GeomFromEWKT('SRID=4674;POINT (-39.013472 -3.38248)'))) / (select extract(epoch from '2026-08-10 16:35:51'::timestamp) - extract(epoch from '2026-08-10 16:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013453 -3.382431)', '2026-08-10 16:35:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013472 -3.38248)'), GeomFromEWKT('SRID=4674;POINT (-39.013453 -3.382431)'))) / (select extract(epoch from '2026-08-10 16:35:54'::timestamp) - extract(epoch from '2026-08-10 16:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013472 -3.38248)'), GeomFromEWKT('SRID=4674;POINT (-39.013453 -3.382431)'))) / (select extract(epoch from '2026-08-10 16:35:54'::timestamp) - extract(epoch from '2026-08-10 16:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013441 -3.382404)', '2026-08-10 16:35:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013453 -3.382431)'), GeomFromEWKT('SRID=4674;POINT (-39.013441 -3.382404)'))) / (select extract(epoch from '2026-08-10 16:35:56'::timestamp) - extract(epoch from '2026-08-10 16:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013453 -3.382431)'), GeomFromEWKT('SRID=4674;POINT (-39.013441 -3.382404)'))) / (select extract(epoch from '2026-08-10 16:35:56'::timestamp) - extract(epoch from '2026-08-10 16:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013428 -3.382357)', '2026-08-10 16:35:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013441 -3.382404)'), GeomFromEWKT('SRID=4674;POINT (-39.013428 -3.382357)'))) / (select extract(epoch from '2026-08-10 16:35:59'::timestamp) - extract(epoch from '2026-08-10 16:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013441 -3.382404)'), GeomFromEWKT('SRID=4674;POINT (-39.013428 -3.382357)'))) / (select extract(epoch from '2026-08-10 16:35:59'::timestamp) - extract(epoch from '2026-08-10 16:35: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'), 48138, 'SRID=4674;POINT (-39.01341 -3.382316)', '2026-08-10 16:36:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013428 -3.382357)'), GeomFromEWKT('SRID=4674;POINT (-39.01341 -3.382316)'))) / (select extract(epoch from '2026-08-10 16:36:01'::timestamp) - extract(epoch from '2026-08-10 16:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013428 -3.382357)'), GeomFromEWKT('SRID=4674;POINT (-39.01341 -3.382316)'))) / (select extract(epoch from '2026-08-10 16:36:01'::timestamp) - extract(epoch from '2026-08-10 16:35: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'), 48138, 'SRID=4674;POINT (-39.013364 -3.382217)', '2026-08-10 16:36:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01341 -3.382316)'), GeomFromEWKT('SRID=4674;POINT (-39.013364 -3.382217)'))) / (select extract(epoch from '2026-08-10 16:36:07'::timestamp) - extract(epoch from '2026-08-10 16:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01341 -3.382316)'), GeomFromEWKT('SRID=4674;POINT (-39.013364 -3.382217)'))) / (select extract(epoch from '2026-08-10 16:36:07'::timestamp) - extract(epoch from '2026-08-10 16:36: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'), 48138, 'SRID=4674;POINT (-39.013325 -3.38212)', '2026-08-10 16:36:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013364 -3.382217)'), GeomFromEWKT('SRID=4674;POINT (-39.013325 -3.38212)'))) / (select extract(epoch from '2026-08-10 16:36:13'::timestamp) - extract(epoch from '2026-08-10 16:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013364 -3.382217)'), GeomFromEWKT('SRID=4674;POINT (-39.013325 -3.38212)'))) / (select extract(epoch from '2026-08-10 16:36:13'::timestamp) - extract(epoch from '2026-08-10 16:36: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'), 48138, 'SRID=4674;POINT (-39.013314 -3.382085)', '2026-08-10 16:36:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013325 -3.38212)'), GeomFromEWKT('SRID=4674;POINT (-39.013314 -3.382085)'))) / (select extract(epoch from '2026-08-10 16:36:15'::timestamp) - extract(epoch from '2026-08-10 16:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013325 -3.38212)'), GeomFromEWKT('SRID=4674;POINT (-39.013314 -3.382085)'))) / (select extract(epoch from '2026-08-10 16:36:15'::timestamp) - extract(epoch from '2026-08-10 16:36: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'), 48138, 'SRID=4674;POINT (-39.013308 -3.382053)', '2026-08-10 16:36:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013314 -3.382085)'), GeomFromEWKT('SRID=4674;POINT (-39.013308 -3.382053)'))) / (select extract(epoch from '2026-08-10 16:36:17'::timestamp) - extract(epoch from '2026-08-10 16:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013314 -3.382085)'), GeomFromEWKT('SRID=4674;POINT (-39.013308 -3.382053)'))) / (select extract(epoch from '2026-08-10 16:36:17'::timestamp) - extract(epoch from '2026-08-10 16:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013285 -3.381991)', '2026-08-10 16:36:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013308 -3.382053)'), GeomFromEWKT('SRID=4674;POINT (-39.013285 -3.381991)'))) / (select extract(epoch from '2026-08-10 16:36:21'::timestamp) - extract(epoch from '2026-08-10 16:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013308 -3.382053)'), GeomFromEWKT('SRID=4674;POINT (-39.013285 -3.381991)'))) / (select extract(epoch from '2026-08-10 16:36:21'::timestamp) - extract(epoch from '2026-08-10 16:36: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'), 48138, 'SRID=4674;POINT (-39.013281 -3.381976)', '2026-08-10 16:36:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013285 -3.381991)'), GeomFromEWKT('SRID=4674;POINT (-39.013281 -3.381976)'))) / (select extract(epoch from '2026-08-10 16:36:22'::timestamp) - extract(epoch from '2026-08-10 16:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013285 -3.381991)'), GeomFromEWKT('SRID=4674;POINT (-39.013281 -3.381976)'))) / (select extract(epoch from '2026-08-10 16:36:22'::timestamp) - extract(epoch from '2026-08-10 16:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013235 -3.381872)', '2026-08-10 16:36:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013281 -3.381976)'), GeomFromEWKT('SRID=4674;POINT (-39.013235 -3.381872)'))) / (select extract(epoch from '2026-08-10 16:36:28'::timestamp) - extract(epoch from '2026-08-10 16:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013281 -3.381976)'), GeomFromEWKT('SRID=4674;POINT (-39.013235 -3.381872)'))) / (select extract(epoch from '2026-08-10 16:36:28'::timestamp) - extract(epoch from '2026-08-10 16:36: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'), 48138, 'SRID=4674;POINT (-39.013182 -3.381774)', '2026-08-10 16:36:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013235 -3.381872)'), GeomFromEWKT('SRID=4674;POINT (-39.013182 -3.381774)'))) / (select extract(epoch from '2026-08-10 16:36:34'::timestamp) - extract(epoch from '2026-08-10 16:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013235 -3.381872)'), GeomFromEWKT('SRID=4674;POINT (-39.013182 -3.381774)'))) / (select extract(epoch from '2026-08-10 16:36:34'::timestamp) - extract(epoch from '2026-08-10 16:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013128 -3.381656)', '2026-08-10 16:36:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013182 -3.381774)'), GeomFromEWKT('SRID=4674;POINT (-39.013128 -3.381656)'))) / (select extract(epoch from '2026-08-10 16:36:41'::timestamp) - extract(epoch from '2026-08-10 16:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013182 -3.381774)'), GeomFromEWKT('SRID=4674;POINT (-39.013128 -3.381656)'))) / (select extract(epoch from '2026-08-10 16:36:41'::timestamp) - extract(epoch from '2026-08-10 16:36: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'), 48138, 'SRID=4674;POINT (-39.013071 -3.38156)', '2026-08-10 16:36:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013128 -3.381656)'), GeomFromEWKT('SRID=4674;POINT (-39.013071 -3.38156)'))) / (select extract(epoch from '2026-08-10 16:36:47'::timestamp) - extract(epoch from '2026-08-10 16:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013128 -3.381656)'), GeomFromEWKT('SRID=4674;POINT (-39.013071 -3.38156)'))) / (select extract(epoch from '2026-08-10 16:36:47'::timestamp) - extract(epoch from '2026-08-10 16:36: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'), 48138, 'SRID=4674;POINT (-39.013025 -3.38146)', '2026-08-10 16:36:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013071 -3.38156)'), GeomFromEWKT('SRID=4674;POINT (-39.013025 -3.38146)'))) / (select extract(epoch from '2026-08-10 16:36:53'::timestamp) - extract(epoch from '2026-08-10 16:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013071 -3.38156)'), GeomFromEWKT('SRID=4674;POINT (-39.013025 -3.38146)'))) / (select extract(epoch from '2026-08-10 16:36:53'::timestamp) - extract(epoch from '2026-08-10 16:36: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'), 48138, 'SRID=4674;POINT (-39.01299 -3.381379)', '2026-08-10 16:36:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013025 -3.38146)'), GeomFromEWKT('SRID=4674;POINT (-39.01299 -3.381379)'))) / (select extract(epoch from '2026-08-10 16:36:58'::timestamp) - extract(epoch from '2026-08-10 16:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013025 -3.38146)'), GeomFromEWKT('SRID=4674;POINT (-39.01299 -3.381379)'))) / (select extract(epoch from '2026-08-10 16:36:58'::timestamp) - extract(epoch from '2026-08-10 16:36: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'), 48138, 'SRID=4674;POINT (-39.012944 -3.381296)', '2026-08-10 16:37:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01299 -3.381379)'), GeomFromEWKT('SRID=4674;POINT (-39.012944 -3.381296)'))) / (select extract(epoch from '2026-08-10 16:37:03'::timestamp) - extract(epoch from '2026-08-10 16:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01299 -3.381379)'), GeomFromEWKT('SRID=4674;POINT (-39.012944 -3.381296)'))) / (select extract(epoch from '2026-08-10 16:37:03'::timestamp) - extract(epoch from '2026-08-10 16:36: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'), 48138, 'SRID=4674;POINT (-39.012898 -3.381217)', '2026-08-10 16:37:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012944 -3.381296)'), GeomFromEWKT('SRID=4674;POINT (-39.012898 -3.381217)'))) / (select extract(epoch from '2026-08-10 16:37:08'::timestamp) - extract(epoch from '2026-08-10 16:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012944 -3.381296)'), GeomFromEWKT('SRID=4674;POINT (-39.012898 -3.381217)'))) / (select extract(epoch from '2026-08-10 16:37:08'::timestamp) - extract(epoch from '2026-08-10 16:37: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'), 48138, 'SRID=4674;POINT (-39.012869 -3.381153)', '2026-08-10 16:37:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012898 -3.381217)'), GeomFromEWKT('SRID=4674;POINT (-39.012869 -3.381153)'))) / (select extract(epoch from '2026-08-10 16:37:12'::timestamp) - extract(epoch from '2026-08-10 16:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012898 -3.381217)'), GeomFromEWKT('SRID=4674;POINT (-39.012869 -3.381153)'))) / (select extract(epoch from '2026-08-10 16:37:12'::timestamp) - extract(epoch from '2026-08-10 16:37: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'), 48138, 'SRID=4674;POINT (-39.012856 -3.381121)', '2026-08-10 16:37:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012869 -3.381153)'), GeomFromEWKT('SRID=4674;POINT (-39.012856 -3.381121)'))) / (select extract(epoch from '2026-08-10 16:37:14'::timestamp) - extract(epoch from '2026-08-10 16:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012869 -3.381153)'), GeomFromEWKT('SRID=4674;POINT (-39.012856 -3.381121)'))) / (select extract(epoch from '2026-08-10 16:37:14'::timestamp) - extract(epoch from '2026-08-10 16:37: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'), 48138, 'SRID=4674;POINT (-39.012834 -3.381075)', '2026-08-10 16:37:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012856 -3.381121)'), GeomFromEWKT('SRID=4674;POINT (-39.012834 -3.381075)'))) / (select extract(epoch from '2026-08-10 16:37:17'::timestamp) - extract(epoch from '2026-08-10 16:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012856 -3.381121)'), GeomFromEWKT('SRID=4674;POINT (-39.012834 -3.381075)'))) / (select extract(epoch from '2026-08-10 16:37:17'::timestamp) - extract(epoch from '2026-08-10 16:37: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'), 48138, 'SRID=4674;POINT (-39.012791 -3.380999)', '2026-08-10 16:37:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012834 -3.381075)'), GeomFromEWKT('SRID=4674;POINT (-39.012791 -3.380999)'))) / (select extract(epoch from '2026-08-10 16:37:22'::timestamp) - extract(epoch from '2026-08-10 16:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012834 -3.381075)'), GeomFromEWKT('SRID=4674;POINT (-39.012791 -3.380999)'))) / (select extract(epoch from '2026-08-10 16:37:22'::timestamp) - extract(epoch from '2026-08-10 16:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012746 -3.380901)', '2026-08-10 16:37:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012791 -3.380999)'), GeomFromEWKT('SRID=4674;POINT (-39.012746 -3.380901)'))) / (select extract(epoch from '2026-08-10 16:37:28'::timestamp) - extract(epoch from '2026-08-10 16:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012791 -3.380999)'), GeomFromEWKT('SRID=4674;POINT (-39.012746 -3.380901)'))) / (select extract(epoch from '2026-08-10 16:37:28'::timestamp) - extract(epoch from '2026-08-10 16:37:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012701 -3.380814)', '2026-08-10 16:37:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012746 -3.380901)'), GeomFromEWKT('SRID=4674;POINT (-39.012701 -3.380814)'))) / (select extract(epoch from '2026-08-10 16:37:33'::timestamp) - extract(epoch from '2026-08-10 16:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012746 -3.380901)'), GeomFromEWKT('SRID=4674;POINT (-39.012701 -3.380814)'))) / (select extract(epoch from '2026-08-10 16:37:33'::timestamp) - extract(epoch from '2026-08-10 16:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012661 -3.380751)', '2026-08-10 16:37:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012701 -3.380814)'), GeomFromEWKT('SRID=4674;POINT (-39.012661 -3.380751)'))) / (select extract(epoch from '2026-08-10 16:37:37'::timestamp) - extract(epoch from '2026-08-10 16:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012701 -3.380814)'), GeomFromEWKT('SRID=4674;POINT (-39.012661 -3.380751)'))) / (select extract(epoch from '2026-08-10 16:37:37'::timestamp) - extract(epoch from '2026-08-10 16:37: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'), 48138, 'SRID=4674;POINT (-39.012612 -3.380682)', '2026-08-10 16:37:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012661 -3.380751)'), GeomFromEWKT('SRID=4674;POINT (-39.012612 -3.380682)'))) / (select extract(epoch from '2026-08-10 16:37:42'::timestamp) - extract(epoch from '2026-08-10 16:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012661 -3.380751)'), GeomFromEWKT('SRID=4674;POINT (-39.012612 -3.380682)'))) / (select extract(epoch from '2026-08-10 16:37:42'::timestamp) - extract(epoch from '2026-08-10 16:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012556 -3.38057)', '2026-08-10 16:37:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012612 -3.380682)'), GeomFromEWKT('SRID=4674;POINT (-39.012556 -3.38057)'))) / (select extract(epoch from '2026-08-10 16:37:48'::timestamp) - extract(epoch from '2026-08-10 16:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012612 -3.380682)'), GeomFromEWKT('SRID=4674;POINT (-39.012556 -3.38057)'))) / (select extract(epoch from '2026-08-10 16:37:48'::timestamp) - extract(epoch from '2026-08-10 16:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012514 -3.380447)', '2026-08-10 16:37:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012556 -3.38057)'), GeomFromEWKT('SRID=4674;POINT (-39.012514 -3.380447)'))) / (select extract(epoch from '2026-08-10 16:37:55'::timestamp) - extract(epoch from '2026-08-10 16:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012556 -3.38057)'), GeomFromEWKT('SRID=4674;POINT (-39.012514 -3.380447)'))) / (select extract(epoch from '2026-08-10 16:37:55'::timestamp) - extract(epoch from '2026-08-10 16:37: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'), 48138, 'SRID=4674;POINT (-39.012467 -3.380346)', '2026-08-10 16:38:01', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012514 -3.380447)'), GeomFromEWKT('SRID=4674;POINT (-39.012467 -3.380346)'))) / (select extract(epoch from '2026-08-10 16:38:01'::timestamp) - extract(epoch from '2026-08-10 16:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012514 -3.380447)'), GeomFromEWKT('SRID=4674;POINT (-39.012467 -3.380346)'))) / (select extract(epoch from '2026-08-10 16:38:01'::timestamp) - extract(epoch from '2026-08-10 16:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012456 -3.380308)', '2026-08-10 16:38:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012467 -3.380346)'), GeomFromEWKT('SRID=4674;POINT (-39.012456 -3.380308)'))) / (select extract(epoch from '2026-08-10 16:38:03'::timestamp) - extract(epoch from '2026-08-10 16:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012467 -3.380346)'), GeomFromEWKT('SRID=4674;POINT (-39.012456 -3.380308)'))) / (select extract(epoch from '2026-08-10 16:38:03'::timestamp) - extract(epoch from '2026-08-10 16:38: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'), 48138, 'SRID=4674;POINT (-39.012437 -3.380272)', '2026-08-10 16:38:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012456 -3.380308)'), GeomFromEWKT('SRID=4674;POINT (-39.012437 -3.380272)'))) / (select extract(epoch from '2026-08-10 16:38:05'::timestamp) - extract(epoch from '2026-08-10 16:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012456 -3.380308)'), GeomFromEWKT('SRID=4674;POINT (-39.012437 -3.380272)'))) / (select extract(epoch from '2026-08-10 16:38:05'::timestamp) - extract(epoch from '2026-08-10 16:38:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012397 -3.380192)', '2026-08-10 16:38:10', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012437 -3.380272)'), GeomFromEWKT('SRID=4674;POINT (-39.012397 -3.380192)'))) / (select extract(epoch from '2026-08-10 16:38:10'::timestamp) - extract(epoch from '2026-08-10 16:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012437 -3.380272)'), GeomFromEWKT('SRID=4674;POINT (-39.012397 -3.380192)'))) / (select extract(epoch from '2026-08-10 16:38:10'::timestamp) - extract(epoch from '2026-08-10 16:38: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'), 48138, 'SRID=4674;POINT (-39.012357 -3.380112)', '2026-08-10 16:38:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012397 -3.380192)'), GeomFromEWKT('SRID=4674;POINT (-39.012357 -3.380112)'))) / (select extract(epoch from '2026-08-10 16:38:15'::timestamp) - extract(epoch from '2026-08-10 16:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012397 -3.380192)'), GeomFromEWKT('SRID=4674;POINT (-39.012357 -3.380112)'))) / (select extract(epoch from '2026-08-10 16:38:15'::timestamp) - extract(epoch from '2026-08-10 16:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012344 -3.380076)', '2026-08-10 16:38:17', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012357 -3.380112)'), GeomFromEWKT('SRID=4674;POINT (-39.012344 -3.380076)'))) / (select extract(epoch from '2026-08-10 16:38:17'::timestamp) - extract(epoch from '2026-08-10 16:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012357 -3.380112)'), GeomFromEWKT('SRID=4674;POINT (-39.012344 -3.380076)'))) / (select extract(epoch from '2026-08-10 16:38:17'::timestamp) - extract(epoch from '2026-08-10 16:38: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'), 48138, 'SRID=4674;POINT (-39.012325 -3.380042)', '2026-08-10 16:38:19', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012344 -3.380076)'), GeomFromEWKT('SRID=4674;POINT (-39.012325 -3.380042)'))) / (select extract(epoch from '2026-08-10 16:38:19'::timestamp) - extract(epoch from '2026-08-10 16:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012344 -3.380076)'), GeomFromEWKT('SRID=4674;POINT (-39.012325 -3.380042)'))) / (select extract(epoch from '2026-08-10 16:38:19'::timestamp) - extract(epoch from '2026-08-10 16:38: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'), 48138, 'SRID=4674;POINT (-39.012276 -3.379952)', '2026-08-10 16:38:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012325 -3.380042)'), GeomFromEWKT('SRID=4674;POINT (-39.012276 -3.379952)'))) / (select extract(epoch from '2026-08-10 16:38:25'::timestamp) - extract(epoch from '2026-08-10 16:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012325 -3.380042)'), GeomFromEWKT('SRID=4674;POINT (-39.012276 -3.379952)'))) / (select extract(epoch from '2026-08-10 16:38:25'::timestamp) - extract(epoch from '2026-08-10 16:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012259 -3.379923)', '2026-08-10 16:38:27', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012276 -3.379952)'), GeomFromEWKT('SRID=4674;POINT (-39.012259 -3.379923)'))) / (select extract(epoch from '2026-08-10 16:38:27'::timestamp) - extract(epoch from '2026-08-10 16:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012276 -3.379952)'), GeomFromEWKT('SRID=4674;POINT (-39.012259 -3.379923)'))) / (select extract(epoch from '2026-08-10 16:38:27'::timestamp) - extract(epoch from '2026-08-10 16:38:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012222 -3.379875)', '2026-08-10 16:38:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012259 -3.379923)'), GeomFromEWKT('SRID=4674;POINT (-39.012222 -3.379875)'))) / (select extract(epoch from '2026-08-10 16:38:30'::timestamp) - extract(epoch from '2026-08-10 16:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012259 -3.379923)'), GeomFromEWKT('SRID=4674;POINT (-39.012222 -3.379875)'))) / (select extract(epoch from '2026-08-10 16:38:30'::timestamp) - extract(epoch from '2026-08-10 16:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012178 -3.379795)', '2026-08-10 16:38:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012222 -3.379875)'), GeomFromEWKT('SRID=4674;POINT (-39.012178 -3.379795)'))) / (select extract(epoch from '2026-08-10 16:38:35'::timestamp) - extract(epoch from '2026-08-10 16:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012222 -3.379875)'), GeomFromEWKT('SRID=4674;POINT (-39.012178 -3.379795)'))) / (select extract(epoch from '2026-08-10 16:38:35'::timestamp) - extract(epoch from '2026-08-10 16:38: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'), 48138, 'SRID=4674;POINT (-39.012132 -3.379716)', '2026-08-10 16:38:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012178 -3.379795)'), GeomFromEWKT('SRID=4674;POINT (-39.012132 -3.379716)'))) / (select extract(epoch from '2026-08-10 16:38:40'::timestamp) - extract(epoch from '2026-08-10 16:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012178 -3.379795)'), GeomFromEWKT('SRID=4674;POINT (-39.012132 -3.379716)'))) / (select extract(epoch from '2026-08-10 16:38:40'::timestamp) - extract(epoch from '2026-08-10 16:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012114 -3.379668)', '2026-08-10 16:38:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012132 -3.379716)'), GeomFromEWKT('SRID=4674;POINT (-39.012114 -3.379668)'))) / (select extract(epoch from '2026-08-10 16:38:43'::timestamp) - extract(epoch from '2026-08-10 16:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012132 -3.379716)'), GeomFromEWKT('SRID=4674;POINT (-39.012114 -3.379668)'))) / (select extract(epoch from '2026-08-10 16:38:43'::timestamp) - extract(epoch from '2026-08-10 16:38: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'), 48138, 'SRID=4674;POINT (-39.012104 -3.379639)', '2026-08-10 16:38:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012114 -3.379668)'), GeomFromEWKT('SRID=4674;POINT (-39.012104 -3.379639)'))) / (select extract(epoch from '2026-08-10 16:38:45'::timestamp) - extract(epoch from '2026-08-10 16:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012114 -3.379668)'), GeomFromEWKT('SRID=4674;POINT (-39.012104 -3.379639)'))) / (select extract(epoch from '2026-08-10 16:38:45'::timestamp) - extract(epoch from '2026-08-10 16:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012066 -3.37956)', '2026-08-10 16:38:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012104 -3.379639)'), GeomFromEWKT('SRID=4674;POINT (-39.012066 -3.37956)'))) / (select extract(epoch from '2026-08-10 16:38:51'::timestamp) - extract(epoch from '2026-08-10 16:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012104 -3.379639)'), GeomFromEWKT('SRID=4674;POINT (-39.012066 -3.37956)'))) / (select extract(epoch from '2026-08-10 16:38:51'::timestamp) - extract(epoch from '2026-08-10 16:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012021 -3.379467)', '2026-08-10 16:38:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012066 -3.37956)'), GeomFromEWKT('SRID=4674;POINT (-39.012021 -3.379467)'))) / (select extract(epoch from '2026-08-10 16:38:57'::timestamp) - extract(epoch from '2026-08-10 16:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012066 -3.37956)'), GeomFromEWKT('SRID=4674;POINT (-39.012021 -3.379467)'))) / (select extract(epoch from '2026-08-10 16:38:57'::timestamp) - extract(epoch from '2026-08-10 16:38: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'), 48138, 'SRID=4674;POINT (-39.011965 -3.379358)', '2026-08-10 16:39:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012021 -3.379467)'), GeomFromEWKT('SRID=4674;POINT (-39.011965 -3.379358)'))) / (select extract(epoch from '2026-08-10 16:39:04'::timestamp) - extract(epoch from '2026-08-10 16:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012021 -3.379467)'), GeomFromEWKT('SRID=4674;POINT (-39.011965 -3.379358)'))) / (select extract(epoch from '2026-08-10 16:39:04'::timestamp) - extract(epoch from '2026-08-10 16:38: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'), 48138, 'SRID=4674;POINT (-39.011955 -3.379325)', '2026-08-10 16:39:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011965 -3.379358)'), GeomFromEWKT('SRID=4674;POINT (-39.011955 -3.379325)'))) / (select extract(epoch from '2026-08-10 16:39:06'::timestamp) - extract(epoch from '2026-08-10 16:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011965 -3.379358)'), GeomFromEWKT('SRID=4674;POINT (-39.011955 -3.379325)'))) / (select extract(epoch from '2026-08-10 16:39:06'::timestamp) - extract(epoch from '2026-08-10 16:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01195 -3.379291)', '2026-08-10 16:39:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011955 -3.379325)'), GeomFromEWKT('SRID=4674;POINT (-39.01195 -3.379291)'))) / (select extract(epoch from '2026-08-10 16:39:08'::timestamp) - extract(epoch from '2026-08-10 16:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011955 -3.379325)'), GeomFromEWKT('SRID=4674;POINT (-39.01195 -3.379291)'))) / (select extract(epoch from '2026-08-10 16:39:08'::timestamp) - extract(epoch from '2026-08-10 16:39: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'), 48138, 'SRID=4674;POINT (-39.011923 -3.379203)', '2026-08-10 16:39:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01195 -3.379291)'), GeomFromEWKT('SRID=4674;POINT (-39.011923 -3.379203)'))) / (select extract(epoch from '2026-08-10 16:39:13'::timestamp) - extract(epoch from '2026-08-10 16:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01195 -3.379291)'), GeomFromEWKT('SRID=4674;POINT (-39.011923 -3.379203)'))) / (select extract(epoch from '2026-08-10 16:39:13'::timestamp) - extract(epoch from '2026-08-10 16:39: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'), 48138, 'SRID=4674;POINT (-39.01191 -3.379152)', '2026-08-10 16:39:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011923 -3.379203)'), GeomFromEWKT('SRID=4674;POINT (-39.01191 -3.379152)'))) / (select extract(epoch from '2026-08-10 16:39:16'::timestamp) - extract(epoch from '2026-08-10 16:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011923 -3.379203)'), GeomFromEWKT('SRID=4674;POINT (-39.01191 -3.379152)'))) / (select extract(epoch from '2026-08-10 16:39:16'::timestamp) - extract(epoch from '2026-08-10 16:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011899 -3.379116)', '2026-08-10 16:39:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01191 -3.379152)'), GeomFromEWKT('SRID=4674;POINT (-39.011899 -3.379116)'))) / (select extract(epoch from '2026-08-10 16:39:18'::timestamp) - extract(epoch from '2026-08-10 16:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01191 -3.379152)'), GeomFromEWKT('SRID=4674;POINT (-39.011899 -3.379116)'))) / (select extract(epoch from '2026-08-10 16:39:18'::timestamp) - extract(epoch from '2026-08-10 16:39: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'), 48138, 'SRID=4674;POINT (-39.011863 -3.379)', '2026-08-10 16:39:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011899 -3.379116)'), GeomFromEWKT('SRID=4674;POINT (-39.011863 -3.379)'))) / (select extract(epoch from '2026-08-10 16:39:24'::timestamp) - extract(epoch from '2026-08-10 16:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011899 -3.379116)'), GeomFromEWKT('SRID=4674;POINT (-39.011863 -3.379)'))) / (select extract(epoch from '2026-08-10 16:39:24'::timestamp) - extract(epoch from '2026-08-10 16:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011848 -3.378917)', '2026-08-10 16:39:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011863 -3.379)'), GeomFromEWKT('SRID=4674;POINT (-39.011848 -3.378917)'))) / (select extract(epoch from '2026-08-10 16:39:28'::timestamp) - extract(epoch from '2026-08-10 16:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011863 -3.379)'), GeomFromEWKT('SRID=4674;POINT (-39.011848 -3.378917)'))) / (select extract(epoch from '2026-08-10 16:39:28'::timestamp) - extract(epoch from '2026-08-10 16:39: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'), 48138, 'SRID=4674;POINT (-39.01181 -3.378783)', '2026-08-10 16:39:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011848 -3.378917)'), GeomFromEWKT('SRID=4674;POINT (-39.01181 -3.378783)'))) / (select extract(epoch from '2026-08-10 16:39:35'::timestamp) - extract(epoch from '2026-08-10 16:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011848 -3.378917)'), GeomFromEWKT('SRID=4674;POINT (-39.01181 -3.378783)'))) / (select extract(epoch from '2026-08-10 16:39:35'::timestamp) - extract(epoch from '2026-08-10 16:39: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'), 48138, 'SRID=4674;POINT (-39.011805 -3.378746)', '2026-08-10 16:39:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01181 -3.378783)'), GeomFromEWKT('SRID=4674;POINT (-39.011805 -3.378746)'))) / (select extract(epoch from '2026-08-10 16:39:37'::timestamp) - extract(epoch from '2026-08-10 16:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01181 -3.378783)'), GeomFromEWKT('SRID=4674;POINT (-39.011805 -3.378746)'))) / (select extract(epoch from '2026-08-10 16:39:37'::timestamp) - extract(epoch from '2026-08-10 16:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011795 -3.378687)', '2026-08-10 16:39:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011805 -3.378746)'), GeomFromEWKT('SRID=4674;POINT (-39.011795 -3.378687)'))) / (select extract(epoch from '2026-08-10 16:39:40'::timestamp) - extract(epoch from '2026-08-10 16:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011805 -3.378746)'), GeomFromEWKT('SRID=4674;POINT (-39.011795 -3.378687)'))) / (select extract(epoch from '2026-08-10 16:39:40'::timestamp) - extract(epoch from '2026-08-10 16:39: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'), 48138, 'SRID=4674;POINT (-39.011765 -3.378573)', '2026-08-10 16:39:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011795 -3.378687)'), GeomFromEWKT('SRID=4674;POINT (-39.011765 -3.378573)'))) / (select extract(epoch from '2026-08-10 16:39:46'::timestamp) - extract(epoch from '2026-08-10 16:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011795 -3.378687)'), GeomFromEWKT('SRID=4674;POINT (-39.011765 -3.378573)'))) / (select extract(epoch from '2026-08-10 16:39:46'::timestamp) - extract(epoch from '2026-08-10 16:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011763 -3.378513)', '2026-08-10 16:39:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011765 -3.378573)'), GeomFromEWKT('SRID=4674;POINT (-39.011763 -3.378513)'))) / (select extract(epoch from '2026-08-10 16:39:49'::timestamp) - extract(epoch from '2026-08-10 16:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011765 -3.378573)'), GeomFromEWKT('SRID=4674;POINT (-39.011763 -3.378513)'))) / (select extract(epoch from '2026-08-10 16:39:49'::timestamp) - extract(epoch from '2026-08-10 16:39: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'), 48138, 'SRID=4674;POINT (-39.011751 -3.378471)', '2026-08-10 16:39:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011763 -3.378513)'), GeomFromEWKT('SRID=4674;POINT (-39.011751 -3.378471)'))) / (select extract(epoch from '2026-08-10 16:39:51'::timestamp) - extract(epoch from '2026-08-10 16:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011763 -3.378513)'), GeomFromEWKT('SRID=4674;POINT (-39.011751 -3.378471)'))) / (select extract(epoch from '2026-08-10 16:39:51'::timestamp) - extract(epoch from '2026-08-10 16:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011752 -3.378391)', '2026-08-10 16:39:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011751 -3.378471)'), GeomFromEWKT('SRID=4674;POINT (-39.011752 -3.378391)'))) / (select extract(epoch from '2026-08-10 16:39:55'::timestamp) - extract(epoch from '2026-08-10 16:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011751 -3.378471)'), GeomFromEWKT('SRID=4674;POINT (-39.011752 -3.378391)'))) / (select extract(epoch from '2026-08-10 16:39:55'::timestamp) - extract(epoch from '2026-08-10 16:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011747 -3.378374)', '2026-08-10 16:39:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011752 -3.378391)'), GeomFromEWKT('SRID=4674;POINT (-39.011747 -3.378374)'))) / (select extract(epoch from '2026-08-10 16:39:56'::timestamp) - extract(epoch from '2026-08-10 16:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011752 -3.378391)'), GeomFromEWKT('SRID=4674;POINT (-39.011747 -3.378374)'))) / (select extract(epoch from '2026-08-10 16:39:56'::timestamp) - extract(epoch from '2026-08-10 16:39: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'), 48138, 'SRID=4674;POINT (-39.011736 -3.378311)', '2026-08-10 16:39:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011747 -3.378374)'), GeomFromEWKT('SRID=4674;POINT (-39.011736 -3.378311)'))) / (select extract(epoch from '2026-08-10 16:39:59'::timestamp) - extract(epoch from '2026-08-10 16:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011747 -3.378374)'), GeomFromEWKT('SRID=4674;POINT (-39.011736 -3.378311)'))) / (select extract(epoch from '2026-08-10 16:39:59'::timestamp) - extract(epoch from '2026-08-10 16:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011726 -3.378292)', '2026-08-10 16:40:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011736 -3.378311)'), GeomFromEWKT('SRID=4674;POINT (-39.011726 -3.378292)'))) / (select extract(epoch from '2026-08-10 16:40:00'::timestamp) - extract(epoch from '2026-08-10 16:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011736 -3.378311)'), GeomFromEWKT('SRID=4674;POINT (-39.011726 -3.378292)'))) / (select extract(epoch from '2026-08-10 16:40:00'::timestamp) - extract(epoch from '2026-08-10 16:39: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'), 48138, 'SRID=4674;POINT (-39.011692 -3.378204)', '2026-08-10 16:40:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011726 -3.378292)'), GeomFromEWKT('SRID=4674;POINT (-39.011692 -3.378204)'))) / (select extract(epoch from '2026-08-10 16:40:05'::timestamp) - extract(epoch from '2026-08-10 16:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011726 -3.378292)'), GeomFromEWKT('SRID=4674;POINT (-39.011692 -3.378204)'))) / (select extract(epoch from '2026-08-10 16:40:05'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011676 -3.37815)', '2026-08-10 16:40:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011692 -3.378204)'), GeomFromEWKT('SRID=4674;POINT (-39.011676 -3.37815)'))) / (select extract(epoch from '2026-08-10 16:40:08'::timestamp) - extract(epoch from '2026-08-10 16:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011692 -3.378204)'), GeomFromEWKT('SRID=4674;POINT (-39.011676 -3.37815)'))) / (select extract(epoch from '2026-08-10 16:40:08'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011656 -3.378118)', '2026-08-10 16:40:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011676 -3.37815)'), GeomFromEWKT('SRID=4674;POINT (-39.011656 -3.378118)'))) / (select extract(epoch from '2026-08-10 16:40:10'::timestamp) - extract(epoch from '2026-08-10 16:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011676 -3.37815)'), GeomFromEWKT('SRID=4674;POINT (-39.011656 -3.378118)'))) / (select extract(epoch from '2026-08-10 16:40:10'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011605 -3.378022)', '2026-08-10 16:40:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011656 -3.378118)'), GeomFromEWKT('SRID=4674;POINT (-39.011605 -3.378022)'))) / (select extract(epoch from '2026-08-10 16:40:16'::timestamp) - extract(epoch from '2026-08-10 16:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011656 -3.378118)'), GeomFromEWKT('SRID=4674;POINT (-39.011605 -3.378022)'))) / (select extract(epoch from '2026-08-10 16:40:16'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.01156 -3.377932)', '2026-08-10 16:40:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011605 -3.378022)'), GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.377932)'))) / (select extract(epoch from '2026-08-10 16:40:22'::timestamp) - extract(epoch from '2026-08-10 16:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011605 -3.378022)'), GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.377932)'))) / (select extract(epoch from '2026-08-10 16:40:22'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011532 -3.377885)', '2026-08-10 16:40:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.377932)'), GeomFromEWKT('SRID=4674;POINT (-39.011532 -3.377885)'))) / (select extract(epoch from '2026-08-10 16:40:25'::timestamp) - extract(epoch from '2026-08-10 16:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.377932)'), GeomFromEWKT('SRID=4674;POINT (-39.011532 -3.377885)'))) / (select extract(epoch from '2026-08-10 16:40:25'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011525 -3.377852)', '2026-08-10 16:40:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011532 -3.377885)'), GeomFromEWKT('SRID=4674;POINT (-39.011525 -3.377852)'))) / (select extract(epoch from '2026-08-10 16:40:27'::timestamp) - extract(epoch from '2026-08-10 16:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011532 -3.377885)'), GeomFromEWKT('SRID=4674;POINT (-39.011525 -3.377852)'))) / (select extract(epoch from '2026-08-10 16:40:27'::timestamp) - extract(epoch from '2026-08-10 16:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011498 -3.377798)', '2026-08-10 16:40:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011525 -3.377852)'), GeomFromEWKT('SRID=4674;POINT (-39.011498 -3.377798)'))) / (select extract(epoch from '2026-08-10 16:40:30'::timestamp) - extract(epoch from '2026-08-10 16:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011525 -3.377852)'), GeomFromEWKT('SRID=4674;POINT (-39.011498 -3.377798)'))) / (select extract(epoch from '2026-08-10 16:40:30'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011492 -3.377769)', '2026-08-10 16:40:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011498 -3.377798)'), GeomFromEWKT('SRID=4674;POINT (-39.011492 -3.377769)'))) / (select extract(epoch from '2026-08-10 16:40:32'::timestamp) - extract(epoch from '2026-08-10 16:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011498 -3.377798)'), GeomFromEWKT('SRID=4674;POINT (-39.011492 -3.377769)'))) / (select extract(epoch from '2026-08-10 16:40:32'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011464 -3.377699)', '2026-08-10 16:40:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011492 -3.377769)'), GeomFromEWKT('SRID=4674;POINT (-39.011464 -3.377699)'))) / (select extract(epoch from '2026-08-10 16:40:36'::timestamp) - extract(epoch from '2026-08-10 16:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011492 -3.377769)'), GeomFromEWKT('SRID=4674;POINT (-39.011464 -3.377699)'))) / (select extract(epoch from '2026-08-10 16:40:36'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011461 -3.37768)', '2026-08-10 16:40:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011464 -3.377699)'), GeomFromEWKT('SRID=4674;POINT (-39.011461 -3.37768)'))) / (select extract(epoch from '2026-08-10 16:40:37'::timestamp) - extract(epoch from '2026-08-10 16:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011464 -3.377699)'), GeomFromEWKT('SRID=4674;POINT (-39.011461 -3.37768)'))) / (select extract(epoch from '2026-08-10 16:40:37'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011419 -3.37759)', '2026-08-10 16:40:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011461 -3.37768)'), GeomFromEWKT('SRID=4674;POINT (-39.011419 -3.37759)'))) / (select extract(epoch from '2026-08-10 16:40:42'::timestamp) - extract(epoch from '2026-08-10 16:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011461 -3.37768)'), GeomFromEWKT('SRID=4674;POINT (-39.011419 -3.37759)'))) / (select extract(epoch from '2026-08-10 16:40:42'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011384 -3.37751)', '2026-08-10 16:40:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011419 -3.37759)'), GeomFromEWKT('SRID=4674;POINT (-39.011384 -3.37751)'))) / (select extract(epoch from '2026-08-10 16:40:47'::timestamp) - extract(epoch from '2026-08-10 16:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011419 -3.37759)'), GeomFromEWKT('SRID=4674;POINT (-39.011384 -3.37751)'))) / (select extract(epoch from '2026-08-10 16:40:47'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011361 -3.37746)', '2026-08-10 16:40:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011384 -3.37751)'), GeomFromEWKT('SRID=4674;POINT (-39.011361 -3.37746)'))) / (select extract(epoch from '2026-08-10 16:40:50'::timestamp) - extract(epoch from '2026-08-10 16:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011384 -3.37751)'), GeomFromEWKT('SRID=4674;POINT (-39.011361 -3.37746)'))) / (select extract(epoch from '2026-08-10 16:40:50'::timestamp) - extract(epoch from '2026-08-10 16:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011353 -3.377442)', '2026-08-10 16:40:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011361 -3.37746)'), GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.377442)'))) / (select extract(epoch from '2026-08-10 16:40:51'::timestamp) - extract(epoch from '2026-08-10 16:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011361 -3.37746)'), GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.377442)'))) / (select extract(epoch from '2026-08-10 16:40:51'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011348 -3.377413)', '2026-08-10 16:40:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.377442)'), GeomFromEWKT('SRID=4674;POINT (-39.011348 -3.377413)'))) / (select extract(epoch from '2026-08-10 16:40:53'::timestamp) - extract(epoch from '2026-08-10 16:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.377442)'), GeomFromEWKT('SRID=4674;POINT (-39.011348 -3.377413)'))) / (select extract(epoch from '2026-08-10 16:40:53'::timestamp) - extract(epoch from '2026-08-10 16:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011323 -3.377389)', '2026-08-10 16:40:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011348 -3.377413)'), GeomFromEWKT('SRID=4674;POINT (-39.011323 -3.377389)'))) / (select extract(epoch from '2026-08-10 16:40:55'::timestamp) - extract(epoch from '2026-08-10 16:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011348 -3.377413)'), GeomFromEWKT('SRID=4674;POINT (-39.011323 -3.377389)'))) / (select extract(epoch from '2026-08-10 16:40:55'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011263 -3.377304)', '2026-08-10 16:41:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011323 -3.377389)'), GeomFromEWKT('SRID=4674;POINT (-39.011263 -3.377304)'))) / (select extract(epoch from '2026-08-10 16:41:02'::timestamp) - extract(epoch from '2026-08-10 16:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011323 -3.377389)'), GeomFromEWKT('SRID=4674;POINT (-39.011263 -3.377304)'))) / (select extract(epoch from '2026-08-10 16:41:02'::timestamp) - extract(epoch from '2026-08-10 16:40: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'), 48138, 'SRID=4674;POINT (-39.011258 -3.377287)', '2026-08-10 16:41:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011263 -3.377304)'), GeomFromEWKT('SRID=4674;POINT (-39.011258 -3.377287)'))) / (select extract(epoch from '2026-08-10 16:41:03'::timestamp) - extract(epoch from '2026-08-10 16:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011263 -3.377304)'), GeomFromEWKT('SRID=4674;POINT (-39.011258 -3.377287)'))) / (select extract(epoch from '2026-08-10 16:41:03'::timestamp) - extract(epoch from '2026-08-10 16:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011251 -3.377255)', '2026-08-10 16:41:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011258 -3.377287)'), GeomFromEWKT('SRID=4674;POINT (-39.011251 -3.377255)'))) / (select extract(epoch from '2026-08-10 16:41:05'::timestamp) - extract(epoch from '2026-08-10 16:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011258 -3.377287)'), GeomFromEWKT('SRID=4674;POINT (-39.011251 -3.377255)'))) / (select extract(epoch from '2026-08-10 16:41:05'::timestamp) - extract(epoch from '2026-08-10 16:41: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'), 48138, 'SRID=4674;POINT (-39.011243 -3.377238)', '2026-08-10 16:41:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011251 -3.377255)'), GeomFromEWKT('SRID=4674;POINT (-39.011243 -3.377238)'))) / (select extract(epoch from '2026-08-10 16:41:06'::timestamp) - extract(epoch from '2026-08-10 16:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011251 -3.377255)'), GeomFromEWKT('SRID=4674;POINT (-39.011243 -3.377238)'))) / (select extract(epoch from '2026-08-10 16:41:06'::timestamp) - extract(epoch from '2026-08-10 16:41: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'), 48138, 'SRID=4674;POINT (-39.011203 -3.377138)', '2026-08-10 16:41:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011243 -3.377238)'), GeomFromEWKT('SRID=4674;POINT (-39.011203 -3.377138)'))) / (select extract(epoch from '2026-08-10 16:41:11'::timestamp) - extract(epoch from '2026-08-10 16:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011243 -3.377238)'), GeomFromEWKT('SRID=4674;POINT (-39.011203 -3.377138)'))) / (select extract(epoch from '2026-08-10 16:41:11'::timestamp) - extract(epoch from '2026-08-10 16:41: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'), 48138, 'SRID=4674;POINT (-39.011173 -3.37707)', '2026-08-10 16:41:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011203 -3.377138)'), GeomFromEWKT('SRID=4674;POINT (-39.011173 -3.37707)'))) / (select extract(epoch from '2026-08-10 16:41:15'::timestamp) - extract(epoch from '2026-08-10 16:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011203 -3.377138)'), GeomFromEWKT('SRID=4674;POINT (-39.011173 -3.37707)'))) / (select extract(epoch from '2026-08-10 16:41:15'::timestamp) - extract(epoch from '2026-08-10 16:41: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'), 48138, 'SRID=4674;POINT (-39.011137 -3.37698)', '2026-08-10 16:41:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011173 -3.37707)'), GeomFromEWKT('SRID=4674;POINT (-39.011137 -3.37698)'))) / (select extract(epoch from '2026-08-10 16:41:20'::timestamp) - extract(epoch from '2026-08-10 16:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011173 -3.37707)'), GeomFromEWKT('SRID=4674;POINT (-39.011137 -3.37698)'))) / (select extract(epoch from '2026-08-10 16:41:20'::timestamp) - extract(epoch from '2026-08-10 16:41: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'), 48138, 'SRID=4674;POINT (-39.011112 -3.376867)', '2026-08-10 16:41:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011137 -3.37698)'), GeomFromEWKT('SRID=4674;POINT (-39.011112 -3.376867)'))) / (select extract(epoch from '2026-08-10 16:41:26'::timestamp) - extract(epoch from '2026-08-10 16:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011137 -3.37698)'), GeomFromEWKT('SRID=4674;POINT (-39.011112 -3.376867)'))) / (select extract(epoch from '2026-08-10 16:41:26'::timestamp) - extract(epoch from '2026-08-10 16:41: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'), 48138, 'SRID=4674;POINT (-39.011099 -3.37679)', '2026-08-10 16:41:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011112 -3.376867)'), GeomFromEWKT('SRID=4674;POINT (-39.011099 -3.37679)'))) / (select extract(epoch from '2026-08-10 16:41:30'::timestamp) - extract(epoch from '2026-08-10 16:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011112 -3.376867)'), GeomFromEWKT('SRID=4674;POINT (-39.011099 -3.37679)'))) / (select extract(epoch from '2026-08-10 16:41:30'::timestamp) - extract(epoch from '2026-08-10 16:41: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'), 48138, 'SRID=4674;POINT (-39.011092 -3.376718)', '2026-08-10 16:41:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011099 -3.37679)'), GeomFromEWKT('SRID=4674;POINT (-39.011092 -3.376718)'))) / (select extract(epoch from '2026-08-10 16:41:34'::timestamp) - extract(epoch from '2026-08-10 16:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011099 -3.37679)'), GeomFromEWKT('SRID=4674;POINT (-39.011092 -3.376718)'))) / (select extract(epoch from '2026-08-10 16:41:34'::timestamp) - extract(epoch from '2026-08-10 16:41: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'), 48138, 'SRID=4674;POINT (-39.011098 -3.376605)', '2026-08-10 16:41:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011092 -3.376718)'), GeomFromEWKT('SRID=4674;POINT (-39.011098 -3.376605)'))) / (select extract(epoch from '2026-08-10 16:41:40'::timestamp) - extract(epoch from '2026-08-10 16:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011092 -3.376718)'), GeomFromEWKT('SRID=4674;POINT (-39.011098 -3.376605)'))) / (select extract(epoch from '2026-08-10 16:41:40'::timestamp) - extract(epoch from '2026-08-10 16:41: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'), 48138, 'SRID=4674;POINT (-39.011068 -3.376489)', '2026-08-10 16:41:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011098 -3.376605)'), GeomFromEWKT('SRID=4674;POINT (-39.011068 -3.376489)'))) / (select extract(epoch from '2026-08-10 16:41:46'::timestamp) - extract(epoch from '2026-08-10 16:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011098 -3.376605)'), GeomFromEWKT('SRID=4674;POINT (-39.011068 -3.376489)'))) / (select extract(epoch from '2026-08-10 16:41:46'::timestamp) - extract(epoch from '2026-08-10 16:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011042 -3.376376)', '2026-08-10 16:41:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011068 -3.376489)'), GeomFromEWKT('SRID=4674;POINT (-39.011042 -3.376376)'))) / (select extract(epoch from '2026-08-10 16:41:52'::timestamp) - extract(epoch from '2026-08-10 16:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011068 -3.376489)'), GeomFromEWKT('SRID=4674;POINT (-39.011042 -3.376376)'))) / (select extract(epoch from '2026-08-10 16:41:52'::timestamp) - extract(epoch from '2026-08-10 16:41: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'), 48138, 'SRID=4674;POINT (-39.010997 -3.376272)', '2026-08-10 16:41:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011042 -3.376376)'), GeomFromEWKT('SRID=4674;POINT (-39.010997 -3.376272)'))) / (select extract(epoch from '2026-08-10 16:41:58'::timestamp) - extract(epoch from '2026-08-10 16:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011042 -3.376376)'), GeomFromEWKT('SRID=4674;POINT (-39.010997 -3.376272)'))) / (select extract(epoch from '2026-08-10 16:41:58'::timestamp) - extract(epoch from '2026-08-10 16:41: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'), 48138, 'SRID=4674;POINT (-39.010968 -3.376169)', '2026-08-10 16:42:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010997 -3.376272)'), GeomFromEWKT('SRID=4674;POINT (-39.010968 -3.376169)'))) / (select extract(epoch from '2026-08-10 16:42:04'::timestamp) - extract(epoch from '2026-08-10 16:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010997 -3.376272)'), GeomFromEWKT('SRID=4674;POINT (-39.010968 -3.376169)'))) / (select extract(epoch from '2026-08-10 16:42:04'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.01095 -3.376106)', '2026-08-10 16:42:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010968 -3.376169)'), GeomFromEWKT('SRID=4674;POINT (-39.01095 -3.376106)'))) / (select extract(epoch from '2026-08-10 16:42:08'::timestamp) - extract(epoch from '2026-08-10 16:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010968 -3.376169)'), GeomFromEWKT('SRID=4674;POINT (-39.01095 -3.376106)'))) / (select extract(epoch from '2026-08-10 16:42:08'::timestamp) - extract(epoch from '2026-08-10 16:42: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'), 48138, 'SRID=4674;POINT (-39.010908 -3.375996)', '2026-08-10 16:42:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01095 -3.376106)'), GeomFromEWKT('SRID=4674;POINT (-39.010908 -3.375996)'))) / (select extract(epoch from '2026-08-10 16:42:15'::timestamp) - extract(epoch from '2026-08-10 16:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01095 -3.376106)'), GeomFromEWKT('SRID=4674;POINT (-39.010908 -3.375996)'))) / (select extract(epoch from '2026-08-10 16:42:15'::timestamp) - extract(epoch from '2026-08-10 16:42: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'), 48138, 'SRID=4674;POINT (-39.010884 -3.375908)', '2026-08-10 16:42:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010908 -3.375996)'), GeomFromEWKT('SRID=4674;POINT (-39.010884 -3.375908)'))) / (select extract(epoch from '2026-08-10 16:42:20'::timestamp) - extract(epoch from '2026-08-10 16:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010908 -3.375996)'), GeomFromEWKT('SRID=4674;POINT (-39.010884 -3.375908)'))) / (select extract(epoch from '2026-08-10 16:42:20'::timestamp) - extract(epoch from '2026-08-10 16:42: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'), 48138, 'SRID=4674;POINT (-39.010863 -3.375838)', '2026-08-10 16:42:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010884 -3.375908)'), GeomFromEWKT('SRID=4674;POINT (-39.010863 -3.375838)'))) / (select extract(epoch from '2026-08-10 16:42:24'::timestamp) - extract(epoch from '2026-08-10 16:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010884 -3.375908)'), GeomFromEWKT('SRID=4674;POINT (-39.010863 -3.375838)'))) / (select extract(epoch from '2026-08-10 16:42:24'::timestamp) - extract(epoch from '2026-08-10 16:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010839 -3.375745)', '2026-08-10 16:42:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010863 -3.375838)'), GeomFromEWKT('SRID=4674;POINT (-39.010839 -3.375745)'))) / (select extract(epoch from '2026-08-10 16:42:29'::timestamp) - extract(epoch from '2026-08-10 16:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010863 -3.375838)'), GeomFromEWKT('SRID=4674;POINT (-39.010839 -3.375745)'))) / (select extract(epoch from '2026-08-10 16:42:29'::timestamp) - extract(epoch from '2026-08-10 16:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010812 -3.375657)', '2026-08-10 16:42:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010839 -3.375745)'), GeomFromEWKT('SRID=4674;POINT (-39.010812 -3.375657)'))) / (select extract(epoch from '2026-08-10 16:42:34'::timestamp) - extract(epoch from '2026-08-10 16:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010839 -3.375745)'), GeomFromEWKT('SRID=4674;POINT (-39.010812 -3.375657)'))) / (select extract(epoch from '2026-08-10 16:42:34'::timestamp) - extract(epoch from '2026-08-10 16:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010765 -3.375543)', '2026-08-10 16:42:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010812 -3.375657)'), GeomFromEWKT('SRID=4674;POINT (-39.010765 -3.375543)'))) / (select extract(epoch from '2026-08-10 16:42:41'::timestamp) - extract(epoch from '2026-08-10 16:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010812 -3.375657)'), GeomFromEWKT('SRID=4674;POINT (-39.010765 -3.375543)'))) / (select extract(epoch from '2026-08-10 16:42:41'::timestamp) - extract(epoch from '2026-08-10 16:42:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010724 -3.375449)', '2026-08-10 16:42:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010765 -3.375543)'), GeomFromEWKT('SRID=4674;POINT (-39.010724 -3.375449)'))) / (select extract(epoch from '2026-08-10 16:42:47'::timestamp) - extract(epoch from '2026-08-10 16:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010765 -3.375543)'), GeomFromEWKT('SRID=4674;POINT (-39.010724 -3.375449)'))) / (select extract(epoch from '2026-08-10 16:42:47'::timestamp) - extract(epoch from '2026-08-10 16:42:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010694 -3.375341)', '2026-08-10 16:42:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010724 -3.375449)'), GeomFromEWKT('SRID=4674;POINT (-39.010694 -3.375341)'))) / (select extract(epoch from '2026-08-10 16:42:53'::timestamp) - extract(epoch from '2026-08-10 16:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010724 -3.375449)'), GeomFromEWKT('SRID=4674;POINT (-39.010694 -3.375341)'))) / (select extract(epoch from '2026-08-10 16:42:53'::timestamp) - extract(epoch from '2026-08-10 16:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01066 -3.375269)', '2026-08-10 16:42:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010694 -3.375341)'), GeomFromEWKT('SRID=4674;POINT (-39.01066 -3.375269)'))) / (select extract(epoch from '2026-08-10 16:42:57'::timestamp) - extract(epoch from '2026-08-10 16:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010694 -3.375341)'), GeomFromEWKT('SRID=4674;POINT (-39.01066 -3.375269)'))) / (select extract(epoch from '2026-08-10 16:42:57'::timestamp) - extract(epoch from '2026-08-10 16:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010629 -3.375203)', '2026-08-10 16:43:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01066 -3.375269)'), GeomFromEWKT('SRID=4674;POINT (-39.010629 -3.375203)'))) / (select extract(epoch from '2026-08-10 16:43:01'::timestamp) - extract(epoch from '2026-08-10 16:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01066 -3.375269)'), GeomFromEWKT('SRID=4674;POINT (-39.010629 -3.375203)'))) / (select extract(epoch from '2026-08-10 16:43:01'::timestamp) - extract(epoch from '2026-08-10 16:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010594 -3.375098)', '2026-08-10 16:43:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010629 -3.375203)'), GeomFromEWKT('SRID=4674;POINT (-39.010594 -3.375098)'))) / (select extract(epoch from '2026-08-10 16:43:07'::timestamp) - extract(epoch from '2026-08-10 16:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010629 -3.375203)'), GeomFromEWKT('SRID=4674;POINT (-39.010594 -3.375098)'))) / (select extract(epoch from '2026-08-10 16:43:07'::timestamp) - extract(epoch from '2026-08-10 16:43: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'), 48138, 'SRID=4674;POINT (-39.010562 -3.375007)', '2026-08-10 16:43:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010594 -3.375098)'), GeomFromEWKT('SRID=4674;POINT (-39.010562 -3.375007)'))) / (select extract(epoch from '2026-08-10 16:43:12'::timestamp) - extract(epoch from '2026-08-10 16:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010594 -3.375098)'), GeomFromEWKT('SRID=4674;POINT (-39.010562 -3.375007)'))) / (select extract(epoch from '2026-08-10 16:43:12'::timestamp) - extract(epoch from '2026-08-10 16:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010518 -3.374899)', '2026-08-10 16:43:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010562 -3.375007)'), GeomFromEWKT('SRID=4674;POINT (-39.010518 -3.374899)'))) / (select extract(epoch from '2026-08-10 16:43:18'::timestamp) - extract(epoch from '2026-08-10 16:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010562 -3.375007)'), GeomFromEWKT('SRID=4674;POINT (-39.010518 -3.374899)'))) / (select extract(epoch from '2026-08-10 16:43:18'::timestamp) - extract(epoch from '2026-08-10 16:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010452 -3.374729)', '2026-08-10 16:43:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010518 -3.374899)'), GeomFromEWKT('SRID=4674;POINT (-39.010452 -3.374729)'))) / (select extract(epoch from '2026-08-10 16:43:27'::timestamp) - extract(epoch from '2026-08-10 16:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010518 -3.374899)'), GeomFromEWKT('SRID=4674;POINT (-39.010452 -3.374729)'))) / (select extract(epoch from '2026-08-10 16:43:27'::timestamp) - extract(epoch from '2026-08-10 16:43: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'), 48138, 'SRID=4674;POINT (-39.010403 -3.374633)', '2026-08-10 16:43:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010452 -3.374729)'), GeomFromEWKT('SRID=4674;POINT (-39.010403 -3.374633)'))) / (select extract(epoch from '2026-08-10 16:43:33'::timestamp) - extract(epoch from '2026-08-10 16:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010452 -3.374729)'), GeomFromEWKT('SRID=4674;POINT (-39.010403 -3.374633)'))) / (select extract(epoch from '2026-08-10 16:43:33'::timestamp) - extract(epoch from '2026-08-10 16:43: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'), 48138, 'SRID=4674;POINT (-39.010366 -3.37455)', '2026-08-10 16:43:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010403 -3.374633)'), GeomFromEWKT('SRID=4674;POINT (-39.010366 -3.37455)'))) / (select extract(epoch from '2026-08-10 16:43:38'::timestamp) - extract(epoch from '2026-08-10 16:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010403 -3.374633)'), GeomFromEWKT('SRID=4674;POINT (-39.010366 -3.37455)'))) / (select extract(epoch from '2026-08-10 16:43:38'::timestamp) - extract(epoch from '2026-08-10 16:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010345 -3.374481)', '2026-08-10 16:43:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010366 -3.37455)'), GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.374481)'))) / (select extract(epoch from '2026-08-10 16:43:42'::timestamp) - extract(epoch from '2026-08-10 16:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010366 -3.37455)'), GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.374481)'))) / (select extract(epoch from '2026-08-10 16:43:42'::timestamp) - extract(epoch from '2026-08-10 16:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010309 -3.37438)', '2026-08-10 16:43:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.374481)'), GeomFromEWKT('SRID=4674;POINT (-39.010309 -3.37438)'))) / (select extract(epoch from '2026-08-10 16:43:48'::timestamp) - extract(epoch from '2026-08-10 16:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.374481)'), GeomFromEWKT('SRID=4674;POINT (-39.010309 -3.37438)'))) / (select extract(epoch from '2026-08-10 16:43:48'::timestamp) - extract(epoch from '2026-08-10 16:43: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'), 48138, 'SRID=4674;POINT (-39.010273 -3.374278)', '2026-08-10 16:43:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010309 -3.37438)'), GeomFromEWKT('SRID=4674;POINT (-39.010273 -3.374278)'))) / (select extract(epoch from '2026-08-10 16:43:54'::timestamp) - extract(epoch from '2026-08-10 16:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010309 -3.37438)'), GeomFromEWKT('SRID=4674;POINT (-39.010273 -3.374278)'))) / (select extract(epoch from '2026-08-10 16:43:54'::timestamp) - extract(epoch from '2026-08-10 16:43: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'), 48138, 'SRID=4674;POINT (-39.010245 -3.374196)', '2026-08-10 16:43:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010273 -3.374278)'), GeomFromEWKT('SRID=4674;POINT (-39.010245 -3.374196)'))) / (select extract(epoch from '2026-08-10 16:43:59'::timestamp) - extract(epoch from '2026-08-10 16:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010273 -3.374278)'), GeomFromEWKT('SRID=4674;POINT (-39.010245 -3.374196)'))) / (select extract(epoch from '2026-08-10 16:43:59'::timestamp) - extract(epoch from '2026-08-10 16:43: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'), 48138, 'SRID=4674;POINT (-39.010219 -3.3741)', '2026-08-10 16:44:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010245 -3.374196)'), GeomFromEWKT('SRID=4674;POINT (-39.010219 -3.3741)'))) / (select extract(epoch from '2026-08-10 16:44:04'::timestamp) - extract(epoch from '2026-08-10 16:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010245 -3.374196)'), GeomFromEWKT('SRID=4674;POINT (-39.010219 -3.3741)'))) / (select extract(epoch from '2026-08-10 16:44:04'::timestamp) - extract(epoch from '2026-08-10 16:43:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010202 -3.374022)', '2026-08-10 16:44:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010219 -3.3741)'), GeomFromEWKT('SRID=4674;POINT (-39.010202 -3.374022)'))) / (select extract(epoch from '2026-08-10 16:44:08'::timestamp) - extract(epoch from '2026-08-10 16:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010219 -3.3741)'), GeomFromEWKT('SRID=4674;POINT (-39.010202 -3.374022)'))) / (select extract(epoch from '2026-08-10 16:44:08'::timestamp) - extract(epoch from '2026-08-10 16:44:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010194 -3.373988)', '2026-08-10 16:44:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010202 -3.374022)'), GeomFromEWKT('SRID=4674;POINT (-39.010194 -3.373988)'))) / (select extract(epoch from '2026-08-10 16:44:10'::timestamp) - extract(epoch from '2026-08-10 16:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010202 -3.374022)'), GeomFromEWKT('SRID=4674;POINT (-39.010194 -3.373988)'))) / (select extract(epoch from '2026-08-10 16:44:10'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.010192 -3.37395)', '2026-08-10 16:44:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010194 -3.373988)'), GeomFromEWKT('SRID=4674;POINT (-39.010192 -3.37395)'))) / (select extract(epoch from '2026-08-10 16:44:12'::timestamp) - extract(epoch from '2026-08-10 16:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010194 -3.373988)'), GeomFromEWKT('SRID=4674;POINT (-39.010192 -3.37395)'))) / (select extract(epoch from '2026-08-10 16:44:12'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.010185 -3.373933)', '2026-08-10 16:44:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010192 -3.37395)'), GeomFromEWKT('SRID=4674;POINT (-39.010185 -3.373933)'))) / (select extract(epoch from '2026-08-10 16:44:13'::timestamp) - extract(epoch from '2026-08-10 16:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010192 -3.37395)'), GeomFromEWKT('SRID=4674;POINT (-39.010185 -3.373933)'))) / (select extract(epoch from '2026-08-10 16:44:13'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.010153 -3.37385)', '2026-08-10 16:44:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010185 -3.373933)'), GeomFromEWKT('SRID=4674;POINT (-39.010153 -3.37385)'))) / (select extract(epoch from '2026-08-10 16:44:18'::timestamp) - extract(epoch from '2026-08-10 16:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010185 -3.373933)'), GeomFromEWKT('SRID=4674;POINT (-39.010153 -3.37385)'))) / (select extract(epoch from '2026-08-10 16:44:18'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.010113 -3.373759)', '2026-08-10 16:44:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010153 -3.37385)'), GeomFromEWKT('SRID=4674;POINT (-39.010113 -3.373759)'))) / (select extract(epoch from '2026-08-10 16:44:23'::timestamp) - extract(epoch from '2026-08-10 16:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010153 -3.37385)'), GeomFromEWKT('SRID=4674;POINT (-39.010113 -3.373759)'))) / (select extract(epoch from '2026-08-10 16:44:23'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.010081 -3.373649)', '2026-08-10 16:44:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010113 -3.373759)'), GeomFromEWKT('SRID=4674;POINT (-39.010081 -3.373649)'))) / (select extract(epoch from '2026-08-10 16:44:29'::timestamp) - extract(epoch from '2026-08-10 16:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010113 -3.373759)'), GeomFromEWKT('SRID=4674;POINT (-39.010081 -3.373649)'))) / (select extract(epoch from '2026-08-10 16:44:29'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.010052 -3.373551)', '2026-08-10 16:44:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010081 -3.373649)'), GeomFromEWKT('SRID=4674;POINT (-39.010052 -3.373551)'))) / (select extract(epoch from '2026-08-10 16:44:35'::timestamp) - extract(epoch from '2026-08-10 16:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010081 -3.373649)'), GeomFromEWKT('SRID=4674;POINT (-39.010052 -3.373551)'))) / (select extract(epoch from '2026-08-10 16:44:35'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.01004 -3.373522)', '2026-08-10 16:44:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010052 -3.373551)'), GeomFromEWKT('SRID=4674;POINT (-39.01004 -3.373522)'))) / (select extract(epoch from '2026-08-10 16:44:37'::timestamp) - extract(epoch from '2026-08-10 16:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010052 -3.373551)'), GeomFromEWKT('SRID=4674;POINT (-39.01004 -3.373522)'))) / (select extract(epoch from '2026-08-10 16:44:37'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.010038 -3.373495)', '2026-08-10 16:44:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01004 -3.373522)'), GeomFromEWKT('SRID=4674;POINT (-39.010038 -3.373495)'))) / (select extract(epoch from '2026-08-10 16:44:39'::timestamp) - extract(epoch from '2026-08-10 16:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01004 -3.373522)'), GeomFromEWKT('SRID=4674;POINT (-39.010038 -3.373495)'))) / (select extract(epoch from '2026-08-10 16:44:39'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.010031 -3.373484)', '2026-08-10 16:44:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010038 -3.373495)'), GeomFromEWKT('SRID=4674;POINT (-39.010031 -3.373484)'))) / (select extract(epoch from '2026-08-10 16:44:40'::timestamp) - extract(epoch from '2026-08-10 16:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010038 -3.373495)'), GeomFromEWKT('SRID=4674;POINT (-39.010031 -3.373484)'))) / (select extract(epoch from '2026-08-10 16:44:40'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.010015 -3.373464)', '2026-08-10 16:44:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010031 -3.373484)'), GeomFromEWKT('SRID=4674;POINT (-39.010015 -3.373464)'))) / (select extract(epoch from '2026-08-10 16:44:42'::timestamp) - extract(epoch from '2026-08-10 16:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010031 -3.373484)'), GeomFromEWKT('SRID=4674;POINT (-39.010015 -3.373464)'))) / (select extract(epoch from '2026-08-10 16:44:42'::timestamp) - extract(epoch from '2026-08-10 16:44:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010003 -3.373438)', '2026-08-10 16:44:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010015 -3.373464)'), GeomFromEWKT('SRID=4674;POINT (-39.010003 -3.373438)'))) / (select extract(epoch from '2026-08-10 16:44:44'::timestamp) - extract(epoch from '2026-08-10 16:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010015 -3.373464)'), GeomFromEWKT('SRID=4674;POINT (-39.010003 -3.373438)'))) / (select extract(epoch from '2026-08-10 16:44:44'::timestamp) - extract(epoch from '2026-08-10 16:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00999 -3.373425)', '2026-08-10 16:44:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010003 -3.373438)'), GeomFromEWKT('SRID=4674;POINT (-39.00999 -3.373425)'))) / (select extract(epoch from '2026-08-10 16:44:45'::timestamp) - extract(epoch from '2026-08-10 16:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010003 -3.373438)'), GeomFromEWKT('SRID=4674;POINT (-39.00999 -3.373425)'))) / (select extract(epoch from '2026-08-10 16:44:45'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.009953 -3.373349)', '2026-08-10 16:44:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00999 -3.373425)'), GeomFromEWKT('SRID=4674;POINT (-39.009953 -3.373349)'))) / (select extract(epoch from '2026-08-10 16:44:50'::timestamp) - extract(epoch from '2026-08-10 16:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00999 -3.373425)'), GeomFromEWKT('SRID=4674;POINT (-39.009953 -3.373349)'))) / (select extract(epoch from '2026-08-10 16:44:50'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.009898 -3.373232)', '2026-08-10 16:44:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009953 -3.373349)'), GeomFromEWKT('SRID=4674;POINT (-39.009898 -3.373232)'))) / (select extract(epoch from '2026-08-10 16:44:57'::timestamp) - extract(epoch from '2026-08-10 16:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009953 -3.373349)'), GeomFromEWKT('SRID=4674;POINT (-39.009898 -3.373232)'))) / (select extract(epoch from '2026-08-10 16:44:57'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.009861 -3.373177)', '2026-08-10 16:45:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009898 -3.373232)'), GeomFromEWKT('SRID=4674;POINT (-39.009861 -3.373177)'))) / (select extract(epoch from '2026-08-10 16:45:01'::timestamp) - extract(epoch from '2026-08-10 16:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009898 -3.373232)'), GeomFromEWKT('SRID=4674;POINT (-39.009861 -3.373177)'))) / (select extract(epoch from '2026-08-10 16:45:01'::timestamp) - extract(epoch from '2026-08-10 16:44: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'), 48138, 'SRID=4674;POINT (-39.0098 -3.373092)', '2026-08-10 16:45:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009861 -3.373177)'), GeomFromEWKT('SRID=4674;POINT (-39.0098 -3.373092)'))) / (select extract(epoch from '2026-08-10 16:45:07'::timestamp) - extract(epoch from '2026-08-10 16:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009861 -3.373177)'), GeomFromEWKT('SRID=4674;POINT (-39.0098 -3.373092)'))) / (select extract(epoch from '2026-08-10 16:45:07'::timestamp) - extract(epoch from '2026-08-10 16:45:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009754 -3.373021)', '2026-08-10 16:45:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0098 -3.373092)'), GeomFromEWKT('SRID=4674;POINT (-39.009754 -3.373021)'))) / (select extract(epoch from '2026-08-10 16:45:12'::timestamp) - extract(epoch from '2026-08-10 16:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0098 -3.373092)'), GeomFromEWKT('SRID=4674;POINT (-39.009754 -3.373021)'))) / (select extract(epoch from '2026-08-10 16:45:12'::timestamp) - extract(epoch from '2026-08-10 16:45: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'), 48138, 'SRID=4674;POINT (-39.009717 -3.372947)', '2026-08-10 16:45:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009754 -3.373021)'), GeomFromEWKT('SRID=4674;POINT (-39.009717 -3.372947)'))) / (select extract(epoch from '2026-08-10 16:45:17'::timestamp) - extract(epoch from '2026-08-10 16:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009754 -3.373021)'), GeomFromEWKT('SRID=4674;POINT (-39.009717 -3.372947)'))) / (select extract(epoch from '2026-08-10 16:45:17'::timestamp) - extract(epoch from '2026-08-10 16:45: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'), 48138, 'SRID=4674;POINT (-39.009695 -3.372898)', '2026-08-10 16:45:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009717 -3.372947)'), GeomFromEWKT('SRID=4674;POINT (-39.009695 -3.372898)'))) / (select extract(epoch from '2026-08-10 16:45:20'::timestamp) - extract(epoch from '2026-08-10 16:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009717 -3.372947)'), GeomFromEWKT('SRID=4674;POINT (-39.009695 -3.372898)'))) / (select extract(epoch from '2026-08-10 16:45:20'::timestamp) - extract(epoch from '2026-08-10 16:45: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'), 48138, 'SRID=4674;POINT (-39.009691 -3.372881)', '2026-08-10 16:45:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009695 -3.372898)'), GeomFromEWKT('SRID=4674;POINT (-39.009691 -3.372881)'))) / (select extract(epoch from '2026-08-10 16:45:21'::timestamp) - extract(epoch from '2026-08-10 16:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009695 -3.372898)'), GeomFromEWKT('SRID=4674;POINT (-39.009691 -3.372881)'))) / (select extract(epoch from '2026-08-10 16:45:21'::timestamp) - extract(epoch from '2026-08-10 16:45: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'), 48138, 'SRID=4674;POINT (-39.009652 -3.372804)', '2026-08-10 16:45:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009691 -3.372881)'), GeomFromEWKT('SRID=4674;POINT (-39.009652 -3.372804)'))) / (select extract(epoch from '2026-08-10 16:45:26'::timestamp) - extract(epoch from '2026-08-10 16:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009691 -3.372881)'), GeomFromEWKT('SRID=4674;POINT (-39.009652 -3.372804)'))) / (select extract(epoch from '2026-08-10 16:45:26'::timestamp) - extract(epoch from '2026-08-10 16:45:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009616 -3.372701)', '2026-08-10 16:45:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009652 -3.372804)'), GeomFromEWKT('SRID=4674;POINT (-39.009616 -3.372701)'))) / (select extract(epoch from '2026-08-10 16:45:32'::timestamp) - extract(epoch from '2026-08-10 16:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009652 -3.372804)'), GeomFromEWKT('SRID=4674;POINT (-39.009616 -3.372701)'))) / (select extract(epoch from '2026-08-10 16:45:32'::timestamp) - extract(epoch from '2026-08-10 16:45: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'), 48138, 'SRID=4674;POINT (-39.009608 -3.372684)', '2026-08-10 16:45:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009616 -3.372701)'), GeomFromEWKT('SRID=4674;POINT (-39.009608 -3.372684)'))) / (select extract(epoch from '2026-08-10 16:45:33'::timestamp) - extract(epoch from '2026-08-10 16:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009616 -3.372701)'), GeomFromEWKT('SRID=4674;POINT (-39.009608 -3.372684)'))) / (select extract(epoch from '2026-08-10 16:45:33'::timestamp) - extract(epoch from '2026-08-10 16:45: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'), 48138, 'SRID=4674;POINT (-39.009581 -3.372625)', '2026-08-10 16:45:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009608 -3.372684)'), GeomFromEWKT('SRID=4674;POINT (-39.009581 -3.372625)'))) / (select extract(epoch from '2026-08-10 16:45:36'::timestamp) - extract(epoch from '2026-08-10 16:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009608 -3.372684)'), GeomFromEWKT('SRID=4674;POINT (-39.009581 -3.372625)'))) / (select extract(epoch from '2026-08-10 16:45:36'::timestamp) - extract(epoch from '2026-08-10 16:45: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'), 48138, 'SRID=4674;POINT (-39.009548 -3.372543)', '2026-08-10 16:45:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009581 -3.372625)'), GeomFromEWKT('SRID=4674;POINT (-39.009548 -3.372543)'))) / (select extract(epoch from '2026-08-10 16:45:41'::timestamp) - extract(epoch from '2026-08-10 16:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009581 -3.372625)'), GeomFromEWKT('SRID=4674;POINT (-39.009548 -3.372543)'))) / (select extract(epoch from '2026-08-10 16:45:41'::timestamp) - extract(epoch from '2026-08-10 16:45:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00952 -3.372475)', '2026-08-10 16:45:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009548 -3.372543)'), GeomFromEWKT('SRID=4674;POINT (-39.00952 -3.372475)'))) / (select extract(epoch from '2026-08-10 16:45:45'::timestamp) - extract(epoch from '2026-08-10 16:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009548 -3.372543)'), GeomFromEWKT('SRID=4674;POINT (-39.00952 -3.372475)'))) / (select extract(epoch from '2026-08-10 16:45:45'::timestamp) - extract(epoch from '2026-08-10 16:45: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'), 48138, 'SRID=4674;POINT (-39.009513 -3.372463)', '2026-08-10 16:45:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00952 -3.372475)'), GeomFromEWKT('SRID=4674;POINT (-39.009513 -3.372463)'))) / (select extract(epoch from '2026-08-10 16:45:46'::timestamp) - extract(epoch from '2026-08-10 16:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00952 -3.372475)'), GeomFromEWKT('SRID=4674;POINT (-39.009513 -3.372463)'))) / (select extract(epoch from '2026-08-10 16:45:46'::timestamp) - extract(epoch from '2026-08-10 16:45: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'), 48138, 'SRID=4674;POINT (-39.009491 -3.372413)', '2026-08-10 16:45:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009513 -3.372463)'), GeomFromEWKT('SRID=4674;POINT (-39.009491 -3.372413)'))) / (select extract(epoch from '2026-08-10 16:45:49'::timestamp) - extract(epoch from '2026-08-10 16:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009513 -3.372463)'), GeomFromEWKT('SRID=4674;POINT (-39.009491 -3.372413)'))) / (select extract(epoch from '2026-08-10 16:45:49'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.009481 -3.372383)', '2026-08-10 16:45:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009491 -3.372413)'), GeomFromEWKT('SRID=4674;POINT (-39.009481 -3.372383)'))) / (select extract(epoch from '2026-08-10 16:45:51'::timestamp) - extract(epoch from '2026-08-10 16:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009491 -3.372413)'), GeomFromEWKT('SRID=4674;POINT (-39.009481 -3.372383)'))) / (select extract(epoch from '2026-08-10 16:45:51'::timestamp) - extract(epoch from '2026-08-10 16:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009475 -3.372373)', '2026-08-10 16:45:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009481 -3.372383)'), GeomFromEWKT('SRID=4674;POINT (-39.009475 -3.372373)'))) / (select extract(epoch from '2026-08-10 16:45:52'::timestamp) - extract(epoch from '2026-08-10 16:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009481 -3.372383)'), GeomFromEWKT('SRID=4674;POINT (-39.009475 -3.372373)'))) / (select extract(epoch from '2026-08-10 16:45:52'::timestamp) - extract(epoch from '2026-08-10 16:45: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'), 48138, 'SRID=4674;POINT (-39.009469 -3.37236)', '2026-08-10 16:45:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009475 -3.372373)'), GeomFromEWKT('SRID=4674;POINT (-39.009469 -3.37236)'))) / (select extract(epoch from '2026-08-10 16:45:53'::timestamp) - extract(epoch from '2026-08-10 16:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009475 -3.372373)'), GeomFromEWKT('SRID=4674;POINT (-39.009469 -3.37236)'))) / (select extract(epoch from '2026-08-10 16:45:53'::timestamp) - extract(epoch from '2026-08-10 16:45:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00944 -3.372288)', '2026-08-10 16:45:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009469 -3.37236)'), GeomFromEWKT('SRID=4674;POINT (-39.00944 -3.372288)'))) / (select extract(epoch from '2026-08-10 16:45:57'::timestamp) - extract(epoch from '2026-08-10 16:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009469 -3.37236)'), GeomFromEWKT('SRID=4674;POINT (-39.00944 -3.372288)'))) / (select extract(epoch from '2026-08-10 16:45:57'::timestamp) - extract(epoch from '2026-08-10 16:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
