Loading a WFS Layer

提供: OSGeo.JP Wiki
2009年8月18日 (火) 12:36時点におけるKayama (トーク | 投稿記録)による版

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
移動: 案内検索

Loading a WFS Layer

As an example we use the DM Solutions WFS server and display a layer. The URL is:

http://www2.dmsolutions.ca/cgi-bin/mswfs_gmap?VERSION=1.0.0&SERVICE=
wfs&REQUEST=GetCapabilities

<P>

  1. Make sure the WFS plugin is loaded; if not, open the Plugin Manager and load it
  2. Click on the mIconAddWfsLayerAdd WFS Layer tool on the plugins toolbar
  3. Click on New
  4. Enter NameDM Solutions as the name
  5. Enter the URL (see previous page)
  6. Click OK
  7. Choose Server ConnectionsDM Solutions from the drop-down box
  8. Click Connect
  9. Wait for the list of layers to be populated
  10. Click on the Canadian Land layer
  11. Click Add to add the layer to the map
  12. Wait patiently for the features to appear

<P> Note that the WFS-plugin also recognizes the proxy-settings you have set in your preferences.

<P>

<A NAME="fig:wfs_dmsolutions"></A><A NAME="226"></A>
Figure: Adding a WFS layer

[clip=true,width=0.6]connection_wfs

<P> You'll notice the download progress is visualized in the left bottom of the QGIS main window. Once the layer is loaded, you can identify and select a province or two and view the attribute table.

<P> Remember this plugin works best with UMN MapServer WFS servers. It still could be, that you might experience random behavior and crashes. You can look forward to improvements in a future version of the plugin.

<P> This means that only WFS 1.0.0 is supported. At this point there have not been many test against over WFS versions implemented in other WFS-servers. If you encounter problems with any other WFS-server, please do not hesitate to contacting the development team. Please refer to Section #label_helpsupport for further information about the mailinglists.

<P>