[Cartoweb-users] error adding raster

Oliver Christen oliver.christen at camptocamp.com
Fri Feb 25 05:37:37 EST 2011


I believe there may be some problem with png 24bit with transparency
is your image 8bit or 24bit? and does it has transparency ?

regards
Oliver
  ----- Original Message ----- 
  From: simone.frigerio at univie.ac.at 
  To: cartoweb-users at lists.maptools.org 
  Sent: Friday, February 25, 2011 10:16 AM
  Subject: [Cartoweb-users] error adding raster


  Hi,
  I am adding some raster layers (.ini and .map files correctly updated) in a project. A lot of previous images were included without problem, but the last PNG files generate this failure after update:

  Fatal error: Call to a member function set() on a non-object in C:\ms4w\apps\cartoweb3\plugins\outline\server\ServerOutline.php on line 452

  Images are raster in png format.  I try different conversion of images but same messages occours.
  The expression around line 452 in ServerOutline.php required is:
  ...
  line 450    // Creates fake layer to be able to generate icons from class/style
  line 451    $newLayer = ms_newLayerObj($msMapObj);
  line 452    $newLayer->set('type', MS_LAYER_POINT); // important
  ....

  Thanks!
  Simone

-- 
** Think about the environment before printing **




------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20110225/4b66cfc5/attachment.htm 


More information about the Cartoweb-users mailing list