[OpenLayers-Users] Vector Layer,
WFS Protocol and BBOX strategy problem
Pedro Baracho
pedropbaracho at gmail.com
Thu Nov 12 12:56:08 EST 2009
just for the record...
adding this line: Proj4js.defs["EPSG:29193"] = "+proj=utm +zone=23 +south
+ellps=aust_SA +units=m +no_defs";
solved the problem of the first request.
On Tue, Nov 10, 2009 at 4:17 PM, Andreas Hocevar <ahocevar at opengeo.org>wrote:
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091112/a0304c50/attachment.html
More information about the Users
mailing list