Troubleshooting and Other Resources
|
81
To access
gmlfeature.dtd
locally
1
Set the FeatureInfoDTD parameter in
config.ini
as follows:
FeatureInfoDTD=gmlfeature.dtd
Note
ColdFusion saves the XML returned by the servlet as a file in the
<InstallFolder>\SampleApp
folder. The
gmlfeature.dtd
also is located in this
folder.
2
Save and close
config.ini
.
3
Restart the application-server service.
This procedure sets the FeatureInfoDTD parameter to the local copy of
gmlfeature.dtd
, causing the Java parser to search for the file in the local folder,
eliminating the need to go outside the firewall to get resources.
SRS-to-WKT Mapping
Autodesk MapGuide LiteView Setup installs the file
<InstallFolder>/lite-
view/CsToEpsgMap.xml
. This file contains a mapping from ADSK:
xxxx
to well-
known toolkit (WKT) strings. You can extract these WKT strings and use
them in your Autodesk MapGuide LiteView client applications to display
WKT strings instead of ADSK:
xxxx
codes.
The following example entry from
CsToEpsgMap.xml
shows the mapping
from ADSK:UTM-49S to a WKT.
<SRSMapping>
<CsMapToEpsg CsMapCode="ADSK:UTM-49S" EpsgCode="">
<WktString>
PROJCS["UTM-49S",
GEOGCS["UTM-49S",
DATUM["",
SPHEROID["International 1924",6378388,297],
TOWGS84[0,0,0,0,0,0,0]],
PRIMEM["Greenwich",0],
UNIT["Degrees", 0.0174532925199433]],
PROJECTION["UTM"],
PARAMETER["central_meridian", 111],
PARAMETER["false_northing", 10000000],
PARAMETER["false_easting", 500000],
PARAMETER["zone", -49],
PARAMETER["scale_factor", 1],
PARAMETER["ADSK_quadrant", 0],
UNIT["METER", 1]]
</WktString>
</CsMapToEpsg>
</SRSMapping>