Ejemplo n.º 1
0
 public ConfigurationData()
 {
     MaxCacheSize      = 200;
     MaxSegmentsNumber = 40;
     InitialSplitSimplificationDistanceTolerace = 50;
     MaxDistanceToExisitngLineForMerge          = 5;
     MaxProlongLineLength            = 350;
     MaxDistanceBetweenGpsRecordings = 50;
     MinimalSegmentLength            = 500;
     MinimalDistanceToClosestPoint   = 30;
     MinimalProlongLineLength        = 10;
     MinimalAreaSize = 1000;
     SimplificationDistanceTolerance = 3;
     MinimalMissingPartLength        = 200;
     MinimalMissingSelfLoopPartLegth = MinimalDistanceToClosestPoint;
     MaxNumberOfPointsPerLine        = 1000;
     MaxLengthPerLine          = 3000;
     RadialSimplificationAngle = 90;
     SearchFactor = 0.5;
     MergePointsOfInterestThreshold = 1 / 60.0; // 1 minute
     BinariesFolder             = string.Empty;
     GraphhopperServerAddress   = "http://localhost:8989/";
     ElasticsearchServerAddress = "http://localhost:9200/";
     OsmFileAddress             = "http://download.openstreetmap.fr/extracts/asia/israel_and_palestine-latest.osm.pbf";
     OsmFileTimeStampAddress    = "http://download.openstreetmap.fr/extracts/asia/israel_and_palestine.state.txt";
     OsmMinutsFileBaseAddress   = "http://download.openstreetmap.fr/replication/asia/israel_and_palestine";
     OsmConfiguration           = new OsmConfiguraionData
     {
         ConsumerKey    = "E8p0RX0rnQPxDaj3IijgpMNeK8lRTyy6rlKxQ8IF",
         ConsumerSecret = "Hro40NSObALdx8Dm7Xv1mKvxjwlGITqetXUBYUwv",
         BaseAddress    = "https://www.openstreetmap.org"
     };
     ListingDictionary = new Dictionary <string, string>();
     ProxiesDictionary = new Dictionary <string, string>();
     Colors            = new List <string>
     {
         "#0000FF", // blue
         "#FF0000", // red
         "#FF6600", // orange
         "#FF00DD", // pink
         "#008000", // green
         "#B700FF", // purple
         "#00B0A4", // turquize
         "#FFFF00", // yellow
         "#9C3E00", // brown
         "#00FFFF", // cyan
         "#7F8282", // gray
         "#101010", // dark
     };
 }
Ejemplo n.º 2
0
 public ConfigurationData()
 {
     MaxCacheSize      = 200;
     MaxSegmentsNumber = 40;
     InitialSplitSimplificationDistanceTolerace = 50;
     MaxDistanceToExisitngLineForMerge          = 5;
     MaxProlongLineLength            = 350;
     MaxDistanceBetweenGpsRecordings = 50;
     MinimalSegmentLength            = 500;
     MinimalDistanceToClosestPoint   = 30;
     MinimalAreaSize = 1000;
     SimplificationDistanceTolerance = 3;
     MinimalMissingPartLength        = 200;
     MinimalMissingSelfLoopPartLegth = MinimalDistanceToClosestPoint;
     MaxNumberOfPointsPerLine        = 1000;
     MaxLengthPerLine          = 3000;
     RadialSimplificationAngle = 90;
     SearchFactor = 0.5;
     MergePointsOfInterestThreshold = 0.0015;
     BinariesFolder   = string.Empty;
     OsmConfiguration = new OsmConfiguraionData
     {
         ConsumerKey    = "E8p0RX0rnQPxDaj3IijgpMNeK8lRTyy6rlKxQ8IF",
         ConsumerSecret = "Hro40NSObALdx8Dm7Xv1mKvxjwlGITqetXUBYUwv",
         BaseAddress    = "https://www.openstreetmap.org"
     };
     ListingDictionary = new Dictionary <string, string>();
     ProxiesDictionary = new Dictionary <string, string>();
     Colors            = new List <string>
     {
         "#0000FF", // blue
         "#FF0000", // red
         "#FF6600", // orange
         "#FF00DD", // pink
         "#008000", // green
         "#B700FF", // purple
         "#00B0A4", // turquize
         "#FFFF00", // yellow
         "#9C3E00", // brown
         "#00FFFF", // cyan
         "#7F8282", // gray
         "#101010", // dark
     };
 }
Ejemplo n.º 3
0
 public ConfigurationData()
 {
     MaxCacheSize      = 200;                                 // number
     MaxSegmentsNumber = 40;                                  // number
     MinimalSplitSimplificationTolerace   = 50;               // meters
     DistanceToExisitngLineMergeThreshold = 5;                // meters
     MaximalProlongLineLength             = 350;              // meters
     MinimalSegmentLength            = 500;                   // meters
     ClosestPointTolerance           = 30;                    // meters
     SimplificationTolerance         = 3;                     // meters
     MinimalMissingPartLength        = 200;                   // meters
     MinimalMissingSelfLoopPartLegth = ClosestPointTolerance; // meters
     MaxNumberOfPointsPerLine        = 1000;                  // number
     MaxLengthPerLine          = 3000;                        // meters
     RadialSimplificationAngle = 90;                          // degrees
     SearchFactor    = 0.5;                                   // number
     BinariesFolder  = string.Empty;
     DefaultLanguage = "he";
     NonPublicConfigurationFilePath = "someFile.json";
     OsmConfiguraion = new OsmConfiguraionData
     {
         ConsumerKey    = "E8p0RX0rnQPxDaj3IijgpMNeK8lRTyy6rlKxQ8IF",
         ConsumerSecret = "Hro40NSObALdx8Dm7Xv1mKvxjwlGITqetXUBYUwv",
         BaseAddress    = "https://www.openstreetmap.org"
     };
     ListingDictionary = new Dictionary <string, string>();
     Colors            = new List <string>
     {
         "#0000FF", // blue
         "#FF0000", // red
         "#FF6600", // orange
         "#FF00DD", // pink
         "#008000", // green
         "#B700FF", // purple
         "#00B0A4", // turquize
         "#FFFF00", // yellow
         "#9C3E00", // brown
         "#00FFFF", // cyan
         "#7F8282", // gray
         "#101010", // dark
     };
 }