[maplab-users] how to specify referance

Jeff McKenna jmckenna at dmsolutions.ca
Wed May 25 09:23:16 EDT 2005


Make sure you have specified the correct path to the 
'pmc_pcmc_centerline' shapefile.  Look at the SHAPEPATH in the MAP 
object (http://mapserver.gis.umn.edu/doc44/mapfile-reference.html#map).

This looks like a common error.  You might also want to try searching 
the mapserver list archives if you're still stuck 
(http://mapserver.gis.umn.edu/support.html).


jeff




sujata.patil wrote:
> Hi,
> 
> I am working in ms4w maplab2.2 ,I added the layers ,In preview  when I 
> was not select layer it’s  showing layer name ,blank map and no 
> reference map specified… when I select the particular layer it’s giving 
> error .
> 
> The error is
> 
> 
> *Warning*: [MapServer Error]: msDrawMap(): Failed to draw layer named 
> 'pmc_pcmc_centerline'. in 
> *C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php* on line *469*
> 
> *Warning*: [MapServer Error]: msSHPOpenFile(): 
> (/ms4w/apps///maplab-2.2/map/pmc_pcmc_centerline) in 
> *C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php* on line *469*
> 
> *Warning*: [MapServer Error]: msSHPOpenFile(): 
> (/data/pmc_pcmc_centerline) in 
> *C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php* on line *469*
> 
> *Warning*: [MapServer Error]: msInsertHashTable: Invalid hash table or 
> key in *C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php* on line *469*
> 
> *Fatal error*: Call to a member function on a non-object in 
> *C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php* on line *474*
> 
> * *
> 
> * *
> 
> *Looking forward to hear*
> 
> * *
> 
> * *
> 
> * *
> 
> *Regards *
> 
> *sujata*
> 

-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca



More information about the Maplab-users mailing list