ThinkGeo.com    |     Documentation    |     Premium Support

\Windows\Temp\MapSuite Directory

MapSuite Team,

Wms Server uses \Windows\Temp\MapSuite directory for files that contain results from GetCapabilities.

I would like the destination directory to be within the directory structure of my project so that it is not hidden and out-of-view deep within the Windows directory…

Does WmsServerEdition provide for the programmatic specification of where it stores results from GetCapabilities?

Thanks,
Dennis
OriStar Mapping, Inc.

Hi Dennis,

Please try to set the location of “CapabilitiesFilePathName” in handler.

It looks our wms server hadn’t set that, so maybe your code set it, please check this.

Regards,

Ethan

Hi Ethan,

My WmsServer does set CapabilitiesFilePathName in the handler, which specifies where to find the base capabilities XML document. This is fine.

What I was referring to are the directories in \Windows\Temp\MapSuite, as shown below. These directories/files are created when a GetCapabilities is requested.

Is there a property to set this directory location?

Thanks,
Dennis
OriStar Mapping, Inc.

Hi Dennis,

I think this XML you mentioned is not saved by the WMS server edition.

The default folder for WMS server edition is (@"~\CapabilitiesXml\WmsHandlerCapabilities.xml").

I think you should used some client side layer for example TiledWmsFeatureLayer, and it saved the XML in temp folder.

We don’t have API to change this.

Regard,

Ethan