Logical Expressions

Kai Behncke kbehncke at IGF.UNI-OSNABRUECK.DE
Thu Nov 16 18:57:53 EST 2006


On Thu, 16 Nov 2006 12:03:05 -0500, D. Eric Keefauver wrote
> New to MS. My question is this: I am wanting to use a logical expression
> within a layer in my mapfile. The below expression will render the county
> with the exact acreage of '438282.297'. How would I set it to 
> display all acreages in the field that are < 500,000 ? Syntax? I am 
> running MS4W v
> 1.4.0.  Also, could this value (500,000) be set by a user through, 
> say, via a form?
> 
> Thanks much
> 
> Eric
> 
Hello Eric,
you can set a value for a dynamic expression in a form.
In the application http://131.173.78.240/diplomarbeit_freezvaut/
exactly this is done via php/mapscript (here "Flächengröße" is the name
for area).

The source-code for this is downloadbar ar the
homepage http://www.umn-mapserver-community.de
(download -> point 11).

Greetings, Kai


--
Dipl.-Geogr. Kai Behncke

Institut für Geoinformatik und Fernerkundung (IGF)
Universität Osnabrück
Kolpingstr. 7
49074 Osnabrück

Raum: 01/308
Tel.: +49 541 969-4450
E-Mail: mailto:kbehncke at igf.uni-osnabrueck.de 
Web:  http://www.igf.uni-osnabrueck.de



More information about the mapserver-users mailing list