Hi All,<br><br>I am working on data in decimal degrees. In the mapfile, I specify the UNITS as DD.<br>The error that I get is:<br><br><b>Warning</b>: [MapServer Error]: getSymbol(): Parsing error near (DD):(line 29)
in <b>C:\ms4w\apps\cartoweb3\server\ServerContext.php</b> on line <b>354</b><br>
<br>
<b>Warning</b>: Failed to open map file C:\ms4w\apps\cartoweb3/projects/mapservice/server_conf/mapservice/mapservice.map in <b>C:\ms4w\apps\cartoweb3\server\ServerContext.php</b> on line <b>354</b><br>
<br>
<b>Warning</b>: Cannot modify header information - headers already sent
by (output started at
C:\ms4w\apps\cartoweb3\server\ServerContext.php:354) in <b>C:\ms4w\apps\cartoweb3\client\FormRenderer.php</b> on line <b>463</b><br>
<style type="text/css">
html {
background: #ddd;
font-style: italic;
}
.hint {
position: absolute;
top: 0em;
right: 2em;
}
.back {
position: absolute;
top:2em;
right: 2em;
}
</style>
<h1>Failure</h1>
<pre>CartoWeb version: 3.5.0 [$Revision: 1.9 $]
class: SoapFaultWrapper
message: MapServer error: Error in getSymbol(): Parsing error near (DD):(line 29)<br>
Backtrace:
file: 355 - C:\ms4w\apps\cartoweb3\server\ServerContext.php
call: ServerContext->checkMsErrors()
file: 90 - C:\ms4w\apps\cartoweb3\server\MapInfoHandler.php
call: ServerContext->getMapObj()
file: 162 - C:\ms4w\apps\cartoweb3\server\MapInfoHandler.php
call: MapInfoHandler->fillDynamicMap()
file: 49 - C:\ms4w\apps\cartoweb3\server\ServerMapInfoCache.php
call: MapInfoHandler->loadMapInfo()
file: 99 - C:\ms4w\apps\cartoweb3\common\MapInfoCache.php
call: ServerMapInfoCache->computeMapInfo()
file: 169 - C:\ms4w\apps\cartoweb3\common\MapInfoCache.php
call: MapInfoCache->cacheMapInfo()
file: 177 - C:\ms4w\apps\cartoweb3\server\MapInfoHandler.php
call: MapInfoCache->getMapInfo()
file: 396 - C:\ms4w\apps\cartoweb3\server\ServerContext.php
call: MapInfoHandler->getMapInfo()
file: 191 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: ServerContext->getMapInfo()
file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: Cartoserver->doGetMapInfo("mapservice.mapservice")
file: 389 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: Cartoserver->callWithExceptionCheck("doGetMapInfo", "mapservice.mapservice")
file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: Cartoserver->getMapInfo("mapservice.mapservice")
file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: CartoserverService->callDirect("getMapInfo", "mapservice.mapservice")
file: 224 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: CartoserverService->callFunction("getMapInfo", "mapservice.mapservice")
file: 60 - C:\ms4w\apps\cartoweb3\client\ClientMapInfoCache.php
call: CartoserverService->getMapInfo("mapservice.mapservice")
file: 99 - C:\ms4w\apps\cartoweb3\common\MapInfoCache.php
call: ClientMapInfoCache->computeMapInfo()
file: 169 - C:\ms4w\apps\cartoweb3\common\MapInfoCache.php
call: MapInfoCache->cacheMapInfo()
file: 790 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
call: MapInfoCache->getMapInfo("mapservice.mapservice")
file: 427 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
call: Cartoclient->getMapInfo()
file: 31 - C:\ms4w\apps\cartoweb3\htdocs\client.php
call: Cartoclient->__construct()
file: 3 - C:\ms4w\apps\cartoweb3\htdocs\mapservice.php
call: require_once("C:\ms4w\apps\cartoweb3\htdocs\client.php")
</pre>Sorry for the long trace. I am using the foss4g tutorial (step 9) as my reference. But I have not been able to figure out which templates / ini files I would need to change in order to replace meters (in original example) by DD (our new unit).<br>
<br>Please suggest an approach to take.<br><br>Thank you!<br><br>