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:[email protected]]
Sent: 03 July 2012 22:12
To: Steve Way; [email protected]
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:[email protected]]
Sent: 03 July 2012 22:05
To: Steve Way; 
[email protected]<mailto:[email protected]>
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 
[email protected]<mailto:[email protected]> 
and delete the original message.

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to