MapTools.org

[maplab-users] error reading classitem

Jeff McKenna maplab-users <maplab-users@dmsolutions.ca>
Tue, 30 Jul 2002 18:30:47 -0400
Kevin,

(copied from a response I just sent to another user)

The problem is that you currently have to specify the layer TYPE before
accessing its CLASSITEM.  This has been filed as a bug and in the future we will
prevent users from trying to acess CLASSITEM before setting the layer's TYPE by
a javascript alert such as "The type of this layer is not set or hasn't been
saved. Please choose an
appropriate layer type for your data and click Apply Changes".


Jeff



Kevin Flanders wrote:
> 
> I am trying to add a layer in MapEdit, and clicking the Class Item
> option....but getting the following error:
> 
> Warning: MapServer Error in loadLayer(): Layer type not set. in
> C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123
> 
> Fatal error: Failed to open map file c:/tmp/3d46fad8a820c.map in
> C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123
> 
> I get this sometimes, for certain shapefiles.  Any ideas?
> 




-- 

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


This archive was generated by Pipermail.