Providing geoscience data globally oneGeology logo Navigation
Main content
Bottom links

OneGeology

Home > How to serve a OneGeology WMS > Setting up a MapServer WMS > Configuring your MapServer WMS > Step-by-step

4.3.1 Step-by-step configuration for MS4W

C:\ms4w\Apache\cgi-bin\

Create a folder inside ms4w\Apache\cgi-bin with a name including your organization initials in the same way as the example application shows for BGS (BGS_Bedrock_and_Superficial_Geology); see sections 2.2 and 2.3 for rules governing for web service titles and URLS.

It is not within the scope of OneGeology at this stage to address the problem of translating geological terms between different languages so the above service can be in the language you usually use for your data. However, if you already have your data in other languages, in particular English if that is not your default language, then we would like to encourage you to provide services in these other languages as well. These should be served from separate services with different URLs. In MapServer this means making another copy of the above directory and renaming it to use the appropriate language in the directory name.

At this stage you should have a sub-folder structure within c:\ms4w\Apache\cgi-bin like:

\BGS_Bedrock_and_Superficial_Geology
Holds mapserver cgi libraries for the ‘BGS_Bedrock_and_Superficial_Geology’ shapefile-based exemplar service.
\BGS_Bedrock_Geology
Holds mapserver cgi libraries for the ‘BGS_Bedrock_Geology’ raster-based exemplar service.
\Your-Organization-code_Your-Service-Theme
EMPTY
\Your-Organization-code_Your-alternate-language(service)-code_Your-Service-Theme
EMPTY

You then need to copy the ms4w\Apache\cgi-bin\wms file and all the libraries it depends on from one of the exemplar services cgi-bin sub-folders to the newly-created folder (or folders). Rather than attempt to list exactly which libraries are necessary it is probably easier simply to copy all the files to your newly created folder(s).

Section last modified: 11 June 2013

Back | Next

OneGeology © 2014. This site is hosted by the British Geological Survey but responsibility for the content of the site lies with OneGeology not with the British Geological Survey. Questions, suggestions or comments regarding the contents of this site should be directed to the OneGeology secretariat.