CartoWeb 3.4.0
Download Now!


CartoWeb
Advanced Geographical Information System for the Web

/!\ The WmsBrowser plugin is now outdated and has been replaced by the WmsBrowserLight plugin, which do NOT require Chameleon XML parser /!\

Introduction

WmsBrowser plugin allows you to save WMS servers properties locally to preview its layers, manage these servers (upgrade, delete, refresh properties, disconnect it if remote server isn't avaible, ...), add a choosen WMS layer to the map and delete all added WMS layers.

To install it, you have to install Chameleon XML parser first, load plugin and set a few configuration files parameters.

Install Chameleon XML Parser

  • Download Chameleon extension package from http://cartoweb.org/downloads.html.

  • Uncompress the archive and follow steps described in chameleon/ext/README.txt file to compile it.
  • Copy chameleon/ext/php/modules/chameleon.so extension to your php extensions directory and load it in your php.ini.

Warning

If your PHP isn't running as CGI, don't forget to restart your web server.

Plugin Activation

To activate the plugin, load mapOverlay and wmsBrowser plugins from both CartoClient and CartoServer configuration files: client_conf/client.ini and server_conf/<mapId>/<mapId>.ini. For instance:

loadPlugins = mapOverlay, wmsBrowser

Position to Which Insert WMS Layers

To insert a WMS layer on the map, you must specify after which mapfile layer you want insert it. The layer will be added after the last added WMS layer or after this mapfile layer (if no WMS layer has ever been added).

To do so, in server_conf/<mapId>/wmsBrowser.ini, specify the mapfile layer name in the wmsInsertLayerAfter parameter.

Perform Added WMS Layers Appearance in the Layers List

If you want to perform added WMS layers appearance in the layers list, you still have to affect them a parent LayerGroup. Specify, in client_conf/layers.ini, the LayerGroup name in the userLayerGroup parameter (default is root).

CartoWeb Wiki: HowToInstallWmsBrowser (last edited 2020-09-25 05:57:05 by OliverChristen)

© 2002-2007 CartoWeb by Camptocamp SA - Wiki powered by MoinMoin