[MS4W-Users] GetFeatureInfo over OGR OCI Layer

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Oct 1 08:31:00 EST 2010


Hi David,

I am not sure (it looks like you have correctly set DUMP TRUE and 
gml_include_items properly for GML output).  Have you tried 
getfeatureinfo/gml on another layer, that is not through OGR:OCI ?

By the way, here is a working getfeatureinfo with gml output (but the 
layer is just a shapefile): 
http://demo.mapserver.org/cgi-bin/mapserv?map=/osgeo/mapserver/ogc-demos/map/wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&BBOX=-11.332970,24.121208,47.584718,57.965035&SRS=EPSG:4326&WIDTH=1001&HEIGHT=575&LAYERS=cities&STYLES=&FORMAT=image/png&TRANSPARENT=true&QUERY_LAYERS=cities&INFO_FORMAT=gml&X=229&Y=280

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




On 10-10-01 9:18 AM, David Alda Fernandez de Lezea wrote:
> Hi list,
>
> I'm trying to execute a GetFeatureInfo request over an Oracle layer via OGR. I can view the content of the layer, but when I make the request I don't get any result. I mean, I receive an empty GML. My layer config:
>
> LAYER
> 		STATUS ON
> 		CONNECTION "OCI:admcarto/admcarto at ORA10GEX"
> 		CONNECTIONTYPE OGR
> 		DATA "GV_SIGPAC_REC_ED50" #todo el sigpac
> 		NAME "RecintosSigpacOGR"
> 		PROJECTION
> 			"init=epsg:23030"
> 		END
> 		DUMP TRUE
> 		TYPE POLYGON
> 		METADATA
> 			"wms_title"			  "Recintos Sigpac 2009"
> 			"wms_srs"             "EPSG:23030"
> 			"wms_name"            "RecintosSigpacOGR"
> 			"wms_server_version"  "1.1.1"
> 			"wms_format"          "image/gif"
> 			"wms_transparent"     "true"
> 			"wms_extent"		  "460000 4690000 610000 4820000"
> 			"wms_include_items"	  "all"
> 			"gml_include_items" "all"
> 		END	
> 		MAXSCALE 10000
> 		
> 		TEMPLATE "ms_template.html"
> 		PROCESSING "LABEL_NO_CLIP=ON"
> 		PROCESSING "CLOSE_CONNECTION=DEFER"
> 		SYMBOLSCALE 5000
> 		
> 		#Simbologia
> 		CLASSGROUP "Simbologia_Recintos"
> 		CLASS
> 			TEXT ([PARCELA]:[RECINTO])
> 			STYLE
> 				OUTLINECOLOR 0 234 0
> 			END
> 			LABEL
> 				COLOR 254 254 255
> 				OUTLINECOLOR 0 0 0
> 				TYPE truetype
> 				FONT "sans"
> 				SIZE 6
> 				POSITION cc
> 				PARTIALS TRUE
> 			END
> 			NAME "RecintosSigPac"
> 			GROUP "Referencia_Sigpac"
> 		END
> 		
> 		CLASS
> 			STYLE
> 				OUTLINECOLOR 0 234 0
> 				WIDTH 1
> 			END
> 			NAME "RecintosSigPac"
> 			GROUP "Predeterminado"
> 		END
> 		
> 	END
>
> Resultant file
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <msGMLOutput
> 	 xmlns:gml="http://www.opengis.net/gml"
> 	 xmlns:xlink="http://www.w3.org/1999/xlink"
> 	 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> </msGMLOutput>
>
> Any ideas? Something wrong configured?
>
> Thanks.
>
>
>
>
> Un saludo,
>
> ··················································································
>
> David Alda Fernández de Lezea
> Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
>
> IKT
> Granja Modelo s/n · 01192 · Arkaute (Araba)
>
> ··················································································
> Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
> ··················································································
> email: dalda at ikt.es                                web: www.ikt.es
> ··················································································
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>



More information about the MS4W-Users mailing list