[OpenLayers-Users] transform coordinates

Steve Way Steve.Way at infotech-enterprises.com
Tue Jul 3 05:16:14 PDT 2012


OK.

You can see that the BBOX sent in your request is not correct.

You can do 2 things:


1)      Check that your in the layer properties in geoserver you can reproject the layer

2)      Set the BBOX param of your WMS Request to your map Extent.

From: Pedro Costa [mailto:pedrocostaarma at sapo.pt]
Sent: 03 July 2012 22:12
To: Steve Way; openlayers-users at lists.osgeo.org
Subject: Re: [OpenLayers-Users] transform coordinates

wms request:

http://localhost:8080/geoserver/it.geosolutions/wms?service=WMS&version=1.1.0&request=GetMap&layers=it.geosolutions:ruas&styles=&bbox=88386.234375,122329.4140625,91216.2578125,124022.078125&width=551&height=330&srs=EPSG:900913&format=application/openlayers


The wms layers goes to São Tomé and the right place is in Portugal.


Thanks









Em 03-07-2012 13:05, Steve Way escreveu:
And also show the WMS request from the geoserver log

From: Pedro Costa [mailto:pedrocostaarma at sapo.pt]
Sent: 03 July 2012 22:05
To: Steve Way; openlayers-users at lists.osgeo.org<mailto:openlayers-users at lists.osgeo.org>
Subject: Re: [OpenLayers-Users] transform coordinates

Em 03-07-2012 12:56, Steve Way escreveu:
How about adding you layer to the map after you have added the basemap.


Still don't work....

________________________________

DISCLAIMER:

This email may contain confidential information and is intended only for the use of the specific individual(s) to which it is addressed. If you are not the intended recipient of this email, you are hereby notified that any unauthorized use, dissemination or copying of this email or the information contained in it or attached to it is strictly prohibited. If you received this message in error, please immediately notify the sender at Infotech or Mail.Admin at infotech-enterprises.com<mailto:Mail.Admin at infotech-enterprises.com> and delete the original message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120703/7bd9c372/attachment.html>


More information about the Users mailing list