Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] connecting to WMS

John Caprez wrote:
Yes, not all Layers have images yet, but the capabilities document is valid according to the OGC standards. If i could get more information about what part of the capabilities Udig doesn't like i could change that part of the capabilities

Thanks for your fast and good help

John
I will try and write a test case next time I have geotools open (geotools is the library we are using for our WFS support; it is *very* strict about the XML documents - rather than do something relaxed like use xpath expressions to cherry pick out information it follows all the schema links and parses the document into objects - if the document does not line up with the schema we are kind of out of luck...)

While that may sound like overkill - it *is*. At least it is for parsing a Capabilities response document; however the approach is the only way we have found to handle WFS GetFeatures and pull all the data back into the correct format (ie rather than getting back Strings we are able to pull it into the correct Java objects for analysis).

Jody


Back to the top