[Mapbender-users] Custom element that displays the result of a SQL query

Schepers, Benjamin schepers at rvr-online.de
Mon May 29 22:05:17 PDT 2017


Hi Pat,

mabybe this is what you want:
https://github.com/mapbender/query-builder

To be honest, I didn’t try it by myself. But I’d appreciate it, if you try it and share your experiences ;-)

Regards
Ben

Von: Mapbender_users [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag von Abrabacabra
Gesendet: Donnerstag, 25. Mai 2017 04:34
An: mapbender_users at lists.osgeo.org
Betreff: Re: [Mapbender-users] Custom element that displays the result of a SQL query


I simply need to display, maybe in the toolbar or something, a single dynamic numeric value based on the result of a query made to the PostgreSQL database we use for the daily operations of the organization.

It would be preceded by a string like: "The value is:"  ([value])

Is there a currently available element/bundle that allows us to do that?


On 2017-05-24 4:30 AM, Uwe Seher wrote:
Hello!
You should provide a little more information what you want to do.
You can use different approches to solve this. In mapbender i think, you can use something like the search or the digitizer element. These can use a sql-query direct from mapbender. You only have to configure the database connection. But when you use a wms layer in the behind, a getfeatureinfo is maybe the better approach.
best regards
Uwe Seher





_______________________________________________

Mapbender_users mailing list

Mapbender_users at lists.osgeo.org<mailto:Mapbender_users at lists.osgeo.org>

https://lists.osgeo.org/mailman/listinfo/mapbender_users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20170530/71c76d49/attachment.html>


More information about the Mapbender_users mailing list