[mapserver-users] WFS - DescribeFeatureType

Guillaume Sueur guillaume.sueur at neogeo-online.net
Wed Mar 12 02:22:03 PDT 2008


Will that work if no SLD is yet associated to the mapfile and maplayer ?


Jacolin Yves a écrit :
> Hi,
> 
> With a geStyle resquest, you get something like this for the polygon layer :
> <PolygonSymbolizer>
>                   <Fill>
>                      <CssParameter name="fill">#aaaa7f</CssParameter>
>                   </Fill>
>                   <Stroke>
>                      <CssParameter name="stroke">#000000</CssParameter>
>                   </Stroke>
> </PolygonSymbolizer>
> 
> For a polyline layer:
> <LineSymbolizer>
>   <Stroke>
>      <CssParameter name="stroke">#000000</CssParameter>
>      <CssParameter name="stroke-width">1</CssParameter>
>   </Stroke>
> </LineSymbolizer>
> 
> For a point layer:
> 
> <PointSymbolizer>
>   <Graphic>
>     <Mark>
>        <WellKnownName>circle</WellKnownName>
>        <Fill>
>            <CssParameter name="fill">#0000c8</CssParameter>
>        </Fill>
>      </Mark>
>      <Size>5</Size>
>   </Graphic>
> </PointSymbolizer>
> 
> Y.
> Le Wednesday 12 March 2008 10:14:07 Guillaume Sueur, vous avez écrit :
>> which kind of SLD request ?
>> Actually, I need the geomType to specify which SLD template to associate
>> with the layer...
>>
>> Jacolin Yves a écrit :
>>> Le Wednesday 12 March 2008 10:05:11 Guillaume Sueur, vous avez écrit :
>>>> Hi again,
>>>>
>>>> I'm trying to use describeFeatureType to retrieve type and fields of a
>>>> given layer.
>>>> While it looks right for attibute data, the GeomType is not precise :
>>>> <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0"
>>>> maxOccurs="1"/>
>>>>
>>>> The only piece of information I get in there is that the Geometry is of
>>>> GeometryType, which I don't need any WFS request for !
>>>>
>>>> Is there a specific METADATA item to add or use to be able to have the
>>>> precise type (PolygonPropertyType for instance) ?
>>>>
>>>> Thanks,
>>> Hi Guillaume,
>>>
>>> You can use a SLD request on the layer.
>>>
>>> Y.
> 
> 
> 

-- 
Guillaume SUEUR
Expert SIG et OpenSource
NEOGEO
46 RUE MATABIAU
31000 TOULOUSE
06 74 91 95 20
Site web : http://www.neogeo-online.net




More information about the MapServer-users mailing list