From: Mauro B. <m.b...@es...> - 2007-08-31 15:51:33
|
I have some problems in visualizing a Geotiff coverage using WMS Post (GeoServer 1.5.3): The raster is correctly returned using a get request, like this one: http://localhost:8080/geoserver/wms?bbox=2318600.0,4852200.0,2325920.0,4858400.0&styles=&Format=image/png&request=GetMap&layers=topp:test&width=800&height=635&srs=EPSG:3004# using a WMS POST request like the following one, I get a blank image: <GetMap xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" service="WMS" xmlns:topp="http://www.openplans.org/topp" version="1.3.0"> <StyledLayerDescriptor version ="1.0.0"> <NamedLayer> <Name>topp:test</Name> <UserStyle> <Name>test</Name> <FeatureTypeStyle> <FeatureTypeName>test</FeatureTypeName> <Rule> <Name>test</Name> <RasterSymbolizer> <Opacity>1</Opacity> </RasterSymbolizer> </Rule> </FeatureTypeStyle> </UserStyle> </NamedLayer> </StyledLayerDescriptor> <BoundingBox srsName="http://www.opengis.net/gml/srs/epsg.xml#3004"> <gml:coord> <gml:X>2318600.0</gml:X> <gml:Y>4852200.0</gml:Y> </gml:coord> <gml:coord> <gml:X>2325920.0</gml:X> <gml:Y>4858400.0</gml:Y> </gml:coord> </BoundingBox> <Output> <Format>image/png</Format> <Transparent>true</Transparent> <Size> <Width>800</Width> <Height>635</Height> </Size> </Output> <Exceptions>XML</Exceptions> </GetMap> EPSG:3004 is the native CRS for the Geotiff file. Is there anything wrong in my request or are there any difference from WMS get and post using coverages? Thanks, Mauro Bartolomeoli |