Hello,
I’m a new user running GeoServer 1.5.0 and have OpenLayers setup. What I was trying to do was have a shape file as my base map and various tiff image overlays.
Both the base map and a single world tiff overlay layer are displayed but the tiff image has a massive white area outside the image extent. I’m not sure whether this is due to what GeoServer is dishing up or due to OpenLayers.
I have tried specifying transparent=true but no luck, I can reduce the white area by setting maxExtent: new OpenLayers.Bounds(…) but thought setting extents wouldnt be required ?
Can anyone tell me a solution or if its GeoServer or OpenLayers thats doing this ?
Thanks for any help.
Brett Wilton ha scritto:
Hello,
I'm a new user running GeoServer 1.5.0 and have OpenLayers setup. What I was trying to do was have a shape file as my base map and various tiff image overlays.
Both the base map and a single world tiff overlay layer are displayed but the tiff image has a massive white area outside the image extent. I'm not sure whether this is due to what GeoServer is dishing up or due to OpenLayers.
I have tried specifying transparent=true but no luck, I can reduce the white area by setting maxExtent: new OpenLayers.Bounds(...) but thought setting extents wouldnt be required ?
Can anyone tell me a solution or if its GeoServer or OpenLayers thats doing this ?
Not really, but if the white area goes down by setting the extent in OpenLayers, I would try asking on the openlayers mailing list.
Cheers
Andrea