[OpenLayers-Users] reprojecting issues

pere roca ristol peroc79 at gmail.com
Tue Jan 12 13:18:51 EST 2010


   thank you, that is.
   I'm allways missing something about bounds and related issues.

   Currently the server crashed, we usually have problems in terms of
performance, I wonder if  reprojecting (about 6 layers?) and navigating can
substantially decrease the performance? someone with experience in these
issues?

   I'm using Geoserver 1.7.1

  thanks,
  Pere



2010/1/12 Arnd Wippermann <arnd.wippermann at web.de>

> Hi,
>
> Your layer are also displayed in lat/lon, but with your extent you are not
> able to zoom near enough. Set every time your bounds, then it should work.
>
> if (proj!=='EPSG:4326')
> {
>    options.units='m';
>    options.maxExtent=new
> OpenLayers.Bounds(-2826520,-6354390,4449320,4187770);
> }
> else
> {
>    options.maxExtent=new OpenLayers.Bounds(-180,-90,180,90);
>    options.units='dd';
> }
>
> Arnd
>
>
> -----Ursprüngliche Nachricht-----
> Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
> Auftrag von Pere Roca Ristol
> Gesendet: Dienstag, 12. Januar 2010 14:02
> An: users at openlayers.org
> Betreff: [OpenLayers-Users] reprojecting issues
>
>
> hi all,
>
> please correct me if I'm wrong.
>
> As far as I have investigated around, if I want to reproject all the
> layers,
> I have to first destroy the map, recreate it with
> options.projection=my_proj
> and recreate all the layers (when destroying the map, layers persist but
> params are deleted) and add them
>
> Even with some errors (EPSG 32661 and 3411 are not correctly reprojected)
> it
> can be see on  http://edit.csic.es/geo/mapviewer/projections_test.html
> http://edit.csic.es/geo/mapviewer/projections_test.html
>
> What it doesn't work at all is trying to switch to lat/long (4326), where I
> don't get an error but a blank image. Some idea why it happens?
>
> and why 32661 and 3411 are not correctly displayed?
>
> thanks in advance,
> Pere
>
>
> --
> View this message in context:
> http://n2.nabble.com/reprojecting-issues-tp4291395p4291395.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>


-- 
Pere Roca Ristol
Biòleg i especialista GIS
Museo Nacional de Ciencias Naturales (CSIC)
Visita l'EDIT mapViewer!
http://edit.csic.es/geo/mapviewer/edit.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100112/febdd2d2/attachment.html


More information about the Users mailing list