Custom Query (101 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (76 - 78 of 101)

Ticket Resolution Summary Owner Reporter
#16 fixed JavaScript package on Ubuntu reluc
Description

Since Ubuntu 10.4, there is no more mozjs-dev package. This package was based on SpiderMonkey? 1.7, the last one publish by Mozilla. But Mozilla continue to use and improve SpiderMonkey?. The actual version is 1.9.2, and when Firefox 4 will be out, SpiderMonkey? 2.0 will out too.

Since Firefox 2 and XulRunner? 1.8, SpiderMonkey? has not to be published alone. SpiderMonkey? is in XulRunner? development package. This mean that we don't need to compile SpiderMonkey? on Ubuntu or other Linux system to have SpiderMonkey?, we jsut have to use Xulrunner-devel package.

The configure script need to be update to look at the good folder for lib and include :

  • libmozjs.so is in /usr/lib/xulrunner-devel.1.9.13/lib
  • jsapi.h is in /usr/lib/xulrunner-devel.1.9.2.13/include

we can specify --with-js=/usr/lib/xulrunner-devel.1.9.13

I have to do this changes to have a good configuration script :

  • JS_CPPFLAGS="-I$JSHOME/include/js" --> JS_CPPFLAGS="-I$JSHOME/include"
  • JS_LDFLAGS="-L$JSHOME/lib -ljs -lm" --> JS_LDFLAGS="-L$JSHOME/lib -lmozjs -lm"
  • JS_LIB="js" --> JS_LIB="mozjs"

and update the Makefile :

  • JS_FILE= -- >JS_FILE=service_internal_js.o
#39 fixed Issue with Service running as background task in rc1 djay
Description

Using both storeExecuteResponse and status set to true in a WPS request should imply that the Service would run as a background task. Nevertheless, the rev. 216 introduce a bug as the saved_stdout was not closed anymore, so the background task is running properly in a child process but its father hang, waiting for the child to finish his work.

#82 fixed Issue when using POST request in input Reference node djay
Description

I tried to use the following request and suceed with it:

<wps:Execute service="WPS" version="1.0.0" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 ../wpsExecute_request.xsd">
 <ows:Identifier>getFeaturesCopy</ows:Identifier>
 <wps:DataInputs>
  <wps:Input>
   <ows:Identifier>InputEntity2</ows:Identifier>
   <wps:Reference mimeType="text/xml" xlink:href="http://127.0.0.1/np-bin/mapserv.cgi?map=/Users/djay/Sites/data/Result_79554.map&amp;SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=GetFeature&amp;typeName=Result&amp;__tt=Fri Aug 09 2013 00:52:34 GMT+0200 (CEST)" />
  </wps:Input>
  <wps:Input>
   <ows:Identifier>InputEntity1</ows:Identifier>
   <wps:Reference mimeType="text/xml" xlink:href="http://127.0.0.1/np-bin/mapserv.cgi?map=/Users/djay/Sites/data/public_maps/search_indicateurs_com002.map" method="POST">
    <wps:Header key="Content-Type" value="text/xml" />
    <wps:Body><wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">
      <wfs:Query typeName="com002">
       <Filter>
        <OR>
         <PropertyIsLike wildcard='*' singleChar='.' escape='!'>
          <PropertyName>num_com</PropertyName>
          <Literal>75105</Literal>
         </PropertyIsLike>
         <PropertyIsLike wildcard='*' singleChar='.' escape='!'>
          <PropertyName>num_com</PropertyName>
          <Literal>75106</Literal>
         </PropertyIsLike>
         <PropertyIsLike wildcard='*' singleChar='.' escape='!'>
          <PropertyName>num_com</PropertyName>
          <Literal>75107</Literal>
         </PropertyIsLike>
         <PropertyIsLike wildcard='*' singleChar='.' escape='!'>
          <PropertyName>num_com</PropertyName>
          <Literal>75108</Literal>
         </PropertyIsLike>
        </OR>
       </Filter>
      </wfs:Query>
     </wfs:GetFeature>
    </wps:Body>
   </wps:Reference>
  </wps:Input>
 </wps:DataInputs>
 <wps:ResponseForm>
  <wps:ResponseDocument>
   <wps:Output mimeType="image/png" asReference="true">
    <ows:Identifier>Result</ows:Identifier></wps:Output>
   </wps:ResponseDocument>
 </wps:ResponseForm>
</wps:Execute>

Nevertheless, when trying to give input references in reverse order it failed by receiving signal 11 (segmentation fault).

So, when using the following request, it failed:

<wps:Execute service="WPS" version="1.0.0" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 ../wpsExecute_request.xsd">
 <ows:Identifier>getFeaturesCopy</ows:Identifier>
 <wps:DataInputs>
  <wps:Input>
   <ows:Identifier>InputEntity1</ows:Identifier>
   <wps:Reference mimeType="text/xml" xlink:href="http://127.0.0.1/np-bin/mapserv.cgi?map=/Users/djay/Sites/data/public_maps/search_indicateurs_com002.map" method="POST">
    <wps:Header key="Content-Type" value="text/xml" />
    <wps:Body><wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">
      <wfs:Query typeName="com002">
       <Filter>
        <OR>
         <PropertyIsLike wildcard='*' singleChar='.' escape='!'>
          <PropertyName>num_com</PropertyName>
          <Literal>75105</Literal>
         </PropertyIsLike>
         <PropertyIsLike wildcard='*' singleChar='.' escape='!'>
          <PropertyName>num_com</PropertyName>
          <Literal>75106</Literal>
         </PropertyIsLike>
         <PropertyIsLike wildcard='*' singleChar='.' escape='!'>
          <PropertyName>num_com</PropertyName>
          <Literal>75107</Literal>
         </PropertyIsLike>
         <PropertyIsLike wildcard='*' singleChar='.' escape='!'>
          <PropertyName>num_com</PropertyName>
          <Literal>75108</Literal>
         </PropertyIsLike>
        </OR>
       </Filter>
      </wfs:Query>
     </wfs:GetFeature>
    </wps:Body>
   </wps:Reference>
  </wps:Input>
  <wps:Input>
   <ows:Identifier>InputEntity2</ows:Identifier>
   <wps:Reference mimeType="text/xml" xlink:href="http://127.0.0.1/np-bin/mapserv.cgi?map=/Users/djay/Sites/data/Result_79554.map&amp;SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=GetFeature&amp;typeName=Result&amp;__tt=Fri Aug 09 2013 00:52:34 GMT+0200 (CEST)" />
  </wps:Input>
 </wps:DataInputs>
 <wps:ResponseForm>
  <wps:ResponseDocument>
   <wps:Output mimeType="image/png" asReference="true">
    <ows:Identifier>Result</ows:Identifier></wps:Output>
   </wps:ResponseDocument>
 </wps:ResponseForm>
</wps:Execute>

There should be something specific to be done to handle correctly the header setting / clearing for POST requests. Anyway, it should work whatever is the order of input references.

Note: See TracQuery for help on using queries.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png