librelist archives

« back to archive

GeoNode 1.1-RC1 Feature Info Templates

GeoNode 1.1-RC1 Feature Info Templates

From:
Andrew Jeffrey
Date:
2011-09-26 @ 11:35
Hi,

Is there an issue with the feature info templates in the Map composer? 
When using the identify tool in the map composer I seem to  be getting 
unformatted info results. However when I use the info tool after uploading
a shape file it has a nicely formatted identify results.

Are there two sets of .ftl (feature templates…can't quite remember the 
extension off the top of my head) files that area used by GeoServer?

Thanks
Ando

Re: [geonode] GeoNode 1.1-RC1 Feature Info Templates

From:
David Winslow
Date:
2011-09-26 @ 13:54
GeoNode doesn't modify the way that feature info templates are resolved in
GeoServer, so this page from the GeoServer manual is applicable:
http://docs.geoserver.org/stable/en/user/tutorials/GetFeatureInfo/index.html

I haven't investigated, but I think the difference in appearance between the
two viewers is due to some differences in the CSS stylesheets applied to the
two pages.  However, there's a push coming from several subprojects of
GeoNode to use ExtJS grids instead of "raw" HTML.  That would unify the
appearance and make us independent of Freemarker templates.

If you are technically inclined, you could try out the pending changes from
the WorldMap team:
https://github.com/GeoNode/geonode/pull/65
https://github.com/GeoNode/geonode-client/pull/4

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Sep 26, 2011 at 7:35 AM, Andrew Jeffrey <aljeffrey83@gmail.com>wrote:

> Hi,
>
> Is there an issue with the feature info templates in the Map composer? When
> using the identify tool in the map composer I seem to  be getting
> unformatted info results. However when I use the info tool after uploading a
> shape file it has a nicely formatted identify results.
>
> Are there two sets of .ftl (feature templates…can't quite remember the
> extension off the top of my head) files that area used by GeoServer?
>
> Thanks
> Ando