[GeoNode-users] FW: info table on Identify

Simone Dalmasso simone.dalmasso at gmail.com
Thu Mar 3 11:20:31 PST 2016


Hi, this is too specific question and I can't answer. Any other opinions?

2016-03-03 9:45 GMT+01:00 Eugenio Trumpy <frippe12573 at hotmail.com>:

>
> Hi Simone and all,
>
> I solved by using a solution quite close to your first suggestion:
> my layer actually is a postgis view published by a different geoserver in
> my institution,
> I only make a query for the postgis view which add a field built as concat
> of a string series where inside I concatenated the values from a field
> belong to the same view. The field in the spatial view has an HTML format,
> so changing the info/format in the layer properties I can see the link.
>
> I would have a more question on info table format:
> I know that the HTML works only for text/html format that produce an
> horizontal info table.
> Actually the text/plain produce a vertical info table, which it looks like
> more nice than the horizontal one.
> Is it possible to maintain a vertical info table that use a text/html
> format?
>
> best
>
> Eugenio
>
>
> ------------------------------
> From: simone.dalmasso at gmail.com
> Date: Tue, 1 Mar 2016 20:03:42 +0100
> Subject: Re: [GeoNode-users] info table on Identify
> To: frippe12573 at hotmail.com
>
> Eugenio,
>
> I see two options, the "most" feasible would be to customise the way
> geonode inserts the data into the database so that he stores what you need.
> I thing that gsconfig is the place where you could act.
>
> The second would be to customise the output, so to build the url on the
> geoexplorer side, and you would have to customise it.
>
> Both of them might be challenging.
>
> 2016-03-01 18:29 GMT+01:00 Eugenio Trumpy <frippe12573 at hotmail.com>:
>
> Hi all,
>
> I followed sometime ago this post:
>
> https://groups.google.com/forum/#!topic/geonode-users/_70X3r03Pt4
>
> on displaying a url in a field of the table got from 'getfeatureinfo'
> (i.e. Identify button on GeoExplorer (i.e. Maps function of geonode)).
> I tested the solution and actually it works, I would add 'statically'.
> I mean I can run the link to an external document or somehow as the link
> stored in the field is.
>
> I wonder if it is possible to build a URL dynamically, and store it in the
> output table of the getfeatureinfo.
>
> I try to make an example:
>
> consider a map with only one point layer, the layer has a simple table of
> attributes (id, name, url)
> on identify I get info from a feature and in output table I have id, name
> and url of course, what I'm asking
> you is if it is possible to complete the url inserting the value of the
> identified feature.
> If I identify a feature with id=300 name=pippo and url=
> http://my_server_name/srt/chart.php?id=
> It would be nice to have url completed as follow dinamically
> http://my_server_name/srt/chart.php?id=300
>
> Is that feasible?
>
> Thank you for any react
>
> best
>
> Eugenio
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> --
> Simone
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160303/074fd709/attachment.html>


More information about the geonode-users mailing list