Get All Point In Line or Polygon

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Get All Point In Line or Polygon

anhtin
Hi all
How could i get coordinate all point in LineObj ?
I use Mapserver 4.10 and asp.net.
Reply | Threaded
Open this post in threaded view
|

Re: Get All Point In Line or Polygon

Tamas Szekeres
Hi,

for (int i = 0; i < line_obj.numpoints; i++)
{
pointObj point = line_obj.get(i);
Console.WriteLine("X=" + point.x + " Y=" + point.y );
}

Best regards,

Tamas



2008/1/18, Bui Anh Tin <[hidden email]>:
> Hi all
> How could i get coordinate all point in LineObj ?
> I use Mapserver 4.10 and asp.net.
>