Re: [Geoserver-users] GetFeatureInfo and fid (primary key)

2011-04-17 Thread Andrea Aime
On Thu, Apr 14, 2011 at 9:00 AM, Mirko Bothe mirko.bo...@uni-rostock.de wrote: Hello, do you really need the text/plain format? As far as I remember, the fid will be included if you use either html (text/html) output or GML (application/vnd.ogc.gml, I think) output. If you have to use

Re: [Geoserver-users] GetFeatureInfo and fid (primary key)

2011-04-14 Thread Mirko Bothe
Hello, do you really need the text/plain format? As far as I remember, the fid will be included if you use either html (text/html) output or GML (application/vnd.ogc.gml, I think) output. If you have to use text/plain, I am not sure if you can get the fid. Maybe it is customizable in some

[Geoserver-users] GetFeatureInfo and fid (primary key)

2011-04-13 Thread Paw3l
Hi, I would like to get a fid of my clicked feature with GetFeatureInfo. It is not possible with default settings. I have: var params = { REQUEST: GetFeatureInfo, EXCEPTIONS: application/vnd.ogc.se_xml, BBOX: map.getExtent().toBBOX(),

Re: [Geoserver-users] GetFeatureInfo and fid (primary key)

2011-04-13 Thread Rahkonen Jukka
Vastaanottaja: geoserver-users@lists.sourceforge.net Aihe: [Geoserver-users] GetFeatureInfo and fid (primary key) Hi, I would like to get a fid of my clicked feature with GetFeatureInfo. It is not possible with default settings. I have: var params = { REQUEST: GetFeatureInfo

Re: [Geoserver-users] GetFeatureInfo and fid (primary key)

2011-04-13 Thread hassane
Hello; please where do you write your query's code, in wich file ? : var params = { REQUEST: GetFeatureInfo, EXCEPTIONS: application/vnd.ogc.se_xml, BBOX: map.getExtent().toBBOX(), X: e.xy.x, Y:

Re: [Geoserver-users] GetFeatureInfo and fid (primary key)

2011-04-13 Thread Ben Caradoc-Davies
Have you tried configuring the server to Expose primary keys? This is a data store option. You should be able to deduce the fid from the primary key. Kind regards, Ben. On 14/04/11 05:09, Paw3l wrote: Hi, I would like to get a fid of my clicked feature with GetFeatureInfo. It is not