Hello Alejandro,

I think this has to do with the 8 character limit with dbf files.
Have you tried limities the shapefile name to 8 characters?

Regards,

Wim Blanken
Geon bv
The Netherlands

----- Original Message ----- From: "Alejandro Mejia Evertsz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, November 21, 2005 4:14 PM
Subject: Re: [UMN_MAPSERVER-USERS] DBASE file error. Item 'nombredep' not found.


Thanks Lowell,
I opened the .dbf file on Map Maker's database editor utility, and noticed
the column name is all UPPERCASE, but I tried lowecase and lowercase with
same results.
NOMBREDEP and nombredep

If case is important to mapserver, I'll save it now with uppercase.
I also tried to remove the quotes "" but same thing.

Thanks again for your help.


-----Original Message-----
From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] On
Behalf Of Lowell.Filak
Sent: Lunes, 21 de Noviembre de 2005 09:03 a.m.
To: [email protected]
Subject: Re: [UMN_MAPSERVER-USERS] DBASE file error. Item 'nombredep' not
found.

 Mejia Evertsz writes:

Hi list!

I'm new to this mapserver stuff, and I'm having a trouble for creating
a map.
I have a map called guate.map with only one layer (to start getting
used to mapserver).
The layer uses deptoswgs84.shp <http://168.234.218.12/deptoswgs84.shp>
, deptoswgs84.shx <http://168.234.218.12/deptoswgs84.shx>  and
deptoswgs84.dbf <http://168.234.218.12/deptoswgs84.dbf>
Database (.dbf) has a column called "nombredep" and I created a class
item under the layer with this name, but the server returns:

DBASE file error. Item 'nombredep' not found.

I don't know what else to do, cause I even changed the name of the
column to change the class item then, but have the same problem.
Is the database file corrupted or not compatible with mapserver?
Am I doing something wrong?
Am I missing any parameters in the map file?

You can see the error here:
http://168.234.218.12/mapservdemo/
(I'm using the Itasca demo templates cause I'm not an expert with this
mapserver thing, and I don't wanna create my own html's and have more
mistakes than now)

Alejandro,

Double check capitalization of the item name.
HTH

Lowell


Reply via email to