| 05:38:17 | strk: | WMS GetFeatureInfo time |
| 05:38:34 | strk: | where "iso2" = 0 |
| 05:38:39 | strk: | ^^^ mapserver uses such a thing |
| 05:39:02 | strk: | only if my query point really hits something |
| 05:39:10 | strk: | so I guess mapserver is trying to fetch informations from the table |
| 05:39:14 | strk: | by 'id' |
| 05:39:22 | strk: | I have an 'using unique iso2' in my DATA |
| 05:39:29 | strk: | now, why is it always 0 ??? |
| 05:39:35 | strk: | ( no, iso2 is not an integer ) |
| 05:39:41 | strk: | is that the problem ? |
| 05:40:16 | strk: | it's in msPostGISLayerGetShape |
| 05:41:20 | strk: | int msPostGISLayerGetShape( layerObj *layer, shapeObj *shape, int tile, long record ) { |
| 05:41:39 | strk: | is 'record' the 'unique' identifier specified in the mapfile ? |
| 05:41:49 | strk: | forceably an integer ? |
| 05:43:12 | : | * strk answers to self: YES |
| 05:49:13 | bitnerd: | strk: having a good conversation? |
| 06:40:18 | strk: | not very satisfactory : ) |
| 06:56:49 | strk: | which INFO_FORMAT are supported for getFeatureInfo ? |
| 07:03:37 | jmckenna: | strk: supported getfeatureinfo formats are listed in the getcapabilities of the WMS service |
| 07:11:29 | strk: | uhm, well this would by under my control so the question is really about mapserver capabilities |
| 07:11:51 | strk: | I get it depends on wms_feature_info_mime_type ? |
| 07:13:45 | strk: | a-ha! |
| 07:14:07 | strk: | application/vnd.ogc.gml comes with no explicit wms_feature_info_mime_type ( thanks jmckenna ) |
| 07:19:56 | strk: | uhm, I get an empty msGMLOutput tag |
| 07:20:13 | strk: | whereas text/plain does return informations about a feature clicking on the same spot |
| 07:23:08 | strk: | Im probably missing some METADATA to tell it what to send ? |
| 07:24:42 | strk: | I do have 'ows_include_items' |
| 07:25:44 | strk: | does anyone do WMS getFeatureInfo with GML output here ? |
| 07:26:49 | strk: | online doc say "application/vnd.ogc.gml, GML.1 or GML for GML features." |
| 07:26:55 | strk: | http://mapserver.org/ogc/wms_server.html |
| 07:26:56 | sigabrt: | Title: WMS Server MapServer 5.4.2 documentation ( at mapserver.org ) |
| 07:28:06 | strk: | grrrr gml_ != ows_ != wfs_ ... |
| 07:28:21 | strk: | but still doesn't work |
| 07:30:00 | strk: | DUMP is true |
| 07:36:01 | strk: | that's it. I was hacking the wrong mapfile.... sorry for the noise, I'll go hiding somewhere for the rest of the day |