BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030531 -3.40378)', '2026-06-12 16:28:56', 1, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030604 -3.403758)', '2026-06-12 16:29:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030531 -3.40378)'), GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.403758)'))) / (select extract(epoch from '2026-06-12 16:29:10'::timestamp) - extract(epoch from '2026-06-12 16:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030531 -3.40378)'), GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.403758)'))) / (select extract(epoch from '2026-06-12 16:29:10'::timestamp) - extract(epoch from '2026-06-12 16:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030655 -3.403743)', '2026-06-12 16:29:22', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.403758)'), GeomFromEWKT('SRID=4674;POINT (-39.030655 -3.403743)'))) / (select extract(epoch from '2026-06-12 16:29:22'::timestamp) - extract(epoch from '2026-06-12 16:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.403758)'), GeomFromEWKT('SRID=4674;POINT (-39.030655 -3.403743)'))) / (select extract(epoch from '2026-06-12 16:29:22'::timestamp) - extract(epoch from '2026-06-12 16:29: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'), 46569, 'SRID=4674;POINT (-39.030728 -3.403714)', '2026-06-12 16:29:38', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030655 -3.403743)'), GeomFromEWKT('SRID=4674;POINT (-39.030728 -3.403714)'))) / (select extract(epoch from '2026-06-12 16:29:38'::timestamp) - extract(epoch from '2026-06-12 16:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030655 -3.403743)'), GeomFromEWKT('SRID=4674;POINT (-39.030728 -3.403714)'))) / (select extract(epoch from '2026-06-12 16:29:38'::timestamp) - extract(epoch from '2026-06-12 16:29: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'), 46569, 'SRID=4674;POINT (-39.030808 -3.403682)', '2026-06-12 16:29:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030728 -3.403714)'), GeomFromEWKT('SRID=4674;POINT (-39.030808 -3.403682)'))) / (select extract(epoch from '2026-06-12 16:29:51'::timestamp) - extract(epoch from '2026-06-12 16:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030728 -3.403714)'), GeomFromEWKT('SRID=4674;POINT (-39.030808 -3.403682)'))) / (select extract(epoch from '2026-06-12 16:29:51'::timestamp) - extract(epoch from '2026-06-12 16:29: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'), 46569, 'SRID=4674;POINT (-39.030884 -3.403655)', '2026-06-12 16:30:03', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030808 -3.403682)'), GeomFromEWKT('SRID=4674;POINT (-39.030884 -3.403655)'))) / (select extract(epoch from '2026-06-12 16:30:03'::timestamp) - extract(epoch from '2026-06-12 16:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030808 -3.403682)'), GeomFromEWKT('SRID=4674;POINT (-39.030884 -3.403655)'))) / (select extract(epoch from '2026-06-12 16:30:03'::timestamp) - extract(epoch from '2026-06-12 16:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030955 -3.403609)', '2026-06-12 16:30:18', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030884 -3.403655)'), GeomFromEWKT('SRID=4674;POINT (-39.030955 -3.403609)'))) / (select extract(epoch from '2026-06-12 16:30:18'::timestamp) - extract(epoch from '2026-06-12 16:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030884 -3.403655)'), GeomFromEWKT('SRID=4674;POINT (-39.030955 -3.403609)'))) / (select extract(epoch from '2026-06-12 16:30:18'::timestamp) - extract(epoch from '2026-06-12 16:30:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.030994 -3.403586)', '2026-06-12 16:30:30', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030955 -3.403609)'), GeomFromEWKT('SRID=4674;POINT (-39.030994 -3.403586)'))) / (select extract(epoch from '2026-06-12 16:30:30'::timestamp) - extract(epoch from '2026-06-12 16:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030955 -3.403609)'), GeomFromEWKT('SRID=4674;POINT (-39.030994 -3.403586)'))) / (select extract(epoch from '2026-06-12 16:30:30'::timestamp) - extract(epoch from '2026-06-12 16:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031043 -3.403594)', '2026-06-12 16:30:43', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030994 -3.403586)'), GeomFromEWKT('SRID=4674;POINT (-39.031043 -3.403594)'))) / (select extract(epoch from '2026-06-12 16:30:43'::timestamp) - extract(epoch from '2026-06-12 16:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030994 -3.403586)'), GeomFromEWKT('SRID=4674;POINT (-39.031043 -3.403594)'))) / (select extract(epoch from '2026-06-12 16:30:43'::timestamp) - extract(epoch from '2026-06-12 16:30: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'), 46569, 'SRID=4674;POINT (-39.031086 -3.403577)', '2026-06-12 16:30:53', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031043 -3.403594)'), GeomFromEWKT('SRID=4674;POINT (-39.031086 -3.403577)'))) / (select extract(epoch from '2026-06-12 16:30:53'::timestamp) - extract(epoch from '2026-06-12 16:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031043 -3.403594)'), GeomFromEWKT('SRID=4674;POINT (-39.031086 -3.403577)'))) / (select extract(epoch from '2026-06-12 16:30:53'::timestamp) - extract(epoch from '2026-06-12 16:30: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'), 46569, 'SRID=4674;POINT (-39.031144 -3.403562)', '2026-06-12 16:31:09', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031086 -3.403577)'), GeomFromEWKT('SRID=4674;POINT (-39.031144 -3.403562)'))) / (select extract(epoch from '2026-06-12 16:31:09'::timestamp) - extract(epoch from '2026-06-12 16:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031086 -3.403577)'), GeomFromEWKT('SRID=4674;POINT (-39.031144 -3.403562)'))) / (select extract(epoch from '2026-06-12 16:31:09'::timestamp) - extract(epoch from '2026-06-12 16:30:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031206 -3.403543)', '2026-06-12 16:31:24', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031144 -3.403562)'), GeomFromEWKT('SRID=4674;POINT (-39.031206 -3.403543)'))) / (select extract(epoch from '2026-06-12 16:31:24'::timestamp) - extract(epoch from '2026-06-12 16:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031144 -3.403562)'), GeomFromEWKT('SRID=4674;POINT (-39.031206 -3.403543)'))) / (select extract(epoch from '2026-06-12 16:31:24'::timestamp) - extract(epoch from '2026-06-12 16:31: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'), 46569, 'SRID=4674;POINT (-39.031253 -3.403532)', '2026-06-12 16:31:37', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031206 -3.403543)'), GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.403532)'))) / (select extract(epoch from '2026-06-12 16:31:37'::timestamp) - extract(epoch from '2026-06-12 16:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031206 -3.403543)'), GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.403532)'))) / (select extract(epoch from '2026-06-12 16:31:37'::timestamp) - extract(epoch from '2026-06-12 16:31:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.0313 -3.403509)', '2026-06-12 16:31:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.403532)'), GeomFromEWKT('SRID=4674;POINT (-39.0313 -3.403509)'))) / (select extract(epoch from '2026-06-12 16:31:49'::timestamp) - extract(epoch from '2026-06-12 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.403532)'), GeomFromEWKT('SRID=4674;POINT (-39.0313 -3.403509)'))) / (select extract(epoch from '2026-06-12 16:31:49'::timestamp) - extract(epoch from '2026-06-12 16:31: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'), 46569, 'SRID=4674;POINT (-39.031367 -3.403475)', '2026-06-12 16:32:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0313 -3.403509)'), GeomFromEWKT('SRID=4674;POINT (-39.031367 -3.403475)'))) / (select extract(epoch from '2026-06-12 16:32:05'::timestamp) - extract(epoch from '2026-06-12 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0313 -3.403509)'), GeomFromEWKT('SRID=4674;POINT (-39.031367 -3.403475)'))) / (select extract(epoch from '2026-06-12 16:32:05'::timestamp) - extract(epoch from '2026-06-12 16:31: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'), 46569, 'SRID=4674;POINT (-39.031387 -3.403424)', '2026-06-12 16:32:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031367 -3.403475)'), GeomFromEWKT('SRID=4674;POINT (-39.031387 -3.403424)'))) / (select extract(epoch from '2026-06-12 16:32:17'::timestamp) - extract(epoch from '2026-06-12 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031367 -3.403475)'), GeomFromEWKT('SRID=4674;POINT (-39.031387 -3.403424)'))) / (select extract(epoch from '2026-06-12 16:32:17'::timestamp) - extract(epoch from '2026-06-12 16:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031389 -3.403342)', '2026-06-12 16:32:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031387 -3.403424)'), GeomFromEWKT('SRID=4674;POINT (-39.031389 -3.403342)'))) / (select extract(epoch from '2026-06-12 16:32:28'::timestamp) - extract(epoch from '2026-06-12 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031387 -3.403424)'), GeomFromEWKT('SRID=4674;POINT (-39.031389 -3.403342)'))) / (select extract(epoch from '2026-06-12 16:32:28'::timestamp) - extract(epoch from '2026-06-12 16:32: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'), 46569, 'SRID=4674;POINT (-39.031421 -3.403227)', '2026-06-12 16:32:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031389 -3.403342)'), GeomFromEWKT('SRID=4674;POINT (-39.031421 -3.403227)'))) / (select extract(epoch from '2026-06-12 16:32:37'::timestamp) - extract(epoch from '2026-06-12 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031389 -3.403342)'), GeomFromEWKT('SRID=4674;POINT (-39.031421 -3.403227)'))) / (select extract(epoch from '2026-06-12 16:32:37'::timestamp) - extract(epoch from '2026-06-12 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031427 -3.403126)', '2026-06-12 16:32:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031421 -3.403227)'), GeomFromEWKT('SRID=4674;POINT (-39.031427 -3.403126)'))) / (select extract(epoch from '2026-06-12 16:32:43'::timestamp) - extract(epoch from '2026-06-12 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031421 -3.403227)'), GeomFromEWKT('SRID=4674;POINT (-39.031427 -3.403126)'))) / (select extract(epoch from '2026-06-12 16:32:43'::timestamp) - extract(epoch from '2026-06-12 16:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03144 -3.403036)', '2026-06-12 16:32:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031427 -3.403126)'), GeomFromEWKT('SRID=4674;POINT (-39.03144 -3.403036)'))) / (select extract(epoch from '2026-06-12 16:32:50'::timestamp) - extract(epoch from '2026-06-12 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031427 -3.403126)'), GeomFromEWKT('SRID=4674;POINT (-39.03144 -3.403036)'))) / (select extract(epoch from '2026-06-12 16:32:50'::timestamp) - extract(epoch from '2026-06-12 16:32: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'), 46569, 'SRID=4674;POINT (-39.031442 -3.402943)', '2026-06-12 16:32:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03144 -3.403036)'), GeomFromEWKT('SRID=4674;POINT (-39.031442 -3.402943)'))) / (select extract(epoch from '2026-06-12 16:32:57'::timestamp) - extract(epoch from '2026-06-12 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03144 -3.403036)'), GeomFromEWKT('SRID=4674;POINT (-39.031442 -3.402943)'))) / (select extract(epoch from '2026-06-12 16:32:57'::timestamp) - extract(epoch from '2026-06-12 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031448 -3.402813)', '2026-06-12 16:33:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031442 -3.402943)'), GeomFromEWKT('SRID=4674;POINT (-39.031448 -3.402813)'))) / (select extract(epoch from '2026-06-12 16:33:05'::timestamp) - extract(epoch from '2026-06-12 16:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031442 -3.402943)'), GeomFromEWKT('SRID=4674;POINT (-39.031448 -3.402813)'))) / (select extract(epoch from '2026-06-12 16:33:05'::timestamp) - extract(epoch from '2026-06-12 16:32: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'), 46569, 'SRID=4674;POINT (-39.031467 -3.402704)', '2026-06-12 16:33:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031448 -3.402813)'), GeomFromEWKT('SRID=4674;POINT (-39.031467 -3.402704)'))) / (select extract(epoch from '2026-06-12 16:33:12'::timestamp) - extract(epoch from '2026-06-12 16:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031448 -3.402813)'), GeomFromEWKT('SRID=4674;POINT (-39.031467 -3.402704)'))) / (select extract(epoch from '2026-06-12 16:33:12'::timestamp) - extract(epoch from '2026-06-12 16:33: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'), 46569, 'SRID=4674;POINT (-39.031449 -3.402581)', '2026-06-12 16:33:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031467 -3.402704)'), GeomFromEWKT('SRID=4674;POINT (-39.031449 -3.402581)'))) / (select extract(epoch from '2026-06-12 16:33:20'::timestamp) - extract(epoch from '2026-06-12 16:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031467 -3.402704)'), GeomFromEWKT('SRID=4674;POINT (-39.031449 -3.402581)'))) / (select extract(epoch from '2026-06-12 16:33:20'::timestamp) - extract(epoch from '2026-06-12 16:33: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'), 46569, 'SRID=4674;POINT (-39.03145 -3.402454)', '2026-06-12 16:33:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031449 -3.402581)'), GeomFromEWKT('SRID=4674;POINT (-39.03145 -3.402454)'))) / (select extract(epoch from '2026-06-12 16:33:27'::timestamp) - extract(epoch from '2026-06-12 16:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031449 -3.402581)'), GeomFromEWKT('SRID=4674;POINT (-39.03145 -3.402454)'))) / (select extract(epoch from '2026-06-12 16:33:27'::timestamp) - extract(epoch from '2026-06-12 16:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031447 -3.402311)', '2026-06-12 16:33:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03145 -3.402454)'), GeomFromEWKT('SRID=4674;POINT (-39.031447 -3.402311)'))) / (select extract(epoch from '2026-06-12 16:33:35'::timestamp) - extract(epoch from '2026-06-12 16:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03145 -3.402454)'), GeomFromEWKT('SRID=4674;POINT (-39.031447 -3.402311)'))) / (select extract(epoch from '2026-06-12 16:33:35'::timestamp) - extract(epoch from '2026-06-12 16:33: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'), 46569, 'SRID=4674;POINT (-39.031473 -3.402179)', '2026-06-12 16:33:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031447 -3.402311)'), GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.402179)'))) / (select extract(epoch from '2026-06-12 16:33:43'::timestamp) - extract(epoch from '2026-06-12 16:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031447 -3.402311)'), GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.402179)'))) / (select extract(epoch from '2026-06-12 16:33:43'::timestamp) - extract(epoch from '2026-06-12 16:33: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'), 46569, 'SRID=4674;POINT (-39.031503 -3.402063)', '2026-06-12 16:33:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.402179)'), GeomFromEWKT('SRID=4674;POINT (-39.031503 -3.402063)'))) / (select extract(epoch from '2026-06-12 16:33:51'::timestamp) - extract(epoch from '2026-06-12 16:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.402179)'), GeomFromEWKT('SRID=4674;POINT (-39.031503 -3.402063)'))) / (select extract(epoch from '2026-06-12 16:33:51'::timestamp) - extract(epoch from '2026-06-12 16:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031508 -3.401973)', '2026-06-12 16:33:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031503 -3.402063)'), GeomFromEWKT('SRID=4674;POINT (-39.031508 -3.401973)'))) / (select extract(epoch from '2026-06-12 16:33:57'::timestamp) - extract(epoch from '2026-06-12 16:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031503 -3.402063)'), GeomFromEWKT('SRID=4674;POINT (-39.031508 -3.401973)'))) / (select extract(epoch from '2026-06-12 16:33:57'::timestamp) - extract(epoch from '2026-06-12 16:33:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031503 -3.40187)', '2026-06-12 16:34:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031508 -3.401973)'), GeomFromEWKT('SRID=4674;POINT (-39.031503 -3.40187)'))) / (select extract(epoch from '2026-06-12 16:34:03'::timestamp) - extract(epoch from '2026-06-12 16:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031508 -3.401973)'), GeomFromEWKT('SRID=4674;POINT (-39.031503 -3.40187)'))) / (select extract(epoch from '2026-06-12 16:34:03'::timestamp) - extract(epoch from '2026-06-12 16:33: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'), 46569, 'SRID=4674;POINT (-39.031473 -3.401687)', '2026-06-12 16:34:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031503 -3.40187)'), GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.401687)'))) / (select extract(epoch from '2026-06-12 16:34:12'::timestamp) - extract(epoch from '2026-06-12 16:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031503 -3.40187)'), GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.401687)'))) / (select extract(epoch from '2026-06-12 16:34:12'::timestamp) - extract(epoch from '2026-06-12 16:34: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'), 46569, 'SRID=4674;POINT (-39.03146 -3.401511)', '2026-06-12 16:34:21', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.401687)'), GeomFromEWKT('SRID=4674;POINT (-39.03146 -3.401511)'))) / (select extract(epoch from '2026-06-12 16:34:21'::timestamp) - extract(epoch from '2026-06-12 16:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.401687)'), GeomFromEWKT('SRID=4674;POINT (-39.03146 -3.401511)'))) / (select extract(epoch from '2026-06-12 16:34:21'::timestamp) - extract(epoch from '2026-06-12 16:34: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'), 46569, 'SRID=4674;POINT (-39.031469 -3.401405)', '2026-06-12 16:34:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03146 -3.401511)'), GeomFromEWKT('SRID=4674;POINT (-39.031469 -3.401405)'))) / (select extract(epoch from '2026-06-12 16:34:27'::timestamp) - extract(epoch from '2026-06-12 16:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03146 -3.401511)'), GeomFromEWKT('SRID=4674;POINT (-39.031469 -3.401405)'))) / (select extract(epoch from '2026-06-12 16:34:27'::timestamp) - extract(epoch from '2026-06-12 16:34:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031482 -3.401249)', '2026-06-12 16:34:36', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031469 -3.401405)'), GeomFromEWKT('SRID=4674;POINT (-39.031482 -3.401249)'))) / (select extract(epoch from '2026-06-12 16:34:36'::timestamp) - extract(epoch from '2026-06-12 16:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031469 -3.401405)'), GeomFromEWKT('SRID=4674;POINT (-39.031482 -3.401249)'))) / (select extract(epoch from '2026-06-12 16:34:36'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031487 -3.401115)', '2026-06-12 16:34:43', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031482 -3.401249)'), GeomFromEWKT('SRID=4674;POINT (-39.031487 -3.401115)'))) / (select extract(epoch from '2026-06-12 16:34:43'::timestamp) - extract(epoch from '2026-06-12 16:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031482 -3.401249)'), GeomFromEWKT('SRID=4674;POINT (-39.031487 -3.401115)'))) / (select extract(epoch from '2026-06-12 16:34:43'::timestamp) - extract(epoch from '2026-06-12 16:34: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'), 46569, 'SRID=4674;POINT (-39.031497 -3.400988)', '2026-06-12 16:34:50', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031487 -3.401115)'), GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.400988)'))) / (select extract(epoch from '2026-06-12 16:34:50'::timestamp) - extract(epoch from '2026-06-12 16:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031487 -3.401115)'), GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.400988)'))) / (select extract(epoch from '2026-06-12 16:34:50'::timestamp) - extract(epoch from '2026-06-12 16:34: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'), 46569, 'SRID=4674;POINT (-39.031473 -3.400788)', '2026-06-12 16:35:01', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.400988)'), GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.400788)'))) / (select extract(epoch from '2026-06-12 16:35:01'::timestamp) - extract(epoch from '2026-06-12 16:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.400988)'), GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.400788)'))) / (select extract(epoch from '2026-06-12 16:35:01'::timestamp) - extract(epoch from '2026-06-12 16:34:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031473 -3.400651)', '2026-06-12 16:35:08', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.400788)'), GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.400651)'))) / (select extract(epoch from '2026-06-12 16:35:08'::timestamp) - extract(epoch from '2026-06-12 16:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.400788)'), GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.400651)'))) / (select extract(epoch from '2026-06-12 16:35:08'::timestamp) - extract(epoch from '2026-06-12 16:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031477 -3.400507)', '2026-06-12 16:35:15', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.400651)'), GeomFromEWKT('SRID=4674;POINT (-39.031477 -3.400507)'))) / (select extract(epoch from '2026-06-12 16:35:15'::timestamp) - extract(epoch from '2026-06-12 16:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031473 -3.400651)'), GeomFromEWKT('SRID=4674;POINT (-39.031477 -3.400507)'))) / (select extract(epoch from '2026-06-12 16:35:15'::timestamp) - extract(epoch from '2026-06-12 16:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03147 -3.400357)', '2026-06-12 16:35:24', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031477 -3.400507)'), GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.400357)'))) / (select extract(epoch from '2026-06-12 16:35:24'::timestamp) - extract(epoch from '2026-06-12 16:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031477 -3.400507)'), GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.400357)'))) / (select extract(epoch from '2026-06-12 16:35:24'::timestamp) - extract(epoch from '2026-06-12 16:35:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031456 -3.40018)', '2026-06-12 16:35:35', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.400357)'), GeomFromEWKT('SRID=4674;POINT (-39.031456 -3.40018)'))) / (select extract(epoch from '2026-06-12 16:35:35'::timestamp) - extract(epoch from '2026-06-12 16:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.400357)'), GeomFromEWKT('SRID=4674;POINT (-39.031456 -3.40018)'))) / (select extract(epoch from '2026-06-12 16:35:35'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031483 -3.400008)', '2026-06-12 16:35:43', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031456 -3.40018)'), GeomFromEWKT('SRID=4674;POINT (-39.031483 -3.400008)'))) / (select extract(epoch from '2026-06-12 16:35:43'::timestamp) - extract(epoch from '2026-06-12 16:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031456 -3.40018)'), GeomFromEWKT('SRID=4674;POINT (-39.031483 -3.400008)'))) / (select extract(epoch from '2026-06-12 16:35:43'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031493 -3.399792)', '2026-06-12 16:35:53', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031483 -3.400008)'), GeomFromEWKT('SRID=4674;POINT (-39.031493 -3.399792)'))) / (select extract(epoch from '2026-06-12 16:35:53'::timestamp) - extract(epoch from '2026-06-12 16:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031483 -3.400008)'), GeomFromEWKT('SRID=4674;POINT (-39.031493 -3.399792)'))) / (select extract(epoch from '2026-06-12 16:35:53'::timestamp) - extract(epoch from '2026-06-12 16:35: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'), 46569, 'SRID=4674;POINT (-39.031489 -3.39968)', '2026-06-12 16:36:01', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031493 -3.399792)'), GeomFromEWKT('SRID=4674;POINT (-39.031489 -3.39968)'))) / (select extract(epoch from '2026-06-12 16:36:01'::timestamp) - extract(epoch from '2026-06-12 16:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031493 -3.399792)'), GeomFromEWKT('SRID=4674;POINT (-39.031489 -3.39968)'))) / (select extract(epoch from '2026-06-12 16:36:01'::timestamp) - extract(epoch from '2026-06-12 16:35: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'), 46569, 'SRID=4674;POINT (-39.031444 -3.399513)', '2026-06-12 16:36:11', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031489 -3.39968)'), GeomFromEWKT('SRID=4674;POINT (-39.031444 -3.399513)'))) / (select extract(epoch from '2026-06-12 16:36:11'::timestamp) - extract(epoch from '2026-06-12 16:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031489 -3.39968)'), GeomFromEWKT('SRID=4674;POINT (-39.031444 -3.399513)'))) / (select extract(epoch from '2026-06-12 16:36:11'::timestamp) - extract(epoch from '2026-06-12 16:36:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031439 -3.399309)', '2026-06-12 16:36:20', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031444 -3.399513)'), GeomFromEWKT('SRID=4674;POINT (-39.031439 -3.399309)'))) / (select extract(epoch from '2026-06-12 16:36:20'::timestamp) - extract(epoch from '2026-06-12 16:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031444 -3.399513)'), GeomFromEWKT('SRID=4674;POINT (-39.031439 -3.399309)'))) / (select extract(epoch from '2026-06-12 16:36:20'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031457 -3.399136)', '2026-06-12 16:36:30', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031439 -3.399309)'), GeomFromEWKT('SRID=4674;POINT (-39.031457 -3.399136)'))) / (select extract(epoch from '2026-06-12 16:36:30'::timestamp) - extract(epoch from '2026-06-12 16:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031439 -3.399309)'), GeomFromEWKT('SRID=4674;POINT (-39.031457 -3.399136)'))) / (select extract(epoch from '2026-06-12 16:36:30'::timestamp) - extract(epoch from '2026-06-12 16:36: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'), 46569, 'SRID=4674;POINT (-39.031476 -3.399011)', '2026-06-12 16:36:38', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031457 -3.399136)'), GeomFromEWKT('SRID=4674;POINT (-39.031476 -3.399011)'))) / (select extract(epoch from '2026-06-12 16:36:38'::timestamp) - extract(epoch from '2026-06-12 16:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031457 -3.399136)'), GeomFromEWKT('SRID=4674;POINT (-39.031476 -3.399011)'))) / (select extract(epoch from '2026-06-12 16:36:38'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031489 -3.398872)', '2026-06-12 16:36:46', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031476 -3.399011)'), GeomFromEWKT('SRID=4674;POINT (-39.031489 -3.398872)'))) / (select extract(epoch from '2026-06-12 16:36:46'::timestamp) - extract(epoch from '2026-06-12 16:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031476 -3.399011)'), GeomFromEWKT('SRID=4674;POINT (-39.031489 -3.398872)'))) / (select extract(epoch from '2026-06-12 16:36:46'::timestamp) - extract(epoch from '2026-06-12 16:36:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031481 -3.3987)', '2026-06-12 16:36:53', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031489 -3.398872)'), GeomFromEWKT('SRID=4674;POINT (-39.031481 -3.3987)'))) / (select extract(epoch from '2026-06-12 16:36:53'::timestamp) - extract(epoch from '2026-06-12 16:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031489 -3.398872)'), GeomFromEWKT('SRID=4674;POINT (-39.031481 -3.3987)'))) / (select extract(epoch from '2026-06-12 16:36:53'::timestamp) - extract(epoch from '2026-06-12 16:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031437 -3.398612)', '2026-06-12 16:36:58', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031481 -3.3987)'), GeomFromEWKT('SRID=4674;POINT (-39.031437 -3.398612)'))) / (select extract(epoch from '2026-06-12 16:36:58'::timestamp) - extract(epoch from '2026-06-12 16:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031481 -3.3987)'), GeomFromEWKT('SRID=4674;POINT (-39.031437 -3.398612)'))) / (select extract(epoch from '2026-06-12 16:36:58'::timestamp) - extract(epoch from '2026-06-12 16:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031411 -3.398482)', '2026-06-12 16:37:05', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031437 -3.398612)'), GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.398482)'))) / (select extract(epoch from '2026-06-12 16:37:05'::timestamp) - extract(epoch from '2026-06-12 16:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031437 -3.398612)'), GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.398482)'))) / (select extract(epoch from '2026-06-12 16:37:05'::timestamp) - extract(epoch from '2026-06-12 16:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031396 -3.398394)', '2026-06-12 16:37:12', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.398482)'), GeomFromEWKT('SRID=4674;POINT (-39.031396 -3.398394)'))) / (select extract(epoch from '2026-06-12 16:37:12'::timestamp) - extract(epoch from '2026-06-12 16:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.398482)'), GeomFromEWKT('SRID=4674;POINT (-39.031396 -3.398394)'))) / (select extract(epoch from '2026-06-12 16:37:12'::timestamp) - extract(epoch from '2026-06-12 16:37: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'), 46569, 'SRID=4674;POINT (-39.031398 -3.398236)', '2026-06-12 16:37:20', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031396 -3.398394)'), GeomFromEWKT('SRID=4674;POINT (-39.031398 -3.398236)'))) / (select extract(epoch from '2026-06-12 16:37:20'::timestamp) - extract(epoch from '2026-06-12 16:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031396 -3.398394)'), GeomFromEWKT('SRID=4674;POINT (-39.031398 -3.398236)'))) / (select extract(epoch from '2026-06-12 16:37:20'::timestamp) - extract(epoch from '2026-06-12 16:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.0314 -3.39813)', '2026-06-12 16:37:26', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031398 -3.398236)'), GeomFromEWKT('SRID=4674;POINT (-39.0314 -3.39813)'))) / (select extract(epoch from '2026-06-12 16:37:26'::timestamp) - extract(epoch from '2026-06-12 16:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031398 -3.398236)'), GeomFromEWKT('SRID=4674;POINT (-39.0314 -3.39813)'))) / (select extract(epoch from '2026-06-12 16:37:26'::timestamp) - extract(epoch from '2026-06-12 16:37: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'), 46569, 'SRID=4674;POINT (-39.031396 -3.398037)', '2026-06-12 16:37:32', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0314 -3.39813)'), GeomFromEWKT('SRID=4674;POINT (-39.031396 -3.398037)'))) / (select extract(epoch from '2026-06-12 16:37:32'::timestamp) - extract(epoch from '2026-06-12 16:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0314 -3.39813)'), GeomFromEWKT('SRID=4674;POINT (-39.031396 -3.398037)'))) / (select extract(epoch from '2026-06-12 16:37:32'::timestamp) - extract(epoch from '2026-06-12 16:37: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'), 46569, 'SRID=4674;POINT (-39.031401 -3.398005)', '2026-06-12 16:37:34', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031396 -3.398037)'), GeomFromEWKT('SRID=4674;POINT (-39.031401 -3.398005)'))) / (select extract(epoch from '2026-06-12 16:37:34'::timestamp) - extract(epoch from '2026-06-12 16:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031396 -3.398037)'), GeomFromEWKT('SRID=4674;POINT (-39.031401 -3.398005)'))) / (select extract(epoch from '2026-06-12 16:37:34'::timestamp) - extract(epoch from '2026-06-12 16:37: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'), 46569, 'SRID=4674;POINT (-39.031393 -3.397918)', '2026-06-12 16:37:39', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031401 -3.398005)'), GeomFromEWKT('SRID=4674;POINT (-39.031393 -3.397918)'))) / (select extract(epoch from '2026-06-12 16:37:39'::timestamp) - extract(epoch from '2026-06-12 16:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031401 -3.398005)'), GeomFromEWKT('SRID=4674;POINT (-39.031393 -3.397918)'))) / (select extract(epoch from '2026-06-12 16:37:39'::timestamp) - extract(epoch from '2026-06-12 16:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031393 -3.39776)', '2026-06-12 16:37:48', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031393 -3.397918)'), GeomFromEWKT('SRID=4674;POINT (-39.031393 -3.39776)'))) / (select extract(epoch from '2026-06-12 16:37:48'::timestamp) - extract(epoch from '2026-06-12 16:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031393 -3.397918)'), GeomFromEWKT('SRID=4674;POINT (-39.031393 -3.39776)'))) / (select extract(epoch from '2026-06-12 16:37:48'::timestamp) - extract(epoch from '2026-06-12 16:37: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'), 46569, 'SRID=4674;POINT (-39.031376 -3.397625)', '2026-06-12 16:37:55', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031393 -3.39776)'), GeomFromEWKT('SRID=4674;POINT (-39.031376 -3.397625)'))) / (select extract(epoch from '2026-06-12 16:37:55'::timestamp) - extract(epoch from '2026-06-12 16:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031393 -3.39776)'), GeomFromEWKT('SRID=4674;POINT (-39.031376 -3.397625)'))) / (select extract(epoch from '2026-06-12 16:37:55'::timestamp) - extract(epoch from '2026-06-12 16:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03138 -3.397477)', '2026-06-12 16:38:03', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031376 -3.397625)'), GeomFromEWKT('SRID=4674;POINT (-39.03138 -3.397477)'))) / (select extract(epoch from '2026-06-12 16:38:03'::timestamp) - extract(epoch from '2026-06-12 16:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031376 -3.397625)'), GeomFromEWKT('SRID=4674;POINT (-39.03138 -3.397477)'))) / (select extract(epoch from '2026-06-12 16:38:03'::timestamp) - extract(epoch from '2026-06-12 16:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031342 -3.397336)', '2026-06-12 16:38:11', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03138 -3.397477)'), GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.397336)'))) / (select extract(epoch from '2026-06-12 16:38:11'::timestamp) - extract(epoch from '2026-06-12 16:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03138 -3.397477)'), GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.397336)'))) / (select extract(epoch from '2026-06-12 16:38:11'::timestamp) - extract(epoch from '2026-06-12 16:38:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031319 -3.397245)', '2026-06-12 16:38:17', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.397336)'), GeomFromEWKT('SRID=4674;POINT (-39.031319 -3.397245)'))) / (select extract(epoch from '2026-06-12 16:38:17'::timestamp) - extract(epoch from '2026-06-12 16:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.397336)'), GeomFromEWKT('SRID=4674;POINT (-39.031319 -3.397245)'))) / (select extract(epoch from '2026-06-12 16:38:17'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031312 -3.397152)', '2026-06-12 16:38:23', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031319 -3.397245)'), GeomFromEWKT('SRID=4674;POINT (-39.031312 -3.397152)'))) / (select extract(epoch from '2026-06-12 16:38:23'::timestamp) - extract(epoch from '2026-06-12 16:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031319 -3.397245)'), GeomFromEWKT('SRID=4674;POINT (-39.031312 -3.397152)'))) / (select extract(epoch from '2026-06-12 16:38:23'::timestamp) - extract(epoch from '2026-06-12 16:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031311 -3.397014)', '2026-06-12 16:38:31', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031312 -3.397152)'), GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.397014)'))) / (select extract(epoch from '2026-06-12 16:38:31'::timestamp) - extract(epoch from '2026-06-12 16:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031312 -3.397152)'), GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.397014)'))) / (select extract(epoch from '2026-06-12 16:38:31'::timestamp) - extract(epoch from '2026-06-12 16:38: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'), 46569, 'SRID=4674;POINT (-39.031318 -3.396908)', '2026-06-12 16:38:38', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.397014)'), GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.396908)'))) / (select extract(epoch from '2026-06-12 16:38:38'::timestamp) - extract(epoch from '2026-06-12 16:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.397014)'), GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.396908)'))) / (select extract(epoch from '2026-06-12 16:38:38'::timestamp) - extract(epoch from '2026-06-12 16:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031309 -3.396768)', '2026-06-12 16:38:46', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.396908)'), GeomFromEWKT('SRID=4674;POINT (-39.031309 -3.396768)'))) / (select extract(epoch from '2026-06-12 16:38:46'::timestamp) - extract(epoch from '2026-06-12 16:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.396908)'), GeomFromEWKT('SRID=4674;POINT (-39.031309 -3.396768)'))) / (select extract(epoch from '2026-06-12 16:38:46'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031301 -3.396655)', '2026-06-12 16:38:52', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031309 -3.396768)'), GeomFromEWKT('SRID=4674;POINT (-39.031301 -3.396655)'))) / (select extract(epoch from '2026-06-12 16:38:52'::timestamp) - extract(epoch from '2026-06-12 16:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031309 -3.396768)'), GeomFromEWKT('SRID=4674;POINT (-39.031301 -3.396655)'))) / (select extract(epoch from '2026-06-12 16:38:52'::timestamp) - extract(epoch from '2026-06-12 16:38:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031293 -3.396533)', '2026-06-12 16:38:59', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031301 -3.396655)'), GeomFromEWKT('SRID=4674;POINT (-39.031293 -3.396533)'))) / (select extract(epoch from '2026-06-12 16:38:59'::timestamp) - extract(epoch from '2026-06-12 16:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031301 -3.396655)'), GeomFromEWKT('SRID=4674;POINT (-39.031293 -3.396533)'))) / (select extract(epoch from '2026-06-12 16:38:59'::timestamp) - extract(epoch from '2026-06-12 16:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031302 -3.396429)', '2026-06-12 16:39:05', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031293 -3.396533)'), GeomFromEWKT('SRID=4674;POINT (-39.031302 -3.396429)'))) / (select extract(epoch from '2026-06-12 16:39:05'::timestamp) - extract(epoch from '2026-06-12 16:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031293 -3.396533)'), GeomFromEWKT('SRID=4674;POINT (-39.031302 -3.396429)'))) / (select extract(epoch from '2026-06-12 16:39:05'::timestamp) - extract(epoch from '2026-06-12 16:38: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'), 46569, 'SRID=4674;POINT (-39.031305 -3.396411)', '2026-06-12 16:39:06', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031302 -3.396429)'), GeomFromEWKT('SRID=4674;POINT (-39.031305 -3.396411)'))) / (select extract(epoch from '2026-06-12 16:39:06'::timestamp) - extract(epoch from '2026-06-12 16:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031302 -3.396429)'), GeomFromEWKT('SRID=4674;POINT (-39.031305 -3.396411)'))) / (select extract(epoch from '2026-06-12 16:39:06'::timestamp) - extract(epoch from '2026-06-12 16:39: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'), 46569, 'SRID=4674;POINT (-39.031315 -3.396312)', '2026-06-12 16:39:12', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031305 -3.396411)'), GeomFromEWKT('SRID=4674;POINT (-39.031315 -3.396312)'))) / (select extract(epoch from '2026-06-12 16:39:12'::timestamp) - extract(epoch from '2026-06-12 16:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031305 -3.396411)'), GeomFromEWKT('SRID=4674;POINT (-39.031315 -3.396312)'))) / (select extract(epoch from '2026-06-12 16:39:12'::timestamp) - extract(epoch from '2026-06-12 16:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031324 -3.396214)', '2026-06-12 16:39:18', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031315 -3.396312)'), GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.396214)'))) / (select extract(epoch from '2026-06-12 16:39:18'::timestamp) - extract(epoch from '2026-06-12 16:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031315 -3.396312)'), GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.396214)'))) / (select extract(epoch from '2026-06-12 16:39:18'::timestamp) - extract(epoch from '2026-06-12 16:39: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'), 46569, 'SRID=4674;POINT (-39.031324 -3.396098)', '2026-06-12 16:39:25', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.396214)'), GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.396098)'))) / (select extract(epoch from '2026-06-12 16:39:25'::timestamp) - extract(epoch from '2026-06-12 16:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.396214)'), GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.396098)'))) / (select extract(epoch from '2026-06-12 16:39:25'::timestamp) - extract(epoch from '2026-06-12 16:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031338 -3.395945)', '2026-06-12 16:39:34', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.396098)'), GeomFromEWKT('SRID=4674;POINT (-39.031338 -3.395945)'))) / (select extract(epoch from '2026-06-12 16:39:34'::timestamp) - extract(epoch from '2026-06-12 16:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031324 -3.396098)'), GeomFromEWKT('SRID=4674;POINT (-39.031338 -3.395945)'))) / (select extract(epoch from '2026-06-12 16:39:34'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031341 -3.395915)', '2026-06-12 16:39:36', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031338 -3.395945)'), GeomFromEWKT('SRID=4674;POINT (-39.031341 -3.395915)'))) / (select extract(epoch from '2026-06-12 16:39:36'::timestamp) - extract(epoch from '2026-06-12 16:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031338 -3.395945)'), GeomFromEWKT('SRID=4674;POINT (-39.031341 -3.395915)'))) / (select extract(epoch from '2026-06-12 16:39:36'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.03134 -3.39585)', '2026-06-12 16:39:40', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031341 -3.395915)'), GeomFromEWKT('SRID=4674;POINT (-39.03134 -3.39585)'))) / (select extract(epoch from '2026-06-12 16:39:40'::timestamp) - extract(epoch from '2026-06-12 16:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031341 -3.395915)'), GeomFromEWKT('SRID=4674;POINT (-39.03134 -3.39585)'))) / (select extract(epoch from '2026-06-12 16:39:40'::timestamp) - extract(epoch from '2026-06-12 16:39: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'), 46569, 'SRID=4674;POINT (-39.031326 -3.395731)', '2026-06-12 16:39:47', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03134 -3.39585)'), GeomFromEWKT('SRID=4674;POINT (-39.031326 -3.395731)'))) / (select extract(epoch from '2026-06-12 16:39:47'::timestamp) - extract(epoch from '2026-06-12 16:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03134 -3.39585)'), GeomFromEWKT('SRID=4674;POINT (-39.031326 -3.395731)'))) / (select extract(epoch from '2026-06-12 16:39:47'::timestamp) - extract(epoch from '2026-06-12 16:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03133 -3.395628)', '2026-06-12 16:39:53', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031326 -3.395731)'), GeomFromEWKT('SRID=4674;POINT (-39.03133 -3.395628)'))) / (select extract(epoch from '2026-06-12 16:39:53'::timestamp) - extract(epoch from '2026-06-12 16:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031326 -3.395731)'), GeomFromEWKT('SRID=4674;POINT (-39.03133 -3.395628)'))) / (select extract(epoch from '2026-06-12 16:39:53'::timestamp) - extract(epoch from '2026-06-12 16:39: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'), 46569, 'SRID=4674;POINT (-39.031311 -3.395545)', '2026-06-12 16:39:58', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03133 -3.395628)'), GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.395545)'))) / (select extract(epoch from '2026-06-12 16:39:58'::timestamp) - extract(epoch from '2026-06-12 16:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03133 -3.395628)'), GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.395545)'))) / (select extract(epoch from '2026-06-12 16:39:58'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031302 -3.395412)', '2026-06-12 16:40:05', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.395545)'), GeomFromEWKT('SRID=4674;POINT (-39.031302 -3.395412)'))) / (select extract(epoch from '2026-06-12 16:40:05'::timestamp) - extract(epoch from '2026-06-12 16:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031311 -3.395545)'), GeomFromEWKT('SRID=4674;POINT (-39.031302 -3.395412)'))) / (select extract(epoch from '2026-06-12 16:40:05'::timestamp) - extract(epoch from '2026-06-12 16:39: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'), 46569, 'SRID=4674;POINT (-39.031273 -3.395256)', '2026-06-12 16:40:13', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031302 -3.395412)'), GeomFromEWKT('SRID=4674;POINT (-39.031273 -3.395256)'))) / (select extract(epoch from '2026-06-12 16:40:13'::timestamp) - extract(epoch from '2026-06-12 16:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031302 -3.395412)'), GeomFromEWKT('SRID=4674;POINT (-39.031273 -3.395256)'))) / (select extract(epoch from '2026-06-12 16:40:13'::timestamp) - extract(epoch from '2026-06-12 16:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031268 -3.395139)', '2026-06-12 16:40:20', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031273 -3.395256)'), GeomFromEWKT('SRID=4674;POINT (-39.031268 -3.395139)'))) / (select extract(epoch from '2026-06-12 16:40:20'::timestamp) - extract(epoch from '2026-06-12 16:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031273 -3.395256)'), GeomFromEWKT('SRID=4674;POINT (-39.031268 -3.395139)'))) / (select extract(epoch from '2026-06-12 16:40:20'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031265 -3.395006)', '2026-06-12 16:40:28', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031268 -3.395139)'), GeomFromEWKT('SRID=4674;POINT (-39.031265 -3.395006)'))) / (select extract(epoch from '2026-06-12 16:40:28'::timestamp) - extract(epoch from '2026-06-12 16:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031268 -3.395139)'), GeomFromEWKT('SRID=4674;POINT (-39.031265 -3.395006)'))) / (select extract(epoch from '2026-06-12 16:40:28'::timestamp) - extract(epoch from '2026-06-12 16:40: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'), 46569, 'SRID=4674;POINT (-39.03126 -3.394866)', '2026-06-12 16:40:36', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031265 -3.395006)'), GeomFromEWKT('SRID=4674;POINT (-39.03126 -3.394866)'))) / (select extract(epoch from '2026-06-12 16:40:36'::timestamp) - extract(epoch from '2026-06-12 16:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031265 -3.395006)'), GeomFromEWKT('SRID=4674;POINT (-39.03126 -3.394866)'))) / (select extract(epoch from '2026-06-12 16:40:36'::timestamp) - extract(epoch from '2026-06-12 16:40: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'), 46569, 'SRID=4674;POINT (-39.031253 -3.394787)', '2026-06-12 16:40:42', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03126 -3.394866)'), GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.394787)'))) / (select extract(epoch from '2026-06-12 16:40:42'::timestamp) - extract(epoch from '2026-06-12 16:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03126 -3.394866)'), GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.394787)'))) / (select extract(epoch from '2026-06-12 16:40:42'::timestamp) - extract(epoch from '2026-06-12 16:40:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031251 -3.394747)', '2026-06-12 16:40:45', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.394787)'), GeomFromEWKT('SRID=4674;POINT (-39.031251 -3.394747)'))) / (select extract(epoch from '2026-06-12 16:40:45'::timestamp) - extract(epoch from '2026-06-12 16:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.394787)'), GeomFromEWKT('SRID=4674;POINT (-39.031251 -3.394747)'))) / (select extract(epoch from '2026-06-12 16:40:45'::timestamp) - extract(epoch from '2026-06-12 16:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031261 -3.394705)', '2026-06-12 16:40:47', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031251 -3.394747)'), GeomFromEWKT('SRID=4674;POINT (-39.031261 -3.394705)'))) / (select extract(epoch from '2026-06-12 16:40:47'::timestamp) - extract(epoch from '2026-06-12 16:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031251 -3.394747)'), GeomFromEWKT('SRID=4674;POINT (-39.031261 -3.394705)'))) / (select extract(epoch from '2026-06-12 16:40:47'::timestamp) - extract(epoch from '2026-06-12 16:40: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'), 46569, 'SRID=4674;POINT (-39.031259 -3.394685)', '2026-06-12 16:40:48', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031261 -3.394705)'), GeomFromEWKT('SRID=4674;POINT (-39.031259 -3.394685)'))) / (select extract(epoch from '2026-06-12 16:40:48'::timestamp) - extract(epoch from '2026-06-12 16:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031261 -3.394705)'), GeomFromEWKT('SRID=4674;POINT (-39.031259 -3.394685)'))) / (select extract(epoch from '2026-06-12 16:40:48'::timestamp) - extract(epoch from '2026-06-12 16:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031255 -3.394583)', '2026-06-12 16:40:54', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031259 -3.394685)'), GeomFromEWKT('SRID=4674;POINT (-39.031255 -3.394583)'))) / (select extract(epoch from '2026-06-12 16:40:54'::timestamp) - extract(epoch from '2026-06-12 16:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031259 -3.394685)'), GeomFromEWKT('SRID=4674;POINT (-39.031255 -3.394583)'))) / (select extract(epoch from '2026-06-12 16:40:54'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031237 -3.394462)', '2026-06-12 16:41:02', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031255 -3.394583)'), GeomFromEWKT('SRID=4674;POINT (-39.031237 -3.394462)'))) / (select extract(epoch from '2026-06-12 16:41:02'::timestamp) - extract(epoch from '2026-06-12 16:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031255 -3.394583)'), GeomFromEWKT('SRID=4674;POINT (-39.031237 -3.394462)'))) / (select extract(epoch from '2026-06-12 16:41:02'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031238 -3.394433)', '2026-06-12 16:41:04', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031237 -3.394462)'), GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.394433)'))) / (select extract(epoch from '2026-06-12 16:41:04'::timestamp) - extract(epoch from '2026-06-12 16:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031237 -3.394462)'), GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.394433)'))) / (select extract(epoch from '2026-06-12 16:41:04'::timestamp) - extract(epoch from '2026-06-12 16:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031244 -3.394396)', '2026-06-12 16:41:07', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.394433)'), GeomFromEWKT('SRID=4674;POINT (-39.031244 -3.394396)'))) / (select extract(epoch from '2026-06-12 16:41:07'::timestamp) - extract(epoch from '2026-06-12 16:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.394433)'), GeomFromEWKT('SRID=4674;POINT (-39.031244 -3.394396)'))) / (select extract(epoch from '2026-06-12 16:41:07'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.03123 -3.394328)', '2026-06-12 16:41:12', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031244 -3.394396)'), GeomFromEWKT('SRID=4674;POINT (-39.03123 -3.394328)'))) / (select extract(epoch from '2026-06-12 16:41:12'::timestamp) - extract(epoch from '2026-06-12 16:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031244 -3.394396)'), GeomFromEWKT('SRID=4674;POINT (-39.03123 -3.394328)'))) / (select extract(epoch from '2026-06-12 16:41:12'::timestamp) - extract(epoch from '2026-06-12 16:41: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'), 46569, 'SRID=4674;POINT (-39.031228 -3.394312)', '2026-06-12 16:41:13', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03123 -3.394328)'), GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.394312)'))) / (select extract(epoch from '2026-06-12 16:41:13'::timestamp) - extract(epoch from '2026-06-12 16:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03123 -3.394328)'), GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.394312)'))) / (select extract(epoch from '2026-06-12 16:41:13'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031212 -3.394195)', '2026-06-12 16:41:20', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.394312)'), GeomFromEWKT('SRID=4674;POINT (-39.031212 -3.394195)'))) / (select extract(epoch from '2026-06-12 16:41:20'::timestamp) - extract(epoch from '2026-06-12 16:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.394312)'), GeomFromEWKT('SRID=4674;POINT (-39.031212 -3.394195)'))) / (select extract(epoch from '2026-06-12 16:41:20'::timestamp) - extract(epoch from '2026-06-12 16:41: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'), 46569, 'SRID=4674;POINT (-39.031205 -3.394077)', '2026-06-12 16:41:28', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031212 -3.394195)'), GeomFromEWKT('SRID=4674;POINT (-39.031205 -3.394077)'))) / (select extract(epoch from '2026-06-12 16:41:28'::timestamp) - extract(epoch from '2026-06-12 16:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031212 -3.394195)'), GeomFromEWKT('SRID=4674;POINT (-39.031205 -3.394077)'))) / (select extract(epoch from '2026-06-12 16:41:28'::timestamp) - extract(epoch from '2026-06-12 16:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031199 -3.393992)', '2026-06-12 16:41:34', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031205 -3.394077)'), GeomFromEWKT('SRID=4674;POINT (-39.031199 -3.393992)'))) / (select extract(epoch from '2026-06-12 16:41:34'::timestamp) - extract(epoch from '2026-06-12 16:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031205 -3.394077)'), GeomFromEWKT('SRID=4674;POINT (-39.031199 -3.393992)'))) / (select extract(epoch from '2026-06-12 16:41:34'::timestamp) - extract(epoch from '2026-06-12 16:41: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'), 46569, 'SRID=4674;POINT (-39.031195 -3.393859)', '2026-06-12 16:41:42', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031199 -3.393992)'), GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.393859)'))) / (select extract(epoch from '2026-06-12 16:41:42'::timestamp) - extract(epoch from '2026-06-12 16:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031199 -3.393992)'), GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.393859)'))) / (select extract(epoch from '2026-06-12 16:41:42'::timestamp) - extract(epoch from '2026-06-12 16:41:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031188 -3.393746)', '2026-06-12 16:41:49', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.393859)'), GeomFromEWKT('SRID=4674;POINT (-39.031188 -3.393746)'))) / (select extract(epoch from '2026-06-12 16:41:49'::timestamp) - extract(epoch from '2026-06-12 16:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.393859)'), GeomFromEWKT('SRID=4674;POINT (-39.031188 -3.393746)'))) / (select extract(epoch from '2026-06-12 16:41:49'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031187 -3.393642)', '2026-06-12 16:41:55', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031188 -3.393746)'), GeomFromEWKT('SRID=4674;POINT (-39.031187 -3.393642)'))) / (select extract(epoch from '2026-06-12 16:41:55'::timestamp) - extract(epoch from '2026-06-12 16:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031188 -3.393746)'), GeomFromEWKT('SRID=4674;POINT (-39.031187 -3.393642)'))) / (select extract(epoch from '2026-06-12 16:41:55'::timestamp) - extract(epoch from '2026-06-12 16:41: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'), 46569, 'SRID=4674;POINT (-39.031193 -3.39353)', '2026-06-12 16:42:02', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031187 -3.393642)'), GeomFromEWKT('SRID=4674;POINT (-39.031193 -3.39353)'))) / (select extract(epoch from '2026-06-12 16:42:02'::timestamp) - extract(epoch from '2026-06-12 16:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031187 -3.393642)'), GeomFromEWKT('SRID=4674;POINT (-39.031193 -3.39353)'))) / (select extract(epoch from '2026-06-12 16:42:02'::timestamp) - extract(epoch from '2026-06-12 16:41: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'), 46569, 'SRID=4674;POINT (-39.031204 -3.39343)', '2026-06-12 16:42:08', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031193 -3.39353)'), GeomFromEWKT('SRID=4674;POINT (-39.031204 -3.39343)'))) / (select extract(epoch from '2026-06-12 16:42:08'::timestamp) - extract(epoch from '2026-06-12 16:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031193 -3.39353)'), GeomFromEWKT('SRID=4674;POINT (-39.031204 -3.39343)'))) / (select extract(epoch from '2026-06-12 16:42:08'::timestamp) - extract(epoch from '2026-06-12 16:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031201 -3.39333)', '2026-06-12 16:42:15', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031204 -3.39343)'), GeomFromEWKT('SRID=4674;POINT (-39.031201 -3.39333)'))) / (select extract(epoch from '2026-06-12 16:42:15'::timestamp) - extract(epoch from '2026-06-12 16:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031204 -3.39343)'), GeomFromEWKT('SRID=4674;POINT (-39.031201 -3.39333)'))) / (select extract(epoch from '2026-06-12 16:42:15'::timestamp) - extract(epoch from '2026-06-12 16:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031215 -3.393234)', '2026-06-12 16:42:22', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031201 -3.39333)'), GeomFromEWKT('SRID=4674;POINT (-39.031215 -3.393234)'))) / (select extract(epoch from '2026-06-12 16:42:22'::timestamp) - extract(epoch from '2026-06-12 16:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031201 -3.39333)'), GeomFromEWKT('SRID=4674;POINT (-39.031215 -3.393234)'))) / (select extract(epoch from '2026-06-12 16:42:22'::timestamp) - extract(epoch from '2026-06-12 16:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031229 -3.393159)', '2026-06-12 16:42:28', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031215 -3.393234)'), GeomFromEWKT('SRID=4674;POINT (-39.031229 -3.393159)'))) / (select extract(epoch from '2026-06-12 16:42:28'::timestamp) - extract(epoch from '2026-06-12 16:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031215 -3.393234)'), GeomFromEWKT('SRID=4674;POINT (-39.031229 -3.393159)'))) / (select extract(epoch from '2026-06-12 16:42:28'::timestamp) - extract(epoch from '2026-06-12 16:42: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'), 46569, 'SRID=4674;POINT (-39.031234 -3.393063)', '2026-06-12 16:42:35', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031229 -3.393159)'), GeomFromEWKT('SRID=4674;POINT (-39.031234 -3.393063)'))) / (select extract(epoch from '2026-06-12 16:42:35'::timestamp) - extract(epoch from '2026-06-12 16:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031229 -3.393159)'), GeomFromEWKT('SRID=4674;POINT (-39.031234 -3.393063)'))) / (select extract(epoch from '2026-06-12 16:42:35'::timestamp) - extract(epoch from '2026-06-12 16:42:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031238 -3.392946)', '2026-06-12 16:42:42', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031234 -3.393063)'), GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.392946)'))) / (select extract(epoch from '2026-06-12 16:42:42'::timestamp) - extract(epoch from '2026-06-12 16:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031234 -3.393063)'), GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.392946)'))) / (select extract(epoch from '2026-06-12 16:42:42'::timestamp) - extract(epoch from '2026-06-12 16:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031238 -3.392849)', '2026-06-12 16:42:48', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.392946)'), GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.392849)'))) / (select extract(epoch from '2026-06-12 16:42:48'::timestamp) - extract(epoch from '2026-06-12 16:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.392946)'), GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.392849)'))) / (select extract(epoch from '2026-06-12 16:42:48'::timestamp) - extract(epoch from '2026-06-12 16:42:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031234 -3.392761)', '2026-06-12 16:42:54', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.392849)'), GeomFromEWKT('SRID=4674;POINT (-39.031234 -3.392761)'))) / (select extract(epoch from '2026-06-12 16:42:54'::timestamp) - extract(epoch from '2026-06-12 16:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.392849)'), GeomFromEWKT('SRID=4674;POINT (-39.031234 -3.392761)'))) / (select extract(epoch from '2026-06-12 16:42:54'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031231 -3.392662)', '2026-06-12 16:43:00', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031234 -3.392761)'), GeomFromEWKT('SRID=4674;POINT (-39.031231 -3.392662)'))) / (select extract(epoch from '2026-06-12 16:43:00'::timestamp) - extract(epoch from '2026-06-12 16:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031234 -3.392761)'), GeomFromEWKT('SRID=4674;POINT (-39.031231 -3.392662)'))) / (select extract(epoch from '2026-06-12 16:43:00'::timestamp) - extract(epoch from '2026-06-12 16:42:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031216 -3.392548)', '2026-06-12 16:43:06', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031231 -3.392662)'), GeomFromEWKT('SRID=4674;POINT (-39.031216 -3.392548)'))) / (select extract(epoch from '2026-06-12 16:43:06'::timestamp) - extract(epoch from '2026-06-12 16:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031231 -3.392662)'), GeomFromEWKT('SRID=4674;POINT (-39.031216 -3.392548)'))) / (select extract(epoch from '2026-06-12 16:43:06'::timestamp) - extract(epoch from '2026-06-12 16:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031216 -3.39248)', '2026-06-12 16:43:10', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031216 -3.392548)'), GeomFromEWKT('SRID=4674;POINT (-39.031216 -3.39248)'))) / (select extract(epoch from '2026-06-12 16:43:10'::timestamp) - extract(epoch from '2026-06-12 16:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031216 -3.392548)'), GeomFromEWKT('SRID=4674;POINT (-39.031216 -3.39248)'))) / (select extract(epoch from '2026-06-12 16:43:10'::timestamp) - extract(epoch from '2026-06-12 16:43:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031195 -3.392456)', '2026-06-12 16:43:12', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031216 -3.39248)'), GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.392456)'))) / (select extract(epoch from '2026-06-12 16:43:12'::timestamp) - extract(epoch from '2026-06-12 16:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031216 -3.39248)'), GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.392456)'))) / (select extract(epoch from '2026-06-12 16:43:12'::timestamp) - extract(epoch from '2026-06-12 16:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031186 -3.392344)', '2026-06-12 16:43:19', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.392456)'), GeomFromEWKT('SRID=4674;POINT (-39.031186 -3.392344)'))) / (select extract(epoch from '2026-06-12 16:43:19'::timestamp) - extract(epoch from '2026-06-12 16:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031195 -3.392456)'), GeomFromEWKT('SRID=4674;POINT (-39.031186 -3.392344)'))) / (select extract(epoch from '2026-06-12 16:43:19'::timestamp) - extract(epoch from '2026-06-12 16:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031183 -3.392247)', '2026-06-12 16:43:24', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031186 -3.392344)'), GeomFromEWKT('SRID=4674;POINT (-39.031183 -3.392247)'))) / (select extract(epoch from '2026-06-12 16:43:24'::timestamp) - extract(epoch from '2026-06-12 16:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031186 -3.392344)'), GeomFromEWKT('SRID=4674;POINT (-39.031183 -3.392247)'))) / (select extract(epoch from '2026-06-12 16:43:24'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.03121 -3.392075)', '2026-06-12 16:43:33', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031183 -3.392247)'), GeomFromEWKT('SRID=4674;POINT (-39.03121 -3.392075)'))) / (select extract(epoch from '2026-06-12 16:43:33'::timestamp) - extract(epoch from '2026-06-12 16:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031183 -3.392247)'), GeomFromEWKT('SRID=4674;POINT (-39.03121 -3.392075)'))) / (select extract(epoch from '2026-06-12 16:43:33'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031228 -3.391971)', '2026-06-12 16:43:39', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03121 -3.392075)'), GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.391971)'))) / (select extract(epoch from '2026-06-12 16:43:39'::timestamp) - extract(epoch from '2026-06-12 16:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03121 -3.392075)'), GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.391971)'))) / (select extract(epoch from '2026-06-12 16:43:39'::timestamp) - extract(epoch from '2026-06-12 16:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031238 -3.39186)', '2026-06-12 16:43:45', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.391971)'), GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.39186)'))) / (select extract(epoch from '2026-06-12 16:43:45'::timestamp) - extract(epoch from '2026-06-12 16:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.391971)'), GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.39186)'))) / (select extract(epoch from '2026-06-12 16:43:45'::timestamp) - extract(epoch from '2026-06-12 16:43: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'), 46569, 'SRID=4674;POINT (-39.03125 -3.391709)', '2026-06-12 16:43:53', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.39186)'), GeomFromEWKT('SRID=4674;POINT (-39.03125 -3.391709)'))) / (select extract(epoch from '2026-06-12 16:43:53'::timestamp) - extract(epoch from '2026-06-12 16:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031238 -3.39186)'), GeomFromEWKT('SRID=4674;POINT (-39.03125 -3.391709)'))) / (select extract(epoch from '2026-06-12 16:43:53'::timestamp) - extract(epoch from '2026-06-12 16:43: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'), 46569, 'SRID=4674;POINT (-39.031259 -3.391584)', '2026-06-12 16:44:00', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03125 -3.391709)'), GeomFromEWKT('SRID=4674;POINT (-39.031259 -3.391584)'))) / (select extract(epoch from '2026-06-12 16:44:00'::timestamp) - extract(epoch from '2026-06-12 16:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03125 -3.391709)'), GeomFromEWKT('SRID=4674;POINT (-39.031259 -3.391584)'))) / (select extract(epoch from '2026-06-12 16:44:00'::timestamp) - extract(epoch from '2026-06-12 16:43: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'), 46569, 'SRID=4674;POINT (-39.031255 -3.391456)', '2026-06-12 16:44:07', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031259 -3.391584)'), GeomFromEWKT('SRID=4674;POINT (-39.031255 -3.391456)'))) / (select extract(epoch from '2026-06-12 16:44:07'::timestamp) - extract(epoch from '2026-06-12 16:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031259 -3.391584)'), GeomFromEWKT('SRID=4674;POINT (-39.031255 -3.391456)'))) / (select extract(epoch from '2026-06-12 16:44:07'::timestamp) - extract(epoch from '2026-06-12 16:44: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'), 46569, 'SRID=4674;POINT (-39.031267 -3.391307)', '2026-06-12 16:44:16', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031255 -3.391456)'), GeomFromEWKT('SRID=4674;POINT (-39.031267 -3.391307)'))) / (select extract(epoch from '2026-06-12 16:44:16'::timestamp) - extract(epoch from '2026-06-12 16:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031255 -3.391456)'), GeomFromEWKT('SRID=4674;POINT (-39.031267 -3.391307)'))) / (select extract(epoch from '2026-06-12 16:44:16'::timestamp) - extract(epoch from '2026-06-12 16:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031279 -3.391217)', '2026-06-12 16:44:22', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031267 -3.391307)'), GeomFromEWKT('SRID=4674;POINT (-39.031279 -3.391217)'))) / (select extract(epoch from '2026-06-12 16:44:22'::timestamp) - extract(epoch from '2026-06-12 16:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031267 -3.391307)'), GeomFromEWKT('SRID=4674;POINT (-39.031279 -3.391217)'))) / (select extract(epoch from '2026-06-12 16:44:22'::timestamp) - extract(epoch from '2026-06-12 16:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031278 -3.391209)', '2026-06-12 16:44:23', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031279 -3.391217)'), GeomFromEWKT('SRID=4674;POINT (-39.031278 -3.391209)'))) / (select extract(epoch from '2026-06-12 16:44:23'::timestamp) - extract(epoch from '2026-06-12 16:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031279 -3.391217)'), GeomFromEWKT('SRID=4674;POINT (-39.031278 -3.391209)'))) / (select extract(epoch from '2026-06-12 16:44:23'::timestamp) - extract(epoch from '2026-06-12 16:44: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'), 46569, 'SRID=4674;POINT (-39.031294 -3.391151)', '2026-06-12 16:44:28', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031278 -3.391209)'), GeomFromEWKT('SRID=4674;POINT (-39.031294 -3.391151)'))) / (select extract(epoch from '2026-06-12 16:44:28'::timestamp) - extract(epoch from '2026-06-12 16:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031278 -3.391209)'), GeomFromEWKT('SRID=4674;POINT (-39.031294 -3.391151)'))) / (select extract(epoch from '2026-06-12 16:44:28'::timestamp) - extract(epoch from '2026-06-12 16:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031307 -3.391033)', '2026-06-12 16:44:36', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031294 -3.391151)'), GeomFromEWKT('SRID=4674;POINT (-39.031307 -3.391033)'))) / (select extract(epoch from '2026-06-12 16:44:36'::timestamp) - extract(epoch from '2026-06-12 16:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031294 -3.391151)'), GeomFromEWKT('SRID=4674;POINT (-39.031307 -3.391033)'))) / (select extract(epoch from '2026-06-12 16:44:36'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031323 -3.390966)', '2026-06-12 16:44:41', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031307 -3.391033)'), GeomFromEWKT('SRID=4674;POINT (-39.031323 -3.390966)'))) / (select extract(epoch from '2026-06-12 16:44:41'::timestamp) - extract(epoch from '2026-06-12 16:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031307 -3.391033)'), GeomFromEWKT('SRID=4674;POINT (-39.031323 -3.390966)'))) / (select extract(epoch from '2026-06-12 16:44:41'::timestamp) - extract(epoch from '2026-06-12 16:44: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'), 46569, 'SRID=4674;POINT (-39.031315 -3.390861)', '2026-06-12 16:44:48', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031323 -3.390966)'), GeomFromEWKT('SRID=4674;POINT (-39.031315 -3.390861)'))) / (select extract(epoch from '2026-06-12 16:44:48'::timestamp) - extract(epoch from '2026-06-12 16:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031323 -3.390966)'), GeomFromEWKT('SRID=4674;POINT (-39.031315 -3.390861)'))) / (select extract(epoch from '2026-06-12 16:44:48'::timestamp) - extract(epoch from '2026-06-12 16:44: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'), 46569, 'SRID=4674;POINT (-39.031316 -3.390772)', '2026-06-12 16:44:54', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031315 -3.390861)'), GeomFromEWKT('SRID=4674;POINT (-39.031316 -3.390772)'))) / (select extract(epoch from '2026-06-12 16:44:54'::timestamp) - extract(epoch from '2026-06-12 16:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031315 -3.390861)'), GeomFromEWKT('SRID=4674;POINT (-39.031316 -3.390772)'))) / (select extract(epoch from '2026-06-12 16:44:54'::timestamp) - extract(epoch from '2026-06-12 16:44: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'), 46569, 'SRID=4674;POINT (-39.031325 -3.390668)', '2026-06-12 16:45:00', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031316 -3.390772)'), GeomFromEWKT('SRID=4674;POINT (-39.031325 -3.390668)'))) / (select extract(epoch from '2026-06-12 16:45:00'::timestamp) - extract(epoch from '2026-06-12 16:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031316 -3.390772)'), GeomFromEWKT('SRID=4674;POINT (-39.031325 -3.390668)'))) / (select extract(epoch from '2026-06-12 16:45:00'::timestamp) - extract(epoch from '2026-06-12 16:44: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'), 46569, 'SRID=4674;POINT (-39.031329 -3.39058)', '2026-06-12 16:45:06', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031325 -3.390668)'), GeomFromEWKT('SRID=4674;POINT (-39.031329 -3.39058)'))) / (select extract(epoch from '2026-06-12 16:45:06'::timestamp) - extract(epoch from '2026-06-12 16:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031325 -3.390668)'), GeomFromEWKT('SRID=4674;POINT (-39.031329 -3.39058)'))) / (select extract(epoch from '2026-06-12 16:45:06'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031342 -3.390492)', '2026-06-12 16:45:12', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031329 -3.39058)'), GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.390492)'))) / (select extract(epoch from '2026-06-12 16:45:12'::timestamp) - extract(epoch from '2026-06-12 16:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031329 -3.39058)'), GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.390492)'))) / (select extract(epoch from '2026-06-12 16:45:12'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031356 -3.390366)', '2026-06-12 16:45:20', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.390492)'), GeomFromEWKT('SRID=4674;POINT (-39.031356 -3.390366)'))) / (select extract(epoch from '2026-06-12 16:45:20'::timestamp) - extract(epoch from '2026-06-12 16:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031342 -3.390492)'), GeomFromEWKT('SRID=4674;POINT (-39.031356 -3.390366)'))) / (select extract(epoch from '2026-06-12 16:45:20'::timestamp) - extract(epoch from '2026-06-12 16:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031365 -3.390249)', '2026-06-12 16:45:27', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031356 -3.390366)'), GeomFromEWKT('SRID=4674;POINT (-39.031365 -3.390249)'))) / (select extract(epoch from '2026-06-12 16:45:27'::timestamp) - extract(epoch from '2026-06-12 16:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031356 -3.390366)'), GeomFromEWKT('SRID=4674;POINT (-39.031365 -3.390249)'))) / (select extract(epoch from '2026-06-12 16:45:27'::timestamp) - extract(epoch from '2026-06-12 16:45:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031356 -3.390109)', '2026-06-12 16:45:35', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031365 -3.390249)'), GeomFromEWKT('SRID=4674;POINT (-39.031356 -3.390109)'))) / (select extract(epoch from '2026-06-12 16:45:35'::timestamp) - extract(epoch from '2026-06-12 16:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031365 -3.390249)'), GeomFromEWKT('SRID=4674;POINT (-39.031356 -3.390109)'))) / (select extract(epoch from '2026-06-12 16:45:35'::timestamp) - extract(epoch from '2026-06-12 16:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031363 -3.389993)', '2026-06-12 16:45:42', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031356 -3.390109)'), GeomFromEWKT('SRID=4674;POINT (-39.031363 -3.389993)'))) / (select extract(epoch from '2026-06-12 16:45:42'::timestamp) - extract(epoch from '2026-06-12 16:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031356 -3.390109)'), GeomFromEWKT('SRID=4674;POINT (-39.031363 -3.389993)'))) / (select extract(epoch from '2026-06-12 16:45:42'::timestamp) - extract(epoch from '2026-06-12 16:45: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'), 46569, 'SRID=4674;POINT (-39.03138 -3.389952)', '2026-06-12 16:45:45', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031363 -3.389993)'), GeomFromEWKT('SRID=4674;POINT (-39.03138 -3.389952)'))) / (select extract(epoch from '2026-06-12 16:45:45'::timestamp) - extract(epoch from '2026-06-12 16:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031363 -3.389993)'), GeomFromEWKT('SRID=4674;POINT (-39.03138 -3.389952)'))) / (select extract(epoch from '2026-06-12 16:45:45'::timestamp) - extract(epoch from '2026-06-12 16:45: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'), 46569, 'SRID=4674;POINT (-39.031394 -3.389905)', '2026-06-12 16:45:48', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03138 -3.389952)'), GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.389905)'))) / (select extract(epoch from '2026-06-12 16:45:48'::timestamp) - extract(epoch from '2026-06-12 16:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03138 -3.389952)'), GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.389905)'))) / (select extract(epoch from '2026-06-12 16:45:48'::timestamp) - extract(epoch from '2026-06-12 16:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031411 -3.389784)', '2026-06-12 16:45:56', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.389905)'), GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.389784)'))) / (select extract(epoch from '2026-06-12 16:45:56'::timestamp) - extract(epoch from '2026-06-12 16:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.389905)'), GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.389784)'))) / (select extract(epoch from '2026-06-12 16:45:56'::timestamp) - extract(epoch from '2026-06-12 16:45: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'), 46569, 'SRID=4674;POINT (-39.031426 -3.389675)', '2026-06-12 16:46:03', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.389784)'), GeomFromEWKT('SRID=4674;POINT (-39.031426 -3.389675)'))) / (select extract(epoch from '2026-06-12 16:46:03'::timestamp) - extract(epoch from '2026-06-12 16:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.389784)'), GeomFromEWKT('SRID=4674;POINT (-39.031426 -3.389675)'))) / (select extract(epoch from '2026-06-12 16:46:03'::timestamp) - extract(epoch from '2026-06-12 16:45: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'), 46569, 'SRID=4674;POINT (-39.031445 -3.389576)', '2026-06-12 16:46:10', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031426 -3.389675)'), GeomFromEWKT('SRID=4674;POINT (-39.031445 -3.389576)'))) / (select extract(epoch from '2026-06-12 16:46:10'::timestamp) - extract(epoch from '2026-06-12 16:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031426 -3.389675)'), GeomFromEWKT('SRID=4674;POINT (-39.031445 -3.389576)'))) / (select extract(epoch from '2026-06-12 16:46:10'::timestamp) - extract(epoch from '2026-06-12 16:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03147 -3.389509)', '2026-06-12 16:46:15', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031445 -3.389576)'), GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.389509)'))) / (select extract(epoch from '2026-06-12 16:46:15'::timestamp) - extract(epoch from '2026-06-12 16:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031445 -3.389576)'), GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.389509)'))) / (select extract(epoch from '2026-06-12 16:46:15'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031496 -3.389418)', '2026-06-12 16:46:22', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.389509)'), GeomFromEWKT('SRID=4674;POINT (-39.031496 -3.389418)'))) / (select extract(epoch from '2026-06-12 16:46:22'::timestamp) - extract(epoch from '2026-06-12 16:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.389509)'), GeomFromEWKT('SRID=4674;POINT (-39.031496 -3.389418)'))) / (select extract(epoch from '2026-06-12 16:46:22'::timestamp) - extract(epoch from '2026-06-12 16:46: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'), 46569, 'SRID=4674;POINT (-39.031523 -3.389253)', '2026-06-12 16:46:31', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031496 -3.389418)'), GeomFromEWKT('SRID=4674;POINT (-39.031523 -3.389253)'))) / (select extract(epoch from '2026-06-12 16:46:31'::timestamp) - extract(epoch from '2026-06-12 16:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031496 -3.389418)'), GeomFromEWKT('SRID=4674;POINT (-39.031523 -3.389253)'))) / (select extract(epoch from '2026-06-12 16:46:31'::timestamp) - extract(epoch from '2026-06-12 16:46: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'), 46569, 'SRID=4674;POINT (-39.031541 -3.389109)', '2026-06-12 16:46:38', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031523 -3.389253)'), GeomFromEWKT('SRID=4674;POINT (-39.031541 -3.389109)'))) / (select extract(epoch from '2026-06-12 16:46:38'::timestamp) - extract(epoch from '2026-06-12 16:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031523 -3.389253)'), GeomFromEWKT('SRID=4674;POINT (-39.031541 -3.389109)'))) / (select extract(epoch from '2026-06-12 16:46:38'::timestamp) - extract(epoch from '2026-06-12 16:46: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'), 46569, 'SRID=4674;POINT (-39.031527 -3.388958)', '2026-06-12 16:46:45', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031541 -3.389109)'), GeomFromEWKT('SRID=4674;POINT (-39.031527 -3.388958)'))) / (select extract(epoch from '2026-06-12 16:46:45'::timestamp) - extract(epoch from '2026-06-12 16:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031541 -3.389109)'), GeomFromEWKT('SRID=4674;POINT (-39.031527 -3.388958)'))) / (select extract(epoch from '2026-06-12 16:46:45'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.03149 -3.388813)', '2026-06-12 16:46:53', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031527 -3.388958)'), GeomFromEWKT('SRID=4674;POINT (-39.03149 -3.388813)'))) / (select extract(epoch from '2026-06-12 16:46:53'::timestamp) - extract(epoch from '2026-06-12 16:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031527 -3.388958)'), GeomFromEWKT('SRID=4674;POINT (-39.03149 -3.388813)'))) / (select extract(epoch from '2026-06-12 16:46:53'::timestamp) - extract(epoch from '2026-06-12 16:46: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'), 46569, 'SRID=4674;POINT (-39.031472 -3.388692)', '2026-06-12 16:47:02', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03149 -3.388813)'), GeomFromEWKT('SRID=4674;POINT (-39.031472 -3.388692)'))) / (select extract(epoch from '2026-06-12 16:47:02'::timestamp) - extract(epoch from '2026-06-12 16:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03149 -3.388813)'), GeomFromEWKT('SRID=4674;POINT (-39.031472 -3.388692)'))) / (select extract(epoch from '2026-06-12 16:47:02'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031506 -3.388589)', '2026-06-12 16:47:08', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031472 -3.388692)'), GeomFromEWKT('SRID=4674;POINT (-39.031506 -3.388589)'))) / (select extract(epoch from '2026-06-12 16:47:08'::timestamp) - extract(epoch from '2026-06-12 16:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031472 -3.388692)'), GeomFromEWKT('SRID=4674;POINT (-39.031506 -3.388589)'))) / (select extract(epoch from '2026-06-12 16:47:08'::timestamp) - extract(epoch from '2026-06-12 16:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031497 -3.388444)', '2026-06-12 16:47:16', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031506 -3.388589)'), GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.388444)'))) / (select extract(epoch from '2026-06-12 16:47:16'::timestamp) - extract(epoch from '2026-06-12 16:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031506 -3.388589)'), GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.388444)'))) / (select extract(epoch from '2026-06-12 16:47:16'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.03146 -3.388311)', '2026-06-12 16:47:24', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.388444)'), GeomFromEWKT('SRID=4674;POINT (-39.03146 -3.388311)'))) / (select extract(epoch from '2026-06-12 16:47:24'::timestamp) - extract(epoch from '2026-06-12 16:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.388444)'), GeomFromEWKT('SRID=4674;POINT (-39.03146 -3.388311)'))) / (select extract(epoch from '2026-06-12 16:47:24'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031457 -3.388224)', '2026-06-12 16:47:30', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03146 -3.388311)'), GeomFromEWKT('SRID=4674;POINT (-39.031457 -3.388224)'))) / (select extract(epoch from '2026-06-12 16:47:30'::timestamp) - extract(epoch from '2026-06-12 16:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03146 -3.388311)'), GeomFromEWKT('SRID=4674;POINT (-39.031457 -3.388224)'))) / (select extract(epoch from '2026-06-12 16:47:30'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031453 -3.388112)', '2026-06-12 16:47:36', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031457 -3.388224)'), GeomFromEWKT('SRID=4674;POINT (-39.031453 -3.388112)'))) / (select extract(epoch from '2026-06-12 16:47:36'::timestamp) - extract(epoch from '2026-06-12 16:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031457 -3.388224)'), GeomFromEWKT('SRID=4674;POINT (-39.031453 -3.388112)'))) / (select extract(epoch from '2026-06-12 16:47:36'::timestamp) - extract(epoch from '2026-06-12 16:47: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'), 46569, 'SRID=4674;POINT (-39.031451 -3.388003)', '2026-06-12 16:47:42', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031453 -3.388112)'), GeomFromEWKT('SRID=4674;POINT (-39.031451 -3.388003)'))) / (select extract(epoch from '2026-06-12 16:47:42'::timestamp) - extract(epoch from '2026-06-12 16:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031453 -3.388112)'), GeomFromEWKT('SRID=4674;POINT (-39.031451 -3.388003)'))) / (select extract(epoch from '2026-06-12 16:47:42'::timestamp) - extract(epoch from '2026-06-12 16:47: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'), 46569, 'SRID=4674;POINT (-39.031453 -3.38789)', '2026-06-12 16:47:48', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031451 -3.388003)'), GeomFromEWKT('SRID=4674;POINT (-39.031453 -3.38789)'))) / (select extract(epoch from '2026-06-12 16:47:48'::timestamp) - extract(epoch from '2026-06-12 16:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031451 -3.388003)'), GeomFromEWKT('SRID=4674;POINT (-39.031453 -3.38789)'))) / (select extract(epoch from '2026-06-12 16:47:48'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031449 -3.387773)', '2026-06-12 16:47:55', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031453 -3.38789)'), GeomFromEWKT('SRID=4674;POINT (-39.031449 -3.387773)'))) / (select extract(epoch from '2026-06-12 16:47:55'::timestamp) - extract(epoch from '2026-06-12 16:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031453 -3.38789)'), GeomFromEWKT('SRID=4674;POINT (-39.031449 -3.387773)'))) / (select extract(epoch from '2026-06-12 16:47:55'::timestamp) - extract(epoch from '2026-06-12 16:47: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'), 46569, 'SRID=4674;POINT (-39.031444 -3.387621)', '2026-06-12 16:48:03', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031449 -3.387773)'), GeomFromEWKT('SRID=4674;POINT (-39.031444 -3.387621)'))) / (select extract(epoch from '2026-06-12 16:48:03'::timestamp) - extract(epoch from '2026-06-12 16:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031449 -3.387773)'), GeomFromEWKT('SRID=4674;POINT (-39.031444 -3.387621)'))) / (select extract(epoch from '2026-06-12 16:48:03'::timestamp) - extract(epoch from '2026-06-12 16:47: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'), 46569, 'SRID=4674;POINT (-39.031438 -3.38751)', '2026-06-12 16:48:09', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031444 -3.387621)'), GeomFromEWKT('SRID=4674;POINT (-39.031438 -3.38751)'))) / (select extract(epoch from '2026-06-12 16:48:09'::timestamp) - extract(epoch from '2026-06-12 16:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031444 -3.387621)'), GeomFromEWKT('SRID=4674;POINT (-39.031438 -3.38751)'))) / (select extract(epoch from '2026-06-12 16:48:09'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.03144 -3.387459)', '2026-06-12 16:48:12', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031438 -3.38751)'), GeomFromEWKT('SRID=4674;POINT (-39.03144 -3.387459)'))) / (select extract(epoch from '2026-06-12 16:48:12'::timestamp) - extract(epoch from '2026-06-12 16:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031438 -3.38751)'), GeomFromEWKT('SRID=4674;POINT (-39.03144 -3.387459)'))) / (select extract(epoch from '2026-06-12 16:48:12'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031431 -3.387423)', '2026-06-12 16:48:14', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03144 -3.387459)'), GeomFromEWKT('SRID=4674;POINT (-39.031431 -3.387423)'))) / (select extract(epoch from '2026-06-12 16:48:14'::timestamp) - extract(epoch from '2026-06-12 16:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03144 -3.387459)'), GeomFromEWKT('SRID=4674;POINT (-39.031431 -3.387423)'))) / (select extract(epoch from '2026-06-12 16:48:14'::timestamp) - extract(epoch from '2026-06-12 16:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031414 -3.387321)', '2026-06-12 16:48:20', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031431 -3.387423)'), GeomFromEWKT('SRID=4674;POINT (-39.031414 -3.387321)'))) / (select extract(epoch from '2026-06-12 16:48:20'::timestamp) - extract(epoch from '2026-06-12 16:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031431 -3.387423)'), GeomFromEWKT('SRID=4674;POINT (-39.031414 -3.387321)'))) / (select extract(epoch from '2026-06-12 16:48:20'::timestamp) - extract(epoch from '2026-06-12 16:48: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'), 46569, 'SRID=4674;POINT (-39.031413 -3.387222)', '2026-06-12 16:48:26', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031414 -3.387321)'), GeomFromEWKT('SRID=4674;POINT (-39.031413 -3.387222)'))) / (select extract(epoch from '2026-06-12 16:48:26'::timestamp) - extract(epoch from '2026-06-12 16:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031414 -3.387321)'), GeomFromEWKT('SRID=4674;POINT (-39.031413 -3.387222)'))) / (select extract(epoch from '2026-06-12 16:48:26'::timestamp) - extract(epoch from '2026-06-12 16:48: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'), 46569, 'SRID=4674;POINT (-39.031416 -3.387113)', '2026-06-12 16:48:32', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031413 -3.387222)'), GeomFromEWKT('SRID=4674;POINT (-39.031416 -3.387113)'))) / (select extract(epoch from '2026-06-12 16:48:32'::timestamp) - extract(epoch from '2026-06-12 16:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031413 -3.387222)'), GeomFromEWKT('SRID=4674;POINT (-39.031416 -3.387113)'))) / (select extract(epoch from '2026-06-12 16:48:32'::timestamp) - extract(epoch from '2026-06-12 16:48: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'), 46569, 'SRID=4674;POINT (-39.031414 -3.387004)', '2026-06-12 16:48:38', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031416 -3.387113)'), GeomFromEWKT('SRID=4674;POINT (-39.031414 -3.387004)'))) / (select extract(epoch from '2026-06-12 16:48:38'::timestamp) - extract(epoch from '2026-06-12 16:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031416 -3.387113)'), GeomFromEWKT('SRID=4674;POINT (-39.031414 -3.387004)'))) / (select extract(epoch from '2026-06-12 16:48:38'::timestamp) - extract(epoch from '2026-06-12 16:48: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'), 46569, 'SRID=4674;POINT (-39.031411 -3.386895)', '2026-06-12 16:48:44', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031414 -3.387004)'), GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.386895)'))) / (select extract(epoch from '2026-06-12 16:48:44'::timestamp) - extract(epoch from '2026-06-12 16:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031414 -3.387004)'), GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.386895)'))) / (select extract(epoch from '2026-06-12 16:48:44'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031406 -3.386762)', '2026-06-12 16:48:51', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.386895)'), GeomFromEWKT('SRID=4674;POINT (-39.031406 -3.386762)'))) / (select extract(epoch from '2026-06-12 16:48:51'::timestamp) - extract(epoch from '2026-06-12 16:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.386895)'), GeomFromEWKT('SRID=4674;POINT (-39.031406 -3.386762)'))) / (select extract(epoch from '2026-06-12 16:48:51'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031405 -3.386638)', '2026-06-12 16:48:58', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031406 -3.386762)'), GeomFromEWKT('SRID=4674;POINT (-39.031405 -3.386638)'))) / (select extract(epoch from '2026-06-12 16:48:58'::timestamp) - extract(epoch from '2026-06-12 16:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031406 -3.386762)'), GeomFromEWKT('SRID=4674;POINT (-39.031405 -3.386638)'))) / (select extract(epoch from '2026-06-12 16:48:58'::timestamp) - extract(epoch from '2026-06-12 16:48: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'), 46569, 'SRID=4674;POINT (-39.031404 -3.3865)', '2026-06-12 16:49:05', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031405 -3.386638)'), GeomFromEWKT('SRID=4674;POINT (-39.031404 -3.3865)'))) / (select extract(epoch from '2026-06-12 16:49:05'::timestamp) - extract(epoch from '2026-06-12 16:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031405 -3.386638)'), GeomFromEWKT('SRID=4674;POINT (-39.031404 -3.3865)'))) / (select extract(epoch from '2026-06-12 16:49:05'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031394 -3.386393)', '2026-06-12 16:49:11', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031404 -3.3865)'), GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.386393)'))) / (select extract(epoch from '2026-06-12 16:49:11'::timestamp) - extract(epoch from '2026-06-12 16:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031404 -3.3865)'), GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.386393)'))) / (select extract(epoch from '2026-06-12 16:49:11'::timestamp) - extract(epoch from '2026-06-12 16:49: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'), 46569, 'SRID=4674;POINT (-39.031392 -3.386273)', '2026-06-12 16:49:17', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.386393)'), GeomFromEWKT('SRID=4674;POINT (-39.031392 -3.386273)'))) / (select extract(epoch from '2026-06-12 16:49:17'::timestamp) - extract(epoch from '2026-06-12 16:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.386393)'), GeomFromEWKT('SRID=4674;POINT (-39.031392 -3.386273)'))) / (select extract(epoch from '2026-06-12 16:49:17'::timestamp) - extract(epoch from '2026-06-12 16:49: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'), 46569, 'SRID=4674;POINT (-39.031402 -3.386104)', '2026-06-12 16:49:25', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031392 -3.386273)'), GeomFromEWKT('SRID=4674;POINT (-39.031402 -3.386104)'))) / (select extract(epoch from '2026-06-12 16:49:25'::timestamp) - extract(epoch from '2026-06-12 16:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031392 -3.386273)'), GeomFromEWKT('SRID=4674;POINT (-39.031402 -3.386104)'))) / (select extract(epoch from '2026-06-12 16:49:25'::timestamp) - extract(epoch from '2026-06-12 16:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031418 -3.385969)', '2026-06-12 16:49:32', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031402 -3.386104)'), GeomFromEWKT('SRID=4674;POINT (-39.031418 -3.385969)'))) / (select extract(epoch from '2026-06-12 16:49:32'::timestamp) - extract(epoch from '2026-06-12 16:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031402 -3.386104)'), GeomFromEWKT('SRID=4674;POINT (-39.031418 -3.385969)'))) / (select extract(epoch from '2026-06-12 16:49:32'::timestamp) - extract(epoch from '2026-06-12 16:49:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031436 -3.385876)', '2026-06-12 16:49:38', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031418 -3.385969)'), GeomFromEWKT('SRID=4674;POINT (-39.031436 -3.385876)'))) / (select extract(epoch from '2026-06-12 16:49:38'::timestamp) - extract(epoch from '2026-06-12 16:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031418 -3.385969)'), GeomFromEWKT('SRID=4674;POINT (-39.031436 -3.385876)'))) / (select extract(epoch from '2026-06-12 16:49:38'::timestamp) - extract(epoch from '2026-06-12 16:49: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'), 46569, 'SRID=4674;POINT (-39.031452 -3.385795)', '2026-06-12 16:49:44', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031436 -3.385876)'), GeomFromEWKT('SRID=4674;POINT (-39.031452 -3.385795)'))) / (select extract(epoch from '2026-06-12 16:49:44'::timestamp) - extract(epoch from '2026-06-12 16:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031436 -3.385876)'), GeomFromEWKT('SRID=4674;POINT (-39.031452 -3.385795)'))) / (select extract(epoch from '2026-06-12 16:49:44'::timestamp) - extract(epoch from '2026-06-12 16:49: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'), 46569, 'SRID=4674;POINT (-39.031483 -3.385703)', '2026-06-12 16:49:50', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031452 -3.385795)'), GeomFromEWKT('SRID=4674;POINT (-39.031483 -3.385703)'))) / (select extract(epoch from '2026-06-12 16:49:50'::timestamp) - extract(epoch from '2026-06-12 16:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031452 -3.385795)'), GeomFromEWKT('SRID=4674;POINT (-39.031483 -3.385703)'))) / (select extract(epoch from '2026-06-12 16:49:50'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031495 -3.385577)', '2026-06-12 16:49:56', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031483 -3.385703)'), GeomFromEWKT('SRID=4674;POINT (-39.031495 -3.385577)'))) / (select extract(epoch from '2026-06-12 16:49:56'::timestamp) - extract(epoch from '2026-06-12 16:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031483 -3.385703)'), GeomFromEWKT('SRID=4674;POINT (-39.031495 -3.385577)'))) / (select extract(epoch from '2026-06-12 16:49:56'::timestamp) - extract(epoch from '2026-06-12 16:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031498 -3.385459)', '2026-06-12 16:50:02', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031495 -3.385577)'), GeomFromEWKT('SRID=4674;POINT (-39.031498 -3.385459)'))) / (select extract(epoch from '2026-06-12 16:50:02'::timestamp) - extract(epoch from '2026-06-12 16:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031495 -3.385577)'), GeomFromEWKT('SRID=4674;POINT (-39.031498 -3.385459)'))) / (select extract(epoch from '2026-06-12 16:50:02'::timestamp) - extract(epoch from '2026-06-12 16:49: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'), 46569, 'SRID=4674;POINT (-39.031516 -3.385341)', '2026-06-12 16:50:09', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031498 -3.385459)'), GeomFromEWKT('SRID=4674;POINT (-39.031516 -3.385341)'))) / (select extract(epoch from '2026-06-12 16:50:09'::timestamp) - extract(epoch from '2026-06-12 16:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031498 -3.385459)'), GeomFromEWKT('SRID=4674;POINT (-39.031516 -3.385341)'))) / (select extract(epoch from '2026-06-12 16:50:09'::timestamp) - extract(epoch from '2026-06-12 16:50: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'), 46569, 'SRID=4674;POINT (-39.031532 -3.385246)', '2026-06-12 16:50:15', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031516 -3.385341)'), GeomFromEWKT('SRID=4674;POINT (-39.031532 -3.385246)'))) / (select extract(epoch from '2026-06-12 16:50:15'::timestamp) - extract(epoch from '2026-06-12 16:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031516 -3.385341)'), GeomFromEWKT('SRID=4674;POINT (-39.031532 -3.385246)'))) / (select extract(epoch from '2026-06-12 16:50:15'::timestamp) - extract(epoch from '2026-06-12 16:50: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'), 46569, 'SRID=4674;POINT (-39.03157 -3.385123)', '2026-06-12 16:50:23', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031532 -3.385246)'), GeomFromEWKT('SRID=4674;POINT (-39.03157 -3.385123)'))) / (select extract(epoch from '2026-06-12 16:50:23'::timestamp) - extract(epoch from '2026-06-12 16:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031532 -3.385246)'), GeomFromEWKT('SRID=4674;POINT (-39.03157 -3.385123)'))) / (select extract(epoch from '2026-06-12 16:50:23'::timestamp) - extract(epoch from '2026-06-12 16:50: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'), 46569, 'SRID=4674;POINT (-39.031633 -3.38498)', '2026-06-12 16:50:32', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03157 -3.385123)'), GeomFromEWKT('SRID=4674;POINT (-39.031633 -3.38498)'))) / (select extract(epoch from '2026-06-12 16:50:32'::timestamp) - extract(epoch from '2026-06-12 16:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03157 -3.385123)'), GeomFromEWKT('SRID=4674;POINT (-39.031633 -3.38498)'))) / (select extract(epoch from '2026-06-12 16:50:32'::timestamp) - extract(epoch from '2026-06-12 16:50: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'), 46569, 'SRID=4674;POINT (-39.031658 -3.384866)', '2026-06-12 16:50:39', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031633 -3.38498)'), GeomFromEWKT('SRID=4674;POINT (-39.031658 -3.384866)'))) / (select extract(epoch from '2026-06-12 16:50:39'::timestamp) - extract(epoch from '2026-06-12 16:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031633 -3.38498)'), GeomFromEWKT('SRID=4674;POINT (-39.031658 -3.384866)'))) / (select extract(epoch from '2026-06-12 16:50:39'::timestamp) - extract(epoch from '2026-06-12 16:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031657 -3.384711)', '2026-06-12 16:50:46', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031658 -3.384866)'), GeomFromEWKT('SRID=4674;POINT (-39.031657 -3.384711)'))) / (select extract(epoch from '2026-06-12 16:50:46'::timestamp) - extract(epoch from '2026-06-12 16:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031658 -3.384866)'), GeomFromEWKT('SRID=4674;POINT (-39.031657 -3.384711)'))) / (select extract(epoch from '2026-06-12 16:50:46'::timestamp) - extract(epoch from '2026-06-12 16:50:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031663 -3.38461)', '2026-06-12 16:50:52', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031657 -3.384711)'), GeomFromEWKT('SRID=4674;POINT (-39.031663 -3.38461)'))) / (select extract(epoch from '2026-06-12 16:50:52'::timestamp) - extract(epoch from '2026-06-12 16:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031657 -3.384711)'), GeomFromEWKT('SRID=4674;POINT (-39.031663 -3.38461)'))) / (select extract(epoch from '2026-06-12 16:50:52'::timestamp) - extract(epoch from '2026-06-12 16:50: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'), 46569, 'SRID=4674;POINT (-39.03167 -3.384489)', '2026-06-12 16:50:59', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031663 -3.38461)'), GeomFromEWKT('SRID=4674;POINT (-39.03167 -3.384489)'))) / (select extract(epoch from '2026-06-12 16:50:59'::timestamp) - extract(epoch from '2026-06-12 16:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031663 -3.38461)'), GeomFromEWKT('SRID=4674;POINT (-39.03167 -3.384489)'))) / (select extract(epoch from '2026-06-12 16:50:59'::timestamp) - extract(epoch from '2026-06-12 16:50: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'), 46569, 'SRID=4674;POINT (-39.031658 -3.384355)', '2026-06-12 16:51:07', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03167 -3.384489)'), GeomFromEWKT('SRID=4674;POINT (-39.031658 -3.384355)'))) / (select extract(epoch from '2026-06-12 16:51:07'::timestamp) - extract(epoch from '2026-06-12 16:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03167 -3.384489)'), GeomFromEWKT('SRID=4674;POINT (-39.031658 -3.384355)'))) / (select extract(epoch from '2026-06-12 16:51:07'::timestamp) - extract(epoch from '2026-06-12 16:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031644 -3.384234)', '2026-06-12 16:51:13', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031658 -3.384355)'), GeomFromEWKT('SRID=4674;POINT (-39.031644 -3.384234)'))) / (select extract(epoch from '2026-06-12 16:51:13'::timestamp) - extract(epoch from '2026-06-12 16:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031658 -3.384355)'), GeomFromEWKT('SRID=4674;POINT (-39.031644 -3.384234)'))) / (select extract(epoch from '2026-06-12 16:51:13'::timestamp) - extract(epoch from '2026-06-12 16:51: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'), 46569, 'SRID=4674;POINT (-39.031641 -3.384149)', '2026-06-12 16:51:18', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031644 -3.384234)'), GeomFromEWKT('SRID=4674;POINT (-39.031641 -3.384149)'))) / (select extract(epoch from '2026-06-12 16:51:18'::timestamp) - extract(epoch from '2026-06-12 16:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031644 -3.384234)'), GeomFromEWKT('SRID=4674;POINT (-39.031641 -3.384149)'))) / (select extract(epoch from '2026-06-12 16:51:18'::timestamp) - extract(epoch from '2026-06-12 16:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031659 -3.384073)', '2026-06-12 16:51:23', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031641 -3.384149)'), GeomFromEWKT('SRID=4674;POINT (-39.031659 -3.384073)'))) / (select extract(epoch from '2026-06-12 16:51:23'::timestamp) - extract(epoch from '2026-06-12 16:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031641 -3.384149)'), GeomFromEWKT('SRID=4674;POINT (-39.031659 -3.384073)'))) / (select extract(epoch from '2026-06-12 16:51:23'::timestamp) - extract(epoch from '2026-06-12 16:51: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'), 46569, 'SRID=4674;POINT (-39.03166 -3.384057)', '2026-06-12 16:51:24', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031659 -3.384073)'), GeomFromEWKT('SRID=4674;POINT (-39.03166 -3.384057)'))) / (select extract(epoch from '2026-06-12 16:51:24'::timestamp) - extract(epoch from '2026-06-12 16:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031659 -3.384073)'), GeomFromEWKT('SRID=4674;POINT (-39.03166 -3.384057)'))) / (select extract(epoch from '2026-06-12 16:51:24'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031659 -3.384039)', '2026-06-12 16:51:25', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03166 -3.384057)'), GeomFromEWKT('SRID=4674;POINT (-39.031659 -3.384039)'))) / (select extract(epoch from '2026-06-12 16:51:25'::timestamp) - extract(epoch from '2026-06-12 16:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03166 -3.384057)'), GeomFromEWKT('SRID=4674;POINT (-39.031659 -3.384039)'))) / (select extract(epoch from '2026-06-12 16:51:25'::timestamp) - extract(epoch from '2026-06-12 16:51: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'), 46569, 'SRID=4674;POINT (-39.031669 -3.383968)', '2026-06-12 16:51:29', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031659 -3.384039)'), GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.383968)'))) / (select extract(epoch from '2026-06-12 16:51:29'::timestamp) - extract(epoch from '2026-06-12 16:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031659 -3.384039)'), GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.383968)'))) / (select extract(epoch from '2026-06-12 16:51:29'::timestamp) - extract(epoch from '2026-06-12 16:51: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'), 46569, 'SRID=4674;POINT (-39.031686 -3.383841)', '2026-06-12 16:51:36', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.383968)'), GeomFromEWKT('SRID=4674;POINT (-39.031686 -3.383841)'))) / (select extract(epoch from '2026-06-12 16:51:36'::timestamp) - extract(epoch from '2026-06-12 16:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.383968)'), GeomFromEWKT('SRID=4674;POINT (-39.031686 -3.383841)'))) / (select extract(epoch from '2026-06-12 16:51:36'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.03171 -3.38373)', '2026-06-12 16:51:43', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031686 -3.383841)'), GeomFromEWKT('SRID=4674;POINT (-39.03171 -3.38373)'))) / (select extract(epoch from '2026-06-12 16:51:43'::timestamp) - extract(epoch from '2026-06-12 16:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031686 -3.383841)'), GeomFromEWKT('SRID=4674;POINT (-39.03171 -3.38373)'))) / (select extract(epoch from '2026-06-12 16:51:43'::timestamp) - extract(epoch from '2026-06-12 16:51: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'), 46569, 'SRID=4674;POINT (-39.031708 -3.383616)', '2026-06-12 16:51:49', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03171 -3.38373)'), GeomFromEWKT('SRID=4674;POINT (-39.031708 -3.383616)'))) / (select extract(epoch from '2026-06-12 16:51:49'::timestamp) - extract(epoch from '2026-06-12 16:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03171 -3.38373)'), GeomFromEWKT('SRID=4674;POINT (-39.031708 -3.383616)'))) / (select extract(epoch from '2026-06-12 16:51:49'::timestamp) - extract(epoch from '2026-06-12 16:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031711 -3.383465)', '2026-06-12 16:51:57', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031708 -3.383616)'), GeomFromEWKT('SRID=4674;POINT (-39.031711 -3.383465)'))) / (select extract(epoch from '2026-06-12 16:51:57'::timestamp) - extract(epoch from '2026-06-12 16:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031708 -3.383616)'), GeomFromEWKT('SRID=4674;POINT (-39.031711 -3.383465)'))) / (select extract(epoch from '2026-06-12 16:51:57'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031695 -3.38331)', '2026-06-12 16:52:05', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031711 -3.383465)'), GeomFromEWKT('SRID=4674;POINT (-39.031695 -3.38331)'))) / (select extract(epoch from '2026-06-12 16:52:05'::timestamp) - extract(epoch from '2026-06-12 16:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031711 -3.383465)'), GeomFromEWKT('SRID=4674;POINT (-39.031695 -3.38331)'))) / (select extract(epoch from '2026-06-12 16:52:05'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031695 -3.383181)', '2026-06-12 16:52:12', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031695 -3.38331)'), GeomFromEWKT('SRID=4674;POINT (-39.031695 -3.383181)'))) / (select extract(epoch from '2026-06-12 16:52:12'::timestamp) - extract(epoch from '2026-06-12 16:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031695 -3.38331)'), GeomFromEWKT('SRID=4674;POINT (-39.031695 -3.383181)'))) / (select extract(epoch from '2026-06-12 16:52:12'::timestamp) - extract(epoch from '2026-06-12 16:52: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'), 46569, 'SRID=4674;POINT (-39.031693 -3.383067)', '2026-06-12 16:52:19', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031695 -3.383181)'), GeomFromEWKT('SRID=4674;POINT (-39.031693 -3.383067)'))) / (select extract(epoch from '2026-06-12 16:52:19'::timestamp) - extract(epoch from '2026-06-12 16:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031695 -3.383181)'), GeomFromEWKT('SRID=4674;POINT (-39.031693 -3.383067)'))) / (select extract(epoch from '2026-06-12 16:52:19'::timestamp) - extract(epoch from '2026-06-12 16:52:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031709 -3.382962)', '2026-06-12 16:52:24', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031693 -3.383067)'), GeomFromEWKT('SRID=4674;POINT (-39.031709 -3.382962)'))) / (select extract(epoch from '2026-06-12 16:52:24'::timestamp) - extract(epoch from '2026-06-12 16:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031693 -3.383067)'), GeomFromEWKT('SRID=4674;POINT (-39.031709 -3.382962)'))) / (select extract(epoch from '2026-06-12 16:52:24'::timestamp) - extract(epoch from '2026-06-12 16:52: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'), 46569, 'SRID=4674;POINT (-39.031724 -3.382846)', '2026-06-12 16:52:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031709 -3.382962)'), GeomFromEWKT('SRID=4674;POINT (-39.031724 -3.382846)'))) / (select extract(epoch from '2026-06-12 16:52:30'::timestamp) - extract(epoch from '2026-06-12 16:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031709 -3.382962)'), GeomFromEWKT('SRID=4674;POINT (-39.031724 -3.382846)'))) / (select extract(epoch from '2026-06-12 16:52:30'::timestamp) - extract(epoch from '2026-06-12 16:52: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'), 46569, 'SRID=4674;POINT (-39.031722 -3.382828)', '2026-06-12 16:52:31', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031724 -3.382846)'), GeomFromEWKT('SRID=4674;POINT (-39.031722 -3.382828)'))) / (select extract(epoch from '2026-06-12 16:52:31'::timestamp) - extract(epoch from '2026-06-12 16:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031724 -3.382846)'), GeomFromEWKT('SRID=4674;POINT (-39.031722 -3.382828)'))) / (select extract(epoch from '2026-06-12 16:52:31'::timestamp) - extract(epoch from '2026-06-12 16:52: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'), 46569, 'SRID=4674;POINT (-39.031731 -3.382749)', '2026-06-12 16:52:35', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031722 -3.382828)'), GeomFromEWKT('SRID=4674;POINT (-39.031731 -3.382749)'))) / (select extract(epoch from '2026-06-12 16:52:35'::timestamp) - extract(epoch from '2026-06-12 16:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031722 -3.382828)'), GeomFromEWKT('SRID=4674;POINT (-39.031731 -3.382749)'))) / (select extract(epoch from '2026-06-12 16:52:35'::timestamp) - extract(epoch from '2026-06-12 16:52: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'), 46569, 'SRID=4674;POINT (-39.031733 -3.382609)', '2026-06-12 16:52:42', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031731 -3.382749)'), GeomFromEWKT('SRID=4674;POINT (-39.031733 -3.382609)'))) / (select extract(epoch from '2026-06-12 16:52:42'::timestamp) - extract(epoch from '2026-06-12 16:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031731 -3.382749)'), GeomFromEWKT('SRID=4674;POINT (-39.031733 -3.382609)'))) / (select extract(epoch from '2026-06-12 16:52:42'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031731 -3.382497)', '2026-06-12 16:52:48', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031733 -3.382609)'), GeomFromEWKT('SRID=4674;POINT (-39.031731 -3.382497)'))) / (select extract(epoch from '2026-06-12 16:52:48'::timestamp) - extract(epoch from '2026-06-12 16:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031733 -3.382609)'), GeomFromEWKT('SRID=4674;POINT (-39.031731 -3.382497)'))) / (select extract(epoch from '2026-06-12 16:52:48'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031734 -3.382405)', '2026-06-12 16:52:54', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031731 -3.382497)'), GeomFromEWKT('SRID=4674;POINT (-39.031734 -3.382405)'))) / (select extract(epoch from '2026-06-12 16:52:54'::timestamp) - extract(epoch from '2026-06-12 16:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031731 -3.382497)'), GeomFromEWKT('SRID=4674;POINT (-39.031734 -3.382405)'))) / (select extract(epoch from '2026-06-12 16:52:54'::timestamp) - extract(epoch from '2026-06-12 16:52: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'), 46569, 'SRID=4674;POINT (-39.031735 -3.382293)', '2026-06-12 16:53:00', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031734 -3.382405)'), GeomFromEWKT('SRID=4674;POINT (-39.031735 -3.382293)'))) / (select extract(epoch from '2026-06-12 16:53:00'::timestamp) - extract(epoch from '2026-06-12 16:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031734 -3.382405)'), GeomFromEWKT('SRID=4674;POINT (-39.031735 -3.382293)'))) / (select extract(epoch from '2026-06-12 16:53:00'::timestamp) - extract(epoch from '2026-06-12 16:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03168 -3.382168)', '2026-06-12 16:53:07', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031735 -3.382293)'), GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.382168)'))) / (select extract(epoch from '2026-06-12 16:53:07'::timestamp) - extract(epoch from '2026-06-12 16:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031735 -3.382293)'), GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.382168)'))) / (select extract(epoch from '2026-06-12 16:53:07'::timestamp) - extract(epoch from '2026-06-12 16:53: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'), 46569, 'SRID=4674;POINT (-39.031686 -3.382045)', '2026-06-12 16:53:14', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.382168)'), GeomFromEWKT('SRID=4674;POINT (-39.031686 -3.382045)'))) / (select extract(epoch from '2026-06-12 16:53:14'::timestamp) - extract(epoch from '2026-06-12 16:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03168 -3.382168)'), GeomFromEWKT('SRID=4674;POINT (-39.031686 -3.382045)'))) / (select extract(epoch from '2026-06-12 16:53:14'::timestamp) - extract(epoch from '2026-06-12 16:53: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'), 46569, 'SRID=4674;POINT (-39.031689 -3.381993)', '2026-06-12 16:53:17', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031686 -3.382045)'), GeomFromEWKT('SRID=4674;POINT (-39.031689 -3.381993)'))) / (select extract(epoch from '2026-06-12 16:53:17'::timestamp) - extract(epoch from '2026-06-12 16:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031686 -3.382045)'), GeomFromEWKT('SRID=4674;POINT (-39.031689 -3.381993)'))) / (select extract(epoch from '2026-06-12 16:53:17'::timestamp) - extract(epoch from '2026-06-12 16:53: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'), 46569, 'SRID=4674;POINT (-39.031694 -3.381955)', '2026-06-12 16:53:19', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031689 -3.381993)'), GeomFromEWKT('SRID=4674;POINT (-39.031694 -3.381955)'))) / (select extract(epoch from '2026-06-12 16:53:19'::timestamp) - extract(epoch from '2026-06-12 16:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031689 -3.381993)'), GeomFromEWKT('SRID=4674;POINT (-39.031694 -3.381955)'))) / (select extract(epoch from '2026-06-12 16:53:19'::timestamp) - extract(epoch from '2026-06-12 16:53: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'), 46569, 'SRID=4674;POINT (-39.031706 -3.381828)', '2026-06-12 16:53:26', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031694 -3.381955)'), GeomFromEWKT('SRID=4674;POINT (-39.031706 -3.381828)'))) / (select extract(epoch from '2026-06-12 16:53:26'::timestamp) - extract(epoch from '2026-06-12 16:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031694 -3.381955)'), GeomFromEWKT('SRID=4674;POINT (-39.031706 -3.381828)'))) / (select extract(epoch from '2026-06-12 16:53:26'::timestamp) - extract(epoch from '2026-06-12 16:53: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'), 46569, 'SRID=4674;POINT (-39.031729 -3.381725)', '2026-06-12 16:53:32', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031706 -3.381828)'), GeomFromEWKT('SRID=4674;POINT (-39.031729 -3.381725)'))) / (select extract(epoch from '2026-06-12 16:53:32'::timestamp) - extract(epoch from '2026-06-12 16:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031706 -3.381828)'), GeomFromEWKT('SRID=4674;POINT (-39.031729 -3.381725)'))) / (select extract(epoch from '2026-06-12 16:53:32'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031757 -3.381637)', '2026-06-12 16:53:38', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031729 -3.381725)'), GeomFromEWKT('SRID=4674;POINT (-39.031757 -3.381637)'))) / (select extract(epoch from '2026-06-12 16:53:38'::timestamp) - extract(epoch from '2026-06-12 16:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031729 -3.381725)'), GeomFromEWKT('SRID=4674;POINT (-39.031757 -3.381637)'))) / (select extract(epoch from '2026-06-12 16:53:38'::timestamp) - extract(epoch from '2026-06-12 16:53: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'), 46569, 'SRID=4674;POINT (-39.031783 -3.381542)', '2026-06-12 16:53:44', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031757 -3.381637)'), GeomFromEWKT('SRID=4674;POINT (-39.031783 -3.381542)'))) / (select extract(epoch from '2026-06-12 16:53:44'::timestamp) - extract(epoch from '2026-06-12 16:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031757 -3.381637)'), GeomFromEWKT('SRID=4674;POINT (-39.031783 -3.381542)'))) / (select extract(epoch from '2026-06-12 16:53:44'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.031794 -3.381504)', '2026-06-12 16:53:46', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031783 -3.381542)'), GeomFromEWKT('SRID=4674;POINT (-39.031794 -3.381504)'))) / (select extract(epoch from '2026-06-12 16:53:46'::timestamp) - extract(epoch from '2026-06-12 16:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031783 -3.381542)'), GeomFromEWKT('SRID=4674;POINT (-39.031794 -3.381504)'))) / (select extract(epoch from '2026-06-12 16:53:46'::timestamp) - extract(epoch from '2026-06-12 16:53: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'), 46569, 'SRID=4674;POINT (-39.031808 -3.381449)', '2026-06-12 16:53:49', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031794 -3.381504)'), GeomFromEWKT('SRID=4674;POINT (-39.031808 -3.381449)'))) / (select extract(epoch from '2026-06-12 16:53:49'::timestamp) - extract(epoch from '2026-06-12 16:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031794 -3.381504)'), GeomFromEWKT('SRID=4674;POINT (-39.031808 -3.381449)'))) / (select extract(epoch from '2026-06-12 16:53:49'::timestamp) - extract(epoch from '2026-06-12 16:53: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'), 46569, 'SRID=4674;POINT (-39.031818 -3.381411)', '2026-06-12 16:53:51', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031808 -3.381449)'), GeomFromEWKT('SRID=4674;POINT (-39.031818 -3.381411)'))) / (select extract(epoch from '2026-06-12 16:53:51'::timestamp) - extract(epoch from '2026-06-12 16:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031808 -3.381449)'), GeomFromEWKT('SRID=4674;POINT (-39.031818 -3.381411)'))) / (select extract(epoch from '2026-06-12 16:53:51'::timestamp) - extract(epoch from '2026-06-12 16:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031823 -3.381371)', '2026-06-12 16:53:53', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031818 -3.381411)'), GeomFromEWKT('SRID=4674;POINT (-39.031823 -3.381371)'))) / (select extract(epoch from '2026-06-12 16:53:53'::timestamp) - extract(epoch from '2026-06-12 16:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031818 -3.381411)'), GeomFromEWKT('SRID=4674;POINT (-39.031823 -3.381371)'))) / (select extract(epoch from '2026-06-12 16:53:53'::timestamp) - extract(epoch from '2026-06-12 16:53: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'), 46569, 'SRID=4674;POINT (-39.031828 -3.381351)', '2026-06-12 16:53:54', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031823 -3.381371)'), GeomFromEWKT('SRID=4674;POINT (-39.031828 -3.381351)'))) / (select extract(epoch from '2026-06-12 16:53:54'::timestamp) - extract(epoch from '2026-06-12 16:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031823 -3.381371)'), GeomFromEWKT('SRID=4674;POINT (-39.031828 -3.381351)'))) / (select extract(epoch from '2026-06-12 16:53:54'::timestamp) - extract(epoch from '2026-06-12 16:53: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'), 46569, 'SRID=4674;POINT (-39.031854 -3.381253)', '2026-06-12 16:54:00', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031828 -3.381351)'), GeomFromEWKT('SRID=4674;POINT (-39.031854 -3.381253)'))) / (select extract(epoch from '2026-06-12 16:54:00'::timestamp) - extract(epoch from '2026-06-12 16:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031828 -3.381351)'), GeomFromEWKT('SRID=4674;POINT (-39.031854 -3.381253)'))) / (select extract(epoch from '2026-06-12 16:54:00'::timestamp) - extract(epoch from '2026-06-12 16:53: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'), 46569, 'SRID=4674;POINT (-39.031875 -3.381177)', '2026-06-12 16:54:05', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031854 -3.381253)'), GeomFromEWKT('SRID=4674;POINT (-39.031875 -3.381177)'))) / (select extract(epoch from '2026-06-12 16:54:05'::timestamp) - extract(epoch from '2026-06-12 16:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031854 -3.381253)'), GeomFromEWKT('SRID=4674;POINT (-39.031875 -3.381177)'))) / (select extract(epoch from '2026-06-12 16:54:05'::timestamp) - extract(epoch from '2026-06-12 16:54: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'), 46569, 'SRID=4674;POINT (-39.031907 -3.381078)', '2026-06-12 16:54:11', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031875 -3.381177)'), GeomFromEWKT('SRID=4674;POINT (-39.031907 -3.381078)'))) / (select extract(epoch from '2026-06-12 16:54:11'::timestamp) - extract(epoch from '2026-06-12 16:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031875 -3.381177)'), GeomFromEWKT('SRID=4674;POINT (-39.031907 -3.381078)'))) / (select extract(epoch from '2026-06-12 16:54:11'::timestamp) - extract(epoch from '2026-06-12 16:54: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'), 46569, 'SRID=4674;POINT (-39.03194 -3.380994)', '2026-06-12 16:54:17', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031907 -3.381078)'), GeomFromEWKT('SRID=4674;POINT (-39.03194 -3.380994)'))) / (select extract(epoch from '2026-06-12 16:54:17'::timestamp) - extract(epoch from '2026-06-12 16:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031907 -3.381078)'), GeomFromEWKT('SRID=4674;POINT (-39.03194 -3.380994)'))) / (select extract(epoch from '2026-06-12 16:54:17'::timestamp) - extract(epoch from '2026-06-12 16:54: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'), 46569, 'SRID=4674;POINT (-39.031969 -3.380907)', '2026-06-12 16:54:23', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03194 -3.380994)'), GeomFromEWKT('SRID=4674;POINT (-39.031969 -3.380907)'))) / (select extract(epoch from '2026-06-12 16:54:23'::timestamp) - extract(epoch from '2026-06-12 16:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03194 -3.380994)'), GeomFromEWKT('SRID=4674;POINT (-39.031969 -3.380907)'))) / (select extract(epoch from '2026-06-12 16:54:23'::timestamp) - extract(epoch from '2026-06-12 16:54:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.031987 -3.380817)', '2026-06-12 16:54:28', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031969 -3.380907)'), GeomFromEWKT('SRID=4674;POINT (-39.031987 -3.380817)'))) / (select extract(epoch from '2026-06-12 16:54:28'::timestamp) - extract(epoch from '2026-06-12 16:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031969 -3.380907)'), GeomFromEWKT('SRID=4674;POINT (-39.031987 -3.380817)'))) / (select extract(epoch from '2026-06-12 16:54:28'::timestamp) - extract(epoch from '2026-06-12 16:54: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'), 46569, 'SRID=4674;POINT (-39.031985 -3.380679)', '2026-06-12 16:54:35', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031987 -3.380817)'), GeomFromEWKT('SRID=4674;POINT (-39.031985 -3.380679)'))) / (select extract(epoch from '2026-06-12 16:54:35'::timestamp) - extract(epoch from '2026-06-12 16:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031987 -3.380817)'), GeomFromEWKT('SRID=4674;POINT (-39.031985 -3.380679)'))) / (select extract(epoch from '2026-06-12 16:54:35'::timestamp) - extract(epoch from '2026-06-12 16:54:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03199 -3.380664)', '2026-06-12 16:54:36', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031985 -3.380679)'), GeomFromEWKT('SRID=4674;POINT (-39.03199 -3.380664)'))) / (select extract(epoch from '2026-06-12 16:54:36'::timestamp) - extract(epoch from '2026-06-12 16:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031985 -3.380679)'), GeomFromEWKT('SRID=4674;POINT (-39.03199 -3.380664)'))) / (select extract(epoch from '2026-06-12 16:54:36'::timestamp) - extract(epoch from '2026-06-12 16:54: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'), 46569, 'SRID=4674;POINT (-39.031972 -3.380533)', '2026-06-12 16:54:43', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03199 -3.380664)'), GeomFromEWKT('SRID=4674;POINT (-39.031972 -3.380533)'))) / (select extract(epoch from '2026-06-12 16:54:43'::timestamp) - extract(epoch from '2026-06-12 16:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03199 -3.380664)'), GeomFromEWKT('SRID=4674;POINT (-39.031972 -3.380533)'))) / (select extract(epoch from '2026-06-12 16:54:43'::timestamp) - extract(epoch from '2026-06-12 16:54: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'), 46569, 'SRID=4674;POINT (-39.031989 -3.380395)', '2026-06-12 16:54:51', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031972 -3.380533)'), GeomFromEWKT('SRID=4674;POINT (-39.031989 -3.380395)'))) / (select extract(epoch from '2026-06-12 16:54:51'::timestamp) - extract(epoch from '2026-06-12 16:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031972 -3.380533)'), GeomFromEWKT('SRID=4674;POINT (-39.031989 -3.380395)'))) / (select extract(epoch from '2026-06-12 16:54:51'::timestamp) - extract(epoch from '2026-06-12 16:54: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'), 46569, 'SRID=4674;POINT (-39.032 -3.380277)', '2026-06-12 16:54:58', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031989 -3.380395)'), GeomFromEWKT('SRID=4674;POINT (-39.032 -3.380277)'))) / (select extract(epoch from '2026-06-12 16:54:58'::timestamp) - extract(epoch from '2026-06-12 16:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031989 -3.380395)'), GeomFromEWKT('SRID=4674;POINT (-39.032 -3.380277)'))) / (select extract(epoch from '2026-06-12 16:54:58'::timestamp) - extract(epoch from '2026-06-12 16:54: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'), 46569, 'SRID=4674;POINT (-39.032012 -3.380223)', '2026-06-12 16:55:01', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032 -3.380277)'), GeomFromEWKT('SRID=4674;POINT (-39.032012 -3.380223)'))) / (select extract(epoch from '2026-06-12 16:55:01'::timestamp) - extract(epoch from '2026-06-12 16:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032 -3.380277)'), GeomFromEWKT('SRID=4674;POINT (-39.032012 -3.380223)'))) / (select extract(epoch from '2026-06-12 16:55:01'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.032012 -3.380169)', '2026-06-12 16:55:04', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032012 -3.380223)'), GeomFromEWKT('SRID=4674;POINT (-39.032012 -3.380169)'))) / (select extract(epoch from '2026-06-12 16:55:04'::timestamp) - extract(epoch from '2026-06-12 16:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032012 -3.380223)'), GeomFromEWKT('SRID=4674;POINT (-39.032012 -3.380169)'))) / (select extract(epoch from '2026-06-12 16:55:04'::timestamp) - extract(epoch from '2026-06-12 16:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032017 -3.380153)', '2026-06-12 16:55:05', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032012 -3.380169)'), GeomFromEWKT('SRID=4674;POINT (-39.032017 -3.380153)'))) / (select extract(epoch from '2026-06-12 16:55:05'::timestamp) - extract(epoch from '2026-06-12 16:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032012 -3.380169)'), GeomFromEWKT('SRID=4674;POINT (-39.032017 -3.380153)'))) / (select extract(epoch from '2026-06-12 16:55:05'::timestamp) - extract(epoch from '2026-06-12 16:55: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'), 46569, 'SRID=4674;POINT (-39.032022 -3.380075)', '2026-06-12 16:55:09', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032017 -3.380153)'), GeomFromEWKT('SRID=4674;POINT (-39.032022 -3.380075)'))) / (select extract(epoch from '2026-06-12 16:55:09'::timestamp) - extract(epoch from '2026-06-12 16:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032017 -3.380153)'), GeomFromEWKT('SRID=4674;POINT (-39.032022 -3.380075)'))) / (select extract(epoch from '2026-06-12 16:55:09'::timestamp) - extract(epoch from '2026-06-12 16:55: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'), 46569, 'SRID=4674;POINT (-39.032034 -3.379932)', '2026-06-12 16:55:16', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032022 -3.380075)'), GeomFromEWKT('SRID=4674;POINT (-39.032034 -3.379932)'))) / (select extract(epoch from '2026-06-12 16:55:16'::timestamp) - extract(epoch from '2026-06-12 16:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032022 -3.380075)'), GeomFromEWKT('SRID=4674;POINT (-39.032034 -3.379932)'))) / (select extract(epoch from '2026-06-12 16:55:16'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.032036 -3.379899)', '2026-06-12 16:55:18', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032034 -3.379932)'), GeomFromEWKT('SRID=4674;POINT (-39.032036 -3.379899)'))) / (select extract(epoch from '2026-06-12 16:55:18'::timestamp) - extract(epoch from '2026-06-12 16:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032034 -3.379932)'), GeomFromEWKT('SRID=4674;POINT (-39.032036 -3.379899)'))) / (select extract(epoch from '2026-06-12 16:55:18'::timestamp) - extract(epoch from '2026-06-12 16:55: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'), 46569, 'SRID=4674;POINT (-39.03205 -3.379853)', '2026-06-12 16:55:21', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032036 -3.379899)'), GeomFromEWKT('SRID=4674;POINT (-39.03205 -3.379853)'))) / (select extract(epoch from '2026-06-12 16:55:21'::timestamp) - extract(epoch from '2026-06-12 16:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032036 -3.379899)'), GeomFromEWKT('SRID=4674;POINT (-39.03205 -3.379853)'))) / (select extract(epoch from '2026-06-12 16:55:21'::timestamp) - extract(epoch from '2026-06-12 16:55: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'), 46569, 'SRID=4674;POINT (-39.032059 -3.379825)', '2026-06-12 16:55:23', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03205 -3.379853)'), GeomFromEWKT('SRID=4674;POINT (-39.032059 -3.379825)'))) / (select extract(epoch from '2026-06-12 16:55:23'::timestamp) - extract(epoch from '2026-06-12 16:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03205 -3.379853)'), GeomFromEWKT('SRID=4674;POINT (-39.032059 -3.379825)'))) / (select extract(epoch from '2026-06-12 16:55:23'::timestamp) - extract(epoch from '2026-06-12 16:55: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'), 46569, 'SRID=4674;POINT (-39.032077 -3.379766)', '2026-06-12 16:55:27', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032059 -3.379825)'), GeomFromEWKT('SRID=4674;POINT (-39.032077 -3.379766)'))) / (select extract(epoch from '2026-06-12 16:55:27'::timestamp) - extract(epoch from '2026-06-12 16:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032059 -3.379825)'), GeomFromEWKT('SRID=4674;POINT (-39.032077 -3.379766)'))) / (select extract(epoch from '2026-06-12 16:55:27'::timestamp) - extract(epoch from '2026-06-12 16:55: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'), 46569, 'SRID=4674;POINT (-39.032094 -3.379688)', '2026-06-12 16:55:32', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032077 -3.379766)'), GeomFromEWKT('SRID=4674;POINT (-39.032094 -3.379688)'))) / (select extract(epoch from '2026-06-12 16:55:32'::timestamp) - extract(epoch from '2026-06-12 16:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032077 -3.379766)'), GeomFromEWKT('SRID=4674;POINT (-39.032094 -3.379688)'))) / (select extract(epoch from '2026-06-12 16:55:32'::timestamp) - extract(epoch from '2026-06-12 16:55: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'), 46569, 'SRID=4674;POINT (-39.032093 -3.379671)', '2026-06-12 16:55:33', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032094 -3.379688)'), GeomFromEWKT('SRID=4674;POINT (-39.032093 -3.379671)'))) / (select extract(epoch from '2026-06-12 16:55:33'::timestamp) - extract(epoch from '2026-06-12 16:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032094 -3.379688)'), GeomFromEWKT('SRID=4674;POINT (-39.032093 -3.379671)'))) / (select extract(epoch from '2026-06-12 16:55:33'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.032116 -3.379583)', '2026-06-12 16:55:38', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032093 -3.379671)'), GeomFromEWKT('SRID=4674;POINT (-39.032116 -3.379583)'))) / (select extract(epoch from '2026-06-12 16:55:38'::timestamp) - extract(epoch from '2026-06-12 16:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032093 -3.379671)'), GeomFromEWKT('SRID=4674;POINT (-39.032116 -3.379583)'))) / (select extract(epoch from '2026-06-12 16:55:38'::timestamp) - extract(epoch from '2026-06-12 16:55:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032139 -3.379467)', '2026-06-12 16:55:45', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032116 -3.379583)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.379467)'))) / (select extract(epoch from '2026-06-12 16:55:45'::timestamp) - extract(epoch from '2026-06-12 16:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032116 -3.379583)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.379467)'))) / (select extract(epoch from '2026-06-12 16:55:45'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.032133 -3.379365)', '2026-06-12 16:55:49', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.379467)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.379365)'))) / (select extract(epoch from '2026-06-12 16:55:49'::timestamp) - extract(epoch from '2026-06-12 16:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.379467)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.379365)'))) / (select extract(epoch from '2026-06-12 16:55:49'::timestamp) - extract(epoch from '2026-06-12 16:55:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03213 -3.379355)', '2026-06-12 16:55:50', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.379365)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.379355)'))) / (select extract(epoch from '2026-06-12 16:55:50'::timestamp) - extract(epoch from '2026-06-12 16:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.379365)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.379355)'))) / (select extract(epoch from '2026-06-12 16:55:50'::timestamp) - extract(epoch from '2026-06-12 16:55:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032135 -3.379239)', '2026-06-12 16:55:56', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.379355)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.379239)'))) / (select extract(epoch from '2026-06-12 16:55:56'::timestamp) - extract(epoch from '2026-06-12 16:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.379355)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.379239)'))) / (select extract(epoch from '2026-06-12 16:55:56'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.032151 -3.379086)', '2026-06-12 16:56:04', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.379239)'), GeomFromEWKT('SRID=4674;POINT (-39.032151 -3.379086)'))) / (select extract(epoch from '2026-06-12 16:56:04'::timestamp) - extract(epoch from '2026-06-12 16:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.379239)'), GeomFromEWKT('SRID=4674;POINT (-39.032151 -3.379086)'))) / (select extract(epoch from '2026-06-12 16:56:04'::timestamp) - extract(epoch from '2026-06-12 16:55: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'), 46569, 'SRID=4674;POINT (-39.032158 -3.378999)', '2026-06-12 16:56:09', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032151 -3.379086)'), GeomFromEWKT('SRID=4674;POINT (-39.032158 -3.378999)'))) / (select extract(epoch from '2026-06-12 16:56:09'::timestamp) - extract(epoch from '2026-06-12 16:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032151 -3.379086)'), GeomFromEWKT('SRID=4674;POINT (-39.032158 -3.378999)'))) / (select extract(epoch from '2026-06-12 16:56:09'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.032163 -3.378905)', '2026-06-12 16:56:15', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032158 -3.378999)'), GeomFromEWKT('SRID=4674;POINT (-39.032163 -3.378905)'))) / (select extract(epoch from '2026-06-12 16:56:15'::timestamp) - extract(epoch from '2026-06-12 16:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032158 -3.378999)'), GeomFromEWKT('SRID=4674;POINT (-39.032163 -3.378905)'))) / (select extract(epoch from '2026-06-12 16:56:15'::timestamp) - extract(epoch from '2026-06-12 16:56: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'), 46569, 'SRID=4674;POINT (-39.032165 -3.378872)', '2026-06-12 16:56:17', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032163 -3.378905)'), GeomFromEWKT('SRID=4674;POINT (-39.032165 -3.378872)'))) / (select extract(epoch from '2026-06-12 16:56:17'::timestamp) - extract(epoch from '2026-06-12 16:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032163 -3.378905)'), GeomFromEWKT('SRID=4674;POINT (-39.032165 -3.378872)'))) / (select extract(epoch from '2026-06-12 16:56:17'::timestamp) - extract(epoch from '2026-06-12 16:56: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'), 46569, 'SRID=4674;POINT (-39.032169 -3.37883)', '2026-06-12 16:56:20', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032165 -3.378872)'), GeomFromEWKT('SRID=4674;POINT (-39.032169 -3.37883)'))) / (select extract(epoch from '2026-06-12 16:56:20'::timestamp) - extract(epoch from '2026-06-12 16:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032165 -3.378872)'), GeomFromEWKT('SRID=4674;POINT (-39.032169 -3.37883)'))) / (select extract(epoch from '2026-06-12 16:56:20'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.032179 -3.378727)', '2026-06-12 16:56:26', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032169 -3.37883)'), GeomFromEWKT('SRID=4674;POINT (-39.032179 -3.378727)'))) / (select extract(epoch from '2026-06-12 16:56:26'::timestamp) - extract(epoch from '2026-06-12 16:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032169 -3.37883)'), GeomFromEWKT('SRID=4674;POINT (-39.032179 -3.378727)'))) / (select extract(epoch from '2026-06-12 16:56:26'::timestamp) - extract(epoch from '2026-06-12 16:56: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'), 46569, 'SRID=4674;POINT (-39.032167 -3.378573)', '2026-06-12 16:56:34', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032179 -3.378727)'), GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.378573)'))) / (select extract(epoch from '2026-06-12 16:56:34'::timestamp) - extract(epoch from '2026-06-12 16:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032179 -3.378727)'), GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.378573)'))) / (select extract(epoch from '2026-06-12 16:56:34'::timestamp) - extract(epoch from '2026-06-12 16:56: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'), 46569, 'SRID=4674;POINT (-39.032173 -3.378445)', '2026-06-12 16:56:41', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.378573)'), GeomFromEWKT('SRID=4674;POINT (-39.032173 -3.378445)'))) / (select extract(epoch from '2026-06-12 16:56:41'::timestamp) - extract(epoch from '2026-06-12 16:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.378573)'), GeomFromEWKT('SRID=4674;POINT (-39.032173 -3.378445)'))) / (select extract(epoch from '2026-06-12 16:56:41'::timestamp) - extract(epoch from '2026-06-12 16:56: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'), 46569, 'SRID=4674;POINT (-39.032167 -3.37834)', '2026-06-12 16:56:47', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032173 -3.378445)'), GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.37834)'))) / (select extract(epoch from '2026-06-12 16:56:47'::timestamp) - extract(epoch from '2026-06-12 16:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032173 -3.378445)'), GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.37834)'))) / (select extract(epoch from '2026-06-12 16:56:47'::timestamp) - extract(epoch from '2026-06-12 16:56: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'), 46569, 'SRID=4674;POINT (-39.032158 -3.378234)', '2026-06-12 16:56:53', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.37834)'), GeomFromEWKT('SRID=4674;POINT (-39.032158 -3.378234)'))) / (select extract(epoch from '2026-06-12 16:56:53'::timestamp) - extract(epoch from '2026-06-12 16:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.37834)'), GeomFromEWKT('SRID=4674;POINT (-39.032158 -3.378234)'))) / (select extract(epoch from '2026-06-12 16:56:53'::timestamp) - extract(epoch from '2026-06-12 16:56: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'), 46569, 'SRID=4674;POINT (-39.032132 -3.378119)', '2026-06-12 16:56:59', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032158 -3.378234)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.378119)'))) / (select extract(epoch from '2026-06-12 16:56:59'::timestamp) - extract(epoch from '2026-06-12 16:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032158 -3.378234)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.378119)'))) / (select extract(epoch from '2026-06-12 16:56:59'::timestamp) - extract(epoch from '2026-06-12 16:56:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032114 -3.378019)', '2026-06-12 16:57:05', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.378119)'), GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.378019)'))) / (select extract(epoch from '2026-06-12 16:57:05'::timestamp) - extract(epoch from '2026-06-12 16:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.378119)'), GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.378019)'))) / (select extract(epoch from '2026-06-12 16:57:05'::timestamp) - extract(epoch from '2026-06-12 16:56: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'), 46569, 'SRID=4674;POINT (-39.032088 -3.377894)', '2026-06-12 16:57:12', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.378019)'), GeomFromEWKT('SRID=4674;POINT (-39.032088 -3.377894)'))) / (select extract(epoch from '2026-06-12 16:57:12'::timestamp) - extract(epoch from '2026-06-12 16:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.378019)'), GeomFromEWKT('SRID=4674;POINT (-39.032088 -3.377894)'))) / (select extract(epoch from '2026-06-12 16:57:12'::timestamp) - extract(epoch from '2026-06-12 16:57: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'), 46569, 'SRID=4674;POINT (-39.032084 -3.377814)', '2026-06-12 16:57:18', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032088 -3.377894)'), GeomFromEWKT('SRID=4674;POINT (-39.032084 -3.377814)'))) / (select extract(epoch from '2026-06-12 16:57:18'::timestamp) - extract(epoch from '2026-06-12 16:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032088 -3.377894)'), GeomFromEWKT('SRID=4674;POINT (-39.032084 -3.377814)'))) / (select extract(epoch from '2026-06-12 16:57:18'::timestamp) - extract(epoch from '2026-06-12 16:57: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'), 46569, 'SRID=4674;POINT (-39.032085 -3.377784)', '2026-06-12 16:57:24', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032084 -3.377814)'), GeomFromEWKT('SRID=4674;POINT (-39.032085 -3.377784)'))) / (select extract(epoch from '2026-06-12 16:57:24'::timestamp) - extract(epoch from '2026-06-12 16:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032084 -3.377814)'), GeomFromEWKT('SRID=4674;POINT (-39.032085 -3.377784)'))) / (select extract(epoch from '2026-06-12 16:57:24'::timestamp) - extract(epoch from '2026-06-12 16:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032078 -3.377753)', '2026-06-12 16:57:32', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032085 -3.377784)'), GeomFromEWKT('SRID=4674;POINT (-39.032078 -3.377753)'))) / (select extract(epoch from '2026-06-12 16:57:32'::timestamp) - extract(epoch from '2026-06-12 16:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032085 -3.377784)'), GeomFromEWKT('SRID=4674;POINT (-39.032078 -3.377753)'))) / (select extract(epoch from '2026-06-12 16:57:32'::timestamp) - extract(epoch from '2026-06-12 16:57: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'), 46569, 'SRID=4674;POINT (-39.032127 -3.377713)', '2026-06-12 16:57:45', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032078 -3.377753)'), GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.377713)'))) / (select extract(epoch from '2026-06-12 16:57:45'::timestamp) - extract(epoch from '2026-06-12 16:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032078 -3.377753)'), GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.377713)'))) / (select extract(epoch from '2026-06-12 16:57:45'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.032167 -3.377676)', '2026-06-12 16:57:59', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.377713)'), GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.377676)'))) / (select extract(epoch from '2026-06-12 16:57:59'::timestamp) - extract(epoch from '2026-06-12 16:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.377713)'), GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.377676)'))) / (select extract(epoch from '2026-06-12 16:57:59'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.032192 -3.377635)', '2026-06-12 16:58:08', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.377676)'), GeomFromEWKT('SRID=4674;POINT (-39.032192 -3.377635)'))) / (select extract(epoch from '2026-06-12 16:58:08'::timestamp) - extract(epoch from '2026-06-12 16:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032167 -3.377676)'), GeomFromEWKT('SRID=4674;POINT (-39.032192 -3.377635)'))) / (select extract(epoch from '2026-06-12 16:58:08'::timestamp) - extract(epoch from '2026-06-12 16:57: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'), 46569, 'SRID=4674;POINT (-39.032206 -3.377629)', '2026-06-12 16:58:10', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032192 -3.377635)'), GeomFromEWKT('SRID=4674;POINT (-39.032206 -3.377629)'))) / (select extract(epoch from '2026-06-12 16:58:10'::timestamp) - extract(epoch from '2026-06-12 16:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032192 -3.377635)'), GeomFromEWKT('SRID=4674;POINT (-39.032206 -3.377629)'))) / (select extract(epoch from '2026-06-12 16:58:10'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.03222 -3.377621)', '2026-06-12 16:58:13', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032206 -3.377629)'), GeomFromEWKT('SRID=4674;POINT (-39.03222 -3.377621)'))) / (select extract(epoch from '2026-06-12 16:58:13'::timestamp) - extract(epoch from '2026-06-12 16:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032206 -3.377629)'), GeomFromEWKT('SRID=4674;POINT (-39.03222 -3.377621)'))) / (select extract(epoch from '2026-06-12 16:58:13'::timestamp) - extract(epoch from '2026-06-12 16: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'), 46569, 'SRID=4674;POINT (-39.03227 -3.377604)', '2026-06-12 16:58:25', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03222 -3.377621)'), GeomFromEWKT('SRID=4674;POINT (-39.03227 -3.377604)'))) / (select extract(epoch from '2026-06-12 16:58:25'::timestamp) - extract(epoch from '2026-06-12 16:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03222 -3.377621)'), GeomFromEWKT('SRID=4674;POINT (-39.03227 -3.377604)'))) / (select extract(epoch from '2026-06-12 16:58:25'::timestamp) - extract(epoch from '2026-06-12 16:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032312 -3.377564)', '2026-06-12 16:58:39', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03227 -3.377604)'), GeomFromEWKT('SRID=4674;POINT (-39.032312 -3.377564)'))) / (select extract(epoch from '2026-06-12 16:58:39'::timestamp) - extract(epoch from '2026-06-12 16:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03227 -3.377604)'), GeomFromEWKT('SRID=4674;POINT (-39.032312 -3.377564)'))) / (select extract(epoch from '2026-06-12 16:58:39'::timestamp) - extract(epoch from '2026-06-12 16:58: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'), 46569, 'SRID=4674;POINT (-39.032352 -3.377545)', '2026-06-12 16:58:48', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032312 -3.377564)'), GeomFromEWKT('SRID=4674;POINT (-39.032352 -3.377545)'))) / (select extract(epoch from '2026-06-12 16:58:48'::timestamp) - extract(epoch from '2026-06-12 16:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032312 -3.377564)'), GeomFromEWKT('SRID=4674;POINT (-39.032352 -3.377545)'))) / (select extract(epoch from '2026-06-12 16:58:48'::timestamp) - extract(epoch from '2026-06-12 16:58: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'), 46569, 'SRID=4674;POINT (-39.032391 -3.377511)', '2026-06-12 16:59:01', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032352 -3.377545)'), GeomFromEWKT('SRID=4674;POINT (-39.032391 -3.377511)'))) / (select extract(epoch from '2026-06-12 16:59:01'::timestamp) - extract(epoch from '2026-06-12 16:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032352 -3.377545)'), GeomFromEWKT('SRID=4674;POINT (-39.032391 -3.377511)'))) / (select extract(epoch from '2026-06-12 16:59:01'::timestamp) - extract(epoch from '2026-06-12 16:58: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'), 46569, 'SRID=4674;POINT (-39.032415 -3.377447)', '2026-06-12 16:59:16', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032391 -3.377511)'), GeomFromEWKT('SRID=4674;POINT (-39.032415 -3.377447)'))) / (select extract(epoch from '2026-06-12 16:59:16'::timestamp) - extract(epoch from '2026-06-12 16:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032391 -3.377511)'), GeomFromEWKT('SRID=4674;POINT (-39.032415 -3.377447)'))) / (select extract(epoch from '2026-06-12 16:59:16'::timestamp) - extract(epoch from '2026-06-12 16:59: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'), 46569, 'SRID=4674;POINT (-39.032476 -3.377416)', '2026-06-12 16:59:30', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032415 -3.377447)'), GeomFromEWKT('SRID=4674;POINT (-39.032476 -3.377416)'))) / (select extract(epoch from '2026-06-12 16:59:30'::timestamp) - extract(epoch from '2026-06-12 16:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032415 -3.377447)'), GeomFromEWKT('SRID=4674;POINT (-39.032476 -3.377416)'))) / (select extract(epoch from '2026-06-12 16:59:30'::timestamp) - extract(epoch from '2026-06-12 16:59: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'), 46569, 'SRID=4674;POINT (-39.032505 -3.377385)', '2026-06-12 16:59:42', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032476 -3.377416)'), GeomFromEWKT('SRID=4674;POINT (-39.032505 -3.377385)'))) / (select extract(epoch from '2026-06-12 16:59:42'::timestamp) - extract(epoch from '2026-06-12 16:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032476 -3.377416)'), GeomFromEWKT('SRID=4674;POINT (-39.032505 -3.377385)'))) / (select extract(epoch from '2026-06-12 16:59:42'::timestamp) - extract(epoch from '2026-06-12 16:59: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'), 46569, 'SRID=4674;POINT (-39.032547 -3.377344)', '2026-06-12 16:59:55', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032505 -3.377385)'), GeomFromEWKT('SRID=4674;POINT (-39.032547 -3.377344)'))) / (select extract(epoch from '2026-06-12 16:59:55'::timestamp) - extract(epoch from '2026-06-12 16:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032505 -3.377385)'), GeomFromEWKT('SRID=4674;POINT (-39.032547 -3.377344)'))) / (select extract(epoch from '2026-06-12 16:59:55'::timestamp) - extract(epoch from '2026-06-12 16:59: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'), 46569, 'SRID=4674;POINT (-39.032576 -3.377322)', '2026-06-12 17:00:04', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032547 -3.377344)'), GeomFromEWKT('SRID=4674;POINT (-39.032576 -3.377322)'))) / (select extract(epoch from '2026-06-12 17:00:04'::timestamp) - extract(epoch from '2026-06-12 16:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032547 -3.377344)'), GeomFromEWKT('SRID=4674;POINT (-39.032576 -3.377322)'))) / (select extract(epoch from '2026-06-12 17:00:04'::timestamp) - extract(epoch from '2026-06-12 16:59: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'), 46569, 'SRID=4674;POINT (-39.032614 -3.377289)', '2026-06-12 17:00:16', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032576 -3.377322)'), GeomFromEWKT('SRID=4674;POINT (-39.032614 -3.377289)'))) / (select extract(epoch from '2026-06-12 17:00:16'::timestamp) - extract(epoch from '2026-06-12 17:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032576 -3.377322)'), GeomFromEWKT('SRID=4674;POINT (-39.032614 -3.377289)'))) / (select extract(epoch from '2026-06-12 17:00:16'::timestamp) - extract(epoch from '2026-06-12 17:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.032648 -3.377263)', '2026-06-12 17:00:29', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032614 -3.377289)'), GeomFromEWKT('SRID=4674;POINT (-39.032648 -3.377263)'))) / (select extract(epoch from '2026-06-12 17:00:29'::timestamp) - extract(epoch from '2026-06-12 17:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032614 -3.377289)'), GeomFromEWKT('SRID=4674;POINT (-39.032648 -3.377263)'))) / (select extract(epoch from '2026-06-12 17:00:29'::timestamp) - extract(epoch from '2026-06-12 17:00: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'), 46569, 'SRID=4674;POINT (-39.032661 -3.377242)', '2026-06-12 17:00:36', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032648 -3.377263)'), GeomFromEWKT('SRID=4674;POINT (-39.032661 -3.377242)'))) / (select extract(epoch from '2026-06-12 17:00:36'::timestamp) - extract(epoch from '2026-06-12 17:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032648 -3.377263)'), GeomFromEWKT('SRID=4674;POINT (-39.032661 -3.377242)'))) / (select extract(epoch from '2026-06-12 17:00:36'::timestamp) - extract(epoch from '2026-06-12 17:00: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'), 46569, 'SRID=4674;POINT (-39.032699 -3.377234)', '2026-06-12 17:00:46', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032661 -3.377242)'), GeomFromEWKT('SRID=4674;POINT (-39.032699 -3.377234)'))) / (select extract(epoch from '2026-06-12 17:00:46'::timestamp) - extract(epoch from '2026-06-12 17:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032661 -3.377242)'), GeomFromEWKT('SRID=4674;POINT (-39.032699 -3.377234)'))) / (select extract(epoch from '2026-06-12 17:00:46'::timestamp) - extract(epoch from '2026-06-12 17:00:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03273 -3.377207)', '2026-06-12 17:00:54', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032699 -3.377234)'), GeomFromEWKT('SRID=4674;POINT (-39.03273 -3.377207)'))) / (select extract(epoch from '2026-06-12 17:00:54'::timestamp) - extract(epoch from '2026-06-12 17:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032699 -3.377234)'), GeomFromEWKT('SRID=4674;POINT (-39.03273 -3.377207)'))) / (select extract(epoch from '2026-06-12 17:00:54'::timestamp) - extract(epoch from '2026-06-12 17:00: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'), 46569, 'SRID=4674;POINT (-39.032784 -3.377193)', '2026-06-12 17:01:06', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03273 -3.377207)'), GeomFromEWKT('SRID=4674;POINT (-39.032784 -3.377193)'))) / (select extract(epoch from '2026-06-12 17:01:06'::timestamp) - extract(epoch from '2026-06-12 17:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03273 -3.377207)'), GeomFromEWKT('SRID=4674;POINT (-39.032784 -3.377193)'))) / (select extract(epoch from '2026-06-12 17:01:06'::timestamp) - extract(epoch from '2026-06-12 17:00: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'), 46569, 'SRID=4674;POINT (-39.032839 -3.377157)', '2026-06-12 17:01:17', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032784 -3.377193)'), GeomFromEWKT('SRID=4674;POINT (-39.032839 -3.377157)'))) / (select extract(epoch from '2026-06-12 17:01:17'::timestamp) - extract(epoch from '2026-06-12 17:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032784 -3.377193)'), GeomFromEWKT('SRID=4674;POINT (-39.032839 -3.377157)'))) / (select extract(epoch from '2026-06-12 17:01:17'::timestamp) - extract(epoch from '2026-06-12 17:01: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'), 46569, 'SRID=4674;POINT (-39.032871 -3.377106)', '2026-06-12 17:01:27', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032839 -3.377157)'), GeomFromEWKT('SRID=4674;POINT (-39.032871 -3.377106)'))) / (select extract(epoch from '2026-06-12 17:01:27'::timestamp) - extract(epoch from '2026-06-12 17:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032839 -3.377157)'), GeomFromEWKT('SRID=4674;POINT (-39.032871 -3.377106)'))) / (select extract(epoch from '2026-06-12 17:01:27'::timestamp) - extract(epoch from '2026-06-12 17:01: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'), 46569, 'SRID=4674;POINT (-39.03291 -3.377056)', '2026-06-12 17:01:40', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032871 -3.377106)'), GeomFromEWKT('SRID=4674;POINT (-39.03291 -3.377056)'))) / (select extract(epoch from '2026-06-12 17:01:40'::timestamp) - extract(epoch from '2026-06-12 17:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032871 -3.377106)'), GeomFromEWKT('SRID=4674;POINT (-39.03291 -3.377056)'))) / (select extract(epoch from '2026-06-12 17:01:40'::timestamp) - extract(epoch from '2026-06-12 17:01: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'), 46569, 'SRID=4674;POINT (-39.032937 -3.376988)', '2026-06-12 17:01:52', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03291 -3.377056)'), GeomFromEWKT('SRID=4674;POINT (-39.032937 -3.376988)'))) / (select extract(epoch from '2026-06-12 17:01:52'::timestamp) - extract(epoch from '2026-06-12 17:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03291 -3.377056)'), GeomFromEWKT('SRID=4674;POINT (-39.032937 -3.376988)'))) / (select extract(epoch from '2026-06-12 17:01:52'::timestamp) - extract(epoch from '2026-06-12 17:01: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'), 46569, 'SRID=4674;POINT (-39.032963 -3.376947)', '2026-06-12 17:02:01', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032937 -3.376988)'), GeomFromEWKT('SRID=4674;POINT (-39.032963 -3.376947)'))) / (select extract(epoch from '2026-06-12 17:02:01'::timestamp) - extract(epoch from '2026-06-12 17:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032937 -3.376988)'), GeomFromEWKT('SRID=4674;POINT (-39.032963 -3.376947)'))) / (select extract(epoch from '2026-06-12 17:02:01'::timestamp) - extract(epoch from '2026-06-12 17:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033002 -3.376895)', '2026-06-12 17:02:12', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032963 -3.376947)'), GeomFromEWKT('SRID=4674;POINT (-39.033002 -3.376895)'))) / (select extract(epoch from '2026-06-12 17:02:12'::timestamp) - extract(epoch from '2026-06-12 17:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032963 -3.376947)'), GeomFromEWKT('SRID=4674;POINT (-39.033002 -3.376895)'))) / (select extract(epoch from '2026-06-12 17:02:12'::timestamp) - extract(epoch from '2026-06-12 17:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033045 -3.376832)', '2026-06-12 17:02:23', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033002 -3.376895)'), GeomFromEWKT('SRID=4674;POINT (-39.033045 -3.376832)'))) / (select extract(epoch from '2026-06-12 17:02:23'::timestamp) - extract(epoch from '2026-06-12 17:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033002 -3.376895)'), GeomFromEWKT('SRID=4674;POINT (-39.033045 -3.376832)'))) / (select extract(epoch from '2026-06-12 17:02:23'::timestamp) - extract(epoch from '2026-06-12 17:02: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'), 46569, 'SRID=4674;POINT (-39.033087 -3.376778)', '2026-06-12 17:02:36', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033045 -3.376832)'), GeomFromEWKT('SRID=4674;POINT (-39.033087 -3.376778)'))) / (select extract(epoch from '2026-06-12 17:02:36'::timestamp) - extract(epoch from '2026-06-12 17:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033045 -3.376832)'), GeomFromEWKT('SRID=4674;POINT (-39.033087 -3.376778)'))) / (select extract(epoch from '2026-06-12 17:02:36'::timestamp) - extract(epoch from '2026-06-12 17:02: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'), 46569, 'SRID=4674;POINT (-39.033116 -3.376728)', '2026-06-12 17:02:47', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033087 -3.376778)'), GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.376728)'))) / (select extract(epoch from '2026-06-12 17:02:47'::timestamp) - extract(epoch from '2026-06-12 17:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033087 -3.376778)'), GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.376728)'))) / (select extract(epoch from '2026-06-12 17:02:47'::timestamp) - extract(epoch from '2026-06-12 17:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033172 -3.376647)', '2026-06-12 17:03:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.376728)'), GeomFromEWKT('SRID=4674;POINT (-39.033172 -3.376647)'))) / (select extract(epoch from '2026-06-12 17:03:04'::timestamp) - extract(epoch from '2026-06-12 17:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.376728)'), GeomFromEWKT('SRID=4674;POINT (-39.033172 -3.376647)'))) / (select extract(epoch from '2026-06-12 17:03:04'::timestamp) - extract(epoch from '2026-06-12 17:02: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'), 46569, 'SRID=4674;POINT (-39.033212 -3.376598)', '2026-06-12 17:03:14', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033172 -3.376647)'), GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.376598)'))) / (select extract(epoch from '2026-06-12 17:03:14'::timestamp) - extract(epoch from '2026-06-12 17:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033172 -3.376647)'), GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.376598)'))) / (select extract(epoch from '2026-06-12 17:03:14'::timestamp) - extract(epoch from '2026-06-12 17:03:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033217 -3.376596)', '2026-06-12 17:03:15', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.376598)'), GeomFromEWKT('SRID=4674;POINT (-39.033217 -3.376596)'))) / (select extract(epoch from '2026-06-12 17:03:15'::timestamp) - extract(epoch from '2026-06-12 17:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.376598)'), GeomFromEWKT('SRID=4674;POINT (-39.033217 -3.376596)'))) / (select extract(epoch from '2026-06-12 17:03:15'::timestamp) - extract(epoch from '2026-06-12 17:03: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'), 46569, 'SRID=4674;POINT (-39.03324 -3.376576)', '2026-06-12 17:03:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033217 -3.376596)'), GeomFromEWKT('SRID=4674;POINT (-39.03324 -3.376576)'))) / (select extract(epoch from '2026-06-12 17:03:20'::timestamp) - extract(epoch from '2026-06-12 17:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033217 -3.376596)'), GeomFromEWKT('SRID=4674;POINT (-39.03324 -3.376576)'))) / (select extract(epoch from '2026-06-12 17:03:20'::timestamp) - extract(epoch from '2026-06-12 17:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033287 -3.376531)', '2026-06-12 17:03:32', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03324 -3.376576)'), GeomFromEWKT('SRID=4674;POINT (-39.033287 -3.376531)'))) / (select extract(epoch from '2026-06-12 17:03:32'::timestamp) - extract(epoch from '2026-06-12 17:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03324 -3.376576)'), GeomFromEWKT('SRID=4674;POINT (-39.033287 -3.376531)'))) / (select extract(epoch from '2026-06-12 17:03:32'::timestamp) - extract(epoch from '2026-06-12 17:03:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033335 -3.376492)', '2026-06-12 17:03:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033287 -3.376531)'), GeomFromEWKT('SRID=4674;POINT (-39.033335 -3.376492)'))) / (select extract(epoch from '2026-06-12 17:03:43'::timestamp) - extract(epoch from '2026-06-12 17:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033287 -3.376531)'), GeomFromEWKT('SRID=4674;POINT (-39.033335 -3.376492)'))) / (select extract(epoch from '2026-06-12 17:03:43'::timestamp) - extract(epoch from '2026-06-12 17:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033357 -3.376468)', '2026-06-12 17:03:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033335 -3.376492)'), GeomFromEWKT('SRID=4674;POINT (-39.033357 -3.376468)'))) / (select extract(epoch from '2026-06-12 17:03:49'::timestamp) - extract(epoch from '2026-06-12 17:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033335 -3.376492)'), GeomFromEWKT('SRID=4674;POINT (-39.033357 -3.376468)'))) / (select extract(epoch from '2026-06-12 17:03:49'::timestamp) - extract(epoch from '2026-06-12 17:03: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'), 46569, 'SRID=4674;POINT (-39.033374 -3.376447)', '2026-06-12 17:03:53', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033357 -3.376468)'), GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.376447)'))) / (select extract(epoch from '2026-06-12 17:03:53'::timestamp) - extract(epoch from '2026-06-12 17:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033357 -3.376468)'), GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.376447)'))) / (select extract(epoch from '2026-06-12 17:03:53'::timestamp) - extract(epoch from '2026-06-12 17:03:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033384 -3.37643)', '2026-06-12 17:03:57', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.376447)'), GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.37643)'))) / (select extract(epoch from '2026-06-12 17:03:57'::timestamp) - extract(epoch from '2026-06-12 17:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033374 -3.376447)'), GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.37643)'))) / (select extract(epoch from '2026-06-12 17:03:57'::timestamp) - extract(epoch from '2026-06-12 17:03: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'), 46569, 'SRID=4674;POINT (-39.033409 -3.37639)', '2026-06-12 17:04:06', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.37643)'), GeomFromEWKT('SRID=4674;POINT (-39.033409 -3.37639)'))) / (select extract(epoch from '2026-06-12 17:04:06'::timestamp) - extract(epoch from '2026-06-12 17:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033384 -3.37643)'), GeomFromEWKT('SRID=4674;POINT (-39.033409 -3.37639)'))) / (select extract(epoch from '2026-06-12 17:04:06'::timestamp) - extract(epoch from '2026-06-12 17:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03345 -3.376318)', '2026-06-12 17:04:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033409 -3.37639)'), GeomFromEWKT('SRID=4674;POINT (-39.03345 -3.376318)'))) / (select extract(epoch from '2026-06-12 17:04:19'::timestamp) - extract(epoch from '2026-06-12 17:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033409 -3.37639)'), GeomFromEWKT('SRID=4674;POINT (-39.03345 -3.376318)'))) / (select extract(epoch from '2026-06-12 17:04:19'::timestamp) - extract(epoch from '2026-06-12 17:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033469 -3.376257)', '2026-06-12 17:04:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03345 -3.376318)'), GeomFromEWKT('SRID=4674;POINT (-39.033469 -3.376257)'))) / (select extract(epoch from '2026-06-12 17:04:29'::timestamp) - extract(epoch from '2026-06-12 17:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03345 -3.376318)'), GeomFromEWKT('SRID=4674;POINT (-39.033469 -3.376257)'))) / (select extract(epoch from '2026-06-12 17:04:29'::timestamp) - extract(epoch from '2026-06-12 17:04: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'), 46569, 'SRID=4674;POINT (-39.033505 -3.376192)', '2026-06-12 17:04:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033469 -3.376257)'), GeomFromEWKT('SRID=4674;POINT (-39.033505 -3.376192)'))) / (select extract(epoch from '2026-06-12 17:04:38'::timestamp) - extract(epoch from '2026-06-12 17:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033469 -3.376257)'), GeomFromEWKT('SRID=4674;POINT (-39.033505 -3.376192)'))) / (select extract(epoch from '2026-06-12 17:04:38'::timestamp) - extract(epoch from '2026-06-12 17:04:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033517 -3.376178)', '2026-06-12 17:04:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033505 -3.376192)'), GeomFromEWKT('SRID=4674;POINT (-39.033517 -3.376178)'))) / (select extract(epoch from '2026-06-12 17:04:40'::timestamp) - extract(epoch from '2026-06-12 17:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033505 -3.376192)'), GeomFromEWKT('SRID=4674;POINT (-39.033517 -3.376178)'))) / (select extract(epoch from '2026-06-12 17:04:40'::timestamp) - extract(epoch from '2026-06-12 17:04: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'), 46569, 'SRID=4674;POINT (-39.033551 -3.376144)', '2026-06-12 17:04:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033517 -3.376178)'), GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.376144)'))) / (select extract(epoch from '2026-06-12 17:04:47'::timestamp) - extract(epoch from '2026-06-12 17:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033517 -3.376178)'), GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.376144)'))) / (select extract(epoch from '2026-06-12 17:04:47'::timestamp) - extract(epoch from '2026-06-12 17:04: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'), 46569, 'SRID=4674;POINT (-39.033576 -3.37612)', '2026-06-12 17:04:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.376144)'), GeomFromEWKT('SRID=4674;POINT (-39.033576 -3.37612)'))) / (select extract(epoch from '2026-06-12 17:04:53'::timestamp) - extract(epoch from '2026-06-12 17:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.376144)'), GeomFromEWKT('SRID=4674;POINT (-39.033576 -3.37612)'))) / (select extract(epoch from '2026-06-12 17:04:53'::timestamp) - extract(epoch from '2026-06-12 17:04: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'), 46569, 'SRID=4674;POINT (-39.033624 -3.376044)', '2026-06-12 17:05:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033576 -3.37612)'), GeomFromEWKT('SRID=4674;POINT (-39.033624 -3.376044)'))) / (select extract(epoch from '2026-06-12 17:05:05'::timestamp) - extract(epoch from '2026-06-12 17:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033576 -3.37612)'), GeomFromEWKT('SRID=4674;POINT (-39.033624 -3.376044)'))) / (select extract(epoch from '2026-06-12 17:05:05'::timestamp) - extract(epoch from '2026-06-12 17:04:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033688 -3.375956)', '2026-06-12 17:05:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033624 -3.376044)'), GeomFromEWKT('SRID=4674;POINT (-39.033688 -3.375956)'))) / (select extract(epoch from '2026-06-12 17:05:17'::timestamp) - extract(epoch from '2026-06-12 17:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033624 -3.376044)'), GeomFromEWKT('SRID=4674;POINT (-39.033688 -3.375956)'))) / (select extract(epoch from '2026-06-12 17:05:17'::timestamp) - extract(epoch from '2026-06-12 17:05: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'), 46569, 'SRID=4674;POINT (-39.033726 -3.375905)', '2026-06-12 17:05:29', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033688 -3.375956)'), GeomFromEWKT('SRID=4674;POINT (-39.033726 -3.375905)'))) / (select extract(epoch from '2026-06-12 17:05:29'::timestamp) - extract(epoch from '2026-06-12 17:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033688 -3.375956)'), GeomFromEWKT('SRID=4674;POINT (-39.033726 -3.375905)'))) / (select extract(epoch from '2026-06-12 17:05:29'::timestamp) - extract(epoch from '2026-06-12 17:05: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'), 46569, 'SRID=4674;POINT (-39.033777 -3.375843)', '2026-06-12 17:05:40', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033726 -3.375905)'), GeomFromEWKT('SRID=4674;POINT (-39.033777 -3.375843)'))) / (select extract(epoch from '2026-06-12 17:05:40'::timestamp) - extract(epoch from '2026-06-12 17:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033726 -3.375905)'), GeomFromEWKT('SRID=4674;POINT (-39.033777 -3.375843)'))) / (select extract(epoch from '2026-06-12 17:05:40'::timestamp) - extract(epoch from '2026-06-12 17:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033803 -3.375802)', '2026-06-12 17:05:49', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033777 -3.375843)'), GeomFromEWKT('SRID=4674;POINT (-39.033803 -3.375802)'))) / (select extract(epoch from '2026-06-12 17:05:49'::timestamp) - extract(epoch from '2026-06-12 17:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033777 -3.375843)'), GeomFromEWKT('SRID=4674;POINT (-39.033803 -3.375802)'))) / (select extract(epoch from '2026-06-12 17:05:49'::timestamp) - extract(epoch from '2026-06-12 17:05: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'), 46569, 'SRID=4674;POINT (-39.033822 -3.375765)', '2026-06-12 17:05:55', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033803 -3.375802)'), GeomFromEWKT('SRID=4674;POINT (-39.033822 -3.375765)'))) / (select extract(epoch from '2026-06-12 17:05:55'::timestamp) - extract(epoch from '2026-06-12 17:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033803 -3.375802)'), GeomFromEWKT('SRID=4674;POINT (-39.033822 -3.375765)'))) / (select extract(epoch from '2026-06-12 17:05:55'::timestamp) - extract(epoch from '2026-06-12 17:05: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'), 46569, 'SRID=4674;POINT (-39.033833 -3.375749)', '2026-06-12 17:06:00', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033822 -3.375765)'), GeomFromEWKT('SRID=4674;POINT (-39.033833 -3.375749)'))) / (select extract(epoch from '2026-06-12 17:06:00'::timestamp) - extract(epoch from '2026-06-12 17:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033822 -3.375765)'), GeomFromEWKT('SRID=4674;POINT (-39.033833 -3.375749)'))) / (select extract(epoch from '2026-06-12 17:06:00'::timestamp) - extract(epoch from '2026-06-12 17:05: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'), 46569, 'SRID=4674;POINT (-39.033839 -3.375722)', '2026-06-12 17:06:08', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033833 -3.375749)'), GeomFromEWKT('SRID=4674;POINT (-39.033839 -3.375722)'))) / (select extract(epoch from '2026-06-12 17:06:08'::timestamp) - extract(epoch from '2026-06-12 17:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033833 -3.375749)'), GeomFromEWKT('SRID=4674;POINT (-39.033839 -3.375722)'))) / (select extract(epoch from '2026-06-12 17:06:08'::timestamp) - extract(epoch from '2026-06-12 17:06:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033883 -3.375692)', '2026-06-12 17:06:16', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033839 -3.375722)'), GeomFromEWKT('SRID=4674;POINT (-39.033883 -3.375692)'))) / (select extract(epoch from '2026-06-12 17:06:16'::timestamp) - extract(epoch from '2026-06-12 17:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033839 -3.375722)'), GeomFromEWKT('SRID=4674;POINT (-39.033883 -3.375692)'))) / (select extract(epoch from '2026-06-12 17:06:16'::timestamp) - extract(epoch from '2026-06-12 17:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033909 -3.375681)', '2026-06-12 17:06:22', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033883 -3.375692)'), GeomFromEWKT('SRID=4674;POINT (-39.033909 -3.375681)'))) / (select extract(epoch from '2026-06-12 17:06:22'::timestamp) - extract(epoch from '2026-06-12 17:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033883 -3.375692)'), GeomFromEWKT('SRID=4674;POINT (-39.033909 -3.375681)'))) / (select extract(epoch from '2026-06-12 17:06:22'::timestamp) - extract(epoch from '2026-06-12 17:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.033967 -3.375633)', '2026-06-12 17:06:35', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033909 -3.375681)'), GeomFromEWKT('SRID=4674;POINT (-39.033967 -3.375633)'))) / (select extract(epoch from '2026-06-12 17:06:35'::timestamp) - extract(epoch from '2026-06-12 17:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033909 -3.375681)'), GeomFromEWKT('SRID=4674;POINT (-39.033967 -3.375633)'))) / (select extract(epoch from '2026-06-12 17:06:35'::timestamp) - extract(epoch from '2026-06-12 17:06: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'), 46569, 'SRID=4674;POINT (-39.034028 -3.375603)', '2026-06-12 17:06:48', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033967 -3.375633)'), GeomFromEWKT('SRID=4674;POINT (-39.034028 -3.375603)'))) / (select extract(epoch from '2026-06-12 17:06:48'::timestamp) - extract(epoch from '2026-06-12 17:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033967 -3.375633)'), GeomFromEWKT('SRID=4674;POINT (-39.034028 -3.375603)'))) / (select extract(epoch from '2026-06-12 17:06:48'::timestamp) - extract(epoch from '2026-06-12 17:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034066 -3.375571)', '2026-06-12 17:06:58', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034028 -3.375603)'), GeomFromEWKT('SRID=4674;POINT (-39.034066 -3.375571)'))) / (select extract(epoch from '2026-06-12 17:06:58'::timestamp) - extract(epoch from '2026-06-12 17:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034028 -3.375603)'), GeomFromEWKT('SRID=4674;POINT (-39.034066 -3.375571)'))) / (select extract(epoch from '2026-06-12 17:06:58'::timestamp) - extract(epoch from '2026-06-12 17:06: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'), 46569, 'SRID=4674;POINT (-39.034092 -3.375531)', '2026-06-12 17:07:09', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034066 -3.375571)'), GeomFromEWKT('SRID=4674;POINT (-39.034092 -3.375531)'))) / (select extract(epoch from '2026-06-12 17:07:09'::timestamp) - extract(epoch from '2026-06-12 17:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034066 -3.375571)'), GeomFromEWKT('SRID=4674;POINT (-39.034092 -3.375531)'))) / (select extract(epoch from '2026-06-12 17:07:09'::timestamp) - extract(epoch from '2026-06-12 17:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034147 -3.375463)', '2026-06-12 17:07:24', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034092 -3.375531)'), GeomFromEWKT('SRID=4674;POINT (-39.034147 -3.375463)'))) / (select extract(epoch from '2026-06-12 17:07:24'::timestamp) - extract(epoch from '2026-06-12 17:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034092 -3.375531)'), GeomFromEWKT('SRID=4674;POINT (-39.034147 -3.375463)'))) / (select extract(epoch from '2026-06-12 17:07:24'::timestamp) - extract(epoch from '2026-06-12 17:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034196 -3.375416)', '2026-06-12 17:07:34', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034147 -3.375463)'), GeomFromEWKT('SRID=4674;POINT (-39.034196 -3.375416)'))) / (select extract(epoch from '2026-06-12 17:07:34'::timestamp) - extract(epoch from '2026-06-12 17:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034147 -3.375463)'), GeomFromEWKT('SRID=4674;POINT (-39.034196 -3.375416)'))) / (select extract(epoch from '2026-06-12 17:07:34'::timestamp) - extract(epoch from '2026-06-12 17:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034239 -3.375388)', '2026-06-12 17:07:39', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034196 -3.375416)'), GeomFromEWKT('SRID=4674;POINT (-39.034239 -3.375388)'))) / (select extract(epoch from '2026-06-12 17:07:39'::timestamp) - extract(epoch from '2026-06-12 17:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034196 -3.375416)'), GeomFromEWKT('SRID=4674;POINT (-39.034239 -3.375388)'))) / (select extract(epoch from '2026-06-12 17:07:39'::timestamp) - extract(epoch from '2026-06-12 17:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034242 -3.375383)', '2026-06-12 17:07:40', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034239 -3.375388)'), GeomFromEWKT('SRID=4674;POINT (-39.034242 -3.375383)'))) / (select extract(epoch from '2026-06-12 17:07:40'::timestamp) - extract(epoch from '2026-06-12 17:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034239 -3.375388)'), GeomFromEWKT('SRID=4674;POINT (-39.034242 -3.375383)'))) / (select extract(epoch from '2026-06-12 17:07:40'::timestamp) - extract(epoch from '2026-06-12 17:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034273 -3.375334)', '2026-06-12 17:07:47', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034242 -3.375383)'), GeomFromEWKT('SRID=4674;POINT (-39.034273 -3.375334)'))) / (select extract(epoch from '2026-06-12 17:07:47'::timestamp) - extract(epoch from '2026-06-12 17:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034242 -3.375383)'), GeomFromEWKT('SRID=4674;POINT (-39.034273 -3.375334)'))) / (select extract(epoch from '2026-06-12 17:07:47'::timestamp) - extract(epoch from '2026-06-12 17:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034278 -3.375291)', '2026-06-12 17:07:55', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034273 -3.375334)'), GeomFromEWKT('SRID=4674;POINT (-39.034278 -3.375291)'))) / (select extract(epoch from '2026-06-12 17:07:55'::timestamp) - extract(epoch from '2026-06-12 17:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034273 -3.375334)'), GeomFromEWKT('SRID=4674;POINT (-39.034278 -3.375291)'))) / (select extract(epoch from '2026-06-12 17:07:55'::timestamp) - extract(epoch from '2026-06-12 17:07:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034331 -3.375243)', '2026-06-12 17:08:06', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034278 -3.375291)'), GeomFromEWKT('SRID=4674;POINT (-39.034331 -3.375243)'))) / (select extract(epoch from '2026-06-12 17:08:06'::timestamp) - extract(epoch from '2026-06-12 17:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034278 -3.375291)'), GeomFromEWKT('SRID=4674;POINT (-39.034331 -3.375243)'))) / (select extract(epoch from '2026-06-12 17:08:06'::timestamp) - extract(epoch from '2026-06-12 17:07: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'), 46569, 'SRID=4674;POINT (-39.034393 -3.375169)', '2026-06-12 17:08:20', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034331 -3.375243)'), GeomFromEWKT('SRID=4674;POINT (-39.034393 -3.375169)'))) / (select extract(epoch from '2026-06-12 17:08:20'::timestamp) - extract(epoch from '2026-06-12 17:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034331 -3.375243)'), GeomFromEWKT('SRID=4674;POINT (-39.034393 -3.375169)'))) / (select extract(epoch from '2026-06-12 17:08:20'::timestamp) - extract(epoch from '2026-06-12 17:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034433 -3.37512)', '2026-06-12 17:08:29', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034393 -3.375169)'), GeomFromEWKT('SRID=4674;POINT (-39.034433 -3.37512)'))) / (select extract(epoch from '2026-06-12 17:08:29'::timestamp) - extract(epoch from '2026-06-12 17:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034393 -3.375169)'), GeomFromEWKT('SRID=4674;POINT (-39.034433 -3.37512)'))) / (select extract(epoch from '2026-06-12 17:08:29'::timestamp) - extract(epoch from '2026-06-12 17:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034468 -3.375092)', '2026-06-12 17:08:35', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034433 -3.37512)'), GeomFromEWKT('SRID=4674;POINT (-39.034468 -3.375092)'))) / (select extract(epoch from '2026-06-12 17:08:35'::timestamp) - extract(epoch from '2026-06-12 17:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034433 -3.37512)'), GeomFromEWKT('SRID=4674;POINT (-39.034468 -3.375092)'))) / (select extract(epoch from '2026-06-12 17:08:35'::timestamp) - extract(epoch from '2026-06-12 17:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034476 -3.37508)', '2026-06-12 17:08:37', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034468 -3.375092)'), GeomFromEWKT('SRID=4674;POINT (-39.034476 -3.37508)'))) / (select extract(epoch from '2026-06-12 17:08:37'::timestamp) - extract(epoch from '2026-06-12 17:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034468 -3.375092)'), GeomFromEWKT('SRID=4674;POINT (-39.034476 -3.37508)'))) / (select extract(epoch from '2026-06-12 17:08:37'::timestamp) - extract(epoch from '2026-06-12 17:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034506 -3.375058)', '2026-06-12 17:08:41', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034476 -3.37508)'), GeomFromEWKT('SRID=4674;POINT (-39.034506 -3.375058)'))) / (select extract(epoch from '2026-06-12 17:08:41'::timestamp) - extract(epoch from '2026-06-12 17:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034476 -3.37508)'), GeomFromEWKT('SRID=4674;POINT (-39.034506 -3.375058)'))) / (select extract(epoch from '2026-06-12 17:08:41'::timestamp) - extract(epoch from '2026-06-12 17:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034513 -3.375049)', '2026-06-12 17:08:42', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034506 -3.375058)'), GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.375049)'))) / (select extract(epoch from '2026-06-12 17:08:42'::timestamp) - extract(epoch from '2026-06-12 17:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034506 -3.375058)'), GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.375049)'))) / (select extract(epoch from '2026-06-12 17:08:42'::timestamp) - extract(epoch from '2026-06-12 17:08: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'), 46569, 'SRID=4674;POINT (-39.034534 -3.375016)', '2026-06-12 17:08:47', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.375049)'), GeomFromEWKT('SRID=4674;POINT (-39.034534 -3.375016)'))) / (select extract(epoch from '2026-06-12 17:08:47'::timestamp) - extract(epoch from '2026-06-12 17:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.375049)'), GeomFromEWKT('SRID=4674;POINT (-39.034534 -3.375016)'))) / (select extract(epoch from '2026-06-12 17:08:47'::timestamp) - extract(epoch from '2026-06-12 17:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034544 -3.375007)', '2026-06-12 17:08:49', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034534 -3.375016)'), GeomFromEWKT('SRID=4674;POINT (-39.034544 -3.375007)'))) / (select extract(epoch from '2026-06-12 17:08:49'::timestamp) - extract(epoch from '2026-06-12 17:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034534 -3.375016)'), GeomFromEWKT('SRID=4674;POINT (-39.034544 -3.375007)'))) / (select extract(epoch from '2026-06-12 17:08:49'::timestamp) - extract(epoch from '2026-06-12 17:08: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'), 46569, 'SRID=4674;POINT (-39.034552 -3.374994)', '2026-06-12 17:08:52', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034544 -3.375007)'), GeomFromEWKT('SRID=4674;POINT (-39.034552 -3.374994)'))) / (select extract(epoch from '2026-06-12 17:08:52'::timestamp) - extract(epoch from '2026-06-12 17:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034544 -3.375007)'), GeomFromEWKT('SRID=4674;POINT (-39.034552 -3.374994)'))) / (select extract(epoch from '2026-06-12 17:08:52'::timestamp) - extract(epoch from '2026-06-12 17:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034574 -3.374961)', '2026-06-12 17:09:00', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034552 -3.374994)'), GeomFromEWKT('SRID=4674;POINT (-39.034574 -3.374961)'))) / (select extract(epoch from '2026-06-12 17:09:00'::timestamp) - extract(epoch from '2026-06-12 17:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034552 -3.374994)'), GeomFromEWKT('SRID=4674;POINT (-39.034574 -3.374961)'))) / (select extract(epoch from '2026-06-12 17:09:00'::timestamp) - extract(epoch from '2026-06-12 17:08: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'), 46569, 'SRID=4674;POINT (-39.034603 -3.374926)', '2026-06-12 17:09:08', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034574 -3.374961)'), GeomFromEWKT('SRID=4674;POINT (-39.034603 -3.374926)'))) / (select extract(epoch from '2026-06-12 17:09:08'::timestamp) - extract(epoch from '2026-06-12 17:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034574 -3.374961)'), GeomFromEWKT('SRID=4674;POINT (-39.034603 -3.374926)'))) / (select extract(epoch from '2026-06-12 17:09:08'::timestamp) - extract(epoch from '2026-06-12 17:09:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034622 -3.374873)', '2026-06-12 17:09:15', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034603 -3.374926)'), GeomFromEWKT('SRID=4674;POINT (-39.034622 -3.374873)'))) / (select extract(epoch from '2026-06-12 17:09:15'::timestamp) - extract(epoch from '2026-06-12 17:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034603 -3.374926)'), GeomFromEWKT('SRID=4674;POINT (-39.034622 -3.374873)'))) / (select extract(epoch from '2026-06-12 17:09:15'::timestamp) - extract(epoch from '2026-06-12 17:09: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'), 46569, 'SRID=4674;POINT (-39.034673 -3.374778)', '2026-06-12 17:09:33', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034622 -3.374873)'), GeomFromEWKT('SRID=4674;POINT (-39.034673 -3.374778)'))) / (select extract(epoch from '2026-06-12 17:09:33'::timestamp) - extract(epoch from '2026-06-12 17:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034622 -3.374873)'), GeomFromEWKT('SRID=4674;POINT (-39.034673 -3.374778)'))) / (select extract(epoch from '2026-06-12 17:09:33'::timestamp) - extract(epoch from '2026-06-12 17:09: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'), 46569, 'SRID=4674;POINT (-39.034682 -3.37475)', '2026-06-12 17:09:39', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034673 -3.374778)'), GeomFromEWKT('SRID=4674;POINT (-39.034682 -3.37475)'))) / (select extract(epoch from '2026-06-12 17:09:39'::timestamp) - extract(epoch from '2026-06-12 17:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034673 -3.374778)'), GeomFromEWKT('SRID=4674;POINT (-39.034682 -3.37475)'))) / (select extract(epoch from '2026-06-12 17:09:39'::timestamp) - extract(epoch from '2026-06-12 17:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034696 -3.374733)', '2026-06-12 17:09:41', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034682 -3.37475)'), GeomFromEWKT('SRID=4674;POINT (-39.034696 -3.374733)'))) / (select extract(epoch from '2026-06-12 17:09:41'::timestamp) - extract(epoch from '2026-06-12 17:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034682 -3.37475)'), GeomFromEWKT('SRID=4674;POINT (-39.034696 -3.374733)'))) / (select extract(epoch from '2026-06-12 17:09:41'::timestamp) - extract(epoch from '2026-06-12 17:09: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'), 46569, 'SRID=4674;POINT (-39.034727 -3.374687)', '2026-06-12 17:09:48', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034696 -3.374733)'), GeomFromEWKT('SRID=4674;POINT (-39.034727 -3.374687)'))) / (select extract(epoch from '2026-06-12 17:09:48'::timestamp) - extract(epoch from '2026-06-12 17:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034696 -3.374733)'), GeomFromEWKT('SRID=4674;POINT (-39.034727 -3.374687)'))) / (select extract(epoch from '2026-06-12 17:09:48'::timestamp) - extract(epoch from '2026-06-12 17:09: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'), 46569, 'SRID=4674;POINT (-39.034755 -3.374643)', '2026-06-12 17:09:55', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034727 -3.374687)'), GeomFromEWKT('SRID=4674;POINT (-39.034755 -3.374643)'))) / (select extract(epoch from '2026-06-12 17:09:55'::timestamp) - extract(epoch from '2026-06-12 17:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034727 -3.374687)'), GeomFromEWKT('SRID=4674;POINT (-39.034755 -3.374643)'))) / (select extract(epoch from '2026-06-12 17:09:55'::timestamp) - extract(epoch from '2026-06-12 17:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034795 -3.374579)', '2026-06-12 17:10:10', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034755 -3.374643)'), GeomFromEWKT('SRID=4674;POINT (-39.034795 -3.374579)'))) / (select extract(epoch from '2026-06-12 17:10:10'::timestamp) - extract(epoch from '2026-06-12 17:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034755 -3.374643)'), GeomFromEWKT('SRID=4674;POINT (-39.034795 -3.374579)'))) / (select extract(epoch from '2026-06-12 17:10:10'::timestamp) - extract(epoch from '2026-06-12 17:09: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'), 46569, 'SRID=4674;POINT (-39.034809 -3.374537)', '2026-06-12 17:10:17', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034795 -3.374579)'), GeomFromEWKT('SRID=4674;POINT (-39.034809 -3.374537)'))) / (select extract(epoch from '2026-06-12 17:10:17'::timestamp) - extract(epoch from '2026-06-12 17:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034795 -3.374579)'), GeomFromEWKT('SRID=4674;POINT (-39.034809 -3.374537)'))) / (select extract(epoch from '2026-06-12 17:10:17'::timestamp) - extract(epoch from '2026-06-12 17:10: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'), 46569, 'SRID=4674;POINT (-39.034835 -3.374509)', '2026-06-12 17:10:23', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034809 -3.374537)'), GeomFromEWKT('SRID=4674;POINT (-39.034835 -3.374509)'))) / (select extract(epoch from '2026-06-12 17:10:23'::timestamp) - extract(epoch from '2026-06-12 17:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034809 -3.374537)'), GeomFromEWKT('SRID=4674;POINT (-39.034835 -3.374509)'))) / (select extract(epoch from '2026-06-12 17:10:23'::timestamp) - extract(epoch from '2026-06-12 17:10: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'), 46569, 'SRID=4674;POINT (-39.034842 -3.374502)', '2026-06-12 17:10:24', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034835 -3.374509)'), GeomFromEWKT('SRID=4674;POINT (-39.034842 -3.374502)'))) / (select extract(epoch from '2026-06-12 17:10:24'::timestamp) - extract(epoch from '2026-06-12 17:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034835 -3.374509)'), GeomFromEWKT('SRID=4674;POINT (-39.034842 -3.374502)'))) / (select extract(epoch from '2026-06-12 17:10:24'::timestamp) - extract(epoch from '2026-06-12 17:10: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'), 46569, 'SRID=4674;POINT (-39.034852 -3.374465)', '2026-06-12 17:10:30', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034842 -3.374502)'), GeomFromEWKT('SRID=4674;POINT (-39.034852 -3.374465)'))) / (select extract(epoch from '2026-06-12 17:10:30'::timestamp) - extract(epoch from '2026-06-12 17:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034842 -3.374502)'), GeomFromEWKT('SRID=4674;POINT (-39.034852 -3.374465)'))) / (select extract(epoch from '2026-06-12 17:10:30'::timestamp) - extract(epoch from '2026-06-12 17:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034888 -3.374407)', '2026-06-12 17:10:41', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034852 -3.374465)'), GeomFromEWKT('SRID=4674;POINT (-39.034888 -3.374407)'))) / (select extract(epoch from '2026-06-12 17:10:41'::timestamp) - extract(epoch from '2026-06-12 17:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034852 -3.374465)'), GeomFromEWKT('SRID=4674;POINT (-39.034888 -3.374407)'))) / (select extract(epoch from '2026-06-12 17:10:41'::timestamp) - extract(epoch from '2026-06-12 17:10: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'), 46569, 'SRID=4674;POINT (-39.03493 -3.37435)', '2026-06-12 17:10:51', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034888 -3.374407)'), GeomFromEWKT('SRID=4674;POINT (-39.03493 -3.37435)'))) / (select extract(epoch from '2026-06-12 17:10:51'::timestamp) - extract(epoch from '2026-06-12 17:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034888 -3.374407)'), GeomFromEWKT('SRID=4674;POINT (-39.03493 -3.37435)'))) / (select extract(epoch from '2026-06-12 17:10:51'::timestamp) - extract(epoch from '2026-06-12 17:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034951 -3.374318)', '2026-06-12 17:10:58', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03493 -3.37435)'), GeomFromEWKT('SRID=4674;POINT (-39.034951 -3.374318)'))) / (select extract(epoch from '2026-06-12 17:10:58'::timestamp) - extract(epoch from '2026-06-12 17:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03493 -3.37435)'), GeomFromEWKT('SRID=4674;POINT (-39.034951 -3.374318)'))) / (select extract(epoch from '2026-06-12 17:10:58'::timestamp) - extract(epoch from '2026-06-12 17:10: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'), 46569, 'SRID=4674;POINT (-39.03497 -3.374274)', '2026-06-12 17:11:05', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034951 -3.374318)'), GeomFromEWKT('SRID=4674;POINT (-39.03497 -3.374274)'))) / (select extract(epoch from '2026-06-12 17:11:05'::timestamp) - extract(epoch from '2026-06-12 17:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034951 -3.374318)'), GeomFromEWKT('SRID=4674;POINT (-39.03497 -3.374274)'))) / (select extract(epoch from '2026-06-12 17:11:05'::timestamp) - extract(epoch from '2026-06-12 17:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.034975 -3.374271)', '2026-06-12 17:11:06', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03497 -3.374274)'), GeomFromEWKT('SRID=4674;POINT (-39.034975 -3.374271)'))) / (select extract(epoch from '2026-06-12 17:11:06'::timestamp) - extract(epoch from '2026-06-12 17:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03497 -3.374274)'), GeomFromEWKT('SRID=4674;POINT (-39.034975 -3.374271)'))) / (select extract(epoch from '2026-06-12 17:11:06'::timestamp) - extract(epoch from '2026-06-12 17:11: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'), 46569, 'SRID=4674;POINT (-39.035012 -3.374241)', '2026-06-12 17:11:12', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034975 -3.374271)'), GeomFromEWKT('SRID=4674;POINT (-39.035012 -3.374241)'))) / (select extract(epoch from '2026-06-12 17:11:12'::timestamp) - extract(epoch from '2026-06-12 17:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034975 -3.374271)'), GeomFromEWKT('SRID=4674;POINT (-39.035012 -3.374241)'))) / (select extract(epoch from '2026-06-12 17:11:12'::timestamp) - extract(epoch from '2026-06-12 17:11:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035067 -3.374177)', '2026-06-12 17:11:25', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035012 -3.374241)'), GeomFromEWKT('SRID=4674;POINT (-39.035067 -3.374177)'))) / (select extract(epoch from '2026-06-12 17:11:25'::timestamp) - extract(epoch from '2026-06-12 17:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035012 -3.374241)'), GeomFromEWKT('SRID=4674;POINT (-39.035067 -3.374177)'))) / (select extract(epoch from '2026-06-12 17:11:25'::timestamp) - extract(epoch from '2026-06-12 17:11: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'), 46569, 'SRID=4674;POINT (-39.035112 -3.374126)', '2026-06-12 17:11:37', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035067 -3.374177)'), GeomFromEWKT('SRID=4674;POINT (-39.035112 -3.374126)'))) / (select extract(epoch from '2026-06-12 17:11:37'::timestamp) - extract(epoch from '2026-06-12 17:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035067 -3.374177)'), GeomFromEWKT('SRID=4674;POINT (-39.035112 -3.374126)'))) / (select extract(epoch from '2026-06-12 17:11:37'::timestamp) - extract(epoch from '2026-06-12 17:11: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'), 46569, 'SRID=4674;POINT (-39.035143 -3.374095)', '2026-06-12 17:11:43', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035112 -3.374126)'), GeomFromEWKT('SRID=4674;POINT (-39.035143 -3.374095)'))) / (select extract(epoch from '2026-06-12 17:11:43'::timestamp) - extract(epoch from '2026-06-12 17:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035112 -3.374126)'), GeomFromEWKT('SRID=4674;POINT (-39.035143 -3.374095)'))) / (select extract(epoch from '2026-06-12 17:11:43'::timestamp) - extract(epoch from '2026-06-12 17:11: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'), 46569, 'SRID=4674;POINT (-39.03517 -3.37407)', '2026-06-12 17:11:49', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035143 -3.374095)'), GeomFromEWKT('SRID=4674;POINT (-39.03517 -3.37407)'))) / (select extract(epoch from '2026-06-12 17:11:49'::timestamp) - extract(epoch from '2026-06-12 17:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035143 -3.374095)'), GeomFromEWKT('SRID=4674;POINT (-39.03517 -3.37407)'))) / (select extract(epoch from '2026-06-12 17:11:49'::timestamp) - extract(epoch from '2026-06-12 17:11:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035176 -3.374046)', '2026-06-12 17:11:54', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03517 -3.37407)'), GeomFromEWKT('SRID=4674;POINT (-39.035176 -3.374046)'))) / (select extract(epoch from '2026-06-12 17:11:54'::timestamp) - extract(epoch from '2026-06-12 17:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03517 -3.37407)'), GeomFromEWKT('SRID=4674;POINT (-39.035176 -3.374046)'))) / (select extract(epoch from '2026-06-12 17:11:54'::timestamp) - extract(epoch from '2026-06-12 17:11: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'), 46569, 'SRID=4674;POINT (-39.035176 -3.374042)', '2026-06-12 17:11:55', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035176 -3.374046)'), GeomFromEWKT('SRID=4674;POINT (-39.035176 -3.374042)'))) / (select extract(epoch from '2026-06-12 17:11:55'::timestamp) - extract(epoch from '2026-06-12 17:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035176 -3.374046)'), GeomFromEWKT('SRID=4674;POINT (-39.035176 -3.374042)'))) / (select extract(epoch from '2026-06-12 17:11:55'::timestamp) - extract(epoch from '2026-06-12 17:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035172 -3.374)', '2026-06-12 17:12:03', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035176 -3.374042)'), GeomFromEWKT('SRID=4674;POINT (-39.035172 -3.374)'))) / (select extract(epoch from '2026-06-12 17:12:03'::timestamp) - extract(epoch from '2026-06-12 17:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035176 -3.374042)'), GeomFromEWKT('SRID=4674;POINT (-39.035172 -3.374)'))) / (select extract(epoch from '2026-06-12 17:12:03'::timestamp) - extract(epoch from '2026-06-12 17:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035169 -3.373996)', '2026-06-12 17:12:04', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035172 -3.374)'), GeomFromEWKT('SRID=4674;POINT (-39.035169 -3.373996)'))) / (select extract(epoch from '2026-06-12 17:12:04'::timestamp) - extract(epoch from '2026-06-12 17:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035172 -3.374)'), GeomFromEWKT('SRID=4674;POINT (-39.035169 -3.373996)'))) / (select extract(epoch from '2026-06-12 17:12:04'::timestamp) - extract(epoch from '2026-06-12 17:12:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035184 -3.37397)', '2026-06-12 17:12:10', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035169 -3.373996)'), GeomFromEWKT('SRID=4674;POINT (-39.035184 -3.37397)'))) / (select extract(epoch from '2026-06-12 17:12:10'::timestamp) - extract(epoch from '2026-06-12 17:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035169 -3.373996)'), GeomFromEWKT('SRID=4674;POINT (-39.035184 -3.37397)'))) / (select extract(epoch from '2026-06-12 17:12:10'::timestamp) - extract(epoch from '2026-06-12 17:12: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'), 46569, 'SRID=4674;POINT (-39.035224 -3.373932)', '2026-06-12 17:12:18', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035184 -3.37397)'), GeomFromEWKT('SRID=4674;POINT (-39.035224 -3.373932)'))) / (select extract(epoch from '2026-06-12 17:12:18'::timestamp) - extract(epoch from '2026-06-12 17:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035184 -3.37397)'), GeomFromEWKT('SRID=4674;POINT (-39.035224 -3.373932)'))) / (select extract(epoch from '2026-06-12 17:12:18'::timestamp) - extract(epoch from '2026-06-12 17:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035245 -3.373904)', '2026-06-12 17:12:23', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035224 -3.373932)'), GeomFromEWKT('SRID=4674;POINT (-39.035245 -3.373904)'))) / (select extract(epoch from '2026-06-12 17:12:23'::timestamp) - extract(epoch from '2026-06-12 17:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035224 -3.373932)'), GeomFromEWKT('SRID=4674;POINT (-39.035245 -3.373904)'))) / (select extract(epoch from '2026-06-12 17:12:23'::timestamp) - extract(epoch from '2026-06-12 17:12: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'), 46569, 'SRID=4674;POINT (-39.035282 -3.37387)', '2026-06-12 17:12:30', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035245 -3.373904)'), GeomFromEWKT('SRID=4674;POINT (-39.035282 -3.37387)'))) / (select extract(epoch from '2026-06-12 17:12:30'::timestamp) - extract(epoch from '2026-06-12 17:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035245 -3.373904)'), GeomFromEWKT('SRID=4674;POINT (-39.035282 -3.37387)'))) / (select extract(epoch from '2026-06-12 17:12:30'::timestamp) - extract(epoch from '2026-06-12 17:12:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035318 -3.373846)', '2026-06-12 17:12:36', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035282 -3.37387)'), GeomFromEWKT('SRID=4674;POINT (-39.035318 -3.373846)'))) / (select extract(epoch from '2026-06-12 17:12:36'::timestamp) - extract(epoch from '2026-06-12 17:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035282 -3.37387)'), GeomFromEWKT('SRID=4674;POINT (-39.035318 -3.373846)'))) / (select extract(epoch from '2026-06-12 17:12:36'::timestamp) - extract(epoch from '2026-06-12 17:12: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'), 46569, 'SRID=4674;POINT (-39.035368 -3.373792)', '2026-06-12 17:12:47', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035318 -3.373846)'), GeomFromEWKT('SRID=4674;POINT (-39.035368 -3.373792)'))) / (select extract(epoch from '2026-06-12 17:12:47'::timestamp) - extract(epoch from '2026-06-12 17:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035318 -3.373846)'), GeomFromEWKT('SRID=4674;POINT (-39.035368 -3.373792)'))) / (select extract(epoch from '2026-06-12 17:12:47'::timestamp) - extract(epoch from '2026-06-12 17:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035389 -3.373735)', '2026-06-12 17:12:56', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035368 -3.373792)'), GeomFromEWKT('SRID=4674;POINT (-39.035389 -3.373735)'))) / (select extract(epoch from '2026-06-12 17:12:56'::timestamp) - extract(epoch from '2026-06-12 17:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035368 -3.373792)'), GeomFromEWKT('SRID=4674;POINT (-39.035389 -3.373735)'))) / (select extract(epoch from '2026-06-12 17:12:56'::timestamp) - extract(epoch from '2026-06-12 17:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035449 -3.373658)', '2026-06-12 17:13:10', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035389 -3.373735)'), GeomFromEWKT('SRID=4674;POINT (-39.035449 -3.373658)'))) / (select extract(epoch from '2026-06-12 17:13:10'::timestamp) - extract(epoch from '2026-06-12 17:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035389 -3.373735)'), GeomFromEWKT('SRID=4674;POINT (-39.035449 -3.373658)'))) / (select extract(epoch from '2026-06-12 17:13:10'::timestamp) - extract(epoch from '2026-06-12 17:12: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'), 46569, 'SRID=4674;POINT (-39.035516 -3.373593)', '2026-06-12 17:13:24', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035449 -3.373658)'), GeomFromEWKT('SRID=4674;POINT (-39.035516 -3.373593)'))) / (select extract(epoch from '2026-06-12 17:13:24'::timestamp) - extract(epoch from '2026-06-12 17:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035449 -3.373658)'), GeomFromEWKT('SRID=4674;POINT (-39.035516 -3.373593)'))) / (select extract(epoch from '2026-06-12 17:13:24'::timestamp) - extract(epoch from '2026-06-12 17:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035534 -3.373544)', '2026-06-12 17:13:32', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035516 -3.373593)'), GeomFromEWKT('SRID=4674;POINT (-39.035534 -3.373544)'))) / (select extract(epoch from '2026-06-12 17:13:32'::timestamp) - extract(epoch from '2026-06-12 17:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035516 -3.373593)'), GeomFromEWKT('SRID=4674;POINT (-39.035534 -3.373544)'))) / (select extract(epoch from '2026-06-12 17:13:32'::timestamp) - extract(epoch from '2026-06-12 17:13: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'), 46569, 'SRID=4674;POINT (-39.035563 -3.373512)', '2026-06-12 17:13:38', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035534 -3.373544)'), GeomFromEWKT('SRID=4674;POINT (-39.035563 -3.373512)'))) / (select extract(epoch from '2026-06-12 17:13:38'::timestamp) - extract(epoch from '2026-06-12 17:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035534 -3.373544)'), GeomFromEWKT('SRID=4674;POINT (-39.035563 -3.373512)'))) / (select extract(epoch from '2026-06-12 17:13:38'::timestamp) - extract(epoch from '2026-06-12 17:13: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'), 46569, 'SRID=4674;POINT (-39.035596 -3.373481)', '2026-06-12 17:13:44', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035563 -3.373512)'), GeomFromEWKT('SRID=4674;POINT (-39.035596 -3.373481)'))) / (select extract(epoch from '2026-06-12 17:13:44'::timestamp) - extract(epoch from '2026-06-12 17:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035563 -3.373512)'), GeomFromEWKT('SRID=4674;POINT (-39.035596 -3.373481)'))) / (select extract(epoch from '2026-06-12 17:13:44'::timestamp) - extract(epoch from '2026-06-12 17:13:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035606 -3.37345)', '2026-06-12 17:13:51', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035596 -3.373481)'), GeomFromEWKT('SRID=4674;POINT (-39.035606 -3.37345)'))) / (select extract(epoch from '2026-06-12 17:13:51'::timestamp) - extract(epoch from '2026-06-12 17:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035596 -3.373481)'), GeomFromEWKT('SRID=4674;POINT (-39.035606 -3.37345)'))) / (select extract(epoch from '2026-06-12 17:13:51'::timestamp) - extract(epoch from '2026-06-12 17:13: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'), 46569, 'SRID=4674;POINT (-39.035625 -3.373403)', '2026-06-12 17:13:58', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035606 -3.37345)'), GeomFromEWKT('SRID=4674;POINT (-39.035625 -3.373403)'))) / (select extract(epoch from '2026-06-12 17:13:58'::timestamp) - extract(epoch from '2026-06-12 17:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035606 -3.37345)'), GeomFromEWKT('SRID=4674;POINT (-39.035625 -3.373403)'))) / (select extract(epoch from '2026-06-12 17:13:58'::timestamp) - extract(epoch from '2026-06-12 17:13: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'), 46569, 'SRID=4674;POINT (-39.035638 -3.373373)', '2026-06-12 17:14:03', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035625 -3.373403)'), GeomFromEWKT('SRID=4674;POINT (-39.035638 -3.373373)'))) / (select extract(epoch from '2026-06-12 17:14:03'::timestamp) - extract(epoch from '2026-06-12 17:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035625 -3.373403)'), GeomFromEWKT('SRID=4674;POINT (-39.035638 -3.373373)'))) / (select extract(epoch from '2026-06-12 17:14:03'::timestamp) - extract(epoch from '2026-06-12 17:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035649 -3.373355)', '2026-06-12 17:14:09', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035638 -3.373373)'), GeomFromEWKT('SRID=4674;POINT (-39.035649 -3.373355)'))) / (select extract(epoch from '2026-06-12 17:14:09'::timestamp) - extract(epoch from '2026-06-12 17:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035638 -3.373373)'), GeomFromEWKT('SRID=4674;POINT (-39.035649 -3.373355)'))) / (select extract(epoch from '2026-06-12 17:14:09'::timestamp) - extract(epoch from '2026-06-12 17:14: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'), 46569, 'SRID=4674;POINT (-39.035687 -3.373302)', '2026-06-12 17:14:19', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035649 -3.373355)'), GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.373302)'))) / (select extract(epoch from '2026-06-12 17:14:19'::timestamp) - extract(epoch from '2026-06-12 17:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035649 -3.373355)'), GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.373302)'))) / (select extract(epoch from '2026-06-12 17:14:19'::timestamp) - extract(epoch from '2026-06-12 17:14: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'), 46569, 'SRID=4674;POINT (-39.035703 -3.37328)', '2026-06-12 17:14:24', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.373302)'), GeomFromEWKT('SRID=4674;POINT (-39.035703 -3.37328)'))) / (select extract(epoch from '2026-06-12 17:14:24'::timestamp) - extract(epoch from '2026-06-12 17:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.373302)'), GeomFromEWKT('SRID=4674;POINT (-39.035703 -3.37328)'))) / (select extract(epoch from '2026-06-12 17:14:24'::timestamp) - extract(epoch from '2026-06-12 17:14: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'), 46569, 'SRID=4674;POINT (-39.03571 -3.373271)', '2026-06-12 17:14:25', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035703 -3.37328)'), GeomFromEWKT('SRID=4674;POINT (-39.03571 -3.373271)'))) / (select extract(epoch from '2026-06-12 17:14:25'::timestamp) - extract(epoch from '2026-06-12 17:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035703 -3.37328)'), GeomFromEWKT('SRID=4674;POINT (-39.03571 -3.373271)'))) / (select extract(epoch from '2026-06-12 17:14:25'::timestamp) - extract(epoch from '2026-06-12 17:14: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'), 46569, 'SRID=4674;POINT (-39.035741 -3.373228)', '2026-06-12 17:14:31', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03571 -3.373271)'), GeomFromEWKT('SRID=4674;POINT (-39.035741 -3.373228)'))) / (select extract(epoch from '2026-06-12 17:14:31'::timestamp) - extract(epoch from '2026-06-12 17:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03571 -3.373271)'), GeomFromEWKT('SRID=4674;POINT (-39.035741 -3.373228)'))) / (select extract(epoch from '2026-06-12 17:14:31'::timestamp) - extract(epoch from '2026-06-12 17:14: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'), 46569, 'SRID=4674;POINT (-39.035769 -3.373194)', '2026-06-12 17:14:36', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035741 -3.373228)'), GeomFromEWKT('SRID=4674;POINT (-39.035769 -3.373194)'))) / (select extract(epoch from '2026-06-12 17:14:36'::timestamp) - extract(epoch from '2026-06-12 17:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035741 -3.373228)'), GeomFromEWKT('SRID=4674;POINT (-39.035769 -3.373194)'))) / (select extract(epoch from '2026-06-12 17:14:36'::timestamp) - extract(epoch from '2026-06-12 17:14: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'), 46569, 'SRID=4674;POINT (-39.035784 -3.373167)', '2026-06-12 17:14:41', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035769 -3.373194)'), GeomFromEWKT('SRID=4674;POINT (-39.035784 -3.373167)'))) / (select extract(epoch from '2026-06-12 17:14:41'::timestamp) - extract(epoch from '2026-06-12 17:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035769 -3.373194)'), GeomFromEWKT('SRID=4674;POINT (-39.035784 -3.373167)'))) / (select extract(epoch from '2026-06-12 17:14:41'::timestamp) - extract(epoch from '2026-06-12 17:14: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'), 46569, 'SRID=4674;POINT (-39.035804 -3.37314)', '2026-06-12 17:14:48', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035784 -3.373167)'), GeomFromEWKT('SRID=4674;POINT (-39.035804 -3.37314)'))) / (select extract(epoch from '2026-06-12 17:14:48'::timestamp) - extract(epoch from '2026-06-12 17:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035784 -3.373167)'), GeomFromEWKT('SRID=4674;POINT (-39.035804 -3.37314)'))) / (select extract(epoch from '2026-06-12 17:14:48'::timestamp) - extract(epoch from '2026-06-12 17:14: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'), 46569, 'SRID=4674;POINT (-39.035823 -3.373109)', '2026-06-12 17:14:54', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035804 -3.37314)'), GeomFromEWKT('SRID=4674;POINT (-39.035823 -3.373109)'))) / (select extract(epoch from '2026-06-12 17:14:54'::timestamp) - extract(epoch from '2026-06-12 17:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035804 -3.37314)'), GeomFromEWKT('SRID=4674;POINT (-39.035823 -3.373109)'))) / (select extract(epoch from '2026-06-12 17:14:54'::timestamp) - extract(epoch from '2026-06-12 17:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03584 -3.37308)', '2026-06-12 17:15:03', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035823 -3.373109)'), GeomFromEWKT('SRID=4674;POINT (-39.03584 -3.37308)'))) / (select extract(epoch from '2026-06-12 17:15:03'::timestamp) - extract(epoch from '2026-06-12 17:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035823 -3.373109)'), GeomFromEWKT('SRID=4674;POINT (-39.03584 -3.37308)'))) / (select extract(epoch from '2026-06-12 17:15:03'::timestamp) - extract(epoch from '2026-06-12 17:14: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'), 46569, 'SRID=4674;POINT (-39.035863 -3.373045)', '2026-06-12 17:15:10', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03584 -3.37308)'), GeomFromEWKT('SRID=4674;POINT (-39.035863 -3.373045)'))) / (select extract(epoch from '2026-06-12 17:15:10'::timestamp) - extract(epoch from '2026-06-12 17:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03584 -3.37308)'), GeomFromEWKT('SRID=4674;POINT (-39.035863 -3.373045)'))) / (select extract(epoch from '2026-06-12 17:15:10'::timestamp) - extract(epoch from '2026-06-12 17:15:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.035882 -3.373015)', '2026-06-12 17:15:16', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035863 -3.373045)'), GeomFromEWKT('SRID=4674;POINT (-39.035882 -3.373015)'))) / (select extract(epoch from '2026-06-12 17:15:16'::timestamp) - extract(epoch from '2026-06-12 17:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035863 -3.373045)'), GeomFromEWKT('SRID=4674;POINT (-39.035882 -3.373015)'))) / (select extract(epoch from '2026-06-12 17:15:16'::timestamp) - extract(epoch from '2026-06-12 17:15: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'), 46569, 'SRID=4674;POINT (-39.035886 -3.373003)', '2026-06-12 17:15:19', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035882 -3.373015)'), GeomFromEWKT('SRID=4674;POINT (-39.035886 -3.373003)'))) / (select extract(epoch from '2026-06-12 17:15:19'::timestamp) - extract(epoch from '2026-06-12 17:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035882 -3.373015)'), GeomFromEWKT('SRID=4674;POINT (-39.035886 -3.373003)'))) / (select extract(epoch from '2026-06-12 17:15:19'::timestamp) - extract(epoch from '2026-06-12 17:15: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'), 46569, 'SRID=4674;POINT (-39.035898 -3.372982)', '2026-06-12 17:15:22', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035886 -3.373003)'), GeomFromEWKT('SRID=4674;POINT (-39.035898 -3.372982)'))) / (select extract(epoch from '2026-06-12 17:15:22'::timestamp) - extract(epoch from '2026-06-12 17:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035886 -3.373003)'), GeomFromEWKT('SRID=4674;POINT (-39.035898 -3.372982)'))) / (select extract(epoch from '2026-06-12 17:15:22'::timestamp) - extract(epoch from '2026-06-12 17:15: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'), 46569, 'SRID=4674;POINT (-39.035933 -3.372951)', '2026-06-12 17:15:30', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035898 -3.372982)'), GeomFromEWKT('SRID=4674;POINT (-39.035933 -3.372951)'))) / (select extract(epoch from '2026-06-12 17:15:30'::timestamp) - extract(epoch from '2026-06-12 17:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035898 -3.372982)'), GeomFromEWKT('SRID=4674;POINT (-39.035933 -3.372951)'))) / (select extract(epoch from '2026-06-12 17:15:30'::timestamp) - extract(epoch from '2026-06-12 17:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03598 -3.372891)', '2026-06-12 17:15:42', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035933 -3.372951)'), GeomFromEWKT('SRID=4674;POINT (-39.03598 -3.372891)'))) / (select extract(epoch from '2026-06-12 17:15:42'::timestamp) - extract(epoch from '2026-06-12 17:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035933 -3.372951)'), GeomFromEWKT('SRID=4674;POINT (-39.03598 -3.372891)'))) / (select extract(epoch from '2026-06-12 17:15:42'::timestamp) - extract(epoch from '2026-06-12 17:15:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036005 -3.372828)', '2026-06-12 17:15:55', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03598 -3.372891)'), GeomFromEWKT('SRID=4674;POINT (-39.036005 -3.372828)'))) / (select extract(epoch from '2026-06-12 17:15:55'::timestamp) - extract(epoch from '2026-06-12 17:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03598 -3.372891)'), GeomFromEWKT('SRID=4674;POINT (-39.036005 -3.372828)'))) / (select extract(epoch from '2026-06-12 17:15:55'::timestamp) - extract(epoch from '2026-06-12 17:15:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036068 -3.372765)', '2026-06-12 17:16:11', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036005 -3.372828)'), GeomFromEWKT('SRID=4674;POINT (-39.036068 -3.372765)'))) / (select extract(epoch from '2026-06-12 17:16:11'::timestamp) - extract(epoch from '2026-06-12 17:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036005 -3.372828)'), GeomFromEWKT('SRID=4674;POINT (-39.036068 -3.372765)'))) / (select extract(epoch from '2026-06-12 17:16:11'::timestamp) - extract(epoch from '2026-06-12 17:15: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'), 46569, 'SRID=4674;POINT (-39.036096 -3.372734)', '2026-06-12 17:16:18', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036068 -3.372765)'), GeomFromEWKT('SRID=4674;POINT (-39.036096 -3.372734)'))) / (select extract(epoch from '2026-06-12 17:16:18'::timestamp) - extract(epoch from '2026-06-12 17:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036068 -3.372765)'), GeomFromEWKT('SRID=4674;POINT (-39.036096 -3.372734)'))) / (select extract(epoch from '2026-06-12 17:16:18'::timestamp) - extract(epoch from '2026-06-12 17:16: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'), 46569, 'SRID=4674;POINT (-39.036106 -3.372704)', '2026-06-12 17:16:25', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036096 -3.372734)'), GeomFromEWKT('SRID=4674;POINT (-39.036106 -3.372704)'))) / (select extract(epoch from '2026-06-12 17:16:25'::timestamp) - extract(epoch from '2026-06-12 17:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036096 -3.372734)'), GeomFromEWKT('SRID=4674;POINT (-39.036106 -3.372704)'))) / (select extract(epoch from '2026-06-12 17:16:25'::timestamp) - extract(epoch from '2026-06-12 17:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03612 -3.372682)', '2026-06-12 17:16:30', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036106 -3.372704)'), GeomFromEWKT('SRID=4674;POINT (-39.03612 -3.372682)'))) / (select extract(epoch from '2026-06-12 17:16:30'::timestamp) - extract(epoch from '2026-06-12 17:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036106 -3.372704)'), GeomFromEWKT('SRID=4674;POINT (-39.03612 -3.372682)'))) / (select extract(epoch from '2026-06-12 17:16:30'::timestamp) - extract(epoch from '2026-06-12 17:16: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'), 46569, 'SRID=4674;POINT (-39.036125 -3.372674)', '2026-06-12 17:16:31', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03612 -3.372682)'), GeomFromEWKT('SRID=4674;POINT (-39.036125 -3.372674)'))) / (select extract(epoch from '2026-06-12 17:16:31'::timestamp) - extract(epoch from '2026-06-12 17:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03612 -3.372682)'), GeomFromEWKT('SRID=4674;POINT (-39.036125 -3.372674)'))) / (select extract(epoch from '2026-06-12 17:16:31'::timestamp) - extract(epoch from '2026-06-12 17:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036151 -3.372651)', '2026-06-12 17:16:36', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036125 -3.372674)'), GeomFromEWKT('SRID=4674;POINT (-39.036151 -3.372651)'))) / (select extract(epoch from '2026-06-12 17:16:36'::timestamp) - extract(epoch from '2026-06-12 17:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036125 -3.372674)'), GeomFromEWKT('SRID=4674;POINT (-39.036151 -3.372651)'))) / (select extract(epoch from '2026-06-12 17:16:36'::timestamp) - extract(epoch from '2026-06-12 17:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036165 -3.372629)', '2026-06-12 17:16:41', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036151 -3.372651)'), GeomFromEWKT('SRID=4674;POINT (-39.036165 -3.372629)'))) / (select extract(epoch from '2026-06-12 17:16:41'::timestamp) - extract(epoch from '2026-06-12 17:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036151 -3.372651)'), GeomFromEWKT('SRID=4674;POINT (-39.036165 -3.372629)'))) / (select extract(epoch from '2026-06-12 17:16:41'::timestamp) - extract(epoch from '2026-06-12 17:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036179 -3.372598)', '2026-06-12 17:16:48', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036165 -3.372629)'), GeomFromEWKT('SRID=4674;POINT (-39.036179 -3.372598)'))) / (select extract(epoch from '2026-06-12 17:16:48'::timestamp) - extract(epoch from '2026-06-12 17:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036165 -3.372629)'), GeomFromEWKT('SRID=4674;POINT (-39.036179 -3.372598)'))) / (select extract(epoch from '2026-06-12 17:16:48'::timestamp) - extract(epoch from '2026-06-12 17:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036198 -3.372571)', '2026-06-12 17:16:52', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036179 -3.372598)'), GeomFromEWKT('SRID=4674;POINT (-39.036198 -3.372571)'))) / (select extract(epoch from '2026-06-12 17:16:52'::timestamp) - extract(epoch from '2026-06-12 17:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036179 -3.372598)'), GeomFromEWKT('SRID=4674;POINT (-39.036198 -3.372571)'))) / (select extract(epoch from '2026-06-12 17:16:52'::timestamp) - extract(epoch from '2026-06-12 17:16:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036201 -3.372566)', '2026-06-12 17:16:54', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036198 -3.372571)'), GeomFromEWKT('SRID=4674;POINT (-39.036201 -3.372566)'))) / (select extract(epoch from '2026-06-12 17:16:54'::timestamp) - extract(epoch from '2026-06-12 17:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036198 -3.372571)'), GeomFromEWKT('SRID=4674;POINT (-39.036201 -3.372566)'))) / (select extract(epoch from '2026-06-12 17:16:54'::timestamp) - extract(epoch from '2026-06-12 17:16: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'), 46569, 'SRID=4674;POINT (-39.036229 -3.372539)', '2026-06-12 17:17:01', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036201 -3.372566)'), GeomFromEWKT('SRID=4674;POINT (-39.036229 -3.372539)'))) / (select extract(epoch from '2026-06-12 17:17:01'::timestamp) - extract(epoch from '2026-06-12 17:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036201 -3.372566)'), GeomFromEWKT('SRID=4674;POINT (-39.036229 -3.372539)'))) / (select extract(epoch from '2026-06-12 17:17:01'::timestamp) - extract(epoch from '2026-06-12 17:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036267 -3.372497)', '2026-06-12 17:17:07', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036229 -3.372539)'), GeomFromEWKT('SRID=4674;POINT (-39.036267 -3.372497)'))) / (select extract(epoch from '2026-06-12 17:17:07'::timestamp) - extract(epoch from '2026-06-12 17:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036229 -3.372539)'), GeomFromEWKT('SRID=4674;POINT (-39.036267 -3.372497)'))) / (select extract(epoch from '2026-06-12 17:17:07'::timestamp) - extract(epoch from '2026-06-12 17:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.0363 -3.372469)', '2026-06-12 17:17:13', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036267 -3.372497)'), GeomFromEWKT('SRID=4674;POINT (-39.0363 -3.372469)'))) / (select extract(epoch from '2026-06-12 17:17:13'::timestamp) - extract(epoch from '2026-06-12 17:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036267 -3.372497)'), GeomFromEWKT('SRID=4674;POINT (-39.0363 -3.372469)'))) / (select extract(epoch from '2026-06-12 17:17:13'::timestamp) - extract(epoch from '2026-06-12 17:17: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'), 46569, 'SRID=4674;POINT (-39.036319 -3.372443)', '2026-06-12 17:17:20', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0363 -3.372469)'), GeomFromEWKT('SRID=4674;POINT (-39.036319 -3.372443)'))) / (select extract(epoch from '2026-06-12 17:17:20'::timestamp) - extract(epoch from '2026-06-12 17:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0363 -3.372469)'), GeomFromEWKT('SRID=4674;POINT (-39.036319 -3.372443)'))) / (select extract(epoch from '2026-06-12 17:17:20'::timestamp) - extract(epoch from '2026-06-12 17:17: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'), 46569, 'SRID=4674;POINT (-39.036373 -3.3724)', '2026-06-12 17:17:31', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036319 -3.372443)'), GeomFromEWKT('SRID=4674;POINT (-39.036373 -3.3724)'))) / (select extract(epoch from '2026-06-12 17:17:31'::timestamp) - extract(epoch from '2026-06-12 17:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036319 -3.372443)'), GeomFromEWKT('SRID=4674;POINT (-39.036373 -3.3724)'))) / (select extract(epoch from '2026-06-12 17:17:31'::timestamp) - extract(epoch from '2026-06-12 17:17: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'), 46569, 'SRID=4674;POINT (-39.036434 -3.372329)', '2026-06-12 17:17:41', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036373 -3.3724)'), GeomFromEWKT('SRID=4674;POINT (-39.036434 -3.372329)'))) / (select extract(epoch from '2026-06-12 17:17:41'::timestamp) - extract(epoch from '2026-06-12 17:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036373 -3.3724)'), GeomFromEWKT('SRID=4674;POINT (-39.036434 -3.372329)'))) / (select extract(epoch from '2026-06-12 17:17:41'::timestamp) - extract(epoch from '2026-06-12 17:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036459 -3.372299)', '2026-06-12 17:17:46', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036434 -3.372329)'), GeomFromEWKT('SRID=4674;POINT (-39.036459 -3.372299)'))) / (select extract(epoch from '2026-06-12 17:17:46'::timestamp) - extract(epoch from '2026-06-12 17:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036434 -3.372329)'), GeomFromEWKT('SRID=4674;POINT (-39.036459 -3.372299)'))) / (select extract(epoch from '2026-06-12 17:17:46'::timestamp) - extract(epoch from '2026-06-12 17:17: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'), 46569, 'SRID=4674;POINT (-39.03647 -3.372261)', '2026-06-12 17:17:52', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036459 -3.372299)'), GeomFromEWKT('SRID=4674;POINT (-39.03647 -3.372261)'))) / (select extract(epoch from '2026-06-12 17:17:52'::timestamp) - extract(epoch from '2026-06-12 17:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036459 -3.372299)'), GeomFromEWKT('SRID=4674;POINT (-39.03647 -3.372261)'))) / (select extract(epoch from '2026-06-12 17:17:52'::timestamp) - extract(epoch from '2026-06-12 17:17: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'), 46569, 'SRID=4674;POINT (-39.036482 -3.37223)', '2026-06-12 17:17:59', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03647 -3.372261)'), GeomFromEWKT('SRID=4674;POINT (-39.036482 -3.37223)'))) / (select extract(epoch from '2026-06-12 17:17:59'::timestamp) - extract(epoch from '2026-06-12 17:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03647 -3.372261)'), GeomFromEWKT('SRID=4674;POINT (-39.036482 -3.37223)'))) / (select extract(epoch from '2026-06-12 17:17:59'::timestamp) - extract(epoch from '2026-06-12 17:17: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'), 46569, 'SRID=4674;POINT (-39.03649 -3.372208)', '2026-06-12 17:18:04', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036482 -3.37223)'), GeomFromEWKT('SRID=4674;POINT (-39.03649 -3.372208)'))) / (select extract(epoch from '2026-06-12 17:18:04'::timestamp) - extract(epoch from '2026-06-12 17:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036482 -3.37223)'), GeomFromEWKT('SRID=4674;POINT (-39.03649 -3.372208)'))) / (select extract(epoch from '2026-06-12 17:18:04'::timestamp) - extract(epoch from '2026-06-12 17:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036493 -3.372198)', '2026-06-12 17:18:06', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03649 -3.372208)'), GeomFromEWKT('SRID=4674;POINT (-39.036493 -3.372198)'))) / (select extract(epoch from '2026-06-12 17:18:06'::timestamp) - extract(epoch from '2026-06-12 17:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03649 -3.372208)'), GeomFromEWKT('SRID=4674;POINT (-39.036493 -3.372198)'))) / (select extract(epoch from '2026-06-12 17:18:06'::timestamp) - extract(epoch from '2026-06-12 17:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036506 -3.372183)', '2026-06-12 17:18:09', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036493 -3.372198)'), GeomFromEWKT('SRID=4674;POINT (-39.036506 -3.372183)'))) / (select extract(epoch from '2026-06-12 17:18:09'::timestamp) - extract(epoch from '2026-06-12 17:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036493 -3.372198)'), GeomFromEWKT('SRID=4674;POINT (-39.036506 -3.372183)'))) / (select extract(epoch from '2026-06-12 17:18:09'::timestamp) - extract(epoch from '2026-06-12 17:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036516 -3.372167)', '2026-06-12 17:18:11', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036506 -3.372183)'), GeomFromEWKT('SRID=4674;POINT (-39.036516 -3.372167)'))) / (select extract(epoch from '2026-06-12 17:18:11'::timestamp) - extract(epoch from '2026-06-12 17:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036506 -3.372183)'), GeomFromEWKT('SRID=4674;POINT (-39.036516 -3.372167)'))) / (select extract(epoch from '2026-06-12 17:18:11'::timestamp) - extract(epoch from '2026-06-12 17:18: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'), 46569, 'SRID=4674;POINT (-39.036534 -3.372141)', '2026-06-12 17:18:18', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036516 -3.372167)'), GeomFromEWKT('SRID=4674;POINT (-39.036534 -3.372141)'))) / (select extract(epoch from '2026-06-12 17:18:18'::timestamp) - extract(epoch from '2026-06-12 17:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036516 -3.372167)'), GeomFromEWKT('SRID=4674;POINT (-39.036534 -3.372141)'))) / (select extract(epoch from '2026-06-12 17:18:18'::timestamp) - extract(epoch from '2026-06-12 17:18:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036578 -3.372084)', '2026-06-12 17:18:29', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036534 -3.372141)'), GeomFromEWKT('SRID=4674;POINT (-39.036578 -3.372084)'))) / (select extract(epoch from '2026-06-12 17:18:29'::timestamp) - extract(epoch from '2026-06-12 17:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036534 -3.372141)'), GeomFromEWKT('SRID=4674;POINT (-39.036578 -3.372084)'))) / (select extract(epoch from '2026-06-12 17:18:29'::timestamp) - extract(epoch from '2026-06-12 17:18: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'), 46569, 'SRID=4674;POINT (-39.03663 -3.371991)', '2026-06-12 17:18:43', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036578 -3.372084)'), GeomFromEWKT('SRID=4674;POINT (-39.03663 -3.371991)'))) / (select extract(epoch from '2026-06-12 17:18:43'::timestamp) - extract(epoch from '2026-06-12 17:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036578 -3.372084)'), GeomFromEWKT('SRID=4674;POINT (-39.03663 -3.371991)'))) / (select extract(epoch from '2026-06-12 17:18:43'::timestamp) - extract(epoch from '2026-06-12 17:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036653 -3.371956)', '2026-06-12 17:18:52', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03663 -3.371991)'), GeomFromEWKT('SRID=4674;POINT (-39.036653 -3.371956)'))) / (select extract(epoch from '2026-06-12 17:18:52'::timestamp) - extract(epoch from '2026-06-12 17:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03663 -3.371991)'), GeomFromEWKT('SRID=4674;POINT (-39.036653 -3.371956)'))) / (select extract(epoch from '2026-06-12 17:18:52'::timestamp) - extract(epoch from '2026-06-12 17:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03666 -3.371951)', '2026-06-12 17:18:53', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036653 -3.371956)'), GeomFromEWKT('SRID=4674;POINT (-39.03666 -3.371951)'))) / (select extract(epoch from '2026-06-12 17:18:53'::timestamp) - extract(epoch from '2026-06-12 17:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036653 -3.371956)'), GeomFromEWKT('SRID=4674;POINT (-39.03666 -3.371951)'))) / (select extract(epoch from '2026-06-12 17:18:53'::timestamp) - extract(epoch from '2026-06-12 17:18: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'), 46569, 'SRID=4674;POINT (-39.036671 -3.371926)', '2026-06-12 17:18:58', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03666 -3.371951)'), GeomFromEWKT('SRID=4674;POINT (-39.036671 -3.371926)'))) / (select extract(epoch from '2026-06-12 17:18:58'::timestamp) - extract(epoch from '2026-06-12 17:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03666 -3.371951)'), GeomFromEWKT('SRID=4674;POINT (-39.036671 -3.371926)'))) / (select extract(epoch from '2026-06-12 17:18:58'::timestamp) - extract(epoch from '2026-06-12 17:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03669 -3.371882)', '2026-06-12 17:19:06', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036671 -3.371926)'), GeomFromEWKT('SRID=4674;POINT (-39.03669 -3.371882)'))) / (select extract(epoch from '2026-06-12 17:19:06'::timestamp) - extract(epoch from '2026-06-12 17:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036671 -3.371926)'), GeomFromEWKT('SRID=4674;POINT (-39.03669 -3.371882)'))) / (select extract(epoch from '2026-06-12 17:19:06'::timestamp) - extract(epoch from '2026-06-12 17:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036704 -3.371856)', '2026-06-12 17:19:11', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03669 -3.371882)'), GeomFromEWKT('SRID=4674;POINT (-39.036704 -3.371856)'))) / (select extract(epoch from '2026-06-12 17:19:11'::timestamp) - extract(epoch from '2026-06-12 17:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03669 -3.371882)'), GeomFromEWKT('SRID=4674;POINT (-39.036704 -3.371856)'))) / (select extract(epoch from '2026-06-12 17:19:11'::timestamp) - extract(epoch from '2026-06-12 17:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036713 -3.37185)', '2026-06-12 17:19:12', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036704 -3.371856)'), GeomFromEWKT('SRID=4674;POINT (-39.036713 -3.37185)'))) / (select extract(epoch from '2026-06-12 17:19:12'::timestamp) - extract(epoch from '2026-06-12 17:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036704 -3.371856)'), GeomFromEWKT('SRID=4674;POINT (-39.036713 -3.37185)'))) / (select extract(epoch from '2026-06-12 17:19:12'::timestamp) - extract(epoch from '2026-06-12 17:19: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'), 46569, 'SRID=4674;POINT (-39.036743 -3.371822)', '2026-06-12 17:19:17', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036713 -3.37185)'), GeomFromEWKT('SRID=4674;POINT (-39.036743 -3.371822)'))) / (select extract(epoch from '2026-06-12 17:19:17'::timestamp) - extract(epoch from '2026-06-12 17:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036713 -3.37185)'), GeomFromEWKT('SRID=4674;POINT (-39.036743 -3.371822)'))) / (select extract(epoch from '2026-06-12 17:19:17'::timestamp) - extract(epoch from '2026-06-12 17:19:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036766 -3.371799)', '2026-06-12 17:19:23', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036743 -3.371822)'), GeomFromEWKT('SRID=4674;POINT (-39.036766 -3.371799)'))) / (select extract(epoch from '2026-06-12 17:19:23'::timestamp) - extract(epoch from '2026-06-12 17:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036743 -3.371822)'), GeomFromEWKT('SRID=4674;POINT (-39.036766 -3.371799)'))) / (select extract(epoch from '2026-06-12 17:19:23'::timestamp) - extract(epoch from '2026-06-12 17:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036783 -3.371769)', '2026-06-12 17:19:29', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036766 -3.371799)'), GeomFromEWKT('SRID=4674;POINT (-39.036783 -3.371769)'))) / (select extract(epoch from '2026-06-12 17:19:29'::timestamp) - extract(epoch from '2026-06-12 17:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036766 -3.371799)'), GeomFromEWKT('SRID=4674;POINT (-39.036783 -3.371769)'))) / (select extract(epoch from '2026-06-12 17:19:29'::timestamp) - extract(epoch from '2026-06-12 17:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036805 -3.371746)', '2026-06-12 17:19:35', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036783 -3.371769)'), GeomFromEWKT('SRID=4674;POINT (-39.036805 -3.371746)'))) / (select extract(epoch from '2026-06-12 17:19:35'::timestamp) - extract(epoch from '2026-06-12 17:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036783 -3.371769)'), GeomFromEWKT('SRID=4674;POINT (-39.036805 -3.371746)'))) / (select extract(epoch from '2026-06-12 17:19:35'::timestamp) - extract(epoch from '2026-06-12 17:19: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'), 46569, 'SRID=4674;POINT (-39.036832 -3.371701)', '2026-06-12 17:19:45', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036805 -3.371746)'), GeomFromEWKT('SRID=4674;POINT (-39.036832 -3.371701)'))) / (select extract(epoch from '2026-06-12 17:19:45'::timestamp) - extract(epoch from '2026-06-12 17:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036805 -3.371746)'), GeomFromEWKT('SRID=4674;POINT (-39.036832 -3.371701)'))) / (select extract(epoch from '2026-06-12 17:19:45'::timestamp) - extract(epoch from '2026-06-12 17:19: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'), 46569, 'SRID=4674;POINT (-39.036866 -3.37162)', '2026-06-12 17:20:00', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036832 -3.371701)'), GeomFromEWKT('SRID=4674;POINT (-39.036866 -3.37162)'))) / (select extract(epoch from '2026-06-12 17:20:00'::timestamp) - extract(epoch from '2026-06-12 17:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036832 -3.371701)'), GeomFromEWKT('SRID=4674;POINT (-39.036866 -3.37162)'))) / (select extract(epoch from '2026-06-12 17:20:00'::timestamp) - extract(epoch from '2026-06-12 17:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036916 -3.371535)', '2026-06-12 17:20:13', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036866 -3.37162)'), GeomFromEWKT('SRID=4674;POINT (-39.036916 -3.371535)'))) / (select extract(epoch from '2026-06-12 17:20:13'::timestamp) - extract(epoch from '2026-06-12 17:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036866 -3.37162)'), GeomFromEWKT('SRID=4674;POINT (-39.036916 -3.371535)'))) / (select extract(epoch from '2026-06-12 17:20:13'::timestamp) - extract(epoch from '2026-06-12 17:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036952 -3.371484)', '2026-06-12 17:20:23', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036916 -3.371535)'), GeomFromEWKT('SRID=4674;POINT (-39.036952 -3.371484)'))) / (select extract(epoch from '2026-06-12 17:20:23'::timestamp) - extract(epoch from '2026-06-12 17:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036916 -3.371535)'), GeomFromEWKT('SRID=4674;POINT (-39.036952 -3.371484)'))) / (select extract(epoch from '2026-06-12 17:20:23'::timestamp) - extract(epoch from '2026-06-12 17:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.036972 -3.371415)', '2026-06-12 17:20:35', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036952 -3.371484)'), GeomFromEWKT('SRID=4674;POINT (-39.036972 -3.371415)'))) / (select extract(epoch from '2026-06-12 17:20:35'::timestamp) - extract(epoch from '2026-06-12 17:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036952 -3.371484)'), GeomFromEWKT('SRID=4674;POINT (-39.036972 -3.371415)'))) / (select extract(epoch from '2026-06-12 17:20:35'::timestamp) - extract(epoch from '2026-06-12 17:20:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037009 -3.371352)', '2026-06-12 17:20:47', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036972 -3.371415)'), GeomFromEWKT('SRID=4674;POINT (-39.037009 -3.371352)'))) / (select extract(epoch from '2026-06-12 17:20:47'::timestamp) - extract(epoch from '2026-06-12 17:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036972 -3.371415)'), GeomFromEWKT('SRID=4674;POINT (-39.037009 -3.371352)'))) / (select extract(epoch from '2026-06-12 17:20:47'::timestamp) - extract(epoch from '2026-06-12 17:20: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'), 46569, 'SRID=4674;POINT (-39.037042 -3.371319)', '2026-06-12 17:20:56', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037009 -3.371352)'), GeomFromEWKT('SRID=4674;POINT (-39.037042 -3.371319)'))) / (select extract(epoch from '2026-06-12 17:20:56'::timestamp) - extract(epoch from '2026-06-12 17:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037009 -3.371352)'), GeomFromEWKT('SRID=4674;POINT (-39.037042 -3.371319)'))) / (select extract(epoch from '2026-06-12 17:20:56'::timestamp) - extract(epoch from '2026-06-12 17:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037067 -3.371292)', '2026-06-12 17:21:03', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037042 -3.371319)'), GeomFromEWKT('SRID=4674;POINT (-39.037067 -3.371292)'))) / (select extract(epoch from '2026-06-12 17:21:03'::timestamp) - extract(epoch from '2026-06-12 17:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037042 -3.371319)'), GeomFromEWKT('SRID=4674;POINT (-39.037067 -3.371292)'))) / (select extract(epoch from '2026-06-12 17:21:03'::timestamp) - extract(epoch from '2026-06-12 17:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03708 -3.371253)', '2026-06-12 17:21:10', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037067 -3.371292)'), GeomFromEWKT('SRID=4674;POINT (-39.03708 -3.371253)'))) / (select extract(epoch from '2026-06-12 17:21:10'::timestamp) - extract(epoch from '2026-06-12 17:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037067 -3.371292)'), GeomFromEWKT('SRID=4674;POINT (-39.03708 -3.371253)'))) / (select extract(epoch from '2026-06-12 17:21:10'::timestamp) - extract(epoch from '2026-06-12 17:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037108 -3.371209)', '2026-06-12 17:21:17', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03708 -3.371253)'), GeomFromEWKT('SRID=4674;POINT (-39.037108 -3.371209)'))) / (select extract(epoch from '2026-06-12 17:21:17'::timestamp) - extract(epoch from '2026-06-12 17:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03708 -3.371253)'), GeomFromEWKT('SRID=4674;POINT (-39.037108 -3.371209)'))) / (select extract(epoch from '2026-06-12 17:21:17'::timestamp) - extract(epoch from '2026-06-12 17:21: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'), 46569, 'SRID=4674;POINT (-39.037132 -3.371167)', '2026-06-12 17:21:24', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037108 -3.371209)'), GeomFromEWKT('SRID=4674;POINT (-39.037132 -3.371167)'))) / (select extract(epoch from '2026-06-12 17:21:24'::timestamp) - extract(epoch from '2026-06-12 17:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037108 -3.371209)'), GeomFromEWKT('SRID=4674;POINT (-39.037132 -3.371167)'))) / (select extract(epoch from '2026-06-12 17:21:24'::timestamp) - extract(epoch from '2026-06-12 17:21: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'), 46569, 'SRID=4674;POINT (-39.037152 -3.371133)', '2026-06-12 17:21:31', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037132 -3.371167)'), GeomFromEWKT('SRID=4674;POINT (-39.037152 -3.371133)'))) / (select extract(epoch from '2026-06-12 17:21:31'::timestamp) - extract(epoch from '2026-06-12 17:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037132 -3.371167)'), GeomFromEWKT('SRID=4674;POINT (-39.037152 -3.371133)'))) / (select extract(epoch from '2026-06-12 17:21:31'::timestamp) - extract(epoch from '2026-06-12 17:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037179 -3.371102)', '2026-06-12 17:21:37', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037152 -3.371133)'), GeomFromEWKT('SRID=4674;POINT (-39.037179 -3.371102)'))) / (select extract(epoch from '2026-06-12 17:21:37'::timestamp) - extract(epoch from '2026-06-12 17:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037152 -3.371133)'), GeomFromEWKT('SRID=4674;POINT (-39.037179 -3.371102)'))) / (select extract(epoch from '2026-06-12 17:21:37'::timestamp) - extract(epoch from '2026-06-12 17:21:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037185 -3.371066)', '2026-06-12 17:21:44', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037179 -3.371102)'), GeomFromEWKT('SRID=4674;POINT (-39.037185 -3.371066)'))) / (select extract(epoch from '2026-06-12 17:21:44'::timestamp) - extract(epoch from '2026-06-12 17:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037179 -3.371102)'), GeomFromEWKT('SRID=4674;POINT (-39.037185 -3.371066)'))) / (select extract(epoch from '2026-06-12 17:21:44'::timestamp) - extract(epoch from '2026-06-12 17:21: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'), 46569, 'SRID=4674;POINT (-39.037217 -3.370999)', '2026-06-12 17:21:59', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037185 -3.371066)'), GeomFromEWKT('SRID=4674;POINT (-39.037217 -3.370999)'))) / (select extract(epoch from '2026-06-12 17:21:59'::timestamp) - extract(epoch from '2026-06-12 17:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037185 -3.371066)'), GeomFromEWKT('SRID=4674;POINT (-39.037217 -3.370999)'))) / (select extract(epoch from '2026-06-12 17:21:59'::timestamp) - extract(epoch from '2026-06-12 17:21: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'), 46569, 'SRID=4674;POINT (-39.037255 -3.370937)', '2026-06-12 17:22:10', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037217 -3.370999)'), GeomFromEWKT('SRID=4674;POINT (-39.037255 -3.370937)'))) / (select extract(epoch from '2026-06-12 17:22:10'::timestamp) - extract(epoch from '2026-06-12 17:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037217 -3.370999)'), GeomFromEWKT('SRID=4674;POINT (-39.037255 -3.370937)'))) / (select extract(epoch from '2026-06-12 17:22:10'::timestamp) - extract(epoch from '2026-06-12 17:21: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'), 46569, 'SRID=4674;POINT (-39.037291 -3.37087)', '2026-06-12 17:22:21', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037255 -3.370937)'), GeomFromEWKT('SRID=4674;POINT (-39.037291 -3.37087)'))) / (select extract(epoch from '2026-06-12 17:22:21'::timestamp) - extract(epoch from '2026-06-12 17:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037255 -3.370937)'), GeomFromEWKT('SRID=4674;POINT (-39.037291 -3.37087)'))) / (select extract(epoch from '2026-06-12 17:22:21'::timestamp) - extract(epoch from '2026-06-12 17:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037331 -3.370792)', '2026-06-12 17:22:33', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037291 -3.37087)'), GeomFromEWKT('SRID=4674;POINT (-39.037331 -3.370792)'))) / (select extract(epoch from '2026-06-12 17:22:33'::timestamp) - extract(epoch from '2026-06-12 17:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037291 -3.37087)'), GeomFromEWKT('SRID=4674;POINT (-39.037331 -3.370792)'))) / (select extract(epoch from '2026-06-12 17:22:33'::timestamp) - extract(epoch from '2026-06-12 17:22: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'), 46569, 'SRID=4674;POINT (-39.037367 -3.37075)', '2026-06-12 17:22:40', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037331 -3.370792)'), GeomFromEWKT('SRID=4674;POINT (-39.037367 -3.37075)'))) / (select extract(epoch from '2026-06-12 17:22:40'::timestamp) - extract(epoch from '2026-06-12 17:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037331 -3.370792)'), GeomFromEWKT('SRID=4674;POINT (-39.037367 -3.37075)'))) / (select extract(epoch from '2026-06-12 17:22:40'::timestamp) - extract(epoch from '2026-06-12 17:22: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'), 46569, 'SRID=4674;POINT (-39.037401 -3.370713)', '2026-06-12 17:22:47', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037367 -3.37075)'), GeomFromEWKT('SRID=4674;POINT (-39.037401 -3.370713)'))) / (select extract(epoch from '2026-06-12 17:22:47'::timestamp) - extract(epoch from '2026-06-12 17:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037367 -3.37075)'), GeomFromEWKT('SRID=4674;POINT (-39.037401 -3.370713)'))) / (select extract(epoch from '2026-06-12 17:22:47'::timestamp) - extract(epoch from '2026-06-12 17:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037423 -3.370692)', '2026-06-12 17:22:53', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037401 -3.370713)'), GeomFromEWKT('SRID=4674;POINT (-39.037423 -3.370692)'))) / (select extract(epoch from '2026-06-12 17:22:53'::timestamp) - extract(epoch from '2026-06-12 17:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037401 -3.370713)'), GeomFromEWKT('SRID=4674;POINT (-39.037423 -3.370692)'))) / (select extract(epoch from '2026-06-12 17:22:53'::timestamp) - extract(epoch from '2026-06-12 17:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037436 -3.370685)', '2026-06-12 17:22:55', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037423 -3.370692)'), GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.370685)'))) / (select extract(epoch from '2026-06-12 17:22:55'::timestamp) - extract(epoch from '2026-06-12 17:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037423 -3.370692)'), GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.370685)'))) / (select extract(epoch from '2026-06-12 17:22:55'::timestamp) - extract(epoch from '2026-06-12 17:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03745 -3.370669)', '2026-06-12 17:22:58', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.370685)'), GeomFromEWKT('SRID=4674;POINT (-39.03745 -3.370669)'))) / (select extract(epoch from '2026-06-12 17:22:58'::timestamp) - extract(epoch from '2026-06-12 17:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.370685)'), GeomFromEWKT('SRID=4674;POINT (-39.03745 -3.370669)'))) / (select extract(epoch from '2026-06-12 17:22:58'::timestamp) - extract(epoch from '2026-06-12 17:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037474 -3.370636)', '2026-06-12 17:23:05', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03745 -3.370669)'), GeomFromEWKT('SRID=4674;POINT (-39.037474 -3.370636)'))) / (select extract(epoch from '2026-06-12 17:23:05'::timestamp) - extract(epoch from '2026-06-12 17:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03745 -3.370669)'), GeomFromEWKT('SRID=4674;POINT (-39.037474 -3.370636)'))) / (select extract(epoch from '2026-06-12 17:23:05'::timestamp) - extract(epoch from '2026-06-12 17:22:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037505 -3.370607)', '2026-06-12 17:23:11', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037474 -3.370636)'), GeomFromEWKT('SRID=4674;POINT (-39.037505 -3.370607)'))) / (select extract(epoch from '2026-06-12 17:23:11'::timestamp) - extract(epoch from '2026-06-12 17:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037474 -3.370636)'), GeomFromEWKT('SRID=4674;POINT (-39.037505 -3.370607)'))) / (select extract(epoch from '2026-06-12 17:23:11'::timestamp) - extract(epoch from '2026-06-12 17:23: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'), 46569, 'SRID=4674;POINT (-39.037523 -3.370575)', '2026-06-12 17:23:17', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037505 -3.370607)'), GeomFromEWKT('SRID=4674;POINT (-39.037523 -3.370575)'))) / (select extract(epoch from '2026-06-12 17:23:17'::timestamp) - extract(epoch from '2026-06-12 17:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037505 -3.370607)'), GeomFromEWKT('SRID=4674;POINT (-39.037523 -3.370575)'))) / (select extract(epoch from '2026-06-12 17:23:17'::timestamp) - extract(epoch from '2026-06-12 17:23: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'), 46569, 'SRID=4674;POINT (-39.037551 -3.370535)', '2026-06-12 17:23:25', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037523 -3.370575)'), GeomFromEWKT('SRID=4674;POINT (-39.037551 -3.370535)'))) / (select extract(epoch from '2026-06-12 17:23:25'::timestamp) - extract(epoch from '2026-06-12 17:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037523 -3.370575)'), GeomFromEWKT('SRID=4674;POINT (-39.037551 -3.370535)'))) / (select extract(epoch from '2026-06-12 17:23:25'::timestamp) - extract(epoch from '2026-06-12 17:23: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'), 46569, 'SRID=4674;POINT (-39.037572 -3.370515)', '2026-06-12 17:23:31', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037551 -3.370535)'), GeomFromEWKT('SRID=4674;POINT (-39.037572 -3.370515)'))) / (select extract(epoch from '2026-06-12 17:23:31'::timestamp) - extract(epoch from '2026-06-12 17:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037551 -3.370535)'), GeomFromEWKT('SRID=4674;POINT (-39.037572 -3.370515)'))) / (select extract(epoch from '2026-06-12 17:23:31'::timestamp) - extract(epoch from '2026-06-12 17:23: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'), 46569, 'SRID=4674;POINT (-39.037594 -3.370487)', '2026-06-12 17:23:36', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037572 -3.370515)'), GeomFromEWKT('SRID=4674;POINT (-39.037594 -3.370487)'))) / (select extract(epoch from '2026-06-12 17:23:36'::timestamp) - extract(epoch from '2026-06-12 17:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037572 -3.370515)'), GeomFromEWKT('SRID=4674;POINT (-39.037594 -3.370487)'))) / (select extract(epoch from '2026-06-12 17:23:36'::timestamp) - extract(epoch from '2026-06-12 17:23: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'), 46569, 'SRID=4674;POINT (-39.0376 -3.37048)', '2026-06-12 17:23:37', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037594 -3.370487)'), GeomFromEWKT('SRID=4674;POINT (-39.0376 -3.37048)'))) / (select extract(epoch from '2026-06-12 17:23:37'::timestamp) - extract(epoch from '2026-06-12 17:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037594 -3.370487)'), GeomFromEWKT('SRID=4674;POINT (-39.0376 -3.37048)'))) / (select extract(epoch from '2026-06-12 17:23:37'::timestamp) - extract(epoch from '2026-06-12 17:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03763 -3.37043)', '2026-06-12 17:23:44', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0376 -3.37048)'), GeomFromEWKT('SRID=4674;POINT (-39.03763 -3.37043)'))) / (select extract(epoch from '2026-06-12 17:23:44'::timestamp) - extract(epoch from '2026-06-12 17:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0376 -3.37048)'), GeomFromEWKT('SRID=4674;POINT (-39.03763 -3.37043)'))) / (select extract(epoch from '2026-06-12 17:23:44'::timestamp) - extract(epoch from '2026-06-12 17:23: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'), 46569, 'SRID=4674;POINT (-39.037643 -3.370396)', '2026-06-12 17:23:50', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03763 -3.37043)'), GeomFromEWKT('SRID=4674;POINT (-39.037643 -3.370396)'))) / (select extract(epoch from '2026-06-12 17:23:50'::timestamp) - extract(epoch from '2026-06-12 17:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03763 -3.37043)'), GeomFromEWKT('SRID=4674;POINT (-39.037643 -3.370396)'))) / (select extract(epoch from '2026-06-12 17:23:50'::timestamp) - extract(epoch from '2026-06-12 17:23: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'), 46569, 'SRID=4674;POINT (-39.037655 -3.370371)', '2026-06-12 17:23:54', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037643 -3.370396)'), GeomFromEWKT('SRID=4674;POINT (-39.037655 -3.370371)'))) / (select extract(epoch from '2026-06-12 17:23:54'::timestamp) - extract(epoch from '2026-06-12 17:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037643 -3.370396)'), GeomFromEWKT('SRID=4674;POINT (-39.037655 -3.370371)'))) / (select extract(epoch from '2026-06-12 17:23:54'::timestamp) - extract(epoch from '2026-06-12 17:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037661 -3.370355)', '2026-06-12 17:23:56', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037655 -3.370371)'), GeomFromEWKT('SRID=4674;POINT (-39.037661 -3.370355)'))) / (select extract(epoch from '2026-06-12 17:23:56'::timestamp) - extract(epoch from '2026-06-12 17:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037655 -3.370371)'), GeomFromEWKT('SRID=4674;POINT (-39.037661 -3.370355)'))) / (select extract(epoch from '2026-06-12 17:23:56'::timestamp) - extract(epoch from '2026-06-12 17:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03769 -3.370313)', '2026-06-12 17:24:03', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037661 -3.370355)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.370313)'))) / (select extract(epoch from '2026-06-12 17:24:03'::timestamp) - extract(epoch from '2026-06-12 17:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037661 -3.370355)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.370313)'))) / (select extract(epoch from '2026-06-12 17:24:03'::timestamp) - extract(epoch from '2026-06-12 17:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037721 -3.370288)', '2026-06-12 17:24:10', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.370313)'), GeomFromEWKT('SRID=4674;POINT (-39.037721 -3.370288)'))) / (select extract(epoch from '2026-06-12 17:24:10'::timestamp) - extract(epoch from '2026-06-12 17:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.370313)'), GeomFromEWKT('SRID=4674;POINT (-39.037721 -3.370288)'))) / (select extract(epoch from '2026-06-12 17:24:10'::timestamp) - extract(epoch from '2026-06-12 17:24:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037729 -3.370276)', '2026-06-12 17:24:13', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037721 -3.370288)'), GeomFromEWKT('SRID=4674;POINT (-39.037729 -3.370276)'))) / (select extract(epoch from '2026-06-12 17:24:13'::timestamp) - extract(epoch from '2026-06-12 17:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037721 -3.370288)'), GeomFromEWKT('SRID=4674;POINT (-39.037729 -3.370276)'))) / (select extract(epoch from '2026-06-12 17:24:13'::timestamp) - extract(epoch from '2026-06-12 17:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037737 -3.370265)', '2026-06-12 17:24:16', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037729 -3.370276)'), GeomFromEWKT('SRID=4674;POINT (-39.037737 -3.370265)'))) / (select extract(epoch from '2026-06-12 17:24:16'::timestamp) - extract(epoch from '2026-06-12 17:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037729 -3.370276)'), GeomFromEWKT('SRID=4674;POINT (-39.037737 -3.370265)'))) / (select extract(epoch from '2026-06-12 17:24:16'::timestamp) - extract(epoch from '2026-06-12 17:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
