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

Abrabacabra abrabacabra at openmailbox.org
Tue May 30 16:37:21 PDT 2017


I am a little confused on how to install the bundle and add the element 
in one of my applications.

I downloaded the source from the git repo and put it in 
//vendor/mapbender/query-builder/.

Then I ran //composer.phar require //"mapbender/query-builder"./

It installed a few dependencies but failed near the end (I didn't wrote 
down the error :/). I ran the previous command another time and now it 
says that nothing was installed, nothing was updated and there is no 
error message.

Still can't see the element though..

I backed up the whole Mapbender folder before doing it, so I could do it 
again and provide more information if needed.

Anyway, am I missing something? Is it that simple to install the bundle?


On 2017-05-30 1:05 AM, Schepers, Benjamin wrote:
>
> 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
>
>
>
> _______________________________________________
> Mapbender_users mailing list
> 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/4f3c67e8/attachment.html>


More information about the Mapbender_users mailing list