On Thu, Oct 08, 2009 at 06:12:01AM -0700, Bytechanger wrote:
> 
> Hi,
> 
> I want to convert Coordinates, but it doesn?t work ....
> 
> Ive got 50.910 and 6.750 (EPSG:4326)
> and want to convert it into EPSG:31466
> 
> var ll= new OpenLayers.LonLat(initlon, initlat).transform(new
> OpenLayers.Projection("EPSG:4326"), new
> OpenLayers.Projection("EPSG:31466"));
> alert("lat:"+ll.lat+" lon:"+ll.lon);
> 
> MsgBox shows source coordinates .... no convert!

Did you include proj4js in your page? Did you include the 
definition for EPSG:31466 in your page?

-- Chris

> 
> Greetings
> 
> Byte
> -- 
> View this message in context: 
> http://n2.nabble.com/Convert-Coordinates-EPSG-4326-to-31466-doesn-t-work-tp3787906p3787906.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to