Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
This projection class uses the Proj4 engine to project data from one Srid to another.
This conctructor pass nothing. After this cconstructor , you should set the InternalProjectionParametersString property and ExternalProjectionParametersString property before open to use.
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.
N/A
N/A
N/A
ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape)
N/A
N/A
N/A
N/A
N/A
ConvertToExternalProjection(BaseShape)
N/A
N/A
N/A
N/A
N/A
ConvertToInternalProjection(BaseShape)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
GetEpsgParametersString(Int32)
This method is a static API to get a projection text from EPSG(European Petroleum Survey Group).
More information about it can reference to EPSG.rtf in the documentation.
This method is a static API to get a projection text from WGS84.
More information about it can reference to EPSG.rtf in the documentation.
N/A
N/A
More information about it can reference to ERSI.rtf in the documentation.
GetGoogleMapParametersString()
This method is a static API to get a projection used by GoogleMap.
N/A
N/A
GetSphericalMercatorParametersString()
This method is a static API to get a projection of SphericalMercator.
N/A
N/A
N/A
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.
ConvertToExternalProjectionCore(Double[],Double[])
This method returns a projected vertex based on the coordinates passed in.
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.
ConvertToInternalProjectionCore(Double[],Double[])
This method returns a de-projected vertex based on the coordinates passed in.
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.
GetInternalGeographyUnitCore()
N/A
N/A
N/A
N/A
N/A
ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
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.
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
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”.
N/A
N/A
N/A
N/A
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.