Share |

Lambert Conformal Conic Projection - Eye4Software GPS Toolkit

Download Eye4Software GPS Toolkit free trial Download the Eye4Software GPS Toolkit fully functional 30 day trial version for free
Browse through the Eye4Software GPS Toolkit for Windows manual Browse through the Eye4Software GPS Toolkit manual

Lambert Conformal Conic Projection

A Lambert conformal conic projection (LCC) is a conic map projection, which is often used for aeronautical charts. In essence, the projection superimposes a cone over the sphere of the Earth, with two reference parallels secant to the globe and intersecting it. This minimizes distortion from projecting a three dimensional surface to a two-dimensional surface. There is no distortion along the standard parallels, but distortion increases further from the chosen parallels. As the name indicates, maps using this projection are conformal. Lambert Conformal Conic is one of the most used map projections around the globe. There is also a variant of Lambert Conformal Conic which uses only one reference or standard parallel.

Lambert Conformal Conic Projection

Required Parameters

To convert Lambert Conformal Conic coordinates, the following parameters have to be set:

  • False Northing;
  • False Easting;
  • Standard Parallel 1;
  • Standard Parallel 2;
  • Latitude Of Origin;
  • Central Meridian;


Eye4Software GPS Toolkit

The following code sample (VBScript) shows how to use the Lambert Conformal Conic Projection from the Eye4Software GPS Toolkit:

' demo_lambert.vbs
'
' This demo translates lat/lon coordinates (WGS84) to Lambert-72 (Belgium72) using
' Lambert projection
'
' This demo specifies a map grid based on the Lambert Conformal Conic projection, by setting all geodetic parameters. 
'
' If you want to convert using one of the 4000 grids that are included in the component,
' you should have a look at the demo_gridsimple.vbs demo (recommended for users with less or no experience in geodesy).

Option Explicit

Dim objDatumSrc, objDatumDst, objGridSrc, objGridDst, objProjection, objConstants

Set objDatumSrc		= CreateObject ( "Eye4Software.GpsDatumParameters" )
Set objDatumDst		= CreateObject ( "Eye4Software.GpsDatumParameters" )
Set objGridSrc 		= CreateObject ( "Eye4Software.GpsGridParameters" )
Set objGridDst 		= CreateObject ( "Eye4Software.GpsGridParameters" )
Set objProjection	= CreateObject ( "Eye4Software.GpsProjection" )
Set objConstants 	= CreateObject ( "Eye4Software.GpsConstants" )

WScript.Echo "Eye4Software GPS Toolkit " & objProjection.Version & " - Lambert Projection Demo" 
WScript.Echo

' // Start of parameters part //

' Set Source Datum: WGS84
objDatumSrc.Axis		= 6378137.000
objDatumSrc.Flattening		= 298.257223563

' Set Source GridL: Latitude/Longitude
objGridSrc.Projection		= 0
objGridSrc.Datum		= objDatumSrc

' Set Destination Datum: Belgium 1972
objDatumDst.Axis		= 6378388.000
objDatumDst.Flattening		=  297.000
objDatumDst.TranslationX	=  -99.059
objDatumDst.TranslationY	=   53.322
objDatumDst.TranslationZ	= -112.486
objDatumDst.RotationX		=    0.419
objDatumDst.RotationY		=   -0.830
objDatumDst.RotationZ		=    1.885
objDatumDst.ScaleFactor		=   -1.000

' Set destination grid: Belgium Lambert 72
objGridDst.Projection		= objConstants.GPS_PROJECTION_LAMBERT2SP
objGridDst.Datum		= objDatumDst
objGridDst.FalseNorthing	= 5400088.438000
objGridDst.FalseEasting		= 150000.012560
objGridDst.OriginLatitude	= 90.0
objGridDst.OriginLongitude	= 4.367487
objGridDst.ParallelNorth	= 49.833334
objGridDst.ParallelSouth	= 51.166667
objGridDst.ScaleFactor		= 0.0000

' Set Source coordinates
objProjection.Latitude		= 50.505000
objProjection.Longitude		=  4.470000

' // End of parameters part //

' Perform the transformation
WScript.Echo "Convert from Latitude / Longitude to Lambert-72 using Lambert projection"
WScript.Echo
WScript.Echo "Latitude    = " & objProjection.Latitude
WScript.Echo "Longitude   = " & objProjection.Longitude
WScript.Echo

objProjection.TransformGrid objGridSrc, objGridDst

' Return the result
WScript.Echo "Result: " & objProjection.LastError & " (" & objProjection.LastErrorDescription & ")"
WScript.Echo
If ( objProjection.LastError = 0 ) Then
	WScript.Echo "Northing    = " & objProjection.Northing
	WScript.Echo "Easting     = " & objProjection.Easting
End If

WScript.Echo "Ready."

Click here to show a list of all supported map projections.