This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.proj4projection [2015/09/17 10:37] admin |
thinkgeo.mapsuite.core.proj4projection [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.Proj4Projection ====== | ====== ThinkGeo.MapSuite.Core.Proj4Projection ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This projection class uses the Proj4 to project data from one Srid to another. | This projection class uses the Proj4 to project data from one Srid to another. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 6: | Line 9: | ||
***ThinkGeo.MapSuite.Core.Proj4Projection** | ***ThinkGeo.MapSuite.Core.Proj4Projection** | ||
===== Members Summary ===== | ===== Members Summary ===== | ||
- | === Public Constructors === | + | ==== Public Constructors ==== |
- | <div class_table> | + | ** {{wiki:PublicMethod.gif|}} Proj4Projection() ** |
- | **{{wiki:PublicMethod.gif|}}[[#Proj4Projection()|Proj4Projection]]** | + | |
- | * **Parameters**:N/A | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This is the default constructor for this class. | + | |
- | </div> | + | |
- | <div class_table> | + | * //This is the default constructor for this class.// |
- | **{{wiki:PublicMethod.gif|}}[[#Proj4Projection(Int32,Int32)|Proj4Projection]]** | + | == Remarks == |
- | * **Parameters**:Int32,Int32 | + | * //This conctructor pass nothing. After this cconstructor , you should set the InternalProjectionParametersString property and ExternalProjectionParametersString property before open to use.// |
- | * **DeclaringType**:N/A | + | == Parameters == |
- | * **Summary**:This is a constructor for the class. | + | <div newline></div> |
- | </div> | + | ** {{wiki:PublicMethod.gif|}} Proj4Projection(Int32,Int32) ** |
- | <div class_table> | + | * //This is a constructor for the class.// |
- | **{{wiki:PublicMethod.gif|}}[[#Proj4Projection(String,String)|Proj4Projection]]** | + | == Remarks == |
- | * **Parameters**:String,String | + | * //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.// |
- | * **DeclaringType**:N/A | + | == Parameters == |
- | * **Summary**:This is a constructor for the class. | + | * //internalEpsgSrid// |
- | </div> | + | * Type:Int32 |
+ | * Description:This parameter is the projection srid parameter describing the data. | ||
- | <div class_table> | + | * //externalEpsgSrid// |
- | **{{wiki:PublicMethod.gif|}}[[#Proj4Projection(String,Int32)|Proj4Projection]]** | + | * Type:Int32 |
- | * **Parameters**:String,Int32 | + | * Description:This parameter is the projection srid parameter describing the projection you want to go to. |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}[[#Proj4Projection(Int32,String)|Proj4Projection]]** | + | ** {{wiki:PublicMethod.gif|}} Proj4Projection(String,String) ** |
- | * **Parameters**:Int32,String | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | === Protected Constructors === | + | * //This is a constructor for the class.// |
- | === Public Methods === | + | == Remarks == |
- | <div class_table> | + | * //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.// |
- | **{{wiki:PublicMethod.gif|}}[[#CloneDeep()|CloneDeep]]** | + | == Parameters == |
- | * **Parameters**:N/A | + | * //internalProjectionParametersString// |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | * Type:String |
- | * **Summary**:N/A | + | * Description:This parameter is the projection parameters describing the data. |
- | </div> | + | |
- | <div class_table> | + | * //externalProjectionParametersString// |
- | **{{wiki:PublicMethod.gif|}}[[#Close()|Close]]** | + | * Type:String |
- | * **Parameters**:N/A | + | * Description:This parameter is the projection parameters describing the projection you want to go to. |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#ConvertEpsgToPrj(Int32)|ConvertEpsgToPrj]]** | + | ** {{wiki:PublicMethod.gif|}} Proj4Projection(String,Int32) ** |
- | * **Parameters**:Int32 | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method is a static API to get a Prj string by Epsg number | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#ConvertPrjToProj4(String)|ConvertPrjToProj4]]** | + | == Remarks == |
- | * **Parameters**:String | + | * //N/A// |
- | * **DeclaringType**:N/A | + | == Parameters == |
- | * **Summary**:N/A | + | * //internalProjectionParametersString// |
- | </div> | + | * Type:String |
+ | * Description:N/A | ||
- | <div class_table> | + | * //externalEpsgSrid// |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#ConvertProj4ToPrj(String)|ConvertProj4ToPrj]]** | + | * Type:Int32 |
- | * **Parameters**:String | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToExternalProjection(GeoImage,RectangleShape)|ConvertToExternalProjection]]** | + | ** {{wiki:PublicMethod.gif|}} Proj4Projection(Int32,String) ** |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToExternalProjection(Double,Double)|ConvertToExternalProjection]]** | + | == Remarks == |
- | * **Parameters**:Double,Double | + | * //N/A// |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | == Parameters == |
- | * **Summary**:N/A | + | * //internalEpsgSrid// |
- | </div> | + | * Type:Int32 |
+ | * Description:N/A | ||
- | <div class_table> | + | * //externalProjectionParametersString// |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToExternalProjection(BaseShape)|ConvertToExternalProjection]]** | + | * Type:String |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | * Description:N/A |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToExternalProjection(RectangleShape)|ConvertToExternalProjection]]** | + | ==== Protected Constructors ==== |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | ==== Public Methods ==== |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | ** {{wiki:PublicMethod.gif|}} Dispose() ** |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //This is the dispose method for the class.// |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToExternalProjection(IEnumerable<Vertex>)|ConvertToExternalProjection]]** | + | == Remarks == |
- | * **Parameters**:IEnumerable<[[ThinkGeo.MapSuite.Core.Vertex|Vertex]]> | + | * //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.// |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape)|ConvertToExternalProjection]]** | + | * Type:Void |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Description:None |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToExternalProjection(Feature)|ConvertToExternalProjection]]** | + | <div newline></div> |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToInternalProjection(RectangleShape)|ConvertToInternalProjection]]** | + | == Remarks == |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * //N/A// |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToInternalProjection(Double,Double)|ConvertToInternalProjection]]** | + | * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] |
- | * **Parameters**:Double,Double | + | * Description:N/A |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToInternalProjection(BaseShape)|ConvertToInternalProjection]]** | + | <div newline></div> |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | ** {{wiki:PublicMethod.gif|}} Open() ** |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToInternalProjection(Feature)|ConvertToInternalProjection]]** | + | == Remarks == |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | * //N/A// |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:PublicMethod.gif|}}[[#ConvertToInternalProjection(IEnumerable<Vertex>)|ConvertToInternalProjection]]** | + | * Type:Void |
- | * **Parameters**:IEnumerable<[[ThinkGeo.MapSuite.Core.Vertex|Vertex]]> | + | * Description:N/A |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:PublicMethod.gif|}}[[#Dispose()|Dispose]]** | + | <div newline></div> |
- | * **Parameters**:N/A | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape) ** |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This is the dispose method for the class. | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}[[#Equals(Object)|Equals]]** | + | == Remarks == |
- | * **Parameters**:Object | + | * //N/A// |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetBingMapParametersString()|GetBingMapParametersString]]** | + | * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] |
- | * **Parameters**:N/A | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method is a static API to get a projection used by BingMaps. | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetDecimalDegreesParametersString()|GetDecimalDegreesParametersString]]** | + | * //image// |
- | * **Parameters**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
- | * **DeclaringType**:N/A | + | * Description:N/A |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //imageExtent// |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetEpsgParametersString(Int32)|GetEpsgParametersString]]** | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | * **Parameters**:Int32 | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method is a static API to get a projection text from EPSG(European Petroleum Survey Group). | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetEsriParametersString(Int32)|GetEsriParametersString]]** | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape) ** |
- | * **Parameters**:Int32 | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method is a static API to get a projection text from ERSI. | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}[[#GetExternalGeographyUnit()|GetExternalGeographyUnit]]** | + | == Remarks == |
- | * **Parameters**:N/A | + | * //N/A// |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetGeographyUnitFromPrj(String)|GetGeographyUnitFromPrj]]** | + | * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] |
- | * **Parameters**:String | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetGeographyUnitFromProj4(String)|GetGeographyUnitFromProj4]]** | + | * //image// |
- | * **Parameters**:String | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
- | * **DeclaringType**:N/A | + | * Description:N/A |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //imageExtent// |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetGoogleMapParametersString()|GetGoogleMapParametersString]]** | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | * **Parameters**:N/A | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method is a static API to get a projection used by GoogleMap. | + | |
- | </div> | + | |
- | <div class_table> | + | * //targetExtent// |
- | **{{wiki:PublicMethod.gif|}}[[#GetHashCode()|GetHashCode]]** | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | * **Parameters**:N/A | + | * Description:N/A |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}[[#GetInternalGeographyUnit()|GetInternalGeographyUnit]]** | + | ** {{wiki:PublicMethod.gif|}} Close() ** |
- | * **Parameters**:N/A | + | |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetLatLongParametersString()|GetLatLongParametersString]]** | + | == Remarks == |
- | * **Parameters**:N/A | + | * //N/A// |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetLocalUtmZoneNumber(Double,Double)|GetLocalUtmZoneNumber]]** | + | * Type:Void |
- | * **Parameters**:Double,Double | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetLocalUtmZoneNumber(Feature,String)|GetLocalUtmZoneNumber]]** | + | <div newline></div> |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]],String | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Double,Double) ** |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetLocalUtmZoneNumber(Feature,Int32)|GetLocalUtmZoneNumber]]** | + | == Remarks == |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]],Int32 | + | * //N/A// |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetLocalUtmZoneNumber(BaseShape,String)|GetLocalUtmZoneNumber]]** | + | * Type:[[ThinkGeo.MapSuite.Core.Vertex|Vertex]] |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]],String | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetLocalUtmZoneNumber(BaseShape,Int32)|GetLocalUtmZoneNumber]]** | + | * //x// |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]],Int32 | + | * Type:Double |
- | * **DeclaringType**:N/A | + | * Description:N/A |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //y// |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetLocalUtmZoneParametersString(BaseShape,String)|GetLocalUtmZoneParametersString]]** | + | * Type:Double |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]],String | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetLocalUtmZoneParametersString(Double,Double)|GetLocalUtmZoneParametersString]]** | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) ** |
- | * **Parameters**:Double,Double | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetLocalUtmZoneParametersString(Feature,String)|GetLocalUtmZoneParametersString]]** | + | == Remarks == |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]],String | + | * //N/A// |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetLocalUtmZoneParametersString(Feature,Int32)|GetLocalUtmZoneParametersString]]** | + | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]],Int32 | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetLocalUtmZoneParametersString(BaseShape,Int32)|GetLocalUtmZoneParametersString]]** | + | * //baseShape// |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]],Int32 | + | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] |
- | * **DeclaringType**:N/A | + | * Description:N/A |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetSphericalMercatorParametersString()|GetSphericalMercatorParametersString]]** | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** |
- | * **Parameters**:N/A | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method is a static API to get a projection of SphericalMercator. | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}[[#GetType()|GetType]]** | + | == Remarks == |
- | * **Parameters**:N/A | + | * //N/A// |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#GetWgs84ParametersString()|GetWgs84ParametersString]]** | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | * **Parameters**:N/A | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method is a static API to get a projection text from WGS84. | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:PublicMethod.gif|}}[[#Open()|Open]]** | + | * //feature// |
- | * **Parameters**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | * Description:N/A |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}[[#ToString()|ToString]]** | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** |
- | * **Parameters**:N/A | + | |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | === Protected Methods === | + | * //N/A// |
- | <div class_table> | + | == Remarks == |
- | **{{wiki:ProtectedMethod.gif|}}[[#CloneDeepCore()|CloneDeepCore]]** | + | * //N/A// |
- | * **Parameters**:N/A | + | |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:ProtectedMethod.gif|}}[[#CloseCore()|CloseCore]]** | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | * **Parameters**:N/A | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method closes the projection and gets it ready to serialization if necessary. | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:ProtectedMethod.gif|}}[[#ConvertToExternalProjectionCore(GeoImage,RectangleShape)|ConvertToExternalProjectionCore]]** | + | * //rectangleShape// |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | * **DeclaringType**:N/A | + | * Description:N/A |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:ProtectedMethod.gif|}}[[#ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape)|ConvertToExternalProjectionCore]]** | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(IEnumerable<Vertex>) ** |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:ProtectedMethod.gif|}}[[#ConvertToExternalProjectionCore(Double[],Double[])|ConvertToExternalProjectionCore]]** | + | == Remarks == |
- | * **Parameters**:Double[],Double[] | + | * //N/A// |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method returns a projected vertex based on the coordinates passed in. | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:ProtectedMethod.gif|}}[[#ConvertToInternalProjectionCore(Double[],Double[])|ConvertToInternalProjectionCore]]** | + | * Type:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] |
- | * **Parameters**:Double[],Double[] | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method returns a de-projected vertex based on the coordinates passed in. | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:ProtectedMethod.gif|}}[[#Finalize()|Finalize]]** | + | * //vertices// |
- | * **Parameters**:N/A | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Vertex|Vertex]]> |
- | * **DeclaringType**:N/A | + | * Description:N/A |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:ProtectedMethod.gif|}}[[#GetExternalGeographyUnitCore()|GetExternalGeographyUnitCore]]** | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Double,Double) ** |
- | * **Parameters**:N/A | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:ProtectedMethod.gif|}}[[#GetInternalGeographyUnitCore()|GetInternalGeographyUnitCore]]** | + | == Remarks == |
- | * **Parameters**:N/A | + | * //N/A// |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:ProtectedMethod.gif|}}[[#MemberwiseClone()|MemberwiseClone]]** | + | * Type:[[ThinkGeo.MapSuite.Core.Vertex|Vertex]] |
- | * **Parameters**:N/A | + | * Description:N/A |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:ProtectedMethod.gif|}}[[#OpenCore()|OpenCore]]** | + | * //x// |
- | * **Parameters**:N/A | + | * Type:Double |
- | * **DeclaringType**:N/A | + | * Description:N/A |
- | * **Summary**:This method open the projection and gets it ready to use. | + | |
- | </div> | + | |
- | <div class_table> | + | * //y// |
- | **{{wiki:ProtectedMethod.gif|}}[[#SzE=(Feature)|SzE=]]** | + | * Type:Double |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | * Description:N/A |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:ProtectedMethod.gif|}}[[#TDE=(Feature)|TDE=]]** | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) ** |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | === Public Properties === | + | * //N/A// |
- | **{{wiki:PublicProperty.gif|}}[[#CanConvertRasterToExternalProjection|CanConvertRasterToExternalProjection]]** | + | == Remarks == |
- | * **Return**:Boolean | + | * //N/A// |
- | * **Summary**:N/A | + | |
- | **{{wiki:PublicProperty.gif|}}[[#DecimalDegreeBoundary|DecimalDegreeBoundary]]** | + | == Return Value == |
- | * **Return**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] |
- | * **Summary**:This property specifies the Boundary for decimaldegree values. | + | * Description:N/A |
- | **{{wiki:PublicProperty.gif|}}[[#ExternalProjectionParametersString|ExternalProjectionParametersString]]** | + | == Parameters == |
- | * **Return**:String | + | * //baseShape// |
- | * **Summary**: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". | + | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] |
+ | * Description:N/A | ||
- | **{{wiki:PublicProperty.gif|}}[[#InternalProjectionParametersString|InternalProjectionParametersString]]** | + | <div newline></div> |
- | * **Return**:String | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** |
- | * **Summary**:Gets or sets the Proj4 text parameter for the from projection. This parameter typically look like "+Proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs". | + | |
- | **{{wiki:PublicProperty.gif|}}[[#IsOpen|IsOpen]]** | + | * //N/A// |
- | * **Return**:Boolean | + | == Remarks == |
- | * **Summary**:N/A | + | * //N/A// |
- | **{{wiki:PublicProperty.gif|}}[[#MemoryMode|MemoryMode]]** | + | == Return Value == |
- | * **Return**:[[ThinkGeo.MapSuite.Core.Proj4MemoryMode|Proj4MemoryMode]] | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | * **Summary**:Gets or sets a valude indicating in which way we read the projection informaion. | + | * Description:N/A |
- | === Protected Properties === | + | == Parameters == |
- | **{{wiki:ProtectedProperty.gif|}}[[#CanReproject|CanReproject]]** | + | * //feature// |
- | * **Return**:Boolean | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | * **Summary**:N/A | + | * Description:N/A |
- | === Public Events === | + | <div newline></div> |
- | ===== Public Constructors ===== | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(IEnumerable<Vertex>) ** |
- | === Proj4Projection() === | + | |
- | 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 ==== | + | |
- | [[#Public Constructors|Go Back]] | + | |
- | === Proj4Projection(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** | + | * //N/A// |
- | * **Type**:Int32 | + | == Remarks == |
- | * **Description:This parameter is the projection srid parameter describing the projection you want to go to. | + | * //N/A// |
- | [[#Public Constructors|Go Back]] | + | == Return Value == |
- | === Proj4Projection(String,String) === | + | * Type:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] |
- | This is a constructor for the class. | + | * Description:N/A |
- | ==== 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** | + | == Parameters == |
- | * **Type**:String | + | * //vertices// |
- | * **Description:This parameter is the projection parameters describing the projection you want to go to. | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Vertex|Vertex]]> |
+ | * Description:N/A | ||
- | [[#Public Constructors|Go Back]] | + | <div newline></div> |
- | === Proj4Projection(String,Int32) === | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | ==== Parameters ==== | + | |
- | **internalProjectionParametersString** | + | |
- | * **Type**:String | + | |
- | * **Description:N/A | + | |
- | **externalEpsgSrid** | + | * //N/A// |
- | * **Type**:Int32 | + | == Remarks == |
- | * **Description:N/A | + | * //N/A// |
- | [[#Public Constructors|Go Back]] | + | == Return Value == |
- | === Proj4Projection(Int32,String) === | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | ==== Parameters ==== | + | |
- | **internalEpsgSrid** | + | |
- | * **Type**:Int32 | + | |
- | * **Description:N/A | + | |
- | **externalProjectionParametersString** | + | == Parameters == |
- | * **Type**:String | + | * //rectangleShape// |
- | * **Description:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
+ | * Description:N/A | ||
- | [[#Public Constructors|Go Back]] | + | <div newline></div> |
- | ===== Protected Constructors ===== | + | ** {{wiki:PublicMethod.gif|}} GetInternalGeographyUnit() ** |
- | ===== Public Methods ===== | + | |
- | === CloneDeep() === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] |
- | === Close() === | + | * Description:N/A |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:Void | + | <div newline></div> |
- | * **Description**:N/A | + | ** {{wiki:PublicMethod.gif|}} GetExternalGeographyUnit() ** |
- | ==== Parameters ==== | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | === ConvertEpsgToPrj(Int32) === | + | * //N/A// |
- | This method is a static API to get a Prj string by Epsg number | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:String | + | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **srid** | + | <div newline></div> |
- | * **Type**:Int32 | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | * **Description**:Epsg number that reprents this projection | + | |
- | [[#Public Methods|Go Back]] | + | * //N/A// |
- | === ConvertPrjToProj4(String) === | + | == Remarks == |
- | N/A | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:String | + | * Type:String |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **prjString** | + | <div newline></div> |
- | * **Type**:String | + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | * //N/A// |
- | === ConvertProj4ToPrj(String) === | + | == Remarks == |
- | N/A | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:String | + | * Type:Boolean |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **proj4String** | + | * //obj// |
- | * **Type**:String | + | * Type:Object |
- | * **Description**:N/A | + | * Description:N/A |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | === ConvertToExternalProjection(GeoImage,RectangleShape) === | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | **image** | + | * Type:Int32 |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | * Description:N/A |
- | * **Description**:N/A | + | |
- | **imageExtent** | + | == Parameters == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | <div newline></div> |
- | * **Description**:N/A | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
- | [[#Public Methods|Go Back]] | + | * //N/A// |
- | === ConvertToExternalProjection(Double,Double) === | + | == Remarks == |
- | N/A | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Vertex|Vertex]] | + | * Type:Type |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **x** | + | <div newline></div> |
- | * **Type**:Double | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetGeographyUnitFromPrj(String) ** |
- | * **Description**:N/A | + | |
- | **y** | + | * //N/A// |
- | * **Type**:Double | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Return Value == |
- | === ConvertToExternalProjection(BaseShape) === | + | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | * //prjString// |
- | * **Description**:N/A | + | * Type:String |
+ | * Description:N/A | ||
- | ==== Parameters ==== | + | <div newline></div> |
- | **baseShape** | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetGeographyUnitFromProj4(String) ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | * //N/A// |
- | === ConvertToExternalProjection(RectangleShape) === | + | == Remarks == |
- | N/A | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **rectangleShape** | + | * //proj4String// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Type:String |
- | * **Description**:N/A | + | * Description:N/A |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | === ConvertToExternalProjection(IEnumerable<Vertex>) === | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetBingMapParametersString() ** |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //This method is a static API to get a projection used by BingMaps.// |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | **vertices** | + | * Type:String |
- | * **Type**:IEnumerable<[[ThinkGeo.MapSuite.Core.Vertex|Vertex]]> | + | * Description:A text for a projection used by BingMaps , it should like this "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | == Parameters == |
- | === ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape) === | + | <div newline></div> |
- | N/A | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetSphericalMercatorParametersString() ** |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //This method is a static API to get a projection of SphericalMercator.// |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | **image** | + | * Type:String |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | * Description:A text for a SphericalMercator projection, it should like this "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" |
- | * **Description**:N/A | + | |
- | **imageExtent** | + | == Parameters == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | <div newline></div> |
- | * **Description**:N/A | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetEpsgParametersString(Int32) ** |
- | **targetExtent** | + | * //This method is a static API to get a projection text from EPSG(European Petroleum Survey Group).// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | == Remarks == |
- | * **Description**:N/A | + | * //More information about it can reference to EPSG.rtf in the documentation.// |
- | [[#Public Methods|Go Back]] | + | == Return Value == |
- | === ConvertToExternalProjection(Feature) === | + | * Type:String |
- | N/A | + | * Description:The project text corresponding to the srid. |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | * //srid// |
- | * **Description**:N/A | + | * Type:Int32 |
+ | * Description:The target Srid infromation to get the projection text from. | ||
- | ==== Parameters ==== | + | <div newline></div> |
- | **feature** | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetWgs84ParametersString() ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | * //This method is a static API to get a projection text from WGS84.// |
- | === ConvertToInternalProjection(RectangleShape) === | + | == Remarks == |
- | N/A | + | * //More information about it can reference to EPSG.rtf in the documentation.// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Type:String |
- | * **Description**:N/A | + | * Description:The project text corresponding to the srid. |
- | ==== Parameters ==== | + | == Parameters == |
- | **rectangleShape** | + | <div newline></div> |
- | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLatLongParametersString() ** |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | * //N/A// |
- | === ConvertToInternalProjection(Double,Double) === | + | == Remarks == |
- | N/A | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Vertex|Vertex]] | + | * Type:String |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **x** | + | <div newline></div> |
- | * **Type**:Double | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDecimalDegreesParametersString() ** |
- | * **Description**:N/A | + | |
- | **y** | + | * //N/A// |
- | * **Type**:Double | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Return Value == |
- | === ConvertToInternalProjection(BaseShape) === | + | * Type:String |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | <div newline></div> |
- | * **Description**:N/A | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetEsriParametersString(Int32) ** |
- | ==== Parameters ==== | + | * //This method is a static API to get a projection text from ERSI.// |
- | **baseShape** | + | == Remarks == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | * //More information about it can reference to ERSI.rtf in the documentation.// |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | == Return Value == |
- | === ConvertToInternalProjection(Feature) === | + | * Type:String |
- | N/A | + | * Description:The project text corresponding to the srid. |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | * //srid// |
- | * **Description**:N/A | + | * Type:Int32 |
+ | * Description:The target Srid infromation to get the projection text from. | ||
- | ==== Parameters ==== | + | <div newline></div> |
- | **feature** | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetGoogleMapParametersString() ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | * //This method is a static API to get a projection used by GoogleMap.// |
- | === ConvertToInternalProjection(IEnumerable<Vertex>) === | + | == Remarks == |
- | N/A | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] | + | * Type:String |
- | * **Description**:N/A | + | * Description:A text for a projection used by GoogleMap , it should like this "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" |
- | ==== Parameters ==== | + | == Parameters == |
- | **vertices** | + | <div newline></div> |
- | * **Type**:IEnumerable<[[ThinkGeo.MapSuite.Core.Vertex|Vertex]]> | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLocalUtmZoneParametersString(Double,Double) ** |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | * //N/A// |
- | === Dispose() === | + | == Remarks == |
- | This is the dispose method for the class. | + | * //N/A// |
- | ==== 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** | + | == Return Value == |
- | * **Return Type**:Void | + | * Type:String |
- | * **Description**:None | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //longitude// |
- | === Equals(Object) === | + | * Type:Double |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //latitude// |
- | * **Return Type**:Boolean | + | * Type:Double |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | <div newline></div> |
- | **obj** | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLocalUtmZoneParametersString(Feature,String) ** |
- | * **Type**:Object | + | |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | * //N/A// |
- | === GetBingMapParametersString() === | + | == Remarks == |
- | This method is a static API to get a projection used by BingMaps. | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:String | + | * Type:String |
- | * **Description**:A text for a projection used by BingMaps , it should like this "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //feature// |
- | === GetDecimalDegreesParametersString() === | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //proj4ProjectionParameters// |
- | * **Return Type**:String | + | * Type:String |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLocalUtmZoneParametersString(Feature,Int32) ** |
- | === GetEpsgParametersString(Int32) === | + | |
- | This method is a static API to get a projection text from EPSG(European Petroleum Survey Group). | + | |
- | ==== Remarks ==== | + | |
- | More information about it can reference to EPSG.rtf in the documentation. | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:String | + | == Remarks == |
- | * **Description**:The project text corresponding to the srid. | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | **srid** | + | * Type:String |
- | * **Type**:Int32 | + | * Description:N/A |
- | * **Description**:The target Srid infromation to get the projection text from. | + | |
- | [[#Public Methods|Go Back]] | + | == Parameters == |
- | === GetEsriParametersString(Int32) === | + | * //feature// |
- | This method is a static API to get a projection text from ERSI. | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | ==== Remarks ==== | + | * Description:N/A |
- | More information about it can reference to ERSI.rtf in the documentation. | + | |
- | **Return Value** | + | * //srid// |
- | * **Return Type**:String | + | * Type:Int32 |
- | * **Description**:The project text corresponding to the srid. | + | * Description:N/A |
- | ==== Parameters ==== | + | <div newline></div> |
- | **srid** | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLocalUtmZoneParametersString(BaseShape,String) ** |
- | * **Type**:Int32 | + | |
- | * **Description**:The target Srid infromation to get the projection text from. | + | |
- | [[#Public Methods|Go Back]] | + | * //N/A// |
- | === GetExternalGeographyUnit() === | + | == Remarks == |
- | N/A | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | + | * Type:String |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //shape// |
- | === GetGeographyUnitFromPrj(String) === | + | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //proj4ProjectionParameters// |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | + | * Type:String |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | <div newline></div> |
- | **prjString** | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLocalUtmZoneParametersString(BaseShape,Int32) ** |
- | * **Type**:String | + | |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | * //N/A// |
- | === GetGeographyUnitFromProj4(String) === | + | == Remarks == |
- | N/A | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | + | * Type:String |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **proj4String** | + | * //shape// |
- | * **Type**:String | + | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] |
- | * **Description**:N/A | + | * Description:N/A |
- | [[#Public Methods|Go Back]] | + | * //srid// |
- | === GetGoogleMapParametersString() === | + | * Type:Int32 |
- | This method is a static API to get a projection used by GoogleMap. | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | <div newline></div> |
- | * **Return Type**:String | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLocalUtmZoneNumber(Double,Double) ** |
- | * **Description**:A text for a projection used by GoogleMap , it should like this "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" | + | |
- | ==== Parameters ==== | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | === GetHashCode() === | + | * //N/A// |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:Int32 | + | * Type:Int32 |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //latitude// |
- | === GetInternalGeographyUnit() === | + | * Type:Double |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //longitude// |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | + | * Type:Double |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLocalUtmZoneNumber(Feature,String) ** |
- | === GetLatLongParametersString() === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:String | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Int32 |
- | === GetLocalUtmZoneNumber(Double,Double) === | + | * Description:N/A |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:Int32 | + | * //feature// |
- | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
+ | * Description:N/A | ||
- | ==== Parameters ==== | + | * //proj4ProjectionParameters// |
- | **latitude** | + | * Type:String |
- | * **Type**:Double | + | * Description:N/A |
- | * **Description**:N/A | + | |
- | **longitude** | + | <div newline></div> |
- | * **Type**:Double | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLocalUtmZoneNumber(Feature,Int32) ** |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | * //N/A// |
- | === GetLocalUtmZoneNumber(Feature,String) === | + | == Remarks == |
- | N/A | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:Int32 | + | * Type:Int32 |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **feature** | + | * //feature// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | * **Description**:N/A | + | * Description:N/A |
- | **proj4ProjectionParameters** | + | * //srid// |
- | * **Type**:String | + | * Type:Int32 |
- | * **Description**:N/A | + | * Description:N/A |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | === GetLocalUtmZoneNumber(Feature,Int32) === | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLocalUtmZoneNumber(BaseShape,String) ** |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:Int32 | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | **feature** | + | * Type:Int32 |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | * Description:N/A |
- | * **Description**:N/A | + | |
- | **srid** | + | == Parameters == |
- | * **Type**:Int32 | + | * //shape// |
- | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] |
+ | * Description:N/A | ||
- | [[#Public Methods|Go Back]] | + | * //proj4ProjectionParameters// |
- | === GetLocalUtmZoneNumber(BaseShape,String) === | + | * Type:String |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | <div newline></div> |
- | * **Return Type**:Int32 | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLocalUtmZoneNumber(BaseShape,Int32) ** |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | + | * //N/A// |
- | **shape** | + | == Remarks == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | * //N/A// |
- | * **Description**:N/A | + | |
- | **proj4ProjectionParameters** | + | == Return Value == |
- | * **Type**:String | + | * Type:Int32 |
- | * **Description**:N/A | + | * Description:N/A |
- | [[#Public Methods|Go Back]] | + | == Parameters == |
- | === GetLocalUtmZoneNumber(BaseShape,Int32) === | + | * //shape// |
- | N/A | + | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] |
- | ==== Remarks ==== | + | * Description:N/A |
- | N/A | + | |
- | **Return Value** | + | * //srid// |
- | * **Return Type**:Int32 | + | * Type:Int32 |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | <div newline></div> |
- | **shape** | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertEpsgToPrj(Int32) ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | |
- | * **Description**:N/A | + | |
- | **srid** | + | * //This method is a static API to get a Prj string by Epsg number// |
- | * **Type**:Int32 | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Return Value == |
- | === GetLocalUtmZoneParametersString(BaseShape,String) === | + | * Type:String |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:String | + | * //srid// |
- | * **Description**:N/A | + | * Type:Int32 |
+ | * Description:Epsg number that reprents this projection | ||
- | ==== Parameters ==== | + | <div newline></div> |
- | **shape** | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertProj4ToPrj(String) ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | |
- | * **Description**:N/A | + | |
- | **proj4ProjectionParameters** | + | * //N/A// |
- | * **Type**:String | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Return Value == |
- | === GetLocalUtmZoneParametersString(Double,Double) === | + | * Type:String |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:String | + | * //proj4String// |
- | * **Description**:N/A | + | * Type:String |
+ | * Description:N/A | ||
- | ==== Parameters ==== | + | <div newline></div> |
- | **longitude** | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertPrjToProj4(String) ** |
- | * **Type**:Double | + | |
- | * **Description**:N/A | + | |
- | **latitude** | + | * //N/A// |
- | * **Type**:Double | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Return Value == |
- | === GetLocalUtmZoneParametersString(Feature,String) === | + | * Type:String |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:String | + | * //prjString// |
- | * **Description**:N/A | + | * Type:String |
+ | * Description:N/A | ||
- | ==== Parameters ==== | + | <div newline></div> |
- | **feature** | + | ==== Protected Methods ==== |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** |
- | * **Description**:N/A | + | |
- | **proj4ProjectionParameters** | + | * //This method open the projection and gets it ready to use.// |
- | * **Type**:String | + | == Remarks == |
- | * **Description**:N/A | + | * //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.// |
- | [[#Public Methods|Go Back]] | + | == Return Value == |
- | === GetLocalUtmZoneParametersString(Feature,Int32) === | + | * Type:Void |
- | N/A | + | * Description:None |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:String | + | <div newline></div> |
- | * **Description**:N/A | + | ** {{wiki:ProtectedMethod.gif|}} CloseCore() ** |
- | ==== Parameters ==== | + | * //This method closes the projection and gets it ready to serialization if necessary.// |
- | **feature** | + | == Remarks == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | * //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.// |
- | * **Description**:N/A | + | |
- | **srid** | + | == Return Value == |
- | * **Type**:Int32 | + | * Type:Void |
- | * **Description**:N/A | + | * Description:None |
- | [[#Public Methods|Go Back]] | + | == Parameters == |
- | === GetLocalUtmZoneParametersString(BaseShape,Int32) === | + | <div newline></div> |
- | N/A | + | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(GeoImage,RectangleShape) ** |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:String | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | **shape** | + | * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] |
- | * **Type**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | * Description:N/A |
- | * **Description**:N/A | + | |
- | **srid** | + | == Parameters == |
- | * **Type**:Int32 | + | * //image// |
- | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
+ | * Description:N/A | ||
- | [[#Public Methods|Go Back]] | + | * //imageExtent// |
- | === GetSphericalMercatorParametersString() === | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | This method is a static API to get a projection of SphericalMercator. | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | <div newline></div> |
- | * **Return Type**:String | + | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape) ** |
- | * **Description**:A text for a SphericalMercator projection, it should like this "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" | + | |
- | ==== Parameters ==== | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | === GetType() === | + | * //N/A// |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:Type | + | * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //image// |
- | === GetWgs84ParametersString() === | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
- | This method is a static API to get a projection text from WGS84. | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | More information about it can reference to EPSG.rtf in the documentation. | + | |
- | **Return Value** | + | * //imageExtent// |
- | * **Return Type**:String | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | * **Description**:The project text corresponding to the srid. | + | * Description:N/A |
- | ==== Parameters ==== | + | * //targetExtent// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | === Open() === | + | * Description:N/A |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | <div newline></div> |
- | * **Return Type**:Void | + | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(Double[],Double[]) ** |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | + | * //This method returns a projected vertex based on the coordinates passed in.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | === ToString() === | + | * //This method returns a projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically you can call the projection utility library that has interfaces for dozens of different types of projections.// |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:String | + | * Type:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] |
- | * **Description**:N/A | + | * Description:This method returns a projected vertices based on the coordinates passed in. |
- | ==== Parameters ==== | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //x// |
- | ===== Protected Methods ===== | + | * Type:Double[] |
- | === CloneDeepCore() === | + | * Description:This parameter is the X values of the points that will be projected. |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //y// |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | + | * Type:Double[] |
- | * **Description**:N/A | + | * Description:This parameter is the Y values of the points that will be projected. |
- | ==== Parameters ==== | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} ConvertToInternalProjectionCore(Double[],Double[]) ** |
- | === 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** | + | * //This method returns a de-projected vertex based on the coordinates passed in.// |
- | * **Return Type**:Void | + | == Remarks == |
- | * **Description**:None | + | * //This method returns a de-projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically you can call the projection utility library that has interfaces for dozens of different types of projections. The de-projection is important because inside of the FeatureSource you will in many cases to to and from various projections.// |
- | ==== Parameters ==== | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] |
- | === ConvertToExternalProjectionCore(GeoImage,RectangleShape) === | + | * Description:This method returns a de-projected vertices based on the coordinates passed in. |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] | + | * //x// |
- | * **Description**:N/A | + | * Type:Double[] |
+ | * Description:This parameter is the X values of the points that will be de-projected. | ||
- | ==== Parameters ==== | + | * //y// |
- | **image** | + | * Type:Double[] |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | * Description:This parameter is the Y values of the points that will be de-projected. |
- | * **Description**:N/A | + | |
- | **imageExtent** | + | <div newline></div> |
- | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** |
- | * **Description**:N/A | + | |
- | [[#Protected Methods|Go Back]] | + | * //N/A// |
- | === ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape) === | + | == Remarks == |
- | N/A | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] | + | * Type:Void |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **image** | + | <div newline></div> |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | ** {{wiki:ProtectedMethod.gif|}} GetInternalGeographyUnitCore() ** |
- | * **Description**:N/A | + | |
- | **imageExtent** | + | * //N/A// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | **targetExtent** | + | == Return Value == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] |
- | * **Description**:N/A | + | * Description:N/A |
- | [[#Protected Methods|Go Back]] | + | == Parameters == |
- | === ConvertToExternalProjectionCore(Double[],Double[]) === | + | <div newline></div> |
- | This method returns a projected vertex based on the coordinates passed in. | + | ** {{wiki:ProtectedMethod.gif|}} GetExternalGeographyUnitCore() ** |
- | ==== Remarks ==== | + | |
- | This method returns a projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically you can call the projection utility library that has interfaces for dozens of different types of projections. | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] | + | == Remarks == |
- | * **Description**:This method returns a projected vertices based on the coordinates passed in. | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | **x** | + | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] |
- | * **Type**:Double[] | + | * Description:N/A |
- | * **Description**:This parameter is the X values of the points that will be projected. | + | |
- | **y** | + | == Parameters == |
- | * **Type**:Double[] | + | <div newline></div> |
- | * **Description**:This parameter is the Y values of the points that will be projected. | + | ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** |
- | [[#Protected Methods|Go Back]] | + | * //N/A// |
- | === ConvertToInternalProjectionCore(Double[],Double[]) === | + | == Remarks == |
- | This method returns a de-projected vertex based on the coordinates passed in. | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | This method returns a de-projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically you can call the projection utility library that has interfaces for dozens of different types of projections. The de-projection is important because inside of the FeatureSource you will in many cases to to and from various projections. | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] | + | * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] |
- | * **Description**:This method returns a de-projected vertices based on the coordinates passed in. | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **x** | + | <div newline></div> |
- | * **Type**:Double[] | + | ** {{wiki:ProtectedMethod.gif|}} UpdateToExternalProjection(Feature) ** |
- | * **Description**:This parameter is the X values of the points that will be de-projected. | + | |
- | **y** | + | * //N/A// |
- | * **Type**:Double[] | + | == Remarks == |
- | * **Description**:This parameter is the Y values of the points that will be de-projected. | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Return Value == |
- | === Finalize() === | + | * Type:Void |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:Void | + | * //feature// |
- | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
+ | * Description:N/A | ||
- | ==== Parameters ==== | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} UpdateToInternalProjection(Feature) ** |
- | === GetExternalGeographyUnitCore() === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | === GetInternalGeographyUnitCore() === | + | * Description:N/A |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | + | * //feature// |
- | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
+ | * Description:N/A | ||
- | ==== Parameters ==== | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** |
- | === MemberwiseClone() === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:Object | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Object |
- | === OpenCore() === | + | * Description:N/A |
- | 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** | + | == Parameters == |
- | * **Return Type**:Void | + | <div newline></div> |
- | * **Description**:None | + | ==== Public Properties ==== |
+ | ** {{wiki:PublicProperty.gif|}} MemoryMode ** | ||
- | ==== Parameters ==== | + | Gets or sets a valude indicating in which way we read the projection informaion. |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | === SzE=(Feature) === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
N/A | N/A | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Proj4MemoryMode|Proj4MemoryMode]] | ||
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} DecimalDegreeBoundary ** |
- | * **Return Type**:Void | + | |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | + | This property specifies the Boundary for decimaldegree values. |
- | **feature** | + | == Remarks == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | The default boundary is(-179.9, 89.9, 179.9, -89.9). That means when I want to project a PointShape(-179,91,89.91) out, in fact what it projects is (-179.9,89.9) because of its out of boundary. |
- | * **Description**:N/A | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicProperty.gif|}} InternalProjectionParametersString ** |
- | === TDE=(Feature) === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | Gets or sets the Proj4 text parameter for the from projection. This parameter typically look like "+Proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs". |
- | * **Return Type**:Void | + | == Remarks == |
- | * **Description**:N/A | + | |
- | + | ||
- | ==== Parameters ==== | + | |
- | **feature** | + | |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | |
- | * **Description**:N/A | + | |
- | + | ||
- | [[#Protected Methods|Go Back]] | + | |
- | ===== Public Properties ===== | + | |
- | === CanConvertRasterToExternalProjection === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:Boolean | + | * Type:String |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:PublicProperty.gif|}} ExternalProjectionParametersString ** |
- | === DecimalDegreeBoundary === | + | |
- | This property specifies the Boundary for decimaldegree values. | + | |
- | ==== Remarks ==== | + | |
- | The default boundary is(-179.9, 89.9, 179.9, -89.9). That means when I want to project a PointShape(-179,91,89.91) out, in fact what it projects is (-179.9,89.9) because of its out of boundary. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | |
- | [[#Public Properties|Go Back]] | ||
- | === 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". | 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 ==== | + | == Remarks == |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:String | + | * Type:String |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:PublicProperty.gif|}} IsOpen ** |
- | === 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". | + | N/A |
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:String | + | * Type:Boolean |
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} CanConvertRasterToExternalProjection ** | ||
- | [[#Public Properties|Go Back]] | ||
- | === IsOpen === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:Boolean | + | * Type:Boolean |
- | [[#Public Properties|Go Back]] | + | ==== Protected Properties ==== |
- | === MemoryMode === | + | ** {{wiki:ProtectedProperty.gif|}} CanReproject ** |
- | Gets or sets a valude indicating in which way we read the projection informaion. | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.Proj4MemoryMode|Proj4MemoryMode]] | + | |
- | [[#Public Properties|Go Back]] | ||
- | ===== Protected Properties ===== | ||
- | === CanReproject === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:Boolean | + | * Type:Boolean |
- | [[#Protected Properties|Go Back]] | + | ==== Public Events ==== |
- | ===== Public Events ===== | + | |