[mapserver-users] RESULT from DB SQL call on map output as a label
Bob Basques
Bob.Basques at ci.stpaul.mn.us
Thu Mar 22 07:51:25 PDT 2012
All,
Was wondering about putting a STAT line on a Mapserver image that is coming from POSTGIS. What's involved in sending something like "SELECT COUNT(*) from <table>" from inside of the same mapfile, and adding the RESULT as a TEXT element to the map. is this a legend thing, a map thing or something in between??
Is it as simple as creating a point on the fly and using a SQL call (from a separate LAYER) to label with? (hmm, I think I just talked through the process . . .)
Thanks
bobb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120322/e586ec0b/attachment.htm>
More information about the MapServer-users
mailing list