Saving Data Changes to the WFS-T Server - MapInfo_Pro - 2023

MapInfo Pro Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
ft:locale
en-US
Product name
MapInfo Pro
ft:title
MapInfo Pro Help
First publish date
1985
ft:lastEdition
2023-09-12
ft:lastPublication
2023-09-12T16:39:16.995000

If several groups are working with a single dataset, or you are building a centralized database of web-based map data, you may be using a Web Feature Service with transaction (WFS-T) server to manage that data. You can use MapInfo Pro to insert, update and delete records to and from a WFS transaction server. Users familiar with the Linked Tables functionality will find this work flow similar.

MapInfo Pro continues to support WFS-T when using WFS 1.0. You must specify that you prefer to work with WFS 1.0 servers by setting a preference in MapInfo Pro. How to do this is described under Use WFS-T by Setting a Preference to use WFS 1.0.

MapInfo Pro does not support Web Feature Service with transactions (WFS-T) for WFS 2.0 and 1.1. If you are using the WFS 2.0 or 1.1 protocol when communicating with a server, then you are unable to use a WFS-T.

To retrieve layers from a WFS-T server and save your edits back to the server:

  1. On the HOME tab, in the File group, on the Open list, click Feature (WFS) to open the Open WFS Table dialog box.

    If the WFS server accepts transactions, the Allow Edits check box enables.

  2. Select the layer you want to edit from the list and click OK.

    MapInfo Pro retrieve the WFS-T server records you selected and creates a .TAB file.

  3. Make your data edits in MapInfo Pro.

    Your edits are made locally in the .TAB file.

  4. On the HOME tab, in the Output group, click Save to save your changes to the server.
  5. If there are no conflicts, your changes are saved to the serve and a dialog box opens asking if you would like to refresh the WFS table.
    Note: Features that have changed on the server since you retrieved your local copy may be locked and you cannot update them.
  6. Click Yes to refresh your table with data from the server, or click No to leave the current data as it is.

When the transaction is complete, the WFS displays a message to show any records that were not saved to the server.

MapInfo Pro checks to see if there are data conflicts for the features you are updating or deleting. If the server cannot commit these changes due to data conflicts, an error displays to inform you of any failures and, if possible, the reason(s) for those failures. Follow the Conflict Resolution steps in Resolving WFS-T Data Conflicts to decide whether to overwrite the server changes with yours, leave the data on the server and lose your changes, or skip the record and maintain your edits locally.

For more information, see What to Do if You Cannot Complete Transactions using WFS-T.