com.esri.arcgis.geometry
Interface ISpatialReferenceFactory4

All Superinterfaces:
ISpatialReferenceFactory, ISpatialReferenceFactory2, ISpatialReferenceFactory3, Serializable
All Known Implementing Classes:
SpatialReferenceEnvironment

public interface ISpatialReferenceFactory4
extends ISpatialReferenceFactory3, Serializable

Provides access to members that create lists of coordinate systems.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 ISpatialReferenceInfo createFromAreaName(String areaName, int typeFilter)
          Creates a coordinate system from the human-readable 'area name' of the coordinate system.
 IPropertySet getAreaNames(int typeFilter, String nameFilter, boolean returnCategorizedNames, boolean hydrateSR)
          Returns a set of predefined coordinate system names, and optionally the coordinate systems themselves.
 
Methods inherited from interface com.esri.arcgis.geometry.ISpatialReferenceFactory3
constructHighPrecisionSpatialReference, constructLowPrecisionSpatialReference, createESRISpatialReferenceInfo, createESRISpatialReferenceInfoFromPRJ, createESRISpatialReferenceInfoFromPRJFile, createPredefinedVerticalCoordinateSystems, createPredefinedVerticalDatums, createVerticalCoordinateSystem, createVerticalCoordinateSystemFromESRISpatialReference, createVerticalDatum, exportESRISpatialReferenceInfoToPRJFile
 
Methods inherited from interface com.esri.arcgis.geometry.ISpatialReferenceFactory2
createPredefinedGeographicTransformations, createSpatialReference, getGeoTransformationDefaults, getPredefinedGeographicTransformations
 
Methods inherited from interface com.esri.arcgis.geometry.ISpatialReferenceFactory
createDatum, createESRISpatialReference, createESRISpatialReferenceFromPRJ, createESRISpatialReferenceFromPRJFile, createGeographicCoordinateSystem, createGeoTransformation, createParameter, createPredefinedAngularUnits, createPredefinedDatums, createPredefinedLinearUnits, createPredefinedPrimeMeridians, createPredefinedProjections, createPredefinedSpheroids, createPrimeMeridian, createProjectedCoordinateSystem, createProjection, createSpheroid, createUnit, exportESRISpatialReferenceToPRJFile
 

Method Detail

getAreaNames

IPropertySet getAreaNames(int typeFilter,
                          String nameFilter,
                          boolean returnCategorizedNames,
                          boolean hydrateSR)
                          throws IOException,
                                 AutomationException
Returns a set of predefined coordinate system names, and optionally the coordinate systems themselves.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
typeFilter - A com.esri.arcgis.geometry.esriCoordinateSystemFilter constant (in)
nameFilter - The nameFilter (in)
returnCategorizedNames - The returnCategorizedNames (in)
hydrateSR - The hydrateSR (in)
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFromAreaName

ISpatialReferenceInfo createFromAreaName(String areaName,
                                         int typeFilter)
                                         throws IOException,
                                                AutomationException
Creates a coordinate system from the human-readable 'area name' of the coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
areaName - The areaName (in)
typeFilter - A com.esri.arcgis.geometry.esriCoordinateSystemFilter constant (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReferenceInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.