Professional Applications Programmers/Consultants برمجة واستشارات تطبيقات الإنترنت
Skip Navigation LinksHome » Code Library » Feature

Public general use code classes and xml files that we've compiled and used over the years:

Feature Support class for TentPlay entity data

   1:  using System;
   2:  using System.Collections.Generic;
   3:  using System.Linq;
   4:  using System.Text;
   5:  using System.Data;
   6:  using System.Data.Entity;
   7:  using System.IO;
   8:  using System.Collections;
   9:  using System.Text.RegularExpressions;
  10:   
  11:  namespace Ia.TentPlay.Cl.Model.Data.Trek
  12:  {
  13:      ////////////////////////////////////////////////////////////////////////////
  14:   
  15:      /// <summary publish="true">
  16:      /// Feature Support class for TentPlay entity data
  17:      /// </summary>
  18:      /// 
  19:      /// <remarks> 
  20:      /// Copyright © 2006-2017 Jasem Y. Al-Shamlan (info@ia.com.kw), Internet Applications - Kuwait. All Rights Reserved.
  21:      ///
  22:      /// This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
  23:      /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  24:      ///
  25:      /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  26:      /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  27:      /// 
  28:      /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
  29:      /// 
  30:      /// Copyright notice: This notice may not be removed or altered from any source distribution.
  31:      /// </remarks> 
  32:      public class Feature
  33:      {
  34:          ////////////////////////////////////////////////////////////////////////////
  35:   
  36:          /// <summary>
  37:          ///
  38:          /// </summary>
  39:          public static void DeleteTruncateTableFromDatabase(out Ia.Cl.Model.Result result)
  40:          {
  41:              int count;
  42:              Ia.Cl.Model.Db.SqlServer sqlServer;
  43:   
  44:              result = new Ia.Cl.Model.Result();
  45:              sqlServer = new Ia.Cl.Model.Db.SqlServer();
  46:   
  47:              count = sqlServer.ScalarInteger("select count(0) from Features");
  48:   
  49:              sqlServer.Truncate("Features");
  50:   
  51:              result.AddSuccess("Deleted row count: " + count + ". ");
  52:   
  53:              /*
  54:              using (var db = new Ia.TentPlay.Db.Trek())
  55:              {
  56:                  if (db.Database.Exists())
  57:                  {
  58:  
  59:                      // below: first will delete all current records
  60:                      var all = from c in db.Features select c;
  61:                      db.Features.RemoveRange(all);
  62:                      db.SaveChanges();
  63:                  }
  64:  
  65:                  db.SaveChanges();
  66:              }
  67:              */
  68:          }
  69:   
  70:          ////////////////////////////////////////////////////////////////////////////
  71:   
  72:          /// <summary>
  73:          ///
  74:          /// </summary>
  75:          public static void DownloadAndUnzipAndInsertIntoDatabase(Ia.Cl.Model.Country country, out Ia.Cl.Model.Result result)
  76:          {
  77:              string extractedFile;
  78:   
  79:              result = new Ia.Cl.Model.Result();
  80:   
  81:              if (country.Iso2 != null)
  82:              {
  83:                  Ia.TentPlay.Cl.Model.Business.Trek.Default.DownloadNgaGnsCountryZipFileAndExtractAndSaveIt(country.Fips.ToLower(), out extractedFile);
  84:   
  85:                  if (File.Exists(extractedFile))
  86:                  {
  87:                      ProcessCountryFileToFeatureList(country.Iso2.ToLower(), extractedFile, out result);
  88:   
  89:                      File.Delete(extractedFile);
  90:                  }
  91:                  else
  92:                  {
  93:                      result.AddError("Extracted file does not exist. ");
  94:                  }
  95:              }
  96:              else
  97:              {
  98:                  result.AddError("Could not produce iso2. ");
  99:              }
 100:          }
 101:   
 102:          ////////////////////////////////////////////////////////////////////////////
 103:   
 104:          /// <summary>
 105:          ///
 106:          /// </summary>
 107:          public static void ProcessCountryFileToFeatureList(string featureFileNameIso2, string file, out Ia.Cl.Model.Result result)
 108:          {
 109:              bool isUsFile;
 110:              int geoNameId, UFI, UNI, recordCount, storeRecordCount, lineCount;
 111:              string[] fileLines;
 112:              Dictionary<int, Ia.TentPlay.Cl.Model.Business.Trek.Feature> featureDictionary;
 113:              Dictionary<int, bool> uniIsInfeatureNameListDictionary;
 114:              MatchCollection matchCollection;
 115:              FileInfo fileInfo;
 116:              Ia.Cl.Model.Result result1, result2;
 117:              Ia.Cl.Model.Country country;
 118:              Ia.Cl.Model.Language language;
 119:              Ia.TentPlay.Cl.Model.Business.Trek.Feature feature;
 120:              Ia.TentPlay.Cl.Model.Business.Trek.FeatureName featureName;
 121:   
 122:              result = new Ia.Cl.Model.Result();
 123:              language = new Ia.Cl.Model.Language();
 124:   
 125:              fileInfo = null;
 126:   
 127:              isUsFile = featureFileNameIso2 == "us";
 128:   
 129:              country = (from c in Ia.Cl.Model.Country.List where c.Iso2.ToLower() == featureFileNameIso2 select c).SingleOrDefault();
 130:   
 131:              if (country != null)
 132:              {
 133:                  Ia.TentPlay.Cl.Model.Data.Trek.Feature.Delete(country.Iso2.ToLower(), out result);
 134:   
 135:                  if (!result.HasError)
 136:                  {
 137:                      if (File.Exists(file))
 138:                      {
 139:                          fileInfo = new FileInfo(file);
 140:   
 141:                          recordCount = 0;
 142:                          lineCount = 0;
 143:   
 144:                          featureDictionary = new Dictionary<int, Ia.TentPlay.Cl.Model.Business.Trek.Feature>();
 145:                          uniIsInfeatureNameListDictionary = new Dictionary<int, bool>();
 146:   
 147:                          fileLines = File.ReadAllLines(file);
 148:   
 149:                          foreach (string line in fileLines)
 150:                          {
 151:                              lineCount++;
 152:   
 153:                              if (!string.IsNullOrEmpty(line))
 154:                              {
 155:                                  //line += "\t"; // to match the last item
 156:   
 157:                                  if (isUsFile)
 158:                                  {
 159:                                      // USA file only
 160:   
 161:                                      matchCollection = Regex.Matches(line, @"(.*?)\t");
 162:                                      // 2130833    McArthur Reef    McArthur Reef        52.06667    177.86667    U    RFU    US        AK    016            0        -9999    Asia/Kamchatka    2016-07-05
 163:   
 164:                                      // US record don't have multiple feature names for every feature. I will use this to lower pressure on hashtables and avoid an Out of Memory errors.
 165:                                      if (matchCollection.Count > 0)
 166:                                      {
 167:                                          if (int.TryParse(matchCollection[0].Groups[1].Value.Trim(), out geoNameId))
 168:                                          {
 169:                                              feature = new Ia.TentPlay.Cl.Model.Business.Trek.Feature();
 170:                                              //featureName = new Ia.TentPlay.Cl.Model.Business.FeatureName();
 171:                                              //feature.FeatureNames = new List<Ia.TentPlay.Cl.Model.Business.FeatureName>();
 172:   
 173:                                              feature.UFI = geoNameId;
 174:                                              feature.LAT = decimal.Parse(matchCollection[4].Groups[1].Value);
 175:                                              feature.LONG = decimal.Parse(matchCollection[5].Groups[1].Value);
 176:                                              feature.FC = matchCollection[6].Groups[1].Value;
 177:                                              feature.DSG = matchCollection[7].Groups[1].Value;
 178:                                              feature.CC1 = matchCollection[8].Groups[1].Value;
 179:   
 180:                                              //featureName.UNI = geoNameId;
 181:                                              //featureName.FULL_NAME_RO = matchCollection[1].Groups[1].Value;
 182:   
 183:                                              //featureName.Feature = feature; // featureDictionary[geoNameId]; // much faster
 184:   
 185:                                              //if (featureName.Feature != null) featureName.Feature.FeatureNames.Add(featureName);
 186:   
 187:                                              feature.UsFeatureName = matchCollection[1].Groups[1].Value;
 188:   
 189:                                              // ??
 190:                                              feature.UsFeatureNoDiacriticLowerCaseName = matchCollection[2].Groups[1].Value.ToLower(); ;
 191:                                              feature.UsFeatureNativeName = matchCollection[2].Groups[1].Value; ;
 192:   
 193:                                              featureDictionary[feature.UFI] = feature;
 194:                                          }
 195:                                      }
 196:                                  }
 197:                                  else
 198:                                  {
 199:                                      // other countries' files
 200:   
 201:                                      matchCollection = Regex.Matches(line, @"(.*?)\t");
 202:   
 203:                                      if (lineCount > 1 && matchCollection.Count > 0)
 204:                                      {
 205:                                          UFI = int.Parse(matchCollection[1].Groups[1].Value.Trim());
 206:                                          UNI = int.Parse(matchCollection[2].Groups[1].Value.Trim());
 207:   
 208:                                          if (!featureDictionary.ContainsKey(UFI))
 209:                                          {
 210:                                              feature = new Ia.TentPlay.Cl.Model.Business.Trek.Feature();
 211:                                              feature.RC = int.Parse(matchCollection[0].Groups[1].Value);
 212:                                              feature.UFI = UFI;
 213:                                              feature.LAT = decimal.Parse(matchCollection[3].Groups[1].Value);
 214:                                              feature.LONG = decimal.Parse(matchCollection[4].Groups[1].Value);
 215:                                              feature.FC = matchCollection[9].Groups[1].Value;
 216:                                              feature.DSG = matchCollection[10].Groups[1].Value;
 217:                                              feature.CC1 = matchCollection[12].Groups[1].Value;
 218:   
 219:                                              feature.FeatureNames = new List<Ia.TentPlay.Cl.Model.Business.Trek.FeatureName>();
 220:   
 221:                                              featureDictionary[feature.UFI] = feature;
 222:                                          }
 223:   
 224:                                          if (!uniIsInfeatureNameListDictionary.ContainsKey(UNI))
 225:                                          {
 226:                                              featureName = new Ia.TentPlay.Cl.Model.Business.Trek.FeatureName();
 227:                                              featureName.UNI = UNI;
 228:                                              featureName.UFI = UFI;
 229:                                              featureName.NT = matchCollection[17].Groups[1].Value;
 230:                                              featureName.FULL_NAME_RO = matchCollection[22].Groups[1].Value;
 231:                                              featureName.FULL_NAME_ND_RO = matchCollection[23].Groups[1].Value;
 232:   
 233:                                              featureName.Feature = featureDictionary[UFI]; // much faster
 234:   
 235:                                              if (featureName.Feature != null) featureName.Feature.FeatureNames.Add(featureName);
 236:   
 237:                                              uniIsInfeatureNameListDictionary[UNI] = true;
 238:                                          }
 239:                                      }
 240:                                  }
 241:                              }
 242:   
 243:                              // below: if we hit n lines count we will clear save into database then clear values, then continue
 244:                              if (lineCount % 100000 == 0)
 245:                              {
 246:                                  ///result.AddSuccess(lineCount + " lines read. ");
 247:   
 248:                                  Store(ref featureDictionary, country, out storeRecordCount, out result1);
 249:                                  //result.AddResult(result1);
 250:   
 251:                                  recordCount += storeRecordCount;
 252:   
 253:                                  featureDictionary.Clear();
 254:                                  uniIsInfeatureNameListDictionary.Clear();
 255:                              }
 256:                          }
 257:   
 258:                          // final store when the function exists
 259:                          Store(ref featureDictionary, country, out storeRecordCount, out result2);
 260:   
 261:                          result.AddResult(result2);
 262:   
 263:                          recordCount += storeRecordCount;
 264:   
 265:                          if (!result.HasError)
 266:                          {
 267:                              result.AddSuccess(lineCount + " lines read from " + country.Iso2.ToLower() + ".txt file with " + recordCount + " new record(s) inserted. ");
 268:                          }
 269:                          else result.AddResult(result2);
 270:                      }
 271:                      else
 272:                      {
 273:                          result.AddError("File does not exist. ");
 274:                      }
 275:                  }
 276:                  else
 277:                  {
 278:                      result.AddError("Could not delete " + country.Iso2.ToLower() + " datatable. ");
 279:                  }
 280:              }
 281:              else
 282:              {
 283:                  result.AddError("Country is null for file " + featureFileNameIso2 + ". ");
 284:              }
 285:          }
 286:   
 287:          ////////////////////////////////////////////////////////////////////////////
 288:   
 289:          /// <summary>
 290:          ///
 291:          /// </summary>
 292:          private static void Store(ref Dictionary<int, Ia.TentPlay.Cl.Model.Business.Trek.Feature> featureDictionary, Ia.Cl.Model.Country country, out int recordCount, out Ia.Cl.Model.Result result)
 293:          {
 294:              bool isUsFile;
 295:              string featureNameCountryIso2;
 296:              DataTable dataTable;
 297:              Ia.TentPlay.Cl.Model.Business.Trek.Feature feature;
 298:              Ia.TentPlay.Cl.Model.Business.Trek.FeatureName featureName, featureNativeName;
 299:              Ia.TentPlay.Cl.Model.Trek.Feature feature2;
 300:              Ia.Cl.Model.Db.SqlServer sqlServer;
 301:              Ia.Cl.Model.Geography.Location countryCapitalLocation, trekLocation;
 302:              List<string> allowedFeatureDesignationCodeList, featuresIdList, searchSubstringList;
 303:              List<Ia.TentPlay.Cl.Model.Trek.FeatureDesignation> featureDesignationCodesList;
 304:              List<Ia.TentPlay.Cl.Model.Trek.Feature> countryFeatureList;
 305:   
 306:              result = new Ia.Cl.Model.Result();
 307:              sqlServer = new Ia.Cl.Model.Db.SqlServer();
 308:              countryFeatureList = new List<Ia.TentPlay.Cl.Model.Trek.Feature>();
 309:   
 310:              countryCapitalLocation = new Ia.Cl.Model.Geography.Location(country.CapitalLatitude, country.CapitalLongitude);
 311:   
 312:              isUsFile = country.Iso2.ToLower() == "us";
 313:   
 314:              allowedFeatureDesignationCodeList = Ia.TentPlay.Cl.Model.Business.Trek.Default.AllowedFeatureDesignationList(country.Iso2.ToLower());
 315:   
 316:              using (var db = new Ia.TentPlay.Db.Trek())
 317:              {
 318:                  recordCount = 0;
 319:   
 320:                  featureDesignationCodesList = (from nfdc in db.FeatureDesignations select nfdc).ToList();
 321:   
 322:                  if (featureDesignationCodesList.Count != 0)
 323:                  {
 324:                      featuresIdList = (from f in db.Features where f.Country == country.Iso2.ToLower() select f.Id).ToList();
 325:   
 326:                      foreach (KeyValuePair<int, Ia.TentPlay.Cl.Model.Business.Trek.Feature> kvp in featureDictionary)
 327:                      {
 328:                          feature = kvp.Value;
 329:   
 330:                          if (allowedFeatureDesignationCodeList.Contains(feature.DSG))
 331:                          {
 332:                              // below: we loop through all countries in designation
 333:                              string[] cc1CountryList = feature.CC1.Split(',');
 334:   
 335:                              foreach (string cc1Country in cc1CountryList)
 336:                              {
 337:                                  featureNameCountryIso2 = Ia.Cl.Model.Country.Iso2FromFips(cc1Country);
 338:   
 339:                                  if (featureNameCountryIso2 != null)
 340:                                  {
 341:                                      featureNameCountryIso2 = featureNameCountryIso2.ToLower();
 342:   
 343:                                      if (isUsFile)
 344:                                      {
 345:                                          feature2 = new Ia.TentPlay.Cl.Model.Trek.Feature();
 346:   
 347:                                          feature2.Id = country.Iso2.ToLower() + "." + feature.UFI.ToString() + "." + featureNameCountryIso2;
 348:                                          feature2.Latitude = (double)feature.LAT;
 349:                                          feature2.Longitude = (double)feature.LONG;
 350:   
 351:                                          trekLocation = new Ia.Cl.Model.Geography.Location(feature2.Latitude, feature2.Longitude);
 352:                                          feature2.DistanceToCapital = (int)countryCapitalLocation.GetDistanceTo(trekLocation);
 353:   
 354:                                          feature2.CMap = Ia.Cl.Model.Geography.Location.ReturnCMapValueForResolutionAndCoordinates(1, (double)feature.LAT, (double)feature.LONG);
 355:                                          feature2.Class = feature.FC.Substring(0, 1); // take only the first letter "A - administrative ..."
 356:                                          feature2.Designation = (from nfdc in featureDesignationCodesList where nfdc.Id == feature.DSG select nfdc).SingleOrDefault();
 357:                                          // dataRow["language"] = iso6393;
 358:   
 359:                                          feature2.Country = featureNameCountryIso2;
 360:                                          feature2.FileCountry = country.Iso2.ToLower();
 361:   
 362:                                          feature2.Name = feature.UsFeatureName;
 363:                                          feature2.NoDiacriticLowerCaseName = Ia.Cl.Model.Language.RemoveNonLatinCharacters(feature.UsFeatureNoDiacriticLowerCaseName);
 364:                                          feature2.NativeName = feature.UsFeatureNativeName;
 365:                                          feature2.NoDiacriticNativeName = Ia.Cl.Model.Language.RemoveDiacritics(feature.UsFeatureNativeName);
 366:   
 367:                                          searchSubstringList = Ia.TentPlay.Cl.Model.Business.Trek.Default.SearchSubstringList(country.Iso2.ToLower(), feature2.NoDiacriticLowerCaseName + " " + feature2.NoDiacriticNativeName);
 368:                                          feature2.FullTextSearchName = string.Join(" ", searchSubstringList);
 369:   
 370:                                          feature2.Deleted = false;
 371:                                          feature2.Created = DateTime.UtcNow.AddHours(3);
 372:                                          feature2.Updated = DateTime.UtcNow.AddHours(3);
 373:   
 374:                                          countryFeatureList.Add(feature2);
 375:                                          recordCount++;
 376:                                      }
 377:                                      else
 378:                                      {
 379:                                          featureName = feature.ProperNameFeature;
 380:                                          featureNativeName = feature.ProperNativeNameFeature;
 381:   
 382:                                          if (featureName != null)
 383:                                          {
 384:                                              feature2 = new Ia.TentPlay.Cl.Model.Trek.Feature();
 385:   
 386:                                              feature2.Id = country.Iso2.ToLower() + "." + feature.UFI.ToString() + "." + featureName.UNI + "." + featureNameCountryIso2;
 387:                                              feature2.Latitude = (double)feature.LAT;
 388:                                              feature2.Longitude = (double)feature.LONG;
 389:   
 390:                                              trekLocation = new Ia.Cl.Model.Geography.Location(feature2.Latitude, feature2.Longitude);
 391:                                              feature2.DistanceToCapital = (int)countryCapitalLocation.GetDistanceTo(trekLocation);
 392:   
 393:                                              feature2.CMap = Ia.Cl.Model.Geography.Location.ReturnCMapValueForResolutionAndCoordinates(1, (double)feature.LAT, (double)feature.LONG);
 394:                                              feature2.Class = feature.FC.Substring(0, 1); // take only the first letter "A - administrative ..."
 395:                                              feature2.Designation = (from nfdc in featureDesignationCodesList where nfdc.Id == feature.DSG select nfdc).SingleOrDefault();
 396:                                              // dataRow["language"] = iso6393;
 397:   
 398:                                              feature2.Country = featureNameCountryIso2;
 399:                                              feature2.FileCountry = country.Iso2.ToLower();
 400:   
 401:                                              if (featureName != null)
 402:                                              {
 403:                                                  if (!string.IsNullOrEmpty(featureName.FULL_NAME_RO))
 404:                                                  {
 405:                                                      feature2.Name = featureName.FULL_NAME_RO;
 406:                                                  }
 407:   
 408:                                                  if (!string.IsNullOrEmpty(featureName.FULL_NAME_ND_RO))
 409:                                                  {
 410:                                                      feature2.NoDiacriticLowerCaseName = Ia.Cl.Model.Language.RemoveNonLatinCharacters(featureName.FULL_NAME_ND_RO.ToLower());
 411:                                                  }
 412:                                              }
 413:   
 414:                                              if (featureNativeName != null && !string.IsNullOrEmpty(featureNativeName.FULL_NAME_RO))
 415:                                              {
 416:                                                  feature2.NativeName = featureNativeName.FULL_NAME_RO;
 417:                                                  feature2.NoDiacriticNativeName = Ia.Cl.Model.Language.RemoveDiacritics(feature2.NativeName);
 418:                                              }
 419:   
 420:                                              searchSubstringList = Ia.TentPlay.Cl.Model.Business.Trek.Default.SearchSubstringList(country.Iso2.ToLower(), feature2.NoDiacriticLowerCaseName + " " + feature2.NoDiacriticNativeName);
 421:                                              feature2.FullTextSearchName = string.Join(" ", searchSubstringList);
 422:   
 423:                                              feature2.Deleted = false;
 424:                                              feature2.Created = DateTime.UtcNow.AddHours(3);
 425:                                              feature2.Updated = DateTime.UtcNow.AddHours(3);
 426:   
 427:                                              countryFeatureList.Add(feature2);
 428:                                              recordCount++;
 429:                                          }
 430:                                          else
 431:                                          {
 432:                                              result.AddWarning("Feature name for UFI: " + feature.UFI + " was null. ");
 433:                                          }
 434:                                      }
 435:                                  }
 436:                                  else
 437:                                  {
 438:                                      result.AddWarning("Iso2 for cc1Country: " + cc1Country + " is null. ");
 439:                                  }
 440:                              }
 441:                          }
 442:                          else
 443:                          {
 444:                              result.AddWarning("Feature DSG: " + feature.DSG + " not allowed. ");
 445:                          }
 446:                      }
 447:   
 448:                      if (!result.HasError)
 449:                      {
 450:                          dataTable = Ia.Cl.Model.Default.GenerateDataTableFromGenericClassList<Ia.TentPlay.Cl.Model.Trek.Feature>(countryFeatureList, "Features");
 451:   
 452:                          if (!result.HasError)
 453:                          {
 454:                              sqlServer.SqlBulkCopy(dataTable, out result);
 455:                          }
 456:                      }
 457:                      else
 458:                      {
 459:                      }
 460:                  }
 461:                  else
 462:                  {
 463:                      result.AddError("featureDesignationsList.Count == 0.");
 464:                  }
 465:              }
 466:          }
 467:   
 468:          ////////////////////////////////////////////////////////////////////////////
 469:   
 470:          /// <summary>
 471:          ///
 472:          /// </summary>
 473:          public List<Ia.TentPlay.Cl.Model.Trek.Feature> List(out Ia.Cl.Model.Result result)
 474:          {
 475:              List<Ia.TentPlay.Cl.Model.Trek.Feature> list;
 476:   
 477:              result = new Ia.Cl.Model.Result();
 478:   
 479:              using (var db = new Ia.TentPlay.Db.Trek())
 480:              {
 481:                  list = (from f in db.Features select f).ToList();
 482:              }
 483:   
 484:              result.AddSuccess("Number of records: " + list.Count);
 485:   
 486:              return list;
 487:          }
 488:   
 489:          ////////////////////////////////////////////////////////////////////////////
 490:   
 491:          /// <summary>
 492:          ///
 493:          /// </summary>
 494:          public static List<Ia.TentPlay.Cl.Model.Trek.Feature> List(string fileCountry, out Ia.Cl.Model.Result result)
 495:          {
 496:              List<Ia.TentPlay.Cl.Model.Trek.Feature> list;
 497:   
 498:              result = new Ia.Cl.Model.Result();
 499:   
 500:              using (var db = new Ia.TentPlay.Db.Trek())
 501:              {
 502:                  list = (from f in db.Features.Include(u => u.Designation) where f.FileCountry == fileCountry select f).ToList();
 503:              }
 504:   
 505:              result.AddSuccess("Number of records (" + fileCountry + "): " + list.Count);
 506:   
 507:              return list;
 508:          }
 509:   
 510:          ////////////////////////////////////////////////////////////////////////////
 511:   
 512:          /// <summary>
 513:          ///
 514:          /// </summary>
 515:          public static List<Ia.TentPlay.Cl.Model.Trek.Feature> Statistic(string fileCountry, out int featureCount, out int administrative, out int populated, out int vegetation, out int locality, out int undersea, out int street, out int hypsographic, out int hydrographic, out int spot, out Ia.Cl.Model.Result result)
 516:          {
 517:              List<Ia.TentPlay.Cl.Model.Trek.Feature> list;
 518:   
 519:              result = new Ia.Cl.Model.Result();
 520:   
 521:              using (var db = new Ia.TentPlay.Db.Trek())
 522:              {
 523:                  list = (from f in db.Features.Include(u => u.Designation) where f.FileCountry == fileCountry select f).ToList();
 524:   
 525:                  featureCount = list.Count;
 526:   
 527:                  administrative = list.Count(u => u.Class == "A");
 528:                  populated = list.Count(u => u.Class == "P");
 529:                  vegetation = list.Count(u => u.Class == "V");
 530:                  locality = list.Count(u => u.Class == "L");
 531:                  undersea = list.Count(u => u.Class == "U");
 532:                  street = list.Count(u => u.Class == "R");
 533:                  hypsographic = list.Count(u => u.Class == "T");
 534:                  hydrographic = list.Count(u => u.Class == "H");
 535:                  spot = list.Count(u => u.Class == "S");
 536:              }
 537:   
 538:              result.AddSuccess("Number of records (" + fileCountry + "): " + list.Count);
 539:   
 540:              return list;
 541:          }
 542:   
 543:          /*
 544:          ////////////////////////////////////////////////////////////////////////////
 545:  
 546:          /// <summary>
 547:          ///
 548:          /// </summary>
 549:          public static List<Ia.TentPlay.Cl.Model.Trek.Feature> Search(string fileCountry, string searchTerm, out Ia.Cl.Model.Result result)
 550:          {
 551:              return Search(fileCountry, searchTerm, 999999, out result);
 552:          }
 553:          */
 554:   
 555:          /*
 556:          ////////////////////////////////////////////////////////////////////////////
 557:  
 558:          /// <summary>
 559:          ///
 560:          /// </summary>
 561:          public static List<Ia.TentPlay.Cl.Model.Trek.Feature> Search(string fileCountry, string searchTerm, int numberOfRecordsToTake, out Ia.Cl.Model.Result result)
 562:          {
 563:              List<Ia.TentPlay.Cl.Model.Trek.Feature> list;
 564:  
 565:              result = new Ia.Cl.Model.Result();
 566:  
 567:              using (var db = new Ia.TentPlay.Db.Trek())
 568:              {
 569:                  list = (from f in db.Features.Include(u => u.Designation) where f.FileCountry == fileCountry && (f.Name.Contains(searchTerm) || f.NoDiacriticLowerCaseName.Contains(searchTerm)) select f.DistanceToCapital).Take(numberOfRecordsToTake).ToList();
 570:  
 571:                  if (list == null || list.Count == 0)
 572:                  {
 573:                      result.AddWarning("No trek found for \"" + searchTerm + "\". ");
 574:                  }
 575:                  else
 576:                  {
 577:                      result.AddSuccess("Number of treks found: " + list.Count + " for \"" + searchTerm + "\". ");
 578:                  }
 579:              }
 580:  
 581:              return list;
 582:          }
 583:          */
 584:   
 585:          ////////////////////////////////////////////////////////////////////////////
 586:   
 587:          /// <summary>
 588:          ///
 589:          /// </summary>
 590:          public static Ia.TentPlay.Cl.Model.Trek.Feature Read(string id)
 591:          {
 592:              Ia.TentPlay.Cl.Model.Trek.Feature item;
 593:   
 594:              using (var db = new Ia.TentPlay.Db.Trek())
 595:              {
 596:                  item = (from f in db.Features where f.Id == id select f).SingleOrDefault();
 597:              }
 598:   
 599:              return item;
 600:          }
 601:   
 602:          ////////////////////////////////////////////////////////////////////////////
 603:   
 604:          /// <summary>
 605:          ///
 606:          /// </summary>
 607:          public static List<Ia.TentPlay.Cl.Model.Trek.Feature> FindWithinFullTextSearchName(string fileCountry, string searchTerm, int numberOfRecordsToTake, out Ia.Cl.Model.Result result)
 608:          {
 609:              List<Ia.TentPlay.Cl.Model.Trek.Feature> list;
 610:   
 611:              result = new Ia.Cl.Model.Result();
 612:   
 613:              using (var db = new Ia.TentPlay.Db.Trek())
 614:              {
 615:                  list = (from f in db.Features where f.FileCountry == fileCountry && f.FullTextSearchName.Contains(searchTerm) select f).Take(numberOfRecordsToTake).ToList();
 616:              }
 617:   
 618:              result.AddSuccess("Number of records (" + fileCountry + "): " + list.Count);
 619:   
 620:              return list;
 621:          }
 622:   
 623:          ////////////////////////////////////////////////////////////////////////////
 624:   
 625:          /// <summary>
 626:          ///
 627:          /// </summary>
 628:          public static List<Ia.TentPlay.Cl.Model.Trek.Feature> List(string fileCountry, int numberOfRecordsToTake, out Ia.Cl.Model.Result result)
 629:          {
 630:              List<Ia.TentPlay.Cl.Model.Trek.Feature> list;
 631:   
 632:              result = new Ia.Cl.Model.Result();
 633:   
 634:              using (var db = new Ia.TentPlay.Db.Trek())
 635:              {
 636:                  list = (from f in db.Features.Include(u => u.Designation) where f.FileCountry == fileCountry select f).Take(numberOfRecordsToTake).ToList();
 637:              }
 638:   
 639:              result.AddSuccess("Number of records (" + fileCountry + "): " + list.Count);
 640:   
 641:              return list;
 642:          }
 643:   
 644:          ////////////////////////////////////////////////////////////////////////////
 645:   
 646:          /// <summary>
 647:          ///
 648:          /// </summary>
 649:          public static void Delete(string fileCountry, out Ia.Cl.Model.Result result)
 650:          {
 651:              int count;
 652:              Ia.Cl.Model.Db.SqlServer sqlServer;
 653:   
 654:              result = new Ia.Cl.Model.Result();
 655:              sqlServer = new Ia.Cl.Model.Db.SqlServer();
 656:   
 657:              count = sqlServer.ScalarInteger("select count(0) from Features where FileCountry = '" + fileCountry + "'");
 658:   
 659:              sqlServer.Sql("delete from Features where FileCountry = '" + fileCountry + "'");
 660:   
 661:              result.AddSuccess("Deleted row count (" + fileCountry + "): " + count + ". ");
 662:   
 663:              // below: this is good for EF but too slow
 664:              /*
 665:              try
 666:              {
 667:                  using (var db = new Ia.TentPlay.Db.Trek())
 668:                  {
 669:                      var ncwDeletedList = from f in featureList where f.FileCountry == fileCountry select f.DistanceToCapital;
 670:  
 671:                      c = ncwDeletedList.Count();
 672:  
 673:                      db.Features.RemoveRange(ncwDeletedList);
 674:                      db.SaveChanges();
 675:  
 676:                      result.Message = "Features: " + c + " deleted for FileCountry " + fileCountry + ". ";
 677:                  }
 678:              }
 679:              catch (Exception ex)
 680:              {
 681:                  result.AddError(ex.ToString());
 682:              }
 683:              */
 684:          }
 685:   
 686:          ////////////////////////////////////////////////////////////////////////////
 687:   
 688:          /// <summary>
 689:          ///
 690:          /// </summary>
 691:          public List<Ia.TentPlay.Cl.Model.Trek.Feature> UpdatedAfterDateList(DateTime date)
 692:          {
 693:              List<Ia.TentPlay.Cl.Model.Trek.Feature> list;
 694:   
 695:              using (var db = new Ia.TentPlay.Db.Trek())
 696:              {
 697:                  list = (from q in db.Features where q.Updated >= date select q).ToList<Ia.TentPlay.Cl.Model.Trek.Feature>();
 698:              }
 699:   
 700:              return list;
 701:          }
 702:   
 703:          ////////////////////////////////////////////////////////////////////////////
 704:   
 705:          /// <summary>
 706:          ///
 707:          /// </summary>
 708:          public List<Ia.TentPlay.Cl.Model.Trek.Feature> ReadByCountryIso2(string countryIso2)
 709:          {
 710:              List<Ia.TentPlay.Cl.Model.Trek.Feature> list;
 711:   
 712:              using (var db = new Ia.TentPlay.Db.Trek())
 713:              {
 714:                  list = (from f in db.Features where f.Country == countryIso2 select f).ToList<Ia.TentPlay.Cl.Model.Trek.Feature>();
 715:              }
 716:   
 717:              return list;
 718:          }
 719:   
 720:          ////////////////////////////////////////////////////////////////////////////
 721:   
 722:          /// <summary>
 723:          ///
 724:          /// </summary>
 725:          public List<Ia.TentPlay.Cl.Model.Trek.Feature> ReadyCountryIso2AndUpdatedAfterDateList(string countryIso2, DateTime date)
 726:          {
 727:              List<Ia.TentPlay.Cl.Model.Trek.Feature> list;
 728:   
 729:              using (var db = new Ia.TentPlay.Db.Trek())
 730:              {
 731:                  list = (from q in db.Features where q.Country == countryIso2 && q.Updated >= date select q).ToList<Ia.TentPlay.Cl.Model.Trek.Feature>();
 732:              }
 733:   
 734:              return list;
 735:          }
 736:   
 737:          ////////////////////////////////////////////////////////////////////////////
 738:   
 739:          /// <summary>
 740:          ///
 741:          /// </summary>
 742:          public List<Ia.TentPlay.Cl.Model.Trek.Feature> WithinCMapList(string cmap)
 743:          {
 744:              List<Ia.TentPlay.Cl.Model.Trek.Feature> list;
 745:   
 746:              list = null;
 747:   
 748:              if (cmap.Length > 0)
 749:              {
 750:                  using (var db = new Ia.TentPlay.Db.Trek())
 751:                  {
 752:                      list = (from q in db.Features where q.CMap.Contains(cmap) select q).ToList<Ia.TentPlay.Cl.Model.Trek.Feature>();
 753:                  }
 754:              }
 755:              else
 756:              {
 757:              }
 758:   
 759:              return list;
 760:          }
 761:   
 762:          ////////////////////////////////////////////////////////////////////////////
 763:   
 764:          /// <summary>
 765:          ///
 766:          /// </summary>
 767:          public static Dictionary<string, string> DistinctFileCountryWithCountList()
 768:          {
 769:              Dictionary<string, string> dictionary = new Dictionary<string, string>();
 770:   
 771:              using (var db = new Ia.TentPlay.Db.Trek())
 772:              {
 773:                  var list = (from f in db.Features
 774:                              group f by f.FileCountry into grp
 775:                              select new { CountryName = grp.Key, Count = grp.Count() }).ToList();
 776:   
 777:                  dictionary = list.ToDictionary(
 778:                      f => f.CountryName,
 779:                      f => (from country in Ia.Cl.Model.Country.List where country.Iso2 == f.CountryName.ToUpper() select country.Name).SingleOrDefault() + " (" + f.Count.ToString() + ")");
 780:              }
 781:   
 782:              return dictionary;
 783:          }
 784:   
 785:          ////////////////////////////////////////////////////////////////////////////
 786:   
 787:          /// <summary>
 788:          ///
 789:          /// </summary>
 790:          public static Dictionary<string, string> DistinctFileCountryList()
 791:          {
 792:              Dictionary<string, string> dictionary = new Dictionary<string, string>();
 793:   
 794:              using (var db = new Ia.TentPlay.Db.Trek())
 795:              {
 796:                  var list = (from f in db.Features group f by f.FileCountry into grp select new { CountryName = grp.Key }).ToList();
 797:   
 798:                  //var list = (from c in Ia.TentPlay.Cl.Model.Data.Trek.ApplicationInformation.CountryList select c).ToList();
 799:   
 800:                  dictionary = list.ToDictionary(
 801:                      f => f.CountryName,
 802:                      f => (from country in Ia.Cl.Model.Country.List where country.Iso2 == f.CountryName.ToUpper() select country.Name).SingleOrDefault());
 803:              }
 804:   
 805:              return dictionary;
 806:          }
 807:   
 808:          ////////////////////////////////////////////////////////////////////////////
 809:   
 810:          /// <summary>
 811:          ///
 812:          /// </summary>
 813:          public static List<long> DistanceToCapitalOfTheNthFurthestTrekAccordingToBinarySelectedClassesList(string fileCountry, int maximumNumberOfTrekToDisplayNearTheCapitalList)
 814:          {
 815:              List<long> list;
 816:   
 817:              list = new List<long>();
 818:   
 819:              Ia.TentPlay.Cl.Model.Data.Trek.Feature.DistanceToCapitalOfTheNthFurthestTrekAccordingToBinarySelectedClassesList(fileCountry, ref list, Ia.TentPlay.Cl.Model.Business.Trek.Default.MaximumNumberOfTrekToDisplayNearTheCapital);
 820:   
 821:              return list;
 822:          }
 823:   
 824:          ////////////////////////////////////////////////////////////////////////////
 825:   
 826:          /// <summary>
 827:          ///
 828:          /// </summary>
 829:          private static void DistanceToCapitalOfTheNthFurthestTrekAccordingToBinarySelectedClassesList(string fileCountry, ref List<long> list, int maximumNumberOfTrekToDisplayNearTheCapitalList)
 830:          {
 831:              long item;
 832:              List<Ia.TentPlay.Cl.Model.Business.Trek.FeatureClassDistanceToCapital> featureClassDistanceToCapitalList;
 833:   
 834:              using (var db = new Ia.TentPlay.Db.Trek())
 835:              {
 836:                  featureClassDistanceToCapitalList = (from ncw in db.Features where ncw.FileCountry == fileCountry select new Ia.TentPlay.Cl.Model.Business.Trek.FeatureClassDistanceToCapital { /*Id = ncw.Id,*/ Class = ncw.Class, DistanceToCapital = ncw.DistanceToCapital, }).ToList();
 837:              }
 838:   
 839:              // code below is generated by code in ca project
 840:   
 841:              // integer: 0, binary: 000000000, string: f.Class == "Z"
 842:              item = (from f in featureClassDistanceToCapitalList where f.Class == "Z" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 843:              if (item != 0) list.Add(item);
 844:              else list.Add(0);
 845:   
 846:              // integer: 1, binary: 000000001, string: f.Class == "S"
 847:              item = (from f in featureClassDistanceToCapitalList where f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 848:              if (item != 0) list.Add(item);
 849:              else list.Add(0);
 850:   
 851:              // integer: 2, binary: 000000010, string: f.Class == "H"
 852:              item = (from f in featureClassDistanceToCapitalList where f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 853:              if (item != 0) list.Add(item);
 854:              else list.Add(0);
 855:   
 856:              // integer: 3, binary: 000000011, string: f.Class == "H" || f.Class == "S"
 857:              item = (from f in featureClassDistanceToCapitalList where f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 858:              if (item != 0) list.Add(item);
 859:              else list.Add(0);
 860:   
 861:              // integer: 4, binary: 000000100, string: f.Class == "T"
 862:              item = (from f in featureClassDistanceToCapitalList where f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 863:              if (item != 0) list.Add(item);
 864:              else list.Add(0);
 865:   
 866:              // integer: 5, binary: 000000101, string: f.Class == "T" || f.Class == "S"
 867:              item = (from f in featureClassDistanceToCapitalList where f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 868:              if (item != 0) list.Add(item);
 869:              else list.Add(0);
 870:   
 871:              // integer: 6, binary: 000000110, string: f.Class == "T" || f.Class == "H"
 872:              item = (from f in featureClassDistanceToCapitalList where f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 873:              if (item != 0) list.Add(item);
 874:              else list.Add(0);
 875:   
 876:              // integer: 7, binary: 000000111, string: f.Class == "T" || f.Class == "H" || f.Class == "S"
 877:              item = (from f in featureClassDistanceToCapitalList where f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 878:              if (item != 0) list.Add(item);
 879:              else list.Add(0);
 880:   
 881:              // integer: 8, binary: 000001000, string: f.Class == "R"
 882:              item = (from f in featureClassDistanceToCapitalList where f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 883:              if (item != 0) list.Add(item);
 884:              else list.Add(0);
 885:   
 886:              // integer: 9, binary: 000001001, string: f.Class == "R" || f.Class == "S"
 887:              item = (from f in featureClassDistanceToCapitalList where f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 888:              if (item != 0) list.Add(item);
 889:              else list.Add(0);
 890:   
 891:              // integer: 10, binary: 000001010, string: f.Class == "R" || f.Class == "H"
 892:              item = (from f in featureClassDistanceToCapitalList where f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 893:              if (item != 0) list.Add(item);
 894:              else list.Add(0);
 895:   
 896:              // integer: 11, binary: 000001011, string: f.Class == "R" || f.Class == "H" || f.Class == "S"
 897:              item = (from f in featureClassDistanceToCapitalList where f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 898:              if (item != 0) list.Add(item);
 899:              else list.Add(0);
 900:   
 901:              // integer: 12, binary: 000001100, string: f.Class == "R" || f.Class == "T"
 902:              item = (from f in featureClassDistanceToCapitalList where f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 903:              if (item != 0) list.Add(item);
 904:              else list.Add(0);
 905:   
 906:              // integer: 13, binary: 000001101, string: f.Class == "R" || f.Class == "T" || f.Class == "S"
 907:              item = (from f in featureClassDistanceToCapitalList where f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 908:              if (item != 0) list.Add(item);
 909:              else list.Add(0);
 910:   
 911:              // integer: 14, binary: 000001110, string: f.Class == "R" || f.Class == "T" || f.Class == "H"
 912:              item = (from f in featureClassDistanceToCapitalList where f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 913:              if (item != 0) list.Add(item);
 914:              else list.Add(0);
 915:   
 916:              // integer: 15, binary: 000001111, string: f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
 917:              item = (from f in featureClassDistanceToCapitalList where f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 918:              if (item != 0) list.Add(item);
 919:              else list.Add(0);
 920:   
 921:              // integer: 16, binary: 000010000, string: f.Class == "U"
 922:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 923:              if (item != 0) list.Add(item);
 924:              else list.Add(0);
 925:   
 926:              // integer: 17, binary: 000010001, string: f.Class == "U" || f.Class == "S"
 927:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 928:              if (item != 0) list.Add(item);
 929:              else list.Add(0);
 930:   
 931:              // integer: 18, binary: 000010010, string: f.Class == "U" || f.Class == "H"
 932:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 933:              if (item != 0) list.Add(item);
 934:              else list.Add(0);
 935:   
 936:              // integer: 19, binary: 000010011, string: f.Class == "U" || f.Class == "H" || f.Class == "S"
 937:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 938:              if (item != 0) list.Add(item);
 939:              else list.Add(0);
 940:   
 941:              // integer: 20, binary: 000010100, string: f.Class == "U" || f.Class == "T"
 942:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 943:              if (item != 0) list.Add(item);
 944:              else list.Add(0);
 945:   
 946:              // integer: 21, binary: 000010101, string: f.Class == "U" || f.Class == "T" || f.Class == "S"
 947:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 948:              if (item != 0) list.Add(item);
 949:              else list.Add(0);
 950:   
 951:              // integer: 22, binary: 000010110, string: f.Class == "U" || f.Class == "T" || f.Class == "H"
 952:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 953:              if (item != 0) list.Add(item);
 954:              else list.Add(0);
 955:   
 956:              // integer: 23, binary: 000010111, string: f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
 957:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 958:              if (item != 0) list.Add(item);
 959:              else list.Add(0);
 960:   
 961:              // integer: 24, binary: 000011000, string: f.Class == "U" || f.Class == "R"
 962:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 963:              if (item != 0) list.Add(item);
 964:              else list.Add(0);
 965:   
 966:              // integer: 25, binary: 000011001, string: f.Class == "U" || f.Class == "R" || f.Class == "S"
 967:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 968:              if (item != 0) list.Add(item);
 969:              else list.Add(0);
 970:   
 971:              // integer: 26, binary: 000011010, string: f.Class == "U" || f.Class == "R" || f.Class == "H"
 972:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 973:              if (item != 0) list.Add(item);
 974:              else list.Add(0);
 975:   
 976:              // integer: 27, binary: 000011011, string: f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
 977:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 978:              if (item != 0) list.Add(item);
 979:              else list.Add(0);
 980:   
 981:              // integer: 28, binary: 000011100, string: f.Class == "U" || f.Class == "R" || f.Class == "T"
 982:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 983:              if (item != 0) list.Add(item);
 984:              else list.Add(0);
 985:   
 986:              // integer: 29, binary: 000011101, string: f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
 987:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 988:              if (item != 0) list.Add(item);
 989:              else list.Add(0);
 990:   
 991:              // integer: 30, binary: 000011110, string: f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
 992:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 993:              if (item != 0) list.Add(item);
 994:              else list.Add(0);
 995:   
 996:              // integer: 31, binary: 000011111, string: f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
 997:              item = (from f in featureClassDistanceToCapitalList where f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
 998:              if (item != 0) list.Add(item);
 999:              else list.Add(0);
1000:   
1001:              // integer: 32, binary: 000100000, string: f.Class == "L"
1002:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1003:              if (item != 0) list.Add(item);
1004:              else list.Add(0);
1005:   
1006:              // integer: 33, binary: 000100001, string: f.Class == "L" || f.Class == "S"
1007:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1008:              if (item != 0) list.Add(item);
1009:              else list.Add(0);
1010:   
1011:              // integer: 34, binary: 000100010, string: f.Class == "L" || f.Class == "H"
1012:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1013:              if (item != 0) list.Add(item);
1014:              else list.Add(0);
1015:   
1016:              // integer: 35, binary: 000100011, string: f.Class == "L" || f.Class == "H" || f.Class == "S"
1017:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1018:              if (item != 0) list.Add(item);
1019:              else list.Add(0);
1020:   
1021:              // integer: 36, binary: 000100100, string: f.Class == "L" || f.Class == "T"
1022:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1023:              if (item != 0) list.Add(item);
1024:              else list.Add(0);
1025:   
1026:              // integer: 37, binary: 000100101, string: f.Class == "L" || f.Class == "T" || f.Class == "S"
1027:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1028:              if (item != 0) list.Add(item);
1029:              else list.Add(0);
1030:   
1031:              // integer: 38, binary: 000100110, string: f.Class == "L" || f.Class == "T" || f.Class == "H"
1032:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1033:              if (item != 0) list.Add(item);
1034:              else list.Add(0);
1035:   
1036:              // integer: 39, binary: 000100111, string: f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1037:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1038:              if (item != 0) list.Add(item);
1039:              else list.Add(0);
1040:   
1041:              // integer: 40, binary: 000101000, string: f.Class == "L" || f.Class == "R"
1042:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1043:              if (item != 0) list.Add(item);
1044:              else list.Add(0);
1045:   
1046:              // integer: 41, binary: 000101001, string: f.Class == "L" || f.Class == "R" || f.Class == "S"
1047:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1048:              if (item != 0) list.Add(item);
1049:              else list.Add(0);
1050:   
1051:              // integer: 42, binary: 000101010, string: f.Class == "L" || f.Class == "R" || f.Class == "H"
1052:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1053:              if (item != 0) list.Add(item);
1054:              else list.Add(0);
1055:   
1056:              // integer: 43, binary: 000101011, string: f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1057:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1058:              if (item != 0) list.Add(item);
1059:              else list.Add(0);
1060:   
1061:              // integer: 44, binary: 000101100, string: f.Class == "L" || f.Class == "R" || f.Class == "T"
1062:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1063:              if (item != 0) list.Add(item);
1064:              else list.Add(0);
1065:   
1066:              // integer: 45, binary: 000101101, string: f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1067:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1068:              if (item != 0) list.Add(item);
1069:              else list.Add(0);
1070:   
1071:              // integer: 46, binary: 000101110, string: f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1072:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1073:              if (item != 0) list.Add(item);
1074:              else list.Add(0);
1075:   
1076:              // integer: 47, binary: 000101111, string: f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1077:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1078:              if (item != 0) list.Add(item);
1079:              else list.Add(0);
1080:   
1081:              // integer: 48, binary: 000110000, string: f.Class == "L" || f.Class == "U"
1082:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1083:              if (item != 0) list.Add(item);
1084:              else list.Add(0);
1085:   
1086:              // integer: 49, binary: 000110001, string: f.Class == "L" || f.Class == "U" || f.Class == "S"
1087:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1088:              if (item != 0) list.Add(item);
1089:              else list.Add(0);
1090:   
1091:              // integer: 50, binary: 000110010, string: f.Class == "L" || f.Class == "U" || f.Class == "H"
1092:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1093:              if (item != 0) list.Add(item);
1094:              else list.Add(0);
1095:   
1096:              // integer: 51, binary: 000110011, string: f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S"
1097:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1098:              if (item != 0) list.Add(item);
1099:              else list.Add(0);
1100:   
1101:              // integer: 52, binary: 000110100, string: f.Class == "L" || f.Class == "U" || f.Class == "T"
1102:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1103:              if (item != 0) list.Add(item);
1104:              else list.Add(0);
1105:   
1106:              // integer: 53, binary: 000110101, string: f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S"
1107:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1108:              if (item != 0) list.Add(item);
1109:              else list.Add(0);
1110:   
1111:              // integer: 54, binary: 000110110, string: f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H"
1112:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1113:              if (item != 0) list.Add(item);
1114:              else list.Add(0);
1115:   
1116:              // integer: 55, binary: 000110111, string: f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1117:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1118:              if (item != 0) list.Add(item);
1119:              else list.Add(0);
1120:   
1121:              // integer: 56, binary: 000111000, string: f.Class == "L" || f.Class == "U" || f.Class == "R"
1122:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1123:              if (item != 0) list.Add(item);
1124:              else list.Add(0);
1125:   
1126:              // integer: 57, binary: 000111001, string: f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S"
1127:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1128:              if (item != 0) list.Add(item);
1129:              else list.Add(0);
1130:   
1131:              // integer: 58, binary: 000111010, string: f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H"
1132:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1133:              if (item != 0) list.Add(item);
1134:              else list.Add(0);
1135:   
1136:              // integer: 59, binary: 000111011, string: f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1137:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1138:              if (item != 0) list.Add(item);
1139:              else list.Add(0);
1140:   
1141:              // integer: 60, binary: 000111100, string: f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T"
1142:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1143:              if (item != 0) list.Add(item);
1144:              else list.Add(0);
1145:   
1146:              // integer: 61, binary: 000111101, string: f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1147:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1148:              if (item != 0) list.Add(item);
1149:              else list.Add(0);
1150:   
1151:              // integer: 62, binary: 000111110, string: f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1152:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1153:              if (item != 0) list.Add(item);
1154:              else list.Add(0);
1155:   
1156:              // integer: 63, binary: 000111111, string: f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1157:              item = (from f in featureClassDistanceToCapitalList where f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1158:              if (item != 0) list.Add(item);
1159:              else list.Add(0);
1160:   
1161:              // integer: 64, binary: 001000000, string: f.Class == "V"
1162:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1163:              if (item != 0) list.Add(item);
1164:              else list.Add(0);
1165:   
1166:              // integer: 65, binary: 001000001, string: f.Class == "V" || f.Class == "S"
1167:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1168:              if (item != 0) list.Add(item);
1169:              else list.Add(0);
1170:   
1171:              // integer: 66, binary: 001000010, string: f.Class == "V" || f.Class == "H"
1172:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1173:              if (item != 0) list.Add(item);
1174:              else list.Add(0);
1175:   
1176:              // integer: 67, binary: 001000011, string: f.Class == "V" || f.Class == "H" || f.Class == "S"
1177:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1178:              if (item != 0) list.Add(item);
1179:              else list.Add(0);
1180:   
1181:              // integer: 68, binary: 001000100, string: f.Class == "V" || f.Class == "T"
1182:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1183:              if (item != 0) list.Add(item);
1184:              else list.Add(0);
1185:   
1186:              // integer: 69, binary: 001000101, string: f.Class == "V" || f.Class == "T" || f.Class == "S"
1187:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1188:              if (item != 0) list.Add(item);
1189:              else list.Add(0);
1190:   
1191:              // integer: 70, binary: 001000110, string: f.Class == "V" || f.Class == "T" || f.Class == "H"
1192:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1193:              if (item != 0) list.Add(item);
1194:              else list.Add(0);
1195:   
1196:              // integer: 71, binary: 001000111, string: f.Class == "V" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1197:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1198:              if (item != 0) list.Add(item);
1199:              else list.Add(0);
1200:   
1201:              // integer: 72, binary: 001001000, string: f.Class == "V" || f.Class == "R"
1202:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1203:              if (item != 0) list.Add(item);
1204:              else list.Add(0);
1205:   
1206:              // integer: 73, binary: 001001001, string: f.Class == "V" || f.Class == "R" || f.Class == "S"
1207:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1208:              if (item != 0) list.Add(item);
1209:              else list.Add(0);
1210:   
1211:              // integer: 74, binary: 001001010, string: f.Class == "V" || f.Class == "R" || f.Class == "H"
1212:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1213:              if (item != 0) list.Add(item);
1214:              else list.Add(0);
1215:   
1216:              // integer: 75, binary: 001001011, string: f.Class == "V" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1217:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1218:              if (item != 0) list.Add(item);
1219:              else list.Add(0);
1220:   
1221:              // integer: 76, binary: 001001100, string: f.Class == "V" || f.Class == "R" || f.Class == "T"
1222:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1223:              if (item != 0) list.Add(item);
1224:              else list.Add(0);
1225:   
1226:              // integer: 77, binary: 001001101, string: f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1227:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1228:              if (item != 0) list.Add(item);
1229:              else list.Add(0);
1230:   
1231:              // integer: 78, binary: 001001110, string: f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1232:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1233:              if (item != 0) list.Add(item);
1234:              else list.Add(0);
1235:   
1236:              // integer: 79, binary: 001001111, string: f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1237:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1238:              if (item != 0) list.Add(item);
1239:              else list.Add(0);
1240:   
1241:              // integer: 80, binary: 001010000, string: f.Class == "V" || f.Class == "U"
1242:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1243:              if (item != 0) list.Add(item);
1244:              else list.Add(0);
1245:   
1246:              // integer: 81, binary: 001010001, string: f.Class == "V" || f.Class == "U" || f.Class == "S"
1247:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1248:              if (item != 0) list.Add(item);
1249:              else list.Add(0);
1250:   
1251:              // integer: 82, binary: 001010010, string: f.Class == "V" || f.Class == "U" || f.Class == "H"
1252:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1253:              if (item != 0) list.Add(item);
1254:              else list.Add(0);
1255:   
1256:              // integer: 83, binary: 001010011, string: f.Class == "V" || f.Class == "U" || f.Class == "H" || f.Class == "S"
1257:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1258:              if (item != 0) list.Add(item);
1259:              else list.Add(0);
1260:   
1261:              // integer: 84, binary: 001010100, string: f.Class == "V" || f.Class == "U" || f.Class == "T"
1262:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1263:              if (item != 0) list.Add(item);
1264:              else list.Add(0);
1265:   
1266:              // integer: 85, binary: 001010101, string: f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "S"
1267:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1268:              if (item != 0) list.Add(item);
1269:              else list.Add(0);
1270:   
1271:              // integer: 86, binary: 001010110, string: f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H"
1272:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1273:              if (item != 0) list.Add(item);
1274:              else list.Add(0);
1275:   
1276:              // integer: 87, binary: 001010111, string: f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1277:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1278:              if (item != 0) list.Add(item);
1279:              else list.Add(0);
1280:   
1281:              // integer: 88, binary: 001011000, string: f.Class == "V" || f.Class == "U" || f.Class == "R"
1282:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1283:              if (item != 0) list.Add(item);
1284:              else list.Add(0);
1285:   
1286:              // integer: 89, binary: 001011001, string: f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "S"
1287:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1288:              if (item != 0) list.Add(item);
1289:              else list.Add(0);
1290:   
1291:              // integer: 90, binary: 001011010, string: f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H"
1292:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1293:              if (item != 0) list.Add(item);
1294:              else list.Add(0);
1295:   
1296:              // integer: 91, binary: 001011011, string: f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1297:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1298:              if (item != 0) list.Add(item);
1299:              else list.Add(0);
1300:   
1301:              // integer: 92, binary: 001011100, string: f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T"
1302:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1303:              if (item != 0) list.Add(item);
1304:              else list.Add(0);
1305:   
1306:              // integer: 93, binary: 001011101, string: f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1307:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1308:              if (item != 0) list.Add(item);
1309:              else list.Add(0);
1310:   
1311:              // integer: 94, binary: 001011110, string: f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1312:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1313:              if (item != 0) list.Add(item);
1314:              else list.Add(0);
1315:   
1316:              // integer: 95, binary: 001011111, string: f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1317:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1318:              if (item != 0) list.Add(item);
1319:              else list.Add(0);
1320:   
1321:              // integer: 96, binary: 001100000, string: f.Class == "V" || f.Class == "L"
1322:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1323:              if (item != 0) list.Add(item);
1324:              else list.Add(0);
1325:   
1326:              // integer: 97, binary: 001100001, string: f.Class == "V" || f.Class == "L" || f.Class == "S"
1327:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1328:              if (item != 0) list.Add(item);
1329:              else list.Add(0);
1330:   
1331:              // integer: 98, binary: 001100010, string: f.Class == "V" || f.Class == "L" || f.Class == "H"
1332:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1333:              if (item != 0) list.Add(item);
1334:              else list.Add(0);
1335:   
1336:              // integer: 99, binary: 001100011, string: f.Class == "V" || f.Class == "L" || f.Class == "H" || f.Class == "S"
1337:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1338:              if (item != 0) list.Add(item);
1339:              else list.Add(0);
1340:   
1341:              // integer: 100, binary: 001100100, string: f.Class == "V" || f.Class == "L" || f.Class == "T"
1342:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1343:              if (item != 0) list.Add(item);
1344:              else list.Add(0);
1345:   
1346:              // integer: 101, binary: 001100101, string: f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "S"
1347:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1348:              if (item != 0) list.Add(item);
1349:              else list.Add(0);
1350:   
1351:              // integer: 102, binary: 001100110, string: f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H"
1352:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1353:              if (item != 0) list.Add(item);
1354:              else list.Add(0);
1355:   
1356:              // integer: 103, binary: 001100111, string: f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1357:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1358:              if (item != 0) list.Add(item);
1359:              else list.Add(0);
1360:   
1361:              // integer: 104, binary: 001101000, string: f.Class == "V" || f.Class == "L" || f.Class == "R"
1362:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1363:              if (item != 0) list.Add(item);
1364:              else list.Add(0);
1365:   
1366:              // integer: 105, binary: 001101001, string: f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "S"
1367:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1368:              if (item != 0) list.Add(item);
1369:              else list.Add(0);
1370:   
1371:              // integer: 106, binary: 001101010, string: f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H"
1372:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1373:              if (item != 0) list.Add(item);
1374:              else list.Add(0);
1375:   
1376:              // integer: 107, binary: 001101011, string: f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1377:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1378:              if (item != 0) list.Add(item);
1379:              else list.Add(0);
1380:   
1381:              // integer: 108, binary: 001101100, string: f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T"
1382:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1383:              if (item != 0) list.Add(item);
1384:              else list.Add(0);
1385:   
1386:              // integer: 109, binary: 001101101, string: f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1387:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1388:              if (item != 0) list.Add(item);
1389:              else list.Add(0);
1390:   
1391:              // integer: 110, binary: 001101110, string: f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1392:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1393:              if (item != 0) list.Add(item);
1394:              else list.Add(0);
1395:   
1396:              // integer: 111, binary: 001101111, string: f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1397:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1398:              if (item != 0) list.Add(item);
1399:              else list.Add(0);
1400:   
1401:              // integer: 112, binary: 001110000, string: f.Class == "V" || f.Class == "L" || f.Class == "U"
1402:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1403:              if (item != 0) list.Add(item);
1404:              else list.Add(0);
1405:   
1406:              // integer: 113, binary: 001110001, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "S"
1407:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1408:              if (item != 0) list.Add(item);
1409:              else list.Add(0);
1410:   
1411:              // integer: 114, binary: 001110010, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H"
1412:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1413:              if (item != 0) list.Add(item);
1414:              else list.Add(0);
1415:   
1416:              // integer: 115, binary: 001110011, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S"
1417:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1418:              if (item != 0) list.Add(item);
1419:              else list.Add(0);
1420:   
1421:              // integer: 116, binary: 001110100, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T"
1422:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1423:              if (item != 0) list.Add(item);
1424:              else list.Add(0);
1425:   
1426:              // integer: 117, binary: 001110101, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S"
1427:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1428:              if (item != 0) list.Add(item);
1429:              else list.Add(0);
1430:   
1431:              // integer: 118, binary: 001110110, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H"
1432:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1433:              if (item != 0) list.Add(item);
1434:              else list.Add(0);
1435:   
1436:              // integer: 119, binary: 001110111, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1437:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1438:              if (item != 0) list.Add(item);
1439:              else list.Add(0);
1440:   
1441:              // integer: 120, binary: 001111000, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R"
1442:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1443:              if (item != 0) list.Add(item);
1444:              else list.Add(0);
1445:   
1446:              // integer: 121, binary: 001111001, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S"
1447:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1448:              if (item != 0) list.Add(item);
1449:              else list.Add(0);
1450:   
1451:              // integer: 122, binary: 001111010, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H"
1452:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1453:              if (item != 0) list.Add(item);
1454:              else list.Add(0);
1455:   
1456:              // integer: 123, binary: 001111011, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1457:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1458:              if (item != 0) list.Add(item);
1459:              else list.Add(0);
1460:   
1461:              // integer: 124, binary: 001111100, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T"
1462:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1463:              if (item != 0) list.Add(item);
1464:              else list.Add(0);
1465:   
1466:              // integer: 125, binary: 001111101, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1467:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1468:              if (item != 0) list.Add(item);
1469:              else list.Add(0);
1470:   
1471:              // integer: 126, binary: 001111110, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1472:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1473:              if (item != 0) list.Add(item);
1474:              else list.Add(0);
1475:   
1476:              // integer: 127, binary: 001111111, string: f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1477:              item = (from f in featureClassDistanceToCapitalList where f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1478:              if (item != 0) list.Add(item);
1479:              else list.Add(0);
1480:   
1481:              // integer: 128, binary: 010000000, string: f.Class == "P"
1482:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1483:              if (item != 0) list.Add(item);
1484:              else list.Add(0);
1485:   
1486:              // integer: 129, binary: 010000001, string: f.Class == "P" || f.Class == "S"
1487:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1488:              if (item != 0) list.Add(item);
1489:              else list.Add(0);
1490:   
1491:              // integer: 130, binary: 010000010, string: f.Class == "P" || f.Class == "H"
1492:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1493:              if (item != 0) list.Add(item);
1494:              else list.Add(0);
1495:   
1496:              // integer: 131, binary: 010000011, string: f.Class == "P" || f.Class == "H" || f.Class == "S"
1497:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1498:              if (item != 0) list.Add(item);
1499:              else list.Add(0);
1500:   
1501:              // integer: 132, binary: 010000100, string: f.Class == "P" || f.Class == "T"
1502:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1503:              if (item != 0) list.Add(item);
1504:              else list.Add(0);
1505:   
1506:              // integer: 133, binary: 010000101, string: f.Class == "P" || f.Class == "T" || f.Class == "S"
1507:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1508:              if (item != 0) list.Add(item);
1509:              else list.Add(0);
1510:   
1511:              // integer: 134, binary: 010000110, string: f.Class == "P" || f.Class == "T" || f.Class == "H"
1512:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1513:              if (item != 0) list.Add(item);
1514:              else list.Add(0);
1515:   
1516:              // integer: 135, binary: 010000111, string: f.Class == "P" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1517:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1518:              if (item != 0) list.Add(item);
1519:              else list.Add(0);
1520:   
1521:              // integer: 136, binary: 010001000, string: f.Class == "P" || f.Class == "R"
1522:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1523:              if (item != 0) list.Add(item);
1524:              else list.Add(0);
1525:   
1526:              // integer: 137, binary: 010001001, string: f.Class == "P" || f.Class == "R" || f.Class == "S"
1527:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1528:              if (item != 0) list.Add(item);
1529:              else list.Add(0);
1530:   
1531:              // integer: 138, binary: 010001010, string: f.Class == "P" || f.Class == "R" || f.Class == "H"
1532:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1533:              if (item != 0) list.Add(item);
1534:              else list.Add(0);
1535:   
1536:              // integer: 139, binary: 010001011, string: f.Class == "P" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1537:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1538:              if (item != 0) list.Add(item);
1539:              else list.Add(0);
1540:   
1541:              // integer: 140, binary: 010001100, string: f.Class == "P" || f.Class == "R" || f.Class == "T"
1542:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1543:              if (item != 0) list.Add(item);
1544:              else list.Add(0);
1545:   
1546:              // integer: 141, binary: 010001101, string: f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1547:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1548:              if (item != 0) list.Add(item);
1549:              else list.Add(0);
1550:   
1551:              // integer: 142, binary: 010001110, string: f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1552:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1553:              if (item != 0) list.Add(item);
1554:              else list.Add(0);
1555:   
1556:              // integer: 143, binary: 010001111, string: f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1557:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1558:              if (item != 0) list.Add(item);
1559:              else list.Add(0);
1560:   
1561:              // integer: 144, binary: 010010000, string: f.Class == "P" || f.Class == "U"
1562:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1563:              if (item != 0) list.Add(item);
1564:              else list.Add(0);
1565:   
1566:              // integer: 145, binary: 010010001, string: f.Class == "P" || f.Class == "U" || f.Class == "S"
1567:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1568:              if (item != 0) list.Add(item);
1569:              else list.Add(0);
1570:   
1571:              // integer: 146, binary: 010010010, string: f.Class == "P" || f.Class == "U" || f.Class == "H"
1572:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1573:              if (item != 0) list.Add(item);
1574:              else list.Add(0);
1575:   
1576:              // integer: 147, binary: 010010011, string: f.Class == "P" || f.Class == "U" || f.Class == "H" || f.Class == "S"
1577:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1578:              if (item != 0) list.Add(item);
1579:              else list.Add(0);
1580:   
1581:              // integer: 148, binary: 010010100, string: f.Class == "P" || f.Class == "U" || f.Class == "T"
1582:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1583:              if (item != 0) list.Add(item);
1584:              else list.Add(0);
1585:   
1586:              // integer: 149, binary: 010010101, string: f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "S"
1587:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1588:              if (item != 0) list.Add(item);
1589:              else list.Add(0);
1590:   
1591:              // integer: 150, binary: 010010110, string: f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "H"
1592:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1593:              if (item != 0) list.Add(item);
1594:              else list.Add(0);
1595:   
1596:              // integer: 151, binary: 010010111, string: f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1597:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1598:              if (item != 0) list.Add(item);
1599:              else list.Add(0);
1600:   
1601:              // integer: 152, binary: 010011000, string: f.Class == "P" || f.Class == "U" || f.Class == "R"
1602:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1603:              if (item != 0) list.Add(item);
1604:              else list.Add(0);
1605:   
1606:              // integer: 153, binary: 010011001, string: f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "S"
1607:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1608:              if (item != 0) list.Add(item);
1609:              else list.Add(0);
1610:   
1611:              // integer: 154, binary: 010011010, string: f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "H"
1612:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1613:              if (item != 0) list.Add(item);
1614:              else list.Add(0);
1615:   
1616:              // integer: 155, binary: 010011011, string: f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1617:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1618:              if (item != 0) list.Add(item);
1619:              else list.Add(0);
1620:   
1621:              // integer: 156, binary: 010011100, string: f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T"
1622:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1623:              if (item != 0) list.Add(item);
1624:              else list.Add(0);
1625:   
1626:              // integer: 157, binary: 010011101, string: f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1627:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1628:              if (item != 0) list.Add(item);
1629:              else list.Add(0);
1630:   
1631:              // integer: 158, binary: 010011110, string: f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1632:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1633:              if (item != 0) list.Add(item);
1634:              else list.Add(0);
1635:   
1636:              // integer: 159, binary: 010011111, string: f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1637:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1638:              if (item != 0) list.Add(item);
1639:              else list.Add(0);
1640:   
1641:              // integer: 160, binary: 010100000, string: f.Class == "P" || f.Class == "L"
1642:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1643:              if (item != 0) list.Add(item);
1644:              else list.Add(0);
1645:   
1646:              // integer: 161, binary: 010100001, string: f.Class == "P" || f.Class == "L" || f.Class == "S"
1647:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1648:              if (item != 0) list.Add(item);
1649:              else list.Add(0);
1650:   
1651:              // integer: 162, binary: 010100010, string: f.Class == "P" || f.Class == "L" || f.Class == "H"
1652:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1653:              if (item != 0) list.Add(item);
1654:              else list.Add(0);
1655:   
1656:              // integer: 163, binary: 010100011, string: f.Class == "P" || f.Class == "L" || f.Class == "H" || f.Class == "S"
1657:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1658:              if (item != 0) list.Add(item);
1659:              else list.Add(0);
1660:   
1661:              // integer: 164, binary: 010100100, string: f.Class == "P" || f.Class == "L" || f.Class == "T"
1662:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1663:              if (item != 0) list.Add(item);
1664:              else list.Add(0);
1665:   
1666:              // integer: 165, binary: 010100101, string: f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "S"
1667:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1668:              if (item != 0) list.Add(item);
1669:              else list.Add(0);
1670:   
1671:              // integer: 166, binary: 010100110, string: f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "H"
1672:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1673:              if (item != 0) list.Add(item);
1674:              else list.Add(0);
1675:   
1676:              // integer: 167, binary: 010100111, string: f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1677:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1678:              if (item != 0) list.Add(item);
1679:              else list.Add(0);
1680:   
1681:              // integer: 168, binary: 010101000, string: f.Class == "P" || f.Class == "L" || f.Class == "R"
1682:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1683:              if (item != 0) list.Add(item);
1684:              else list.Add(0);
1685:   
1686:              // integer: 169, binary: 010101001, string: f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "S"
1687:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1688:              if (item != 0) list.Add(item);
1689:              else list.Add(0);
1690:   
1691:              // integer: 170, binary: 010101010, string: f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "H"
1692:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1693:              if (item != 0) list.Add(item);
1694:              else list.Add(0);
1695:   
1696:              // integer: 171, binary: 010101011, string: f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1697:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1698:              if (item != 0) list.Add(item);
1699:              else list.Add(0);
1700:   
1701:              // integer: 172, binary: 010101100, string: f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T"
1702:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1703:              if (item != 0) list.Add(item);
1704:              else list.Add(0);
1705:   
1706:              // integer: 173, binary: 010101101, string: f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1707:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1708:              if (item != 0) list.Add(item);
1709:              else list.Add(0);
1710:   
1711:              // integer: 174, binary: 010101110, string: f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1712:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1713:              if (item != 0) list.Add(item);
1714:              else list.Add(0);
1715:   
1716:              // integer: 175, binary: 010101111, string: f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1717:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1718:              if (item != 0) list.Add(item);
1719:              else list.Add(0);
1720:   
1721:              // integer: 176, binary: 010110000, string: f.Class == "P" || f.Class == "L" || f.Class == "U"
1722:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1723:              if (item != 0) list.Add(item);
1724:              else list.Add(0);
1725:   
1726:              // integer: 177, binary: 010110001, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "S"
1727:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1728:              if (item != 0) list.Add(item);
1729:              else list.Add(0);
1730:   
1731:              // integer: 178, binary: 010110010, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "H"
1732:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1733:              if (item != 0) list.Add(item);
1734:              else list.Add(0);
1735:   
1736:              // integer: 179, binary: 010110011, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S"
1737:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1738:              if (item != 0) list.Add(item);
1739:              else list.Add(0);
1740:   
1741:              // integer: 180, binary: 010110100, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T"
1742:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1743:              if (item != 0) list.Add(item);
1744:              else list.Add(0);
1745:   
1746:              // integer: 181, binary: 010110101, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S"
1747:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1748:              if (item != 0) list.Add(item);
1749:              else list.Add(0);
1750:   
1751:              // integer: 182, binary: 010110110, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H"
1752:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1753:              if (item != 0) list.Add(item);
1754:              else list.Add(0);
1755:   
1756:              // integer: 183, binary: 010110111, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1757:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1758:              if (item != 0) list.Add(item);
1759:              else list.Add(0);
1760:   
1761:              // integer: 184, binary: 010111000, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R"
1762:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1763:              if (item != 0) list.Add(item);
1764:              else list.Add(0);
1765:   
1766:              // integer: 185, binary: 010111001, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S"
1767:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1768:              if (item != 0) list.Add(item);
1769:              else list.Add(0);
1770:   
1771:              // integer: 186, binary: 010111010, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H"
1772:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1773:              if (item != 0) list.Add(item);
1774:              else list.Add(0);
1775:   
1776:              // integer: 187, binary: 010111011, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1777:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1778:              if (item != 0) list.Add(item);
1779:              else list.Add(0);
1780:   
1781:              // integer: 188, binary: 010111100, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T"
1782:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1783:              if (item != 0) list.Add(item);
1784:              else list.Add(0);
1785:   
1786:              // integer: 189, binary: 010111101, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1787:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1788:              if (item != 0) list.Add(item);
1789:              else list.Add(0);
1790:   
1791:              // integer: 190, binary: 010111110, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1792:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1793:              if (item != 0) list.Add(item);
1794:              else list.Add(0);
1795:   
1796:              // integer: 191, binary: 010111111, string: f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1797:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1798:              if (item != 0) list.Add(item);
1799:              else list.Add(0);
1800:   
1801:              // integer: 192, binary: 011000000, string: f.Class == "P" || f.Class == "V"
1802:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1803:              if (item != 0) list.Add(item);
1804:              else list.Add(0);
1805:   
1806:              // integer: 193, binary: 011000001, string: f.Class == "P" || f.Class == "V" || f.Class == "S"
1807:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1808:              if (item != 0) list.Add(item);
1809:              else list.Add(0);
1810:   
1811:              // integer: 194, binary: 011000010, string: f.Class == "P" || f.Class == "V" || f.Class == "H"
1812:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1813:              if (item != 0) list.Add(item);
1814:              else list.Add(0);
1815:   
1816:              // integer: 195, binary: 011000011, string: f.Class == "P" || f.Class == "V" || f.Class == "H" || f.Class == "S"
1817:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1818:              if (item != 0) list.Add(item);
1819:              else list.Add(0);
1820:   
1821:              // integer: 196, binary: 011000100, string: f.Class == "P" || f.Class == "V" || f.Class == "T"
1822:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1823:              if (item != 0) list.Add(item);
1824:              else list.Add(0);
1825:   
1826:              // integer: 197, binary: 011000101, string: f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "S"
1827:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1828:              if (item != 0) list.Add(item);
1829:              else list.Add(0);
1830:   
1831:              // integer: 198, binary: 011000110, string: f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "H"
1832:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1833:              if (item != 0) list.Add(item);
1834:              else list.Add(0);
1835:   
1836:              // integer: 199, binary: 011000111, string: f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1837:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1838:              if (item != 0) list.Add(item);
1839:              else list.Add(0);
1840:   
1841:              // integer: 200, binary: 011001000, string: f.Class == "P" || f.Class == "V" || f.Class == "R"
1842:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1843:              if (item != 0) list.Add(item);
1844:              else list.Add(0);
1845:   
1846:              // integer: 201, binary: 011001001, string: f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "S"
1847:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1848:              if (item != 0) list.Add(item);
1849:              else list.Add(0);
1850:   
1851:              // integer: 202, binary: 011001010, string: f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "H"
1852:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1853:              if (item != 0) list.Add(item);
1854:              else list.Add(0);
1855:   
1856:              // integer: 203, binary: 011001011, string: f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1857:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1858:              if (item != 0) list.Add(item);
1859:              else list.Add(0);
1860:   
1861:              // integer: 204, binary: 011001100, string: f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T"
1862:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1863:              if (item != 0) list.Add(item);
1864:              else list.Add(0);
1865:   
1866:              // integer: 205, binary: 011001101, string: f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1867:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1868:              if (item != 0) list.Add(item);
1869:              else list.Add(0);
1870:   
1871:              // integer: 206, binary: 011001110, string: f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1872:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1873:              if (item != 0) list.Add(item);
1874:              else list.Add(0);
1875:   
1876:              // integer: 207, binary: 011001111, string: f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1877:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1878:              if (item != 0) list.Add(item);
1879:              else list.Add(0);
1880:   
1881:              // integer: 208, binary: 011010000, string: f.Class == "P" || f.Class == "V" || f.Class == "U"
1882:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1883:              if (item != 0) list.Add(item);
1884:              else list.Add(0);
1885:   
1886:              // integer: 209, binary: 011010001, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "S"
1887:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1888:              if (item != 0) list.Add(item);
1889:              else list.Add(0);
1890:   
1891:              // integer: 210, binary: 011010010, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "H"
1892:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1893:              if (item != 0) list.Add(item);
1894:              else list.Add(0);
1895:   
1896:              // integer: 211, binary: 011010011, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "H" || f.Class == "S"
1897:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1898:              if (item != 0) list.Add(item);
1899:              else list.Add(0);
1900:   
1901:              // integer: 212, binary: 011010100, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T"
1902:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1903:              if (item != 0) list.Add(item);
1904:              else list.Add(0);
1905:   
1906:              // integer: 213, binary: 011010101, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "S"
1907:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1908:              if (item != 0) list.Add(item);
1909:              else list.Add(0);
1910:   
1911:              // integer: 214, binary: 011010110, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H"
1912:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1913:              if (item != 0) list.Add(item);
1914:              else list.Add(0);
1915:   
1916:              // integer: 215, binary: 011010111, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1917:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1918:              if (item != 0) list.Add(item);
1919:              else list.Add(0);
1920:   
1921:              // integer: 216, binary: 011011000, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R"
1922:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1923:              if (item != 0) list.Add(item);
1924:              else list.Add(0);
1925:   
1926:              // integer: 217, binary: 011011001, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "S"
1927:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1928:              if (item != 0) list.Add(item);
1929:              else list.Add(0);
1930:   
1931:              // integer: 218, binary: 011011010, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H"
1932:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1933:              if (item != 0) list.Add(item);
1934:              else list.Add(0);
1935:   
1936:              // integer: 219, binary: 011011011, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
1937:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1938:              if (item != 0) list.Add(item);
1939:              else list.Add(0);
1940:   
1941:              // integer: 220, binary: 011011100, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T"
1942:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1943:              if (item != 0) list.Add(item);
1944:              else list.Add(0);
1945:   
1946:              // integer: 221, binary: 011011101, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
1947:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1948:              if (item != 0) list.Add(item);
1949:              else list.Add(0);
1950:   
1951:              // integer: 222, binary: 011011110, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
1952:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1953:              if (item != 0) list.Add(item);
1954:              else list.Add(0);
1955:   
1956:              // integer: 223, binary: 011011111, string: f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1957:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1958:              if (item != 0) list.Add(item);
1959:              else list.Add(0);
1960:   
1961:              // integer: 224, binary: 011100000, string: f.Class == "P" || f.Class == "V" || f.Class == "L"
1962:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1963:              if (item != 0) list.Add(item);
1964:              else list.Add(0);
1965:   
1966:              // integer: 225, binary: 011100001, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "S"
1967:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1968:              if (item != 0) list.Add(item);
1969:              else list.Add(0);
1970:   
1971:              // integer: 226, binary: 011100010, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "H"
1972:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1973:              if (item != 0) list.Add(item);
1974:              else list.Add(0);
1975:   
1976:              // integer: 227, binary: 011100011, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "H" || f.Class == "S"
1977:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1978:              if (item != 0) list.Add(item);
1979:              else list.Add(0);
1980:   
1981:              // integer: 228, binary: 011100100, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T"
1982:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1983:              if (item != 0) list.Add(item);
1984:              else list.Add(0);
1985:   
1986:              // integer: 229, binary: 011100101, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "S"
1987:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1988:              if (item != 0) list.Add(item);
1989:              else list.Add(0);
1990:   
1991:              // integer: 230, binary: 011100110, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H"
1992:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1993:              if (item != 0) list.Add(item);
1994:              else list.Add(0);
1995:   
1996:              // integer: 231, binary: 011100111, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S"
1997:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
1998:              if (item != 0) list.Add(item);
1999:              else list.Add(0);
2000:   
2001:              // integer: 232, binary: 011101000, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R"
2002:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2003:              if (item != 0) list.Add(item);
2004:              else list.Add(0);
2005:   
2006:              // integer: 233, binary: 011101001, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "S"
2007:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2008:              if (item != 0) list.Add(item);
2009:              else list.Add(0);
2010:   
2011:              // integer: 234, binary: 011101010, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H"
2012:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2013:              if (item != 0) list.Add(item);
2014:              else list.Add(0);
2015:   
2016:              // integer: 235, binary: 011101011, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2017:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2018:              if (item != 0) list.Add(item);
2019:              else list.Add(0);
2020:   
2021:              // integer: 236, binary: 011101100, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T"
2022:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2023:              if (item != 0) list.Add(item);
2024:              else list.Add(0);
2025:   
2026:              // integer: 237, binary: 011101101, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2027:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2028:              if (item != 0) list.Add(item);
2029:              else list.Add(0);
2030:   
2031:              // integer: 238, binary: 011101110, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2032:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2033:              if (item != 0) list.Add(item);
2034:              else list.Add(0);
2035:   
2036:              // integer: 239, binary: 011101111, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2037:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2038:              if (item != 0) list.Add(item);
2039:              else list.Add(0);
2040:   
2041:              // integer: 240, binary: 011110000, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U"
2042:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2043:              if (item != 0) list.Add(item);
2044:              else list.Add(0);
2045:   
2046:              // integer: 241, binary: 011110001, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "S"
2047:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2048:              if (item != 0) list.Add(item);
2049:              else list.Add(0);
2050:   
2051:              // integer: 242, binary: 011110010, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H"
2052:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2053:              if (item != 0) list.Add(item);
2054:              else list.Add(0);
2055:   
2056:              // integer: 243, binary: 011110011, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S"
2057:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2058:              if (item != 0) list.Add(item);
2059:              else list.Add(0);
2060:   
2061:              // integer: 244, binary: 011110100, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T"
2062:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2063:              if (item != 0) list.Add(item);
2064:              else list.Add(0);
2065:   
2066:              // integer: 245, binary: 011110101, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S"
2067:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2068:              if (item != 0) list.Add(item);
2069:              else list.Add(0);
2070:   
2071:              // integer: 246, binary: 011110110, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H"
2072:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2073:              if (item != 0) list.Add(item);
2074:              else list.Add(0);
2075:   
2076:              // integer: 247, binary: 011110111, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2077:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2078:              if (item != 0) list.Add(item);
2079:              else list.Add(0);
2080:   
2081:              // integer: 248, binary: 011111000, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R"
2082:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2083:              if (item != 0) list.Add(item);
2084:              else list.Add(0);
2085:   
2086:              // integer: 249, binary: 011111001, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S"
2087:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2088:              if (item != 0) list.Add(item);
2089:              else list.Add(0);
2090:   
2091:              // integer: 250, binary: 011111010, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H"
2092:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2093:              if (item != 0) list.Add(item);
2094:              else list.Add(0);
2095:   
2096:              // integer: 251, binary: 011111011, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2097:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2098:              if (item != 0) list.Add(item);
2099:              else list.Add(0);
2100:   
2101:              // integer: 252, binary: 011111100, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T"
2102:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2103:              if (item != 0) list.Add(item);
2104:              else list.Add(0);
2105:   
2106:              // integer: 253, binary: 011111101, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2107:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2108:              if (item != 0) list.Add(item);
2109:              else list.Add(0);
2110:   
2111:              // integer: 254, binary: 011111110, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2112:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2113:              if (item != 0) list.Add(item);
2114:              else list.Add(0);
2115:   
2116:              // integer: 255, binary: 011111111, string: f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2117:              item = (from f in featureClassDistanceToCapitalList where f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2118:              if (item != 0) list.Add(item);
2119:              else list.Add(0);
2120:   
2121:              // integer: 256, binary: 100000000, string: f.Class == "A"
2122:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2123:              if (item != 0) list.Add(item);
2124:              else list.Add(0);
2125:   
2126:              // integer: 257, binary: 100000001, string: f.Class == "A" || f.Class == "S"
2127:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2128:              if (item != 0) list.Add(item);
2129:              else list.Add(0);
2130:   
2131:              // integer: 258, binary: 100000010, string: f.Class == "A" || f.Class == "H"
2132:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2133:              if (item != 0) list.Add(item);
2134:              else list.Add(0);
2135:   
2136:              // integer: 259, binary: 100000011, string: f.Class == "A" || f.Class == "H" || f.Class == "S"
2137:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2138:              if (item != 0) list.Add(item);
2139:              else list.Add(0);
2140:   
2141:              // integer: 260, binary: 100000100, string: f.Class == "A" || f.Class == "T"
2142:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2143:              if (item != 0) list.Add(item);
2144:              else list.Add(0);
2145:   
2146:              // integer: 261, binary: 100000101, string: f.Class == "A" || f.Class == "T" || f.Class == "S"
2147:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2148:              if (item != 0) list.Add(item);
2149:              else list.Add(0);
2150:   
2151:              // integer: 262, binary: 100000110, string: f.Class == "A" || f.Class == "T" || f.Class == "H"
2152:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2153:              if (item != 0) list.Add(item);
2154:              else list.Add(0);
2155:   
2156:              // integer: 263, binary: 100000111, string: f.Class == "A" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2157:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2158:              if (item != 0) list.Add(item);
2159:              else list.Add(0);
2160:   
2161:              // integer: 264, binary: 100001000, string: f.Class == "A" || f.Class == "R"
2162:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2163:              if (item != 0) list.Add(item);
2164:              else list.Add(0);
2165:   
2166:              // integer: 265, binary: 100001001, string: f.Class == "A" || f.Class == "R" || f.Class == "S"
2167:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2168:              if (item != 0) list.Add(item);
2169:              else list.Add(0);
2170:   
2171:              // integer: 266, binary: 100001010, string: f.Class == "A" || f.Class == "R" || f.Class == "H"
2172:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2173:              if (item != 0) list.Add(item);
2174:              else list.Add(0);
2175:   
2176:              // integer: 267, binary: 100001011, string: f.Class == "A" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2177:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2178:              if (item != 0) list.Add(item);
2179:              else list.Add(0);
2180:   
2181:              // integer: 268, binary: 100001100, string: f.Class == "A" || f.Class == "R" || f.Class == "T"
2182:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2183:              if (item != 0) list.Add(item);
2184:              else list.Add(0);
2185:   
2186:              // integer: 269, binary: 100001101, string: f.Class == "A" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2187:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2188:              if (item != 0) list.Add(item);
2189:              else list.Add(0);
2190:   
2191:              // integer: 270, binary: 100001110, string: f.Class == "A" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2192:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2193:              if (item != 0) list.Add(item);
2194:              else list.Add(0);
2195:   
2196:              // integer: 271, binary: 100001111, string: f.Class == "A" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2197:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2198:              if (item != 0) list.Add(item);
2199:              else list.Add(0);
2200:   
2201:              // integer: 272, binary: 100010000, string: f.Class == "A" || f.Class == "U"
2202:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2203:              if (item != 0) list.Add(item);
2204:              else list.Add(0);
2205:   
2206:              // integer: 273, binary: 100010001, string: f.Class == "A" || f.Class == "U" || f.Class == "S"
2207:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2208:              if (item != 0) list.Add(item);
2209:              else list.Add(0);
2210:   
2211:              // integer: 274, binary: 100010010, string: f.Class == "A" || f.Class == "U" || f.Class == "H"
2212:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2213:              if (item != 0) list.Add(item);
2214:              else list.Add(0);
2215:   
2216:              // integer: 275, binary: 100010011, string: f.Class == "A" || f.Class == "U" || f.Class == "H" || f.Class == "S"
2217:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2218:              if (item != 0) list.Add(item);
2219:              else list.Add(0);
2220:   
2221:              // integer: 276, binary: 100010100, string: f.Class == "A" || f.Class == "U" || f.Class == "T"
2222:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2223:              if (item != 0) list.Add(item);
2224:              else list.Add(0);
2225:   
2226:              // integer: 277, binary: 100010101, string: f.Class == "A" || f.Class == "U" || f.Class == "T" || f.Class == "S"
2227:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2228:              if (item != 0) list.Add(item);
2229:              else list.Add(0);
2230:   
2231:              // integer: 278, binary: 100010110, string: f.Class == "A" || f.Class == "U" || f.Class == "T" || f.Class == "H"
2232:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2233:              if (item != 0) list.Add(item);
2234:              else list.Add(0);
2235:   
2236:              // integer: 279, binary: 100010111, string: f.Class == "A" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2237:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2238:              if (item != 0) list.Add(item);
2239:              else list.Add(0);
2240:   
2241:              // integer: 280, binary: 100011000, string: f.Class == "A" || f.Class == "U" || f.Class == "R"
2242:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2243:              if (item != 0) list.Add(item);
2244:              else list.Add(0);
2245:   
2246:              // integer: 281, binary: 100011001, string: f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "S"
2247:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2248:              if (item != 0) list.Add(item);
2249:              else list.Add(0);
2250:   
2251:              // integer: 282, binary: 100011010, string: f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "H"
2252:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2253:              if (item != 0) list.Add(item);
2254:              else list.Add(0);
2255:   
2256:              // integer: 283, binary: 100011011, string: f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2257:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2258:              if (item != 0) list.Add(item);
2259:              else list.Add(0);
2260:   
2261:              // integer: 284, binary: 100011100, string: f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "T"
2262:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2263:              if (item != 0) list.Add(item);
2264:              else list.Add(0);
2265:   
2266:              // integer: 285, binary: 100011101, string: f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2267:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2268:              if (item != 0) list.Add(item);
2269:              else list.Add(0);
2270:   
2271:              // integer: 286, binary: 100011110, string: f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2272:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2273:              if (item != 0) list.Add(item);
2274:              else list.Add(0);
2275:   
2276:              // integer: 287, binary: 100011111, string: f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2277:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2278:              if (item != 0) list.Add(item);
2279:              else list.Add(0);
2280:   
2281:              // integer: 288, binary: 100100000, string: f.Class == "A" || f.Class == "L"
2282:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2283:              if (item != 0) list.Add(item);
2284:              else list.Add(0);
2285:   
2286:              // integer: 289, binary: 100100001, string: f.Class == "A" || f.Class == "L" || f.Class == "S"
2287:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2288:              if (item != 0) list.Add(item);
2289:              else list.Add(0);
2290:   
2291:              // integer: 290, binary: 100100010, string: f.Class == "A" || f.Class == "L" || f.Class == "H"
2292:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2293:              if (item != 0) list.Add(item);
2294:              else list.Add(0);
2295:   
2296:              // integer: 291, binary: 100100011, string: f.Class == "A" || f.Class == "L" || f.Class == "H" || f.Class == "S"
2297:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2298:              if (item != 0) list.Add(item);
2299:              else list.Add(0);
2300:   
2301:              // integer: 292, binary: 100100100, string: f.Class == "A" || f.Class == "L" || f.Class == "T"
2302:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2303:              if (item != 0) list.Add(item);
2304:              else list.Add(0);
2305:   
2306:              // integer: 293, binary: 100100101, string: f.Class == "A" || f.Class == "L" || f.Class == "T" || f.Class == "S"
2307:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2308:              if (item != 0) list.Add(item);
2309:              else list.Add(0);
2310:   
2311:              // integer: 294, binary: 100100110, string: f.Class == "A" || f.Class == "L" || f.Class == "T" || f.Class == "H"
2312:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2313:              if (item != 0) list.Add(item);
2314:              else list.Add(0);
2315:   
2316:              // integer: 295, binary: 100100111, string: f.Class == "A" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2317:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2318:              if (item != 0) list.Add(item);
2319:              else list.Add(0);
2320:   
2321:              // integer: 296, binary: 100101000, string: f.Class == "A" || f.Class == "L" || f.Class == "R"
2322:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2323:              if (item != 0) list.Add(item);
2324:              else list.Add(0);
2325:   
2326:              // integer: 297, binary: 100101001, string: f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "S"
2327:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2328:              if (item != 0) list.Add(item);
2329:              else list.Add(0);
2330:   
2331:              // integer: 298, binary: 100101010, string: f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "H"
2332:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2333:              if (item != 0) list.Add(item);
2334:              else list.Add(0);
2335:   
2336:              // integer: 299, binary: 100101011, string: f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2337:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2338:              if (item != 0) list.Add(item);
2339:              else list.Add(0);
2340:   
2341:              // integer: 300, binary: 100101100, string: f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "T"
2342:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2343:              if (item != 0) list.Add(item);
2344:              else list.Add(0);
2345:   
2346:              // integer: 301, binary: 100101101, string: f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2347:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2348:              if (item != 0) list.Add(item);
2349:              else list.Add(0);
2350:   
2351:              // integer: 302, binary: 100101110, string: f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2352:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2353:              if (item != 0) list.Add(item);
2354:              else list.Add(0);
2355:   
2356:              // integer: 303, binary: 100101111, string: f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2357:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2358:              if (item != 0) list.Add(item);
2359:              else list.Add(0);
2360:   
2361:              // integer: 304, binary: 100110000, string: f.Class == "A" || f.Class == "L" || f.Class == "U"
2362:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2363:              if (item != 0) list.Add(item);
2364:              else list.Add(0);
2365:   
2366:              // integer: 305, binary: 100110001, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "S"
2367:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2368:              if (item != 0) list.Add(item);
2369:              else list.Add(0);
2370:   
2371:              // integer: 306, binary: 100110010, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "H"
2372:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2373:              if (item != 0) list.Add(item);
2374:              else list.Add(0);
2375:   
2376:              // integer: 307, binary: 100110011, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S"
2377:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2378:              if (item != 0) list.Add(item);
2379:              else list.Add(0);
2380:   
2381:              // integer: 308, binary: 100110100, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "T"
2382:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2383:              if (item != 0) list.Add(item);
2384:              else list.Add(0);
2385:   
2386:              // integer: 309, binary: 100110101, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S"
2387:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2388:              if (item != 0) list.Add(item);
2389:              else list.Add(0);
2390:   
2391:              // integer: 310, binary: 100110110, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H"
2392:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2393:              if (item != 0) list.Add(item);
2394:              else list.Add(0);
2395:   
2396:              // integer: 311, binary: 100110111, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2397:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2398:              if (item != 0) list.Add(item);
2399:              else list.Add(0);
2400:   
2401:              // integer: 312, binary: 100111000, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R"
2402:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2403:              if (item != 0) list.Add(item);
2404:              else list.Add(0);
2405:   
2406:              // integer: 313, binary: 100111001, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S"
2407:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2408:              if (item != 0) list.Add(item);
2409:              else list.Add(0);
2410:   
2411:              // integer: 314, binary: 100111010, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H"
2412:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2413:              if (item != 0) list.Add(item);
2414:              else list.Add(0);
2415:   
2416:              // integer: 315, binary: 100111011, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2417:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2418:              if (item != 0) list.Add(item);
2419:              else list.Add(0);
2420:   
2421:              // integer: 316, binary: 100111100, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T"
2422:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2423:              if (item != 0) list.Add(item);
2424:              else list.Add(0);
2425:   
2426:              // integer: 317, binary: 100111101, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2427:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2428:              if (item != 0) list.Add(item);
2429:              else list.Add(0);
2430:   
2431:              // integer: 318, binary: 100111110, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2432:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2433:              if (item != 0) list.Add(item);
2434:              else list.Add(0);
2435:   
2436:              // integer: 319, binary: 100111111, string: f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2437:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2438:              if (item != 0) list.Add(item);
2439:              else list.Add(0);
2440:   
2441:              // integer: 320, binary: 101000000, string: f.Class == "A" || f.Class == "V"
2442:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2443:              if (item != 0) list.Add(item);
2444:              else list.Add(0);
2445:   
2446:              // integer: 321, binary: 101000001, string: f.Class == "A" || f.Class == "V" || f.Class == "S"
2447:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2448:              if (item != 0) list.Add(item);
2449:              else list.Add(0);
2450:   
2451:              // integer: 322, binary: 101000010, string: f.Class == "A" || f.Class == "V" || f.Class == "H"
2452:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2453:              if (item != 0) list.Add(item);
2454:              else list.Add(0);
2455:   
2456:              // integer: 323, binary: 101000011, string: f.Class == "A" || f.Class == "V" || f.Class == "H" || f.Class == "S"
2457:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2458:              if (item != 0) list.Add(item);
2459:              else list.Add(0);
2460:   
2461:              // integer: 324, binary: 101000100, string: f.Class == "A" || f.Class == "V" || f.Class == "T"
2462:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2463:              if (item != 0) list.Add(item);
2464:              else list.Add(0);
2465:   
2466:              // integer: 325, binary: 101000101, string: f.Class == "A" || f.Class == "V" || f.Class == "T" || f.Class == "S"
2467:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2468:              if (item != 0) list.Add(item);
2469:              else list.Add(0);
2470:   
2471:              // integer: 326, binary: 101000110, string: f.Class == "A" || f.Class == "V" || f.Class == "T" || f.Class == "H"
2472:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2473:              if (item != 0) list.Add(item);
2474:              else list.Add(0);
2475:   
2476:              // integer: 327, binary: 101000111, string: f.Class == "A" || f.Class == "V" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2477:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2478:              if (item != 0) list.Add(item);
2479:              else list.Add(0);
2480:   
2481:              // integer: 328, binary: 101001000, string: f.Class == "A" || f.Class == "V" || f.Class == "R"
2482:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2483:              if (item != 0) list.Add(item);
2484:              else list.Add(0);
2485:   
2486:              // integer: 329, binary: 101001001, string: f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "S"
2487:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2488:              if (item != 0) list.Add(item);
2489:              else list.Add(0);
2490:   
2491:              // integer: 330, binary: 101001010, string: f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "H"
2492:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2493:              if (item != 0) list.Add(item);
2494:              else list.Add(0);
2495:   
2496:              // integer: 331, binary: 101001011, string: f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2497:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2498:              if (item != 0) list.Add(item);
2499:              else list.Add(0);
2500:   
2501:              // integer: 332, binary: 101001100, string: f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "T"
2502:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2503:              if (item != 0) list.Add(item);
2504:              else list.Add(0);
2505:   
2506:              // integer: 333, binary: 101001101, string: f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2507:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2508:              if (item != 0) list.Add(item);
2509:              else list.Add(0);
2510:   
2511:              // integer: 334, binary: 101001110, string: f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2512:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2513:              if (item != 0) list.Add(item);
2514:              else list.Add(0);
2515:   
2516:              // integer: 335, binary: 101001111, string: f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2517:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2518:              if (item != 0) list.Add(item);
2519:              else list.Add(0);
2520:   
2521:              // integer: 336, binary: 101010000, string: f.Class == "A" || f.Class == "V" || f.Class == "U"
2522:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2523:              if (item != 0) list.Add(item);
2524:              else list.Add(0);
2525:   
2526:              // integer: 337, binary: 101010001, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "S"
2527:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2528:              if (item != 0) list.Add(item);
2529:              else list.Add(0);
2530:   
2531:              // integer: 338, binary: 101010010, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "H"
2532:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2533:              if (item != 0) list.Add(item);
2534:              else list.Add(0);
2535:   
2536:              // integer: 339, binary: 101010011, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "H" || f.Class == "S"
2537:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2538:              if (item != 0) list.Add(item);
2539:              else list.Add(0);
2540:   
2541:              // integer: 340, binary: 101010100, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "T"
2542:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2543:              if (item != 0) list.Add(item);
2544:              else list.Add(0);
2545:   
2546:              // integer: 341, binary: 101010101, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "S"
2547:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2548:              if (item != 0) list.Add(item);
2549:              else list.Add(0);
2550:   
2551:              // integer: 342, binary: 101010110, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H"
2552:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2553:              if (item != 0) list.Add(item);
2554:              else list.Add(0);
2555:   
2556:              // integer: 343, binary: 101010111, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2557:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2558:              if (item != 0) list.Add(item);
2559:              else list.Add(0);
2560:   
2561:              // integer: 344, binary: 101011000, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R"
2562:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2563:              if (item != 0) list.Add(item);
2564:              else list.Add(0);
2565:   
2566:              // integer: 345, binary: 101011001, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "S"
2567:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2568:              if (item != 0) list.Add(item);
2569:              else list.Add(0);
2570:   
2571:              // integer: 346, binary: 101011010, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H"
2572:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2573:              if (item != 0) list.Add(item);
2574:              else list.Add(0);
2575:   
2576:              // integer: 347, binary: 101011011, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2577:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2578:              if (item != 0) list.Add(item);
2579:              else list.Add(0);
2580:   
2581:              // integer: 348, binary: 101011100, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T"
2582:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2583:              if (item != 0) list.Add(item);
2584:              else list.Add(0);
2585:   
2586:              // integer: 349, binary: 101011101, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2587:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2588:              if (item != 0) list.Add(item);
2589:              else list.Add(0);
2590:   
2591:              // integer: 350, binary: 101011110, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2592:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2593:              if (item != 0) list.Add(item);
2594:              else list.Add(0);
2595:   
2596:              // integer: 351, binary: 101011111, string: f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2597:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2598:              if (item != 0) list.Add(item);
2599:              else list.Add(0);
2600:   
2601:              // integer: 352, binary: 101100000, string: f.Class == "A" || f.Class == "V" || f.Class == "L"
2602:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2603:              if (item != 0) list.Add(item);
2604:              else list.Add(0);
2605:   
2606:              // integer: 353, binary: 101100001, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "S"
2607:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2608:              if (item != 0) list.Add(item);
2609:              else list.Add(0);
2610:   
2611:              // integer: 354, binary: 101100010, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "H"
2612:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2613:              if (item != 0) list.Add(item);
2614:              else list.Add(0);
2615:   
2616:              // integer: 355, binary: 101100011, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "H" || f.Class == "S"
2617:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2618:              if (item != 0) list.Add(item);
2619:              else list.Add(0);
2620:   
2621:              // integer: 356, binary: 101100100, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "T"
2622:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2623:              if (item != 0) list.Add(item);
2624:              else list.Add(0);
2625:   
2626:              // integer: 357, binary: 101100101, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "S"
2627:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2628:              if (item != 0) list.Add(item);
2629:              else list.Add(0);
2630:   
2631:              // integer: 358, binary: 101100110, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H"
2632:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2633:              if (item != 0) list.Add(item);
2634:              else list.Add(0);
2635:   
2636:              // integer: 359, binary: 101100111, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2637:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2638:              if (item != 0) list.Add(item);
2639:              else list.Add(0);
2640:   
2641:              // integer: 360, binary: 101101000, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R"
2642:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2643:              if (item != 0) list.Add(item);
2644:              else list.Add(0);
2645:   
2646:              // integer: 361, binary: 101101001, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "S"
2647:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2648:              if (item != 0) list.Add(item);
2649:              else list.Add(0);
2650:   
2651:              // integer: 362, binary: 101101010, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H"
2652:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2653:              if (item != 0) list.Add(item);
2654:              else list.Add(0);
2655:   
2656:              // integer: 363, binary: 101101011, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2657:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2658:              if (item != 0) list.Add(item);
2659:              else list.Add(0);
2660:   
2661:              // integer: 364, binary: 101101100, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T"
2662:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2663:              if (item != 0) list.Add(item);
2664:              else list.Add(0);
2665:   
2666:              // integer: 365, binary: 101101101, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2667:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2668:              if (item != 0) list.Add(item);
2669:              else list.Add(0);
2670:   
2671:              // integer: 366, binary: 101101110, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2672:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2673:              if (item != 0) list.Add(item);
2674:              else list.Add(0);
2675:   
2676:              // integer: 367, binary: 101101111, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2677:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2678:              if (item != 0) list.Add(item);
2679:              else list.Add(0);
2680:   
2681:              // integer: 368, binary: 101110000, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U"
2682:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2683:              if (item != 0) list.Add(item);
2684:              else list.Add(0);
2685:   
2686:              // integer: 369, binary: 101110001, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "S"
2687:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2688:              if (item != 0) list.Add(item);
2689:              else list.Add(0);
2690:   
2691:              // integer: 370, binary: 101110010, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H"
2692:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2693:              if (item != 0) list.Add(item);
2694:              else list.Add(0);
2695:   
2696:              // integer: 371, binary: 101110011, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S"
2697:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2698:              if (item != 0) list.Add(item);
2699:              else list.Add(0);
2700:   
2701:              // integer: 372, binary: 101110100, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T"
2702:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2703:              if (item != 0) list.Add(item);
2704:              else list.Add(0);
2705:   
2706:              // integer: 373, binary: 101110101, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S"
2707:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2708:              if (item != 0) list.Add(item);
2709:              else list.Add(0);
2710:   
2711:              // integer: 374, binary: 101110110, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H"
2712:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2713:              if (item != 0) list.Add(item);
2714:              else list.Add(0);
2715:   
2716:              // integer: 375, binary: 101110111, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2717:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2718:              if (item != 0) list.Add(item);
2719:              else list.Add(0);
2720:   
2721:              // integer: 376, binary: 101111000, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R"
2722:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2723:              if (item != 0) list.Add(item);
2724:              else list.Add(0);
2725:   
2726:              // integer: 377, binary: 101111001, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S"
2727:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2728:              if (item != 0) list.Add(item);
2729:              else list.Add(0);
2730:   
2731:              // integer: 378, binary: 101111010, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H"
2732:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2733:              if (item != 0) list.Add(item);
2734:              else list.Add(0);
2735:   
2736:              // integer: 379, binary: 101111011, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2737:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2738:              if (item != 0) list.Add(item);
2739:              else list.Add(0);
2740:   
2741:              // integer: 380, binary: 101111100, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T"
2742:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2743:              if (item != 0) list.Add(item);
2744:              else list.Add(0);
2745:   
2746:              // integer: 381, binary: 101111101, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2747:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2748:              if (item != 0) list.Add(item);
2749:              else list.Add(0);
2750:   
2751:              // integer: 382, binary: 101111110, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2752:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2753:              if (item != 0) list.Add(item);
2754:              else list.Add(0);
2755:   
2756:              // integer: 383, binary: 101111111, string: f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2757:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2758:              if (item != 0) list.Add(item);
2759:              else list.Add(0);
2760:   
2761:              // integer: 384, binary: 110000000, string: f.Class == "A" || f.Class == "P"
2762:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2763:              if (item != 0) list.Add(item);
2764:              else list.Add(0);
2765:   
2766:              // integer: 385, binary: 110000001, string: f.Class == "A" || f.Class == "P" || f.Class == "S"
2767:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2768:              if (item != 0) list.Add(item);
2769:              else list.Add(0);
2770:   
2771:              // integer: 386, binary: 110000010, string: f.Class == "A" || f.Class == "P" || f.Class == "H"
2772:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2773:              if (item != 0) list.Add(item);
2774:              else list.Add(0);
2775:   
2776:              // integer: 387, binary: 110000011, string: f.Class == "A" || f.Class == "P" || f.Class == "H" || f.Class == "S"
2777:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2778:              if (item != 0) list.Add(item);
2779:              else list.Add(0);
2780:   
2781:              // integer: 388, binary: 110000100, string: f.Class == "A" || f.Class == "P" || f.Class == "T"
2782:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2783:              if (item != 0) list.Add(item);
2784:              else list.Add(0);
2785:   
2786:              // integer: 389, binary: 110000101, string: f.Class == "A" || f.Class == "P" || f.Class == "T" || f.Class == "S"
2787:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2788:              if (item != 0) list.Add(item);
2789:              else list.Add(0);
2790:   
2791:              // integer: 390, binary: 110000110, string: f.Class == "A" || f.Class == "P" || f.Class == "T" || f.Class == "H"
2792:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2793:              if (item != 0) list.Add(item);
2794:              else list.Add(0);
2795:   
2796:              // integer: 391, binary: 110000111, string: f.Class == "A" || f.Class == "P" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2797:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2798:              if (item != 0) list.Add(item);
2799:              else list.Add(0);
2800:   
2801:              // integer: 392, binary: 110001000, string: f.Class == "A" || f.Class == "P" || f.Class == "R"
2802:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2803:              if (item != 0) list.Add(item);
2804:              else list.Add(0);
2805:   
2806:              // integer: 393, binary: 110001001, string: f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "S"
2807:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2808:              if (item != 0) list.Add(item);
2809:              else list.Add(0);
2810:   
2811:              // integer: 394, binary: 110001010, string: f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "H"
2812:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2813:              if (item != 0) list.Add(item);
2814:              else list.Add(0);
2815:   
2816:              // integer: 395, binary: 110001011, string: f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2817:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2818:              if (item != 0) list.Add(item);
2819:              else list.Add(0);
2820:   
2821:              // integer: 396, binary: 110001100, string: f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "T"
2822:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2823:              if (item != 0) list.Add(item);
2824:              else list.Add(0);
2825:   
2826:              // integer: 397, binary: 110001101, string: f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2827:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2828:              if (item != 0) list.Add(item);
2829:              else list.Add(0);
2830:   
2831:              // integer: 398, binary: 110001110, string: f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2832:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2833:              if (item != 0) list.Add(item);
2834:              else list.Add(0);
2835:   
2836:              // integer: 399, binary: 110001111, string: f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2837:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2838:              if (item != 0) list.Add(item);
2839:              else list.Add(0);
2840:   
2841:              // integer: 400, binary: 110010000, string: f.Class == "A" || f.Class == "P" || f.Class == "U"
2842:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2843:              if (item != 0) list.Add(item);
2844:              else list.Add(0);
2845:   
2846:              // integer: 401, binary: 110010001, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "S"
2847:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2848:              if (item != 0) list.Add(item);
2849:              else list.Add(0);
2850:   
2851:              // integer: 402, binary: 110010010, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "H"
2852:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2853:              if (item != 0) list.Add(item);
2854:              else list.Add(0);
2855:   
2856:              // integer: 403, binary: 110010011, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "H" || f.Class == "S"
2857:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2858:              if (item != 0) list.Add(item);
2859:              else list.Add(0);
2860:   
2861:              // integer: 404, binary: 110010100, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "T"
2862:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2863:              if (item != 0) list.Add(item);
2864:              else list.Add(0);
2865:   
2866:              // integer: 405, binary: 110010101, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "S"
2867:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2868:              if (item != 0) list.Add(item);
2869:              else list.Add(0);
2870:   
2871:              // integer: 406, binary: 110010110, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "H"
2872:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2873:              if (item != 0) list.Add(item);
2874:              else list.Add(0);
2875:   
2876:              // integer: 407, binary: 110010111, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2877:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2878:              if (item != 0) list.Add(item);
2879:              else list.Add(0);
2880:   
2881:              // integer: 408, binary: 110011000, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R"
2882:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2883:              if (item != 0) list.Add(item);
2884:              else list.Add(0);
2885:   
2886:              // integer: 409, binary: 110011001, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "S"
2887:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2888:              if (item != 0) list.Add(item);
2889:              else list.Add(0);
2890:   
2891:              // integer: 410, binary: 110011010, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "H"
2892:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2893:              if (item != 0) list.Add(item);
2894:              else list.Add(0);
2895:   
2896:              // integer: 411, binary: 110011011, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2897:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2898:              if (item != 0) list.Add(item);
2899:              else list.Add(0);
2900:   
2901:              // integer: 412, binary: 110011100, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T"
2902:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2903:              if (item != 0) list.Add(item);
2904:              else list.Add(0);
2905:   
2906:              // integer: 413, binary: 110011101, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2907:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2908:              if (item != 0) list.Add(item);
2909:              else list.Add(0);
2910:   
2911:              // integer: 414, binary: 110011110, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2912:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2913:              if (item != 0) list.Add(item);
2914:              else list.Add(0);
2915:   
2916:              // integer: 415, binary: 110011111, string: f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2917:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2918:              if (item != 0) list.Add(item);
2919:              else list.Add(0);
2920:   
2921:              // integer: 416, binary: 110100000, string: f.Class == "A" || f.Class == "P" || f.Class == "L"
2922:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2923:              if (item != 0) list.Add(item);
2924:              else list.Add(0);
2925:   
2926:              // integer: 417, binary: 110100001, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "S"
2927:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2928:              if (item != 0) list.Add(item);
2929:              else list.Add(0);
2930:   
2931:              // integer: 418, binary: 110100010, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "H"
2932:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2933:              if (item != 0) list.Add(item);
2934:              else list.Add(0);
2935:   
2936:              // integer: 419, binary: 110100011, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "H" || f.Class == "S"
2937:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2938:              if (item != 0) list.Add(item);
2939:              else list.Add(0);
2940:   
2941:              // integer: 420, binary: 110100100, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "T"
2942:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2943:              if (item != 0) list.Add(item);
2944:              else list.Add(0);
2945:   
2946:              // integer: 421, binary: 110100101, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "S"
2947:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2948:              if (item != 0) list.Add(item);
2949:              else list.Add(0);
2950:   
2951:              // integer: 422, binary: 110100110, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "H"
2952:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2953:              if (item != 0) list.Add(item);
2954:              else list.Add(0);
2955:   
2956:              // integer: 423, binary: 110100111, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2957:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2958:              if (item != 0) list.Add(item);
2959:              else list.Add(0);
2960:   
2961:              // integer: 424, binary: 110101000, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R"
2962:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2963:              if (item != 0) list.Add(item);
2964:              else list.Add(0);
2965:   
2966:              // integer: 425, binary: 110101001, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "S"
2967:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2968:              if (item != 0) list.Add(item);
2969:              else list.Add(0);
2970:   
2971:              // integer: 426, binary: 110101010, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "H"
2972:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2973:              if (item != 0) list.Add(item);
2974:              else list.Add(0);
2975:   
2976:              // integer: 427, binary: 110101011, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S"
2977:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2978:              if (item != 0) list.Add(item);
2979:              else list.Add(0);
2980:   
2981:              // integer: 428, binary: 110101100, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T"
2982:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2983:              if (item != 0) list.Add(item);
2984:              else list.Add(0);
2985:   
2986:              // integer: 429, binary: 110101101, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S"
2987:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2988:              if (item != 0) list.Add(item);
2989:              else list.Add(0);
2990:   
2991:              // integer: 430, binary: 110101110, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H"
2992:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2993:              if (item != 0) list.Add(item);
2994:              else list.Add(0);
2995:   
2996:              // integer: 431, binary: 110101111, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
2997:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
2998:              if (item != 0) list.Add(item);
2999:              else list.Add(0);
3000:   
3001:              // integer: 432, binary: 110110000, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U"
3002:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3003:              if (item != 0) list.Add(item);
3004:              else list.Add(0);
3005:   
3006:              // integer: 433, binary: 110110001, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "S"
3007:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3008:              if (item != 0) list.Add(item);
3009:              else list.Add(0);
3010:   
3011:              // integer: 434, binary: 110110010, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "H"
3012:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3013:              if (item != 0) list.Add(item);
3014:              else list.Add(0);
3015:   
3016:              // integer: 435, binary: 110110011, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S"
3017:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3018:              if (item != 0) list.Add(item);
3019:              else list.Add(0);
3020:   
3021:              // integer: 436, binary: 110110100, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T"
3022:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3023:              if (item != 0) list.Add(item);
3024:              else list.Add(0);
3025:   
3026:              // integer: 437, binary: 110110101, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S"
3027:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3028:              if (item != 0) list.Add(item);
3029:              else list.Add(0);
3030:   
3031:              // integer: 438, binary: 110110110, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H"
3032:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3033:              if (item != 0) list.Add(item);
3034:              else list.Add(0);
3035:   
3036:              // integer: 439, binary: 110110111, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
3037:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3038:              if (item != 0) list.Add(item);
3039:              else list.Add(0);
3040:   
3041:              // integer: 440, binary: 110111000, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R"
3042:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3043:              if (item != 0) list.Add(item);
3044:              else list.Add(0);
3045:   
3046:              // integer: 441, binary: 110111001, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S"
3047:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3048:              if (item != 0) list.Add(item);
3049:              else list.Add(0);
3050:   
3051:              // integer: 442, binary: 110111010, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H"
3052:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3053:              if (item != 0) list.Add(item);
3054:              else list.Add(0);
3055:   
3056:              // integer: 443, binary: 110111011, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
3057:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3058:              if (item != 0) list.Add(item);
3059:              else list.Add(0);
3060:   
3061:              // integer: 444, binary: 110111100, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T"
3062:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3063:              if (item != 0) list.Add(item);
3064:              else list.Add(0);
3065:   
3066:              // integer: 445, binary: 110111101, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
3067:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3068:              if (item != 0) list.Add(item);
3069:              else list.Add(0);
3070:   
3071:              // integer: 446, binary: 110111110, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
3072:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3073:              if (item != 0) list.Add(item);
3074:              else list.Add(0);
3075:   
3076:              // integer: 447, binary: 110111111, string: f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
3077:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3078:              if (item != 0) list.Add(item);
3079:              else list.Add(0);
3080:   
3081:              // integer: 448, binary: 111000000, string: f.Class == "A" || f.Class == "P" || f.Class == "V"
3082:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3083:              if (item != 0) list.Add(item);
3084:              else list.Add(0);
3085:   
3086:              // integer: 449, binary: 111000001, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "S"
3087:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3088:              if (item != 0) list.Add(item);
3089:              else list.Add(0);
3090:   
3091:              // integer: 450, binary: 111000010, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "H"
3092:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3093:              if (item != 0) list.Add(item);
3094:              else list.Add(0);
3095:   
3096:              // integer: 451, binary: 111000011, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "H" || f.Class == "S"
3097:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3098:              if (item != 0) list.Add(item);
3099:              else list.Add(0);
3100:   
3101:              // integer: 452, binary: 111000100, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "T"
3102:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3103:              if (item != 0) list.Add(item);
3104:              else list.Add(0);
3105:   
3106:              // integer: 453, binary: 111000101, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "S"
3107:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3108:              if (item != 0) list.Add(item);
3109:              else list.Add(0);
3110:   
3111:              // integer: 454, binary: 111000110, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "H"
3112:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3113:              if (item != 0) list.Add(item);
3114:              else list.Add(0);
3115:   
3116:              // integer: 455, binary: 111000111, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "H" || f.Class == "S"
3117:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3118:              if (item != 0) list.Add(item);
3119:              else list.Add(0);
3120:   
3121:              // integer: 456, binary: 111001000, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R"
3122:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3123:              if (item != 0) list.Add(item);
3124:              else list.Add(0);
3125:   
3126:              // integer: 457, binary: 111001001, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "S"
3127:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3128:              if (item != 0) list.Add(item);
3129:              else list.Add(0);
3130:   
3131:              // integer: 458, binary: 111001010, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "H"
3132:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3133:              if (item != 0) list.Add(item);
3134:              else list.Add(0);
3135:   
3136:              // integer: 459, binary: 111001011, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "H" || f.Class == "S"
3137:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3138:              if (item != 0) list.Add(item);
3139:              else list.Add(0);
3140:   
3141:              // integer: 460, binary: 111001100, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T"
3142:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3143:              if (item != 0) list.Add(item);
3144:              else list.Add(0);
3145:   
3146:              // integer: 461, binary: 111001101, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "S"
3147:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3148:              if (item != 0) list.Add(item);
3149:              else list.Add(0);
3150:   
3151:              // integer: 462, binary: 111001110, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H"
3152:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3153:              if (item != 0) list.Add(item);
3154:              else list.Add(0);
3155:   
3156:              // integer: 463, binary: 111001111, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
3157:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3158:              if (item != 0) list.Add(item);
3159:              else list.Add(0);
3160:   
3161:              // integer: 464, binary: 111010000, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U"
3162:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3163:              if (item != 0) list.Add(item);
3164:              else list.Add(0);
3165:   
3166:              // integer: 465, binary: 111010001, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "S"
3167:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3168:              if (item != 0) list.Add(item);
3169:              else list.Add(0);
3170:   
3171:              // integer: 466, binary: 111010010, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "H"
3172:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3173:              if (item != 0) list.Add(item);
3174:              else list.Add(0);
3175:   
3176:              // integer: 467, binary: 111010011, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "H" || f.Class == "S"
3177:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3178:              if (item != 0) list.Add(item);
3179:              else list.Add(0);
3180:   
3181:              // integer: 468, binary: 111010100, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T"
3182:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3183:              if (item != 0) list.Add(item);
3184:              else list.Add(0);
3185:   
3186:              // integer: 469, binary: 111010101, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "S"
3187:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3188:              if (item != 0) list.Add(item);
3189:              else list.Add(0);
3190:   
3191:              // integer: 470, binary: 111010110, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H"
3192:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3193:              if (item != 0) list.Add(item);
3194:              else list.Add(0);
3195:   
3196:              // integer: 471, binary: 111010111, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
3197:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3198:              if (item != 0) list.Add(item);
3199:              else list.Add(0);
3200:   
3201:              // integer: 472, binary: 111011000, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R"
3202:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3203:              if (item != 0) list.Add(item);
3204:              else list.Add(0);
3205:   
3206:              // integer: 473, binary: 111011001, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "S"
3207:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3208:              if (item != 0) list.Add(item);
3209:              else list.Add(0);
3210:   
3211:              // integer: 474, binary: 111011010, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H"
3212:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3213:              if (item != 0) list.Add(item);
3214:              else list.Add(0);
3215:   
3216:              // integer: 475, binary: 111011011, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
3217:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3218:              if (item != 0) list.Add(item);
3219:              else list.Add(0);
3220:   
3221:              // integer: 476, binary: 111011100, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T"
3222:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3223:              if (item != 0) list.Add(item);
3224:              else list.Add(0);
3225:   
3226:              // integer: 477, binary: 111011101, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
3227:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3228:              if (item != 0) list.Add(item);
3229:              else list.Add(0);
3230:   
3231:              // integer: 478, binary: 111011110, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
3232:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3233:              if (item != 0) list.Add(item);
3234:              else list.Add(0);
3235:   
3236:              // integer: 479, binary: 111011111, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
3237:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3238:              if (item != 0) list.Add(item);
3239:              else list.Add(0);
3240:   
3241:              // integer: 480, binary: 111100000, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L"
3242:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3243:              if (item != 0) list.Add(item);
3244:              else list.Add(0);
3245:   
3246:              // integer: 481, binary: 111100001, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "S"
3247:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3248:              if (item != 0) list.Add(item);
3249:              else list.Add(0);
3250:   
3251:              // integer: 482, binary: 111100010, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "H"
3252:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3253:              if (item != 0) list.Add(item);
3254:              else list.Add(0);
3255:   
3256:              // integer: 483, binary: 111100011, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "H" || f.Class == "S"
3257:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3258:              if (item != 0) list.Add(item);
3259:              else list.Add(0);
3260:   
3261:              // integer: 484, binary: 111100100, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T"
3262:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3263:              if (item != 0) list.Add(item);
3264:              else list.Add(0);
3265:   
3266:              // integer: 485, binary: 111100101, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "S"
3267:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3268:              if (item != 0) list.Add(item);
3269:              else list.Add(0);
3270:   
3271:              // integer: 486, binary: 111100110, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H"
3272:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3273:              if (item != 0) list.Add(item);
3274:              else list.Add(0);
3275:   
3276:              // integer: 487, binary: 111100111, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S"
3277:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3278:              if (item != 0) list.Add(item);
3279:              else list.Add(0);
3280:   
3281:              // integer: 488, binary: 111101000, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R"
3282:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3283:              if (item != 0) list.Add(item);
3284:              else list.Add(0);
3285:   
3286:              // integer: 489, binary: 111101001, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "S"
3287:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3288:              if (item != 0) list.Add(item);
3289:              else list.Add(0);
3290:   
3291:              // integer: 490, binary: 111101010, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H"
3292:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3293:              if (item != 0) list.Add(item);
3294:              else list.Add(0);
3295:   
3296:              // integer: 491, binary: 111101011, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S"
3297:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3298:              if (item != 0) list.Add(item);
3299:              else list.Add(0);
3300:   
3301:              // integer: 492, binary: 111101100, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T"
3302:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3303:              if (item != 0) list.Add(item);
3304:              else list.Add(0);
3305:   
3306:              // integer: 493, binary: 111101101, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S"
3307:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3308:              if (item != 0) list.Add(item);
3309:              else list.Add(0);
3310:   
3311:              // integer: 494, binary: 111101110, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H"
3312:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3313:              if (item != 0) list.Add(item);
3314:              else list.Add(0);
3315:   
3316:              // integer: 495, binary: 111101111, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
3317:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3318:              if (item != 0) list.Add(item);
3319:              else list.Add(0);
3320:   
3321:              // integer: 496, binary: 111110000, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U"
3322:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3323:              if (item != 0) list.Add(item);
3324:              else list.Add(0);
3325:   
3326:              // integer: 497, binary: 111110001, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "S"
3327:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3328:              if (item != 0) list.Add(item);
3329:              else list.Add(0);
3330:   
3331:              // integer: 498, binary: 111110010, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H"
3332:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3333:              if (item != 0) list.Add(item);
3334:              else list.Add(0);
3335:   
3336:              // integer: 499, binary: 111110011, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S"
3337:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3338:              if (item != 0) list.Add(item);
3339:              else list.Add(0);
3340:   
3341:              // integer: 500, binary: 111110100, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T"
3342:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3343:              if (item != 0) list.Add(item);
3344:              else list.Add(0);
3345:   
3346:              // integer: 501, binary: 111110101, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S"
3347:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3348:              if (item != 0) list.Add(item);
3349:              else list.Add(0);
3350:   
3351:              // integer: 502, binary: 111110110, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H"
3352:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3353:              if (item != 0) list.Add(item);
3354:              else list.Add(0);
3355:   
3356:              // integer: 503, binary: 111110111, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S"
3357:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3358:              if (item != 0) list.Add(item);
3359:              else list.Add(0);
3360:   
3361:              // integer: 504, binary: 111111000, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R"
3362:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3363:              if (item != 0) list.Add(item);
3364:              else list.Add(0);
3365:   
3366:              // integer: 505, binary: 111111001, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S"
3367:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3368:              if (item != 0) list.Add(item);
3369:              else list.Add(0);
3370:   
3371:              // integer: 506, binary: 111111010, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H"
3372:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3373:              if (item != 0) list.Add(item);
3374:              else list.Add(0);
3375:   
3376:              // integer: 507, binary: 111111011, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S"
3377:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3378:              if (item != 0) list.Add(item);
3379:              else list.Add(0);
3380:   
3381:              // integer: 508, binary: 111111100, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T"
3382:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3383:              if (item != 0) list.Add(item);
3384:              else list.Add(0);
3385:   
3386:              // integer: 509, binary: 111111101, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S"
3387:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3388:              if (item != 0) list.Add(item);
3389:              else list.Add(0);
3390:   
3391:              // integer: 510, binary: 111111110, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H"
3392:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3393:              if (item != 0) list.Add(item);
3394:              else list.Add(0);
3395:   
3396:              // integer: 511, binary: 111111111, string: f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S"
3397:              item = (from f in featureClassDistanceToCapitalList where f.Class == "A" || f.Class == "P" || f.Class == "V" || f.Class == "L" || f.Class == "U" || f.Class == "R" || f.Class == "T" || f.Class == "H" || f.Class == "S" orderby f.DistanceToCapital select f.DistanceToCapital).Take(maximumNumberOfTrekToDisplayNearTheCapitalList).LastOrDefault();
3398:              if (item != 0) list.Add(item);
3399:              else list.Add(0);
3400:   
3401:              // end of generated code
3402:          }
3403:   
3404:          ////////////////////////////////////////////////////////////////////////////
3405:          ////////////////////////////////////////////////////////////////////////////
3406:      }
3407:  }