MapTools.org

RES: [maplab-users] error reading classitem

Jeff McKenna maplab-users <maplab-users@dmsolutions.ca>
Wed, 31 Jul 2002 09:04:35 -0400
Eduardo,

Sorry I should have been more specific.  When you add a new layer in MapEdit,
before you can access CLASSITEM you have to specify DATA & TYPE and apply these
changes.  I admit this is a pain, so we'll look at this for the next release.

Jeff




EDUARDO PATTO KANEGAE wrote:
> 
> hello kevin
> 
> i´ve got the same error and i´ve already tried
>         "to specify the layer TYPE before
> accessing its CLASSITEM"
> 
>         but it doesn´t work
> 
> -----Mensagem original-----
> De: Jeff McKenna [mailto:mckenna@dmsolutions.ca]
> Enviada em: terça-feira, 30 de julho de 2002 19:31
> Para: maplab-users
> Assunto: Re: [maplab-users] error reading classitem
> 
> 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.