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

Terrence Lalla t_lalla20 at yahoo.com
Tue Feb 4 22:08:54 EST 2003


--0-14745872-1044414534=:3873
Content-Type: text/plain; charset=us-ascii


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.



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--0-14745872-1044414534=:3873
Content-Type: text/html; charset=us-ascii

<P>Hello all,</P>
<P>When i&nbsp; use $point-&gt;setXY(double x,double y,double m) and then var_dump($point) the output shows the correct coordinates of the point.</P>
<P>However, when i use $line-&gt;add(pointObject point) or $line-&gt;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.</P>
<P>How can i correct this?</P>
<P>Thanks </P>
<P>Terrence.</P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</a>
--0-14745872-1044414534=:3873--



More information about the mapserver-users mailing list