You must specify the desired shape type as the argument which can be:

MS_SHAPE_TYPE.MS_SHAPE_NULL
MS_SHAPE_TYPE.MS_SHAPE_POINT
MS_SHAPE_TYPE.MS_SHAPE_LINE
MS_SHAPE_TYPE.MS_SHAPE_POLYGON

Best regards,

Tamas



2010/3/7 mrityunjay <khatriprat...@gmail.com>

>
> I'm using mapscript in java. The shapeObj constructor requires a variable
> of
> type int. The available options in the mapscript constants are:
> MS_SHP_POINTZ, MS_SHP_ARCZ, MS_SHP_POLYGONZ, MS_SHP_MULTIPOINTZ
> MS_SHP_POINTM, MS_SHP_ARCM, MS_SHP_POLYGONM, MS_SHP_MULTIPOINTM
>
> Which one should I use for shapeObj for line type geometry feature?
> Actually
> using MS_SHP_POLYGONZ gives error for the layer of type line.
> Thanks
> --
> View this message in context:
> http://n2.nabble.com/shapeObj-constructor-tp4690347p4690347.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to