[Chameleon] Error Rendering Map Image

Seiple, Timothy E timothy.seiple at pnl.gov
Thu Aug 11 13:33:43 EDT 2005


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20050811/891b1bea/attachment.html


More information about the Chameleon mailing list