[Cartoweb-users] Querying database from mapfile expression
Broun Uganda
tekuganda at hotmail.com
Sat Sep 13 00:20:27 EDT 2008
I want to query the database and present data with different colours, sizes and labels, i gues this is done in the mapfile.
For example in a table of junctions (points) have an attribute 'width'. So i want to say if width<=1.5 colour is 230 210 110, if 1.5>width<=5 colour 110 110 110 and width>5 colour 60 30 80. however if there are no junctions in any or all brackets just dont give me error.
For labels, Mouseover reveals the actual value of that junction.
Equally say for contours i want to give a colour gredation i.e. read the lowest and highest elevation and present contours with different colours ranging from highest to lowest as a smooth colour variation.
Can i do these in the mapfile specification and how?
Iam working with the edit plugin only.
Thanks
Broun Uganda
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080913/1bccb716/attachment.html
More information about the Cartoweb-users
mailing list