 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547222 -3.017532)', '2026-07-23 17:35:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547191 -3.017557)'), GeomFromEWKT('SRID=4674;POINT (-39.547222 -3.017532)'))) / (select extract(epoch from '2026-07-23 17:35:32'::timestamp) - extract(epoch from '2026-07-23 17:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547191 -3.017557)'), GeomFromEWKT('SRID=4674;POINT (-39.547222 -3.017532)'))) / (select extract(epoch from '2026-07-23 17:35:32'::timestamp) - extract(epoch from '2026-07-23 17:35: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'), 47855, 'SRID=4674;POINT (-39.547257 -3.017509)', '2026-07-23 17:35:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547222 -3.017532)'), GeomFromEWKT('SRID=4674;POINT (-39.547257 -3.017509)'))) / (select extract(epoch from '2026-07-23 17:35:41'::timestamp) - extract(epoch from '2026-07-23 17:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547222 -3.017532)'), GeomFromEWKT('SRID=4674;POINT (-39.547257 -3.017509)'))) / (select extract(epoch from '2026-07-23 17:35:41'::timestamp) - extract(epoch from '2026-07-23 17:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547304 -3.017483)', '2026-07-23 17:35:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547257 -3.017509)'), GeomFromEWKT('SRID=4674;POINT (-39.547304 -3.017483)'))) / (select extract(epoch from '2026-07-23 17:35:49'::timestamp) - extract(epoch from '2026-07-23 17:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547257 -3.017509)'), GeomFromEWKT('SRID=4674;POINT (-39.547304 -3.017483)'))) / (select extract(epoch from '2026-07-23 17:35:49'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.547329 -3.017462)', '2026-07-23 17:35:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547304 -3.017483)'), GeomFromEWKT('SRID=4674;POINT (-39.547329 -3.017462)'))) / (select extract(epoch from '2026-07-23 17:35:54'::timestamp) - extract(epoch from '2026-07-23 17:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547304 -3.017483)'), GeomFromEWKT('SRID=4674;POINT (-39.547329 -3.017462)'))) / (select extract(epoch from '2026-07-23 17:35:54'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.547359 -3.017455)', '2026-07-23 17:36:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547329 -3.017462)'), GeomFromEWKT('SRID=4674;POINT (-39.547359 -3.017455)'))) / (select extract(epoch from '2026-07-23 17:36:01'::timestamp) - extract(epoch from '2026-07-23 17:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547329 -3.017462)'), GeomFromEWKT('SRID=4674;POINT (-39.547359 -3.017455)'))) / (select extract(epoch from '2026-07-23 17:36:01'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.547406 -3.017452)', '2026-07-23 17:36:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547359 -3.017455)'), GeomFromEWKT('SRID=4674;POINT (-39.547406 -3.017452)'))) / (select extract(epoch from '2026-07-23 17:36:11'::timestamp) - extract(epoch from '2026-07-23 17:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547359 -3.017455)'), GeomFromEWKT('SRID=4674;POINT (-39.547406 -3.017452)'))) / (select extract(epoch from '2026-07-23 17:36:11'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.547441 -3.017437)', '2026-07-23 17:36:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547406 -3.017452)'), GeomFromEWKT('SRID=4674;POINT (-39.547441 -3.017437)'))) / (select extract(epoch from '2026-07-23 17:36:19'::timestamp) - extract(epoch from '2026-07-23 17:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547406 -3.017452)'), GeomFromEWKT('SRID=4674;POINT (-39.547441 -3.017437)'))) / (select extract(epoch from '2026-07-23 17:36:19'::timestamp) - extract(epoch from '2026-07-23 17:36: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'), 47855, 'SRID=4674;POINT (-39.547446 -3.017442)', '2026-07-23 17:36:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547441 -3.017437)'), GeomFromEWKT('SRID=4674;POINT (-39.547446 -3.017442)'))) / (select extract(epoch from '2026-07-23 17:36:22'::timestamp) - extract(epoch from '2026-07-23 17:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547441 -3.017437)'), GeomFromEWKT('SRID=4674;POINT (-39.547446 -3.017442)'))) / (select extract(epoch from '2026-07-23 17:36:22'::timestamp) - extract(epoch from '2026-07-23 17:36: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'), 47855, 'SRID=4674;POINT (-39.547447 -3.017447)', '2026-07-23 17:36:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547446 -3.017442)'), GeomFromEWKT('SRID=4674;POINT (-39.547447 -3.017447)'))) / (select extract(epoch from '2026-07-23 17:36:24'::timestamp) - extract(epoch from '2026-07-23 17:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547446 -3.017442)'), GeomFromEWKT('SRID=4674;POINT (-39.547447 -3.017447)'))) / (select extract(epoch from '2026-07-23 17:36:24'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.547475 -3.017452)', '2026-07-23 17:36:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547447 -3.017447)'), GeomFromEWKT('SRID=4674;POINT (-39.547475 -3.017452)'))) / (select extract(epoch from '2026-07-23 17:36:33'::timestamp) - extract(epoch from '2026-07-23 17:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547447 -3.017447)'), GeomFromEWKT('SRID=4674;POINT (-39.547475 -3.017452)'))) / (select extract(epoch from '2026-07-23 17:36:33'::timestamp) - extract(epoch from '2026-07-23 17:36: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'), 47855, 'SRID=4674;POINT (-39.547534 -3.01743)', '2026-07-23 17:36:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547475 -3.017452)'), GeomFromEWKT('SRID=4674;POINT (-39.547534 -3.01743)'))) / (select extract(epoch from '2026-07-23 17:36:42'::timestamp) - extract(epoch from '2026-07-23 17:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547475 -3.017452)'), GeomFromEWKT('SRID=4674;POINT (-39.547534 -3.01743)'))) / (select extract(epoch from '2026-07-23 17:36:42'::timestamp) - extract(epoch from '2026-07-23 17:36: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'), 47855, 'SRID=4674;POINT (-39.547554 -3.017412)', '2026-07-23 17:36:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547534 -3.01743)'), GeomFromEWKT('SRID=4674;POINT (-39.547554 -3.017412)'))) / (select extract(epoch from '2026-07-23 17:36:47'::timestamp) - extract(epoch from '2026-07-23 17:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547534 -3.01743)'), GeomFromEWKT('SRID=4674;POINT (-39.547554 -3.017412)'))) / (select extract(epoch from '2026-07-23 17:36:47'::timestamp) - extract(epoch from '2026-07-23 17:36: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'), 47855, 'SRID=4674;POINT (-39.547589 -3.017388)', '2026-07-23 17:36:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547554 -3.017412)'), GeomFromEWKT('SRID=4674;POINT (-39.547589 -3.017388)'))) / (select extract(epoch from '2026-07-23 17:36:57'::timestamp) - extract(epoch from '2026-07-23 17:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547554 -3.017412)'), GeomFromEWKT('SRID=4674;POINT (-39.547589 -3.017388)'))) / (select extract(epoch from '2026-07-23 17:36:57'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.547642 -3.017359)', '2026-07-23 17:37:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547589 -3.017388)'), GeomFromEWKT('SRID=4674;POINT (-39.547642 -3.017359)'))) / (select extract(epoch from '2026-07-23 17:37:07'::timestamp) - extract(epoch from '2026-07-23 17:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547589 -3.017388)'), GeomFromEWKT('SRID=4674;POINT (-39.547642 -3.017359)'))) / (select extract(epoch from '2026-07-23 17:37:07'::timestamp) - extract(epoch from '2026-07-23 17:36: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'), 47855, 'SRID=4674;POINT (-39.547673 -3.017327)', '2026-07-23 17:37:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547642 -3.017359)'), GeomFromEWKT('SRID=4674;POINT (-39.547673 -3.017327)'))) / (select extract(epoch from '2026-07-23 17:37:15'::timestamp) - extract(epoch from '2026-07-23 17:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547642 -3.017359)'), GeomFromEWKT('SRID=4674;POINT (-39.547673 -3.017327)'))) / (select extract(epoch from '2026-07-23 17:37:15'::timestamp) - extract(epoch from '2026-07-23 17:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547704 -3.017304)', '2026-07-23 17:37:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547673 -3.017327)'), GeomFromEWKT('SRID=4674;POINT (-39.547704 -3.017304)'))) / (select extract(epoch from '2026-07-23 17:37:23'::timestamp) - extract(epoch from '2026-07-23 17:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547673 -3.017327)'), GeomFromEWKT('SRID=4674;POINT (-39.547704 -3.017304)'))) / (select extract(epoch from '2026-07-23 17:37:23'::timestamp) - extract(epoch from '2026-07-23 17:37: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'), 47855, 'SRID=4674;POINT (-39.547712 -3.017305)', '2026-07-23 17:37:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547704 -3.017304)'), GeomFromEWKT('SRID=4674;POINT (-39.547712 -3.017305)'))) / (select extract(epoch from '2026-07-23 17:37:24'::timestamp) - extract(epoch from '2026-07-23 17:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547704 -3.017304)'), GeomFromEWKT('SRID=4674;POINT (-39.547712 -3.017305)'))) / (select extract(epoch from '2026-07-23 17:37:24'::timestamp) - extract(epoch from '2026-07-23 17:37: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'), 47855, 'SRID=4674;POINT (-39.547728 -3.017299)', '2026-07-23 17:37:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547712 -3.017305)'), GeomFromEWKT('SRID=4674;POINT (-39.547728 -3.017299)'))) / (select extract(epoch from '2026-07-23 17:37:27'::timestamp) - extract(epoch from '2026-07-23 17:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547712 -3.017305)'), GeomFromEWKT('SRID=4674;POINT (-39.547728 -3.017299)'))) / (select extract(epoch from '2026-07-23 17:37:27'::timestamp) - extract(epoch from '2026-07-23 17:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547759 -3.017277)', '2026-07-23 17:37:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547728 -3.017299)'), GeomFromEWKT('SRID=4674;POINT (-39.547759 -3.017277)'))) / (select extract(epoch from '2026-07-23 17:37:36'::timestamp) - extract(epoch from '2026-07-23 17:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547728 -3.017299)'), GeomFromEWKT('SRID=4674;POINT (-39.547759 -3.017277)'))) / (select extract(epoch from '2026-07-23 17:37:36'::timestamp) - extract(epoch from '2026-07-23 17:37: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'), 47855, 'SRID=4674;POINT (-39.547794 -3.017248)', '2026-07-23 17:37:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547759 -3.017277)'), GeomFromEWKT('SRID=4674;POINT (-39.547794 -3.017248)'))) / (select extract(epoch from '2026-07-23 17:37:45'::timestamp) - extract(epoch from '2026-07-23 17:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547759 -3.017277)'), GeomFromEWKT('SRID=4674;POINT (-39.547794 -3.017248)'))) / (select extract(epoch from '2026-07-23 17:37:45'::timestamp) - extract(epoch from '2026-07-23 17:37: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'), 47855, 'SRID=4674;POINT (-39.547845 -3.017222)', '2026-07-23 17:37:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547794 -3.017248)'), GeomFromEWKT('SRID=4674;POINT (-39.547845 -3.017222)'))) / (select extract(epoch from '2026-07-23 17:37:55'::timestamp) - extract(epoch from '2026-07-23 17:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547794 -3.017248)'), GeomFromEWKT('SRID=4674;POINT (-39.547845 -3.017222)'))) / (select extract(epoch from '2026-07-23 17:37:55'::timestamp) - extract(epoch from '2026-07-23 17:37: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'), 47855, 'SRID=4674;POINT (-39.547898 -3.01719)', '2026-07-23 17:38:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547845 -3.017222)'), GeomFromEWKT('SRID=4674;POINT (-39.547898 -3.01719)'))) / (select extract(epoch from '2026-07-23 17:38:07'::timestamp) - extract(epoch from '2026-07-23 17:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547845 -3.017222)'), GeomFromEWKT('SRID=4674;POINT (-39.547898 -3.01719)'))) / (select extract(epoch from '2026-07-23 17:38:07'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.547922 -3.017175)', '2026-07-23 17:38:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547898 -3.01719)'), GeomFromEWKT('SRID=4674;POINT (-39.547922 -3.017175)'))) / (select extract(epoch from '2026-07-23 17:38:11'::timestamp) - extract(epoch from '2026-07-23 17:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547898 -3.01719)'), GeomFromEWKT('SRID=4674;POINT (-39.547922 -3.017175)'))) / (select extract(epoch from '2026-07-23 17:38:11'::timestamp) - extract(epoch from '2026-07-23 17:38: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'), 47855, 'SRID=4674;POINT (-39.547928 -3.017171)', '2026-07-23 17:38:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547922 -3.017175)'), GeomFromEWKT('SRID=4674;POINT (-39.547928 -3.017171)'))) / (select extract(epoch from '2026-07-23 17:38:13'::timestamp) - extract(epoch from '2026-07-23 17:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547922 -3.017175)'), GeomFromEWKT('SRID=4674;POINT (-39.547928 -3.017171)'))) / (select extract(epoch from '2026-07-23 17:38:13'::timestamp) - extract(epoch from '2026-07-23 17:38: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'), 47855, 'SRID=4674;POINT (-39.547957 -3.017147)', '2026-07-23 17:38:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547928 -3.017171)'), GeomFromEWKT('SRID=4674;POINT (-39.547957 -3.017147)'))) / (select extract(epoch from '2026-07-23 17:38:19'::timestamp) - extract(epoch from '2026-07-23 17:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547928 -3.017171)'), GeomFromEWKT('SRID=4674;POINT (-39.547957 -3.017147)'))) / (select extract(epoch from '2026-07-23 17:38:19'::timestamp) - extract(epoch from '2026-07-23 17:38: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'), 47855, 'SRID=4674;POINT (-39.547965 -3.017144)', '2026-07-23 17:38:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547957 -3.017147)'), GeomFromEWKT('SRID=4674;POINT (-39.547965 -3.017144)'))) / (select extract(epoch from '2026-07-23 17:38:20'::timestamp) - extract(epoch from '2026-07-23 17:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547957 -3.017147)'), GeomFromEWKT('SRID=4674;POINT (-39.547965 -3.017144)'))) / (select extract(epoch from '2026-07-23 17:38:20'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.548 -3.017111)', '2026-07-23 17:38:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547965 -3.017144)'), GeomFromEWKT('SRID=4674;POINT (-39.548 -3.017111)'))) / (select extract(epoch from '2026-07-23 17:38:26'::timestamp) - extract(epoch from '2026-07-23 17:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547965 -3.017144)'), GeomFromEWKT('SRID=4674;POINT (-39.548 -3.017111)'))) / (select extract(epoch from '2026-07-23 17:38:26'::timestamp) - extract(epoch from '2026-07-23 17:38: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'), 47855, 'SRID=4674;POINT (-39.548003 -3.017094)', '2026-07-23 17:38:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548 -3.017111)'), GeomFromEWKT('SRID=4674;POINT (-39.548003 -3.017094)'))) / (select extract(epoch from '2026-07-23 17:38:30'::timestamp) - extract(epoch from '2026-07-23 17:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548 -3.017111)'), GeomFromEWKT('SRID=4674;POINT (-39.548003 -3.017094)'))) / (select extract(epoch from '2026-07-23 17:38:30'::timestamp) - extract(epoch from '2026-07-23 17:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.548038 -3.017065)', '2026-07-23 17:38:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548003 -3.017094)'), GeomFromEWKT('SRID=4674;POINT (-39.548038 -3.017065)'))) / (select extract(epoch from '2026-07-23 17:38:38'::timestamp) - extract(epoch from '2026-07-23 17:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548003 -3.017094)'), GeomFromEWKT('SRID=4674;POINT (-39.548038 -3.017065)'))) / (select extract(epoch from '2026-07-23 17:38:38'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.548084 -3.017029)', '2026-07-23 17:38:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548038 -3.017065)'), GeomFromEWKT('SRID=4674;POINT (-39.548084 -3.017029)'))) / (select extract(epoch from '2026-07-23 17:38:48'::timestamp) - extract(epoch from '2026-07-23 17:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548038 -3.017065)'), GeomFromEWKT('SRID=4674;POINT (-39.548084 -3.017029)'))) / (select extract(epoch from '2026-07-23 17:38:48'::timestamp) - extract(epoch from '2026-07-23 17:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.548136 -3.016995)', '2026-07-23 17:38:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548084 -3.017029)'), GeomFromEWKT('SRID=4674;POINT (-39.548136 -3.016995)'))) / (select extract(epoch from '2026-07-23 17:38:58'::timestamp) - extract(epoch from '2026-07-23 17:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548084 -3.017029)'), GeomFromEWKT('SRID=4674;POINT (-39.548136 -3.016995)'))) / (select extract(epoch from '2026-07-23 17:38:58'::timestamp) - extract(epoch from '2026-07-23 17:38:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.548196 -3.01696)', '2026-07-23 17:39:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548136 -3.016995)'), GeomFromEWKT('SRID=4674;POINT (-39.548196 -3.01696)'))) / (select extract(epoch from '2026-07-23 17:39:10'::timestamp) - extract(epoch from '2026-07-23 17:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548136 -3.016995)'), GeomFromEWKT('SRID=4674;POINT (-39.548196 -3.01696)'))) / (select extract(epoch from '2026-07-23 17:39:10'::timestamp) - extract(epoch from '2026-07-23 17:38: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'), 47855, 'SRID=4674;POINT (-39.548212 -3.016946)', '2026-07-23 17:39:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548196 -3.01696)'), GeomFromEWKT('SRID=4674;POINT (-39.548212 -3.016946)'))) / (select extract(epoch from '2026-07-23 17:39:14'::timestamp) - extract(epoch from '2026-07-23 17:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548196 -3.01696)'), GeomFromEWKT('SRID=4674;POINT (-39.548212 -3.016946)'))) / (select extract(epoch from '2026-07-23 17:39:14'::timestamp) - extract(epoch from '2026-07-23 17:39: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'), 47855, 'SRID=4674;POINT (-39.548266 -3.016916)', '2026-07-23 17:39:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548212 -3.016946)'), GeomFromEWKT('SRID=4674;POINT (-39.548266 -3.016916)'))) / (select extract(epoch from '2026-07-23 17:39:25'::timestamp) - extract(epoch from '2026-07-23 17:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548212 -3.016946)'), GeomFromEWKT('SRID=4674;POINT (-39.548266 -3.016916)'))) / (select extract(epoch from '2026-07-23 17:39:25'::timestamp) - extract(epoch from '2026-07-23 17:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.548315 -3.016882)', '2026-07-23 17:39:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548266 -3.016916)'), GeomFromEWKT('SRID=4674;POINT (-39.548315 -3.016882)'))) / (select extract(epoch from '2026-07-23 17:39:35'::timestamp) - extract(epoch from '2026-07-23 17:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548266 -3.016916)'), GeomFromEWKT('SRID=4674;POINT (-39.548315 -3.016882)'))) / (select extract(epoch from '2026-07-23 17:39:35'::timestamp) - extract(epoch from '2026-07-23 17:39: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'), 47855, 'SRID=4674;POINT (-39.54835 -3.016849)', '2026-07-23 17:39:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548315 -3.016882)'), GeomFromEWKT('SRID=4674;POINT (-39.54835 -3.016849)'))) / (select extract(epoch from '2026-07-23 17:39:46'::timestamp) - extract(epoch from '2026-07-23 17:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548315 -3.016882)'), GeomFromEWKT('SRID=4674;POINT (-39.54835 -3.016849)'))) / (select extract(epoch from '2026-07-23 17:39:46'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.548396 -3.016815)', '2026-07-23 17:39:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54835 -3.016849)'), GeomFromEWKT('SRID=4674;POINT (-39.548396 -3.016815)'))) / (select extract(epoch from '2026-07-23 17:39:56'::timestamp) - extract(epoch from '2026-07-23 17:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54835 -3.016849)'), GeomFromEWKT('SRID=4674;POINT (-39.548396 -3.016815)'))) / (select extract(epoch from '2026-07-23 17:39:56'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.548435 -3.01679)', '2026-07-23 17:40:06', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548396 -3.016815)'), GeomFromEWKT('SRID=4674;POINT (-39.548435 -3.01679)'))) / (select extract(epoch from '2026-07-23 17:40:06'::timestamp) - extract(epoch from '2026-07-23 17:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548396 -3.016815)'), GeomFromEWKT('SRID=4674;POINT (-39.548435 -3.01679)'))) / (select extract(epoch from '2026-07-23 17:40:06'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.548472 -3.016776)', '2026-07-23 17:40:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548435 -3.01679)'), GeomFromEWKT('SRID=4674;POINT (-39.548472 -3.016776)'))) / (select extract(epoch from '2026-07-23 17:40:15'::timestamp) - extract(epoch from '2026-07-23 17:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548435 -3.01679)'), GeomFromEWKT('SRID=4674;POINT (-39.548472 -3.016776)'))) / (select extract(epoch from '2026-07-23 17:40:15'::timestamp) - extract(epoch from '2026-07-23 17:40: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'), 47855, 'SRID=4674;POINT (-39.548516 -3.016755)', '2026-07-23 17:40:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548472 -3.016776)'), GeomFromEWKT('SRID=4674;POINT (-39.548516 -3.016755)'))) / (select extract(epoch from '2026-07-23 17:40:24'::timestamp) - extract(epoch from '2026-07-23 17:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548472 -3.016776)'), GeomFromEWKT('SRID=4674;POINT (-39.548516 -3.016755)'))) / (select extract(epoch from '2026-07-23 17:40:24'::timestamp) - extract(epoch from '2026-07-23 17:40: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'), 47855, 'SRID=4674;POINT (-39.548561 -3.016734)', '2026-07-23 17:40:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548516 -3.016755)'), GeomFromEWKT('SRID=4674;POINT (-39.548561 -3.016734)'))) / (select extract(epoch from '2026-07-23 17:40:32'::timestamp) - extract(epoch from '2026-07-23 17:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548516 -3.016755)'), GeomFromEWKT('SRID=4674;POINT (-39.548561 -3.016734)'))) / (select extract(epoch from '2026-07-23 17:40:32'::timestamp) - extract(epoch from '2026-07-23 17:40: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'), 47855, 'SRID=4674;POINT (-39.54857 -3.016718)', '2026-07-23 17:40:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548561 -3.016734)'), GeomFromEWKT('SRID=4674;POINT (-39.54857 -3.016718)'))) / (select extract(epoch from '2026-07-23 17:40:38'::timestamp) - extract(epoch from '2026-07-23 17:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548561 -3.016734)'), GeomFromEWKT('SRID=4674;POINT (-39.54857 -3.016718)'))) / (select extract(epoch from '2026-07-23 17:40:38'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.54861 -3.016684)', '2026-07-23 17:40:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54857 -3.016718)'), GeomFromEWKT('SRID=4674;POINT (-39.54861 -3.016684)'))) / (select extract(epoch from '2026-07-23 17:40:47'::timestamp) - extract(epoch from '2026-07-23 17:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54857 -3.016718)'), GeomFromEWKT('SRID=4674;POINT (-39.54861 -3.016684)'))) / (select extract(epoch from '2026-07-23 17:40:47'::timestamp) - extract(epoch from '2026-07-23 17:40: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'), 47855, 'SRID=4674;POINT (-39.548663 -3.016665)', '2026-07-23 17:40:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54861 -3.016684)'), GeomFromEWKT('SRID=4674;POINT (-39.548663 -3.016665)'))) / (select extract(epoch from '2026-07-23 17:40:55'::timestamp) - extract(epoch from '2026-07-23 17:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54861 -3.016684)'), GeomFromEWKT('SRID=4674;POINT (-39.548663 -3.016665)'))) / (select extract(epoch from '2026-07-23 17:40:55'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.5487 -3.016639)', '2026-07-23 17:41:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548663 -3.016665)'), GeomFromEWKT('SRID=4674;POINT (-39.5487 -3.016639)'))) / (select extract(epoch from '2026-07-23 17:41:03'::timestamp) - extract(epoch from '2026-07-23 17:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548663 -3.016665)'), GeomFromEWKT('SRID=4674;POINT (-39.5487 -3.016639)'))) / (select extract(epoch from '2026-07-23 17:41:03'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.548735 -3.016607)', '2026-07-23 17:41:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5487 -3.016639)'), GeomFromEWKT('SRID=4674;POINT (-39.548735 -3.016607)'))) / (select extract(epoch from '2026-07-23 17:41:12'::timestamp) - extract(epoch from '2026-07-23 17:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5487 -3.016639)'), GeomFromEWKT('SRID=4674;POINT (-39.548735 -3.016607)'))) / (select extract(epoch from '2026-07-23 17:41:12'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.548784 -3.016576)', '2026-07-23 17:41:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548735 -3.016607)'), GeomFromEWKT('SRID=4674;POINT (-39.548784 -3.016576)'))) / (select extract(epoch from '2026-07-23 17:41:22'::timestamp) - extract(epoch from '2026-07-23 17:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548735 -3.016607)'), GeomFromEWKT('SRID=4674;POINT (-39.548784 -3.016576)'))) / (select extract(epoch from '2026-07-23 17:41:22'::timestamp) - extract(epoch from '2026-07-23 17:41: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'), 47855, 'SRID=4674;POINT (-39.548824 -3.016545)', '2026-07-23 17:41:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548784 -3.016576)'), GeomFromEWKT('SRID=4674;POINT (-39.548824 -3.016545)'))) / (select extract(epoch from '2026-07-23 17:41:32'::timestamp) - extract(epoch from '2026-07-23 17:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548784 -3.016576)'), GeomFromEWKT('SRID=4674;POINT (-39.548824 -3.016545)'))) / (select extract(epoch from '2026-07-23 17:41:32'::timestamp) - extract(epoch from '2026-07-23 17:41: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'), 47855, 'SRID=4674;POINT (-39.548868 -3.016518)', '2026-07-23 17:41:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548824 -3.016545)'), GeomFromEWKT('SRID=4674;POINT (-39.548868 -3.016518)'))) / (select extract(epoch from '2026-07-23 17:41:42'::timestamp) - extract(epoch from '2026-07-23 17:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548824 -3.016545)'), GeomFromEWKT('SRID=4674;POINT (-39.548868 -3.016518)'))) / (select extract(epoch from '2026-07-23 17:41:42'::timestamp) - extract(epoch from '2026-07-23 17:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.548909 -3.016497)', '2026-07-23 17:41:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548868 -3.016518)'), GeomFromEWKT('SRID=4674;POINT (-39.548909 -3.016497)'))) / (select extract(epoch from '2026-07-23 17:41:51'::timestamp) - extract(epoch from '2026-07-23 17:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548868 -3.016518)'), GeomFromEWKT('SRID=4674;POINT (-39.548909 -3.016497)'))) / (select extract(epoch from '2026-07-23 17:41:51'::timestamp) - extract(epoch from '2026-07-23 17:41: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'), 47855, 'SRID=4674;POINT (-39.548934 -3.016477)', '2026-07-23 17:41:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548909 -3.016497)'), GeomFromEWKT('SRID=4674;POINT (-39.548934 -3.016477)'))) / (select extract(epoch from '2026-07-23 17:41:58'::timestamp) - extract(epoch from '2026-07-23 17:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548909 -3.016497)'), GeomFromEWKT('SRID=4674;POINT (-39.548934 -3.016477)'))) / (select extract(epoch from '2026-07-23 17:41:58'::timestamp) - extract(epoch from '2026-07-23 17:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54897 -3.016447)', '2026-07-23 17:42:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548934 -3.016477)'), GeomFromEWKT('SRID=4674;POINT (-39.54897 -3.016447)'))) / (select extract(epoch from '2026-07-23 17:42:05'::timestamp) - extract(epoch from '2026-07-23 17:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548934 -3.016477)'), GeomFromEWKT('SRID=4674;POINT (-39.54897 -3.016447)'))) / (select extract(epoch from '2026-07-23 17:42:05'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.549001 -3.016413)', '2026-07-23 17:42:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54897 -3.016447)'), GeomFromEWKT('SRID=4674;POINT (-39.549001 -3.016413)'))) / (select extract(epoch from '2026-07-23 17:42:13'::timestamp) - extract(epoch from '2026-07-23 17:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54897 -3.016447)'), GeomFromEWKT('SRID=4674;POINT (-39.549001 -3.016413)'))) / (select extract(epoch from '2026-07-23 17:42:13'::timestamp) - extract(epoch from '2026-07-23 17:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549035 -3.016407)', '2026-07-23 17:42:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549001 -3.016413)'), GeomFromEWKT('SRID=4674;POINT (-39.549035 -3.016407)'))) / (select extract(epoch from '2026-07-23 17:42:21'::timestamp) - extract(epoch from '2026-07-23 17:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549001 -3.016413)'), GeomFromEWKT('SRID=4674;POINT (-39.549035 -3.016407)'))) / (select extract(epoch from '2026-07-23 17:42:21'::timestamp) - extract(epoch from '2026-07-23 17:42:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54905 -3.016413)', '2026-07-23 17:42:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549035 -3.016407)'), GeomFromEWKT('SRID=4674;POINT (-39.54905 -3.016413)'))) / (select extract(epoch from '2026-07-23 17:42:33'::timestamp) - extract(epoch from '2026-07-23 17:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549035 -3.016407)'), GeomFromEWKT('SRID=4674;POINT (-39.54905 -3.016413)'))) / (select extract(epoch from '2026-07-23 17:42:33'::timestamp) - extract(epoch from '2026-07-23 17:42: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'), 47855, 'SRID=4674;POINT (-39.549068 -3.016419)', '2026-07-23 17:42:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54905 -3.016413)'), GeomFromEWKT('SRID=4674;POINT (-39.549068 -3.016419)'))) / (select extract(epoch from '2026-07-23 17:42:39'::timestamp) - extract(epoch from '2026-07-23 17:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54905 -3.016413)'), GeomFromEWKT('SRID=4674;POINT (-39.549068 -3.016419)'))) / (select extract(epoch from '2026-07-23 17:42:39'::timestamp) - extract(epoch from '2026-07-23 17:42: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'), 47855, 'SRID=4674;POINT (-39.549071 -3.016429)', '2026-07-23 17:42:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549068 -3.016419)'), GeomFromEWKT('SRID=4674;POINT (-39.549071 -3.016429)'))) / (select extract(epoch from '2026-07-23 17:42:48'::timestamp) - extract(epoch from '2026-07-23 17:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549068 -3.016419)'), GeomFromEWKT('SRID=4674;POINT (-39.549071 -3.016429)'))) / (select extract(epoch from '2026-07-23 17:42:48'::timestamp) - extract(epoch from '2026-07-23 17:42: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'), 47855, 'SRID=4674;POINT (-39.549085 -3.016445)', '2026-07-23 17:42:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549071 -3.016429)'), GeomFromEWKT('SRID=4674;POINT (-39.549085 -3.016445)'))) / (select extract(epoch from '2026-07-23 17:42:55'::timestamp) - extract(epoch from '2026-07-23 17:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549071 -3.016429)'), GeomFromEWKT('SRID=4674;POINT (-39.549085 -3.016445)'))) / (select extract(epoch from '2026-07-23 17:42:55'::timestamp) - extract(epoch from '2026-07-23 17:42:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549097 -3.016451)', '2026-07-23 17:42:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549085 -3.016445)'), GeomFromEWKT('SRID=4674;POINT (-39.549097 -3.016451)'))) / (select extract(epoch from '2026-07-23 17:42:56'::timestamp) - extract(epoch from '2026-07-23 17:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549085 -3.016445)'), GeomFromEWKT('SRID=4674;POINT (-39.549097 -3.016451)'))) / (select extract(epoch from '2026-07-23 17:42:56'::timestamp) - extract(epoch from '2026-07-23 17:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549095 -3.016443)', '2026-07-23 17:43:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549097 -3.016451)'), GeomFromEWKT('SRID=4674;POINT (-39.549095 -3.016443)'))) / (select extract(epoch from '2026-07-23 17:43:02'::timestamp) - extract(epoch from '2026-07-23 17:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549097 -3.016451)'), GeomFromEWKT('SRID=4674;POINT (-39.549095 -3.016443)'))) / (select extract(epoch from '2026-07-23 17:43:02'::timestamp) - extract(epoch from '2026-07-23 17:42: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'), 47855, 'SRID=4674;POINT (-39.549118 -3.016453)', '2026-07-23 17:43:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549095 -3.016443)'), GeomFromEWKT('SRID=4674;POINT (-39.549118 -3.016453)'))) / (select extract(epoch from '2026-07-23 17:43:12'::timestamp) - extract(epoch from '2026-07-23 17:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549095 -3.016443)'), GeomFromEWKT('SRID=4674;POINT (-39.549118 -3.016453)'))) / (select extract(epoch from '2026-07-23 17:43:12'::timestamp) - extract(epoch from '2026-07-23 17:43: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'), 47855, 'SRID=4674;POINT (-39.549134 -3.016454)', '2026-07-23 17:43:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549118 -3.016453)'), GeomFromEWKT('SRID=4674;POINT (-39.549134 -3.016454)'))) / (select extract(epoch from '2026-07-23 17:43:15'::timestamp) - extract(epoch from '2026-07-23 17:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549118 -3.016453)'), GeomFromEWKT('SRID=4674;POINT (-39.549134 -3.016454)'))) / (select extract(epoch from '2026-07-23 17:43:15'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.549145 -3.016447)', '2026-07-23 17:43:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549134 -3.016454)'), GeomFromEWKT('SRID=4674;POINT (-39.549145 -3.016447)'))) / (select extract(epoch from '2026-07-23 17:43:18'::timestamp) - extract(epoch from '2026-07-23 17:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549134 -3.016454)'), GeomFromEWKT('SRID=4674;POINT (-39.549145 -3.016447)'))) / (select extract(epoch from '2026-07-23 17:43:18'::timestamp) - extract(epoch from '2026-07-23 17:43:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54916 -3.016439)', '2026-07-23 17:43:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549145 -3.016447)'), GeomFromEWKT('SRID=4674;POINT (-39.54916 -3.016439)'))) / (select extract(epoch from '2026-07-23 17:43:22'::timestamp) - extract(epoch from '2026-07-23 17:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549145 -3.016447)'), GeomFromEWKT('SRID=4674;POINT (-39.54916 -3.016439)'))) / (select extract(epoch from '2026-07-23 17:43:22'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.549199 -3.01641)', '2026-07-23 17:43:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54916 -3.016439)'), GeomFromEWKT('SRID=4674;POINT (-39.549199 -3.01641)'))) / (select extract(epoch from '2026-07-23 17:43:35'::timestamp) - extract(epoch from '2026-07-23 17:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54916 -3.016439)'), GeomFromEWKT('SRID=4674;POINT (-39.549199 -3.01641)'))) / (select extract(epoch from '2026-07-23 17:43:35'::timestamp) - extract(epoch from '2026-07-23 17:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549219 -3.016441)', '2026-07-23 17:43:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549199 -3.01641)'), GeomFromEWKT('SRID=4674;POINT (-39.549219 -3.016441)'))) / (select extract(epoch from '2026-07-23 17:43:54'::timestamp) - extract(epoch from '2026-07-23 17:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549199 -3.01641)'), GeomFromEWKT('SRID=4674;POINT (-39.549219 -3.016441)'))) / (select extract(epoch from '2026-07-23 17:43:54'::timestamp) - extract(epoch from '2026-07-23 17:43: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'), 47855, 'SRID=4674;POINT (-39.549233 -3.016453)', '2026-07-23 17:43:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549219 -3.016441)'), GeomFromEWKT('SRID=4674;POINT (-39.549233 -3.016453)'))) / (select extract(epoch from '2026-07-23 17:43:59'::timestamp) - extract(epoch from '2026-07-23 17:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549219 -3.016441)'), GeomFromEWKT('SRID=4674;POINT (-39.549233 -3.016453)'))) / (select extract(epoch from '2026-07-23 17:43:59'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.549252 -3.016459)', '2026-07-23 17:44:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549233 -3.016453)'), GeomFromEWKT('SRID=4674;POINT (-39.549252 -3.016459)'))) / (select extract(epoch from '2026-07-23 17:44:26'::timestamp) - extract(epoch from '2026-07-23 17:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549233 -3.016453)'), GeomFromEWKT('SRID=4674;POINT (-39.549252 -3.016459)'))) / (select extract(epoch from '2026-07-23 17:44:26'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.54929 -3.016463)', '2026-07-23 17:44:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549252 -3.016459)'), GeomFromEWKT('SRID=4674;POINT (-39.54929 -3.016463)'))) / (select extract(epoch from '2026-07-23 17:44:35'::timestamp) - extract(epoch from '2026-07-23 17:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549252 -3.016459)'), GeomFromEWKT('SRID=4674;POINT (-39.54929 -3.016463)'))) / (select extract(epoch from '2026-07-23 17:44:35'::timestamp) - extract(epoch from '2026-07-23 17:44: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'), 47855, 'SRID=4674;POINT (-39.549335 -3.01647)', '2026-07-23 17:44:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54929 -3.016463)'), GeomFromEWKT('SRID=4674;POINT (-39.549335 -3.01647)'))) / (select extract(epoch from '2026-07-23 17:44:42'::timestamp) - extract(epoch from '2026-07-23 17:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54929 -3.016463)'), GeomFromEWKT('SRID=4674;POINT (-39.549335 -3.01647)'))) / (select extract(epoch from '2026-07-23 17:44:42'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.549375 -3.016471)', '2026-07-23 17:44:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549335 -3.01647)'), GeomFromEWKT('SRID=4674;POINT (-39.549375 -3.016471)'))) / (select extract(epoch from '2026-07-23 17:44:47'::timestamp) - extract(epoch from '2026-07-23 17:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549335 -3.01647)'), GeomFromEWKT('SRID=4674;POINT (-39.549375 -3.016471)'))) / (select extract(epoch from '2026-07-23 17:44:47'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.549413 -3.016472)', '2026-07-23 17:44:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549375 -3.016471)'), GeomFromEWKT('SRID=4674;POINT (-39.549413 -3.016472)'))) / (select extract(epoch from '2026-07-23 17:44:53'::timestamp) - extract(epoch from '2026-07-23 17:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549375 -3.016471)'), GeomFromEWKT('SRID=4674;POINT (-39.549413 -3.016472)'))) / (select extract(epoch from '2026-07-23 17:44:53'::timestamp) - extract(epoch from '2026-07-23 17:44: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'), 47855, 'SRID=4674;POINT (-39.549463 -3.016473)', '2026-07-23 17:45:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549413 -3.016472)'), GeomFromEWKT('SRID=4674;POINT (-39.549463 -3.016473)'))) / (select extract(epoch from '2026-07-23 17:45:00'::timestamp) - extract(epoch from '2026-07-23 17:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549413 -3.016472)'), GeomFromEWKT('SRID=4674;POINT (-39.549463 -3.016473)'))) / (select extract(epoch from '2026-07-23 17:45:00'::timestamp) - extract(epoch from '2026-07-23 17:44: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'), 47855, 'SRID=4674;POINT (-39.549519 -3.01647)', '2026-07-23 17:45:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549463 -3.016473)'), GeomFromEWKT('SRID=4674;POINT (-39.549519 -3.01647)'))) / (select extract(epoch from '2026-07-23 17:45:09'::timestamp) - extract(epoch from '2026-07-23 17:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549463 -3.016473)'), GeomFromEWKT('SRID=4674;POINT (-39.549519 -3.01647)'))) / (select extract(epoch from '2026-07-23 17:45:09'::timestamp) - extract(epoch from '2026-07-23 17:45: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'), 47855, 'SRID=4674;POINT (-39.549545 -3.016458)', '2026-07-23 17:45:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549519 -3.01647)'), GeomFromEWKT('SRID=4674;POINT (-39.549545 -3.016458)'))) / (select extract(epoch from '2026-07-23 17:45:15'::timestamp) - extract(epoch from '2026-07-23 17:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549519 -3.01647)'), GeomFromEWKT('SRID=4674;POINT (-39.549545 -3.016458)'))) / (select extract(epoch from '2026-07-23 17:45:15'::timestamp) - extract(epoch from '2026-07-23 17:45: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'), 47855, 'SRID=4674;POINT (-39.549568 -3.016448)', '2026-07-23 17:45:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549545 -3.016458)'), GeomFromEWKT('SRID=4674;POINT (-39.549568 -3.016448)'))) / (select extract(epoch from '2026-07-23 17:45:21'::timestamp) - extract(epoch from '2026-07-23 17:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549545 -3.016458)'), GeomFromEWKT('SRID=4674;POINT (-39.549568 -3.016448)'))) / (select extract(epoch from '2026-07-23 17:45:21'::timestamp) - extract(epoch from '2026-07-23 17:45: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'), 47855, 'SRID=4674;POINT (-39.549613 -3.016438)', '2026-07-23 17:45:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549568 -3.016448)'), GeomFromEWKT('SRID=4674;POINT (-39.549613 -3.016438)'))) / (select extract(epoch from '2026-07-23 17:45:28'::timestamp) - extract(epoch from '2026-07-23 17:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549568 -3.016448)'), GeomFromEWKT('SRID=4674;POINT (-39.549613 -3.016438)'))) / (select extract(epoch from '2026-07-23 17:45:28'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.549634 -3.016424)', '2026-07-23 17:45:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549613 -3.016438)'), GeomFromEWKT('SRID=4674;POINT (-39.549634 -3.016424)'))) / (select extract(epoch from '2026-07-23 17:45:33'::timestamp) - extract(epoch from '2026-07-23 17:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549613 -3.016438)'), GeomFromEWKT('SRID=4674;POINT (-39.549634 -3.016424)'))) / (select extract(epoch from '2026-07-23 17:45:33'::timestamp) - extract(epoch from '2026-07-23 17:45: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'), 47855, 'SRID=4674;POINT (-39.549676 -3.016395)', '2026-07-23 17:45:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549634 -3.016424)'), GeomFromEWKT('SRID=4674;POINT (-39.549676 -3.016395)'))) / (select extract(epoch from '2026-07-23 17:45:43'::timestamp) - extract(epoch from '2026-07-23 17:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549634 -3.016424)'), GeomFromEWKT('SRID=4674;POINT (-39.549676 -3.016395)'))) / (select extract(epoch from '2026-07-23 17:45:43'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.549697 -3.016368)', '2026-07-23 17:45:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549676 -3.016395)'), GeomFromEWKT('SRID=4674;POINT (-39.549697 -3.016368)'))) / (select extract(epoch from '2026-07-23 17:45:51'::timestamp) - extract(epoch from '2026-07-23 17:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549676 -3.016395)'), GeomFromEWKT('SRID=4674;POINT (-39.549697 -3.016368)'))) / (select extract(epoch from '2026-07-23 17:45:51'::timestamp) - extract(epoch from '2026-07-23 17:45:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549761 -3.016352)', '2026-07-23 17:46:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549697 -3.016368)'), GeomFromEWKT('SRID=4674;POINT (-39.549761 -3.016352)'))) / (select extract(epoch from '2026-07-23 17:46:01'::timestamp) - extract(epoch from '2026-07-23 17:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549697 -3.016368)'), GeomFromEWKT('SRID=4674;POINT (-39.549761 -3.016352)'))) / (select extract(epoch from '2026-07-23 17:46:01'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.549802 -3.016333)', '2026-07-23 17:46:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549761 -3.016352)'), GeomFromEWKT('SRID=4674;POINT (-39.549802 -3.016333)'))) / (select extract(epoch from '2026-07-23 17:46:10'::timestamp) - extract(epoch from '2026-07-23 17:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549761 -3.016352)'), GeomFromEWKT('SRID=4674;POINT (-39.549802 -3.016333)'))) / (select extract(epoch from '2026-07-23 17:46:10'::timestamp) - extract(epoch from '2026-07-23 17:46:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549839 -3.016303)', '2026-07-23 17:46:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549802 -3.016333)'), GeomFromEWKT('SRID=4674;POINT (-39.549839 -3.016303)'))) / (select extract(epoch from '2026-07-23 17:46:20'::timestamp) - extract(epoch from '2026-07-23 17:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549802 -3.016333)'), GeomFromEWKT('SRID=4674;POINT (-39.549839 -3.016303)'))) / (select extract(epoch from '2026-07-23 17:46:20'::timestamp) - extract(epoch from '2026-07-23 17:46:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549866 -3.016292)', '2026-07-23 17:46:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549839 -3.016303)'), GeomFromEWKT('SRID=4674;POINT (-39.549866 -3.016292)'))) / (select extract(epoch from '2026-07-23 17:46:27'::timestamp) - extract(epoch from '2026-07-23 17:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549839 -3.016303)'), GeomFromEWKT('SRID=4674;POINT (-39.549866 -3.016292)'))) / (select extract(epoch from '2026-07-23 17:46:27'::timestamp) - extract(epoch from '2026-07-23 17:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549878 -3.016285)', '2026-07-23 17:46:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549866 -3.016292)'), GeomFromEWKT('SRID=4674;POINT (-39.549878 -3.016285)'))) / (select extract(epoch from '2026-07-23 17:46:29'::timestamp) - extract(epoch from '2026-07-23 17:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549866 -3.016292)'), GeomFromEWKT('SRID=4674;POINT (-39.549878 -3.016285)'))) / (select extract(epoch from '2026-07-23 17:46:29'::timestamp) - extract(epoch from '2026-07-23 17:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549904 -3.016277)', '2026-07-23 17:46:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549878 -3.016285)'), GeomFromEWKT('SRID=4674;POINT (-39.549904 -3.016277)'))) / (select extract(epoch from '2026-07-23 17:46:32'::timestamp) - extract(epoch from '2026-07-23 17:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549878 -3.016285)'), GeomFromEWKT('SRID=4674;POINT (-39.549904 -3.016277)'))) / (select extract(epoch from '2026-07-23 17:46:32'::timestamp) - extract(epoch from '2026-07-23 17:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549955 -3.016262)', '2026-07-23 17:46:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549904 -3.016277)'), GeomFromEWKT('SRID=4674;POINT (-39.549955 -3.016262)'))) / (select extract(epoch from '2026-07-23 17:46:38'::timestamp) - extract(epoch from '2026-07-23 17:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549904 -3.016277)'), GeomFromEWKT('SRID=4674;POINT (-39.549955 -3.016262)'))) / (select extract(epoch from '2026-07-23 17:46:38'::timestamp) - extract(epoch from '2026-07-23 17:46: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'), 47855, 'SRID=4674;POINT (-39.550008 -3.016254)', '2026-07-23 17:46:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549955 -3.016262)'), GeomFromEWKT('SRID=4674;POINT (-39.550008 -3.016254)'))) / (select extract(epoch from '2026-07-23 17:46:46'::timestamp) - extract(epoch from '2026-07-23 17:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549955 -3.016262)'), GeomFromEWKT('SRID=4674;POINT (-39.550008 -3.016254)'))) / (select extract(epoch from '2026-07-23 17:46:46'::timestamp) - extract(epoch from '2026-07-23 17:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550059 -3.016267)', '2026-07-23 17:46:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550008 -3.016254)'), GeomFromEWKT('SRID=4674;POINT (-39.550059 -3.016267)'))) / (select extract(epoch from '2026-07-23 17:46:57'::timestamp) - extract(epoch from '2026-07-23 17:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550008 -3.016254)'), GeomFromEWKT('SRID=4674;POINT (-39.550059 -3.016267)'))) / (select extract(epoch from '2026-07-23 17:46:57'::timestamp) - extract(epoch from '2026-07-23 17:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550099 -3.016267)', '2026-07-23 17:47:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550059 -3.016267)'), GeomFromEWKT('SRID=4674;POINT (-39.550099 -3.016267)'))) / (select extract(epoch from '2026-07-23 17:47:08'::timestamp) - extract(epoch from '2026-07-23 17:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550059 -3.016267)'), GeomFromEWKT('SRID=4674;POINT (-39.550099 -3.016267)'))) / (select extract(epoch from '2026-07-23 17:47:08'::timestamp) - extract(epoch from '2026-07-23 17:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550131 -3.016233)', '2026-07-23 17:47:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550099 -3.016267)'), GeomFromEWKT('SRID=4674;POINT (-39.550131 -3.016233)'))) / (select extract(epoch from '2026-07-23 17:47:16'::timestamp) - extract(epoch from '2026-07-23 17:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550099 -3.016267)'), GeomFromEWKT('SRID=4674;POINT (-39.550131 -3.016233)'))) / (select extract(epoch from '2026-07-23 17:47:16'::timestamp) - extract(epoch from '2026-07-23 17:47: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'), 47855, 'SRID=4674;POINT (-39.550136 -3.016235)', '2026-07-23 17:47:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550131 -3.016233)'), GeomFromEWKT('SRID=4674;POINT (-39.550136 -3.016235)'))) / (select extract(epoch from '2026-07-23 17:47:24'::timestamp) - extract(epoch from '2026-07-23 17:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550131 -3.016233)'), GeomFromEWKT('SRID=4674;POINT (-39.550136 -3.016235)'))) / (select extract(epoch from '2026-07-23 17:47:24'::timestamp) - extract(epoch from '2026-07-23 17:47: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'), 47855, 'SRID=4674;POINT (-39.550135 -3.016256)', '2026-07-23 17:47:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550136 -3.016235)'), GeomFromEWKT('SRID=4674;POINT (-39.550135 -3.016256)'))) / (select extract(epoch from '2026-07-23 17:47:31'::timestamp) - extract(epoch from '2026-07-23 17:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550136 -3.016235)'), GeomFromEWKT('SRID=4674;POINT (-39.550135 -3.016256)'))) / (select extract(epoch from '2026-07-23 17:47:31'::timestamp) - extract(epoch from '2026-07-23 17:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550145 -3.016258)', '2026-07-23 17:47:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550135 -3.016256)'), GeomFromEWKT('SRID=4674;POINT (-39.550145 -3.016258)'))) / (select extract(epoch from '2026-07-23 17:47:39'::timestamp) - extract(epoch from '2026-07-23 17:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550135 -3.016256)'), GeomFromEWKT('SRID=4674;POINT (-39.550145 -3.016258)'))) / (select extract(epoch from '2026-07-23 17:47:39'::timestamp) - extract(epoch from '2026-07-23 17:47: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'), 47855, 'SRID=4674;POINT (-39.55014 -3.016264)', '2026-07-23 17:47:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550145 -3.016258)'), GeomFromEWKT('SRID=4674;POINT (-39.55014 -3.016264)'))) / (select extract(epoch from '2026-07-23 17:47:52'::timestamp) - extract(epoch from '2026-07-23 17:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550145 -3.016258)'), GeomFromEWKT('SRID=4674;POINT (-39.55014 -3.016264)'))) / (select extract(epoch from '2026-07-23 17:47:52'::timestamp) - extract(epoch from '2026-07-23 17:47: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'), 47855, 'SRID=4674;POINT (-39.550132 -3.016251)', '2026-07-23 17:48:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55014 -3.016264)'), GeomFromEWKT('SRID=4674;POINT (-39.550132 -3.016251)'))) / (select extract(epoch from '2026-07-23 17:48:11'::timestamp) - extract(epoch from '2026-07-23 17:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55014 -3.016264)'), GeomFromEWKT('SRID=4674;POINT (-39.550132 -3.016251)'))) / (select extract(epoch from '2026-07-23 17:48:11'::timestamp) - extract(epoch from '2026-07-23 17:47: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'), 47855, 'SRID=4674;POINT (-39.550138 -3.016239)', '2026-07-23 17:48:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550132 -3.016251)'), GeomFromEWKT('SRID=4674;POINT (-39.550138 -3.016239)'))) / (select extract(epoch from '2026-07-23 17:48:22'::timestamp) - extract(epoch from '2026-07-23 17:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550132 -3.016251)'), GeomFromEWKT('SRID=4674;POINT (-39.550138 -3.016239)'))) / (select extract(epoch from '2026-07-23 17:48:22'::timestamp) - extract(epoch from '2026-07-23 17:48: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'), 47855, 'SRID=4674;POINT (-39.55014 -3.016244)', '2026-07-23 17:48:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550138 -3.016239)'), GeomFromEWKT('SRID=4674;POINT (-39.55014 -3.016244)'))) / (select extract(epoch from '2026-07-23 17:48:27'::timestamp) - extract(epoch from '2026-07-23 17:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550138 -3.016239)'), GeomFromEWKT('SRID=4674;POINT (-39.55014 -3.016244)'))) / (select extract(epoch from '2026-07-23 17:48:27'::timestamp) - extract(epoch from '2026-07-23 17:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550155 -3.016205)', '2026-07-23 17:50:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55014 -3.016244)'), GeomFromEWKT('SRID=4674;POINT (-39.550155 -3.016205)'))) / (select extract(epoch from '2026-07-23 17:50:17'::timestamp) - extract(epoch from '2026-07-23 17:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55014 -3.016244)'), GeomFromEWKT('SRID=4674;POINT (-39.550155 -3.016205)'))) / (select extract(epoch from '2026-07-23 17:50:17'::timestamp) - extract(epoch from '2026-07-23 17:48: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'), 47855, 'SRID=4674;POINT (-39.550148 -3.016204)', '2026-07-23 17:50:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550155 -3.016205)'), GeomFromEWKT('SRID=4674;POINT (-39.550148 -3.016204)'))) / (select extract(epoch from '2026-07-23 17:50:40'::timestamp) - extract(epoch from '2026-07-23 17:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550155 -3.016205)'), GeomFromEWKT('SRID=4674;POINT (-39.550148 -3.016204)'))) / (select extract(epoch from '2026-07-23 17:50:40'::timestamp) - extract(epoch from '2026-07-23 17:50: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'), 47855, 'SRID=4674;POINT (-39.550164 -3.016187)', '2026-07-23 17:51:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550148 -3.016204)'), GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016187)'))) / (select extract(epoch from '2026-07-23 17:51:04'::timestamp) - extract(epoch from '2026-07-23 17:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550148 -3.016204)'), GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016187)'))) / (select extract(epoch from '2026-07-23 17:51:04'::timestamp) - extract(epoch from '2026-07-23 17:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550142 -3.016186)', '2026-07-23 17:51:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016187)'), GeomFromEWKT('SRID=4674;POINT (-39.550142 -3.016186)'))) / (select extract(epoch from '2026-07-23 17:51:30'::timestamp) - extract(epoch from '2026-07-23 17:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016187)'), GeomFromEWKT('SRID=4674;POINT (-39.550142 -3.016186)'))) / (select extract(epoch from '2026-07-23 17:51:30'::timestamp) - extract(epoch from '2026-07-23 17:51: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'), 47855, 'SRID=4674;POINT (-39.550119 -3.016178)', '2026-07-23 17:51:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550142 -3.016186)'), GeomFromEWKT('SRID=4674;POINT (-39.550119 -3.016178)'))) / (select extract(epoch from '2026-07-23 17:51:47'::timestamp) - extract(epoch from '2026-07-23 17:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550142 -3.016186)'), GeomFromEWKT('SRID=4674;POINT (-39.550119 -3.016178)'))) / (select extract(epoch from '2026-07-23 17:51:47'::timestamp) - extract(epoch from '2026-07-23 17:51: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'), 47855, 'SRID=4674;POINT (-39.55012 -3.016162)', '2026-07-23 17:52:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550119 -3.016178)'), GeomFromEWKT('SRID=4674;POINT (-39.55012 -3.016162)'))) / (select extract(epoch from '2026-07-23 17:52:09'::timestamp) - extract(epoch from '2026-07-23 17:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550119 -3.016178)'), GeomFromEWKT('SRID=4674;POINT (-39.55012 -3.016162)'))) / (select extract(epoch from '2026-07-23 17:52:09'::timestamp) - extract(epoch from '2026-07-23 17:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550124 -3.016145)', '2026-07-23 17:52:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55012 -3.016162)'), GeomFromEWKT('SRID=4674;POINT (-39.550124 -3.016145)'))) / (select extract(epoch from '2026-07-23 17:52:15'::timestamp) - extract(epoch from '2026-07-23 17:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55012 -3.016162)'), GeomFromEWKT('SRID=4674;POINT (-39.550124 -3.016145)'))) / (select extract(epoch from '2026-07-23 17:52:15'::timestamp) - extract(epoch from '2026-07-23 17:52: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'), 47855, 'SRID=4674;POINT (-39.550132 -3.016157)', '2026-07-23 17:52:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550124 -3.016145)'), GeomFromEWKT('SRID=4674;POINT (-39.550132 -3.016157)'))) / (select extract(epoch from '2026-07-23 17:52:23'::timestamp) - extract(epoch from '2026-07-23 17:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550124 -3.016145)'), GeomFromEWKT('SRID=4674;POINT (-39.550132 -3.016157)'))) / (select extract(epoch from '2026-07-23 17:52:23'::timestamp) - extract(epoch from '2026-07-23 17:52: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'), 47855, 'SRID=4674;POINT (-39.550127 -3.016157)', '2026-07-23 17:52:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550132 -3.016157)'), GeomFromEWKT('SRID=4674;POINT (-39.550127 -3.016157)'))) / (select extract(epoch from '2026-07-23 17:52:28'::timestamp) - extract(epoch from '2026-07-23 17:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550132 -3.016157)'), GeomFromEWKT('SRID=4674;POINT (-39.550127 -3.016157)'))) / (select extract(epoch from '2026-07-23 17:52:28'::timestamp) - extract(epoch from '2026-07-23 17:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550126 -3.016161)', '2026-07-23 17:52:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550127 -3.016157)'), GeomFromEWKT('SRID=4674;POINT (-39.550126 -3.016161)'))) / (select extract(epoch from '2026-07-23 17:52:45'::timestamp) - extract(epoch from '2026-07-23 17:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550127 -3.016157)'), GeomFromEWKT('SRID=4674;POINT (-39.550126 -3.016161)'))) / (select extract(epoch from '2026-07-23 17:52:45'::timestamp) - extract(epoch from '2026-07-23 17:52:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550129 -3.016163)', '2026-07-23 17:53:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550126 -3.016161)'), GeomFromEWKT('SRID=4674;POINT (-39.550129 -3.016163)'))) / (select extract(epoch from '2026-07-23 17:53:16'::timestamp) - extract(epoch from '2026-07-23 17:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550126 -3.016161)'), GeomFromEWKT('SRID=4674;POINT (-39.550129 -3.016163)'))) / (select extract(epoch from '2026-07-23 17:53:16'::timestamp) - extract(epoch from '2026-07-23 17:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550131 -3.016159)', '2026-07-23 17:53:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550129 -3.016163)'), GeomFromEWKT('SRID=4674;POINT (-39.550131 -3.016159)'))) / (select extract(epoch from '2026-07-23 17:53:26'::timestamp) - extract(epoch from '2026-07-23 17:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550129 -3.016163)'), GeomFromEWKT('SRID=4674;POINT (-39.550131 -3.016159)'))) / (select extract(epoch from '2026-07-23 17:53:26'::timestamp) - extract(epoch from '2026-07-23 17:53: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'), 47855, 'SRID=4674;POINT (-39.550127 -3.016171)', '2026-07-23 17:53:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550131 -3.016159)'), GeomFromEWKT('SRID=4674;POINT (-39.550127 -3.016171)'))) / (select extract(epoch from '2026-07-23 17:53:38'::timestamp) - extract(epoch from '2026-07-23 17:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550131 -3.016159)'), GeomFromEWKT('SRID=4674;POINT (-39.550127 -3.016171)'))) / (select extract(epoch from '2026-07-23 17:53:38'::timestamp) - extract(epoch from '2026-07-23 17:53: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'), 47855, 'SRID=4674;POINT (-39.550128 -3.016162)', '2026-07-23 17:54:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550127 -3.016171)'), GeomFromEWKT('SRID=4674;POINT (-39.550128 -3.016162)'))) / (select extract(epoch from '2026-07-23 17:54:12'::timestamp) - extract(epoch from '2026-07-23 17:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550127 -3.016171)'), GeomFromEWKT('SRID=4674;POINT (-39.550128 -3.016162)'))) / (select extract(epoch from '2026-07-23 17:54:12'::timestamp) - extract(epoch from '2026-07-23 17:53: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'), 47855, 'SRID=4674;POINT (-39.550123 -3.016168)', '2026-07-23 17:54:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550128 -3.016162)'), GeomFromEWKT('SRID=4674;POINT (-39.550123 -3.016168)'))) / (select extract(epoch from '2026-07-23 17:54:27'::timestamp) - extract(epoch from '2026-07-23 17:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550128 -3.016162)'), GeomFromEWKT('SRID=4674;POINT (-39.550123 -3.016168)'))) / (select extract(epoch from '2026-07-23 17:54:27'::timestamp) - extract(epoch from '2026-07-23 17:54: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'), 47855, 'SRID=4674;POINT (-39.550126 -3.016163)', '2026-07-23 17:54:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550123 -3.016168)'), GeomFromEWKT('SRID=4674;POINT (-39.550126 -3.016163)'))) / (select extract(epoch from '2026-07-23 17:54:58'::timestamp) - extract(epoch from '2026-07-23 17:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550123 -3.016168)'), GeomFromEWKT('SRID=4674;POINT (-39.550126 -3.016163)'))) / (select extract(epoch from '2026-07-23 17:54:58'::timestamp) - extract(epoch from '2026-07-23 17:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550115 -3.016163)', '2026-07-23 17:55:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550126 -3.016163)'), GeomFromEWKT('SRID=4674;POINT (-39.550115 -3.016163)'))) / (select extract(epoch from '2026-07-23 17:55:41'::timestamp) - extract(epoch from '2026-07-23 17:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550126 -3.016163)'), GeomFromEWKT('SRID=4674;POINT (-39.550115 -3.016163)'))) / (select extract(epoch from '2026-07-23 17:55:41'::timestamp) - extract(epoch from '2026-07-23 17:54: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'), 47855, 'SRID=4674;POINT (-39.550125 -3.016162)', '2026-07-23 17:55:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550115 -3.016163)'), GeomFromEWKT('SRID=4674;POINT (-39.550125 -3.016162)'))) / (select extract(epoch from '2026-07-23 17:55:58'::timestamp) - extract(epoch from '2026-07-23 17:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550115 -3.016163)'), GeomFromEWKT('SRID=4674;POINT (-39.550125 -3.016162)'))) / (select extract(epoch from '2026-07-23 17:55:58'::timestamp) - extract(epoch from '2026-07-23 17:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.55012 -3.016164)', '2026-07-23 17:56:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550125 -3.016162)'), GeomFromEWKT('SRID=4674;POINT (-39.55012 -3.016164)'))) / (select extract(epoch from '2026-07-23 17:56:06'::timestamp) - extract(epoch from '2026-07-23 17:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550125 -3.016162)'), GeomFromEWKT('SRID=4674;POINT (-39.55012 -3.016164)'))) / (select extract(epoch from '2026-07-23 17:56:06'::timestamp) - extract(epoch from '2026-07-23 17:55: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'), 47855, 'SRID=4674;POINT (-39.550135 -3.016172)', '2026-07-23 17:57:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55012 -3.016164)'), GeomFromEWKT('SRID=4674;POINT (-39.550135 -3.016172)'))) / (select extract(epoch from '2026-07-23 17:57:10'::timestamp) - extract(epoch from '2026-07-23 17:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55012 -3.016164)'), GeomFromEWKT('SRID=4674;POINT (-39.550135 -3.016172)'))) / (select extract(epoch from '2026-07-23 17:57:10'::timestamp) - extract(epoch from '2026-07-23 17:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550128 -3.016165)', '2026-07-23 17:57:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550135 -3.016172)'), GeomFromEWKT('SRID=4674;POINT (-39.550128 -3.016165)'))) / (select extract(epoch from '2026-07-23 17:57:25'::timestamp) - extract(epoch from '2026-07-23 17:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550135 -3.016172)'), GeomFromEWKT('SRID=4674;POINT (-39.550128 -3.016165)'))) / (select extract(epoch from '2026-07-23 17:57:25'::timestamp) - extract(epoch from '2026-07-23 17:57:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.55013 -3.016165)', '2026-07-23 17:57:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550128 -3.016165)'), GeomFromEWKT('SRID=4674;POINT (-39.55013 -3.016165)'))) / (select extract(epoch from '2026-07-23 17:57:32'::timestamp) - extract(epoch from '2026-07-23 17:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550128 -3.016165)'), GeomFromEWKT('SRID=4674;POINT (-39.55013 -3.016165)'))) / (select extract(epoch from '2026-07-23 17:57:32'::timestamp) - extract(epoch from '2026-07-23 17:57: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'), 47855, 'SRID=4674;POINT (-39.55013 -3.016165)', '2026-07-23 17:58:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55013 -3.016165)'), GeomFromEWKT('SRID=4674;POINT (-39.55013 -3.016165)'))) / (select extract(epoch from '2026-07-23 17:58:08'::timestamp) - extract(epoch from '2026-07-23 17:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55013 -3.016165)'), GeomFromEWKT('SRID=4674;POINT (-39.55013 -3.016165)'))) / (select extract(epoch from '2026-07-23 17:58:08'::timestamp) - extract(epoch from '2026-07-23 17:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550152 -3.016169)', '2026-07-23 18:33:06', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55013 -3.016165)'), GeomFromEWKT('SRID=4674;POINT (-39.550152 -3.016169)'))) / (select extract(epoch from '2026-07-23 18:33:06'::timestamp) - extract(epoch from '2026-07-23 17:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55013 -3.016165)'), GeomFromEWKT('SRID=4674;POINT (-39.550152 -3.016169)'))) / (select extract(epoch from '2026-07-23 18:33:06'::timestamp) - extract(epoch from '2026-07-23 17:58: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'), 47855, 'SRID=4674;POINT (-39.550155 -3.016201)', '2026-07-23 18:33:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550152 -3.016169)'), GeomFromEWKT('SRID=4674;POINT (-39.550155 -3.016201)'))) / (select extract(epoch from '2026-07-23 18:33:18'::timestamp) - extract(epoch from '2026-07-23 18:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550152 -3.016169)'), GeomFromEWKT('SRID=4674;POINT (-39.550155 -3.016201)'))) / (select extract(epoch from '2026-07-23 18:33:18'::timestamp) - extract(epoch from '2026-07-23 18:33: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'), 47855, 'SRID=4674;POINT (-39.55015 -3.016198)', '2026-07-23 18:33:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550155 -3.016201)'), GeomFromEWKT('SRID=4674;POINT (-39.55015 -3.016198)'))) / (select extract(epoch from '2026-07-23 18:33:26'::timestamp) - extract(epoch from '2026-07-23 18:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550155 -3.016201)'), GeomFromEWKT('SRID=4674;POINT (-39.55015 -3.016198)'))) / (select extract(epoch from '2026-07-23 18:33:26'::timestamp) - extract(epoch from '2026-07-23 18:33: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'), 47855, 'SRID=4674;POINT (-39.550149 -3.016196)', '2026-07-23 18:33:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55015 -3.016198)'), GeomFromEWKT('SRID=4674;POINT (-39.550149 -3.016196)'))) / (select extract(epoch from '2026-07-23 18:33:32'::timestamp) - extract(epoch from '2026-07-23 18:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55015 -3.016198)'), GeomFromEWKT('SRID=4674;POINT (-39.550149 -3.016196)'))) / (select extract(epoch from '2026-07-23 18:33:32'::timestamp) - extract(epoch from '2026-07-23 18: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'), 47855, 'SRID=4674;POINT (-39.550149 -3.016198)', '2026-07-23 18:33:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550149 -3.016196)'), GeomFromEWKT('SRID=4674;POINT (-39.550149 -3.016198)'))) / (select extract(epoch from '2026-07-23 18:33:44'::timestamp) - extract(epoch from '2026-07-23 18:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550149 -3.016196)'), GeomFromEWKT('SRID=4674;POINT (-39.550149 -3.016198)'))) / (select extract(epoch from '2026-07-23 18:33:44'::timestamp) - extract(epoch from '2026-07-23 18:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550139 -3.016197)', '2026-07-23 18:33:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550149 -3.016198)'), GeomFromEWKT('SRID=4674;POINT (-39.550139 -3.016197)'))) / (select extract(epoch from '2026-07-23 18:33:48'::timestamp) - extract(epoch from '2026-07-23 18:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550149 -3.016198)'), GeomFromEWKT('SRID=4674;POINT (-39.550139 -3.016197)'))) / (select extract(epoch from '2026-07-23 18:33:48'::timestamp) - extract(epoch from '2026-07-23 18:33: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'), 47855, 'SRID=4674;POINT (-39.550177 -3.016295)', '2026-07-23 18:43:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550139 -3.016197)'), GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016295)'))) / (select extract(epoch from '2026-07-23 18:43:19'::timestamp) - extract(epoch from '2026-07-23 18:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550139 -3.016197)'), GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016295)'))) / (select extract(epoch from '2026-07-23 18:43:19'::timestamp) - extract(epoch from '2026-07-23 18:33: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'), 47855, 'SRID=4674;POINT (-39.550179 -3.016296)', '2026-07-23 18:43:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016295)'), GeomFromEWKT('SRID=4674;POINT (-39.550179 -3.016296)'))) / (select extract(epoch from '2026-07-23 18:43:24'::timestamp) - extract(epoch from '2026-07-23 18:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016295)'), GeomFromEWKT('SRID=4674;POINT (-39.550179 -3.016296)'))) / (select extract(epoch from '2026-07-23 18:43:24'::timestamp) - extract(epoch from '2026-07-23 18:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.55017 -3.016292)', '2026-07-23 18:43:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550179 -3.016296)'), GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.016292)'))) / (select extract(epoch from '2026-07-23 18:43:29'::timestamp) - extract(epoch from '2026-07-23 18:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550179 -3.016296)'), GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.016292)'))) / (select extract(epoch from '2026-07-23 18:43:29'::timestamp) - extract(epoch from '2026-07-23 18:43: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'), 47855, 'SRID=4674;POINT (-39.550177 -3.016294)', '2026-07-23 18:43:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.016292)'), GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016294)'))) / (select extract(epoch from '2026-07-23 18:43:42'::timestamp) - extract(epoch from '2026-07-23 18:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.016292)'), GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016294)'))) / (select extract(epoch from '2026-07-23 18:43:42'::timestamp) - extract(epoch from '2026-07-23 18:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550181 -3.016293)', '2026-07-23 18:43:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016294)'), GeomFromEWKT('SRID=4674;POINT (-39.550181 -3.016293)'))) / (select extract(epoch from '2026-07-23 18:43:49'::timestamp) - extract(epoch from '2026-07-23 18:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016294)'), GeomFromEWKT('SRID=4674;POINT (-39.550181 -3.016293)'))) / (select extract(epoch from '2026-07-23 18:43:49'::timestamp) - extract(epoch from '2026-07-23 18: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'), 47855, 'SRID=4674;POINT (-39.550174 -3.016286)', '2026-07-23 18:43:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550181 -3.016293)'), GeomFromEWKT('SRID=4674;POINT (-39.550174 -3.016286)'))) / (select extract(epoch from '2026-07-23 18:43:59'::timestamp) - extract(epoch from '2026-07-23 18:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550181 -3.016293)'), GeomFromEWKT('SRID=4674;POINT (-39.550174 -3.016286)'))) / (select extract(epoch from '2026-07-23 18:43:59'::timestamp) - extract(epoch from '2026-07-23 18:43: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'), 47855, 'SRID=4674;POINT (-39.550176 -3.01629)', '2026-07-23 18:44:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550174 -3.016286)'), GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.01629)'))) / (select extract(epoch from '2026-07-23 18:44:13'::timestamp) - extract(epoch from '2026-07-23 18:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550174 -3.016286)'), GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.01629)'))) / (select extract(epoch from '2026-07-23 18:44:13'::timestamp) - extract(epoch from '2026-07-23 18: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'), 47855, 'SRID=4674;POINT (-39.550177 -3.016284)', '2026-07-23 18:44:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.01629)'), GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016284)'))) / (select extract(epoch from '2026-07-23 18:44:21'::timestamp) - extract(epoch from '2026-07-23 18:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.01629)'), GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016284)'))) / (select extract(epoch from '2026-07-23 18:44:21'::timestamp) - extract(epoch from '2026-07-23 18: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'), 47855, 'SRID=4674;POINT (-39.550169 -3.016285)', '2026-07-23 18:44:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016284)'), GeomFromEWKT('SRID=4674;POINT (-39.550169 -3.016285)'))) / (select extract(epoch from '2026-07-23 18:44:29'::timestamp) - extract(epoch from '2026-07-23 18:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550177 -3.016284)'), GeomFromEWKT('SRID=4674;POINT (-39.550169 -3.016285)'))) / (select extract(epoch from '2026-07-23 18:44:29'::timestamp) - extract(epoch from '2026-07-23 18:44: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'), 47855, 'SRID=4674;POINT (-39.55017 -3.016292)', '2026-07-23 18:44:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550169 -3.016285)'), GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.016292)'))) / (select extract(epoch from '2026-07-23 18:44:38'::timestamp) - extract(epoch from '2026-07-23 18:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550169 -3.016285)'), GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.016292)'))) / (select extract(epoch from '2026-07-23 18:44:38'::timestamp) - extract(epoch from '2026-07-23 18: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'), 47855, 'SRID=4674;POINT (-39.55016 -3.016292)', '2026-07-23 18:44:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.016292)'), GeomFromEWKT('SRID=4674;POINT (-39.55016 -3.016292)'))) / (select extract(epoch from '2026-07-23 18:44:46'::timestamp) - extract(epoch from '2026-07-23 18:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.016292)'), GeomFromEWKT('SRID=4674;POINT (-39.55016 -3.016292)'))) / (select extract(epoch from '2026-07-23 18:44:46'::timestamp) - extract(epoch from '2026-07-23 18:44: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'), 47855, 'SRID=4674;POINT (-39.550159 -3.016289)', '2026-07-23 18:44:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55016 -3.016292)'), GeomFromEWKT('SRID=4674;POINT (-39.550159 -3.016289)'))) / (select extract(epoch from '2026-07-23 18:44:51'::timestamp) - extract(epoch from '2026-07-23 18:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55016 -3.016292)'), GeomFromEWKT('SRID=4674;POINT (-39.550159 -3.016289)'))) / (select extract(epoch from '2026-07-23 18:44:51'::timestamp) - extract(epoch from '2026-07-23 18:44: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'), 47855, 'SRID=4674;POINT (-39.550176 -3.016292)', '2026-07-23 18:44:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550159 -3.016289)'), GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016292)'))) / (select extract(epoch from '2026-07-23 18:44:58'::timestamp) - extract(epoch from '2026-07-23 18:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550159 -3.016289)'), GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016292)'))) / (select extract(epoch from '2026-07-23 18:44:58'::timestamp) - extract(epoch from '2026-07-23 18:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550172 -3.016296)', '2026-07-23 18:45:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016292)'), GeomFromEWKT('SRID=4674;POINT (-39.550172 -3.016296)'))) / (select extract(epoch from '2026-07-23 18:45:06'::timestamp) - extract(epoch from '2026-07-23 18:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016292)'), GeomFromEWKT('SRID=4674;POINT (-39.550172 -3.016296)'))) / (select extract(epoch from '2026-07-23 18:45:06'::timestamp) - extract(epoch from '2026-07-23 18:44: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'), 47855, 'SRID=4674;POINT (-39.550176 -3.016295)', '2026-07-23 18:45:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550172 -3.016296)'), GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016295)'))) / (select extract(epoch from '2026-07-23 18:45:15'::timestamp) - extract(epoch from '2026-07-23 18:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550172 -3.016296)'), GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016295)'))) / (select extract(epoch from '2026-07-23 18:45:15'::timestamp) - extract(epoch from '2026-07-23 18:45: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'), 47855, 'SRID=4674;POINT (-39.550169 -3.016293)', '2026-07-23 18:45:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016295)'), GeomFromEWKT('SRID=4674;POINT (-39.550169 -3.016293)'))) / (select extract(epoch from '2026-07-23 18:45:20'::timestamp) - extract(epoch from '2026-07-23 18:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016295)'), GeomFromEWKT('SRID=4674;POINT (-39.550169 -3.016293)'))) / (select extract(epoch from '2026-07-23 18:45:20'::timestamp) - extract(epoch from '2026-07-23 18:45: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'), 47855, 'SRID=4674;POINT (-39.550176 -3.016289)', '2026-07-23 18:45:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550169 -3.016293)'), GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016289)'))) / (select extract(epoch from '2026-07-23 18:45:29'::timestamp) - extract(epoch from '2026-07-23 18:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550169 -3.016293)'), GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016289)'))) / (select extract(epoch from '2026-07-23 18:45:29'::timestamp) - extract(epoch from '2026-07-23 18: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'), 47855, 'SRID=4674;POINT (-39.550156 -3.016281)', '2026-07-23 18:45:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016289)'), GeomFromEWKT('SRID=4674;POINT (-39.550156 -3.016281)'))) / (select extract(epoch from '2026-07-23 18:45:36'::timestamp) - extract(epoch from '2026-07-23 18:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550176 -3.016289)'), GeomFromEWKT('SRID=4674;POINT (-39.550156 -3.016281)'))) / (select extract(epoch from '2026-07-23 18:45:36'::timestamp) - extract(epoch from '2026-07-23 18:45: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'), 47855, 'SRID=4674;POINT (-39.550166 -3.016282)', '2026-07-23 18:45:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550156 -3.016281)'), GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016282)'))) / (select extract(epoch from '2026-07-23 18:45:45'::timestamp) - extract(epoch from '2026-07-23 18:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550156 -3.016281)'), GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016282)'))) / (select extract(epoch from '2026-07-23 18:45:45'::timestamp) - extract(epoch from '2026-07-23 18: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'), 47855, 'SRID=4674;POINT (-39.550164 -3.016283)', '2026-07-23 18:45:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016282)'), GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016283)'))) / (select extract(epoch from '2026-07-23 18:45:54'::timestamp) - extract(epoch from '2026-07-23 18:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016282)'), GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016283)'))) / (select extract(epoch from '2026-07-23 18:45:54'::timestamp) - extract(epoch from '2026-07-23 18: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'), 47855, 'SRID=4674;POINT (-39.550165 -3.016279)', '2026-07-23 18:45:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016283)'), GeomFromEWKT('SRID=4674;POINT (-39.550165 -3.016279)'))) / (select extract(epoch from '2026-07-23 18:45:59'::timestamp) - extract(epoch from '2026-07-23 18:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016283)'), GeomFromEWKT('SRID=4674;POINT (-39.550165 -3.016279)'))) / (select extract(epoch from '2026-07-23 18:45:59'::timestamp) - extract(epoch from '2026-07-23 18:45:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550166 -3.016275)', '2026-07-23 18:46:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550165 -3.016279)'), GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016275)'))) / (select extract(epoch from '2026-07-23 18:46:08'::timestamp) - extract(epoch from '2026-07-23 18:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550165 -3.016279)'), GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016275)'))) / (select extract(epoch from '2026-07-23 18:46:08'::timestamp) - extract(epoch from '2026-07-23 18:45: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'), 47855, 'SRID=4674;POINT (-39.550166 -3.016271)', '2026-07-23 18:46:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016275)'), GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016271)'))) / (select extract(epoch from '2026-07-23 18:46:13'::timestamp) - extract(epoch from '2026-07-23 18:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016275)'), GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016271)'))) / (select extract(epoch from '2026-07-23 18:46:13'::timestamp) - extract(epoch from '2026-07-23 18:46:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550158 -3.016269)', '2026-07-23 18:46:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016271)'), GeomFromEWKT('SRID=4674;POINT (-39.550158 -3.016269)'))) / (select extract(epoch from '2026-07-23 18:46:19'::timestamp) - extract(epoch from '2026-07-23 18:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550166 -3.016271)'), GeomFromEWKT('SRID=4674;POINT (-39.550158 -3.016269)'))) / (select extract(epoch from '2026-07-23 18:46:19'::timestamp) - extract(epoch from '2026-07-23 18:46: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'), 47855, 'SRID=4674;POINT (-39.550168 -3.016272)', '2026-07-23 18:46:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550158 -3.016269)'), GeomFromEWKT('SRID=4674;POINT (-39.550168 -3.016272)'))) / (select extract(epoch from '2026-07-23 18:46:26'::timestamp) - extract(epoch from '2026-07-23 18:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550158 -3.016269)'), GeomFromEWKT('SRID=4674;POINT (-39.550168 -3.016272)'))) / (select extract(epoch from '2026-07-23 18:46:26'::timestamp) - extract(epoch from '2026-07-23 18:46: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'), 47855, 'SRID=4674;POINT (-39.550164 -3.016281)', '2026-07-23 18:46:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550168 -3.016272)'), GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016281)'))) / (select extract(epoch from '2026-07-23 18:46:33'::timestamp) - extract(epoch from '2026-07-23 18:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550168 -3.016272)'), GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016281)'))) / (select extract(epoch from '2026-07-23 18:46:33'::timestamp) - extract(epoch from '2026-07-23 18:46: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'), 47855, 'SRID=4674;POINT (-39.550172 -3.016281)', '2026-07-23 18:46:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016281)'), GeomFromEWKT('SRID=4674;POINT (-39.550172 -3.016281)'))) / (select extract(epoch from '2026-07-23 18:46:37'::timestamp) - extract(epoch from '2026-07-23 18:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550164 -3.016281)'), GeomFromEWKT('SRID=4674;POINT (-39.550172 -3.016281)'))) / (select extract(epoch from '2026-07-23 18:46:37'::timestamp) - extract(epoch from '2026-07-23 18:46: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'), 47855, 'SRID=4674;POINT (-39.550179 -3.016278)', '2026-07-23 18:46:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550172 -3.016281)'), GeomFromEWKT('SRID=4674;POINT (-39.550179 -3.016278)'))) / (select extract(epoch from '2026-07-23 18:46:44'::timestamp) - extract(epoch from '2026-07-23 18:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550172 -3.016281)'), GeomFromEWKT('SRID=4674;POINT (-39.550179 -3.016278)'))) / (select extract(epoch from '2026-07-23 18:46:44'::timestamp) - extract(epoch from '2026-07-23 18:46: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'), 47855, 'SRID=4674;POINT (-39.550175 -3.016282)', '2026-07-23 18:46:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550179 -3.016278)'), GeomFromEWKT('SRID=4674;POINT (-39.550175 -3.016282)'))) / (select extract(epoch from '2026-07-23 18:46:51'::timestamp) - extract(epoch from '2026-07-23 18:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550179 -3.016278)'), GeomFromEWKT('SRID=4674;POINT (-39.550175 -3.016282)'))) / (select extract(epoch from '2026-07-23 18:46:51'::timestamp) - extract(epoch from '2026-07-23 18:46: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'), 47855, 'SRID=4674;POINT (-39.550171 -3.01628)', '2026-07-23 18:47:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550175 -3.016282)'), GeomFromEWKT('SRID=4674;POINT (-39.550171 -3.01628)'))) / (select extract(epoch from '2026-07-23 18:47:04'::timestamp) - extract(epoch from '2026-07-23 18:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550175 -3.016282)'), GeomFromEWKT('SRID=4674;POINT (-39.550171 -3.01628)'))) / (select extract(epoch from '2026-07-23 18:47:04'::timestamp) - extract(epoch from '2026-07-23 18:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550168 -3.016277)', '2026-07-23 18:47:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550171 -3.01628)'), GeomFromEWKT('SRID=4674;POINT (-39.550168 -3.016277)'))) / (select extract(epoch from '2026-07-23 18:47:09'::timestamp) - extract(epoch from '2026-07-23 18:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550171 -3.01628)'), GeomFromEWKT('SRID=4674;POINT (-39.550168 -3.016277)'))) / (select extract(epoch from '2026-07-23 18:47:09'::timestamp) - extract(epoch from '2026-07-23 18:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550182 -3.016277)', '2026-07-23 18:47:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550168 -3.016277)'), GeomFromEWKT('SRID=4674;POINT (-39.550182 -3.016277)'))) / (select extract(epoch from '2026-07-23 18:47:17'::timestamp) - extract(epoch from '2026-07-23 18:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550168 -3.016277)'), GeomFromEWKT('SRID=4674;POINT (-39.550182 -3.016277)'))) / (select extract(epoch from '2026-07-23 18:47:17'::timestamp) - extract(epoch from '2026-07-23 18:47: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'), 47855, 'SRID=4674;POINT (-39.550174 -3.016272)', '2026-07-23 18:47:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550182 -3.016277)'), GeomFromEWKT('SRID=4674;POINT (-39.550174 -3.016272)'))) / (select extract(epoch from '2026-07-23 18:47:20'::timestamp) - extract(epoch from '2026-07-23 18:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550182 -3.016277)'), GeomFromEWKT('SRID=4674;POINT (-39.550174 -3.016272)'))) / (select extract(epoch from '2026-07-23 18:47:20'::timestamp) - extract(epoch from '2026-07-23 18:47: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'), 47855, 'SRID=4674;POINT (-39.543643 -3.023441)', '2026-07-23 20:34:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550174 -3.016272)'), GeomFromEWKT('SRID=4674;POINT (-39.543643 -3.023441)'))) / (select extract(epoch from '2026-07-23 20:34:15'::timestamp) - extract(epoch from '2026-07-23 18:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550174 -3.016272)'), GeomFromEWKT('SRID=4674;POINT (-39.543643 -3.023441)'))) / (select extract(epoch from '2026-07-23 20:34:15'::timestamp) - extract(epoch from '2026-07-23 18:47: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'), 47855, 'SRID=4674;POINT (-39.543683 -3.023614)', '2026-07-23 20:34:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543643 -3.023441)'), GeomFromEWKT('SRID=4674;POINT (-39.543683 -3.023614)'))) / (select extract(epoch from '2026-07-23 20:34:27'::timestamp) - extract(epoch from '2026-07-23 20:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543643 -3.023441)'), GeomFromEWKT('SRID=4674;POINT (-39.543683 -3.023614)'))) / (select extract(epoch from '2026-07-23 20:34:27'::timestamp) - extract(epoch from '2026-07-23 20:34: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'), 47855, 'SRID=4674;POINT (-39.543713 -3.023698)', '2026-07-23 20:34:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543683 -3.023614)'), GeomFromEWKT('SRID=4674;POINT (-39.543713 -3.023698)'))) / (select extract(epoch from '2026-07-23 20:34:32'::timestamp) - extract(epoch from '2026-07-23 20:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543683 -3.023614)'), GeomFromEWKT('SRID=4674;POINT (-39.543713 -3.023698)'))) / (select extract(epoch from '2026-07-23 20:34:32'::timestamp) - extract(epoch from '2026-07-23 20:34: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'), 47855, 'SRID=4674;POINT (-39.543745 -3.023833)', '2026-07-23 20:34:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543713 -3.023698)'), GeomFromEWKT('SRID=4674;POINT (-39.543745 -3.023833)'))) / (select extract(epoch from '2026-07-23 20:34:39'::timestamp) - extract(epoch from '2026-07-23 20:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543713 -3.023698)'), GeomFromEWKT('SRID=4674;POINT (-39.543745 -3.023833)'))) / (select extract(epoch from '2026-07-23 20:34:39'::timestamp) - extract(epoch from '2026-07-23 20:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543793 -3.023941)', '2026-07-23 20:34:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543745 -3.023833)'), GeomFromEWKT('SRID=4674;POINT (-39.543793 -3.023941)'))) / (select extract(epoch from '2026-07-23 20:34:45'::timestamp) - extract(epoch from '2026-07-23 20:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543745 -3.023833)'), GeomFromEWKT('SRID=4674;POINT (-39.543793 -3.023941)'))) / (select extract(epoch from '2026-07-23 20:34:45'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.543807 -3.02404)', '2026-07-23 20:34:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543793 -3.023941)'), GeomFromEWKT('SRID=4674;POINT (-39.543807 -3.02404)'))) / (select extract(epoch from '2026-07-23 20:34:51'::timestamp) - extract(epoch from '2026-07-23 20:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543793 -3.023941)'), GeomFromEWKT('SRID=4674;POINT (-39.543807 -3.02404)'))) / (select extract(epoch from '2026-07-23 20:34:51'::timestamp) - extract(epoch from '2026-07-23 20:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54381 -3.024161)', '2026-07-23 20:34:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543807 -3.02404)'), GeomFromEWKT('SRID=4674;POINT (-39.54381 -3.024161)'))) / (select extract(epoch from '2026-07-23 20:34:58'::timestamp) - extract(epoch from '2026-07-23 20:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543807 -3.02404)'), GeomFromEWKT('SRID=4674;POINT (-39.54381 -3.024161)'))) / (select extract(epoch from '2026-07-23 20:34:58'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.543815 -3.024196)', '2026-07-23 20:35:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54381 -3.024161)'), GeomFromEWKT('SRID=4674;POINT (-39.543815 -3.024196)'))) / (select extract(epoch from '2026-07-23 20:35:00'::timestamp) - extract(epoch from '2026-07-23 20:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54381 -3.024161)'), GeomFromEWKT('SRID=4674;POINT (-39.543815 -3.024196)'))) / (select extract(epoch from '2026-07-23 20:35:00'::timestamp) - extract(epoch from '2026-07-23 20:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543808 -3.024244)', '2026-07-23 20:35:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543815 -3.024196)'), GeomFromEWKT('SRID=4674;POINT (-39.543808 -3.024244)'))) / (select extract(epoch from '2026-07-23 20:35:03'::timestamp) - extract(epoch from '2026-07-23 20:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543815 -3.024196)'), GeomFromEWKT('SRID=4674;POINT (-39.543808 -3.024244)'))) / (select extract(epoch from '2026-07-23 20:35:03'::timestamp) - extract(epoch from '2026-07-23 20:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543798 -3.024309)', '2026-07-23 20:35:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543808 -3.024244)'), GeomFromEWKT('SRID=4674;POINT (-39.543798 -3.024309)'))) / (select extract(epoch from '2026-07-23 20:35:08'::timestamp) - extract(epoch from '2026-07-23 20:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543808 -3.024244)'), GeomFromEWKT('SRID=4674;POINT (-39.543798 -3.024309)'))) / (select extract(epoch from '2026-07-23 20:35:08'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.543799 -3.02439)', '2026-07-23 20:35:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543798 -3.024309)'), GeomFromEWKT('SRID=4674;POINT (-39.543799 -3.02439)'))) / (select extract(epoch from '2026-07-23 20:35:14'::timestamp) - extract(epoch from '2026-07-23 20:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543798 -3.024309)'), GeomFromEWKT('SRID=4674;POINT (-39.543799 -3.02439)'))) / (select extract(epoch from '2026-07-23 20:35:14'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.543771 -3.02448)', '2026-07-23 20:35:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543799 -3.02439)'), GeomFromEWKT('SRID=4674;POINT (-39.543771 -3.02448)'))) / (select extract(epoch from '2026-07-23 20:35:21'::timestamp) - extract(epoch from '2026-07-23 20:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543799 -3.02439)'), GeomFromEWKT('SRID=4674;POINT (-39.543771 -3.02448)'))) / (select extract(epoch from '2026-07-23 20:35:21'::timestamp) - extract(epoch from '2026-07-23 20:35:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543775 -3.024504)', '2026-07-23 20:35:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543771 -3.02448)'), GeomFromEWKT('SRID=4674;POINT (-39.543775 -3.024504)'))) / (select extract(epoch from '2026-07-23 20:35:23'::timestamp) - extract(epoch from '2026-07-23 20:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543771 -3.02448)'), GeomFromEWKT('SRID=4674;POINT (-39.543775 -3.024504)'))) / (select extract(epoch from '2026-07-23 20:35:23'::timestamp) - extract(epoch from '2026-07-23 20:35: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'), 47855, 'SRID=4674;POINT (-39.54377 -3.024522)', '2026-07-23 20:35:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543775 -3.024504)'), GeomFromEWKT('SRID=4674;POINT (-39.54377 -3.024522)'))) / (select extract(epoch from '2026-07-23 20:35:26'::timestamp) - extract(epoch from '2026-07-23 20:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543775 -3.024504)'), GeomFromEWKT('SRID=4674;POINT (-39.54377 -3.024522)'))) / (select extract(epoch from '2026-07-23 20:35:26'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.543782 -3.024567)', '2026-07-23 20:35:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54377 -3.024522)'), GeomFromEWKT('SRID=4674;POINT (-39.543782 -3.024567)'))) / (select extract(epoch from '2026-07-23 20:35:30'::timestamp) - extract(epoch from '2026-07-23 20:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54377 -3.024522)'), GeomFromEWKT('SRID=4674;POINT (-39.543782 -3.024567)'))) / (select extract(epoch from '2026-07-23 20:35:30'::timestamp) - extract(epoch from '2026-07-23 20:35: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'), 47855, 'SRID=4674;POINT (-39.543779 -3.024593)', '2026-07-23 20:35:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543782 -3.024567)'), GeomFromEWKT('SRID=4674;POINT (-39.543779 -3.024593)'))) / (select extract(epoch from '2026-07-23 20:35:32'::timestamp) - extract(epoch from '2026-07-23 20:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543782 -3.024567)'), GeomFromEWKT('SRID=4674;POINT (-39.543779 -3.024593)'))) / (select extract(epoch from '2026-07-23 20:35:32'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.543804 -3.024646)', '2026-07-23 20:35:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543779 -3.024593)'), GeomFromEWKT('SRID=4674;POINT (-39.543804 -3.024646)'))) / (select extract(epoch from '2026-07-23 20:35:35'::timestamp) - extract(epoch from '2026-07-23 20:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543779 -3.024593)'), GeomFromEWKT('SRID=4674;POINT (-39.543804 -3.024646)'))) / (select extract(epoch from '2026-07-23 20:35:35'::timestamp) - extract(epoch from '2026-07-23 20:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543801 -3.024675)', '2026-07-23 20:35:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543804 -3.024646)'), GeomFromEWKT('SRID=4674;POINT (-39.543801 -3.024675)'))) / (select extract(epoch from '2026-07-23 20:35:37'::timestamp) - extract(epoch from '2026-07-23 20:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543804 -3.024646)'), GeomFromEWKT('SRID=4674;POINT (-39.543801 -3.024675)'))) / (select extract(epoch from '2026-07-23 20:35:37'::timestamp) - extract(epoch from '2026-07-23 20:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543827 -3.024749)', '2026-07-23 20:35:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543801 -3.024675)'), GeomFromEWKT('SRID=4674;POINT (-39.543827 -3.024749)'))) / (select extract(epoch from '2026-07-23 20:35:41'::timestamp) - extract(epoch from '2026-07-23 20:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543801 -3.024675)'), GeomFromEWKT('SRID=4674;POINT (-39.543827 -3.024749)'))) / (select extract(epoch from '2026-07-23 20:35:41'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.543876 -3.024833)', '2026-07-23 20:35:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543827 -3.024749)'), GeomFromEWKT('SRID=4674;POINT (-39.543876 -3.024833)'))) / (select extract(epoch from '2026-07-23 20:35:45'::timestamp) - extract(epoch from '2026-07-23 20:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543827 -3.024749)'), GeomFromEWKT('SRID=4674;POINT (-39.543876 -3.024833)'))) / (select extract(epoch from '2026-07-23 20:35:45'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.543882 -3.024936)', '2026-07-23 20:35:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543876 -3.024833)'), GeomFromEWKT('SRID=4674;POINT (-39.543882 -3.024936)'))) / (select extract(epoch from '2026-07-23 20:35:50'::timestamp) - extract(epoch from '2026-07-23 20:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543876 -3.024833)'), GeomFromEWKT('SRID=4674;POINT (-39.543882 -3.024936)'))) / (select extract(epoch from '2026-07-23 20:35:50'::timestamp) - extract(epoch from '2026-07-23 20:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543898 -3.025038)', '2026-07-23 20:35:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543882 -3.024936)'), GeomFromEWKT('SRID=4674;POINT (-39.543898 -3.025038)'))) / (select extract(epoch from '2026-07-23 20:35:55'::timestamp) - extract(epoch from '2026-07-23 20:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543882 -3.024936)'), GeomFromEWKT('SRID=4674;POINT (-39.543898 -3.025038)'))) / (select extract(epoch from '2026-07-23 20:35:55'::timestamp) - extract(epoch from '2026-07-23 20:35: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'), 47855, 'SRID=4674;POINT (-39.543952 -3.025182)', '2026-07-23 20:36:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543898 -3.025038)'), GeomFromEWKT('SRID=4674;POINT (-39.543952 -3.025182)'))) / (select extract(epoch from '2026-07-23 20:36:02'::timestamp) - extract(epoch from '2026-07-23 20:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543898 -3.025038)'), GeomFromEWKT('SRID=4674;POINT (-39.543952 -3.025182)'))) / (select extract(epoch from '2026-07-23 20:36:02'::timestamp) - extract(epoch from '2026-07-23 20:35: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'), 47855, 'SRID=4674;POINT (-39.543973 -3.025295)', '2026-07-23 20:36:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543952 -3.025182)'), GeomFromEWKT('SRID=4674;POINT (-39.543973 -3.025295)'))) / (select extract(epoch from '2026-07-23 20:36:08'::timestamp) - extract(epoch from '2026-07-23 20:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543952 -3.025182)'), GeomFromEWKT('SRID=4674;POINT (-39.543973 -3.025295)'))) / (select extract(epoch from '2026-07-23 20:36:08'::timestamp) - extract(epoch from '2026-07-23 20:36: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'), 47855, 'SRID=4674;POINT (-39.544023 -3.025434)', '2026-07-23 20:36:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543973 -3.025295)'), GeomFromEWKT('SRID=4674;POINT (-39.544023 -3.025434)'))) / (select extract(epoch from '2026-07-23 20:36:14'::timestamp) - extract(epoch from '2026-07-23 20:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543973 -3.025295)'), GeomFromEWKT('SRID=4674;POINT (-39.544023 -3.025434)'))) / (select extract(epoch from '2026-07-23 20:36:14'::timestamp) - extract(epoch from '2026-07-23 20:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544051 -3.025545)', '2026-07-23 20:36:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544023 -3.025434)'), GeomFromEWKT('SRID=4674;POINT (-39.544051 -3.025545)'))) / (select extract(epoch from '2026-07-23 20:36:19'::timestamp) - extract(epoch from '2026-07-23 20:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544023 -3.025434)'), GeomFromEWKT('SRID=4674;POINT (-39.544051 -3.025545)'))) / (select extract(epoch from '2026-07-23 20:36:19'::timestamp) - extract(epoch from '2026-07-23 20:36: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'), 47855, 'SRID=4674;POINT (-39.544073 -3.02565)', '2026-07-23 20:36:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544051 -3.025545)'), GeomFromEWKT('SRID=4674;POINT (-39.544073 -3.02565)'))) / (select extract(epoch from '2026-07-23 20:36:24'::timestamp) - extract(epoch from '2026-07-23 20:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544051 -3.025545)'), GeomFromEWKT('SRID=4674;POINT (-39.544073 -3.02565)'))) / (select extract(epoch from '2026-07-23 20:36:24'::timestamp) - extract(epoch from '2026-07-23 20:36: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'), 47855, 'SRID=4674;POINT (-39.544114 -3.025785)', '2026-07-23 20:36:30', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544073 -3.02565)'), GeomFromEWKT('SRID=4674;POINT (-39.544114 -3.025785)'))) / (select extract(epoch from '2026-07-23 20:36:30'::timestamp) - extract(epoch from '2026-07-23 20:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544073 -3.02565)'), GeomFromEWKT('SRID=4674;POINT (-39.544114 -3.025785)'))) / (select extract(epoch from '2026-07-23 20:36:30'::timestamp) - extract(epoch from '2026-07-23 20:36: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'), 47855, 'SRID=4674;POINT (-39.544141 -3.025894)', '2026-07-23 20:36:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544114 -3.025785)'), GeomFromEWKT('SRID=4674;POINT (-39.544141 -3.025894)'))) / (select extract(epoch from '2026-07-23 20:36:35'::timestamp) - extract(epoch from '2026-07-23 20:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544114 -3.025785)'), GeomFromEWKT('SRID=4674;POINT (-39.544141 -3.025894)'))) / (select extract(epoch from '2026-07-23 20:36:35'::timestamp) - extract(epoch from '2026-07-23 20:36: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'), 47855, 'SRID=4674;POINT (-39.544196 -3.026009)', '2026-07-23 20:36:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544141 -3.025894)'), GeomFromEWKT('SRID=4674;POINT (-39.544196 -3.026009)'))) / (select extract(epoch from '2026-07-23 20:36:40'::timestamp) - extract(epoch from '2026-07-23 20:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544141 -3.025894)'), GeomFromEWKT('SRID=4674;POINT (-39.544196 -3.026009)'))) / (select extract(epoch from '2026-07-23 20:36:40'::timestamp) - extract(epoch from '2026-07-23 20:36: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'), 47855, 'SRID=4674;POINT (-39.544271 -3.026109)', '2026-07-23 20:36:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544196 -3.026009)'), GeomFromEWKT('SRID=4674;POINT (-39.544271 -3.026109)'))) / (select extract(epoch from '2026-07-23 20:36:45'::timestamp) - extract(epoch from '2026-07-23 20:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544196 -3.026009)'), GeomFromEWKT('SRID=4674;POINT (-39.544271 -3.026109)'))) / (select extract(epoch from '2026-07-23 20:36:45'::timestamp) - extract(epoch from '2026-07-23 20:36: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'), 47855, 'SRID=4674;POINT (-39.54433 -3.026239)', '2026-07-23 20:36:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544271 -3.026109)'), GeomFromEWKT('SRID=4674;POINT (-39.54433 -3.026239)'))) / (select extract(epoch from '2026-07-23 20:36:51'::timestamp) - extract(epoch from '2026-07-23 20:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544271 -3.026109)'), GeomFromEWKT('SRID=4674;POINT (-39.54433 -3.026239)'))) / (select extract(epoch from '2026-07-23 20:36:51'::timestamp) - extract(epoch from '2026-07-23 20:36: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'), 47855, 'SRID=4674;POINT (-39.544343 -3.026316)', '2026-07-23 20:36:55', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54433 -3.026239)'), GeomFromEWKT('SRID=4674;POINT (-39.544343 -3.026316)'))) / (select extract(epoch from '2026-07-23 20:36:55'::timestamp) - extract(epoch from '2026-07-23 20:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54433 -3.026239)'), GeomFromEWKT('SRID=4674;POINT (-39.544343 -3.026316)'))) / (select extract(epoch from '2026-07-23 20:36:55'::timestamp) - extract(epoch from '2026-07-23 20:36: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'), 47855, 'SRID=4674;POINT (-39.544391 -3.026441)', '2026-07-23 20:37:01', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544343 -3.026316)'), GeomFromEWKT('SRID=4674;POINT (-39.544391 -3.026441)'))) / (select extract(epoch from '2026-07-23 20:37:01'::timestamp) - extract(epoch from '2026-07-23 20:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544343 -3.026316)'), GeomFromEWKT('SRID=4674;POINT (-39.544391 -3.026441)'))) / (select extract(epoch from '2026-07-23 20:37:01'::timestamp) - extract(epoch from '2026-07-23 20:36: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'), 47855, 'SRID=4674;POINT (-39.544439 -3.026536)', '2026-07-23 20:37:06', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544391 -3.026441)'), GeomFromEWKT('SRID=4674;POINT (-39.544439 -3.026536)'))) / (select extract(epoch from '2026-07-23 20:37:06'::timestamp) - extract(epoch from '2026-07-23 20:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544391 -3.026441)'), GeomFromEWKT('SRID=4674;POINT (-39.544439 -3.026536)'))) / (select extract(epoch from '2026-07-23 20:37:06'::timestamp) - extract(epoch from '2026-07-23 20:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544509 -3.026608)', '2026-07-23 20:37:10', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544439 -3.026536)'), GeomFromEWKT('SRID=4674;POINT (-39.544509 -3.026608)'))) / (select extract(epoch from '2026-07-23 20:37:10'::timestamp) - extract(epoch from '2026-07-23 20:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544439 -3.026536)'), GeomFromEWKT('SRID=4674;POINT (-39.544509 -3.026608)'))) / (select extract(epoch from '2026-07-23 20:37:10'::timestamp) - extract(epoch from '2026-07-23 20:37: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'), 47855, 'SRID=4674;POINT (-39.544537 -3.026702)', '2026-07-23 20:37:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544509 -3.026608)'), GeomFromEWKT('SRID=4674;POINT (-39.544537 -3.026702)'))) / (select extract(epoch from '2026-07-23 20:37:15'::timestamp) - extract(epoch from '2026-07-23 20:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544509 -3.026608)'), GeomFromEWKT('SRID=4674;POINT (-39.544537 -3.026702)'))) / (select extract(epoch from '2026-07-23 20:37:15'::timestamp) - extract(epoch from '2026-07-23 20:37: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'), 47855, 'SRID=4674;POINT (-39.544584 -3.026853)', '2026-07-23 20:37:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544537 -3.026702)'), GeomFromEWKT('SRID=4674;POINT (-39.544584 -3.026853)'))) / (select extract(epoch from '2026-07-23 20:37:22'::timestamp) - extract(epoch from '2026-07-23 20:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544537 -3.026702)'), GeomFromEWKT('SRID=4674;POINT (-39.544584 -3.026853)'))) / (select extract(epoch from '2026-07-23 20:37:22'::timestamp) - extract(epoch from '2026-07-23 20:37: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'), 47855, 'SRID=4674;POINT (-39.544595 -3.027011)', '2026-07-23 20:37:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544584 -3.026853)'), GeomFromEWKT('SRID=4674;POINT (-39.544595 -3.027011)'))) / (select extract(epoch from '2026-07-23 20:37:29'::timestamp) - extract(epoch from '2026-07-23 20:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544584 -3.026853)'), GeomFromEWKT('SRID=4674;POINT (-39.544595 -3.027011)'))) / (select extract(epoch from '2026-07-23 20:37:29'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.544589 -3.027124)', '2026-07-23 20:37:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544595 -3.027011)'), GeomFromEWKT('SRID=4674;POINT (-39.544589 -3.027124)'))) / (select extract(epoch from '2026-07-23 20:37:35'::timestamp) - extract(epoch from '2026-07-23 20:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544595 -3.027011)'), GeomFromEWKT('SRID=4674;POINT (-39.544589 -3.027124)'))) / (select extract(epoch from '2026-07-23 20:37:35'::timestamp) - extract(epoch from '2026-07-23 20:37:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544589 -3.027241)', '2026-07-23 20:37:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544589 -3.027124)'), GeomFromEWKT('SRID=4674;POINT (-39.544589 -3.027241)'))) / (select extract(epoch from '2026-07-23 20:37:42'::timestamp) - extract(epoch from '2026-07-23 20:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544589 -3.027124)'), GeomFromEWKT('SRID=4674;POINT (-39.544589 -3.027241)'))) / (select extract(epoch from '2026-07-23 20:37:42'::timestamp) - extract(epoch from '2026-07-23 20:37: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'), 47855, 'SRID=4674;POINT (-39.544606 -3.027374)', '2026-07-23 20:37:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544589 -3.027241)'), GeomFromEWKT('SRID=4674;POINT (-39.544606 -3.027374)'))) / (select extract(epoch from '2026-07-23 20:37:49'::timestamp) - extract(epoch from '2026-07-23 20:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544589 -3.027241)'), GeomFromEWKT('SRID=4674;POINT (-39.544606 -3.027374)'))) / (select extract(epoch from '2026-07-23 20:37:49'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.544641 -3.027489)', '2026-07-23 20:37:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544606 -3.027374)'), GeomFromEWKT('SRID=4674;POINT (-39.544641 -3.027489)'))) / (select extract(epoch from '2026-07-23 20:37:54'::timestamp) - extract(epoch from '2026-07-23 20:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544606 -3.027374)'), GeomFromEWKT('SRID=4674;POINT (-39.544641 -3.027489)'))) / (select extract(epoch from '2026-07-23 20:37:54'::timestamp) - extract(epoch from '2026-07-23 20:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544666 -3.027647)', '2026-07-23 20:38:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544641 -3.027489)'), GeomFromEWKT('SRID=4674;POINT (-39.544666 -3.027647)'))) / (select extract(epoch from '2026-07-23 20:38:01'::timestamp) - extract(epoch from '2026-07-23 20:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544641 -3.027489)'), GeomFromEWKT('SRID=4674;POINT (-39.544666 -3.027647)'))) / (select extract(epoch from '2026-07-23 20:38:01'::timestamp) - extract(epoch from '2026-07-23 20:37: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'), 47855, 'SRID=4674;POINT (-39.544695 -3.027737)', '2026-07-23 20:38:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544666 -3.027647)'), GeomFromEWKT('SRID=4674;POINT (-39.544695 -3.027737)'))) / (select extract(epoch from '2026-07-23 20:38:05'::timestamp) - extract(epoch from '2026-07-23 20:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544666 -3.027647)'), GeomFromEWKT('SRID=4674;POINT (-39.544695 -3.027737)'))) / (select extract(epoch from '2026-07-23 20:38:05'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.544706 -3.027854)', '2026-07-23 20:38:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544695 -3.027737)'), GeomFromEWKT('SRID=4674;POINT (-39.544706 -3.027854)'))) / (select extract(epoch from '2026-07-23 20:38:10'::timestamp) - extract(epoch from '2026-07-23 20:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544695 -3.027737)'), GeomFromEWKT('SRID=4674;POINT (-39.544706 -3.027854)'))) / (select extract(epoch from '2026-07-23 20:38:10'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.5447 -3.027957)', '2026-07-23 20:38:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544706 -3.027854)'), GeomFromEWKT('SRID=4674;POINT (-39.5447 -3.027957)'))) / (select extract(epoch from '2026-07-23 20:38:15'::timestamp) - extract(epoch from '2026-07-23 20:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544706 -3.027854)'), GeomFromEWKT('SRID=4674;POINT (-39.5447 -3.027957)'))) / (select extract(epoch from '2026-07-23 20:38:15'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.5447 -3.027978)', '2026-07-23 20:38:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5447 -3.027957)'), GeomFromEWKT('SRID=4674;POINT (-39.5447 -3.027978)'))) / (select extract(epoch from '2026-07-23 20:38:16'::timestamp) - extract(epoch from '2026-07-23 20:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5447 -3.027957)'), GeomFromEWKT('SRID=4674;POINT (-39.5447 -3.027978)'))) / (select extract(epoch from '2026-07-23 20:38:16'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.544721 -3.028075)', '2026-07-23 20:38:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5447 -3.027978)'), GeomFromEWKT('SRID=4674;POINT (-39.544721 -3.028075)'))) / (select extract(epoch from '2026-07-23 20:38:20'::timestamp) - extract(epoch from '2026-07-23 20:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5447 -3.027978)'), GeomFromEWKT('SRID=4674;POINT (-39.544721 -3.028075)'))) / (select extract(epoch from '2026-07-23 20:38:20'::timestamp) - extract(epoch from '2026-07-23 20:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544739 -3.028207)', '2026-07-23 20:38:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544721 -3.028075)'), GeomFromEWKT('SRID=4674;POINT (-39.544739 -3.028207)'))) / (select extract(epoch from '2026-07-23 20:38:26'::timestamp) - extract(epoch from '2026-07-23 20:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544721 -3.028075)'), GeomFromEWKT('SRID=4674;POINT (-39.544739 -3.028207)'))) / (select extract(epoch from '2026-07-23 20:38:26'::timestamp) - extract(epoch from '2026-07-23 20:38: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'), 47855, 'SRID=4674;POINT (-39.544772 -3.028349)', '2026-07-23 20:38:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544739 -3.028207)'), GeomFromEWKT('SRID=4674;POINT (-39.544772 -3.028349)'))) / (select extract(epoch from '2026-07-23 20:38:32'::timestamp) - extract(epoch from '2026-07-23 20:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544739 -3.028207)'), GeomFromEWKT('SRID=4674;POINT (-39.544772 -3.028349)'))) / (select extract(epoch from '2026-07-23 20:38:32'::timestamp) - extract(epoch from '2026-07-23 20:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544803 -3.028477)', '2026-07-23 20:38:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544772 -3.028349)'), GeomFromEWKT('SRID=4674;POINT (-39.544803 -3.028477)'))) / (select extract(epoch from '2026-07-23 20:38:38'::timestamp) - extract(epoch from '2026-07-23 20:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544772 -3.028349)'), GeomFromEWKT('SRID=4674;POINT (-39.544803 -3.028477)'))) / (select extract(epoch from '2026-07-23 20:38:38'::timestamp) - extract(epoch from '2026-07-23 20:38: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'), 47855, 'SRID=4674;POINT (-39.544828 -3.02859)', '2026-07-23 20:38:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544803 -3.028477)'), GeomFromEWKT('SRID=4674;POINT (-39.544828 -3.02859)'))) / (select extract(epoch from '2026-07-23 20:38:43'::timestamp) - extract(epoch from '2026-07-23 20:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544803 -3.028477)'), GeomFromEWKT('SRID=4674;POINT (-39.544828 -3.02859)'))) / (select extract(epoch from '2026-07-23 20:38:43'::timestamp) - extract(epoch from '2026-07-23 20:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544854 -3.028701)', '2026-07-23 20:38:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544828 -3.02859)'), GeomFromEWKT('SRID=4674;POINT (-39.544854 -3.028701)'))) / (select extract(epoch from '2026-07-23 20:38:48'::timestamp) - extract(epoch from '2026-07-23 20:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544828 -3.02859)'), GeomFromEWKT('SRID=4674;POINT (-39.544854 -3.028701)'))) / (select extract(epoch from '2026-07-23 20:38:48'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.544887 -3.02886)', '2026-07-23 20:38:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544854 -3.028701)'), GeomFromEWKT('SRID=4674;POINT (-39.544887 -3.02886)'))) / (select extract(epoch from '2026-07-23 20:38:55'::timestamp) - extract(epoch from '2026-07-23 20:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544854 -3.028701)'), GeomFromEWKT('SRID=4674;POINT (-39.544887 -3.02886)'))) / (select extract(epoch from '2026-07-23 20:38:55'::timestamp) - extract(epoch from '2026-07-23 20:38:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544929 -3.028998)', '2026-07-23 20:39:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544887 -3.02886)'), GeomFromEWKT('SRID=4674;POINT (-39.544929 -3.028998)'))) / (select extract(epoch from '2026-07-23 20:39:01'::timestamp) - extract(epoch from '2026-07-23 20:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544887 -3.02886)'), GeomFromEWKT('SRID=4674;POINT (-39.544929 -3.028998)'))) / (select extract(epoch from '2026-07-23 20:39:01'::timestamp) - extract(epoch from '2026-07-23 20:38:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54498 -3.029114)', '2026-07-23 20:39:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544929 -3.028998)'), GeomFromEWKT('SRID=4674;POINT (-39.54498 -3.029114)'))) / (select extract(epoch from '2026-07-23 20:39:06'::timestamp) - extract(epoch from '2026-07-23 20:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544929 -3.028998)'), GeomFromEWKT('SRID=4674;POINT (-39.54498 -3.029114)'))) / (select extract(epoch from '2026-07-23 20:39:06'::timestamp) - extract(epoch from '2026-07-23 20:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545033 -3.029314)', '2026-07-23 20:39:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54498 -3.029114)'), GeomFromEWKT('SRID=4674;POINT (-39.545033 -3.029314)'))) / (select extract(epoch from '2026-07-23 20:39:15'::timestamp) - extract(epoch from '2026-07-23 20:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54498 -3.029114)'), GeomFromEWKT('SRID=4674;POINT (-39.545033 -3.029314)'))) / (select extract(epoch from '2026-07-23 20:39:15'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545047 -3.02947)', '2026-07-23 20:39:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545033 -3.029314)'), GeomFromEWKT('SRID=4674;POINT (-39.545047 -3.02947)'))) / (select extract(epoch from '2026-07-23 20:39:22'::timestamp) - extract(epoch from '2026-07-23 20:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545033 -3.029314)'), GeomFromEWKT('SRID=4674;POINT (-39.545047 -3.02947)'))) / (select extract(epoch from '2026-07-23 20:39:22'::timestamp) - extract(epoch from '2026-07-23 20:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545087 -3.02961)', '2026-07-23 20:39:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545047 -3.02947)'), GeomFromEWKT('SRID=4674;POINT (-39.545087 -3.02961)'))) / (select extract(epoch from '2026-07-23 20:39:28'::timestamp) - extract(epoch from '2026-07-23 20:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545047 -3.02947)'), GeomFromEWKT('SRID=4674;POINT (-39.545087 -3.02961)'))) / (select extract(epoch from '2026-07-23 20:39:28'::timestamp) - extract(epoch from '2026-07-23 20:39: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'), 47855, 'SRID=4674;POINT (-39.545119 -3.02975)', '2026-07-23 20:39:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545087 -3.02961)'), GeomFromEWKT('SRID=4674;POINT (-39.545119 -3.02975)'))) / (select extract(epoch from '2026-07-23 20:39:34'::timestamp) - extract(epoch from '2026-07-23 20:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545087 -3.02961)'), GeomFromEWKT('SRID=4674;POINT (-39.545119 -3.02975)'))) / (select extract(epoch from '2026-07-23 20:39:34'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.54514 -3.029866)', '2026-07-23 20:39:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545119 -3.02975)'), GeomFromEWKT('SRID=4674;POINT (-39.54514 -3.029866)'))) / (select extract(epoch from '2026-07-23 20:39:39'::timestamp) - extract(epoch from '2026-07-23 20:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545119 -3.02975)'), GeomFromEWKT('SRID=4674;POINT (-39.54514 -3.029866)'))) / (select extract(epoch from '2026-07-23 20:39:39'::timestamp) - extract(epoch from '2026-07-23 20:39:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545149 -3.030023)', '2026-07-23 20:39:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54514 -3.029866)'), GeomFromEWKT('SRID=4674;POINT (-39.545149 -3.030023)'))) / (select extract(epoch from '2026-07-23 20:39:46'::timestamp) - extract(epoch from '2026-07-23 20:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54514 -3.029866)'), GeomFromEWKT('SRID=4674;POINT (-39.545149 -3.030023)'))) / (select extract(epoch from '2026-07-23 20:39:46'::timestamp) - extract(epoch from '2026-07-23 20:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54517 -3.030189)', '2026-07-23 20:39:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545149 -3.030023)'), GeomFromEWKT('SRID=4674;POINT (-39.54517 -3.030189)'))) / (select extract(epoch from '2026-07-23 20:39:53'::timestamp) - extract(epoch from '2026-07-23 20:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545149 -3.030023)'), GeomFromEWKT('SRID=4674;POINT (-39.54517 -3.030189)'))) / (select extract(epoch from '2026-07-23 20:39:53'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545189 -3.03033)', '2026-07-23 20:39:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54517 -3.030189)'), GeomFromEWKT('SRID=4674;POINT (-39.545189 -3.03033)'))) / (select extract(epoch from '2026-07-23 20:39:59'::timestamp) - extract(epoch from '2026-07-23 20:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54517 -3.030189)'), GeomFromEWKT('SRID=4674;POINT (-39.545189 -3.03033)'))) / (select extract(epoch from '2026-07-23 20:39:59'::timestamp) - extract(epoch from '2026-07-23 20:39: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'), 47855, 'SRID=4674;POINT (-39.54521 -3.03049)', '2026-07-23 20:40:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545189 -3.03033)'), GeomFromEWKT('SRID=4674;POINT (-39.54521 -3.03049)'))) / (select extract(epoch from '2026-07-23 20:40:06'::timestamp) - extract(epoch from '2026-07-23 20:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545189 -3.03033)'), GeomFromEWKT('SRID=4674;POINT (-39.54521 -3.03049)'))) / (select extract(epoch from '2026-07-23 20:40:06'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.54524 -3.03065)', '2026-07-23 20:40:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54521 -3.03049)'), GeomFromEWKT('SRID=4674;POINT (-39.54524 -3.03065)'))) / (select extract(epoch from '2026-07-23 20:40:13'::timestamp) - extract(epoch from '2026-07-23 20:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54521 -3.03049)'), GeomFromEWKT('SRID=4674;POINT (-39.54524 -3.03065)'))) / (select extract(epoch from '2026-07-23 20:40:13'::timestamp) - extract(epoch from '2026-07-23 20:40: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'), 47855, 'SRID=4674;POINT (-39.545265 -3.030767)', '2026-07-23 20:40:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54524 -3.03065)'), GeomFromEWKT('SRID=4674;POINT (-39.545265 -3.030767)'))) / (select extract(epoch from '2026-07-23 20:40:18'::timestamp) - extract(epoch from '2026-07-23 20:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54524 -3.03065)'), GeomFromEWKT('SRID=4674;POINT (-39.545265 -3.030767)'))) / (select extract(epoch from '2026-07-23 20:40:18'::timestamp) - extract(epoch from '2026-07-23 20:40: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'), 47855, 'SRID=4674;POINT (-39.545275 -3.030873)', '2026-07-23 20:40:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545265 -3.030767)'), GeomFromEWKT('SRID=4674;POINT (-39.545275 -3.030873)'))) / (select extract(epoch from '2026-07-23 20:40:23'::timestamp) - extract(epoch from '2026-07-23 20:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545265 -3.030767)'), GeomFromEWKT('SRID=4674;POINT (-39.545275 -3.030873)'))) / (select extract(epoch from '2026-07-23 20:40:23'::timestamp) - extract(epoch from '2026-07-23 20:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545293 -3.031033)', '2026-07-23 20:40:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545275 -3.030873)'), GeomFromEWKT('SRID=4674;POINT (-39.545293 -3.031033)'))) / (select extract(epoch from '2026-07-23 20:40:30'::timestamp) - extract(epoch from '2026-07-23 20:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545275 -3.030873)'), GeomFromEWKT('SRID=4674;POINT (-39.545293 -3.031033)'))) / (select extract(epoch from '2026-07-23 20:40:30'::timestamp) - extract(epoch from '2026-07-23 20:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545316 -3.031225)', '2026-07-23 20:40:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545293 -3.031033)'), GeomFromEWKT('SRID=4674;POINT (-39.545316 -3.031225)'))) / (select extract(epoch from '2026-07-23 20:40:38'::timestamp) - extract(epoch from '2026-07-23 20:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545293 -3.031033)'), GeomFromEWKT('SRID=4674;POINT (-39.545316 -3.031225)'))) / (select extract(epoch from '2026-07-23 20:40:38'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545322 -3.031337)', '2026-07-23 20:40:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545316 -3.031225)'), GeomFromEWKT('SRID=4674;POINT (-39.545322 -3.031337)'))) / (select extract(epoch from '2026-07-23 20:40:43'::timestamp) - extract(epoch from '2026-07-23 20:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545316 -3.031225)'), GeomFromEWKT('SRID=4674;POINT (-39.545322 -3.031337)'))) / (select extract(epoch from '2026-07-23 20:40:43'::timestamp) - extract(epoch from '2026-07-23 20:40: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'), 47855, 'SRID=4674;POINT (-39.545341 -3.031456)', '2026-07-23 20:40:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545322 -3.031337)'), GeomFromEWKT('SRID=4674;POINT (-39.545341 -3.031456)'))) / (select extract(epoch from '2026-07-23 20:40:48'::timestamp) - extract(epoch from '2026-07-23 20:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545322 -3.031337)'), GeomFromEWKT('SRID=4674;POINT (-39.545341 -3.031456)'))) / (select extract(epoch from '2026-07-23 20:40:48'::timestamp) - extract(epoch from '2026-07-23 20:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545375 -3.03159)', '2026-07-23 20:40:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545341 -3.031456)'), GeomFromEWKT('SRID=4674;POINT (-39.545375 -3.03159)'))) / (select extract(epoch from '2026-07-23 20:40:54'::timestamp) - extract(epoch from '2026-07-23 20:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545341 -3.031456)'), GeomFromEWKT('SRID=4674;POINT (-39.545375 -3.03159)'))) / (select extract(epoch from '2026-07-23 20:40:54'::timestamp) - extract(epoch from '2026-07-23 20:40: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'), 47855, 'SRID=4674;POINT (-39.545402 -3.031703)', '2026-07-23 20:40:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545375 -3.03159)'), GeomFromEWKT('SRID=4674;POINT (-39.545402 -3.031703)'))) / (select extract(epoch from '2026-07-23 20:40:59'::timestamp) - extract(epoch from '2026-07-23 20:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545375 -3.03159)'), GeomFromEWKT('SRID=4674;POINT (-39.545402 -3.031703)'))) / (select extract(epoch from '2026-07-23 20:40:59'::timestamp) - extract(epoch from '2026-07-23 20:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545425 -3.031822)', '2026-07-23 20:41:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545402 -3.031703)'), GeomFromEWKT('SRID=4674;POINT (-39.545425 -3.031822)'))) / (select extract(epoch from '2026-07-23 20:41:04'::timestamp) - extract(epoch from '2026-07-23 20:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545402 -3.031703)'), GeomFromEWKT('SRID=4674;POINT (-39.545425 -3.031822)'))) / (select extract(epoch from '2026-07-23 20:41:04'::timestamp) - extract(epoch from '2026-07-23 20:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545441 -3.031964)', '2026-07-23 20:41:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545425 -3.031822)'), GeomFromEWKT('SRID=4674;POINT (-39.545441 -3.031964)'))) / (select extract(epoch from '2026-07-23 20:41:10'::timestamp) - extract(epoch from '2026-07-23 20:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545425 -3.031822)'), GeomFromEWKT('SRID=4674;POINT (-39.545441 -3.031964)'))) / (select extract(epoch from '2026-07-23 20:41:10'::timestamp) - extract(epoch from '2026-07-23 20:41: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'), 47855, 'SRID=4674;POINT (-39.54545 -3.032101)', '2026-07-23 20:41:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545441 -3.031964)'), GeomFromEWKT('SRID=4674;POINT (-39.54545 -3.032101)'))) / (select extract(epoch from '2026-07-23 20:41:16'::timestamp) - extract(epoch from '2026-07-23 20:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545441 -3.031964)'), GeomFromEWKT('SRID=4674;POINT (-39.54545 -3.032101)'))) / (select extract(epoch from '2026-07-23 20:41:16'::timestamp) - extract(epoch from '2026-07-23 20:41: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'), 47855, 'SRID=4674;POINT (-39.54547 -3.032235)', '2026-07-23 20:41:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54545 -3.032101)'), GeomFromEWKT('SRID=4674;POINT (-39.54547 -3.032235)'))) / (select extract(epoch from '2026-07-23 20:41:22'::timestamp) - extract(epoch from '2026-07-23 20:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54545 -3.032101)'), GeomFromEWKT('SRID=4674;POINT (-39.54547 -3.032235)'))) / (select extract(epoch from '2026-07-23 20:41:22'::timestamp) - extract(epoch from '2026-07-23 20:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545503 -3.032393)', '2026-07-23 20:41:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54547 -3.032235)'), GeomFromEWKT('SRID=4674;POINT (-39.545503 -3.032393)'))) / (select extract(epoch from '2026-07-23 20:41:29'::timestamp) - extract(epoch from '2026-07-23 20:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54547 -3.032235)'), GeomFromEWKT('SRID=4674;POINT (-39.545503 -3.032393)'))) / (select extract(epoch from '2026-07-23 20:41:29'::timestamp) - extract(epoch from '2026-07-23 20:41: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'), 47855, 'SRID=4674;POINT (-39.545511 -3.032508)', '2026-07-23 20:41:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545503 -3.032393)'), GeomFromEWKT('SRID=4674;POINT (-39.545511 -3.032508)'))) / (select extract(epoch from '2026-07-23 20:41:34'::timestamp) - extract(epoch from '2026-07-23 20:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545503 -3.032393)'), GeomFromEWKT('SRID=4674;POINT (-39.545511 -3.032508)'))) / (select extract(epoch from '2026-07-23 20:41:34'::timestamp) - extract(epoch from '2026-07-23 20:41: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'), 47855, 'SRID=4674;POINT (-39.545505 -3.03265)', '2026-07-23 20:41:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545511 -3.032508)'), GeomFromEWKT('SRID=4674;POINT (-39.545505 -3.03265)'))) / (select extract(epoch from '2026-07-23 20:41:40'::timestamp) - extract(epoch from '2026-07-23 20:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545511 -3.032508)'), GeomFromEWKT('SRID=4674;POINT (-39.545505 -3.03265)'))) / (select extract(epoch from '2026-07-23 20:41:40'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545524 -3.03282)', '2026-07-23 20:41:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545505 -3.03265)'), GeomFromEWKT('SRID=4674;POINT (-39.545524 -3.03282)'))) / (select extract(epoch from '2026-07-23 20:41:47'::timestamp) - extract(epoch from '2026-07-23 20:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545505 -3.03265)'), GeomFromEWKT('SRID=4674;POINT (-39.545524 -3.03282)'))) / (select extract(epoch from '2026-07-23 20:41:47'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545554 -3.032982)', '2026-07-23 20:41:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545524 -3.03282)'), GeomFromEWKT('SRID=4674;POINT (-39.545554 -3.032982)'))) / (select extract(epoch from '2026-07-23 20:41:54'::timestamp) - extract(epoch from '2026-07-23 20:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545524 -3.03282)'), GeomFromEWKT('SRID=4674;POINT (-39.545554 -3.032982)'))) / (select extract(epoch from '2026-07-23 20:41:54'::timestamp) - extract(epoch from '2026-07-23 20:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545585 -3.033127)', '2026-07-23 20:42:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545554 -3.032982)'), GeomFromEWKT('SRID=4674;POINT (-39.545585 -3.033127)'))) / (select extract(epoch from '2026-07-23 20:42:00'::timestamp) - extract(epoch from '2026-07-23 20:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545554 -3.032982)'), GeomFromEWKT('SRID=4674;POINT (-39.545585 -3.033127)'))) / (select extract(epoch from '2026-07-23 20:42:00'::timestamp) - extract(epoch from '2026-07-23 20:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545595 -3.03326)', '2026-07-23 20:42:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545585 -3.033127)'), GeomFromEWKT('SRID=4674;POINT (-39.545595 -3.03326)'))) / (select extract(epoch from '2026-07-23 20:42:06'::timestamp) - extract(epoch from '2026-07-23 20:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545585 -3.033127)'), GeomFromEWKT('SRID=4674;POINT (-39.545595 -3.03326)'))) / (select extract(epoch from '2026-07-23 20:42:06'::timestamp) - extract(epoch from '2026-07-23 20:42: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'), 47855, 'SRID=4674;POINT (-39.545604 -3.033344)', '2026-07-23 20:42:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545595 -3.03326)'), GeomFromEWKT('SRID=4674;POINT (-39.545604 -3.033344)'))) / (select extract(epoch from '2026-07-23 20:42:10'::timestamp) - extract(epoch from '2026-07-23 20:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545595 -3.03326)'), GeomFromEWKT('SRID=4674;POINT (-39.545604 -3.033344)'))) / (select extract(epoch from '2026-07-23 20:42:10'::timestamp) - extract(epoch from '2026-07-23 20:42: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'), 47855, 'SRID=4674;POINT (-39.545621 -3.033457)', '2026-07-23 20:42:15', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545604 -3.033344)'), GeomFromEWKT('SRID=4674;POINT (-39.545621 -3.033457)'))) / (select extract(epoch from '2026-07-23 20:42:15'::timestamp) - extract(epoch from '2026-07-23 20:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545604 -3.033344)'), GeomFromEWKT('SRID=4674;POINT (-39.545621 -3.033457)'))) / (select extract(epoch from '2026-07-23 20:42:15'::timestamp) - extract(epoch from '2026-07-23 20:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545623 -3.033573)', '2026-07-23 20:42:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545621 -3.033457)'), GeomFromEWKT('SRID=4674;POINT (-39.545623 -3.033573)'))) / (select extract(epoch from '2026-07-23 20:42:21'::timestamp) - extract(epoch from '2026-07-23 20:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545621 -3.033457)'), GeomFromEWKT('SRID=4674;POINT (-39.545623 -3.033573)'))) / (select extract(epoch from '2026-07-23 20:42:21'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545628 -3.033698)', '2026-07-23 20:42:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545623 -3.033573)'), GeomFromEWKT('SRID=4674;POINT (-39.545628 -3.033698)'))) / (select extract(epoch from '2026-07-23 20:42:26'::timestamp) - extract(epoch from '2026-07-23 20:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545623 -3.033573)'), GeomFromEWKT('SRID=4674;POINT (-39.545628 -3.033698)'))) / (select extract(epoch from '2026-07-23 20:42:26'::timestamp) - extract(epoch from '2026-07-23 20:42: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'), 47855, 'SRID=4674;POINT (-39.545636 -3.033869)', '2026-07-23 20:42:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545628 -3.033698)'), GeomFromEWKT('SRID=4674;POINT (-39.545636 -3.033869)'))) / (select extract(epoch from '2026-07-23 20:42:34'::timestamp) - extract(epoch from '2026-07-23 20:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545628 -3.033698)'), GeomFromEWKT('SRID=4674;POINT (-39.545636 -3.033869)'))) / (select extract(epoch from '2026-07-23 20:42:34'::timestamp) - extract(epoch from '2026-07-23 20:42: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'), 47855, 'SRID=4674;POINT (-39.545643 -3.034009)', '2026-07-23 20:42:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545636 -3.033869)'), GeomFromEWKT('SRID=4674;POINT (-39.545643 -3.034009)'))) / (select extract(epoch from '2026-07-23 20:42:40'::timestamp) - extract(epoch from '2026-07-23 20:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545636 -3.033869)'), GeomFromEWKT('SRID=4674;POINT (-39.545643 -3.034009)'))) / (select extract(epoch from '2026-07-23 20:42:40'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545665 -3.034169)', '2026-07-23 20:42:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545643 -3.034009)'), GeomFromEWKT('SRID=4674;POINT (-39.545665 -3.034169)'))) / (select extract(epoch from '2026-07-23 20:42:47'::timestamp) - extract(epoch from '2026-07-23 20:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545643 -3.034009)'), GeomFromEWKT('SRID=4674;POINT (-39.545665 -3.034169)'))) / (select extract(epoch from '2026-07-23 20:42:47'::timestamp) - extract(epoch from '2026-07-23 20:42:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545682 -3.034322)', '2026-07-23 20:42:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545665 -3.034169)'), GeomFromEWKT('SRID=4674;POINT (-39.545682 -3.034322)'))) / (select extract(epoch from '2026-07-23 20:42:53'::timestamp) - extract(epoch from '2026-07-23 20:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545665 -3.034169)'), GeomFromEWKT('SRID=4674;POINT (-39.545682 -3.034322)'))) / (select extract(epoch from '2026-07-23 20:42:53'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545687 -3.034459)', '2026-07-23 20:42:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545682 -3.034322)'), GeomFromEWKT('SRID=4674;POINT (-39.545687 -3.034459)'))) / (select extract(epoch from '2026-07-23 20:42:59'::timestamp) - extract(epoch from '2026-07-23 20:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545682 -3.034322)'), GeomFromEWKT('SRID=4674;POINT (-39.545687 -3.034459)'))) / (select extract(epoch from '2026-07-23 20:42:59'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545729 -3.034633)', '2026-07-23 20:43:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545687 -3.034459)'), GeomFromEWKT('SRID=4674;POINT (-39.545729 -3.034633)'))) / (select extract(epoch from '2026-07-23 20:43:07'::timestamp) - extract(epoch from '2026-07-23 20:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545687 -3.034459)'), GeomFromEWKT('SRID=4674;POINT (-39.545729 -3.034633)'))) / (select extract(epoch from '2026-07-23 20:43:07'::timestamp) - extract(epoch from '2026-07-23 20:42: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'), 47855, 'SRID=4674;POINT (-39.54574 -3.03477)', '2026-07-23 20:43:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545729 -3.034633)'), GeomFromEWKT('SRID=4674;POINT (-39.54574 -3.03477)'))) / (select extract(epoch from '2026-07-23 20:43:13'::timestamp) - extract(epoch from '2026-07-23 20:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545729 -3.034633)'), GeomFromEWKT('SRID=4674;POINT (-39.54574 -3.03477)'))) / (select extract(epoch from '2026-07-23 20:43:13'::timestamp) - extract(epoch from '2026-07-23 20:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545778 -3.034888)', '2026-07-23 20:43:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54574 -3.03477)'), GeomFromEWKT('SRID=4674;POINT (-39.545778 -3.034888)'))) / (select extract(epoch from '2026-07-23 20:43:18'::timestamp) - extract(epoch from '2026-07-23 20:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54574 -3.03477)'), GeomFromEWKT('SRID=4674;POINT (-39.545778 -3.034888)'))) / (select extract(epoch from '2026-07-23 20:43:18'::timestamp) - extract(epoch from '2026-07-23 20:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545799 -3.034991)', '2026-07-23 20:43:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545778 -3.034888)'), GeomFromEWKT('SRID=4674;POINT (-39.545799 -3.034991)'))) / (select extract(epoch from '2026-07-23 20:43:23'::timestamp) - extract(epoch from '2026-07-23 20:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545778 -3.034888)'), GeomFromEWKT('SRID=4674;POINT (-39.545799 -3.034991)'))) / (select extract(epoch from '2026-07-23 20:43:23'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545819 -3.03515)', '2026-07-23 20:43:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545799 -3.034991)'), GeomFromEWKT('SRID=4674;POINT (-39.545819 -3.03515)'))) / (select extract(epoch from '2026-07-23 20:43:30'::timestamp) - extract(epoch from '2026-07-23 20:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545799 -3.034991)'), GeomFromEWKT('SRID=4674;POINT (-39.545819 -3.03515)'))) / (select extract(epoch from '2026-07-23 20:43:30'::timestamp) - extract(epoch from '2026-07-23 20:43: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'), 47855, 'SRID=4674;POINT (-39.545854 -3.035309)', '2026-07-23 20:43:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545819 -3.03515)'), GeomFromEWKT('SRID=4674;POINT (-39.545854 -3.035309)'))) / (select extract(epoch from '2026-07-23 20:43:37'::timestamp) - extract(epoch from '2026-07-23 20:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545819 -3.03515)'), GeomFromEWKT('SRID=4674;POINT (-39.545854 -3.035309)'))) / (select extract(epoch from '2026-07-23 20:43:37'::timestamp) - extract(epoch from '2026-07-23 20:43: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'), 47855, 'SRID=4674;POINT (-39.545891 -3.035416)', '2026-07-23 20:43:42', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545854 -3.035309)'), GeomFromEWKT('SRID=4674;POINT (-39.545891 -3.035416)'))) / (select extract(epoch from '2026-07-23 20:43:42'::timestamp) - extract(epoch from '2026-07-23 20:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545854 -3.035309)'), GeomFromEWKT('SRID=4674;POINT (-39.545891 -3.035416)'))) / (select extract(epoch from '2026-07-23 20:43:42'::timestamp) - extract(epoch from '2026-07-23 20:43: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'), 47855, 'SRID=4674;POINT (-39.545937 -3.035547)', '2026-07-23 20:43:48', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545891 -3.035416)'), GeomFromEWKT('SRID=4674;POINT (-39.545937 -3.035547)'))) / (select extract(epoch from '2026-07-23 20:43:48'::timestamp) - extract(epoch from '2026-07-23 20:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545891 -3.035416)'), GeomFromEWKT('SRID=4674;POINT (-39.545937 -3.035547)'))) / (select extract(epoch from '2026-07-23 20:43:48'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545951 -3.035683)', '2026-07-23 20:43:54', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545937 -3.035547)'), GeomFromEWKT('SRID=4674;POINT (-39.545951 -3.035683)'))) / (select extract(epoch from '2026-07-23 20:43:54'::timestamp) - extract(epoch from '2026-07-23 20:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545937 -3.035547)'), GeomFromEWKT('SRID=4674;POINT (-39.545951 -3.035683)'))) / (select extract(epoch from '2026-07-23 20:43:54'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545973 -3.035861)', '2026-07-23 20:44:02', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545951 -3.035683)'), GeomFromEWKT('SRID=4674;POINT (-39.545973 -3.035861)'))) / (select extract(epoch from '2026-07-23 20:44:02'::timestamp) - extract(epoch from '2026-07-23 20:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545951 -3.035683)'), GeomFromEWKT('SRID=4674;POINT (-39.545973 -3.035861)'))) / (select extract(epoch from '2026-07-23 20:44:02'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.545979 -3.036)', '2026-07-23 20:44:08', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545973 -3.035861)'), GeomFromEWKT('SRID=4674;POINT (-39.545979 -3.036)'))) / (select extract(epoch from '2026-07-23 20:44:08'::timestamp) - extract(epoch from '2026-07-23 20:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545973 -3.035861)'), GeomFromEWKT('SRID=4674;POINT (-39.545979 -3.036)'))) / (select extract(epoch from '2026-07-23 20:44:08'::timestamp) - extract(epoch from '2026-07-23 20:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54602 -3.036128)', '2026-07-23 20:44:14', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545979 -3.036)'), GeomFromEWKT('SRID=4674;POINT (-39.54602 -3.036128)'))) / (select extract(epoch from '2026-07-23 20:44:14'::timestamp) - extract(epoch from '2026-07-23 20:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545979 -3.036)'), GeomFromEWKT('SRID=4674;POINT (-39.54602 -3.036128)'))) / (select extract(epoch from '2026-07-23 20:44:14'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.546055 -3.036239)', '2026-07-23 20:44:19', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54602 -3.036128)'), GeomFromEWKT('SRID=4674;POINT (-39.546055 -3.036239)'))) / (select extract(epoch from '2026-07-23 20:44:19'::timestamp) - extract(epoch from '2026-07-23 20:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54602 -3.036128)'), GeomFromEWKT('SRID=4674;POINT (-39.546055 -3.036239)'))) / (select extract(epoch from '2026-07-23 20:44:19'::timestamp) - extract(epoch from '2026-07-23 20:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546053 -3.036313)', '2026-07-23 20:44:23', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546055 -3.036239)'), GeomFromEWKT('SRID=4674;POINT (-39.546053 -3.036313)'))) / (select extract(epoch from '2026-07-23 20:44:23'::timestamp) - extract(epoch from '2026-07-23 20:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546055 -3.036239)'), GeomFromEWKT('SRID=4674;POINT (-39.546053 -3.036313)'))) / (select extract(epoch from '2026-07-23 20:44:23'::timestamp) - extract(epoch from '2026-07-23 20:44:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546058 -3.036418)', '2026-07-23 20:44:28', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546053 -3.036313)'), GeomFromEWKT('SRID=4674;POINT (-39.546058 -3.036418)'))) / (select extract(epoch from '2026-07-23 20:44:28'::timestamp) - extract(epoch from '2026-07-23 20:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546053 -3.036313)'), GeomFromEWKT('SRID=4674;POINT (-39.546058 -3.036418)'))) / (select extract(epoch from '2026-07-23 20:44:28'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.54605 -3.036529)', '2026-07-23 20:44:33', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546058 -3.036418)'), GeomFromEWKT('SRID=4674;POINT (-39.54605 -3.036529)'))) / (select extract(epoch from '2026-07-23 20:44:33'::timestamp) - extract(epoch from '2026-07-23 20:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546058 -3.036418)'), GeomFromEWKT('SRID=4674;POINT (-39.54605 -3.036529)'))) / (select extract(epoch from '2026-07-23 20:44:33'::timestamp) - extract(epoch from '2026-07-23 20:44: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'), 47855, 'SRID=4674;POINT (-39.546063 -3.03668)', '2026-07-23 20:44:39', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54605 -3.036529)'), GeomFromEWKT('SRID=4674;POINT (-39.546063 -3.03668)'))) / (select extract(epoch from '2026-07-23 20:44:39'::timestamp) - extract(epoch from '2026-07-23 20:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54605 -3.036529)'), GeomFromEWKT('SRID=4674;POINT (-39.546063 -3.03668)'))) / (select extract(epoch from '2026-07-23 20:44:39'::timestamp) - extract(epoch from '2026-07-23 20:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546101 -3.036825)', '2026-07-23 20:44:45', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546063 -3.03668)'), GeomFromEWKT('SRID=4674;POINT (-39.546101 -3.036825)'))) / (select extract(epoch from '2026-07-23 20:44:45'::timestamp) - extract(epoch from '2026-07-23 20:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546063 -3.03668)'), GeomFromEWKT('SRID=4674;POINT (-39.546101 -3.036825)'))) / (select extract(epoch from '2026-07-23 20:44:45'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.546141 -3.036975)', '2026-07-23 20:44:52', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546101 -3.036825)'), GeomFromEWKT('SRID=4674;POINT (-39.546141 -3.036975)'))) / (select extract(epoch from '2026-07-23 20:44:52'::timestamp) - extract(epoch from '2026-07-23 20:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546101 -3.036825)'), GeomFromEWKT('SRID=4674;POINT (-39.546141 -3.036975)'))) / (select extract(epoch from '2026-07-23 20:44:52'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.546169 -3.037142)', '2026-07-23 20:44:59', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546141 -3.036975)'), GeomFromEWKT('SRID=4674;POINT (-39.546169 -3.037142)'))) / (select extract(epoch from '2026-07-23 20:44:59'::timestamp) - extract(epoch from '2026-07-23 20:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546141 -3.036975)'), GeomFromEWKT('SRID=4674;POINT (-39.546169 -3.037142)'))) / (select extract(epoch from '2026-07-23 20:44:59'::timestamp) - extract(epoch from '2026-07-23 20:44:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546191 -3.037327)', '2026-07-23 20:45:07', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546169 -3.037142)'), GeomFromEWKT('SRID=4674;POINT (-39.546191 -3.037327)'))) / (select extract(epoch from '2026-07-23 20:45:07'::timestamp) - extract(epoch from '2026-07-23 20:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546169 -3.037142)'), GeomFromEWKT('SRID=4674;POINT (-39.546191 -3.037327)'))) / (select extract(epoch from '2026-07-23 20:45:07'::timestamp) - extract(epoch from '2026-07-23 20:44: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'), 47855, 'SRID=4674;POINT (-39.546211 -3.03742)', '2026-07-23 20:45:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546191 -3.037327)'), GeomFromEWKT('SRID=4674;POINT (-39.546211 -3.03742)'))) / (select extract(epoch from '2026-07-23 20:45:11'::timestamp) - extract(epoch from '2026-07-23 20:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546191 -3.037327)'), GeomFromEWKT('SRID=4674;POINT (-39.546211 -3.03742)'))) / (select extract(epoch from '2026-07-23 20:45:11'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.54623 -3.037558)', '2026-07-23 20:45:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546211 -3.03742)'), GeomFromEWKT('SRID=4674;POINT (-39.54623 -3.037558)'))) / (select extract(epoch from '2026-07-23 20:45:17'::timestamp) - extract(epoch from '2026-07-23 20:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546211 -3.03742)'), GeomFromEWKT('SRID=4674;POINT (-39.54623 -3.037558)'))) / (select extract(epoch from '2026-07-23 20:45:17'::timestamp) - extract(epoch from '2026-07-23 20:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546256 -3.037702)', '2026-07-23 20:45:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54623 -3.037558)'), GeomFromEWKT('SRID=4674;POINT (-39.546256 -3.037702)'))) / (select extract(epoch from '2026-07-23 20:45:23'::timestamp) - extract(epoch from '2026-07-23 20:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54623 -3.037558)'), GeomFromEWKT('SRID=4674;POINT (-39.546256 -3.037702)'))) / (select extract(epoch from '2026-07-23 20:45:23'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.546259 -3.03781)', '2026-07-23 20:45:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546256 -3.037702)'), GeomFromEWKT('SRID=4674;POINT (-39.546259 -3.03781)'))) / (select extract(epoch from '2026-07-23 20:45:28'::timestamp) - extract(epoch from '2026-07-23 20:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546256 -3.037702)'), GeomFromEWKT('SRID=4674;POINT (-39.546259 -3.03781)'))) / (select extract(epoch from '2026-07-23 20:45:28'::timestamp) - extract(epoch from '2026-07-23 20:45:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546289 -3.03792)', '2026-07-23 20:45:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546259 -3.03781)'), GeomFromEWKT('SRID=4674;POINT (-39.546289 -3.03792)'))) / (select extract(epoch from '2026-07-23 20:45:33'::timestamp) - extract(epoch from '2026-07-23 20:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546259 -3.03781)'), GeomFromEWKT('SRID=4674;POINT (-39.546289 -3.03792)'))) / (select extract(epoch from '2026-07-23 20:45:33'::timestamp) - extract(epoch from '2026-07-23 20:45: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'), 47855, 'SRID=4674;POINT (-39.546339 -3.038096)', '2026-07-23 20:45:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546289 -3.03792)'), GeomFromEWKT('SRID=4674;POINT (-39.546339 -3.038096)'))) / (select extract(epoch from '2026-07-23 20:45:40'::timestamp) - extract(epoch from '2026-07-23 20:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546289 -3.03792)'), GeomFromEWKT('SRID=4674;POINT (-39.546339 -3.038096)'))) / (select extract(epoch from '2026-07-23 20:45:40'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.54638 -3.03824)', '2026-07-23 20:45:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546339 -3.038096)'), GeomFromEWKT('SRID=4674;POINT (-39.54638 -3.03824)'))) / (select extract(epoch from '2026-07-23 20:45:46'::timestamp) - extract(epoch from '2026-07-23 20:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546339 -3.038096)'), GeomFromEWKT('SRID=4674;POINT (-39.54638 -3.03824)'))) / (select extract(epoch from '2026-07-23 20:45:46'::timestamp) - extract(epoch from '2026-07-23 20:45:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546429 -3.038396)', '2026-07-23 20:45:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54638 -3.03824)'), GeomFromEWKT('SRID=4674;POINT (-39.546429 -3.038396)'))) / (select extract(epoch from '2026-07-23 20:45:53'::timestamp) - extract(epoch from '2026-07-23 20:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54638 -3.03824)'), GeomFromEWKT('SRID=4674;POINT (-39.546429 -3.038396)'))) / (select extract(epoch from '2026-07-23 20:45:53'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47855, 'SRID=4674;POINT (-39.546484 -3.038531)', '2026-07-23 20:46:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546429 -3.038396)'), GeomFromEWKT('SRID=4674;POINT (-39.546484 -3.038531)'))) / (select extract(epoch from '2026-07-23 20:46:00'::timestamp) - extract(epoch from '2026-07-23 20:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546429 -3.038396)'), GeomFromEWKT('SRID=4674;POINT (-39.546484 -3.038531)'))) / (select extract(epoch from '2026-07-23 20:46:00'::timestamp) - extract(epoch from '2026-07-23 20:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546511 -3.038664)', '2026-07-23 20:46:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546484 -3.038531)'), GeomFromEWKT('SRID=4674;POINT (-39.546511 -3.038664)'))) / (select extract(epoch from '2026-07-23 20:46:06'::timestamp) - extract(epoch from '2026-07-23 20:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546484 -3.038531)'), GeomFromEWKT('SRID=4674;POINT (-39.546511 -3.038664)'))) / (select extract(epoch from '2026-07-23 20:46:06'::timestamp) - extract(epoch from '2026-07-23 20:46: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'), 47855, 'SRID=4674;POINT (-39.546564 -3.038802)', '2026-07-23 20:46:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546511 -3.038664)'), GeomFromEWKT('SRID=4674;POINT (-39.546564 -3.038802)'))) / (select extract(epoch from '2026-07-23 20:46:12'::timestamp) - extract(epoch from '2026-07-23 20:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546511 -3.038664)'), GeomFromEWKT('SRID=4674;POINT (-39.546564 -3.038802)'))) / (select extract(epoch from '2026-07-23 20:46:12'::timestamp) - extract(epoch from '2026-07-23 20:46: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'), 47855, 'SRID=4674;POINT (-39.546631 -3.03896)', '2026-07-23 20:46:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546564 -3.038802)'), GeomFromEWKT('SRID=4674;POINT (-39.546631 -3.03896)'))) / (select extract(epoch from '2026-07-23 20:46:19'::timestamp) - extract(epoch from '2026-07-23 20:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546564 -3.038802)'), GeomFromEWKT('SRID=4674;POINT (-39.546631 -3.03896)'))) / (select extract(epoch from '2026-07-23 20:46:19'::timestamp) - extract(epoch from '2026-07-23 20:46: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'), 47855, 'SRID=4674;POINT (-39.546667 -3.039094)', '2026-07-23 20:46:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546631 -3.03896)'), GeomFromEWKT('SRID=4674;POINT (-39.546667 -3.039094)'))) / (select extract(epoch from '2026-07-23 20:46:25'::timestamp) - extract(epoch from '2026-07-23 20:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546631 -3.03896)'), GeomFromEWKT('SRID=4674;POINT (-39.546667 -3.039094)'))) / (select extract(epoch from '2026-07-23 20:46:25'::timestamp) - extract(epoch from '2026-07-23 20:46: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'), 47855, 'SRID=4674;POINT (-39.546701 -3.039251)', '2026-07-23 20:46:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546667 -3.039094)'), GeomFromEWKT('SRID=4674;POINT (-39.546701 -3.039251)'))) / (select extract(epoch from '2026-07-23 20:46:32'::timestamp) - extract(epoch from '2026-07-23 20:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546667 -3.039094)'), GeomFromEWKT('SRID=4674;POINT (-39.546701 -3.039251)'))) / (select extract(epoch from '2026-07-23 20:46:32'::timestamp) - extract(epoch from '2026-07-23 20:46: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'), 47855, 'SRID=4674;POINT (-39.546732 -3.039434)', '2026-07-23 20:46:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546701 -3.039251)'), GeomFromEWKT('SRID=4674;POINT (-39.546732 -3.039434)'))) / (select extract(epoch from '2026-07-23 20:46:40'::timestamp) - extract(epoch from '2026-07-23 20:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546701 -3.039251)'), GeomFromEWKT('SRID=4674;POINT (-39.546732 -3.039434)'))) / (select extract(epoch from '2026-07-23 20:46:40'::timestamp) - extract(epoch from '2026-07-23 20:46: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'), 47855, 'SRID=4674;POINT (-39.546779 -3.03958)', '2026-07-23 20:46:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546732 -3.039434)'), GeomFromEWKT('SRID=4674;POINT (-39.546779 -3.03958)'))) / (select extract(epoch from '2026-07-23 20:46:46'::timestamp) - extract(epoch from '2026-07-23 20:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546732 -3.039434)'), GeomFromEWKT('SRID=4674;POINT (-39.546779 -3.03958)'))) / (select extract(epoch from '2026-07-23 20:46:46'::timestamp) - extract(epoch from '2026-07-23 20:46: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'), 47855, 'SRID=4674;POINT (-39.546833 -3.039723)', '2026-07-23 20:46:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546779 -3.03958)'), GeomFromEWKT('SRID=4674;POINT (-39.546833 -3.039723)'))) / (select extract(epoch from '2026-07-23 20:46:53'::timestamp) - extract(epoch from '2026-07-23 20:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546779 -3.03958)'), GeomFromEWKT('SRID=4674;POINT (-39.546833 -3.039723)'))) / (select extract(epoch from '2026-07-23 20:46:53'::timestamp) - extract(epoch from '2026-07-23 20:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546874 -3.039889)', '2026-07-23 20:47:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546833 -3.039723)'), GeomFromEWKT('SRID=4674;POINT (-39.546874 -3.039889)'))) / (select extract(epoch from '2026-07-23 20:47:00'::timestamp) - extract(epoch from '2026-07-23 20:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546833 -3.039723)'), GeomFromEWKT('SRID=4674;POINT (-39.546874 -3.039889)'))) / (select extract(epoch from '2026-07-23 20:47:00'::timestamp) - extract(epoch from '2026-07-23 20:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546906 -3.040025)', '2026-07-23 20:47:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546874 -3.039889)'), GeomFromEWKT('SRID=4674;POINT (-39.546906 -3.040025)'))) / (select extract(epoch from '2026-07-23 20:47:06'::timestamp) - extract(epoch from '2026-07-23 20:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546874 -3.039889)'), GeomFromEWKT('SRID=4674;POINT (-39.546906 -3.040025)'))) / (select extract(epoch from '2026-07-23 20:47:06'::timestamp) - extract(epoch from '2026-07-23 20:47: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'), 47855, 'SRID=4674;POINT (-39.546933 -3.040144)', '2026-07-23 20:47:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546906 -3.040025)'), GeomFromEWKT('SRID=4674;POINT (-39.546933 -3.040144)'))) / (select extract(epoch from '2026-07-23 20:47:12'::timestamp) - extract(epoch from '2026-07-23 20:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546906 -3.040025)'), GeomFromEWKT('SRID=4674;POINT (-39.546933 -3.040144)'))) / (select extract(epoch from '2026-07-23 20:47:12'::timestamp) - extract(epoch from '2026-07-23 20:47: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'), 47855, 'SRID=4674;POINT (-39.546972 -3.040243)', '2026-07-23 20:47:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546933 -3.040144)'), GeomFromEWKT('SRID=4674;POINT (-39.546972 -3.040243)'))) / (select extract(epoch from '2026-07-23 20:47:17'::timestamp) - extract(epoch from '2026-07-23 20:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546933 -3.040144)'), GeomFromEWKT('SRID=4674;POINT (-39.546972 -3.040243)'))) / (select extract(epoch from '2026-07-23 20:47:17'::timestamp) - extract(epoch from '2026-07-23 20:47:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546983 -3.040357)', '2026-07-23 20:47:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546972 -3.040243)'), GeomFromEWKT('SRID=4674;POINT (-39.546983 -3.040357)'))) / (select extract(epoch from '2026-07-23 20:47:22'::timestamp) - extract(epoch from '2026-07-23 20:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546972 -3.040243)'), GeomFromEWKT('SRID=4674;POINT (-39.546983 -3.040357)'))) / (select extract(epoch from '2026-07-23 20:47:22'::timestamp) - extract(epoch from '2026-07-23 20:47: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'), 47855, 'SRID=4674;POINT (-39.54701 -3.04049)', '2026-07-23 20:47:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546983 -3.040357)'), GeomFromEWKT('SRID=4674;POINT (-39.54701 -3.04049)'))) / (select extract(epoch from '2026-07-23 20:47:28'::timestamp) - extract(epoch from '2026-07-23 20:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546983 -3.040357)'), GeomFromEWKT('SRID=4674;POINT (-39.54701 -3.04049)'))) / (select extract(epoch from '2026-07-23 20:47:28'::timestamp) - extract(epoch from '2026-07-23 20:47: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'), 47855, 'SRID=4674;POINT (-39.547056 -3.040606)', '2026-07-23 20:47:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54701 -3.04049)'), GeomFromEWKT('SRID=4674;POINT (-39.547056 -3.040606)'))) / (select extract(epoch from '2026-07-23 20:47:33'::timestamp) - extract(epoch from '2026-07-23 20:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54701 -3.04049)'), GeomFromEWKT('SRID=4674;POINT (-39.547056 -3.040606)'))) / (select extract(epoch from '2026-07-23 20:47:33'::timestamp) - extract(epoch from '2026-07-23 20:47: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'), 47855, 'SRID=4674;POINT (-39.547083 -3.040705)', '2026-07-23 20:47:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547056 -3.040606)'), GeomFromEWKT('SRID=4674;POINT (-39.547083 -3.040705)'))) / (select extract(epoch from '2026-07-23 20:47:37'::timestamp) - extract(epoch from '2026-07-23 20:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547056 -3.040606)'), GeomFromEWKT('SRID=4674;POINT (-39.547083 -3.040705)'))) / (select extract(epoch from '2026-07-23 20:47:37'::timestamp) - extract(epoch from '2026-07-23 20:47: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'), 47855, 'SRID=4674;POINT (-39.547108 -3.040831)', '2026-07-23 20:47:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547083 -3.040705)'), GeomFromEWKT('SRID=4674;POINT (-39.547108 -3.040831)'))) / (select extract(epoch from '2026-07-23 20:47:42'::timestamp) - extract(epoch from '2026-07-23 20:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547083 -3.040705)'), GeomFromEWKT('SRID=4674;POINT (-39.547108 -3.040831)'))) / (select extract(epoch from '2026-07-23 20:47:42'::timestamp) - extract(epoch from '2026-07-23 20:47: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'), 47855, 'SRID=4674;POINT (-39.54717 -3.040946)', '2026-07-23 20:47:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547108 -3.040831)'), GeomFromEWKT('SRID=4674;POINT (-39.54717 -3.040946)'))) / (select extract(epoch from '2026-07-23 20:47:47'::timestamp) - extract(epoch from '2026-07-23 20:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547108 -3.040831)'), GeomFromEWKT('SRID=4674;POINT (-39.54717 -3.040946)'))) / (select extract(epoch from '2026-07-23 20:47:47'::timestamp) - extract(epoch from '2026-07-23 20:47:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547206 -3.041053)', '2026-07-23 20:47:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54717 -3.040946)'), GeomFromEWKT('SRID=4674;POINT (-39.547206 -3.041053)'))) / (select extract(epoch from '2026-07-23 20:47:52'::timestamp) - extract(epoch from '2026-07-23 20:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54717 -3.040946)'), GeomFromEWKT('SRID=4674;POINT (-39.547206 -3.041053)'))) / (select extract(epoch from '2026-07-23 20:47:52'::timestamp) - extract(epoch from '2026-07-23 20:47: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'), 47855, 'SRID=4674;POINT (-39.54724 -3.041165)', '2026-07-23 20:47:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547206 -3.041053)'), GeomFromEWKT('SRID=4674;POINT (-39.54724 -3.041165)'))) / (select extract(epoch from '2026-07-23 20:47:57'::timestamp) - extract(epoch from '2026-07-23 20:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547206 -3.041053)'), GeomFromEWKT('SRID=4674;POINT (-39.54724 -3.041165)'))) / (select extract(epoch from '2026-07-23 20:47:57'::timestamp) - extract(epoch from '2026-07-23 20:47: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'), 47855, 'SRID=4674;POINT (-39.54726 -3.041296)', '2026-07-23 20:48:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54724 -3.041165)'), GeomFromEWKT('SRID=4674;POINT (-39.54726 -3.041296)'))) / (select extract(epoch from '2026-07-23 20:48:03'::timestamp) - extract(epoch from '2026-07-23 20:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54724 -3.041165)'), GeomFromEWKT('SRID=4674;POINT (-39.54726 -3.041296)'))) / (select extract(epoch from '2026-07-23 20:48:03'::timestamp) - extract(epoch from '2026-07-23 20:47:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547319 -3.041417)', '2026-07-23 20:48:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54726 -3.041296)'), GeomFromEWKT('SRID=4674;POINT (-39.547319 -3.041417)'))) / (select extract(epoch from '2026-07-23 20:48:09'::timestamp) - extract(epoch from '2026-07-23 20:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54726 -3.041296)'), GeomFromEWKT('SRID=4674;POINT (-39.547319 -3.041417)'))) / (select extract(epoch from '2026-07-23 20:48:09'::timestamp) - extract(epoch from '2026-07-23 20:48: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'), 47855, 'SRID=4674;POINT (-39.547369 -3.041561)', '2026-07-23 20:48:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547319 -3.041417)'), GeomFromEWKT('SRID=4674;POINT (-39.547369 -3.041561)'))) / (select extract(epoch from '2026-07-23 20:48:16'::timestamp) - extract(epoch from '2026-07-23 20:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547319 -3.041417)'), GeomFromEWKT('SRID=4674;POINT (-39.547369 -3.041561)'))) / (select extract(epoch from '2026-07-23 20:48:16'::timestamp) - extract(epoch from '2026-07-23 20:48: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'), 47855, 'SRID=4674;POINT (-39.547404 -3.0417)', '2026-07-23 20:48:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547369 -3.041561)'), GeomFromEWKT('SRID=4674;POINT (-39.547404 -3.0417)'))) / (select extract(epoch from '2026-07-23 20:48:22'::timestamp) - extract(epoch from '2026-07-23 20:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547369 -3.041561)'), GeomFromEWKT('SRID=4674;POINT (-39.547404 -3.0417)'))) / (select extract(epoch from '2026-07-23 20:48:22'::timestamp) - extract(epoch from '2026-07-23 20:48: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'), 47855, 'SRID=4674;POINT (-39.547434 -3.041842)', '2026-07-23 20:48:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547404 -3.0417)'), GeomFromEWKT('SRID=4674;POINT (-39.547434 -3.041842)'))) / (select extract(epoch from '2026-07-23 20:48:28'::timestamp) - extract(epoch from '2026-07-23 20:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547404 -3.0417)'), GeomFromEWKT('SRID=4674;POINT (-39.547434 -3.041842)'))) / (select extract(epoch from '2026-07-23 20:48:28'::timestamp) - extract(epoch from '2026-07-23 20:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54747 -3.042069)', '2026-07-23 20:48:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547434 -3.041842)'), GeomFromEWKT('SRID=4674;POINT (-39.54747 -3.042069)'))) / (select extract(epoch from '2026-07-23 20:48:38'::timestamp) - extract(epoch from '2026-07-23 20:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547434 -3.041842)'), GeomFromEWKT('SRID=4674;POINT (-39.54747 -3.042069)'))) / (select extract(epoch from '2026-07-23 20:48:38'::timestamp) - extract(epoch from '2026-07-23 20:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547496 -3.042209)', '2026-07-23 20:48:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54747 -3.042069)'), GeomFromEWKT('SRID=4674;POINT (-39.547496 -3.042209)'))) / (select extract(epoch from '2026-07-23 20:48:44'::timestamp) - extract(epoch from '2026-07-23 20:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54747 -3.042069)'), GeomFromEWKT('SRID=4674;POINT (-39.547496 -3.042209)'))) / (select extract(epoch from '2026-07-23 20:48:44'::timestamp) - extract(epoch from '2026-07-23 20:48: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'), 47855, 'SRID=4674;POINT (-39.547563 -3.042332)', '2026-07-23 20:48:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547496 -3.042209)'), GeomFromEWKT('SRID=4674;POINT (-39.547563 -3.042332)'))) / (select extract(epoch from '2026-07-23 20:48:50'::timestamp) - extract(epoch from '2026-07-23 20:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547496 -3.042209)'), GeomFromEWKT('SRID=4674;POINT (-39.547563 -3.042332)'))) / (select extract(epoch from '2026-07-23 20:48:50'::timestamp) - extract(epoch from '2026-07-23 20:48: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'), 47855, 'SRID=4674;POINT (-39.547573 -3.042376)', '2026-07-23 20:48:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547563 -3.042332)'), GeomFromEWKT('SRID=4674;POINT (-39.547573 -3.042376)'))) / (select extract(epoch from '2026-07-23 20:48:52'::timestamp) - extract(epoch from '2026-07-23 20:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547563 -3.042332)'), GeomFromEWKT('SRID=4674;POINT (-39.547573 -3.042376)'))) / (select extract(epoch from '2026-07-23 20:48:52'::timestamp) - extract(epoch from '2026-07-23 20:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547594 -3.042418)', '2026-07-23 20:48:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547573 -3.042376)'), GeomFromEWKT('SRID=4674;POINT (-39.547594 -3.042418)'))) / (select extract(epoch from '2026-07-23 20:48:54'::timestamp) - extract(epoch from '2026-07-23 20:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547573 -3.042376)'), GeomFromEWKT('SRID=4674;POINT (-39.547594 -3.042418)'))) / (select extract(epoch from '2026-07-23 20:48:54'::timestamp) - extract(epoch from '2026-07-23 20:48: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'), 47855, 'SRID=4674;POINT (-39.54761 -3.04246)', '2026-07-23 20:48:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547594 -3.042418)'), GeomFromEWKT('SRID=4674;POINT (-39.54761 -3.04246)'))) / (select extract(epoch from '2026-07-23 20:48:56'::timestamp) - extract(epoch from '2026-07-23 20:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547594 -3.042418)'), GeomFromEWKT('SRID=4674;POINT (-39.54761 -3.04246)'))) / (select extract(epoch from '2026-07-23 20:48:56'::timestamp) - extract(epoch from '2026-07-23 20:48: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'), 47855, 'SRID=4674;POINT (-39.547623 -3.0425)', '2026-07-23 20:48:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54761 -3.04246)'), GeomFromEWKT('SRID=4674;POINT (-39.547623 -3.0425)'))) / (select extract(epoch from '2026-07-23 20:48:58'::timestamp) - extract(epoch from '2026-07-23 20:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54761 -3.04246)'), GeomFromEWKT('SRID=4674;POINT (-39.547623 -3.0425)'))) / (select extract(epoch from '2026-07-23 20:48:58'::timestamp) - extract(epoch from '2026-07-23 20:48: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'), 47855, 'SRID=4674;POINT (-39.547656 -3.042635)', '2026-07-23 20:49:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547623 -3.0425)'), GeomFromEWKT('SRID=4674;POINT (-39.547656 -3.042635)'))) / (select extract(epoch from '2026-07-23 20:49:04'::timestamp) - extract(epoch from '2026-07-23 20:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547623 -3.0425)'), GeomFromEWKT('SRID=4674;POINT (-39.547656 -3.042635)'))) / (select extract(epoch from '2026-07-23 20:49:04'::timestamp) - extract(epoch from '2026-07-23 20:48: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'), 47855, 'SRID=4674;POINT (-39.547722 -3.042814)', '2026-07-23 20:49:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547656 -3.042635)'), GeomFromEWKT('SRID=4674;POINT (-39.547722 -3.042814)'))) / (select extract(epoch from '2026-07-23 20:49:12'::timestamp) - extract(epoch from '2026-07-23 20:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547656 -3.042635)'), GeomFromEWKT('SRID=4674;POINT (-39.547722 -3.042814)'))) / (select extract(epoch from '2026-07-23 20:49:12'::timestamp) - extract(epoch from '2026-07-23 20:49: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'), 47855, 'SRID=4674;POINT (-39.547752 -3.042989)', '2026-07-23 20:49:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547722 -3.042814)'), GeomFromEWKT('SRID=4674;POINT (-39.547752 -3.042989)'))) / (select extract(epoch from '2026-07-23 20:49:19'::timestamp) - extract(epoch from '2026-07-23 20:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547722 -3.042814)'), GeomFromEWKT('SRID=4674;POINT (-39.547752 -3.042989)'))) / (select extract(epoch from '2026-07-23 20:49:19'::timestamp) - extract(epoch from '2026-07-23 20:49: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'), 47855, 'SRID=4674;POINT (-39.547776 -3.043101)', '2026-07-23 20:49:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547752 -3.042989)'), GeomFromEWKT('SRID=4674;POINT (-39.547776 -3.043101)'))) / (select extract(epoch from '2026-07-23 20:49:24'::timestamp) - extract(epoch from '2026-07-23 20:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547752 -3.042989)'), GeomFromEWKT('SRID=4674;POINT (-39.547776 -3.043101)'))) / (select extract(epoch from '2026-07-23 20:49:24'::timestamp) - extract(epoch from '2026-07-23 20:49: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'), 47855, 'SRID=4674;POINT (-39.54784 -3.043257)', '2026-07-23 20:49:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547776 -3.043101)'), GeomFromEWKT('SRID=4674;POINT (-39.54784 -3.043257)'))) / (select extract(epoch from '2026-07-23 20:49:31'::timestamp) - extract(epoch from '2026-07-23 20:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547776 -3.043101)'), GeomFromEWKT('SRID=4674;POINT (-39.54784 -3.043257)'))) / (select extract(epoch from '2026-07-23 20:49:31'::timestamp) - extract(epoch from '2026-07-23 20:49: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'), 47855, 'SRID=4674;POINT (-39.547871 -3.043393)', '2026-07-23 20:49:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54784 -3.043257)'), GeomFromEWKT('SRID=4674;POINT (-39.547871 -3.043393)'))) / (select extract(epoch from '2026-07-23 20:49:37'::timestamp) - extract(epoch from '2026-07-23 20:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54784 -3.043257)'), GeomFromEWKT('SRID=4674;POINT (-39.547871 -3.043393)'))) / (select extract(epoch from '2026-07-23 20:49:37'::timestamp) - extract(epoch from '2026-07-23 20:49: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'), 47855, 'SRID=4674;POINT (-39.547886 -3.043558)', '2026-07-23 20:49:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547871 -3.043393)'), GeomFromEWKT('SRID=4674;POINT (-39.547886 -3.043558)'))) / (select extract(epoch from '2026-07-23 20:49:44'::timestamp) - extract(epoch from '2026-07-23 20:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547871 -3.043393)'), GeomFromEWKT('SRID=4674;POINT (-39.547886 -3.043558)'))) / (select extract(epoch from '2026-07-23 20:49:44'::timestamp) - extract(epoch from '2026-07-23 20:49: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'), 47855, 'SRID=4674;POINT (-39.547926 -3.043749)', '2026-07-23 20:49:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547886 -3.043558)'), GeomFromEWKT('SRID=4674;POINT (-39.547926 -3.043749)'))) / (select extract(epoch from '2026-07-23 20:49:52'::timestamp) - extract(epoch from '2026-07-23 20:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547886 -3.043558)'), GeomFromEWKT('SRID=4674;POINT (-39.547926 -3.043749)'))) / (select extract(epoch from '2026-07-23 20:49:52'::timestamp) - extract(epoch from '2026-07-23 20:49: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'), 47855, 'SRID=4674;POINT (-39.547981 -3.043929)', '2026-07-23 20:50:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547926 -3.043749)'), GeomFromEWKT('SRID=4674;POINT (-39.547981 -3.043929)'))) / (select extract(epoch from '2026-07-23 20:50:00'::timestamp) - extract(epoch from '2026-07-23 20:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547926 -3.043749)'), GeomFromEWKT('SRID=4674;POINT (-39.547981 -3.043929)'))) / (select extract(epoch from '2026-07-23 20:50:00'::timestamp) - extract(epoch from '2026-07-23 20:49: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'), 47855, 'SRID=4674;POINT (-39.548058 -3.04405)', '2026-07-23 20:50:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547981 -3.043929)'), GeomFromEWKT('SRID=4674;POINT (-39.548058 -3.04405)'))) / (select extract(epoch from '2026-07-23 20:50:05'::timestamp) - extract(epoch from '2026-07-23 20:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547981 -3.043929)'), GeomFromEWKT('SRID=4674;POINT (-39.548058 -3.04405)'))) / (select extract(epoch from '2026-07-23 20:50:05'::timestamp) - extract(epoch from '2026-07-23 20:50: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'), 47855, 'SRID=4674;POINT (-39.548102 -3.044175)', '2026-07-23 20:50:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548058 -3.04405)'), GeomFromEWKT('SRID=4674;POINT (-39.548102 -3.044175)'))) / (select extract(epoch from '2026-07-23 20:50:11'::timestamp) - extract(epoch from '2026-07-23 20:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548058 -3.04405)'), GeomFromEWKT('SRID=4674;POINT (-39.548102 -3.044175)'))) / (select extract(epoch from '2026-07-23 20:50:11'::timestamp) - extract(epoch from '2026-07-23 20:50: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'), 47855, 'SRID=4674;POINT (-39.548131 -3.044328)', '2026-07-23 20:50:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548102 -3.044175)'), GeomFromEWKT('SRID=4674;POINT (-39.548131 -3.044328)'))) / (select extract(epoch from '2026-07-23 20:50:18'::timestamp) - extract(epoch from '2026-07-23 20:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548102 -3.044175)'), GeomFromEWKT('SRID=4674;POINT (-39.548131 -3.044328)'))) / (select extract(epoch from '2026-07-23 20:50:18'::timestamp) - extract(epoch from '2026-07-23 20:50: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'), 47855, 'SRID=4674;POINT (-39.548158 -3.044476)', '2026-07-23 20:50:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548131 -3.044328)'), GeomFromEWKT('SRID=4674;POINT (-39.548158 -3.044476)'))) / (select extract(epoch from '2026-07-23 20:50:24'::timestamp) - extract(epoch from '2026-07-23 20:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548131 -3.044328)'), GeomFromEWKT('SRID=4674;POINT (-39.548158 -3.044476)'))) / (select extract(epoch from '2026-07-23 20:50:24'::timestamp) - extract(epoch from '2026-07-23 20:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.548164 -3.044587)', '2026-07-23 20:50:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548158 -3.044476)'), GeomFromEWKT('SRID=4674;POINT (-39.548164 -3.044587)'))) / (select extract(epoch from '2026-07-23 20:50:29'::timestamp) - extract(epoch from '2026-07-23 20:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548158 -3.044476)'), GeomFromEWKT('SRID=4674;POINT (-39.548164 -3.044587)'))) / (select extract(epoch from '2026-07-23 20:50:29'::timestamp) - extract(epoch from '2026-07-23 20:50: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'), 47855, 'SRID=4674;POINT (-39.548218 -3.044767)', '2026-07-23 20:50:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548164 -3.044587)'), GeomFromEWKT('SRID=4674;POINT (-39.548218 -3.044767)'))) / (select extract(epoch from '2026-07-23 20:50:37'::timestamp) - extract(epoch from '2026-07-23 20:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548164 -3.044587)'), GeomFromEWKT('SRID=4674;POINT (-39.548218 -3.044767)'))) / (select extract(epoch from '2026-07-23 20:50:37'::timestamp) - extract(epoch from '2026-07-23 20:50: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'), 47855, 'SRID=4674;POINT (-39.548276 -3.044947)', '2026-07-23 20:50:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548218 -3.044767)'), GeomFromEWKT('SRID=4674;POINT (-39.548276 -3.044947)'))) / (select extract(epoch from '2026-07-23 20:50:44'::timestamp) - extract(epoch from '2026-07-23 20:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548218 -3.044767)'), GeomFromEWKT('SRID=4674;POINT (-39.548276 -3.044947)'))) / (select extract(epoch from '2026-07-23 20:50:44'::timestamp) - extract(epoch from '2026-07-23 20:50: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'), 47855, 'SRID=4674;POINT (-39.548344 -3.045113)', '2026-07-23 20:50:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548276 -3.044947)'), GeomFromEWKT('SRID=4674;POINT (-39.548344 -3.045113)'))) / (select extract(epoch from '2026-07-23 20:50:51'::timestamp) - extract(epoch from '2026-07-23 20:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548276 -3.044947)'), GeomFromEWKT('SRID=4674;POINT (-39.548344 -3.045113)'))) / (select extract(epoch from '2026-07-23 20:50:51'::timestamp) - extract(epoch from '2026-07-23 20:50: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'), 47855, 'SRID=4674;POINT (-39.548379 -3.045285)', '2026-07-23 20:50:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548344 -3.045113)'), GeomFromEWKT('SRID=4674;POINT (-39.548379 -3.045285)'))) / (select extract(epoch from '2026-07-23 20:50:58'::timestamp) - extract(epoch from '2026-07-23 20:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548344 -3.045113)'), GeomFromEWKT('SRID=4674;POINT (-39.548379 -3.045285)'))) / (select extract(epoch from '2026-07-23 20:50:58'::timestamp) - extract(epoch from '2026-07-23 20:50: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'), 47855, 'SRID=4674;POINT (-39.548422 -3.045439)', '2026-07-23 20:51:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548379 -3.045285)'), GeomFromEWKT('SRID=4674;POINT (-39.548422 -3.045439)'))) / (select extract(epoch from '2026-07-23 20:51:04'::timestamp) - extract(epoch from '2026-07-23 20:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548379 -3.045285)'), GeomFromEWKT('SRID=4674;POINT (-39.548422 -3.045439)'))) / (select extract(epoch from '2026-07-23 20:51:04'::timestamp) - extract(epoch from '2026-07-23 20:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.548463 -3.045579)', '2026-07-23 20:51:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548422 -3.045439)'), GeomFromEWKT('SRID=4674;POINT (-39.548463 -3.045579)'))) / (select extract(epoch from '2026-07-23 20:51:10'::timestamp) - extract(epoch from '2026-07-23 20:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548422 -3.045439)'), GeomFromEWKT('SRID=4674;POINT (-39.548463 -3.045579)'))) / (select extract(epoch from '2026-07-23 20:51:10'::timestamp) - extract(epoch from '2026-07-23 20:51: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'), 47855, 'SRID=4674;POINT (-39.548513 -3.045729)', '2026-07-23 20:51:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548463 -3.045579)'), GeomFromEWKT('SRID=4674;POINT (-39.548513 -3.045729)'))) / (select extract(epoch from '2026-07-23 20:51:17'::timestamp) - extract(epoch from '2026-07-23 20:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548463 -3.045579)'), GeomFromEWKT('SRID=4674;POINT (-39.548513 -3.045729)'))) / (select extract(epoch from '2026-07-23 20:51:17'::timestamp) - extract(epoch from '2026-07-23 20:51: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'), 47855, 'SRID=4674;POINT (-39.548562 -3.045853)', '2026-07-23 20:51:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548513 -3.045729)'), GeomFromEWKT('SRID=4674;POINT (-39.548562 -3.045853)'))) / (select extract(epoch from '2026-07-23 20:51:23'::timestamp) - extract(epoch from '2026-07-23 20:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548513 -3.045729)'), GeomFromEWKT('SRID=4674;POINT (-39.548562 -3.045853)'))) / (select extract(epoch from '2026-07-23 20:51:23'::timestamp) - extract(epoch from '2026-07-23 20:51: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'), 47855, 'SRID=4674;POINT (-39.548621 -3.045974)', '2026-07-23 20:51:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548562 -3.045853)'), GeomFromEWKT('SRID=4674;POINT (-39.548621 -3.045974)'))) / (select extract(epoch from '2026-07-23 20:51:29'::timestamp) - extract(epoch from '2026-07-23 20:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548562 -3.045853)'), GeomFromEWKT('SRID=4674;POINT (-39.548621 -3.045974)'))) / (select extract(epoch from '2026-07-23 20:51:29'::timestamp) - extract(epoch from '2026-07-23 20:51:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.548671 -3.046101)', '2026-07-23 20:51:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548621 -3.045974)'), GeomFromEWKT('SRID=4674;POINT (-39.548671 -3.046101)'))) / (select extract(epoch from '2026-07-23 20:51:35'::timestamp) - extract(epoch from '2026-07-23 20:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548621 -3.045974)'), GeomFromEWKT('SRID=4674;POINT (-39.548671 -3.046101)'))) / (select extract(epoch from '2026-07-23 20:51:35'::timestamp) - extract(epoch from '2026-07-23 20:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.548718 -3.046269)', '2026-07-23 20:51:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548671 -3.046101)'), GeomFromEWKT('SRID=4674;POINT (-39.548718 -3.046269)'))) / (select extract(epoch from '2026-07-23 20:51:42'::timestamp) - extract(epoch from '2026-07-23 20:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548671 -3.046101)'), GeomFromEWKT('SRID=4674;POINT (-39.548718 -3.046269)'))) / (select extract(epoch from '2026-07-23 20:51:42'::timestamp) - extract(epoch from '2026-07-23 20:51: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'), 47855, 'SRID=4674;POINT (-39.548791 -3.046431)', '2026-07-23 20:51:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548718 -3.046269)'), GeomFromEWKT('SRID=4674;POINT (-39.548791 -3.046431)'))) / (select extract(epoch from '2026-07-23 20:51:49'::timestamp) - extract(epoch from '2026-07-23 20:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548718 -3.046269)'), GeomFromEWKT('SRID=4674;POINT (-39.548791 -3.046431)'))) / (select extract(epoch from '2026-07-23 20:51:49'::timestamp) - extract(epoch from '2026-07-23 20:51: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'), 47855, 'SRID=4674;POINT (-39.548848 -3.046594)', '2026-07-23 20:51:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548791 -3.046431)'), GeomFromEWKT('SRID=4674;POINT (-39.548848 -3.046594)'))) / (select extract(epoch from '2026-07-23 20:51:57'::timestamp) - extract(epoch from '2026-07-23 20:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548791 -3.046431)'), GeomFromEWKT('SRID=4674;POINT (-39.548848 -3.046594)'))) / (select extract(epoch from '2026-07-23 20:51:57'::timestamp) - extract(epoch from '2026-07-23 20:51: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'), 47855, 'SRID=4674;POINT (-39.54892 -3.046748)', '2026-07-23 20:52:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548848 -3.046594)'), GeomFromEWKT('SRID=4674;POINT (-39.54892 -3.046748)'))) / (select extract(epoch from '2026-07-23 20:52:04'::timestamp) - extract(epoch from '2026-07-23 20:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548848 -3.046594)'), GeomFromEWKT('SRID=4674;POINT (-39.54892 -3.046748)'))) / (select extract(epoch from '2026-07-23 20:52:04'::timestamp) - extract(epoch from '2026-07-23 20:51: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'), 47855, 'SRID=4674;POINT (-39.548929 -3.046884)', '2026-07-23 20:52:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54892 -3.046748)'), GeomFromEWKT('SRID=4674;POINT (-39.548929 -3.046884)'))) / (select extract(epoch from '2026-07-23 20:52:10'::timestamp) - extract(epoch from '2026-07-23 20:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54892 -3.046748)'), GeomFromEWKT('SRID=4674;POINT (-39.548929 -3.046884)'))) / (select extract(epoch from '2026-07-23 20:52:10'::timestamp) - extract(epoch from '2026-07-23 20:52: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'), 47855, 'SRID=4674;POINT (-39.548967 -3.047066)', '2026-07-23 20:52:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548929 -3.046884)'), GeomFromEWKT('SRID=4674;POINT (-39.548967 -3.047066)'))) / (select extract(epoch from '2026-07-23 20:52:17'::timestamp) - extract(epoch from '2026-07-23 20:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548929 -3.046884)'), GeomFromEWKT('SRID=4674;POINT (-39.548967 -3.047066)'))) / (select extract(epoch from '2026-07-23 20:52:17'::timestamp) - extract(epoch from '2026-07-23 20:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.548993 -3.047201)', '2026-07-23 20:52:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548967 -3.047066)'), GeomFromEWKT('SRID=4674;POINT (-39.548993 -3.047201)'))) / (select extract(epoch from '2026-07-23 20:52:23'::timestamp) - extract(epoch from '2026-07-23 20:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548967 -3.047066)'), GeomFromEWKT('SRID=4674;POINT (-39.548993 -3.047201)'))) / (select extract(epoch from '2026-07-23 20:52:23'::timestamp) - extract(epoch from '2026-07-23 20:52: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'), 47855, 'SRID=4674;POINT (-39.549041 -3.047334)', '2026-07-23 20:52:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548993 -3.047201)'), GeomFromEWKT('SRID=4674;POINT (-39.549041 -3.047334)'))) / (select extract(epoch from '2026-07-23 20:52:28'::timestamp) - extract(epoch from '2026-07-23 20:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.548993 -3.047201)'), GeomFromEWKT('SRID=4674;POINT (-39.549041 -3.047334)'))) / (select extract(epoch from '2026-07-23 20:52:28'::timestamp) - extract(epoch from '2026-07-23 20:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549082 -3.047499)', '2026-07-23 20:52:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549041 -3.047334)'), GeomFromEWKT('SRID=4674;POINT (-39.549082 -3.047499)'))) / (select extract(epoch from '2026-07-23 20:52:35'::timestamp) - extract(epoch from '2026-07-23 20:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549041 -3.047334)'), GeomFromEWKT('SRID=4674;POINT (-39.549082 -3.047499)'))) / (select extract(epoch from '2026-07-23 20:52:35'::timestamp) - extract(epoch from '2026-07-23 20:52:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549123 -3.047665)', '2026-07-23 20:52:42', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549082 -3.047499)'), GeomFromEWKT('SRID=4674;POINT (-39.549123 -3.047665)'))) / (select extract(epoch from '2026-07-23 20:52:42'::timestamp) - extract(epoch from '2026-07-23 20:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549082 -3.047499)'), GeomFromEWKT('SRID=4674;POINT (-39.549123 -3.047665)'))) / (select extract(epoch from '2026-07-23 20:52:42'::timestamp) - extract(epoch from '2026-07-23 20:52: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'), 47855, 'SRID=4674;POINT (-39.549181 -3.047872)', '2026-07-23 20:52:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549123 -3.047665)'), GeomFromEWKT('SRID=4674;POINT (-39.549181 -3.047872)'))) / (select extract(epoch from '2026-07-23 20:52:51'::timestamp) - extract(epoch from '2026-07-23 20:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549123 -3.047665)'), GeomFromEWKT('SRID=4674;POINT (-39.549181 -3.047872)'))) / (select extract(epoch from '2026-07-23 20:52:51'::timestamp) - extract(epoch from '2026-07-23 20:52: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'), 47855, 'SRID=4674;POINT (-39.549223 -3.048024)', '2026-07-23 20:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549181 -3.047872)'), GeomFromEWKT('SRID=4674;POINT (-39.549223 -3.048024)'))) / (select extract(epoch from '2026-07-23 20:52:58'::timestamp) - extract(epoch from '2026-07-23 20:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549181 -3.047872)'), GeomFromEWKT('SRID=4674;POINT (-39.549223 -3.048024)'))) / (select extract(epoch from '2026-07-23 20:52:58'::timestamp) - extract(epoch from '2026-07-23 20:52: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'), 47855, 'SRID=4674;POINT (-39.54926 -3.048182)', '2026-07-23 20:53:05', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549223 -3.048024)'), GeomFromEWKT('SRID=4674;POINT (-39.54926 -3.048182)'))) / (select extract(epoch from '2026-07-23 20:53:05'::timestamp) - extract(epoch from '2026-07-23 20:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549223 -3.048024)'), GeomFromEWKT('SRID=4674;POINT (-39.54926 -3.048182)'))) / (select extract(epoch from '2026-07-23 20:53:05'::timestamp) - extract(epoch from '2026-07-23 20:52: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'), 47855, 'SRID=4674;POINT (-39.549297 -3.048319)', '2026-07-23 20:53:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54926 -3.048182)'), GeomFromEWKT('SRID=4674;POINT (-39.549297 -3.048319)'))) / (select extract(epoch from '2026-07-23 20:53:11'::timestamp) - extract(epoch from '2026-07-23 20:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54926 -3.048182)'), GeomFromEWKT('SRID=4674;POINT (-39.549297 -3.048319)'))) / (select extract(epoch from '2026-07-23 20:53:11'::timestamp) - extract(epoch from '2026-07-23 20:53: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'), 47855, 'SRID=4674;POINT (-39.549351 -3.04849)', '2026-07-23 20:53:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549297 -3.048319)'), GeomFromEWKT('SRID=4674;POINT (-39.549351 -3.04849)'))) / (select extract(epoch from '2026-07-23 20:53:18'::timestamp) - extract(epoch from '2026-07-23 20:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549297 -3.048319)'), GeomFromEWKT('SRID=4674;POINT (-39.549351 -3.04849)'))) / (select extract(epoch from '2026-07-23 20:53:18'::timestamp) - extract(epoch from '2026-07-23 20:53: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'), 47855, 'SRID=4674;POINT (-39.549408 -3.048645)', '2026-07-23 20:53:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549351 -3.04849)'), GeomFromEWKT('SRID=4674;POINT (-39.549408 -3.048645)'))) / (select extract(epoch from '2026-07-23 20:53:25'::timestamp) - extract(epoch from '2026-07-23 20:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549351 -3.04849)'), GeomFromEWKT('SRID=4674;POINT (-39.549408 -3.048645)'))) / (select extract(epoch from '2026-07-23 20:53:25'::timestamp) - extract(epoch from '2026-07-23 20:53: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'), 47855, 'SRID=4674;POINT (-39.549442 -3.04878)', '2026-07-23 20:53:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549408 -3.048645)'), GeomFromEWKT('SRID=4674;POINT (-39.549442 -3.04878)'))) / (select extract(epoch from '2026-07-23 20:53:31'::timestamp) - extract(epoch from '2026-07-23 20:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549408 -3.048645)'), GeomFromEWKT('SRID=4674;POINT (-39.549442 -3.04878)'))) / (select extract(epoch from '2026-07-23 20:53:31'::timestamp) - extract(epoch from '2026-07-23 20:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549501 -3.048881)', '2026-07-23 20:53:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549442 -3.04878)'), GeomFromEWKT('SRID=4674;POINT (-39.549501 -3.048881)'))) / (select extract(epoch from '2026-07-23 20:53:36'::timestamp) - extract(epoch from '2026-07-23 20:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549442 -3.04878)'), GeomFromEWKT('SRID=4674;POINT (-39.549501 -3.048881)'))) / (select extract(epoch from '2026-07-23 20:53:36'::timestamp) - extract(epoch from '2026-07-23 20:53:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549564 -3.049013)', '2026-07-23 20:53:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549501 -3.048881)'), GeomFromEWKT('SRID=4674;POINT (-39.549564 -3.049013)'))) / (select extract(epoch from '2026-07-23 20:53:42'::timestamp) - extract(epoch from '2026-07-23 20:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549501 -3.048881)'), GeomFromEWKT('SRID=4674;POINT (-39.549564 -3.049013)'))) / (select extract(epoch from '2026-07-23 20:53:42'::timestamp) - extract(epoch from '2026-07-23 20:53: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'), 47855, 'SRID=4674;POINT (-39.5496 -3.04914)', '2026-07-23 20:53:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549564 -3.049013)'), GeomFromEWKT('SRID=4674;POINT (-39.5496 -3.04914)'))) / (select extract(epoch from '2026-07-23 20:53:48'::timestamp) - extract(epoch from '2026-07-23 20:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549564 -3.049013)'), GeomFromEWKT('SRID=4674;POINT (-39.5496 -3.04914)'))) / (select extract(epoch from '2026-07-23 20:53:48'::timestamp) - extract(epoch from '2026-07-23 20:53: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'), 47855, 'SRID=4674;POINT (-39.549648 -3.049309)', '2026-07-23 20:53:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5496 -3.04914)'), GeomFromEWKT('SRID=4674;POINT (-39.549648 -3.049309)'))) / (select extract(epoch from '2026-07-23 20:53:56'::timestamp) - extract(epoch from '2026-07-23 20:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5496 -3.04914)'), GeomFromEWKT('SRID=4674;POINT (-39.549648 -3.049309)'))) / (select extract(epoch from '2026-07-23 20:53:56'::timestamp) - extract(epoch from '2026-07-23 20:53: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'), 47855, 'SRID=4674;POINT (-39.549689 -3.049434)', '2026-07-23 20:54:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549648 -3.049309)'), GeomFromEWKT('SRID=4674;POINT (-39.549689 -3.049434)'))) / (select extract(epoch from '2026-07-23 20:54:02'::timestamp) - extract(epoch from '2026-07-23 20:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549648 -3.049309)'), GeomFromEWKT('SRID=4674;POINT (-39.549689 -3.049434)'))) / (select extract(epoch from '2026-07-23 20:54:02'::timestamp) - extract(epoch from '2026-07-23 20:53: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'), 47855, 'SRID=4674;POINT (-39.549714 -3.049546)', '2026-07-23 20:54:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549689 -3.049434)'), GeomFromEWKT('SRID=4674;POINT (-39.549714 -3.049546)'))) / (select extract(epoch from '2026-07-23 20:54:07'::timestamp) - extract(epoch from '2026-07-23 20:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549689 -3.049434)'), GeomFromEWKT('SRID=4674;POINT (-39.549714 -3.049546)'))) / (select extract(epoch from '2026-07-23 20:54:07'::timestamp) - extract(epoch from '2026-07-23 20:54: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'), 47855, 'SRID=4674;POINT (-39.549761 -3.049685)', '2026-07-23 20:54:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549714 -3.049546)'), GeomFromEWKT('SRID=4674;POINT (-39.549761 -3.049685)'))) / (select extract(epoch from '2026-07-23 20:54:13'::timestamp) - extract(epoch from '2026-07-23 20:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549714 -3.049546)'), GeomFromEWKT('SRID=4674;POINT (-39.549761 -3.049685)'))) / (select extract(epoch from '2026-07-23 20:54:13'::timestamp) - extract(epoch from '2026-07-23 20:54: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'), 47855, 'SRID=4674;POINT (-39.549817 -3.049869)', '2026-07-23 20:54:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549761 -3.049685)'), GeomFromEWKT('SRID=4674;POINT (-39.549817 -3.049869)'))) / (select extract(epoch from '2026-07-23 20:54:20'::timestamp) - extract(epoch from '2026-07-23 20:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549761 -3.049685)'), GeomFromEWKT('SRID=4674;POINT (-39.549817 -3.049869)'))) / (select extract(epoch from '2026-07-23 20:54:20'::timestamp) - extract(epoch from '2026-07-23 20:54: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'), 47855, 'SRID=4674;POINT (-39.54983 -3.050042)', '2026-07-23 20:54:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549817 -3.049869)'), GeomFromEWKT('SRID=4674;POINT (-39.54983 -3.050042)'))) / (select extract(epoch from '2026-07-23 20:54:27'::timestamp) - extract(epoch from '2026-07-23 20:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549817 -3.049869)'), GeomFromEWKT('SRID=4674;POINT (-39.54983 -3.050042)'))) / (select extract(epoch from '2026-07-23 20:54:27'::timestamp) - extract(epoch from '2026-07-23 20:54: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'), 47855, 'SRID=4674;POINT (-39.549836 -3.050206)', '2026-07-23 20:54:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54983 -3.050042)'), GeomFromEWKT('SRID=4674;POINT (-39.549836 -3.050206)'))) / (select extract(epoch from '2026-07-23 20:54:34'::timestamp) - extract(epoch from '2026-07-23 20:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54983 -3.050042)'), GeomFromEWKT('SRID=4674;POINT (-39.549836 -3.050206)'))) / (select extract(epoch from '2026-07-23 20:54:34'::timestamp) - extract(epoch from '2026-07-23 20:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.549869 -3.050367)', '2026-07-23 20:54:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549836 -3.050206)'), GeomFromEWKT('SRID=4674;POINT (-39.549869 -3.050367)'))) / (select extract(epoch from '2026-07-23 20:54:41'::timestamp) - extract(epoch from '2026-07-23 20:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549836 -3.050206)'), GeomFromEWKT('SRID=4674;POINT (-39.549869 -3.050367)'))) / (select extract(epoch from '2026-07-23 20:54:41'::timestamp) - extract(epoch from '2026-07-23 20:54: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'), 47855, 'SRID=4674;POINT (-39.549927 -3.050552)', '2026-07-23 20:54:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549869 -3.050367)'), GeomFromEWKT('SRID=4674;POINT (-39.549927 -3.050552)'))) / (select extract(epoch from '2026-07-23 20:54:49'::timestamp) - extract(epoch from '2026-07-23 20:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549869 -3.050367)'), GeomFromEWKT('SRID=4674;POINT (-39.549927 -3.050552)'))) / (select extract(epoch from '2026-07-23 20:54:49'::timestamp) - extract(epoch from '2026-07-23 20:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54997 -3.050681)', '2026-07-23 20:54:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549927 -3.050552)'), GeomFromEWKT('SRID=4674;POINT (-39.54997 -3.050681)'))) / (select extract(epoch from '2026-07-23 20:54:55'::timestamp) - extract(epoch from '2026-07-23 20:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.549927 -3.050552)'), GeomFromEWKT('SRID=4674;POINT (-39.54997 -3.050681)'))) / (select extract(epoch from '2026-07-23 20:54:55'::timestamp) - extract(epoch from '2026-07-23 20:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550009 -3.050847)', '2026-07-23 20:55:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54997 -3.050681)'), GeomFromEWKT('SRID=4674;POINT (-39.550009 -3.050847)'))) / (select extract(epoch from '2026-07-23 20:55:02'::timestamp) - extract(epoch from '2026-07-23 20:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54997 -3.050681)'), GeomFromEWKT('SRID=4674;POINT (-39.550009 -3.050847)'))) / (select extract(epoch from '2026-07-23 20:55:02'::timestamp) - extract(epoch from '2026-07-23 20:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550076 -3.051)', '2026-07-23 20:55:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550009 -3.050847)'), GeomFromEWKT('SRID=4674;POINT (-39.550076 -3.051)'))) / (select extract(epoch from '2026-07-23 20:55:09'::timestamp) - extract(epoch from '2026-07-23 20:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550009 -3.050847)'), GeomFromEWKT('SRID=4674;POINT (-39.550076 -3.051)'))) / (select extract(epoch from '2026-07-23 20:55:09'::timestamp) - extract(epoch from '2026-07-23 20:55: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'), 47855, 'SRID=4674;POINT (-39.550151 -3.051105)', '2026-07-23 20:55:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550076 -3.051)'), GeomFromEWKT('SRID=4674;POINT (-39.550151 -3.051105)'))) / (select extract(epoch from '2026-07-23 20:55:15'::timestamp) - extract(epoch from '2026-07-23 20:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550076 -3.051)'), GeomFromEWKT('SRID=4674;POINT (-39.550151 -3.051105)'))) / (select extract(epoch from '2026-07-23 20:55:15'::timestamp) - extract(epoch from '2026-07-23 20:55: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'), 47855, 'SRID=4674;POINT (-39.55017 -3.051201)', '2026-07-23 20:55:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550151 -3.051105)'), GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.051201)'))) / (select extract(epoch from '2026-07-23 20:55:20'::timestamp) - extract(epoch from '2026-07-23 20:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550151 -3.051105)'), GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.051201)'))) / (select extract(epoch from '2026-07-23 20:55:20'::timestamp) - extract(epoch from '2026-07-23 20:55: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'), 47855, 'SRID=4674;POINT (-39.550224 -3.05131)', '2026-07-23 20:55:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.051201)'), GeomFromEWKT('SRID=4674;POINT (-39.550224 -3.05131)'))) / (select extract(epoch from '2026-07-23 20:55:26'::timestamp) - extract(epoch from '2026-07-23 20:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55017 -3.051201)'), GeomFromEWKT('SRID=4674;POINT (-39.550224 -3.05131)'))) / (select extract(epoch from '2026-07-23 20:55:26'::timestamp) - extract(epoch from '2026-07-23 20:55: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'), 47855, 'SRID=4674;POINT (-39.550256 -3.051439)', '2026-07-23 20:55:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550224 -3.05131)'), GeomFromEWKT('SRID=4674;POINT (-39.550256 -3.051439)'))) / (select extract(epoch from '2026-07-23 20:55:32'::timestamp) - extract(epoch from '2026-07-23 20:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550224 -3.05131)'), GeomFromEWKT('SRID=4674;POINT (-39.550256 -3.051439)'))) / (select extract(epoch from '2026-07-23 20:55:32'::timestamp) - extract(epoch from '2026-07-23 20:55: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'), 47855, 'SRID=4674;POINT (-39.550302 -3.05157)', '2026-07-23 20:55:38', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550256 -3.051439)'), GeomFromEWKT('SRID=4674;POINT (-39.550302 -3.05157)'))) / (select extract(epoch from '2026-07-23 20:55:38'::timestamp) - extract(epoch from '2026-07-23 20:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550256 -3.051439)'), GeomFromEWKT('SRID=4674;POINT (-39.550302 -3.05157)'))) / (select extract(epoch from '2026-07-23 20:55:38'::timestamp) - extract(epoch from '2026-07-23 20:55: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'), 47855, 'SRID=4674;POINT (-39.550342 -3.05169)', '2026-07-23 20:55:44', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550302 -3.05157)'), GeomFromEWKT('SRID=4674;POINT (-39.550342 -3.05169)'))) / (select extract(epoch from '2026-07-23 20:55:44'::timestamp) - extract(epoch from '2026-07-23 20:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550302 -3.05157)'), GeomFromEWKT('SRID=4674;POINT (-39.550342 -3.05169)'))) / (select extract(epoch from '2026-07-23 20:55:44'::timestamp) - extract(epoch from '2026-07-23 20:55: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'), 47855, 'SRID=4674;POINT (-39.550394 -3.051829)', '2026-07-23 20:55:50', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550342 -3.05169)'), GeomFromEWKT('SRID=4674;POINT (-39.550394 -3.051829)'))) / (select extract(epoch from '2026-07-23 20:55:50'::timestamp) - extract(epoch from '2026-07-23 20:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550342 -3.05169)'), GeomFromEWKT('SRID=4674;POINT (-39.550394 -3.051829)'))) / (select extract(epoch from '2026-07-23 20:55:50'::timestamp) - extract(epoch from '2026-07-23 20:55: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'), 47855, 'SRID=4674;POINT (-39.550455 -3.051975)', '2026-07-23 20:55:57', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550394 -3.051829)'), GeomFromEWKT('SRID=4674;POINT (-39.550455 -3.051975)'))) / (select extract(epoch from '2026-07-23 20:55:57'::timestamp) - extract(epoch from '2026-07-23 20:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550394 -3.051829)'), GeomFromEWKT('SRID=4674;POINT (-39.550455 -3.051975)'))) / (select extract(epoch from '2026-07-23 20:55:57'::timestamp) - extract(epoch from '2026-07-23 20:55: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'), 47855, 'SRID=4674;POINT (-39.550521 -3.052125)', '2026-07-23 20:56:04', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550455 -3.051975)'), GeomFromEWKT('SRID=4674;POINT (-39.550521 -3.052125)'))) / (select extract(epoch from '2026-07-23 20:56:04'::timestamp) - extract(epoch from '2026-07-23 20:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550455 -3.051975)'), GeomFromEWKT('SRID=4674;POINT (-39.550521 -3.052125)'))) / (select extract(epoch from '2026-07-23 20:56:04'::timestamp) - extract(epoch from '2026-07-23 20:55:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550595 -3.052251)', '2026-07-23 20:56:10', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550521 -3.052125)'), GeomFromEWKT('SRID=4674;POINT (-39.550595 -3.052251)'))) / (select extract(epoch from '2026-07-23 20:56:10'::timestamp) - extract(epoch from '2026-07-23 20:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550521 -3.052125)'), GeomFromEWKT('SRID=4674;POINT (-39.550595 -3.052251)'))) / (select extract(epoch from '2026-07-23 20:56:10'::timestamp) - extract(epoch from '2026-07-23 20:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.55065 -3.052379)', '2026-07-23 20:56:17', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550595 -3.052251)'), GeomFromEWKT('SRID=4674;POINT (-39.55065 -3.052379)'))) / (select extract(epoch from '2026-07-23 20:56:17'::timestamp) - extract(epoch from '2026-07-23 20:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550595 -3.052251)'), GeomFromEWKT('SRID=4674;POINT (-39.55065 -3.052379)'))) / (select extract(epoch from '2026-07-23 20:56:17'::timestamp) - extract(epoch from '2026-07-23 20:56: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'), 47855, 'SRID=4674;POINT (-39.550727 -3.052537)', '2026-07-23 20:56:24', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55065 -3.052379)'), GeomFromEWKT('SRID=4674;POINT (-39.550727 -3.052537)'))) / (select extract(epoch from '2026-07-23 20:56:24'::timestamp) - extract(epoch from '2026-07-23 20:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55065 -3.052379)'), GeomFromEWKT('SRID=4674;POINT (-39.550727 -3.052537)'))) / (select extract(epoch from '2026-07-23 20:56:24'::timestamp) - extract(epoch from '2026-07-23 20:56: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'), 47855, 'SRID=4674;POINT (-39.550791 -3.052695)', '2026-07-23 20:56:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550727 -3.052537)'), GeomFromEWKT('SRID=4674;POINT (-39.550791 -3.052695)'))) / (select extract(epoch from '2026-07-23 20:56:30'::timestamp) - extract(epoch from '2026-07-23 20:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550727 -3.052537)'), GeomFromEWKT('SRID=4674;POINT (-39.550791 -3.052695)'))) / (select extract(epoch from '2026-07-23 20:56:30'::timestamp) - extract(epoch from '2026-07-23 20:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.550833 -3.052813)', '2026-07-23 20:56:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550791 -3.052695)'), GeomFromEWKT('SRID=4674;POINT (-39.550833 -3.052813)'))) / (select extract(epoch from '2026-07-23 20:56:35'::timestamp) - extract(epoch from '2026-07-23 20:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550791 -3.052695)'), GeomFromEWKT('SRID=4674;POINT (-39.550833 -3.052813)'))) / (select extract(epoch from '2026-07-23 20:56:35'::timestamp) - extract(epoch from '2026-07-23 20:56: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'), 47855, 'SRID=4674;POINT (-39.550868 -3.052931)', '2026-07-23 20:56:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550833 -3.052813)'), GeomFromEWKT('SRID=4674;POINT (-39.550868 -3.052931)'))) / (select extract(epoch from '2026-07-23 20:56:39'::timestamp) - extract(epoch from '2026-07-23 20:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550833 -3.052813)'), GeomFromEWKT('SRID=4674;POINT (-39.550868 -3.052931)'))) / (select extract(epoch from '2026-07-23 20:56:39'::timestamp) - extract(epoch from '2026-07-23 20:56: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'), 47855, 'SRID=4674;POINT (-39.550923 -3.053051)', '2026-07-23 20:56:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550868 -3.052931)'), GeomFromEWKT('SRID=4674;POINT (-39.550923 -3.053051)'))) / (select extract(epoch from '2026-07-23 20:56:45'::timestamp) - extract(epoch from '2026-07-23 20:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550868 -3.052931)'), GeomFromEWKT('SRID=4674;POINT (-39.550923 -3.053051)'))) / (select extract(epoch from '2026-07-23 20:56:45'::timestamp) - extract(epoch from '2026-07-23 20:56: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'), 47855, 'SRID=4674;POINT (-39.550974 -3.053181)', '2026-07-23 20:56:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550923 -3.053051)'), GeomFromEWKT('SRID=4674;POINT (-39.550974 -3.053181)'))) / (select extract(epoch from '2026-07-23 20:56:52'::timestamp) - extract(epoch from '2026-07-23 20:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550923 -3.053051)'), GeomFromEWKT('SRID=4674;POINT (-39.550974 -3.053181)'))) / (select extract(epoch from '2026-07-23 20:56:52'::timestamp) - extract(epoch from '2026-07-23 20:56: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'), 47855, 'SRID=4674;POINT (-39.550999 -3.053286)', '2026-07-23 20:56:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550974 -3.053181)'), GeomFromEWKT('SRID=4674;POINT (-39.550999 -3.053286)'))) / (select extract(epoch from '2026-07-23 20:56:57'::timestamp) - extract(epoch from '2026-07-23 20:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550974 -3.053181)'), GeomFromEWKT('SRID=4674;POINT (-39.550999 -3.053286)'))) / (select extract(epoch from '2026-07-23 20:56:57'::timestamp) - extract(epoch from '2026-07-23 20:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.551035 -3.053406)', '2026-07-23 20:57:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550999 -3.053286)'), GeomFromEWKT('SRID=4674;POINT (-39.551035 -3.053406)'))) / (select extract(epoch from '2026-07-23 20:57:02'::timestamp) - extract(epoch from '2026-07-23 20:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.550999 -3.053286)'), GeomFromEWKT('SRID=4674;POINT (-39.551035 -3.053406)'))) / (select extract(epoch from '2026-07-23 20:57:02'::timestamp) - extract(epoch from '2026-07-23 20:56: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'), 47855, 'SRID=4674;POINT (-39.551105 -3.05358)', '2026-07-23 20:57:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551035 -3.053406)'), GeomFromEWKT('SRID=4674;POINT (-39.551105 -3.05358)'))) / (select extract(epoch from '2026-07-23 20:57:10'::timestamp) - extract(epoch from '2026-07-23 20:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551035 -3.053406)'), GeomFromEWKT('SRID=4674;POINT (-39.551105 -3.05358)'))) / (select extract(epoch from '2026-07-23 20:57:10'::timestamp) - extract(epoch from '2026-07-23 20:57: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'), 47855, 'SRID=4674;POINT (-39.55114 -3.053729)', '2026-07-23 20:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551105 -3.05358)'), GeomFromEWKT('SRID=4674;POINT (-39.55114 -3.053729)'))) / (select extract(epoch from '2026-07-23 20:57:17'::timestamp) - extract(epoch from '2026-07-23 20:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551105 -3.05358)'), GeomFromEWKT('SRID=4674;POINT (-39.55114 -3.053729)'))) / (select extract(epoch from '2026-07-23 20:57:17'::timestamp) - extract(epoch from '2026-07-23 20:57:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.551172 -3.053904)', '2026-07-23 20:57:25', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55114 -3.053729)'), GeomFromEWKT('SRID=4674;POINT (-39.551172 -3.053904)'))) / (select extract(epoch from '2026-07-23 20:57:25'::timestamp) - extract(epoch from '2026-07-23 20:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55114 -3.053729)'), GeomFromEWKT('SRID=4674;POINT (-39.551172 -3.053904)'))) / (select extract(epoch from '2026-07-23 20:57:25'::timestamp) - extract(epoch from '2026-07-23 20:57: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'), 47855, 'SRID=4674;POINT (-39.551229 -3.054071)', '2026-07-23 20:57:32', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551172 -3.053904)'), GeomFromEWKT('SRID=4674;POINT (-39.551229 -3.054071)'))) / (select extract(epoch from '2026-07-23 20:57:32'::timestamp) - extract(epoch from '2026-07-23 20:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551172 -3.053904)'), GeomFromEWKT('SRID=4674;POINT (-39.551229 -3.054071)'))) / (select extract(epoch from '2026-07-23 20:57:32'::timestamp) - extract(epoch from '2026-07-23 20:57: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'), 47855, 'SRID=4674;POINT (-39.551266 -3.054181)', '2026-07-23 20:57:37', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551229 -3.054071)'), GeomFromEWKT('SRID=4674;POINT (-39.551266 -3.054181)'))) / (select extract(epoch from '2026-07-23 20:57:37'::timestamp) - extract(epoch from '2026-07-23 20:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551229 -3.054071)'), GeomFromEWKT('SRID=4674;POINT (-39.551266 -3.054181)'))) / (select extract(epoch from '2026-07-23 20:57:37'::timestamp) - extract(epoch from '2026-07-23 20:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.551325 -3.054381)', '2026-07-23 20:57:45', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551266 -3.054181)'), GeomFromEWKT('SRID=4674;POINT (-39.551325 -3.054381)'))) / (select extract(epoch from '2026-07-23 20:57:45'::timestamp) - extract(epoch from '2026-07-23 20:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551266 -3.054181)'), GeomFromEWKT('SRID=4674;POINT (-39.551325 -3.054381)'))) / (select extract(epoch from '2026-07-23 20:57:45'::timestamp) - extract(epoch from '2026-07-23 20:57:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.551371 -3.054495)', '2026-07-23 20:57:50', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551325 -3.054381)'), GeomFromEWKT('SRID=4674;POINT (-39.551371 -3.054495)'))) / (select extract(epoch from '2026-07-23 20:57:50'::timestamp) - extract(epoch from '2026-07-23 20:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551325 -3.054381)'), GeomFromEWKT('SRID=4674;POINT (-39.551371 -3.054495)'))) / (select extract(epoch from '2026-07-23 20:57:50'::timestamp) - extract(epoch from '2026-07-23 20:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.551404 -3.054629)', '2026-07-23 20:57:56', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551371 -3.054495)'), GeomFromEWKT('SRID=4674;POINT (-39.551404 -3.054629)'))) / (select extract(epoch from '2026-07-23 20:57:56'::timestamp) - extract(epoch from '2026-07-23 20:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551371 -3.054495)'), GeomFromEWKT('SRID=4674;POINT (-39.551404 -3.054629)'))) / (select extract(epoch from '2026-07-23 20:57:56'::timestamp) - extract(epoch from '2026-07-23 20:57: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'), 47855, 'SRID=4674;POINT (-39.551461 -3.054792)', '2026-07-23 20:58:03', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551404 -3.054629)'), GeomFromEWKT('SRID=4674;POINT (-39.551461 -3.054792)'))) / (select extract(epoch from '2026-07-23 20:58:03'::timestamp) - extract(epoch from '2026-07-23 20:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551404 -3.054629)'), GeomFromEWKT('SRID=4674;POINT (-39.551461 -3.054792)'))) / (select extract(epoch from '2026-07-23 20:58:03'::timestamp) - extract(epoch from '2026-07-23 20:57: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'), 47855, 'SRID=4674;POINT (-39.551514 -3.054938)', '2026-07-23 20:58:10', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551461 -3.054792)'), GeomFromEWKT('SRID=4674;POINT (-39.551514 -3.054938)'))) / (select extract(epoch from '2026-07-23 20:58:10'::timestamp) - extract(epoch from '2026-07-23 20:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551461 -3.054792)'), GeomFromEWKT('SRID=4674;POINT (-39.551514 -3.054938)'))) / (select extract(epoch from '2026-07-23 20:58:10'::timestamp) - extract(epoch from '2026-07-23 20:58: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'), 47855, 'SRID=4674;POINT (-39.551591 -3.055102)', '2026-07-23 20:58:17', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551514 -3.054938)'), GeomFromEWKT('SRID=4674;POINT (-39.551591 -3.055102)'))) / (select extract(epoch from '2026-07-23 20:58:17'::timestamp) - extract(epoch from '2026-07-23 20:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551514 -3.054938)'), GeomFromEWKT('SRID=4674;POINT (-39.551591 -3.055102)'))) / (select extract(epoch from '2026-07-23 20:58:17'::timestamp) - extract(epoch from '2026-07-23 20:58:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.55165 -3.055249)', '2026-07-23 20:58:23', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551591 -3.055102)'), GeomFromEWKT('SRID=4674;POINT (-39.55165 -3.055249)'))) / (select extract(epoch from '2026-07-23 20:58:23'::timestamp) - extract(epoch from '2026-07-23 20:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551591 -3.055102)'), GeomFromEWKT('SRID=4674;POINT (-39.55165 -3.055249)'))) / (select extract(epoch from '2026-07-23 20:58:23'::timestamp) - extract(epoch from '2026-07-23 20:58: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'), 47855, 'SRID=4674;POINT (-39.551703 -3.055413)', '2026-07-23 20:58:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55165 -3.055249)'), GeomFromEWKT('SRID=4674;POINT (-39.551703 -3.055413)'))) / (select extract(epoch from '2026-07-23 20:58:30'::timestamp) - extract(epoch from '2026-07-23 20:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55165 -3.055249)'), GeomFromEWKT('SRID=4674;POINT (-39.551703 -3.055413)'))) / (select extract(epoch from '2026-07-23 20:58:30'::timestamp) - extract(epoch from '2026-07-23 20:58: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'), 47855, 'SRID=4674;POINT (-39.551741 -3.055555)', '2026-07-23 20:58:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551703 -3.055413)'), GeomFromEWKT('SRID=4674;POINT (-39.551741 -3.055555)'))) / (select extract(epoch from '2026-07-23 20:58:36'::timestamp) - extract(epoch from '2026-07-23 20:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551703 -3.055413)'), GeomFromEWKT('SRID=4674;POINT (-39.551741 -3.055555)'))) / (select extract(epoch from '2026-07-23 20:58:36'::timestamp) - extract(epoch from '2026-07-23 20:58: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'), 47855, 'SRID=4674;POINT (-39.551801 -3.055681)', '2026-07-23 20:58:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551741 -3.055555)'), GeomFromEWKT('SRID=4674;POINT (-39.551801 -3.055681)'))) / (select extract(epoch from '2026-07-23 20:58:42'::timestamp) - extract(epoch from '2026-07-23 20:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551741 -3.055555)'), GeomFromEWKT('SRID=4674;POINT (-39.551801 -3.055681)'))) / (select extract(epoch from '2026-07-23 20:58:42'::timestamp) - extract(epoch from '2026-07-23 20:58: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'), 47855, 'SRID=4674;POINT (-39.551828 -3.055767)', '2026-07-23 20:58:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551801 -3.055681)'), GeomFromEWKT('SRID=4674;POINT (-39.551828 -3.055767)'))) / (select extract(epoch from '2026-07-23 20:58:46'::timestamp) - extract(epoch from '2026-07-23 20:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551801 -3.055681)'), GeomFromEWKT('SRID=4674;POINT (-39.551828 -3.055767)'))) / (select extract(epoch from '2026-07-23 20:58:46'::timestamp) - extract(epoch from '2026-07-23 20:58: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'), 47855, 'SRID=4674;POINT (-39.551863 -3.055891)', '2026-07-23 20:58:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551828 -3.055767)'), GeomFromEWKT('SRID=4674;POINT (-39.551863 -3.055891)'))) / (select extract(epoch from '2026-07-23 20:58:52'::timestamp) - extract(epoch from '2026-07-23 20:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551828 -3.055767)'), GeomFromEWKT('SRID=4674;POINT (-39.551863 -3.055891)'))) / (select extract(epoch from '2026-07-23 20:58:52'::timestamp) - extract(epoch from '2026-07-23 20:58: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'), 47855, 'SRID=4674;POINT (-39.551922 -3.056036)', '2026-07-23 20:58:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551863 -3.055891)'), GeomFromEWKT('SRID=4674;POINT (-39.551922 -3.056036)'))) / (select extract(epoch from '2026-07-23 20:58:58'::timestamp) - extract(epoch from '2026-07-23 20:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551863 -3.055891)'), GeomFromEWKT('SRID=4674;POINT (-39.551922 -3.056036)'))) / (select extract(epoch from '2026-07-23 20:58:58'::timestamp) - extract(epoch from '2026-07-23 20:58:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.551989 -3.056231)', '2026-07-23 20:59:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551922 -3.056036)'), GeomFromEWKT('SRID=4674;POINT (-39.551989 -3.056231)'))) / (select extract(epoch from '2026-07-23 20:59:07'::timestamp) - extract(epoch from '2026-07-23 20:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551922 -3.056036)'), GeomFromEWKT('SRID=4674;POINT (-39.551989 -3.056231)'))) / (select extract(epoch from '2026-07-23 20:59:07'::timestamp) - extract(epoch from '2026-07-23 20:58:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.552062 -3.056387)', '2026-07-23 20:59:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551989 -3.056231)'), GeomFromEWKT('SRID=4674;POINT (-39.552062 -3.056387)'))) / (select extract(epoch from '2026-07-23 20:59:14'::timestamp) - extract(epoch from '2026-07-23 20:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.551989 -3.056231)'), GeomFromEWKT('SRID=4674;POINT (-39.552062 -3.056387)'))) / (select extract(epoch from '2026-07-23 20:59:14'::timestamp) - extract(epoch from '2026-07-23 20:59: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'), 47855, 'SRID=4674;POINT (-39.552109 -3.056536)', '2026-07-23 20:59:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552062 -3.056387)'), GeomFromEWKT('SRID=4674;POINT (-39.552109 -3.056536)'))) / (select extract(epoch from '2026-07-23 20:59:20'::timestamp) - extract(epoch from '2026-07-23 20:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552062 -3.056387)'), GeomFromEWKT('SRID=4674;POINT (-39.552109 -3.056536)'))) / (select extract(epoch from '2026-07-23 20:59:20'::timestamp) - extract(epoch from '2026-07-23 20:59: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'), 47855, 'SRID=4674;POINT (-39.552186 -3.056705)', '2026-07-23 20:59:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552109 -3.056536)'), GeomFromEWKT('SRID=4674;POINT (-39.552186 -3.056705)'))) / (select extract(epoch from '2026-07-23 20:59:27'::timestamp) - extract(epoch from '2026-07-23 20:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552109 -3.056536)'), GeomFromEWKT('SRID=4674;POINT (-39.552186 -3.056705)'))) / (select extract(epoch from '2026-07-23 20:59:27'::timestamp) - extract(epoch from '2026-07-23 20:59: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'), 47855, 'SRID=4674;POINT (-39.552255 -3.056863)', '2026-07-23 20:59:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552186 -3.056705)'), GeomFromEWKT('SRID=4674;POINT (-39.552255 -3.056863)'))) / (select extract(epoch from '2026-07-23 20:59:34'::timestamp) - extract(epoch from '2026-07-23 20:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552186 -3.056705)'), GeomFromEWKT('SRID=4674;POINT (-39.552255 -3.056863)'))) / (select extract(epoch from '2026-07-23 20:59:34'::timestamp) - extract(epoch from '2026-07-23 20:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.552337 -3.057002)', '2026-07-23 20:59:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552255 -3.056863)'), GeomFromEWKT('SRID=4674;POINT (-39.552337 -3.057002)'))) / (select extract(epoch from '2026-07-23 20:59:40'::timestamp) - extract(epoch from '2026-07-23 20:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552255 -3.056863)'), GeomFromEWKT('SRID=4674;POINT (-39.552337 -3.057002)'))) / (select extract(epoch from '2026-07-23 20:59:40'::timestamp) - extract(epoch from '2026-07-23 20:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.552395 -3.057104)', '2026-07-23 20:59:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552337 -3.057002)'), GeomFromEWKT('SRID=4674;POINT (-39.552395 -3.057104)'))) / (select extract(epoch from '2026-07-23 20:59:45'::timestamp) - extract(epoch from '2026-07-23 20:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552337 -3.057002)'), GeomFromEWKT('SRID=4674;POINT (-39.552395 -3.057104)'))) / (select extract(epoch from '2026-07-23 20:59:45'::timestamp) - extract(epoch from '2026-07-23 20:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.552426 -3.057225)', '2026-07-23 20:59:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552395 -3.057104)'), GeomFromEWKT('SRID=4674;POINT (-39.552426 -3.057225)'))) / (select extract(epoch from '2026-07-23 20:59:50'::timestamp) - extract(epoch from '2026-07-23 20:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552395 -3.057104)'), GeomFromEWKT('SRID=4674;POINT (-39.552426 -3.057225)'))) / (select extract(epoch from '2026-07-23 20:59:50'::timestamp) - extract(epoch from '2026-07-23 20:59: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'), 47855, 'SRID=4674;POINT (-39.552468 -3.05735)', '2026-07-23 20:59:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552426 -3.057225)'), GeomFromEWKT('SRID=4674;POINT (-39.552468 -3.05735)'))) / (select extract(epoch from '2026-07-23 20:59:55'::timestamp) - extract(epoch from '2026-07-23 20:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552426 -3.057225)'), GeomFromEWKT('SRID=4674;POINT (-39.552468 -3.05735)'))) / (select extract(epoch from '2026-07-23 20:59:55'::timestamp) - extract(epoch from '2026-07-23 20:59:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
