C# Class GeoCache.Common.Repository.SdeRepository

Geo Repository to retrive data from sde
Inheritance: IRepository
显示文件 Open project: OliveiraThales/GeoCache Class Usage Examples

Public Methods

Method Description
GetAll ( string featureClassName ) : IEnumerable

Get all geometries from a featureClass

GetByEnvelope ( string featureClassName, IEnvelope envelope ) : IEnumerable

Get all geometries inside the envelope from a featureClass

GetFullExtent ( string featureClassName ) : IEnvelope

Get full extent of featureClass

SdeRepository ( string server, string instance, string user, string password, string version ) : System

Constructor

Private Methods

Method Description
OpenFeatureClass ( string featureClass ) : IFeatureClass

Open a featureClass

OpenSdeWorkspace ( ) : void

Conecta a uma workspace SDE

Method Details

GetAll() public method

Get all geometries from a featureClass
public GetAll ( string featureClassName ) : IEnumerable
featureClassName string FeatureClass name
return IEnumerable

GetByEnvelope() public method

Get all geometries inside the envelope from a featureClass
public GetByEnvelope ( string featureClassName, IEnvelope envelope ) : IEnumerable
featureClassName string FeatureClass name
envelope IEnvelope Envelope
return IEnumerable

GetFullExtent() public method

Get full extent of featureClass
public GetFullExtent ( string featureClassName ) : IEnvelope
featureClassName string FeatureClass name
return IEnvelope

SdeRepository() public method

Constructor
public SdeRepository ( string server, string instance, string user, string password, string version ) : System
server string Server address
instance string Server instance
user string username
password string password
version string version
return System