just for the record...<br>adding this line: Proj4js.defs["EPSG:29193"] = "+proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs";<br><br>solved the problem of the first request.<br><br><div class="gmail_quote">
On Tue, Nov 10, 2009 at 4:17 PM, Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div class="im"><br>
Pedro Baracho wrote:<br>
> just have a minor issue that is the first load of the page.<br>
> On firebug, the BBOX filter of the first request doesn't get<br>
> reprojected to 29193, but from the second request on, the BBOX gets<br>
> reprojected and the data is drawn.<br>
><br>
> This might have something to do with the request being sent before<br>
> proj4js is completely loaded. I used the complete version with all<br>
> EPSG projections on it, and it is a 70kb compressed js file.<br>
<br>
</div>It does not contain all EPSG projections, just commonly used ones. So it<br>
will load EPSG:29193 dynamically, and this takes a while.<br>
<div class="im"><br>
><br>
> I will try removing all the other projections from it and initializing<br>
> only EPSG:29193 using "Proj4js.defs" and see if that solves the problem.<br>
<br>
</div>This will definitely solve the problem.<br>
<div><div></div><div class="h5"><br>
Regards,<br>
Andreas.<br>
<br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
<br>
</div></div></blockquote></div><br>