[Mapserver-users] Not producing the number of points in a Line Object

Daniel Morissette morissette at dmsolutions.ca
Wed Feb 5 11:59:27 PST 2003


Make sure you use the latest version 3.6.4, this was fixed somewhere
between 3.6.0 and 3.6.4.  Note that the point and lines that you build
are still valid, it's just the numpoints member that's not updated
properly.

Daniel

Terrence Lalla wrote:
> 
> Hello all,
> 
> When i  use $point->setXY(double x,double y,double m) and then
> var_dump($point) the output shows the correct coordinates of the
> point.
> 
> However, when i use $line->add(pointObject point) or
> $line->addXY(double x,double y, double m) and then var_dump($line) the
> member variable numpoints of $line says that there are 0 points in the
> line.
> 
> How can i correct this?
> 
> Thanks
> 
> Terrence.
>





More information about the MapServer-users mailing list