<div dir="ltr">Hi,<div><br></div><div>I have a layer with one MultiPolygon feature.  I issue a request for the layer as GeoJSON, like so:</div><div><br></div><div>curl "<a href="http://localhost/mapserv?MAP=/usr/src/mapfiles/busted.map&service=WFS&VERSION=1.1.0&REQUEST=getfeature&typename=should_be_multi&OUTPUTFORMAT=geojson">http://localhost/mapserv?MAP=/usr/src/mapfiles/busted.map&service=WFS&VERSION=1.1.0&REQUEST=getfeature&typename=should_be_multi&OUTPUTFORMAT=geojson</a>"<br></div><div><br></div><div>In response, I get a single feature, but it has been converted to a Polygon.</div><div><br></div><div><div>{</div><div>   "type": "FeatureCollection", "name": "should_be_multi", "features": [</div><div>      { "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": ... } }</div><div>   ]</div><div>}</div></div><div><br></div><div>The returned polygon has interior rings, one of which should actually be a separate polygon with its own interior rings.  I think this is wrong and the geometry type returned by MapServer should be MultiPolygon.  Can anyone help me understand what is going on?</div><div><br></div><div>Here's the feature as a MultiPolygon I expected to receive:</div><div><div><a href="http://bl.ocks.org/d/640884687326af5d123a5fc761884e3d">http://bl.ocks.org/d/640884687326af5d123a5fc761884e3d</a><br></div><div><a href="http://bl.ocks.org/d/640884687326af5d123a5fc761884e3d/map.geojson">http://bl.ocks.org/d/640884687326af5d123a5fc761884e3d/map.geojson</a><br></div><div></div></div><div><br></div><div>Here's my MAP file:</div><div><a href="https://gist.github.com/pedros007/f685d8d336c77aff4cc56673b85f6672">https://gist.github.com/pedros007/f685d8d336c77aff4cc56673b85f6672</a><br></div><div><br></div><div>Thanks,<br><div class="gmail_signature">Pete</div>
</div></div>