<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I forgot to mention but it is obvious that you could choose also your output format for RawDataOutput if needed.<div><br></div><div>Kind regards,</div><div><br><div><div>Le 12 nov. 2009 à 13:03, Gérald Fenoy a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Guillaume,<div>as you can choose the DataInput type you could also use a specific output format, you only have to describe what is e desired output format you want (the same KVP syntax than the one used for DataInputs).</div><div><br></div><div>You'll find in the following some requests samples using KVP for GET HTTP METHOD :</div><div><br></div><div> * sample using the JSON as output in ResponseDocument :</div><div>  => <a href="http://demo.zoo-project.org/zoo/?request=Execute&service=WPS&version=1.0.0&Identifier=Centroid&DataInputs=InputPolygon=Reference@xlink:href=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Astates%26SRS%3DEPSG%3A4326%26FeatureID%3Dstates.31&ResponseDocument=Result@mimeType=application/json">http://demo.zoo-project.org/zoo/?request=Execute&service=WPS&version=1.0.0&Identifier=Centroid&DataInputs=InputPolygon=Reference@xlink:href=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Astates%26SRS%3DEPSG%3A4326%26FeatureID%3Dstates.31&ResponseDocument=Result@mimeType=application/json</a></div><div> * sample using the GML geeometry section in ResponseDocument :</div><div><div>  => <a href="http://demo.zoo-project.org/zoo/?request=Execute&service=WPS&version=1.0.0&Identifier=Centroid&DataInputs=InputPolygon=Reference@xlink:href=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Astates%26SRS%3DEPSG%3A4326%26FeatureID%3Dstates.31&ResponseDocument=Result@mimeType=text/xml">http://demo.zoo-project.org/zoo/?request=Execute&service=WPS&version=1.0.0&Identifier=Centroid&DataInputs=InputPolygon=Reference@xlink:href=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Astates%26SRS%3DEPSG%3A4326%26FeatureID%3Dstates.31&ResponseDocument=Result@mimeType=text/xml</a></div><div> * sample using unsupported output format  (so the default output will be used) :</div><div><div>  => <a href="http://demo.zoo-project.org/zoo/?request=Execute&service=WPS&version=1.0.0&Identifier=Centroid&DataInputs=InputPolygon=Reference@xlink:href=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Astates%26SRS%3DEPSG%3A4326%26FeatureID%3Dstates.31&ResponseDocument=Result@mimeType=text/html">http://demo.zoo-project.org/zoo/?request=Execute&service=WPS&version=1.0.0&Identifier=Centroid&DataInputs=InputPolygon=Reference@xlink:href=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Astates%26SRS%3DEPSG%3A4326%26FeatureID%3Dstates.31&ResponseDocument=Result@mimeType=text/html</a></div><div><br></div><div>So you could define what are the inputs type and what should be the output one :)</div><div><br></div><div>Hope this was clear enough and answer you question.</div><div><br></div><div>Let me know,</div><div>regards,</div><div><br></div></div><div><div>Le 11 nov. 2009 à 22:04, Guillaume Sueur a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>is json chosen automatically from http user-agent then ? WPS is not only<br>a browser service. so there should be a way to specify the desired<br>output format. <br><br>Le mercredi 11 novembre 2009 à 22:00 +0100, rldhont a écrit :<br><blockquote type="cite">I think it's coll to use GML and have a JSON because GML sucks in a browser.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Well it's my point of view.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Guillaume Sueur a écrit :<br></blockquote><blockquote type="cite"><blockquote type="cite">Cool !<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">but as Eric mentionned previously, I don't understand either why a<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">WFS/GML geometry for input gets a geojson for output. Nothing seems to<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">specify it in the request. I think the format should be consistant<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">between input and output unless requested different. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks  for your efforts in putting together this first demo. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Regards<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Guillaume<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Le mercredi 11 novembre 2009 à 21:20 +0100, rldhont a écrit :<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi all,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I'm glad to annonce a new version of ZOO OGR Demo :<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="http://demo.zoo-project.org/ogr/ogr-wfs-demo.html">http://demo.zoo-project.org/ogr/ogr-wfs-demo.html</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">This one is fully integrated with the ZOO project design and add 1 new <br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">capability : choose a distance for the buffer processing.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Enjoy!<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">René-Luc D'Hont<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">3Liz<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Zoo-discuss mailing list<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="mailto:Zoo-discuss@gisws.media.osaka-cu.ac.jp">Zoo-discuss@gisws.media.osaka-cu.ac.jp</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss">http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Zoo-discuss mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Zoo-discuss@gisws.media.osaka-cu.ac.jp">Zoo-discuss@gisws.media.osaka-cu.ac.jp</a><br></blockquote><blockquote type="cite"><a href="http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss">http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss</a><br></blockquote><br><br>_______________________________________________<br>Zoo-discuss mailing list<br><a href="mailto:Zoo-discuss@gisws.media.osaka-cu.ac.jp">Zoo-discuss@gisws.media.osaka-cu.ac.jp</a><br><a href="http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss">http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss</a><br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><span class="Apple-style-span" style="font-size: 12px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Gérald Fenoy</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:gerald.fenoy@geolabs.fr"><span class="Apple-style-span" style="color: rgb(0, 0, 238); -webkit-text-decorations-in-effect: underline; ">gerald.fenoy@geolabs.fr</span></a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">GEOLABS</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Siège social :</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Futur Building I</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1280, avenue des Platanes</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">34970 Lattes</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Tél. fixe : 04 67 53 67 37</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Tél. portable : 06 70 08 25 39</div></span></div></span>
</div>
<br></div></div>_______________________________________________<br>Zoo-discuss mailing list<br><a href="mailto:Zoo-discuss@gisws.media.osaka-cu.ac.jp">Zoo-discuss@gisws.media.osaka-cu.ac.jp</a><br>http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss<br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><span class="Apple-style-span" style="font-size: 12px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Gérald Fenoy</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:gerald.fenoy@geolabs.fr"><span class="Apple-style-span" style="color: rgb(0, 0, 238); -webkit-text-decorations-in-effect: underline; ">gerald.fenoy@geolabs.fr</span></a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">GEOLABS</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Siège social :</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Futur Building I</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1280, avenue des Platanes</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">34970 Lattes</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Tél. fixe : 04 67 53 67 37</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Tél. portable : 06 70 08 25 39</div></span></div></span>
</div>
<br></div></body></html>