|
||||
[maplab-users] Maplab frustration!Paul Spencer pagameba@magma.ca27 Mar 2003 13:01:06 -0500
|
Matt, The problem with the 'empty' legend causes the preview problem because once you do anything that causes the page to submit, the code looks for layers to turn on/off from the legend. Since there is nothing there, all the layers get turned off. The code checks to see if a 'valid' legend template is set in the map file and will use that in the mapedit preview if found. Unfortunately, the php code that checks to see if a file exists returns true if the file name is "", and the code that shipped with RC5 and earlier relied on this to return false. This is fixed in the latest CVS version, but you can work around it by specifying a value for TEMPLATE inside the LEGEND object. It may be that the TEMPLATE value has to end with ".html" (i.e. ttt.html)? If this doesn't work, please send me your map file to try. Thanks, Paul On Thu, 2003-03-27 at 11:57, Matt Doggett wrote: > There's already a TEMPLATE object ('ttt') defined. I should clarify, > it's not that the legend doesn't appear, it's totally empty except for > the "Layer" label and the "Redraw Map". This in spite of the fact that > the layers do appear in the map itself (at least initially). > > md > > Matt Doggett > Spatial Climate Analysis Service > Oregon State University > 316 Strand Ag Hall > Corvallis, OR 97331 > (541)737-9153 > mdoggett@coas.oregonstate.edu > > > > -----Original Message----- > > From: Dean Gadoury [mailto:gadoury@dmsolutions.ca] > > Sent: Thursday, March 27, 2003 5:46 AM > > To: mdoggett@coas.oregonstate.edu > > Cc: maplab-users@dmsolutions.ca > > Subject: Re: [maplab-users] Maplab frustration! > > > > Hi Matt, > > > > I'm sorry to hear you're having trouble. There are still a couple of > > bugs in this pre-release version of the software. I will address the > > MapEdit Preview problems but the rest will need the expertise of one > of > > our developers. > > > > If you put a TEMPLATE object in your LEGEND object with any value at > all > > the preview issues you are having should go away. For example, > TEMPLATE > > "x" should work. It doesn't matter what you specify as the template > > value and it doesn't need to be anything that exists. I realize this > is > > a work-around and not a fix. The need to do this will be eliminated in > > future releases of MapLab. > > > > I hope that clears up those problems for you. I'm sure you'll hear > back > > from someone regarding your other problems. > > > > Dean Gadoury > > > > Matt Doggett wrote: > > > > >I was at first very excited about using Maplab, however, after > several > > >days and it *still* doesn't completely work, I'm about ready to give > up > > >on it. Has anyone out there used it successfully using: > > > > > >RedHat8.0 > > >Apache2.0 > > >Mapserver 3.6.4 > > >Php4.3.2rc1 (to fix the PHP_SELF problem) > > > > > >Has anyone else successfully installed & run maplab with this > > >configuration? > > > > > >I've followed all the installation instructions (to the T) but I get > > >error messages on so many aspects of Maplab, it's not realistic to > post > > >them all, here are a few: > > > > > >- Can get the initial preview of a Map but any actions on that > preview > > >result in a blank map. > > >- Legend is empty in the preview. > > >- MapBrowser fails miserably with "Warning: > mkdir(/data/3e822b2834ef6/) > > >[function.mkdir]: No such file or directory." Errors galore! > > >- GMapFactory can't create a new project with the following error: > > >Warning: main(/htdocs/gmapfactory/structure.php) [function.main]: > failed > > >to open stream: No such file or directory in > > >/home/precip/www/maplab/htdocs/gmapfactory/appframeset.phtml on line > 136 > > > > > >It seems I'm getting lots of path-related errors and no matter how I > > >setup the configuration files, they won't go away. > > > > > >md > > > > > >Matt Doggett > > >Spatial Climate Analysis Service > > >Oregon State University > > >316 Strand Ag Hall > > >Corvallis, OR 97331 > > >(541)737-9153 > > >mdoggett@coas.oregonstate.edu > > > > > > > > > > > >_______________________________________________ > > >Maplab-users mailing list > > >Maplab-users@dmsolutions.ca > > >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > > > > > > > > > > > -- > > ___________________________ > > > > Dean Gadoury > > > > DM Solutions Group > > 72 Chamberlain Ave. Third Floor > > Ottawa, Ontario. K1S 1V9 > > 613 565-5056 ext. 24 > > > > gadoury@dmsolutions.ca > > www.dmsolutions.ca > > > > > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users -- -------------------------------------- Paul Spencer, M.Eng Applications and Software Development DM Solutions Group Inc http://www.dmsolutions.ca/
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |