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
Next revision
Previous revision
thinkgeo.mapsuite.silverlightcore.projnetprojection [2015/09/21 03:23]
admin
thinkgeo.mapsuite.silverlightcore.projnetprojection [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.SilverlightCore.ProjNetProjection ====== ====== ThinkGeo.MapSuite.SilverlightCore.ProjNetProjection ======
 +
 +{{section>​upgrade_map_suite_to_10.0}}
 +
 This projection class uses the Proj4 engine to project data from one Srid to another. This projection class uses the Proj4 engine to project data from one Srid to another.
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
Line 9: Line 12:
 ** {{wiki:​PublicMethod.gif|}} ProjNetProjection() ** ** {{wiki:​PublicMethod.gif|}} ProjNetProjection() **
  
-This is the default constructor for this class.+  * //This is the default constructor for this class.//
 == Remarks == == Remarks ==
-This conctructor pass nothing. After this cconstructor , you should set the InternalProjectionParametersString property and ExternalProjectionParametersString property before open to use.+  * //This conctructor pass nothing. After this cconstructor , you should set the InternalProjectionParametersString property and ExternalProjectionParametersString property before open to use.//
 == Parameters == == Parameters ==
 <div newline></​div>​ <div newline></​div>​
 ** {{wiki:​PublicMethod.gif|}} ProjNetProjection(String,​String) ** ** {{wiki:​PublicMethod.gif|}} ProjNetProjection(String,​String) **
  
-This is a constructor for the class.+  * //This is a constructor for the class.//
 == Remarks == == 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.+  * //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 == == Parameters ==
   * //​internalProjectionParametersString//​   * //​internalProjectionParametersString//​
Line 31: Line 34:
 ** {{wiki:​PublicMethod.gif|}} ProjNetProjection(Int32,​Int32) ** ** {{wiki:​PublicMethod.gif|}} ProjNetProjection(Int32,​Int32) **
  
-This is a constructor for the class.+  * //This is a constructor for the class.//
 == Remarks == == 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.+  * //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 == == Parameters ==
   * //​internalEpsgSrid//​   * //​internalEpsgSrid//​
Line 48: Line 51:
 ** {{wiki:​PublicMethod.gif|}} Dispose() ** ** {{wiki:​PublicMethod.gif|}} Dispose() **
  
-This is the dispose method for the class.+  * //This is the dispose method for the class.//
 == Remarks == == 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.+  * //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 == == Return Value ==
Line 60: Line 63:
 ** {{wiki:​PublicMethod.gif|}} Open() ** ** {{wiki:​PublicMethod.gif|}} Open() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 72: Line 75:
 ** {{wiki:​PublicMethod.gif|}} Close() ** ** {{wiki:​PublicMethod.gif|}} Close() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 84: Line 87:
 ** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(Double,​Double) ** ** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(Double,​Double) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 104: Line 107:
 ** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) ** ** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 120: Line 123:
 ** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** ** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(Feature) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 136: Line 139:
 ** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** ** {{wiki:​PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 152: Line 155:
 ** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(Double,​Double) ** ** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(Double,​Double) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 172: Line 175:
 ** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) ** ** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 188: Line 191:
 ** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** ** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(Feature) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 204: Line 207:
 ** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** ** {{wiki:​PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 220: Line 223:
 ** {{wiki:​PublicMethod.gif|}} GetInternalGeographyUnit() ** ** {{wiki:​PublicMethod.gif|}} GetInternalGeographyUnit() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 232: Line 235:
 ** {{wiki:​PublicMethod.gif|}} GetExternalGeographyUnit() ** ** {{wiki:​PublicMethod.gif|}} GetExternalGeographyUnit() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 244: Line 247:
 ** {{wiki:​PublicMethod.gif|}} ToString() ** ** {{wiki:​PublicMethod.gif|}} ToString() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 256: Line 259:
 ** {{wiki:​PublicMethod.gif|}} Equals(Object) ** ** {{wiki:​PublicMethod.gif|}} Equals(Object) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 272: Line 275:
 ** {{wiki:​PublicMethod.gif|}} GetHashCode() ** ** {{wiki:​PublicMethod.gif|}} GetHashCode() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 284: Line 287:
 ** {{wiki:​PublicMethod.gif|}} GetType() ** ** {{wiki:​PublicMethod.gif|}} GetType() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 297: Line 300:
 ** {{wiki:​ProtectedMethod.gif|}} ConvertToExternalProjectionCore(Double[],​Double[]) ** ** {{wiki:​ProtectedMethod.gif|}} ConvertToExternalProjectionCore(Double[],​Double[]) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 317: Line 320:
 ** {{wiki:​ProtectedMethod.gif|}} ConvertToInternalProjectionCore(Double[],​Double[]) ** ** {{wiki:​ProtectedMethod.gif|}} ConvertToInternalProjectionCore(Double[],​Double[]) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 337: Line 340:
 ** {{wiki:​ProtectedMethod.gif|}} OpenCore() ** ** {{wiki:​ProtectedMethod.gif|}} OpenCore() **
  
-This method open the projection and gets it ready to use.+  * //This method open the projection and gets it ready to use.//
 == Remarks == == 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.+  * //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 == == Return Value ==
Line 349: Line 352:
 ** {{wiki:​ProtectedMethod.gif|}} CloseCore() ** ** {{wiki:​ProtectedMethod.gif|}} CloseCore() **
  
-This method closes the projection and gets it ready to serialization if necessary.+  * //This method closes the projection and gets it ready to serialization if necessary.//
 == Remarks == == 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.+  * //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 == == Return Value ==
Line 361: Line 364:
 ** {{wiki:​ProtectedMethod.gif|}} 0RM=(Feature) ** ** {{wiki:​ProtectedMethod.gif|}} 0RM=(Feature) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 377: Line 380:
 ** {{wiki:​ProtectedMethod.gif|}} 0hM=(Feature) ** ** {{wiki:​ProtectedMethod.gif|}} 0hM=(Feature) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 393: Line 396:
 ** {{wiki:​ProtectedMethod.gif|}} GetInternalGeographyUnitCore() ** ** {{wiki:​ProtectedMethod.gif|}} GetInternalGeographyUnitCore() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 405: Line 408:
 ** {{wiki:​ProtectedMethod.gif|}} GetExternalGeographyUnitCore() ** ** {{wiki:​ProtectedMethod.gif|}} GetExternalGeographyUnitCore() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 417: Line 420:
 ** {{wiki:​ProtectedMethod.gif|}} Finalize() ** ** {{wiki:​ProtectedMethod.gif|}} Finalize() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 429: Line 432:
 ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
thinkgeo.mapsuite.silverlightcore.projnetprojection.1442805807.txt.gz ยท Last modified: 2015/09/21 03:23 by admin