[Chameleon] Error Rendering Map Image
Paul Spencer
pspencer at dmsolutions.ca
Thu Aug 11 13:54:27 EDT 2005
If you modified the chameleon.xml or cwc2.xml configuration files,
please make sure that you used forward slashes (/) in all file system
paths. These will work just fine on windows.
Cheers
Paul
Seiple, Timothy E wrote:
> The strange characters that appeared in my Apache error log (previous
> message) were the actual characters in the error message and not a
> copy/paste error. I must have a URL or path screwed up somewhere. I
> found the following reference in several session files, including
> MAPDHTML_ADJUST.map and the current state files (e.g.
> 1123775961-3563.map). Note the malformed "image" path.
>
> REFERENCE
> COLOR -1 -1 -1
> EXTENT -180 -90 180 90
> IMAGE "C:\Program Files\Chameleon\cwc2\htdocs/images/keymap.png"
> OUTLINECOLOR 255 0 0
> SIZE 240 120
> STATUS OFF
> MARKER 0
> MARKERSIZE 0
> MINBOXSIZE 3
> MAXBOXSIZE 0
> END
>
> ...Here are some of the variables from the SESSION_FILE. Note the
> trailing slash in "gszCorePath".
>
> gszAppWebPath|s:32:"http://localhost/chameleon/cwc2/";
> gszAppPath|s:38:"C:\Program Files\Chameleon\cwc2\htdocs";
> gszCoreWebPath|s:27:"http://localhost/chameleon/";
> ->gszCorePath|s:34:"C:\Program Files\Chameleon\htdocs/";
> gszTmpPath|s:31:"/tmp/ms_tmp/sess_42fb75ca3e4e4/";
> gszTmpMapPath|s:31:"/tmp/ms_tmp/sess_42fb75ca3e4e4/";
> gszTmpWebPath|s:12:"/tmp/ms_tmp/";
> gszTmpImgPath|s:14:"c:/tmp/ms_tmp/";
> gszButtonCachePath|s:22:"c:/tmp/ms_tmp/buttons/";
> gszButtonCacheWebPath|s:20:"/tmp/ms_tmp/buttons/";
> gszMapscriptModule|s:20:"php_mapscript_46.dll";
> gszWMSParseFile|s:55:"C:/Program
> Files/Chameleon/htdocs/common/wmsparse/win32";
> gszCurrentState|s:15:"1123775961-3563";
> gszMapName|s:42:"/tmp/ms_tmp/sess_42fb75ca3e4e4/default.map";
> gszMapPath|s:0:"";
> KEYMAP_SRS|s:9:"epsg:4326";
> KEYMAP_INIT|s:1:"1";
>
> ...Furthermore, in DEFAULT.map I found this, which I thought should
> point to something, maybe not.
>
> WEB
> IMAGEPATH ""
> IMAGEURL ""
> METADATA
> END
> QUERYFORMAT text/html
> END
>
>
> ...Finally, do I need to configure a WMS connection to
> "www2.dmsolutions.ca/cgi-bin/" in order to run these apps even though
> keymap.png is stored locally? I keep seeing the dmsolutions url
> reference in various session files.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
--
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the Chameleon
mailing list