Hi,

I am trying to transform gml2 wfs to html format (and eventually custom xml
format), following the instructions described on:

http://docs.geoserver.org/stable/en/user/extensions/xslt/index.html

I put two config files for a specific feature type in
$GEOSERVER_DATA_DIR/wfs/transform folder:
     quake.xml
     gml2html.xslt

the transformation works fine for the HTML output:

http://localhost:8081/geoserver/gns/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=quake&maxFeatures=50&outputFormat=HTML

However, the request for GML itself no longer works for all feature types:

http://localhost:8081/geoserver/sf/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sf:roads&maxFeatures=50&outputFormat=GML2

the messages is:

<ServiceExceptionReport version="1.2.0"
xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd";>
<ServiceException>
      java.lang.RuntimeException: Multiple responses: (class
org.geoserver.wfs.request.FeatureCollectionResponse$WFS11)
Multiple responses: (class
org.geoserver.wfs.request.FeatureCollectionResponse$WFS11)
</ServiceException>
</ServiceExceptionReport>

Is it possible to keep the gml output while still be able to get the
transformed output?

Thanks,

Sige












--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/XSLT-WFS-output-format-issue-tp5051082.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to