steve.lime at DNR.STATE.MN.US
Mon Feb 20 15:57:13 EST 2006
If you query the SDE layer, irregardless of the schema output, what do you get?
>>> Brock Anderson <banders at REFRACTIONS.NET> 02/17/06 5:23 PM >>>
You're right, describeFeatureType does work on a shapefile layer, but
not the SDE layer.
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?
>>>>Brock Anderson <banders at REFRACTIONS.NET> 02/16/06 4:04 PM >>>
>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.
> NAME 'CRIMS_CLAM_BEDS'
> CONNECTIONTYPE sde
> CONNECTION "..."
> DATA "..."
> NAME "Clam Beds"
> COLOR 255 165 0
> OUTLINECOLOR 0 0 0
> END #style
> END #class
> TYPE polygon
> STATUS ON
> END #projection
> "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