<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br>I'm looking to use mapserver to provide WFS data layers to QGIS clients. I need to display the layer using a data field to control symbology (symbol size), but QGIS can only use an integer field for this.<br><br>As below, mapserver identifies all the elements as strings, which is a problem. The data source is a Postgis table, the data statement generates an integer field to use to scale the layer, but mapserver seems to cast it as a string.<br><br>Is there any way to have mapserver specify a WFS integer element from a Postgis layer? <br><br><br>Thanks,<br><br>&nbsp; Brent Wood<br><br><br><a target="_blank" href="http://boi.wms.niwa.co.nz/cgi-bin/cc_scaled_spp?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DESCRIBEFEATURETYPE&amp;TYPENAME=Scaled_species"><span class="yshortcuts"
 id="lw_1290478911_0">http://boi.wms.niwa.co.nz/cgi-bin/cc_scaled_spp?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DESCRIBEFEATURETYPE&amp;TYPENAME=Scaled_species</span></a><br><br>−<br>&lt;schema targetNamespace="<a target="_blank" href="http://mapserver.gis.umn.edu/mapserver"><span class="yshortcuts" id="lw_1290478911_1">http://mapserver.gis.umn.edu/mapserver</span></a>" elementFormDefault="qualified" version="0.1"&gt;<br>&lt;import namespace="<a target="_blank" href="http://www.opengis.net/gml"><span class="yshortcuts" id="lw_1290478911_2">http://www.opengis.net/gml</span></a>" schemaLocation="<a target="_blank" href="http://schemas.opengis.net/gml/2.1.2/feature.xsd"><span class="yshortcuts" id="lw_1290478911_3">http://schemas.opengis.net/gml/2.1.2/feature.xsd</span></a>"/&gt;<br>&lt;element name="Scaled_species" type="ms:Scaled_speciesType" substitutionGroup="gml:_Feature"/&gt;<br>−<br>&nbsp;&nbsp;&nbsp; &lt;complexType
 name="Scaled_speciesType"&gt;<br>−<br>&nbsp;&nbsp;&nbsp;
 &lt;complexContent&gt;<br>−<br>&nbsp;&nbsp;&nbsp; &lt;extension base="gml:AbstractFeatureType"&gt;<br>−<br>&nbsp;&nbsp;&nbsp; &lt;sequence&gt;<br>&lt;element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1"/&gt;<br>&lt;element name="id" type="string"/&gt;<br>&lt;element name="trip_code" type="string"/&gt;<br>&lt;element name="station_no" type="string"/&gt;<br>&lt;element name="date_s" type="string"/&gt;<br>&lt;element name="time_s" type="string"/&gt;<br>&lt;element name="mingdepth" type="string"/&gt;<br>&lt;element name="maxgdepth" type="string"/&gt;<br>&lt;element name="abu_class" type="string"/&gt;<br>&lt;element name="noper1000m2" type="string"/&gt;<br>&lt;element name="otu" type="string"/&gt;<br>&lt;element name="phylum" type="string"/&gt;<br>&lt;element name="class" type="string"/&gt;<br>&lt;element name="order_" type="string"/&gt;<br>&lt;element name="family" type="string"/&gt;<br>&lt;element name="genus"
 type="string"/&gt;<br>&lt;element name="taxon" type="string"/&gt;<br>&lt;element name="scale" type="string"/&gt;<br>&lt;/sequence&gt;<br>&lt;/extension&gt;<br>&lt;/complexContent&gt;<br>&lt;/complexType&gt;<br>&lt;/schema&gt;<br><br><br>--- On <b>Sat, 10/16/10, thomas bonfort <i>&lt;thomas.bonfort@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: thomas bonfort &lt;thomas.bonfort@gmail.com&gt;<br>Subject: [mapserver-users] FW: announcing mod_geocache: an apache tiling module<br>To: "MapserverList OSGEO" &lt;mapserver-users@lists.osgeo.org&gt;<br>Date: Saturday, October 16, 2010, 5:35 AM<br><br><div class="plainMail">Hi mapserver users,<br>(reposting here as I messed up the mapserver-users email address, you<br>should imagine I should know it has changed by now :) - please respond<br>to <a ymailto="mailto:tiling@lists.osgeo.org"
 href="/mc/compose?to=tiling@lists.osgeo.org">tiling@lists.osgeo.org</a> so as not to pollute this list)<br><br>Having followed the tiling sessions at<br>Barcelona, it seemed to me like a good idea to explore having a tiling<br>backend directly as an apache module (i.e directly implemented in C).<br>I have a preliminary implementation hosted at<br><a href="http://code.google.com/p/mod-geocache/" target="_blank">http://code.google.com/p/mod-geocache/</a>, that currently supports WMS<br>requests (as a client and server), metatiling and dynamic tile<br>merging. The architecture is very much inspired by the tilecache code.<br><br>the aims of the project are:<br> * keep performance in mind at all times<br> * simplify server deployment, not having to install and configure<br>python/mod_python/...<br> * support wms backends, and offer frontends for wms, wmts and tms<br> * enable (by configuration) the proxying or rescaling of requests<br>that cannot be directly
 served from cache<br> * various image optimisations (watermarking, quantization, ...)<br><br>a preliminary benchmark againt tilecache can be found here:<br><a href="http://code.google.com/p/mod-geocache/wiki/PreliminaryBenchmark" target="_blank">http://code.google.com/p/mod-geocache/wiki/PreliminaryBenchmark</a><br><br>I would be happy to discuss on the subject with any folks or<br>organisations willing to contribute or ready to fund ongoing<br>development.<br><br>Best regards,<br><br>Thomas Bonfort<br>Terriscope EURL, Toulouse, France<br>_______________________________________________<br>mapserver-users mailing list<br><a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></div></blockquote></td></tr></table>