[Geoserver-users] problem with layer alias and getFeatureInfo request

Hi, I have recently installed the new Geoserver version 1.7.3a. and I have a problem with layers alias. I work with a PostGis database, the version of PostGreSQL is 8.3.5 and the version of PostGis is 1.3.5. In PostGis, the layer name is for example : my_layer, when I configure it in Geoserver I give it an alias name like My Layer. The problem is when I want to receive entity information with getFeatureInfo request I receive nothing. Here my content.ftl wich is very simple <#list features as feature> <#list feature.attributes as attribute> <#if !attribute.isGeometry> ${attribute.name} : ${attribute.value}
In fact, it seems that the features list is empty. If before the <#list features as feature> tag I write ${type.attributes} ${features} I can read the type.attributes but features list appears as an empty array. If I do not give an alias to the layer the getFeatureInfo requesst works fine! Is there any solution with this issue? Or is it a known bug and I have to downgrade to an old version to geoserver. Thanks in advance for anyone that have a response or a solution.


View this message in context: problem with layer alias and getFeatureInfo request
Sent from the GeoServer - User mailing list archive at Nabble.com.

I was able to reproduce this one. I have filed a jira to be fixed for 1.7.4:

http://jira.codehaus.org/browse/GEOS-2820

The fix is straight forward, i will commit it in a few minutes so if you want to grab the next nightly build you should see this fixed.

-Justin

JBRS34 wrote:

Hi, I have recently installed the new Geoserver version 1.7.3a. and I have a problem with layers alias. I work with a PostGis database, the version of PostGreSQL is 8.3.5 and the version of PostGis is 1.3.5. In PostGis, the layer name is for example : my_layer, when I configure it in Geoserver I give it an alias name like My Layer. The problem is when I want to receive entity information with getFeatureInfo request I receive nothing. Here my content.ftl wich is very simple /<#list features as feature> <#list feature.attributes as attribute> <#if !attribute.isGeometry> ${attribute.name} : ${attribute.value}
/ In fact, it seems that the features list is empty. If before the <#list features as feature> tag I write ${type.attributes} ${features} I can read the type.attributes but features list appears as an empty array. If I *do not give an alias to the layer the getFeatureInfo requesst works fine!* Is there any solution with this issue? Or is it a known bug and I have to downgrade to an old version to geoserver. Thanks in advance for anyone that have a response or a solution.
------------------------------------------------------------------------
View this message in context: problem with layer alias and getFeatureInfo request <http://www.nabble.com/problem-with-layer-alias-and-getFeatureInfo-request-tp22830631p22830631.html&gt;
Sent from the GeoServer - User mailing list archive <http://www.nabble.com/GeoServer---User-f1194.html&gt; at Nabble.com.

------------------------------------------------------------------------

------------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

I downloaded the latest nightly build and tested it, but I have still this bug. I work with the war version deployed into tomcat 6. Thanks for your help.

Justin Deoliveira-6 wrote:
I was able to reproduce this one. I have filed a jira to be fixed for 1.7.4: http://jira.codehaus.org/browse/GEOS-2820 The fix is straight forward, i will commit it in a few minutes so if you want to grab the next nightly build you should see this fixed. -Justin JBRS34 wrote: > Hi, I have recently installed the new Geoserver version 1.7.3a. and I > have a problem with layers alias. I work with a PostGis database, the > version of PostGreSQL is 8.3.5 and the version of PostGis is 1.3.5. In > PostGis, the layer name is for example : my_layer, when I configure it > in Geoserver I give it an alias name like My Layer. The problem is when > I want to receive entity information with getFeatureInfo request I > receive nothing. Here my content.ftl wich is very simple /<#list > features as feature> <#list feature.attributes as attribute> <#if > !attribute.isGeometry> ${attribute.name} : ${attribute.value} > / In fact, it seems that the features list is empty. If before the > <#list features as feature> tag I write ${type.attributes} ${features} I > can read the type.attributes but features list appears as an empty > array. If I do not give an alias to the layer the getFeatureInfo > requesst works fine! Is there any solution with this issue? Or is it a > known bug and I have to downgrade to an old version to geoserver. Thanks > in advance for anyone that have a response or a solution. > ------------------------------------------------------------------------ > View this message in context: problem with layer alias and > getFeatureInfo request >


View this message in context: Re: problem with layer alias and getFeatureInfo request
Sent from the GeoServer - User mailing list archive at Nabble.com.

I just wonder, was this problem fixed already?

i’m using 1.7.3 and have the same problem… i’m wondering if it’s worth upgrading.

2009/4/2 Jean-Baptiste Raynaud <jb.raynaud@anonymised.com>

I downloaded the latest nightly build and tested it, but I have still this bug. I work with the war version deployed into tomcat 6. Thanks for your help.

Justin Deoliveira-6 wrote:
I was able to reproduce this one. I have filed a jira to be fixed for 1.7.4: http://jira.codehaus.org/browse/GEOS-2820 The fix is straight forward, i will commit it in a few minutes so if you want to grab the next nightly build you should see this fixed. -Justin JBRS34 wrote: > Hi, I have recently installed the new Geoserver version 1.7.3a. and I > have a problem with layers alias. I work with a PostGis database, the > version of PostGreSQL is 8.3.5 and the version of PostGis is 1.3.5. In > PostGis, the layer name is for example : my_layer, when I configure it > in Geoserver I give it an alias name like My Layer. The problem is when > I want to receive entity information with getFeatureInfo request I > receive nothing. Here my content.ftl wich is very simple /<#list > features as feature> <#list feature.attributes as attribute> <#if > !attribute.isGeometry> ${attribute.name} : ${attribute.value} > / In fact, it seems that the features list is empty. If before the > <#list features as feature> tag I write ${type.attributes} ${features} I > can read the type.attributes but features list appears as an empty > array. If I do not give an alias to the layer the getFeatureInfo > requesst works fine! Is there any solution with this issue? Or is it a > known bug and I have to downgrade to an old version to geoserver. Thanks > in advance for anyone that have a response or a solution. > ------------------------------------------------------------------------ > View this message in context: problem with layer alias and > getFeatureInfo request > > Sent from the GeoServer - User mailing list archive > at Nabble.com. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users – Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users


View this message in context: Re: problem with layer alias and getFeatureInfo request
Sent from the GeoServer - User mailing list archive at Nabble.com.



Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Felipe Pierre Conter
felipeconter.cc@anonymised.com

The bug was marked as fixed yes, but the fix did not seem to work for Jean. Perhaps you can try and upgrade and let us know if you see it resolved.

Felipe Conter wrote:

I just wonder, was this problem fixed already?

i'm using 1.7.3 and have the same problem... i'm wondering if it's worth upgrading.

2009/4/2 Jean-Baptiste Raynaud <jb.raynaud@anonymised.com <mailto:jb.raynaud@anonymised.com>>

    I downloaded the latest nightly build and tested it, but I have
    still this bug. I work with the war version deployed into tomcat 6.
    Thanks for your help.

        Justin Deoliveira-6 wrote:
        I was able to reproduce this one. I have filed a jira to be
        fixed for 1.7.4: http://jira.codehaus.org/browse/GEOS-2820 The
        fix is straight forward, i will commit it in a few minutes so if
        you want to grab the next nightly build you should see this
        fixed. -Justin JBRS34 wrote: > Hi, I have recently installed the
        new Geoserver version 1.7.3a. and I > have a problem with layers
        alias. I work with a PostGis database, the > version of
        PostGreSQL is 8.3.5 and the version of PostGis is 1.3.5. In >
        PostGis, the layer name is for example : my_layer, when I
        configure it > in Geoserver I give it an alias name like My
        Layer. The problem is when > I want to receive entity
        information with getFeatureInfo request I > receive nothing.
        Here my content.ftl wich is very simple /<#list > features as
        feature> <#list feature.attributes as attribute> <#if >
        !attribute.isGeometry> ${attribute.name <http://attribute.name>}
        : ${attribute.value} > / In fact, it seems that the features
        list is empty. If before the > <#list features as feature> tag I
        write ${type.attributes} ${features} I > can read the
        type.attributes but features list appears as an empty > array.
        If I *do not give an alias to the layer the getFeatureInfo >
        requesst works fine!* Is there any solution with this issue? Or
        is it a > known bug and I have to downgrade to an old version to
        geoserver. Thanks > in advance for anyone that have a response
        or a solution. >
        ------------------------------------------------------------------------
         > View this message in context: problem with layer alias and >
        getFeatureInfo request > > Sent from the GeoServer - User
        mailing list archive > at Nabble.com. > > >
        ------------------------------------------------------------------------
         > >
        ------------------------------------------------------------------------------
         > > >
        ------------------------------------------------------------------------
         > > _______________________________________________ >
        Geoserver-users mailing list >
        Geoserver-users@lists.sourceforge.net
        <mailto:Geoserver-users@lists.sourceforge.net> >
        https://lists.sourceforge.net/lists/listinfo/geoserver-users --
        Justin Deoliveira OpenGeo - http://opengeo.org Enterprise
        support for open source geospatial.
        ------------------------------------------------------------------------------
        _______________________________________________ Geoserver-users
        mailing list Geoserver-users@lists.sourceforge.net
        <mailto:Geoserver-users@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/geoserver-users

    ------------------------------------------------------------------------
    View this message in context: Re: problem with layer alias and
    getFeatureInfo request
    <http://www.nabble.com/problem-with-layer-alias-and-getFeatureInfo-request-tp22830631p22843232.html&gt;
    Sent from the GeoServer - User mailing list archive
    <http://www.nabble.com/GeoServer---User-f1194.html&gt; at Nabble.com.

    ------------------------------------------------------------------------------

    _______________________________________________
    Geoserver-users mailing list
    Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Felipe Pierre Conter
felipeconter.cc@anonymised.com <mailto:felipeconter.cc@anonymised.com>

------------------------------------------------------------------------

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.