Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[geomesa-users] WPS requests not working

Hey Everyone! 

I'm Kevin, one of the UT students working on the Temporal Density Iterator. I merged the accumulo1.5.x/1.x branch (currently at commit 652e3a1) into my TDI branch and found that I was getting an empty set of features when making a TDI WPS request through geoserver. I then tried making a unique WPS request instead of a TDI WPS request and got the same result, an empty set of features. Everything is working fine for me, however, at commit e11f436 (currently 12 commits from the tip of the branch). I haven't tried any commits between e11f436 and 652e3a1 yet. Can someone confirm that the unique WPS request also does not work for them when building at 652e3a1? If it helps at all, I attached the xml for the request I was making (generated using Geoserver's WPS request builder).

Thanks
-- Kevin
<?xml version="1.0" encoding="UTF-8"?><wps:Execute version="1.0.0" service="WPS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://www.opengis.net/wps/1.0.0"; xmlns:wfs="http://www.opengis.net/wfs"; xmlns:wps="http://www.opengis.net/wps/1.0.0"; xmlns:ows="http://www.opengis.net/ows/1.1"; xmlns:gml="http://www.opengis.net/gml"; xmlns:ogc="http://www.opengis.net/ogc"; xmlns:wcs="http://www.opengis.net/wcs/1.1.1"; xmlns:xlink="http://www.w3.org/1999/xlink"; xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd";>
<!-- curl -u admin:geoserver -H 'Content-type: xml' -XPOST -d@'unique.xml' http://localhost:8080/geoserver/wps | json_pp -->
  <ows:Identifier>geomesa:Unique</ows:Identifier>
  <wps:DataInputs>
    <wps:Input>
      <ows:Identifier>features</ows:Identifier>
      <wps:Reference mimeType="text/xml" xlink:href="http://geoserver/wfs"; method="POST">
        <wps:Body>
          <wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2" xmlns:tiger="http://www.census.gov";>
            <wfs:Query typeName="tiger:QuickStart"/>
          </wfs:GetFeature>
        </wps:Body>
      </wps:Reference>
    </wps:Input>
    <wps:Input>
      <ows:Identifier>attribute</ows:Identifier>
      <wps:Data>
        <wps:LiteralData>When</wps:LiteralData>
      </wps:Data>
    </wps:Input>
    <wps:Input>
      <ows:Identifier>histogram</ows:Identifier>
      <wps:Data>
        <wps:LiteralData>1</wps:LiteralData>
      </wps:Data>
    </wps:Input>
    <wps:Input>
      <ows:Identifier>sort</ows:Identifier>
      <wps:Data>
        <wps:LiteralData>ASC</wps:LiteralData>
      </wps:Data>
    </wps:Input>
    <wps:Input>
      <ows:Identifier>sortByCount</ows:Identifier>
      <wps:Data>
        <wps:LiteralData>1</wps:LiteralData>
      </wps:Data>
    </wps:Input>
  </wps:DataInputs>
  <wps:ResponseForm>
    <wps:RawDataOutput mimeType="application/json">
      <ows:Identifier>result</ows:Identifier>
    </wps:RawDataOutput>
  </wps:ResponseForm>
</wps:Execute>

Back to the top