)>}]
شركة التطبيقات المتكاملة لتصميم وبرمجة البرمجيات الخاصة ش.ش.و.
Integrated Applications Programming Company
Home » Code Library » Feature (Ia.TentPlay.Cl.Model.Data.Trek)

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