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

Daniel Morissette morissette at dmsolutions.ca
Thu Jul 5 13:21:29 EDT 2001


Rob Martinson wrote:
> 
> 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.
> 

Rob,

I looked at the php_mapscript.c code quickly and I see no reason why
this wouldn't work.  It must be a bug that will have to be looked into,
hopefully before the 3.5 release.

I filed it in the bugzilla system as
    http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=23
You can add yourself to the CC: field in the bugzilla interface if you
want to be notified when the bug gets fixed.

Regards,
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.



More information about the mapserver-users mailing list