On Mon, Aug 13, 2012 at 6:18 PM, Peter Hopfgartner <
peter.hopfgart...@r3-gis.com> wrote:

> Hi list,
>
> I'm trying to use adapt the class GeoJSONPPIO to DXF, using the DXF
> writer fow WFS from the community extensions and I do have a couple of
> questions:
>
> 1) What should I do to make this class visible to GeoServer. Currently
> added code to the DXF module, defining a new class DXFPPIO, which sets
> the approriate file extension,  mime type and overwrites the write
> method. Anyway, if I submit a request with:
>
> <wps:RawDataOutput mimeType="application/dxf">
>        <ows:Identifier>result</ows:Identifier>
>      </wps:RawDataOutput>
> then I get GML output.
>

You have to register your new PPIO in the applicationContext.xml file
(the spring application context). For example:

<bean id="shapeZipPPIO" class="org.geoserver.wps.ppio.ShapeZipPPIO">
      <constructor-arg ref="wpsResourceManager"/>
    </bean>
    <bean id="interpolationPPIO"
class="org.geoserver.wps.ppio.InterpolationPPIO" />
    <bean id="sldStylePPIO" class="org.geoserver.wps.ppio.SLDStylePPIO" />
    <bean id="urlPPIO" class="org.geoserver.wps.ppio.URLPPIO" />
    <bean id="jaitoolsRangePPIO"
class="org.geoserver.wps.ppio.JAIToolsRangePPIO"/>


>
> 2) Should the pulldown boxes in the WPS request builder automatically
> include this option, if the class id correctly loaded?
>

Yes

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 962313
mob:   +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to