Hey there,

I have a serious problem with a simple coordinate transformation. The Problem 
is, that the source coordinates won't be transformed. The result is a 
coordinate-pair similar to the source coordinates. This is my code:

var target = new OpenLayers.LonLat(split_lon,split_lat) ; //split_lon = 
8.6108243631697 , split_lat = 50.126971489974, this is also the result
var source_proj = new OpenLayers.Projection("EPSG:900913") ;
var target_proj = new OpenLayers.Projection("EPSG:31467") ;
var transformed_coords = target.transform(source_proj,target_proj);

I have also tried to use the maps projection-object as target-projection but 
with no success. Why is that?

Best,
Freddy


Frederick Löbig
Röderichstraße 59
60489 Frankfurt am Main
---
E:: [email protected]
P: +49 (0) 69 - 78 99 52 41
M: +49 (0) 174 - 70 89 296
---
Office:
euNetworks GmbH
Ludwig-Landmann-Straße 40560486 Frankfurt am MainP: +49 (0) 69 - 90 554 - 532
E: [email protected]
S: floebig

This email and any attachments may contain confidential and/or legally 
privileged information. If you are not the intended recipient, please delete 
the email without reading it and notify the sender.

                                          
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to