Пример #1
0
 public static void Main(string[] args)
 {
     GdalConfiguration.ConfigureOgr();
     GdalConfiguration.ConfigureGdal();
     if (args.Length < 3)
     {
         Console.WriteLine("GeoMapToKOL.exe <GeoMap file> <KERG file> <Shapefile folder>");
         Environment.Exit(-1);
     }
     _roboty    = new RobotyShapefile(args[2]);
     _mapReader = new GeoMapReader(_roboty);
     _mapReader.Wczytaj(fileName: args[0]);
     _krgReader = new KergReader(args[1]);
     _mapReader.PrzygotujKergi(_krgReader);
     Console.WriteLine("Koniec.");
     Console.Read();
 }
Пример #2
0
 public GeoMapReader(RobotyShapefile roboty)
 {
     _roboty  = roboty;
     _dzia³ki = new Dzia³ki(roboty);
 }
Пример #3
0
 public Dzia³ki(RobotyShapefile shp)
 {
     this.shp       = shp;
     this.gminaGeom = null;
 }