[mapserver-users] Building maps without a .map using MapScript only

Rob Martinson cathode at nichebox.com
Thu Jul 5 12:47:22 EDT 2001


In short, is this possible?

With the PHP library I'm using ms_newMapObj('') to return an empty map
object to work with. The Mapscript documentation states that this will
return an emtpy object, the PHP does not specifically state this, but I
get no errors at this line. After adding layers and classes I get an
error stating "Invalid Handle" whenever I attempt to call the draw
method of the map using the above.

The same mapping functionality when I use an existing .map file seem to
work fine.

Has anyone implemented something similar?


Rob Martinson
Nichebox - http://www.nichebox.com
Development - http://dev.nichebox.com 




More information about the mapserver-users mailing list