User Tools

Site Tools


thinkgeo.mapsuite.silverlightcore.projnetprojection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
thinkgeo.mapsuite.silverlightcore.projnetprojection [2015/09/22 08:45]
admin
— (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.SilverlightCore.ProjNetProjection ====== 
-This projection class uses the Proj4 engine to project data from one Srid to another. 
-===== Inheritance Hierarchy ===== 
-  *System.Object 
-    *ThinkGeo.MapSuite.SilverlightCore.Projection 
-      ***ThinkGeo.MapSuite.SilverlightCore.ProjNetProjection** 
-===== Members Summary ===== 
-==== Public Constructors ==== 
-** {{wiki:​PublicMethod.gif|}} ProjNetProjection() ** 
- 
-  * //This is the default constructor for this class.// 
-== Remarks == 
-  * //This conctructor pass nothing. After this cconstructor , you should set the InternalProjectionParametersString property and ExternalProjectionParametersString property before open to use.// 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ProjNetProjection(String,​String) ** 
- 
-  * //This is a constructor for the class.// 
-== Remarks == 
-  * //This constructor allows you to pass in Proj4 text parameters for the to and from projection. The parameters typically look like "​+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"​ You should use this constructor when you know the parameters. If you know the SRID directly you can use the other constructor that takes the SRID.// 
-== Parameters == 
-  * //​internalProjectionParametersString//​ 
-    * Type:String 
-    * Description:​This parameter is the projection parameters describing the data. 
- 
-  * //​externalProjectionParametersString//​ 
-    * Type:String 
-    * Description:​This parameter is the projection parameters describing the projection you want to go to. 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ProjNetProjection(Int32,​Int32) ** 
- 
-  * //This is a constructor for the class.// 
-== Remarks == 
-  * //This constructor allows you to pass in Proj4 srid parameters for the to and from projection. The parameters typically look like 4320 stands for "​+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"​ and 4604 stands for " +proj=longlat +ellps=clrk80 +towgs84=174,​359,​365,​0,​0,​0,​0 +no_defs"​. You should use this constructor when you know the parameters. If you know the SRID directly you can use the other constructor that takes the SRID.// 
-== Parameters == 
-  * //​internalEpsgSrid//​ 
-    * Type:Int32 
-    * Description:​This parameter is the projection srid parameter describing the data. 
- 
-  * //​externalEpsgSrid//​ 
-    * Type:Int32 
-    * Description:​This parameter is the projection srid parameter describing the projection you want to go to. 
- 
-<div newline></​div>​ 
-==== Protected Constructors ==== 
-==== Public Methods ==== 
-** {{wiki:​PublicMethod.gif|}} Dispose() ** 
- 
-  * //This is the dispose method for the class.// 
-== Remarks == 
-  * //This dispose releases the handles of the Proj4 library. You should normally use Close instead of dispose unless you really want to never use this instance again. Normally when a layer is finished drawing it will call the Close of the projection class. This allows the object to be serialize but used again in the future. You should only use the Dispose method when you do not want to use this class again.// 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​None 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} Open() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} Close() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(Double,​Double) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //x// 
-    * Type:Double 
-    * Description:​N/​A 
- 
-  * //y// 
-    * Type:Double 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //​baseShape//​ 
-    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //feature// 
-    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //​rectangleShape//​ 
-    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(Double,​Double) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //x// 
-    * Type:Double 
-    * Description:​N/​A 
- 
-  * //y// 
-    * Type:Double 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //​baseShape//​ 
-    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //feature// 
-    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //​rectangleShape//​ 
-    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} GetInternalGeographyUnit() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} GetExternalGeographyUnit() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ToString() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:String 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} Equals(Object) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​Boolean 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //obj// 
-    * Type:Object 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} GetHashCode() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Int32 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} GetType() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Type 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-==== Protected Methods ==== 
-** {{wiki:​ProtectedMethod.gif|}} ConvertToExternalProjectionCore(Double[],​Double[]) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.Vertex[]|Vertex[]]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //x// 
-    * Type:​Double[] 
-    * Description:​N/​A 
- 
-  * //y// 
-    * Type:​Double[] 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} ConvertToInternalProjectionCore(Double[],​Double[]) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.Vertex[]|Vertex[]]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //x// 
-    * Type:​Double[] 
-    * Description:​N/​A 
- 
-  * //y// 
-    * Type:​Double[] 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} OpenCore() ** 
- 
-  * //This method open the projection and gets it ready to use.// 
-== Remarks == 
-  * //As this is the core version of the Open method it is intended to be overridden in inherited version of the class. When overriding you will be responsible for getting the projection classes state ready for doing projections. In this override we call the Proj4 methods get it ready for projection.//​ 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​None 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} CloseCore() ** 
- 
-  * //This method closes the projection and gets it ready to serialization if necessary.//​ 
-== Remarks == 
-  * //As this is the core version of the Close method it is intended to be overridden in inherited version of the class. When overriding you will be responsible freeing any state you have maintained and getting the class ready to serialization if necessary. Note that the object may be opened again so you want to make sure you can open and close the object multiple tiles without any ill effects. In this override we call the Proj4 methods get release the handles and memory.// 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​None 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} 0RM=(Feature) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //feature// 
-    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} 0hM=(Feature) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //feature// 
-    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} GetInternalGeographyUnitCore() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} GetExternalGeographyUnitCore() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]] 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} Finalize() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Object 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-==== Public Properties ==== 
-** {{wiki:​PublicProperty.gif|}} InternalProjectionParametersString ** 
- 
-Gets or sets the Proj4 text parameter for the from projection. This parameter typically look like "​+Proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"​. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:String 
- 
-** {{wiki:​PublicProperty.gif|}} ExternalProjectionParametersString ** 
- 
-Gets or sets the Proj4 text parameter for the to projection. This parameter typically look like "​+proj=utm +zone=33 +ellps=WGS84 +towgs84=0,​0,​0,​0,​0,​0,​0 +units=m +no_defs"​. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:String 
- 
-** {{wiki:​PublicProperty.gif|}} IsOpen ** 
- 
-N/A 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:​Boolean 
- 
-==== Protected Properties ==== 
-** {{wiki:​ProtectedProperty.gif|}} CanReproject ** 
- 
-N/A 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:​Boolean 
- 
-==== Public Events ==== 
  
thinkgeo.mapsuite.silverlightcore.projnetprojection.1442911537.txt.gz ยท Last modified: 2015/09/22 08:45 by admin