Hi Jody, I remember this page about the catalogue from my previous question. Back then you told me that it isn't "stable" enough and that I should stick to the datastore API for now.
It seems the catalogue will be quite an improvement for these issues (metadata, etc) do you feel that it is better to adopt it has it is now than subclassing WFSDataStore? Thanks for all the help Tiago -----Original Message----- From: Jody Garnett [mailto:[EMAIL PROTECTED] Sent: terça-feira, 5 de Junho de 2007 22:24 To: Tiago Simões Cc: [email protected] Subject: Re: [Geotools-gt2-users] Accessing WFS meta information (title, name, abstract, etc) That kind of thing is not available via the data store api. You can get it from the catalog handle - if you were using a catalog. - http://docs.codehaus.org/display/GEOTDOC/Managing+DataStores+using+Repositor y+or+Catalog (Near the end of the page) Wait perhaps there is a getCapabilities method on the WFSDataStore itself ... nope but the field is there. You would need to subclass to access it. Jody > Hi all, > > I am newcomer to geotools. I am trying to create a WFS client using getools > api. Based on the WFSDataStore examples I have successfully obtained the > data from a WFS. I am now trying to access the meta-information describing > the WFS, i.e: > > <Service> > <Name>MapServer WFS</Name> > <Title>Environment Canada - Pacific and Yukon Region - Water Quality > Monitoring Program - WFS</Title> > <Abstract>Pacific and Yukon Region's long term water quality > monitoring stations</Abstract> > ... > > Unfortunately I am able to extract this information from the data store. How > can I access it? > > Thanks > Tiago > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
