<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hi,<br><br>I'm try to use the DescribefeatureType from mapserver (not tiny).<br><br></div>I notice that is return different fildtype in layers that should be equals.<br>
<br></div>As example:<br><br></div>This url get the describe from a layer (from a view of postgres)<br><br><a href="http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsricerche&service=wfs&version=1.1.0&request=DescribeFeatureType&typename=lista_comuni.rt.poly">http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsricerche&service=wfs&version=1.1.0&request=DescribeFeatureType&typename=lista_comuni.rt.poly</a><br>
<br></div>As can see the "nprov" field is defined of type "Character" and the "min_x" is a "Real" type.<br><br></div>Instead with this url I get the describe from another layer (always a view of postgres).<br>
<br><a href="http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsricerche&service=wfs&version=1.1.0&request=DescribeFeatureType&typename=lista_province.rt.poly">http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsricerche&service=wfs&version=1.1.0&request=DescribeFeatureType&typename=lista_province.rt.poly</a><br>
<br></div>now the "nprov" is a "string" and the "min_x" is a "string".<br><br></div>But both are view where<br><br></div>the field "nprov" come in both layers from the same field of the same table table, and the min_x is always retrieve using:<br>
<br>ST_XMin(a.geometry) as min_x<br><br></div>The only structural difference is that the first layer come from a join of three tables and the second layer come from a join of two tables.<br><br></div>I don't see any other significant difference to explain this difference.<br>
<br></div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Perhaps this is a bug, but I'm not really sure of it.<br><br></div><div>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>
qwerty אטלעש<br>-----------------<br>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>