Hello,
I want to define custom outputs for a WPS. I searched through the source code and I found these classes (ProcessParameterIO, ComplexPPIO and other inherited classes), but I didn’t find enough details (For example regarding the constructors parameters). Is there any documentation on that ?
Thanks.
Hi,
no, GeoServer has basically no programmer documentation, you will have to figure out
how to write a PPIO by looking at the many examples available (and then register it in the
Spring context for it to be picked up).
That said, you are on the right track!
Cheers
Andrea
···
Regards,
Andrea Aime
==
GeoServer Professional Services from the experts!
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions Group
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928
https://www.geosolutionsgroup.com/
http://twitter.com/geosolutions_it
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail
I would recommend CSVPPIO (./extension/wps/wps-core/src/main/java/org/geoserver/wps/ppio/CSVPPIO.java) for a simple example of using a datastore to read and write CSV data. You are looking for the decode and encode methods. There is also an associated test class that shows how to use them programmatically.
Ian
···
Ian Turton
I’ll look into it, thanks a lot !
Le ven. 26 nov. 2021 à 13:07, Ian Turton <ijturton@anonymised.com> a écrit :
I would recommend CSVPPIO (./extension/wps/wps-core/src/main/java/org/geoserver/wps/ppio/CSVPPIO.java) for a simple example of using a datastore to read and write CSV data. You are looking for the decode and encode methods. There is also an associated test class that shows how to use them programmatically.
Ian
On Fri, 26 Nov 2021 at 11:28, Andrea Aime <andrea.aime@anonymised.com949…> wrote:
Hi,
no, GeoServer has basically no programmer documentation, you will have to figure out
how to write a PPIO by looking at the many examples available (and then register it in the
Spring context for it to be picked up).
That said, you are on the right track!
Cheers
Andrea
On Fri, Nov 26, 2021 at 11:16 AM Manele Ait Habouche <manele.ait.habouche@anonymised.com> wrote:
Hello,
I want to define custom outputs for a WPS. I searched through the source code and I found these classes (ProcessParameterIO, ComplexPPIO and other inherited classes), but I didn’t find enough details (For example regarding the constructors parameters). Is there any documentation on that ?
Thanks.
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Regards,
Andrea Aime
==
GeoServer Professional Services from the experts!
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions Group
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928
https://www.geosolutionsgroup.com/
http://twitter.com/geosolutions_it
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Ian Turton