displaying objects based on DBF information
Stephen Lime
steve.lime at dnr.state.mn.us
Tue Jan 16 08:38:47 PST 2001
This is what class objects are for. You can use class expressions to
restrict display to certain sets of features or to change the display
characteristics (eg. color/size/symbol) for each "class". I've attached
a map file that I use to draw different highway shields based on an
item value. Look at the definitions for "major_roads".
Steve
>>> "Yeewen Sat" <yeewen at petromap.com> 01/15/01 03:35PM >>>
Hi,
I like to find out if mapserver CGI support this:
display objects based on specific DBF information?
As an example, DBF file contains a field named ObjectID. And, a map being
displayed has bunch of lines in it. When user zoom into the map, all lines
that fall inside the bounding rectangle will show up. Is there a way to tell
mapserver to draw only those lines that match the given ObjectIDs?
The same question applies to mapscript. Can I just pass these lines
ObjectIDs to some mapscript functions, and it will only plot these lines?
If mapserver cgi or mapscript does supports the above functions, can I get
some examples to get me started?
Thanks.
Yee Wen
Stephen Lime
Internet Applications Analyst
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
-------------- next part --------------
A non-text attachment was scrubbed...
Name: view.map
Type: application/octet-stream
Size: 5193 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20010116/5653dcee/attachment.obj>
More information about the MapServer-users
mailing list