Re: [Qgis-user] Symbology problem for WFS layers
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 − http://mapserver.gis.umn.edu/mapserver"; elementFormDefault="qualified" version="0.1"> http://www.opengis.net/gml"; schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/> − − − − --- On Mon, 11/22/10, Paolo Cavallini wrote: From: Paolo Cavallini Subject: Re: [Qgis-user] Symbology problem for WFS layers To: qgis-user@lists.osgeo.org Date: Monday, November 22, 2010, 9:27 PM Il 22/11/2010 04:08, pcr...@pcreso.com 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 Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Symbology problem for WFS layers
Hi Brent Some WFS servers advertise all fields as text by default. Could you check what the DescribeFeatureType (e.g. 'http://mywfs.com/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=') output is? Regards, Marco Am Montag, 22. November 2010, um 09.27:44 schrieb Paolo Cavallini: > Il 22/11/2010 04:08, pcr...@pcreso.com 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. -- Dr. Marco Hugentobler Sourcepole - Linux & Open Source Solutions Churerstr. 22, CH-8808 Pfäffikon SZ, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Symbology problem for WFS layers
Il 22/11/2010 04:08, pcr...@pcreso.com 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 Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Symbology problem for WFS layers
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 have a Postgis table I'm exporting via WFS (UMN mapserver) with an SQL which calculates a scale to size each record by, which is output as an integer field, but QGIS treats this column as a string. Is there any planned fix for this? If not, I know "sponsorship" is not applied to user priorities, but if there is a developer interested in addressing this issue, I have access to limited funding. One possible solution, for my needs anyway, would be to have a hard coded column name be treated as an integer for symbology purposes by the WFS plugin?, eg: "scale" or "integer" Thanks, Brent Wood ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user