Query expression and result

Stephen Lime steve.lime at dnr.state.mn.us
Wed Mar 22 14:47:57 EST 2000


Its a symbol set issue. I imagine the demo you downloaded was pre-3.3 and
has old symbol sets. Replace the file 'line.sym' in the ms_demo/symbols directory
with the one attached and give it another try.

On the expression front again the 3.2 demo is wrong. ^- is a regular expression
that means anything starting with a minus sign. Regular expressions should be
enclosed in //'s so change the occurances of "^-" to /^-/. Other expressions
are tests for equality and should be fine as is.

A new 3.3 only demo is underway. Yes, a book would be nice. Any co-authors?
How bout a user group meeting?

s.

Stephen Lime
Internet Applications Analyst

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

>>> Peter Le <ple at desolagroup.com> 03/22/00 11:58AM >>>
Thanks to some helps from the members in this list, I am able to load
graphic and data from mapserv.  The only problem is when I click on the map,
the result comes back as :  "getNumeric(): Incorrect data type"  ...what
does this mean?
Also, in a query syntax, what does the "^-" indicate? i.e., EXPRESSION "^-"
Maybe a book about mapserver is needed :-)   
Thanks,



-------------- next part --------------
LINESET

Symbol
Type STYLED
Style
 0 0 0
 1 0 0
END
END 

Symbol
Type STYLED
Style
-1 0 0
 0 0 0
 1 0 0
END
END 

Symbol
Type STYLED
Style
 0 3 3
END
END 

Symbol
Type STYLED
Style
 0 6 6
END
END 

Symbol
Type STYLED
Style
 0 3 3
 1 3 3
END
END 

Symbol
Type STYLED
Style
 0 6 6
 1 6 6
END
END 

Symbol
Type STYLED
Style
-1 3 3
 0 3 3
 1 3 3
END
END 

Symbol
Type STYLED
Style
-1 6 6
 0 6 6
 1 6 6
END
END 

Symbol
Type STYLED
Style
-1 0 0
 1 0 0
END
END 

Symbol
Type STYLED
Style
-1 6 6
 1 6 6
END
END 

Symbol
Type STYLED
Style
 -1 0 0
  0 6 6
  1 0 0
END
END 

Symbol
Type Styled
Style
  -1 0 0
  0 12 12
  1 0 0
END
END

Symbol
Type STYLED
Style
  -1 1 7
  0 0 0
  1 1 7
END
END

Symbol
Type STYLED
Style
  -1 1 5
  0 1 5
  0 1 2
  1 1 5
END
END

Symbol
  TYPE ELLIPSE
  TRANSPARENT 0
  POINTS
    1 1
  END
END

END # LineSet


More information about the mapserver-users mailing list