<div dir="ltr">Hi,<div><br></div><div>I am publishing an SHP file via the WFS service using Mapserver 7.2.2</div><div><br></div><div>In some cases, attributes of a type double have NULL values in the SHP. In such cases, MapServer is publishing them as "0" in GetFeature responses which may be confusing to the data users. I would like to achieve a situation that if the attribute value is NULLin SHP, the attribute is not published in GetFeature response. </div><div><br></div><div>For example the response instead of this </div><div><wfs:member><br><ms:Bazowa_pozioma><br><ms:msGeometry><br><gml:Point gml:id=".1" srsName="urn:ogc:def:crs:EPSG::2180"><br><gml:pos>419591.224000 697399.714000</gml:pos><br></gml:Point><br></ms:msGeometry><br><ms:NR_PUNKTU>284301500</ms:NR_PUNKTU><br><ms:X1992>419591.224</ms:X1992><br><ms:Y1992>697399.714</ms:Y1992><br><font color="#ff0000"><ms:H_PLKRON86>0</ms:H_PLKRON86><br><ms:MH_PLKRON8>0</ms:MH_PLKRON8></font><br></ms:Bazowa_pozioma><br></wfs:member><br></div><div><br></div><div>Should look like this</div><div><wfs:member><br><ms:Bazowa_pozioma><br><ms:msGeometry><br><gml:Point gml:id=".1" srsName="urn:ogc:def:crs:EPSG::2180"><br><gml:pos>419591.224000 697399.714000</gml:pos><br></gml:Point><br></ms:msGeometry><br><ms:NR_PUNKTU>284301500</ms:NR_PUNKTU><br><ms:X1992>419591.224</ms:X1992><br><ms:Y1992>697399.714</ms:Y1992><br></ms:Bazowa_pozioma><br></wfs:member><br></div><div><br></div><div>Can it be achieved in MapServer?</div><div><br></div><div>Best regards,</div><div>Marcin</div></div>