[mapserver-users] shapeObj constructor

Tamas Szekeres szekerest at gmail.com
Sun Mar 7 10:18:23 EST 2010


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 <khatriprateek at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100307/9887c6ee/attachment-0001.html


More information about the mapserver-users mailing list