[mapserver-users] DBASE Error at shapefile call

Puneet Kishor pkishor at GeoAnalytics.com
Sat Sep 14 20:17:05 EDT 2002


On Saturday, September 14, 2002, at 03:31  PM, Stefan Stern wrote:

> Hi all,
>
> I ran into a strange behavior of mapserver.
>
> I want to display a shapefile that is created by the following sample 
> dataset table:
> #################################################
> id,description,samplesites,x_british_survey,y_british_survey
> T1,"u/s of N-Y-F",T,267009,196614
> T2,"At mouth of N-Y-F",T,267000,196592
> T3,"d/s of N-Y-F",T,266985,196585
> #################################################
>
> [..]
>
> 2.
> BUT, when I change the CLASSITEM to "Samplesites", which is a proper 
> identifier as well:


but is it? dbf files cannot have field names greater than 10 
characters... open your dbf file with perl or php (or Excel or 
AppleWorks or whatever)... you will see the field names have been 
truncated to 10 chars.

pk/


--
Puneet Kishor




More information about the mapserver-users mailing list