[mapserver-users] MapServer DBF Filename corruption ????
Azimuth, E. Perik
perik at azimuth.nl
Wed Mar 6 09:05:56 PST 2002
Hi Jean-François
Try or check the following:
* check the SHAPEPATH correct for the datafiles
* try to use "...filename...", so with the quotation marks
* try to use the full path, like "c:\mydir\myfile"
* are the dbf-files named the same as the shapefiles
Dono if this gives the same message, but maybe also check that field-names
are no longer then 10 character. Quite sure this does not solve the error
you got, but,.... ;-)
Good luck,
Erwin
At 09:50 6-3-02 -0500, you wrote:
>Hello,
>
>I have a few mapfiles that are giving a headache, and here's the error
>message I get :
>
>msOpenSHPFile(): Unable to access file. (X-/@X-/@.dbf)
>
>Problem is, as you might guess, I have no such file name used in the
>mapfile!
>
>Here are the DATA entries of the mapfile:
>
> DATA ocean
> DATA te1867_p
> DATA hdr15_p
> DATA hdr15_a
> DATA hdr60_p
> DATA hdr60_a
> DATA te1867_p
> DATA te1867_t
>
>Funny thing is I have a bunch of MapFiles that give me that exact same
>error! They all cover the same topic and probably have shapefiles in common.
>
>So I guess this problem comes from corrupt shpefiles or something, but I'm
>not understanding why this would happen ... If someone (Steve, Daniel) could
>explain to me how MapServer comes to this point, maybe I'd have a better
>chance of figuring out what the problem is ...
>
>Help?
>
>Thanks a bunch !
>
>Jean-François Doyon
>Internet Service Development and Systems Support
>GeoAccess Division
>Canadian Center for Remote Sensing
>Natural Resources Canada
>http://atlas.gc.ca
>Phone: (613) 992-4902
>Fax: (613) 947-2410
More information about the MapServer-users
mailing list