[Chameleon] Error Rendering Map Image
Tyler Mitchell
tjm at timberline.ca
Thu Aug 11 13:39:39 EDT 2005
Certainly interesting output! Nothing comes to mind for me, but have
you considered using an MS4W install and the default Chameleon package
instead. I'm always uncomfortable with windows path names that go
through "Program Files" - and wouldn't be surprised if that's part of
the problem. That said, it might perfectly fine.
If you use MS4W than mor of us will know what your other common
settings, folders, etc will be.
Tyler
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
More information about the Chameleon
mailing list