User Tools

Site Tools


api:thinkgeo.cloud.projectionclient

ThinkGeo.Cloud.ProjectionClient

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.Cloud.BaseClient
      • ThinkGeo.Cloud.ProjectionClient

Members Summary

Public Constructors

ProjectionClient()

  • Create an instance of the Projection client, you need to apply ClientId and ClientSecret by properties.
Remarks
  • N/A
Parameters

ProjectionClient(String,String)

  • Initializes an instance of the Projection client with a GIS Server client ID and Secret.
Remarks
  • N/A
Parameters
  • clientId
    • Type:String
    • Description:The ClientId for the auth.
  • clientSecret
    • Type:String
    • Description:The ClientSecret for the auth.

Protected Constructors

Public Methods

Project(Feature,String,String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Feature
  • Description:Projected geometry in Well Known Text format.
Parameters
  • feature
    • Type:Feature
    • Description:The feature that you want to project.
  • fromProjectionInProj4String
    • Type:String
    • Description:The Proj4 projection string describing the original spatial reference system in which the geometry is expressed.
  • toProjectionInProj4String
    • Type:String
    • Description:The Proj4 projection string describing the target spatial reference system that you want the geometry projected to.

Project(Feature,Int32,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Feature
  • Description:Projected geometry in Well Known Text format.
Parameters
  • feature
    • Type:Feature
    • Description:The feature that you want to project.
  • fromProjectionInSrid
    • Type:Int32
    • Description:The EPSG or ESRI ID (a.k.a. SRID) of the original spatial reference system in which the geometry is expressed.
  • toProjectionInSrid
    • Type:Int32
    • Description:The EPSG or ESRI ID (a.k.a. SRID) of the target spatial reference system that you want the geometry reprojected to.

Project(Feature,String,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Feature
  • Description:Projected geometry in Well Known Text format.
Parameters
  • feature
    • Type:Feature
    • Description:The feature that you want to project.
  • fromProjectionInProj4String
    • Type:String
    • Description:The Proj4 projection string describing the original spatial reference system in which the geometry is expressed.
  • toProjectionInSrid
    • Type:Int32
    • Description:The EPSG or ESRI ID (a.k.a. SRID) of the target spatial reference system that you want the geometry reprojected to.

Project(Feature,Int32,String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Feature
  • Description:Projected geometry in Well Known Text format.
Parameters
  • feature
    • Type:Feature
    • Description:The feature that you want to project.
  • fromProjectionInSrid
    • Type:Int32
    • Description:The EPSG or ESRI ID (a.k.a. SRID) of the original spatial reference system in which the geometry is expressed.
  • toProjectionInProj4String
    • Type:String
    • Description:The Proj4 projection string describing the target spatial reference system that you want the geometry projected to.

ProjectAsync(Feature,String,String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Task<Feature>
  • Description:Projected geometry in Well Known Text format.
Parameters
  • feature
    • Type:Feature
    • Description:The feature that you want to project.
  • fromProjectionInProj4String
    • Type:String
    • Description:The Proj4 projection string describing the original spatial reference system in which the geometry is expressed.
  • toProjectionInProj4String
    • Type:String
    • Description:The Proj4 projection string describing the target spatial reference system that you want the geometry projected to.

ProjectAsync(Feature,Int32,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Task<Feature>
  • Description:Projected geometry in Well Known Text format.
Parameters
  • feature
    • Type:Feature
    • Description:The feature that you want to project.
  • fromProjectionInSrid
    • Type:Int32
    • Description:The EPSG or ESRI ID (a.k.a. SRID) of the original spatial reference system in which the geometry is expressed.
  • toProjectionInSrid
    • Type:Int32
    • Description:The EPSG or ESRI ID (a.k.a. SRID) of the target spatial reference system that you want the geometry reprojected to.

ProjectAsync(Feature,String,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Task<Feature>
  • Description:Projected geometry in Well Known Text format.
Parameters
  • feature
    • Type:Feature
    • Description:The feature that you want to project.
  • fromProjectionInProj4String
    • Type:String
    • Description:The Proj4 projection string describing the original spatial reference system in which the geometry is expressed.
  • toProjectionInSrid
    • Type:Int32
    • Description:The EPSG or ESRI ID (a.k.a. SRID) of the target spatial reference system that you want the geometry reprojected to.

ProjectAsync(Feature,Int32,String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Task<Feature>
  • Description:Projected geometry in Well Known Text format.
Parameters
  • feature
    • Type:Feature
    • Description:The feature that you want to project.
  • fromProjectionInSrid
    • Type:Int32
    • Description:The EPSG or ESRI ID (a.k.a. SRID) of the original spatial reference system in which the geometry is expressed.
  • toProjectionInProj4String
    • Type:String
    • Description:The Proj4 projection string describing the target spatial reference system that you want the geometry projected to.

Dispose()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

AuthenticateWebRequest(WebRequest)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • webRequest
    • Type:WebRequest
    • Description:N/A

GetToken()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

GetTokenCore()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

SendWebRequest(WebRequest)

  • N/A
Remarks
  • N/A
Return Value
  • Type:WebResponse
  • Description:N/A
Parameters
  • webRequest
    • Type:WebRequest
    • Description:N/A

SendWebRequestAsync(WebRequest)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Task<WebResponse>
  • Description:N/A
Parameters
  • webRequest
    • Type:WebRequest
    • Description:N/A

GetNextCandidateBaseUri()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

GetNextCandidateBaseUriCore()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

OnGettingAccessToken(GettingAccessTokenEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnSendingWebRequest(SendingWebRequestEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

ClientId

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

ClientSecret

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

BaseUris

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<Uri>

Protected Properties

Public Events

api/thinkgeo.cloud.projectionclient.txt · Last modified: 2018/12/19 08:03 by tgwikiupdate