Hello,
there are no ideas at all?
I have no solution for it the last 2 weeks.
Here is a part of the log file:
at
org.geoserver.wms.map.GetMapKvpRequestReader.checkStyle(GetMapKvpRequestReader.java:1127)
at
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:387)
at
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:78)
at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1375)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:620)
at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:264)
Regards
Nikolai
Nikolai Bock wrote
>
> Oh I see, that most of the content will be not shown in email version.
>
> So I will repost in hope anyone has an idea what's wrong in my
> configuration.
>
> Hi,
>
> I tried to use the Transformation-Tag in Geoservers SLD. The process
> with Processbuilder work fine with this configuration:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wps:Execute version="1.0.0" service="WPS" ... /wpsAll.xsd">
> <ows:Identifier>gt:VectorToRaster</ows:Identifier>
> <wps:DataInputs>
> <wps:Input>
> <ows:Identifier>features</ows:Identifier>
> <wps:Reference mimeType="text/xml; subtype=wfs-collection/1.0"
> xlink:href="http://geoserver/wfs" method="POST">
> <wps:Body>
> <wfs:GetFeature service="WFS" version="1.0.0"
> outputFormat="GML2">
> <wfs:Query typeName="sde:Kundenumsaetze"/>
> </wfs:GetFeature>
> </wps:Body>
> </wps:Reference>
> </wps:Input>
> <wps:Input>
> <ows:Identifier>attribute</ows:Identifier>
> <wps:Data>
> <wps:LiteralData>Umsatz</wps:LiteralData>
> </wps:Data>
> </wps:Input>
> <wps:Input>
> <ows:Identifier>rasterWidth</ows:Identifier>
> <wps:Data>
> <wps:LiteralData>1000</wps:LiteralData>
> </wps:Data>
> </wps:Input>
> <wps:Input>
> <ows:Identifier>rasterHeight</ows:Identifier>
> <wps:Data>
> <wps:LiteralData>1000</wps:LiteralData>
> </wps:Data>
> </wps:Input>
> </wps:DataInputs>
> <wps:ResponseForm>
> <wps:RawDataOutput mimeType="image/tiff">
> <ows:Identifier>result</ows:Identifier>
> </wps:RawDataOutput>
> </wps:ResponseForm>
> </wps:Execute>
>
>
> Now I tried to use the process in my own SLD-Definition shown below:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <StyledLayerDescriptor version="1.0.0" ...>
>
> <NamedLayer>
> <Name>Kundenumsaetze</Name>
> <UserStyle>
>
> <Title>Default Raster</Title>
> <Abstract>A sample style that draws a raster, good for displaying
> imagery</Abstract>
>
>
> <FeatureTypeStyle>
> <Transformation>
> <ogc:Function name="gt:VectorToRaster">
> <ogc:Function name="parameter">
> <ogc:Literal>features</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>attribute</ogc:Literal>
> <ogc:Literal>Umsatz</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>rasterWidth</ogc:Literal>
> <ogc:Literal>1000</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>rasterHeight</ogc:Literal>
> <ogc:Literal>1000</ogc:Literal>
> </ogc:Function>
> </ogc:Function>
> </Transformation>
> <Rule>
> <Name>rule1</Name>
> <Title>Opaque Raster</Title>
> <Abstract>A raster with 100% opacity</Abstract>
> <RasterSymbolizer>
> <Opacity>1.0</Opacity>
> </RasterSymbolizer>
> </Rule>
> </FeatureTypeStyle>
> </UserStyle>
> </NamedLayer>
> </StyledLayerDescriptor>
>
>
> When I checked the layer with Openlayers-Demo in Layer-Preview I got
> this Exceptionmessage:
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
> ServiceExceptionReport ...> <ServiceExceptionReport version="1.1.1">
> <ServiceException>
> The requested Style can not be used with this layer. The style
> specifies an attribute of geom and the layer is: sde:Kundenumsaetze
> </ServiceException></ServiceExceptionReport>
>
>
> Has anyone an idea what's the problem of my SLD?
> Testing it with 2.1.3 and nightly trunk build.
>
> Thanks in advance.
>
> Regards
> Nikolai
>
> --
> ------------------------------------------------------------------
> Dipl.-Ing. (FH) Nikolai Bock, M.Eng.
> i3mainz - Institut für Raumbezogene Informations- und Messtechnik
> Fachhochschule Mainz - University of Applied Sciences
>
> Lucy-Hillebrand-Straße 2
> 55128 Mainz, Germany
>
> Tel: +49(0)6131 628-1452
> Fax: +49(0)6131 628-91452
>
> [email protected]
> http://www.i3mainz.fh-mainz.de
> ------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/SLD-VectorToRaster-Transformation-tp4464668p4523185.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users