Included with the Demis WMS 4.0 installation is a sample map for the purpose of testing the server. For more serious mapping, we provide the complete world map dataset you probably have seen before. You can download this from the downloads section.
Most likely, you will want to add your own data layers to the world map, or use a completely different map you have compiled yourself.
For managing the collection of maps on your server and changing the content of these maps you have two important utilities at your disposal.
- The WMS Service Configuration in Windows control panel
- Mapper, which you can downloadand install separtely
Installing map Services
The WMS service configuration applet in the control panel is where you “install” you maps.
After installation this will contain only a single map, identified as SAMPLE. We recommend you leave the “SAMPLE” map as it is and install new maps under a different name, having the original “SAMPLE” map in place can be usefull for troubleshooting purposes.
When you have downloaded and “unzipped” our world map dataset to a local hard-disk on the server, you use the “Add” button, and select the
worldmap.map file to install the world map.
The other buttons on this configurations screen allow you to remove maps, edit the map properties, or reload all maps to reflect any changes you may have made.
Before installing new maps on your server, we recommend you first go to the second tab, which contains the general WMS service settings.
WMS Service Settings
The second tab in the WMS service configuration applet is used to control several general settings.
The most important setting here is the http host name of your server. By default this is set to
localhost so you can test the server locally, but the first thing you should do is replace all three occurrences of
localhost to the actual host name.
(i.e. in case of our public server,
localhost needs to be replaced by
In some cases, you may also want to change the location of the /wms/wms.asp script if you feel the need to put the script in a different location, or have developed a different asp script. However, at this point we recommend you leave the rest of the settings at their default.
The Cache Settings will only become relevant if you have setup a large collection of maps and the memory usage becomes an issue.
If you go back to the first tab, and double click the SAMPLE map entry, you will get a dialog box with specific properties for this particular map.
WMS Name is the most important setting here, the default
/wms/wms.asp script can be used to access all maps on the server, by specifying the name of the map on the URL, like
WMS Title allows you to assign a more friendly (longer) title for the map, most WMS clients will retrieve this from the capabilities XML and present it to the end-user.
WMS Request URL will be filled in by default, based on the general settings provided in the previous screen. Normally you only need to change this if it still contains the
WMS spatial reference system defines the cartographic projection of a map using EPSG codes. A complete explanation of this is beyond the scope of this document, it is described in greater detail in the OpenGIS WMS specification
EPSG:4362 stands for unprojected, latitude-longitude)
Lat/Lon Bounding box should be specified regardless of the actual projection. If you are unsure, leave it at its default setting.
Besides installing maps using the control panel applet, you will also want to change the appearance of the map, add additional GIS layers or even completely replace the provided world map with your own. Mapper is a general-purpose application that allows you to do just this. You can download Mapper separately from our downloads section and install it on your development machine.
On the right you see a screen shot of Mapper after opening the sample map and clicking on the Countries layer to access its properties.
Mapper has a user-friendly interface, which you will find pretty easy to work with if you are familiar with other desktop mapping software.
Mapper is provided with an online help system that will help you using it, so we will not go into much detail here. You can customize the colors, line styles etc in a straightforward manner. To add your own GIS layers to the map, use the
File > Import Layers... command.
You can import GIS data from several popular file formats, like ESRI shapefiles, MapInfo MIF files etc.
We will be adding more information about Mapper on our website soon, for now you can download it, read through the online help system and give it a try yourself.