Thanks guys, It seems that is it is not a QGIS problem,
Now off to the mapserver list, as I can't see any way of setting this in Mapserver! As you suggested, the getfeaturetype request shows all fields except geometry as strings: http://boi.wms.niwa.co.nz/cgi-bin/cc_scaled_spp?SERVICE=WFS&VERSION=1.0.0&REQUEST=DESCRIBEFEATURETYPE&TYPENAME=Scaled_species − <schema targetNamespace="http://mapserver.gis.umn.edu/mapserver" elementFormDefault="qualified" version="0.1"> <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/> <element name="Scaled_species" type="ms:Scaled_speciesType" substitutionGroup="gml:_Feature"/> − <complexType name="Scaled_speciesType"> − <complexContent> − <extension base="gml:AbstractFeatureType"> − <sequence> <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1"/> <element name="id" type="string"/> <element name="trip_code" type="string"/> <element name="station_no" type="string"/> <element name="date_s" type="string"/> <element name="time_s" type="string"/> <element name="mingdepth" type="string"/> <element name="maxgdepth" type="string"/> <element name="abu_class" type="string"/> <element name="noper1000m2" type="string"/> <element name="otu" type="string"/> <element name="phylum" type="string"/> <element name="class" type="string"/> <element name="order_" type="string"/> <element name="family" type="string"/> <element name="genus" type="string"/> <element name="taxon" type="string"/> <element name="scale" type="string"/> </sequence> </extension> </complexContent> </complexType> </schema> --- On Mon, 11/22/10, Paolo Cavallini <[email protected]> wrote: From: Paolo Cavallini <[email protected]> Subject: Re: [Qgis-user] Symbology problem for WFS layers To: [email protected] Date: Monday, November 22, 2010, 9:27 PM Il 22/11/2010 04:08, [email protected] ha scritto: > Hi, > > It seems, with the WFS plugin, that QGIS sets all attribute types to > string, and therefore users cannot scale symbology on an attribute with > a WFS layer. I do not confirm this. In my case, WFS keeps numeric values. All the best. -- http://www.faunalia.it/pc _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
