[Cartoweb-users] can't create a new symbol
Oliver Christen
oliver.christen at camptocamp.com
Thu Nov 27 09:17:02 EST 2008
Failuremmm, hard to believe but that "(ο)" character is not a common "o" and
it's what is causing the error.
i just did a quick
print ord('ο'); // copied from the error backtrace
print "<br>";
print ord('o'); // typed from my keyboard
and I get
206
111
if I copy that "(ο)" into my symbol.txt I also get the same kind of
"MapServer error: Error in getSymbol(): Parsing error" message.
maybe you have some non-ascii characters in your symbol.txt file
----- Original Message -----
From: Arnaud DELEURME
To: Oliver Christen
Cc: Liste Cartoweb
Sent: Friday, November 21, 2008 4:39 PM
Subject: Re: [Cartoweb-users] can't create a new symbol
I tried again
This is my message
Warning: [MapServer Error]: loadSymbolSet(): Parsing error near (ο):(line 0)
in /home/infodime/public_html/komotini/server/ServerContext.php on line 354
Warning: Failed to open map file
/home/infodime/public_html/komotini/projects/maps/server_conf/maps/maps.map
in /home/infodime/public_html/komotini/server/ServerContext.php on line 354
Warning: Cannot modify header information - headers already sent by (output
started at /home/infodime/public_html/komotini/server/ServerContext.php:354)
in /home/infodime/public_html/komotini/client/FormRenderer.php on line 460
Failure
CartoWeb version: 3.4.0 [$Revision: 1.7 $]
class: SoapFaultWrapper
message: MapServer error: Error in loadSymbolSet(): Parsing error near
(ο):(line 0)
Backtrace:
file: 355 - /home/infodime/public_html/komotini/server/ServerContext.php
call: ServerContext->checkMsErrors()
file: 90 - /home/infodime/public_html/komotini/server/MapInfoHandler.php
call: ServerContext->getMapObj()
file: 162 - /home/infodime/public_html/komotini/server/MapInfoHandler.php
call: MapInfoHandler->fillDynamicMap()
file: 49 - /home/infodime/public_html/komotini/server/ServerMapInfoCache.php
call: MapInfoHandler->loadMapInfo()
file: 99 - /home/infodime/public_html/komotini/common/MapInfoCache.php
call: ServerMapInfoCache->computeMapInfo()
file: 169 - /home/infodime/public_html/komotini/common/MapInfoCache.php
call: MapInfoCache->cacheMapInfo()
file: 177 - /home/infodime/public_html/komotini/server/MapInfoHandler.php
call: MapInfoCache->getMapInfo()
file: 396 - /home/infodime/public_html/komotini/server/ServerContext.php
call: MapInfoHandler->getMapInfo()
file: 191 - /home/infodime/public_html/komotini/server/Cartoserver.php
call: ServerContext->getMapInfo()
file: 349 - /home/infodime/public_html/komotini/server/Cartoserver.php
call: Cartoserver->doGetMapInfo("maps.maps")
file: 389 - /home/infodime/public_html/komotini/server/Cartoserver.php
call: Cartoserver->callWithExceptionCheck("doGetMapInfo", "maps.maps")
file: 104 -
/home/infodime/public_html/komotini/client/CartoserverService.php
call: Cartoserver->getMapInfo("maps.maps")
file: 165 -
/home/infodime/public_html/komotini/client/CartoserverService.php
call: CartoserverService->callDirect("getMapInfo", "maps.maps")
file: 224 -
/home/infodime/public_html/komotini/client/CartoserverService.php
call: CartoserverService->callFunction("getMapInfo", "maps.maps")
file: 60 - /home/infodime/public_html/komotini/client/ClientMapInfoCache.php
call: CartoserverService->getMapInfo("maps.maps")
file: 99 - /home/infodime/public_html/komotini/common/MapInfoCache.php
call: ClientMapInfoCache->computeMapInfo()
file: 169 - /home/infodime/public_html/komotini/common/MapInfoCache.php
call: MapInfoCache->cacheMapInfo()
file: 757 - /home/infodime/public_html/komotini/client/Cartoclient.php
call: MapInfoCache->getMapInfo("maps.maps")
file: 413 - /home/infodime/public_html/komotini/client/Cartoclient.php
call: Cartoclient->getMapInfo()
file: 31 - /home/infodime/public_html/komotini/htdocs/client.php
call: Cartoclient->__construct()
file: 3 - /home/infodime/public_html/komotini/htdocs/maps.php
call: require_once("/home/infodime/public_html/komotini/htdocs/client.php")
Back to initial map. Hint: you should customize this template (failure.tpl)
in your project.
Arnaud DELEURME.
Ligne Directe : 00.30.69.377.26.375
Email : deleurmea at yahoo.fr
----- Mail Original -----
De: "Oliver Christen" <oliver.christen at camptocamp.com>
À: "Arnaud DELEURME" <a.deleurme at gers.cci.fr>
Cc: "Liste Cartoweb" <cartoweb-users at lists.maptools.org>
Envoyé: Vendredi 21 Novembre 2008 10h28:38 GMT +02:00 Athènes, Beyrouth,
Bucarest, Istanbul
Objet: Re: [Cartoweb-users] can't create a new symbol
Hi
I copied the symbol you provided in the symbol.txt file of a demoCW3 project
and set it as the mountain layer symbol and I didnt have any problem, see
screenshot.
are you sure your font is not corrupted ?
----- Original Message -----
From: Arnaud DELEURME
To: Oliver Christen
Cc: Liste Cartoweb
Sent: Friday, November 21, 2008 8:54 AM
Subject: Re: [Cartoweb-users] can't create a new symbol
Hi
I tried to add a new symbol like that
SYMBOL
NAME "mynewsymbol"
TYPE TRUETYPE
FILLED TRUE
ANTIALIAS TRUE
CHARACTER "C"
FONT "esri_11"
END
But it doesn't work , there is a bug
Arno
----- Mail Original -----
De: "Oliver Christen" <oliver.christen at camptocamp.com>
À: "Arnaud DELEURME" <a.deleurme at gers.cci.fr>, "Liste Cartoweb"
<cartoweb-users at lists.maptools.org>
Envoyé: Vendredi 21 Novembre 2008 09h32:53 GMT +02:00 Athènes, Beyrouth,
Bucarest, Istanbul
Objet: Re: [Cartoweb-users] can't create a new symbol
Hi
you have a syntax error in your symbol.txt file and mapserver cant load it
what did you add exactly in that file ?
regards
Oliver
----- Original Message -----
From: Arnaud DELEURME
To: Liste Cartoweb
Sent: Monday, November 10, 2008 5:04 PM
Subject: [Cartoweb-users] can't create a new symbol
Hello all,
I can't create a symbol from the "ESRI font" (esri_11.ttf) in Cartoweb
I tried to add a new symbol in my symbols.txt but I have a message like
this:
MapServer error: Error in loadSymbolSet():
What are the steps in order to create a new symbol for my Cartoweb project?
I tried with the doc but he doesn't work...
Thanks
Arno
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users
More information about the Cartoweb-users
mailing list