Can any one give me an example for limiting attributes(filed names) with Getfeatureinfo. I don’t want all columns to be retrieved.
Thank you
sur
Can any one give me an example for limiting attributes(filed names) with Getfeatureinfo. I don’t want all columns to be retrieved.
Thank you
sur
Surendran K.N ha scritto:
Can any one give me an example for limiting attributes(filed names) with Getfeatureinfo. I don't want all columns to be retrieved.
There is no way to limit the colums to be returned.
Did you want to be able to choose the columns dynamically, in the
request, or statically, to hide columns from the users?
The former already has a ticket, but no solution:
http://jira.codehaus.org/browse/GEOS-2630
The latter does not have a ticket in the issue tracker afaik
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Hi,
This can be done with Mapserver but not with Geoserver.
-Jukka Rahkonen-
Surendran K.N wrote:
Can any one give me an example for limiting attributes(filed names) with
Getfeatureinfo. I don't want all columns to be retrieved.
Thank you
sur
Andrea
Since I have many layers , where the the active layer selected by a radio button, What I am planing to do is to display all field names of selected table and let user be able to select the columns to display.
So this need to choose the columns dynamically.
I will look forward to the solution http://jira.codehaus.org/browse/GEOS-2630
Thank you
On Tue, Jul 6, 2010 at 1:55 AM, Andrea Aime <aaime@anonymised.com> wrote:
Surendran K.N ha scritto:
Can any one give me an example for limiting attributes(filed names) with Getfeatureinfo. I don’t want all columns to be retrieved.
There is no way to limit the colums to be returned.
Did you want to be able to choose the columns dynamically, in the
request, or statically, to hide columns from the users?The former already has a ticket, but no solution:
http://jira.codehaus.org/browse/GEOS-2630
The latter does not have a ticket in the issue tracker afaikCheers
Andrea–
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
On Tue, Jul 6, 2010 at 12:12 PM, Surendran K.N <surendrankn@anonymised.com> wrote:
Andrea
Since I have many layers , where the the active layer selected by a radio
button, What I am planing to do is to display all field names
of selected table and let user be able to select the columns to display.So this need to choose the columns dynamically.
I will look forward to the solution
http://jira.codehaus.org/browse/GEOS-2630
In the mean time you could make a WFS getFeature request, which does
allow you to limit the columns in the response.
Ian
--
Ian Turton
Andrea,
I was trying to work with WFS getFeature request, ad I was partialy success.
I got he following example from OGC WMS 1.1.0 Implementation Specification document (Example10, page68) and this refers to
the OGC WFS Specification Section 13.2.2 on how to form lists of parameters.
Example 10
Query some properties of a list of feature types. In this case, the attributes WKB_GEOM and TILE_ID are fetched for the INWATERA_1M feature type and all the attributes of feature type BUILTUPA_1M are fetched.
http://www.someserver.com/wfs.cgi&
SERVICE=WFS&
VERSION=1.0.0&
REQUEST=GetFeature&
PROPERTY=(INWATERA_1M/WKB_GEOM,INWATERA_1M/TILE_ID)(BUILTUPA_1M/*)&
TYPENAME=INWATERA_1M,BUILTUPA_1M
I am using Geoserver version 2.0.2. and I am getting errors when I try to use some thing similar to the above example.
“Requested property: PropertyName1 is not available” The possible propertyName values are:[PropertyName1, , , , , ]
could some one give me the correct method to implement this .
Thank you
sur
On Tue, Jul 6, 2010 at 1:24 PM, Ian Turton <ijturton@anonymised.com> wrote:
On Tue, Jul 6, 2010 at 12:12 PM, Surendran K.N <surendrankn@anonymised.com> wrote:
Andrea
Since I have many layers , where the the active layer selected by a radio
button, What I am planing to do is to display all field names
of selected table and let user be able to select the columns to display.So this need to choose the columns dynamically.
I will look forward to the solution
http://jira.codehaus.org/browse/GEOS-2630In the mean time you could make a WFS getFeature request, which does
allow you to limit the columns in the response.Ian
–
Ian Turton