Hi Tamas,<br>Thanks for the reply. I tried that also but it gives error because MS_SHAPE_TYPE.MS_SHAPE_LINE is not of type int.<br><br> <br><br><div class="gmail_quote">On Sun, Mar 7, 2010 at 8:48 PM, Tamas Szekeres <span dir="ltr"><<a href="mailto:szekerest@gmail.com">szekerest@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">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" target="_blank">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" target="_blank">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>
</blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Prateek Khatri<br>Fourth Year Undergraduate<br>Computer Science and Engineering<br>Indian Institute of Technology Bombay<br>