Esri ArcObjects Snippets - Series
Load Geographic Coordinate System from file
// load Projected projected system from file
static IProjectedCoordinateSystem loadProjectedCoordinateSystem()
throws Exception {
ISpatialReferenceFactory spatialReferenceFactory = new SpatialReferenceEnvironment();
IProjectedCoordinateSystem projectedCoordinateSystem = (IProjectedCoordinateSystem) spatialReferenceFactory
.createESRISpatialReferenceFromPRJFile("D:/work/WGS1984UTMZone43N.prj");
return projectedCoordinateSystem;
}
This code has been made using ESRI Resources and other Help Content and is provided here just for educational purpose.
// load Projected projected system from file
static IProjectedCoordinateSystem loadProjectedCoordinateSystem()
throws Exception {
ISpatialReferenceFactory spatialReferenceFactory = new SpatialReferenceEnvironment();
IProjectedCoordinateSystem projectedCoordinateSystem = (IProjectedCoordinateSystem) spatialReferenceFactory
.createESRISpatialReferenceFromPRJFile("D:/work/WGS1984UTMZone43N.prj");
return projectedCoordinateSystem;
}
This code has been made using ESRI Resources and other Help Content and is provided here just for educational purpose.
No comments:
Post a Comment