planetfederal / wps-gui

Graphical User Interface (Model Builder) for OGC:WPS (Web Processing Services)
http://boundlessgeo.com
Apache License 2.0
26 stars 15 forks source link

Aggregate returns error #77

Closed sbalasub closed 10 years ago

sbalasub commented 10 years ago

With the following input: features: sf:streams aggregateattribute: cat function:count singlePass: True

The results return 'undefined' although the response shows 104 in the console

bartvde commented 10 years ago

Response is:

<?xml version="1.0" encoding="UTF-8"?><AggregationResults><Sum>188.0</Sum></AggregationResults>
bartvde commented 10 years ago

looking into this one now

bartvde commented 10 years ago

@dwins one thing I wonder about this process, is why aggregationAttribute is optional, but the process reports an error when it's not set

Process failed during execution Could not find attribute [null] the valid values are [the_geom, cat, label]
bartvde commented 10 years ago

@dwins is AggregationResults an XML structure made up by GeoServer? Can't find any reference in the WPS spec. More specifically, what is the reason for not using literalOutput for this process?

dwins commented 10 years ago

I'm not sure about that. Maybe @jdeolive would know.

bartvde commented 10 years ago

okay the result in now shown.

If you have any answers to the questions above @jdeolive I'm still interested in the answers, so feel free to comment on the closed ticket.