[GeoNode-users] info table on Identify
Simone Dalmasso
simone.dalmasso at gmail.com
Fri Mar 4 05:11:22 PST 2016
I guess it would be the geoexorer sources. Down from the boundless suite.
Then compile. But don't know the place.
Il venerdì 4 marzo 2016, Eugenio Trumpy <frippe12573 at hotmail.com> ha
scritto:
> Hi,
> just to understand a bit more, the place to work on info table format is
> the GeoExplorer.js
>
> /geonode/geonode/static_root/geoexplorer/script/
>
> or something different?
>
> E.
>
>
> 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
> <javascript:_e(%7B%7D,'cvml','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
> <javascript:_e(%7B%7D,'cvml','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
> <javascript:_e(%7B%7D,'cvml','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
> <javascript:_e(%7B%7D,'cvml','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
> <javascript:_e(%7B%7D,'cvml','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
> <javascript:_e(%7B%7D,'cvml','geonode-users at lists.osgeo.org');>
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> --
> Simone
>
--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160304/a648b344/attachment.html>
More information about the geonode-users
mailing list