<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> Brent Wood<br><br><br><a target="_blank" href="http://boi.wms.niwa.co.nz/cgi-bin/cc_scaled_spp?SERVICE=WFS&VERSION=1.0.0&REQUEST=DESCRIBEFEATURETYPE&TYPENAME=Scaled_species"><span class="yshortcuts"
id="lw_1290478911_0">http://boi.wms.niwa.co.nz/cgi-bin/cc_scaled_spp?SERVICE=WFS&VERSION=1.0.0&REQUEST=DESCRIBEFEATURETYPE&TYPENAME=Scaled_species</span></a><br><br>−<br><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"><br><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>"/><br><element name="Scaled_species" type="ms:Scaled_speciesType" substitutionGroup="gml:_Feature"/><br>−<br> <complexType
name="Scaled_speciesType"><br>−<br>
<complexContent><br>−<br> <extension base="gml:AbstractFeatureType"><br>−<br> <sequence><br><element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1"/><br><element name="id" type="string"/><br><element name="trip_code" type="string"/><br><element name="station_no" type="string"/><br><element name="date_s" type="string"/><br><element name="time_s" type="string"/><br><element name="mingdepth" type="string"/><br><element name="maxgdepth" type="string"/><br><element name="abu_class" type="string"/><br><element name="noper1000m2" type="string"/><br><element name="otu" type="string"/><br><element name="phylum" type="string"/><br><element name="class" type="string"/><br><element name="order_" type="string"/><br><element name="family" type="string"/><br><element name="genus"
type="string"/><br><element name="taxon" type="string"/><br><element name="scale" type="string"/><br></sequence><br></extension><br></complexContent><br></complexType><br></schema><br><br><br>--- On <b>Sat, 10/16/10, thomas bonfort <i><thomas.bonfort@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: thomas bonfort <thomas.bonfort@gmail.com><br>Subject: [mapserver-users] FW: announcing mod_geocache: an apache tiling module<br>To: "MapserverList OSGEO" <mapserver-users@lists.osgeo.org><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>