[mapserver-users] creating new raster layer - perl mapscript

Lowell Filak lfilak at medinaco.org
Wed Mar 27 05:38:19 PST 2002


What does $mapscript::ms_error->{message} report? That may help narrow down where in mapshape the error occurs and point to why mapshape is being called.
Lowell F.

The following message was sent by Kent S Ridl <kridl at cs.und.edu> on Tue, 26 Mar 2002 16:51:19 -0600 (CST).

> greetings all!
> 
> i'm trying to use mapscript to create a new raster layer to display.  only
> problem is when i call $layer->draw(), it decides it is unable to access
> my geotiff image and seg faults.  $mapscript::ms_error{routine} spits out
> msOpenSHPFile().  the layer attributes i set are type (MS_RASTER), status
> (MS_ON), and data.
> 
> we're running ms3.5 on red hat 7.2 (i think).  if you need any other
> info, i'll get it to you asap.  i'm very new to the world of GIS, so i
> really appreciate the help!  :-)
> 
> kent ridl




More information about the MapServer-users mailing list