MapWinGeoProc:SpatialReference ConvertAndProjectPoint
From MapWindow GIS
ConvertAndProjectPoint
Syntax
bool ConvertAndProjectPoint(ref double x, ref double y)
Summary
Projects a 2D point from one coordinate system to another
using Proj.4 function: pj_transform.
This function assumes that the caller has already checked to see
if conversion to radians or degrees is necessary, then performs
the necessary conversion before or after projecting the point.
Parameters
| x | X value of point to project. |
| y | Y value of point to project. |
Returns
True if projection was successful, false if an error was encountered.
Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to SpatialReference
















