hi,<br>does proj4js support EPSG:23030 to WGS84 transformation or viceversa? <br>i didn't see in the proj4js docs, is it going to support it?<br>Thanks very much.<br><br>best regards<br><br><br><div><span class="gmail_quote">2008/2/13, David E. Reksten <<a href="mailto:der@dod.no">der@dod.no</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is how I reproject LL to UTM32:<br><br> var destProj = new Proj4js.Proj(map.getProjection()); // Euref89 UTM32<br> var sourceProj = new Proj4js.Proj("EPSG:4326"); // WGS84 LonLat<br> var position = new OpenLayers.Geometry.Point(lon, lat);<br>
Proj4js.transform(sourceProj, destProj, position);<br><br>Thereafter, position.x and position.y will contain the reprojected coordinates.<br><br>Using trunk versions of OL and Proj4js. Hope this helps.<br><br>.david<br>
<br>On 13/02/2008, Andrea Maschio <<a href="mailto:andrea.maschio@gmail.com">andrea.maschio@gmail.com</a>> wrote:<br>> Hi all, I suppose that the method Bounds.transform(ProjA, ProjB)<br>> should transform the coordinates between differents EPSG codes.<br>
><br>> Now I was trying this:<br>><br>> var p = bounds<br>> console.log(p)<br>> p = bounds.transform(new OpenLayers.Projection("EPSG:<br>> 900913"), new OpenLayers.Projection("EPSG:3003"))<br>
> console.log(p)<br>><br>> But p has always the same coords. Btw I am working in a projected<br>> layer (projected from 3003 to 900913) and my wfs layers are ok, but<br>> being my coords in the Gauss Boaga metric system, I cannot get them<br>
> correctly trying for example a GetFeatureInfo call using a BBOX.<br>><br>> Shall I perform a linear translation of the coordinates?<br>><br>> Thanks<br>><br>><br>><br>> Andrea Maschio<br>> <a href="http://www.superandrew.it">http://www.superandrew.it</a><br>
><br>> _______________________________________________<br>> Users mailing list<br>> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>> <a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br>
><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br>
</blockquote></div><br>