hi,<br>does proj4js support EPSG:23030 to WGS84 transformation or viceversa? <br>i didn&#39;t see in the proj4js docs, is it going to support&nbsp; it?<br>Thanks very much.<br><br>best regards<br><br><br><div><span class="gmail_quote">2008/2/13, David E. Reksten &lt;<a href="mailto:der@dod.no">der@dod.no</a>&gt;:</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>&nbsp;&nbsp;&nbsp;&nbsp;var destProj = new Proj4js.Proj(map.getProjection()); // Euref89 UTM32<br>&nbsp;&nbsp;&nbsp;&nbsp;var sourceProj = new Proj4js.Proj(&quot;EPSG:4326&quot;); // WGS84 LonLat<br>&nbsp;&nbsp;&nbsp;&nbsp;var position = new OpenLayers.Geometry.Point(lon, lat);<br>
&nbsp;&nbsp;&nbsp;&nbsp;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 &lt;<a href="mailto:andrea.maschio@gmail.com">andrea.maschio@gmail.com</a>&gt; wrote:<br>&gt; Hi all, I suppose that the method Bounds.transform(ProjA, ProjB)<br>&gt; should transform the coordinates between differents EPSG codes.<br>
&gt;<br>&gt; Now I was trying this:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var p = bounds<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;console.log(p)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p = bounds.transform(new OpenLayers.Projection(&quot;EPSG:<br>&gt; 900913&quot;), new OpenLayers.Projection(&quot;EPSG:3003&quot;))<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;console.log(p)<br>&gt;<br>&gt; But p has always the same coords. Btw I am working in a projected<br>&gt; layer (projected from 3003 to 900913) and my wfs layers are ok, but<br>&gt; being my coords in the Gauss Boaga metric system, I cannot get them<br>
&gt; correctly trying for example a GetFeatureInfo call using a BBOX.<br>&gt;<br>&gt; Shall I perform a linear translation of the coordinates?<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt;<br>&gt;<br>&gt; Andrea Maschio<br>&gt; <a href="http://www.superandrew.it">http://www.superandrew.it</a><br>
&gt;<br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>&gt; <a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br>
&gt;<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>