[mapserver-users] msQueryByPoint(): No matching record(s)

Sylvain Pasche sylvain.pasche at epfl.ch
Mon Sep 3 00:49:26 PDT 2001


About my version, I'm currently using the latest CVS version.

In fact, the problem seems to be solved when I put together the two
class sections of the layer:

This is the old, not working version:

LAYER
  NAME courses
  TYPE POINT
  STATUS ON
  DATA courses
  LabelItem "NOM"
  LabelMaxscale 99999
  LabelMinscale 10000
  CLASS
     SYMBOL 14
     MAXSIZE 15
     OUTLINECOLOR 255 0 0
     COLOR 255 0 0
      LABEL
       TYPE bitmap
        COLOR 255 0 0
        BACKGROUNDCOLOR 255 220 220
       POSITION AUTO
     END
  END   
  TOLERANCE 12

  HEADER "ID NOM ALTITUDE COORD_X COORD_Y"
  CLASSITEM "ID"
   CLASS  
     EXPRESSION /./
     TEMPLATE "ttt"
   END

END # Layer

And this is the new working version

LAYER
  NAME courses
  TYPE POINT
  STATUS ON
  DATA courses
  LabelItem "NOM"
  LabelMaxscale 99999
  LabelMinscale 10000
  
  HEADER "ID NOM ALTITUDE COORD_X COORD_Y"
  CLASSITEM "ID"
 
  CLASS
     EXPRESSION /./
     TEMPLATE "ttt" 
 
     SYMBOL 14
     MAXSIZE 15
     OUTLINECOLOR 255 0 0
     COLOR 255 0 0
      LABEL
       TYPE bitmap
        COLOR 255 0 0
        BACKGROUNDCOLOR 255 220 220
       POSITION AUTO
     END
  END   
  TOLERANCE 12
END # Layer

Is it wrong to use two different classes ? (Or is this a bug ?)
      
	Sylvain

-----Original Message-----
From: "Stephen Lime" <steve.lime at dnr.state.mn.us> 
Date: Fri, 31 Aug 2001 09:15:38 -0500 

How recent is your version? There have been changes made over that last
3 weeks that fix bugs releated to queries. My testing has things working 
very well now.

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937





More information about the MapServer-users mailing list