Hi Nidhi, the simplest way is imho the "-project" option at commandline. With this option you can load a project with your WFS layer. Hope this helps.
regards Matthias > Thanks Andreas for the information. > > Thanks & Regards > Nidhi Arora > > > > > > > -----Original Message----- > From: Andreas Schmitz [mailto:schm...@lat-lon.de] > Sent: Monday, September 20, 2010 7:24 PM > To: jump-pilot-devel@lists.sourceforge.net > Subject: Re: [JPP-Devel] Programmatically add WFS layer. > > Nidhi Arora wrote: > > Hi, > > >> I want to programmatically add WFS layer. My basic requirement is that >> as soon as OpenJump opens, the base map is shown with data pulled from >> WFS. >> > > you need the WFSPlugin for this: > > http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/plug-ins/WFSPlugin/trunk/ > > An example how to add wfs layers from code can be found here: > > http://wald.intevation.org/plugins/scmsvn/viewcvs.php/contrib/owsconfig/trunk/src/de/latlon/deejump/util/ServiceUtils.java?rev=18903&root=deegree&view=log > > Best regards, Andreas > -- > l a t / l o n GmbH > Aennchenstrasse 19 53177 Bonn, Germany > phone ++49 +228 18496-0 fax ++49 +228 1849629 > http://www.lat-lon.de http://www.deegree.org > Follow deegree on Twitter: http://twitter.com/deegree_org > > DISCLAIMER: > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its affiliates. > Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the > opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail > is strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. Before opening any mail and > attachments please check them for viruses and defect. > > ----------------------------------------------------------------------------------------------------------------------- > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel