Showing posts with label Load Geographic Coordinate System from file. Show all posts
Showing posts with label Load Geographic Coordinate System from file. Show all posts

Sunday, February 22, 2015

Load Geographic Coordinate System from file Esri ArcObjects Snippets - Series

Esri ArcObjects Snippets - Series

Load Geographic Coordinate System from file


 // load Geographic cordinate system from file  
 static IGeographicCoordinateSystem loadGeographicCoordinateSystem()  
           throws Exception {  
      ISpatialReferenceFactory spatialReferenceFactory = new SpatialReferenceEnvironment();  
      IGeographicCoordinateSystem geographicCoordinateSystem = (IGeographicCoordinateSystem) spatialReferenceFactory  
                .createESRISpatialReferenceFromPRJFile("D:/work/WGS1984.prj");  
      return geographicCoordinateSystem;  
 }  





This code has been made using ESRI Resources and other Help Content and is provided here just for educational purpose.