[gdal-dev] Issue with Lambert Conformal projection with GDAL

Dmitry Kazimirov dkazimirov at issart.com
Fri Mar 13 06:19:01 EDT 2009


Greetings,

I currently trying to convert image data in grib2 format
(specification is here if someone interested-
http://www.weather.gov/forecasts/graphical/docs/grib_design.html, my
datafeed is using 'Template 30' i.e. Lambert Conform Conic Projection)
and rewarp it to other projection
I have data about projection(they are sometimes changed)
Lambert Conformal: (614 x 428) input WE:SN output WE:SN res 8 mode 8


Lat1 12.190000 - latitude of first grid point
Lon1 226.541000 - longitude of first grid point
LoV 265.000000 - Orientation longitude (?)
LatD 25.000000 - "Latitude where grid spacing is defined"
Latin1 25.000000 Latin1, first secant latitude
Latin2 25.000000 Latin2, second secant latitude (
LatSP -90.000000 LonSP 0.000000 - Latitude and longitude of southern pole  (?)
Dx 12190.528000 m  - Dx, X-direction grid length
Dy 12190.590000 m - Dy, Y-direction grid length

GDAL Georeference's SetLCC require parameters
SetLCC  	(  	double   	 dfStdP1,
		double  	dfStdP2,
		double  	dfCenterLat,
		double  	dfCenterLong,
		double  	dfFalseEasting,
		double  	dfFalseNorthing	
	) 		
(uncommented at all)
how I use my parameters to with GDAL?
I understood that dfStdP1/P2 is 1st/2nd standard parallel(25.0000 in my case)
What I should use fort dfCenterLat/Long?
for falseEasting/Northing?
Could anyone help?
-- 
-- 
Best Regards,
Dmitriy Kazimirov,
Senior C++/C# Developer
of ISS Art, Ltd., Omsk, Russia
Web: http://www.issart.com
E-mail: dkazimirov at issart.com
ICQ:148916984
Yahoo Messenger:dmitriy_kazimirov


More information about the gdal-dev mailing list