예제 #1
0
 /// <summary>
 /// This uses the filename of this shapefile to read the prj file of the same name
 /// and stores the result in the Projection class.
 /// </summary>
 public void ReadProjection()
 {
     Projection = new ProjectionInfo();
     string prjFile = System.IO.Path.ChangeExtension(Filename, ".prj");
     if(System.IO.File.Exists(prjFile))
     {
         Projection.Open(prjFile);
     }
 }