Map Suite WMS Server Edition Deployment Guide
From ThinkGeo Wiki
| Rate This Article | |
|---|---|
| Current rating: 0% (0 votes)
You need to enable Javascript to vote
|
There are two kinds of projects in the installation directory. “WmsPluginService” is for deploying a server while other projects are used to consume that service as clients. We strongly recommend you to have a look at the notes below.
Contents |
Run the WMS Service
Here are the steps to deploy the WMS service.
- Open the “CSharp VS2010 Winforms.sln” solution and set the “Default.aspx” as the default startup page.
- Run the project and write down the root URL of the server, for example: http://localhost:62626/
- Modify the Capability files "CapabilitiesXml/WmsHandlerCapabilities.xml , SecureServerRequestsWmsHandlerCapabilities.xml, ThrottleUserRequestsWmsHandlerCapabilities.xml".
- Get the “OnlineResource” node, change the server request link with the server URL mentioned above. Don’t forget to add the “/WmsHandler.axd” behind. See the snapshots below:
- 4. Stop the WMS Server and run the project again to make the changes take effect.
Consume the Service with Client Application
Open “CSharp DesktopEdition client” or any other client side solutions to consume the deployed WMS Service. Before running the projects, please remember to modify the WMS service URL in the sample. See the screenshot below:
MegerModules Overview
Several Merge Modules are supplied to assist you in deploying all of our required dependencies. You can find then in the directory below.
- \Developer Reference\Merge Module\MapSuiteEcwX64.msm
- \Developer Reference\Merge Module\MapSuiteEcwX86.msm
- \Developer Reference\Merge Module\MapSuiteFdoExtensionx86.msm
- \Developer Reference\Merge Module\MapSuiteGeoTiffX64.msm
- \Developer Reference\Merge Module\MapSuiteGeoTiffX86.msm
- \Developer Reference\Merge Module\MapSuiteMrSidX64.msm
- \Developer Reference\Merge Module\MapSuiteMrSidX86.msm
- \Developer Reference\Merge Module\MapSuiteProj4ProjectionX64.msm
- \Developer Reference\Merge Module\MapSuiteProj4ProjectionX86.msm
- \Developer Reference\Merge Module\VC_User_CRT71_RTL_X86_---.msm
- \Developer Reference\Merge Module\VC_User_STL71_RTL_X86_---.msm
Note: The main assemblies of MapSuiteCore.DLL , NetTopologySuite.DLL, GeoAPI.dll and WMSServerEdition.DLL are not included in the Merge Modules, your project should automatically reference them and pull in these assemblies. MapSuiteGeoTiffX64.msm and MapSuiteGeoTiffX86.msm are not required if the GeoTiffRasterSource's LibraryType is ManagedLibTiff(By Default). MapSuiteProj4ProjectionX64.msm and MapSuiteProj4ProjectionX86.msm are not required if Proj4Projection's MemoryMode is ManagedProj4Projection(By Default).
Dependencies Overview
There are a number of dependencies that are required for different functionality. Below is a list of DLLs and their usage.
WMS Server Libraries
- WmsServerEdition.dll
- System.ComponentModel.Composition.dll
Map Suite Main Components Libraries
- MapSuiteCore.dll
- NetTopologySuite.dll
- GeoAPI.dll
Note: ShapeFileFeatureSource.ExecuteQuery function isn’t supported for 64-bit system, because the Microsoft.Jet.OLEDB 4.0 isn’t supported on a 64 bit system.

