Showing results for 
Search instead for 
Do you mean 

How to determine <wfsIdColumnName> for config of offline R/W vector cache with synch

by Technical Evangelist ‎09-16-2016 04:57 AM - edited ‎09-16-2016 04:59 AM (675 Views)

Question

The documentation for MMW is quite clear in that 'wfsIdColumnName' is the "Name of the column which contains WFS FeatureID values. It is required for the synchronization with WFS-T." When configuring a Read-Write Vector Layer for cache and synchronization we follow the documentation an see an example there indicating a column of 'rid' for this value. We do not believe this column exists in our WFS. How do we determine what our WFS should use for 'wfsIdColumnName'?

Answer

it is correct that the documented example for configuring a Read-Write Vector Layer Working on Vector Cache uses (rid) is an example for wfsIdColumnName. This is for illustration purposes only and may not match to your specific WFS case. To determine the attribute column for your WFS there are a couple of ways to go about it.

  1. Use a feature info tool from a Portal instance on a WFS feature to determine the attribute column name.
  2. Send a describeFeatureType request to the WFS ie. http://hostname/WFSservicename/service.svc/get?request=DescribeFeatureType&service=WFS&version=2.0.0 and review the attributes for the feature from there.

Once the correct wfsIdColumnName is determined, plug it into your MMW configuration and save the file to ensure the cache GPKG can communicate and synchronize with the WFS as intended.

Contributors