[Cartoweb-users] Probleme with DD (decimal degrees)

Oliver Christen oliver.christen at camptocamp.com
Mon Dec 7 03:17:41 EST 2009


hi

can you show me your mapfile please ?

regards
Oliver
  ----- Original Message ----- 
  From: n n 
  To: cartoweb-users at lists.maptools.org 
  Sent: Monday, December 07, 2009 2:56 AM
  Subject: [Cartoweb-users] Probleme with DD (decimal degrees)


  Hi All,

  I am working on data in decimal degrees. In the mapfile, I specify the UNITS as DD.
  The error that I get is:

  Warning: [MapServer Error]: getSymbol(): Parsing error near (DD):(line 29) in C:\ms4w\apps\cartoweb3\server\ServerContext.php on line 354

  Warning: Failed to open map file C:\ms4w\apps\cartoweb3/projects/mapservice/server_conf/mapservice/mapservice.map in C:\ms4w\apps\cartoweb3\server\ServerContext.php on line 354

  Warning: Cannot modify header information - headers already sent by (output started at C:\ms4w\apps\cartoweb3\server\ServerContext.php:354) in C:\ms4w\apps\cartoweb3\client\FormRenderer.php on line 463

  Failure
CartoWeb version: 3.5.0 [$Revision: 1.9 $]
class:   SoapFaultWrapper
message:   MapServer error: Error in getSymbol(): Parsing error near (DD):(line 29)

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")


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).

  Please suggest an approach to take.

  Thank you!




------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20091207/84e305e5/attachment.htm 


More information about the Cartoweb-users mailing list