WFS-layer with lines returns zero rows

WFS-layer with lines returns zero rows

Anonymous
Not applicable
1,270 Views
11 Replies
Message 1 of 12

WFS-layer with lines returns zero rows

Anonymous
Not applicable

Hi,

 

When I use  AutoCAD Map 2015 to connect with a WFS-service all works fine for layers with point and polygon geometry, but layers with lines always return zero rows. Also the structure of the attribute table is wrong: the geometry column is renamed to SHAPE-dot-LEN and attributes are missing. I don't get an error. An example of a WFS-service that I used for testing purposes is

http://geoservices.provinciegroningen.nl/ArcGIS/services/OpenData1/MapServer/WFSServer (layer RoutesFietsknooppuntennetwerkGroningen).

I've got WFS FDO connector version 3.9.0.6702.

Does anybody have similar problems with WFS or knows a solution?

 

Regards,

 

Willy

0 Likes
Accepted solutions (1)
1,271 Views
11 Replies
Replies (11)
Message 2 of 12

Gary_Braun
Collaborator
Collaborator

I can't offer a solution Willy, but can confirm that I have the same issue.

 

On a related note, any idea why I can't edit the WFS features?

0 Likes
Message 3 of 12

Anonymous
Not applicable

AutoCAD Map uses an Feature Data Objects (FDO) Provider to connect to WFS. According to this matrix https://fdo.osgeo.org/OSFeatureMatrix.html the FDO WFS provider doesn't support any insert, update or delete actions.

 

Thanks for confirming you have the same problem. The WFS you are using, which GIS server is used for publishing it? I was thinking may be the problem is ArcGIS Server. That's the GIS server we are using.

0 Likes
Message 4 of 12

gluckett
Collaborator
Collaborator

In order to edit WFS features, you need to use the WFS-T (the "T" stands for Transactional).

 

If there was a FDO Provider for WFS-T you could edit the data. 

 

This would be great for all Autodesk Products using FDO

 (i.e. AutoCAD Map 3D, Civil 3D, Autodesk Infrastructure Map Server, and also Infraworks)

 

0 Likes
Message 5 of 12

Gary_Braun
Collaborator
Collaborator

That's right, I actually remember reading about that here:

 

http://knowledge.autodesk.com/support/autocad-civil-3d/troubleshooting/caas/sfdcarticles/sfdcarticle...

 

yet I still asked the question for some reason. I guess I figured once I enabled transactions on the service that something magical would happen. Clearly that's not the case.

0 Likes
Message 6 of 12

antoniovinci
Advisor
Advisor

Hello Willy,

check my attachment out: is what you are after..?

0 Likes
Message 7 of 12

Anonymous
Not applicable

Yes, it is! Thank you! But how did you manage that in AutoCAD Map 3D?

0 Likes
Message 8 of 12

antoniovinci
Advisor
Advisor
Accepted solution

Ensure you're using WFS 1.0.0, sir.

Message 9 of 12

Anonymous
Not applicable

Thank you VERY much! You really helped us out here.

 

Willy

0 Likes
Message 10 of 12

Anonymous
Not applicable

I did some further digging and I think I have found the possible cause of the problem.

I compared version 1.0.0 to 1.1.0 using a DescribeFeatureType request and found that in 1.0.0 the geometry is of type gml:MultiLineStringPropertyType and in version 1.1.0 of type gml:MultiCurvePropertyType. I did a number of other tests with WFS-service of other organizations and found the same.

Does this sound plausible to you?

0 Likes
Message 11 of 12

antoniovinci
Advisor
Advisor

Definetely yes, sir.

0 Likes
Message 12 of 12

kalman_albert
Advocate
Advocate

The WFS Map provider did not support edit  and also is no possible to extract geom, you can't select for check-out .

 

We develop a command (a FDO tool pack) to extract geom from WFS

 

Also we solve WFS-T edit   for geoserver (we develop a command to modify WFS-T feature class)  in Map  🙂

 

Tell me more private if you are interested.

 

Albert

 

 

 

--------------------------------------------
"Nothing will ever be as it was!"
0 Likes