WMS GetFeatureInfo and SDE problem

Bart van den Eijnden (OSGIS) bartvde at OSGIS.NL
Tue Feb 27 05:51:09 PST 2007


Hi list,

I am trying to get WMS GetFeatureInfo to work on an ArcSDE layer, but I
don't get back any items/attributes. WFS GetFeature works fine. Using
4.10.1.

The request I am trying is:

http://.../services/geoservices/agi?LAYERS=waterplanten_bedekking&REQUEST=GetFeatureInfo&SERVICE=WMS&FORMAT=image%2Fpng&STYLES=default&HEIGHT=450&QUERY_LAYERS=waterplanten_bedekking&VERSION=1.1.1&SRS=EPSG:28992&WIDTH=750&BBOX=133963.010224851%2C482313.166697811%2C138375.946327149%2C484960.928359189&TRANSPARENT=TRUE&INFO_FORMAT=text/plain&X=286&EXCEPTIONS=application%2Fvnd.ogc.se_xml&Y=311

Which gives back:
GetFeatureInfo results:

Layer 'waterplanten_bedekking'
  Feature 27865: 

This is my LAYER defintion:

  LAYER
    PROCESSING "CLOSE_CONNECTION=DEFER"
    CONNECTION "145.50.64.40,5152,esri_sde,AGI,AGI"
    CONNECTIONTYPE SDE
    DATA "BEHEERDER.waterplanten_bedekking,SHAPE,sde.DEFAULT"
    DUMP TRUE
      METADATA
        "ows_title"     "Beheerder Waterplanten bedekking"
        "gml_include_items" "all"
        "gml_featureid" "OBJECTID"
      END
    NAME "waterplanten_bedekking"
    PROJECTION
      "init=epsg:28992"
    END
    SIZEUNITS PIXELS
    STATUS ON
    TEMPLATE "blank.html"
    TOLERANCEUNITS PIXELS
    TYPE POLYGON
    UNITS METERS
    CLASS
      NAME "0%"
      EXPRESSION ([GRIDCODE] = 0)
      METADATA
      END
      STYLE
        ANGLE 360
        COLOR 225 225 225
        SYMBOL 0
      END
    END
  END

What am I missing?

I also noted that in the WFS GetFeature and DescribeFeatureType response
OBJECTID comes out twice. Is this intentional?

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the MapServer-users mailing list