You must specify the desired shape type as the argument which can be:<br><br>MS_SHAPE_TYPE.MS_SHAPE_NULL<br>MS_SHAPE_TYPE.MS_SHAPE_POINT<br>MS_SHAPE_TYPE.MS_SHAPE_LINE<br>MS_SHAPE_TYPE.MS_SHAPE_POLYGON<br><br>Best regards,<br>
<br>Tamas<br><br><br><br><div class="gmail_quote">2010/3/7 mrityunjay <span dir="ltr"><<a href="mailto:khatriprateek@gmail.com">khatriprateek@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I'm using mapscript in java. The shapeObj constructor requires a variable of<br>
type int. The available options in the mapscript constants are:<br>
MS_SHP_POINTZ, MS_SHP_ARCZ, MS_SHP_POLYGONZ, MS_SHP_MULTIPOINTZ<br>
MS_SHP_POINTM, MS_SHP_ARCM, MS_SHP_POLYGONM, MS_SHP_MULTIPOINTM<br>
<br>
Which one should I use for shapeObj for line type geometry feature? Actually<br>
using MS_SHP_POLYGONZ gives error for the layer of type line.<br>
Thanks<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/shapeObj-constructor-tp4690347p4690347.html" target="_blank">http://n2.nabble.com/shapeObj-constructor-tp4690347p4690347.html</a><br>
Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto: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>
</font></blockquote></div><br>