[OpenLayers-Users] Vector Layer, WFS Protocol and BBOX strategy problem

Andreas Hocevar ahocevar at opengeo.org
Tue Nov 10 13:17:52 EST 2009


Hi,

Pedro Baracho wrote:
>  just have a minor issue that is the first load of the page.
> On firebug, the BBOX filter of the first request doesn't get
> reprojected to 29193, but from the second request on, the BBOX gets
> reprojected and the data is drawn.
>
> This might have something to do with the request being sent before
> proj4js is completely loaded. I used the complete version with all
> EPSG projections on it, and it is a 70kb compressed js file.

It does not contain all EPSG projections, just commonly used ones. So it
will load EPSG:29193 dynamically, and this takes a while.

>
> I will try removing all the other projections from it and initializing
> only EPSG:29193 using "Proj4js.defs" and see if that solves the problem.

This will definitely solve the problem.

Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list