DBASE file error. Item 'nombredep' not found.

Alejandro Mejia Evertsz amejia at GUA.NET
Mon Nov 21 10:40:47 EST 2005


GREAT!!!
Thanks Wim :D
I renamed the file to less than 8 characters and it works fine now!

Thank you all for your time and patience with a newbie ;)

Cheers!
 

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Wim Blanken
Sent: Lunes, 21 de Noviembre de 2005 09:26 a.m.
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] DBASE file error. Item 'nombredep' not
found.

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" <amejia at GUA.NET>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
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:MAPSERVER-USERS at LISTS.UMN.EDU] 
> On Behalf Of Lowell.Filak
> Sent: Lunes, 21 de Noviembre de 2005 09:03 a.m.
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> 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
>
> 



More information about the mapserver-users mailing list