[Mapserver-users] bug #316 and ms4 missing functions

Twan Kogels twan at twansoft.com
Wed Jul 2 06:59:15 EDT 2003


Hello,

Tomorrow i've hit a know bug when quering a postgis layer with mapserver 
3.6.5, its on bugszilla <http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=316>

So i tryed the latest cvs version of mapserver (4.0b), it configures and 
compiles oke. But it some mapscript functions seems to have dissapear, for 
example i have mapscript generate a postgis layer:

==========
		$co=ms_newClassObj($lo);
		$co->set("name", "mysym");
		$temp=$mymap->getSymbolByName('star');
		$co->set("symbol", $temp);
==========

This part of code returns a error:
==========
Property 'symbol' does not exist in this object.
==========

The same happens with:

==========
		$co->label->set("type", MS_BITMAP);
		$co->label->set("backgroundcolor", $mymap->addColor(255,255,225));
==========

results in:
==========
Call to undefined function: addcolor()
==========

These mapscript functions are doing it correct with mapserver 3.6.5.

Is it possible that i've downloaded a cvs version where some mapscript 
functions are broken? If so, is it possible for me to modify the mapserver 
3.6.5 source (which functions perfect) so bug #316 won't appear anymore?

Best regards,
Twan Kogels




More information about the mapserver-users mailing list