//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void setUp()
        public virtual void setUp()
        {
            this.configuration = new MapWriterConfiguration();
            // this.configuration.addOutputFile(getStringArgument(taskConfig, PARAM_OUTFILE,
            // Constants.DEFAULT_PARAM_OUTFILE));
            this.configuration.WriterVersion = "test";
            this.configuration.loadTagMappingFile("src/test/resources/tag-mapping.xml");
            this.configuration.addMapStartPosition("52.455882,13.297244");
            this.configuration.addMapStartZoom("14");
            this.configuration.addBboxConfiguration("52,13,53,14");
            this.configuration.addZoomIntervalConfiguration("5,0,7,10,8,11,14,12,18");
            this.configuration.Comment            = "i love mapsforge";
            this.configuration.DebugStrings       = false;
            this.configuration.PolygonClipping    = true;
            this.configuration.WayClipping        = true;
            this.configuration.Simplification     = 0.00001;
            this.configuration.DataProcessorType  = "ram";
            this.configuration.BboxEnlargement    = 10;
            this.configuration.PreferredLanguages = "en,de";
            this.configuration.addEncodingChoice("auto");
            this.configuration.validate();

            this.dataProcessor = RAMTileBasedDataProcessor.newInstance(this.configuration);
        }
示例#2
0
 public TLongProcedureAnonymousInnerClassHelper(RAMTileBasedDataProcessor outerInstance, ISet <TDWay> res)
 {
     this.outerInstance = outerInstance;
     this.res           = res;
 }