WFS describeFeatureType

Brock Anderson banders at REFRACTIONS.NET
Fri Feb 17 15:23:49 PST 2006


You're right, describeFeatureType does work on a shapefile layer, but 
not the SDE layer. 

Ideas anyone?

Brock

Steve Lime wrote:

>I'm wondering if this might be somehow SDE related. I'm using 4.9 from just a few
>minutes ago without any trouble. What happens if you point at a shapefile?
>
>Steve
>
>  
>
>>>>Brock Anderson <banders at REFRACTIONS.NET> 02/16/06 4:04 PM >>>
>>>>        
>>>>
>Hi List,
>
>I am making WFS describeFeatureType requests to Mapserver 4.9 (from CVS 
>this morning), but the response doesn't list any attributes.  I think I 
>have taken all the usual steps to enable WFS, including:
>
>- setting the LAYER's metadata "gml_include_items" to "all"
>- setting DUMP TRUE in the LAYER
>
>The same request and map file work against Mapserver 4.6 -- in that case 
>the describeFeatureType response lists all the attributes.  Has 
>something changed in the new mapserver?  What does it take to allow 
>Mapserver to list the attributes?
>
>My LAYER definition is below.
>
>Thanks,
>
>Brock
>
>
>  LAYER
>    NAME 'CRIMS_CLAM_BEDS'
>    CONNECTIONTYPE sde
>    CONNECTION "..."
>    DATA "..."
>    CLASS
>      NAME "Clam Beds"
>      STYLE
>        COLOR 255 165 0
>        OUTLINECOLOR 0 0 0
>      END #style
>    END #class
>    TYPE polygon
>    STATUS ON
>    PROJECTION
>        "init=EPSG:3005"
>    END #projection
>    METADATA
>      "wms_title" "Clam Beds"
>      "wfs_title" "Clam Beds"
>      "gml_include_items" "all"
>    END #metadata
>    DUMP TRUE
>    TEMPLATE "bla"
>  END #end layer
>  
>



More information about the MapServer-users mailing list