Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Hy, has anybody an example concerning accessing data from a WFS server by using the DataInteropability in ArcObjects?

I'm getting the right field definistion, but don't know how to read the data.

Here my current Java code:

FMEWorkspaceFactory fmeWorkspaceFactory = new FMEWorkspaceFactory();
IPlugInWorkspaceHelper plugInWorkspaceHelper = fmeWorkspaceFactory.openWorkspace("C:\\temp");
FMEWorkspaceHelper fmeWorkspaceHelper = new FMEWorkspaceHelper(plugInWorkspaceHelper);
FMEDatasetHelper fmeDatasetHelper = new FMEDatasetHelper(fmeWorkspaceHelper.openDataset("test.fdl"));
IFields fields = fmeDatasetHelper.getFields(0);

I suppose, I have to use the "fetchAll" method of the FMEDatasetHelper class.

Thanks, Tom

share|improve this question
2  
Problem solved by using this code: bitbucket –  Schuller Tom Jan 4 '12 at 12:14
1  
When you get a chance would you be able to copy your Comment (solution) to an Answer that you then Accept, please? It is quite permissible to do this and gets one more Unanswered Question off our list. –  PolyGeo Apr 24 '13 at 10:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.