I agree with you Armin. I really don't need this necessarily. What I wanted - I have a point layer with 27.000 points labeled by a cadastrial number. When I try to turn on this layer at full extent, it freezes and never ends. So I put MAXSCALE for this layer and everything works ok. The layer description in TOC is "dimmed" when the layer is not shown, which is OK, but the check box next to description is not. So it was much simpler for me to just hide this layer instead of trying to figure out how to "disable"/dim the checkbox too :-)
Do you have a quick solution for this? thanks very much regards, dejan Armin Burger <[EMAIL PROTECTED]> wrote on 30.10.2008 00:41:46: > Layers that are not in the config.ini will very likely not work with > various functions like queries since they are not referenced in the > p.mapper layer and groups objects (thats different objects than pure > Mapscript layers). Hence they produce errors when trying to read some > specific attributes. > > What you mention is more a solution for always displaying annotations, > north arrows, copyright notice, a permanent background raster layer, etc. > > I personally would find it a bit confusing seeing something on the map > and in the query but not in the Toc/legend. > > armin > > On 29/10/2008 23:12, [EMAIL PROTECTED] wrote: > > Hi, > > > > I want to display a point layer (labeled by its attribute field) on the > > map, without showing it in TOC/legend. If I am correct, it can be done by > > setting the status of the layer to DEFAULT in map file and removing it > > from config.ini. Then it is drawn always. > > > > This works fine but doing attribute search by its attribute field returns > > error: > > > > [29-Oct-2008 22:55:27] PHP Fatal error: Call to a member function > > getXYLayerProperties() on a non-object in > > C:\ms4w\apps\pmapper\pmapper-3.2.0\incphp\query\query.php on line 730 > > [29-Oct-2008 22:55:27] PHP Stack trace: > > [29-Oct-2008 22:55:27] PHP 1. {main}() > > C:\ms4w\apps\pmapper\pmapper-3.2.0\incphp\xajax\x_info.php:0 > > [29-Oct-2008 22:55:27] PHP 2. Query->q_processQuery() > > C:\ms4w\apps\pmapper\pmapper-3.2.0\incphp\xajax\x_info.php:44 > > [29-Oct-2008 22:55:27] PHP 3. Query->q_execAttributeQuery() > > C:\ms4w\apps\pmapper\pmapper-3.2.0\incphp\query\query.php:94 > > > > The question is - is this supposed to be so or can I do something to > > enable attribute search for this layer? > > > > thanks very much > > > > regards, dejan > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer'schallenge > > Build the coolest Linux based applications with Moblin SDK & win > great prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > pmapper-users mailing list > > pmapper-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users