Diff of /contrib/brl/bbas/volm/pro/processes/volm_create_satellite_site_process.cxx [ea7dfe] .. [229cdb]  Maximize  Restore

Switch to unified view

a/contrib/brl/bbas/volm/pro/processes/volm_create_satellite_site_process.cxx b/contrib/brl/bbas/volm/pro/processes/volm_create_satellite_site_process.cxx
...
...
338
  vcl_string sat_name = pro.get_input<vcl_string>(6);
338
  vcl_string sat_name = pro.get_input<vcl_string>(6);
339
  vcl_string non_cloud_folder = pro.get_input<vcl_string>(7);
339
  vcl_string non_cloud_folder = pro.get_input<vcl_string>(7);
340
  vcl_string out_folder = pro.get_input<vcl_string>(8);
340
  vcl_string out_folder = pro.get_input<vcl_string>(8);
341
  // obtain resources having given band that overlap with current region
341
  // obtain resources having given band that overlap with current region
342
  vcl_vector<unsigned> ids;
342
  vcl_vector<unsigned> ids;
343
  res->query(lower_left_lon, lower_left_lat, upper_right_lon, upper_right_lat, band, ids);
343
  res->query(lower_left_lon, lower_left_lat, upper_right_lon, upper_right_lat, band, ids,10.0);
344
  // map of resources that have given band and sat_name, sorted by the view angle
344
  // map of resources that have given band and sat_name, sorted by the view angle
345
  vcl_map<double, unsigned, std::greater<double> > band_res;
345
  vcl_map<double, unsigned, std::greater<double> > band_res;
346
  for (unsigned i = 0; i < ids.size(); i++)
346
  for (unsigned i = 0; i < ids.size(); i++)
347
    if (res->resources_[ids[i]].meta_->satellite_name_.compare(sat_name) == 0)
347
    if (res->resources_[ids[i]].meta_->satellite_name_.compare(sat_name) == 0)
348
      band_res.insert(vcl_pair<double, unsigned>(res->resources_[ids[i]].meta_->view_elevation_, ids[i]));
348
      band_res.insert(vcl_pair<double, unsigned>(res->resources_[ids[i]].meta_->view_elevation_, ids[i]));

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks