[mapserver-users] GetFeatureInfo over OGR OCI Layer

David Alda Fernandez de Lezea dalda at ikt.es
Fri Oct 1 04:25:58 PDT 2010


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
··················································································



More information about the MapServer-users mailing list