[mapserver-users] msOpenSHPFile(): Unable to access file.

Michael Soracco Michael.Soracco at noaa.gov
Wed Nov 13 05:26:56 PST 2002


Frauke-

I'm somewhat new to this, but I'll take a stab at it.

Try setting your SHAPEPATH relative to the webservers path i.e.

     SHAPEPATH "frauke/daten"

-m

Frauke Trurnit wrote:

> Hello,
>
> I have installed MapServer 3.6.3 on Linux. Now I'm not able to create a
> map
> with a single layer. My mapfile looks like that:
>
> NAME test_frauke
> SIZE 400 300
> EXTENT -12548000 5083000 -6575000 2348000
> SHAPEPATH "/usr/local/httpd/htdocs/frauke/daten/"
>
>   LAYER
>     NAME Staten
>     DATA states
>     STATUS DEFAULT
>     TYPE POLYGON
>
>     CLASS
>       COLOR 255 255 128
>       OUTLINECOLOR 0 0 0
>     END
>   END
> END
>
> The effect is: msOpenSHPFile(): Unable to access file. (states)
>
> Thanks for help!
>
> Frauke Trurnit
>
>
>
> --
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20021113/70abd32e/attachment.htm>


More information about the MapServer-users mailing list